diff --git a/pr-preview/pr-459/assets/Action.stories-BECvTGYo.js b/pr-preview/pr-459/assets/Action.stories-BeZQKUvw.js similarity index 86% rename from pr-preview/pr-459/assets/Action.stories-BECvTGYo.js rename to pr-preview/pr-459/assets/Action.stories-BeZQKUvw.js index 9839b7661..c859088e0 100644 --- a/pr-preview/pr-459/assets/Action.stories-BECvTGYo.js +++ b/pr-preview/pr-459/assets/Action.stories-BeZQKUvw.js @@ -1,4 +1,4 @@ -var Q=Object.defineProperty,L=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var d=(a,e,o)=>e in a?Q(a,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[e]=o,r=(a,e)=>{for(var o in e||(e={}))v.call(e,o)&&d(a,o,e[o]);if(m)for(var o of m(e))w.call(e,o)&&d(a,o,e[o]);return a},t=(a,e)=>L(a,P(e));import{W as E}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const V={title:"Components/Data Entry/QueryItem/Action",component:E.Action,parameters:{docs:{description:{component:'This is the "Action" component of the QueryItem component group. This component is currently meant to trigger a single action, but will eventually support a list of actions via a dropdown list interface.'}}},args:{}},n={args:{text:"Primary Action",type:"primary"}},s={args:{text:"Secondary Action",type:"default"}},i={args:{text:"Disabled Action",type:"disabled"}},c={args:{text:"On Click Action",type:"primary",onClick:()=>{alert("You clicked the QueryItem.Action!")}}},p={args:{text:"Loading",type:"disabled",loading:!0}};var l,u,y;n.parameters=t(r({},n.parameters),{docs:t(r({},(l=n.parameters)==null?void 0:l.docs),{source:r({originalSource:`{ +var Q=Object.defineProperty,L=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var d=(a,e,o)=>e in a?Q(a,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[e]=o,r=(a,e)=>{for(var o in e||(e={}))Y.call(e,o)&&d(a,o,e[o]);if(m)for(var o of m(e))v.call(e,o)&&d(a,o,e[o]);return a},t=(a,e)=>L(a,P(e));import{Y as w}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const W={title:"Components/Data Entry/QueryItem/Action",component:w.Action,parameters:{docs:{description:{component:'This is the "Action" component of the QueryItem component group. This component is currently meant to trigger a single action, but will eventually support a list of actions via a dropdown list interface.'}}},args:{}},n={args:{text:"Primary Action",type:"primary"}},s={args:{text:"Secondary Action",type:"default"}},i={args:{text:"Disabled Action",type:"disabled"}},c={args:{text:"On Click Action",type:"primary",onClick:()=>{alert("You clicked the QueryItem.Action!")}}},p={args:{text:"Loading",type:"disabled",loading:!0}};var l,u,y;n.parameters=t(r({},n.parameters),{docs:t(r({},(l=n.parameters)==null?void 0:l.docs),{source:r({originalSource:`{ args: { text: 'Primary Action', type: 'primary' @@ -27,4 +27,4 @@ var Q=Object.defineProperty,L=Object.defineProperties;var P=Object.getOwnPropert type: 'disabled', loading: true } -}`},(O=(I=p.parameters)==null?void 0:I.docs)==null?void 0:O.source)})});const X=["Primary","Secondary","Disabled","OnClick","Loading"];export{i as Disabled,p as Loading,c as OnClick,n as Primary,s as Secondary,X as __namedExportsOrder,V as default}; +}`},(O=(I=p.parameters)==null?void 0:I.docs)==null?void 0:O.source)})});const X=["Primary","Secondary","Disabled","OnClick","Loading"];export{i as Disabled,p as Loading,c as OnClick,n as Primary,s as Secondary,X as __namedExportsOrder,W as default}; diff --git a/pr-preview/pr-459/assets/Affix.stories-BeqT8Az7.js b/pr-preview/pr-459/assets/Affix.stories-e01WU6X3.js similarity index 75% rename from pr-preview/pr-459/assets/Affix.stories-BeqT8Az7.js rename to pr-preview/pr-459/assets/Affix.stories-e01WU6X3.js index 7aa3fedac..3c98e009c 100644 --- a/pr-preview/pr-459/assets/Affix.stories-BeqT8Az7.js +++ b/pr-preview/pr-459/assets/Affix.stories-e01WU6X3.js @@ -1 +1 @@ -var d=Object.defineProperty,f=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))u.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))x.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>f(t,l(r));import{al as g}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const D={title:"Components/Other/Affix",component:g,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const F=["Primary"];export{p as Primary,F as __namedExportsOrder,D as default}; +var d=Object.defineProperty,f=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))x.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))l.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>f(t,u(r));import{an as g}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const D={title:"Components/Other/Affix",component:g,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const F=["Primary"];export{p as Primary,F as __namedExportsOrder,D as default}; diff --git a/pr-preview/pr-459/assets/Alert.stories-ClufU6wV.js b/pr-preview/pr-459/assets/Alert.stories-CB5QZEgJ.js similarity index 57% rename from pr-preview/pr-459/assets/Alert.stories-ClufU6wV.js rename to pr-preview/pr-459/assets/Alert.stories-CB5QZEgJ.js index 03a16f6da..129cc3cd7 100644 --- a/pr-preview/pr-459/assets/Alert.stories-ClufU6wV.js +++ b/pr-preview/pr-459/assets/Alert.stories-CB5QZEgJ.js @@ -1,4 +1,4 @@ -var ie=Object.defineProperty,ce=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var pe=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var w=(s,o,a)=>o in s?ie(s,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[o]=a,r=(s,o)=>{for(var a in o||(o={}))pe.call(o,a)&&w(s,a,o[a]);if(j)for(var a of j(o))me.call(o,a)&&w(s,a,o[a]);return s},n=(s,o)=>ce(s,le(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{_ as t,I as de,b as c,i}from"./GlobalNavigation-CPQMp-rl.js";import{E as l}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as ge}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ke={title:"Components/Feedback/Alert",component:t,args:{action:void 0,banner:!1,closeIcon:void 0,description:void 0,icon:void 0,message:"This is a simple alert message",showIcon:!1,type:"info",onClose:s=>{alert("Alert On Close")},afterClose:()=>{console.log("Alert After Closed")}},argTypes:{type:{control:"select",options:["success","info","warning","error"]}}},p={},m={args:{type:"success"}},d={args:{type:"error"}},g={args:{banner:!0,type:"warning"}},x={args:{description:"Additional content of the alert."}},u={args:{action:e.jsx("a",{style:{paddingLeft:"8px"},children:"Click Me Link"})}},y={args:{closeIcon:e.jsx(de,{name:"mpLogo"})}},E={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:e.jsx(e.Fragment,{children:"There are 4 types of Alert: success, info, warning, error."}),children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Success Text",type:"success"}),e.jsx(t,{message:"Info Text",type:"info"}),e.jsx(t,{message:"Warning Text",type:"warning"}),e.jsx(t,{message:"Error Text",type:"error"})]})})})},h={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:"With close button",children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Warning Text Warning Text Warning TextW arning Text Warning Text Warning TextWarning Text",type:"warning",closable:!0,onClose:s=>{alert("closed")}}),e.jsx(t,{message:"Error Text",description:"Error Description Error Description Error Description Error Description Error Description Error Description",type:"error",closable:!0,onClose:s=>{alert("closed")}})]})})})},T={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:"Display Alert as a banner at top of page",children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Warning text",banner:!0}),e.jsx(t,{message:"Very long warning text warning text text text text text text text",banner:!0,closable:!0}),e.jsx(t,{showIcon:!1,message:"Warning text without icon",banner:!0}),e.jsx(t,{type:"error",message:"Error text",banner:!0})]})})})},S={render:()=>{const[s,o]=ge.useState(),a=()=>{const ae=()=>{o(new Error("An Uncaught Error"))};if(s)throw s;return e.jsx(i,{danger:!0,onClick:ae,children:"Click me to throw a error"})};return e.jsx(e.Fragment,{children:e.jsx(l,{title:"ErrorBoundary Component for making error handling easier",children:e.jsx(t.ErrorBoundary,{children:e.jsx(a,{})})})})}},f={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:"Custom CTAs",children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Success Tips",type:"success",showIcon:!0,closable:!0,action:e.jsx(i,{size:"small",type:"text",children:"UNDO"})}),e.jsx(t,{message:"Error Text",showIcon:!0,description:"Error Description Error Description Error Description Error Description",type:"error",action:e.jsx(i,{size:"small",danger:!0,children:"Detail"})}),e.jsx(t,{message:"Warning Text",type:"warning",closable:!0,action:e.jsx(c,{children:e.jsx(i,{type:"text",size:"small",ghost:!0,children:"Done"})})}),e.jsx(t,{message:"Info Text",description:"Info Description Info Description Info Description Info Description",type:"info",closable:!0,action:e.jsxs(c,{direction:"vertical",children:[e.jsx(i,{size:"small",type:"primary",children:"Accept"}),e.jsx(i,{size:"small",danger:!0,ghost:!0,children:"Decline"})]})})]})})})};var D,A,C;p.parameters=n(r({},p.parameters),{docs:n(r({},(D=p.parameters)==null?void 0:D.docs),{source:r({originalSource:"{}"},(C=(A=p.parameters)==null?void 0:A.docs)==null?void 0:C.source)})});var b,I,W;m.parameters=n(r({},m.parameters),{docs:n(r({},(b=m.parameters)==null?void 0:b.docs),{source:r({originalSource:`{ +var ie=Object.defineProperty,ce=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var pe=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var w=(s,o,a)=>o in s?ie(s,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[o]=a,r=(s,o)=>{for(var a in o||(o={}))pe.call(o,a)&&w(s,a,o[a]);if(j)for(var a of j(o))me.call(o,a)&&w(s,a,o[a]);return s},n=(s,o)=>ce(s,le(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{a0 as t,I as de,b as c,l as i}from"./GlobalNavigation-DT_tPK9g.js";import{E as l}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as ge}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ke={title:"Components/Feedback/Alert",component:t,args:{action:void 0,banner:!1,closeIcon:void 0,description:void 0,icon:void 0,message:"This is a simple alert message",showIcon:!1,type:"info",onClose:s=>{alert("Alert On Close")},afterClose:()=>{console.log("Alert After Closed")}},argTypes:{type:{control:"select",options:["success","info","warning","error"]}}},p={},m={args:{type:"success"}},d={args:{type:"error"}},g={args:{banner:!0,type:"warning"}},x={args:{description:"Additional content of the alert."}},u={args:{action:e.jsx("a",{style:{paddingLeft:"8px"},children:"Click Me Link"})}},y={args:{closeIcon:e.jsx(de,{name:"mpLogo"})}},E={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:e.jsx(e.Fragment,{children:"There are 4 types of Alert: success, info, warning, error."}),children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Success Text",type:"success"}),e.jsx(t,{message:"Info Text",type:"info"}),e.jsx(t,{message:"Warning Text",type:"warning"}),e.jsx(t,{message:"Error Text",type:"error"})]})})})},h={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:"With close button",children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Warning Text Warning Text Warning TextW arning Text Warning Text Warning TextWarning Text",type:"warning",closable:!0,onClose:s=>{alert("closed")}}),e.jsx(t,{message:"Error Text",description:"Error Description Error Description Error Description Error Description Error Description Error Description",type:"error",closable:!0,onClose:s=>{alert("closed")}})]})})})},T={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:"Display Alert as a banner at top of page",children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Warning text",banner:!0}),e.jsx(t,{message:"Very long warning text warning text text text text text text text",banner:!0,closable:!0}),e.jsx(t,{showIcon:!1,message:"Warning text without icon",banner:!0}),e.jsx(t,{type:"error",message:"Error text",banner:!0})]})})})},S={render:()=>{const[s,o]=ge.useState(),a=()=>{const ae=()=>{o(new Error("An Uncaught Error"))};if(s)throw s;return e.jsx(i,{danger:!0,onClick:ae,children:"Click me to throw a error"})};return e.jsx(e.Fragment,{children:e.jsx(l,{title:"ErrorBoundary Component for making error handling easier",children:e.jsx(t.ErrorBoundary,{children:e.jsx(a,{})})})})}},f={render:()=>e.jsx(e.Fragment,{children:e.jsx(l,{title:"Custom CTAs",children:e.jsxs(c,{direction:"vertical",style:{width:"100%"},children:[e.jsx(t,{message:"Success Tips",type:"success",showIcon:!0,closable:!0,action:e.jsx(i,{size:"small",type:"text",children:"UNDO"})}),e.jsx(t,{message:"Error Text",showIcon:!0,description:"Error Description Error Description Error Description Error Description",type:"error",action:e.jsx(i,{size:"small",danger:!0,children:"Detail"})}),e.jsx(t,{message:"Warning Text",type:"warning",closable:!0,action:e.jsx(c,{children:e.jsx(i,{type:"text",size:"small",ghost:!0,children:"Done"})})}),e.jsx(t,{message:"Info Text",description:"Info Description Info Description Info Description Info Description",type:"info",closable:!0,action:e.jsxs(c,{direction:"vertical",children:[e.jsx(i,{size:"small",type:"primary",children:"Accept"}),e.jsx(i,{size:"small",danger:!0,ghost:!0,children:"Decline"})]})})]})})})};var D,A,C;p.parameters=n(r({},p.parameters),{docs:n(r({},(D=p.parameters)==null?void 0:D.docs),{source:r({originalSource:"{}"},(C=(A=p.parameters)==null?void 0:A.docs)==null?void 0:C.source)})});var b,I,W;m.parameters=n(r({},m.parameters),{docs:n(r({},(b=m.parameters)==null?void 0:b.docs),{source:r({originalSource:`{ args: { type: 'success' } @@ -11,21 +11,21 @@ var ie=Object.defineProperty,ce=Object.defineProperties;var le=Object.getOwnProp banner: true, type: 'warning' } -}`},(L=(F=g.parameters)==null?void 0:F.docs)==null?void 0:L.source)})});var O,U,_;x.parameters=n(r({},x.parameters),{docs:n(r({},(O=x.parameters)==null?void 0:O.docs),{source:r({originalSource:`{ +}`},(L=(F=g.parameters)==null?void 0:F.docs)==null?void 0:L.source)})});var O,U,M;x.parameters=n(r({},x.parameters),{docs:n(r({},(O=x.parameters)==null?void 0:O.docs),{source:r({originalSource:`{ args: { description: 'Additional content of the alert.' } -}`},(_=(U=x.parameters)==null?void 0:U.docs)==null?void 0:_.source)})});var M,N,P;u.parameters=n(r({},u.parameters),{docs:n(r({},(M=u.parameters)==null?void 0:M.docs),{source:r({originalSource:`{ +}`},(M=(U=x.parameters)==null?void 0:U.docs)==null?void 0:M.source)})});var N,P,R;u.parameters=n(r({},u.parameters),{docs:n(r({},(N=u.parameters)==null?void 0:N.docs),{source:r({originalSource:`{ args: { action: Click Me Link } -}`},(P=(N=u.parameters)==null?void 0:N.docs)==null?void 0:P.source)})});var R,V,q;y.parameters=n(r({},y.parameters),{docs:n(r({},(R=y.parameters)==null?void 0:R.docs),{source:r({originalSource:`{ +}`},(R=(P=u.parameters)==null?void 0:P.docs)==null?void 0:R.source)})});var V,_,q;y.parameters=n(r({},y.parameters),{docs:n(r({},(V=y.parameters)==null?void 0:V.docs),{source:r({originalSource:`{ args: { closeIcon: } -}`},(q=(V=y.parameters)==null?void 0:V.docs)==null?void 0:q.source)})});var G,H,J;E.parameters=n(r({},E.parameters),{docs:n(r({},(G=E.parameters)==null?void 0:G.docs),{source:r({originalSource:`{ +}`},(q=(_=y.parameters)==null?void 0:_.docs)==null?void 0:q.source)})});var G,H,J;E.parameters=n(r({},E.parameters),{docs:n(r({},(G=E.parameters)==null?void 0:G.docs),{source:r({originalSource:`{ render: () => { return <> There are 4 types of Alert: success, info, warning, error.}> diff --git a/pr-preview/pr-459/assets/Anchor.stories-BMprL9iW.js b/pr-preview/pr-459/assets/Anchor.stories-mrpVU3H1.js similarity index 98% rename from pr-preview/pr-459/assets/Anchor.stories-BMprL9iW.js rename to pr-preview/pr-459/assets/Anchor.stories-mrpVU3H1.js index a78fdb0d8..24910b9fa 100644 --- a/pr-preview/pr-459/assets/Anchor.stories-BMprL9iW.js +++ b/pr-preview/pr-459/assets/Anchor.stories-mrpVU3H1.js @@ -1,4 +1,4 @@ -var ae=Object.defineProperty,ie=Object.defineProperties;var oe=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable;var S=(a,r,i)=>r in a?ae(a,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[r]=i,t=(a,r)=>{for(var i in r||(r={}))se.call(r,i)&&S(a,i,r[i]);if(j)for(var i of j(r))ce.call(r,i)&&S(a,i,r[i]);return a},n=(a,r)=>ie(a,oe(r));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{ac as o}from"./GlobalNavigation-CPQMp-rl.js";import{E as s}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as v}from"./index-CNk6hRaE.js";import{R as b,C as c}from"./row-DegztUsn.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Ee={title:"Components/Navigation/Anchor",component:o,args:{affix:!0,bounds:5,offsetTop:0,showInkInFixed:!1,targetOffset:void 0,direction:"vertical",replace:!1,items:[{key:"1",href:"#section1",title:"Section 1",target:"_blank",children:[]},{key:"2",href:"#section2",title:"Section 2",target:"_blank",children:[]}],onClick:(a,r)=>{alert("Anchor Click")}},argTypes:{direction:{control:"select",options:["vertical","horizontal"]}}},l={},h={args:{direction:"horizontal"}},p={args:{items:[{key:"a",href:"#itemA",title:"Item A",target:"_blank",children:[]},{key:"b",href:"#itemB",title:"Item B",target:"_blank",children:[]},{key:"c",href:"#itemC",title:"Item C",target:"_blank",children:[]},{key:"d",href:"#itemD",title:"Item D",target:"_blank",children:[]}]}},d={args:{affix:!1,showInkInFixed:!0}},m={render:()=>e.jsx(s,{title:"Basic usage",children:e.jsxs(b,{children:[e.jsxs(c,{span:16,children:[e.jsx("div",{id:"part-1",style:{height:"100vh",background:"rgba(255,0,0,0.02)"}}),e.jsx("div",{id:"part-2",style:{height:"100vh",background:"rgba(0,255,0,0.02)"}}),e.jsx("div",{id:"part-3",style:{height:"100vh",background:"rgba(0,0,255,0.02)"}})]}),e.jsx(c,{span:8,children:e.jsx(o,{items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})})]})})},g={render:()=>e.jsxs(s,{title:"Horizontally aligned anchors.",children:[e.jsx("div",{style:{padding:"20px"},children:e.jsx(o,{direction:"horizontal",items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})}),e.jsxs("div",{children:[e.jsx("div",{id:"part-1",style:{width:"100vw",height:"100vh",textAlign:"center",background:"rgba(0,255,0,0.02)"}}),e.jsx("div",{id:"part-2",style:{width:"100vw",height:"100vh",textAlign:"center",background:"rgba(0,0,255,0.02)"}}),e.jsx("div",{id:"part-3",style:{width:"100vw",height:"100vh",textAlign:"center",background:"#fffbe9"}})]})]})},f={render:()=>e.jsx(s,{title:"Do not change state when page is scrolling.",children:e.jsx(o,{affix:!1,items:[{key:"1",href:"#components-anchor-demo-basic",title:"Basic demo"},{key:"2",href:"#components-anchor-demo-static",title:"Static demo"},{key:"3",href:"#api",title:"API",children:[{key:"4",href:"#anchor-props",title:"Anchor Props"},{key:"5",href:"#link-props",title:"Link Props"}]}]})})},k={render:()=>{const a=(r,i)=>{r.preventDefault(),console.log(i)};return e.jsx(s,{title:"Customize the onClick event.",children:e.jsx(o,{affix:!1,onClick:a,items:[{key:"1",href:"#components-anchor-demo-basic",title:"Basic demo"},{key:"2",href:"#components-anchor-demo-static",title:"Static demo"},{key:"3",href:"#api",title:"API",children:[{key:"4",href:"#anchor-props",title:"Anchor Props"},{key:"5",href:"#link-props",title:"Link Props"}]}]})})}},y={render:()=>{const a=v.useRef(null),[r,i]=v.useState();return v.useEffect(()=>{var P;i((P=a.current)==null?void 0:P.clientHeight)},[]),e.jsx(s,{title:"Anchor target scroll to screen center.",children:e.jsxs("div",{children:[e.jsxs(b,{children:[e.jsxs(c,{span:18,children:[e.jsx("div",{id:"part-1",style:{height:"100vh",background:"rgba(255,0,0,0.02)",marginTop:"30vh"},children:"Part 1"}),e.jsx("div",{id:"part-2",style:{height:"100vh",background:"rgba(0,255,0,0.02)"},children:"Part 2"}),e.jsx("div",{id:"part-3",style:{height:"100vh",background:"rgba(0,0,255,0.02)"},children:"Part 3"})]}),e.jsx(c,{span:6,children:e.jsx(o,{targetOffset:r,items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})})]}),e.jsx("div",{style:{height:"30vh",background:"rgba(0,0,0,0.15)",position:"fixed",top:0,left:0,width:"75%",color:"#000"},ref:a,children:e.jsx("div",{children:"Fixed Top Block"})})]})})}},u={render:()=>{const a=r=>{console.log("Anchor:OnChange",r)};return e.jsx(s,{title:"Listening for anchor link change.",children:e.jsx(o,{affix:!1,onChange:a,items:[{key:"1",href:"#components-anchor-demo-basic",title:"Basic demo"},{key:"2",href:"#components-anchor-demo-static",title:"Static demo"},{key:"3",href:"#api",title:"API",children:[{key:"4",href:"#anchor-props",title:"Anchor Props"},{key:"5",href:"#link-props",title:"Link Props"}]}]})})}},x={render:()=>e.jsx(s,{title:"Replace path in browser history, so back button returns to previous page instead of previous anchor item.",children:e.jsxs(b,{children:[e.jsxs(c,{span:16,children:[e.jsx("div",{id:"part-1",style:{height:"100vh",background:"rgba(255,0,0,0.02)"}}),e.jsx("div",{id:"part-2",style:{height:"100vh",background:"rgba(0,255,0,0.02)"}}),e.jsx("div",{id:"part-3",style:{height:"100vh",background:"rgba(0,0,255,0.02)"}})]}),e.jsx(c,{span:8,children:e.jsx(o,{replace:!0,items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})})]})})};var C,A,E;l.parameters=n(t({},l.parameters),{docs:n(t({},(C=l.parameters)==null?void 0:C.docs),{source:t({originalSource:"{}"},(E=(A=l.parameters)==null?void 0:A.docs)==null?void 0:E.source)})});var w,I,R;h.parameters=n(t({},h.parameters),{docs:n(t({},(w=h.parameters)==null?void 0:w.docs),{source:t({originalSource:`{ +var ae=Object.defineProperty,ie=Object.defineProperties;var oe=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable;var S=(a,r,i)=>r in a?ae(a,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[r]=i,t=(a,r)=>{for(var i in r||(r={}))se.call(r,i)&&S(a,i,r[i]);if(j)for(var i of j(r))ce.call(r,i)&&S(a,i,r[i]);return a},n=(a,r)=>ie(a,oe(r));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{ae as o}from"./GlobalNavigation-DT_tPK9g.js";import{E as s}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as v}from"./index-CNk6hRaE.js";import{R as b,C as c}from"./row-DegztUsn.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Ee={title:"Components/Navigation/Anchor",component:o,args:{affix:!0,bounds:5,offsetTop:0,showInkInFixed:!1,targetOffset:void 0,direction:"vertical",replace:!1,items:[{key:"1",href:"#section1",title:"Section 1",target:"_blank",children:[]},{key:"2",href:"#section2",title:"Section 2",target:"_blank",children:[]}],onClick:(a,r)=>{alert("Anchor Click")}},argTypes:{direction:{control:"select",options:["vertical","horizontal"]}}},l={},h={args:{direction:"horizontal"}},p={args:{items:[{key:"a",href:"#itemA",title:"Item A",target:"_blank",children:[]},{key:"b",href:"#itemB",title:"Item B",target:"_blank",children:[]},{key:"c",href:"#itemC",title:"Item C",target:"_blank",children:[]},{key:"d",href:"#itemD",title:"Item D",target:"_blank",children:[]}]}},d={args:{affix:!1,showInkInFixed:!0}},m={render:()=>e.jsx(s,{title:"Basic usage",children:e.jsxs(b,{children:[e.jsxs(c,{span:16,children:[e.jsx("div",{id:"part-1",style:{height:"100vh",background:"rgba(255,0,0,0.02)"}}),e.jsx("div",{id:"part-2",style:{height:"100vh",background:"rgba(0,255,0,0.02)"}}),e.jsx("div",{id:"part-3",style:{height:"100vh",background:"rgba(0,0,255,0.02)"}})]}),e.jsx(c,{span:8,children:e.jsx(o,{items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})})]})})},g={render:()=>e.jsxs(s,{title:"Horizontally aligned anchors.",children:[e.jsx("div",{style:{padding:"20px"},children:e.jsx(o,{direction:"horizontal",items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})}),e.jsxs("div",{children:[e.jsx("div",{id:"part-1",style:{width:"100vw",height:"100vh",textAlign:"center",background:"rgba(0,255,0,0.02)"}}),e.jsx("div",{id:"part-2",style:{width:"100vw",height:"100vh",textAlign:"center",background:"rgba(0,0,255,0.02)"}}),e.jsx("div",{id:"part-3",style:{width:"100vw",height:"100vh",textAlign:"center",background:"#fffbe9"}})]})]})},f={render:()=>e.jsx(s,{title:"Do not change state when page is scrolling.",children:e.jsx(o,{affix:!1,items:[{key:"1",href:"#components-anchor-demo-basic",title:"Basic demo"},{key:"2",href:"#components-anchor-demo-static",title:"Static demo"},{key:"3",href:"#api",title:"API",children:[{key:"4",href:"#anchor-props",title:"Anchor Props"},{key:"5",href:"#link-props",title:"Link Props"}]}]})})},k={render:()=>{const a=(r,i)=>{r.preventDefault(),console.log(i)};return e.jsx(s,{title:"Customize the onClick event.",children:e.jsx(o,{affix:!1,onClick:a,items:[{key:"1",href:"#components-anchor-demo-basic",title:"Basic demo"},{key:"2",href:"#components-anchor-demo-static",title:"Static demo"},{key:"3",href:"#api",title:"API",children:[{key:"4",href:"#anchor-props",title:"Anchor Props"},{key:"5",href:"#link-props",title:"Link Props"}]}]})})}},y={render:()=>{const a=v.useRef(null),[r,i]=v.useState();return v.useEffect(()=>{var P;i((P=a.current)==null?void 0:P.clientHeight)},[]),e.jsx(s,{title:"Anchor target scroll to screen center.",children:e.jsxs("div",{children:[e.jsxs(b,{children:[e.jsxs(c,{span:18,children:[e.jsx("div",{id:"part-1",style:{height:"100vh",background:"rgba(255,0,0,0.02)",marginTop:"30vh"},children:"Part 1"}),e.jsx("div",{id:"part-2",style:{height:"100vh",background:"rgba(0,255,0,0.02)"},children:"Part 2"}),e.jsx("div",{id:"part-3",style:{height:"100vh",background:"rgba(0,0,255,0.02)"},children:"Part 3"})]}),e.jsx(c,{span:6,children:e.jsx(o,{targetOffset:r,items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})})]}),e.jsx("div",{style:{height:"30vh",background:"rgba(0,0,0,0.15)",position:"fixed",top:0,left:0,width:"75%",color:"#000"},ref:a,children:e.jsx("div",{children:"Fixed Top Block"})})]})})}},u={render:()=>{const a=r=>{console.log("Anchor:OnChange",r)};return e.jsx(s,{title:"Listening for anchor link change.",children:e.jsx(o,{affix:!1,onChange:a,items:[{key:"1",href:"#components-anchor-demo-basic",title:"Basic demo"},{key:"2",href:"#components-anchor-demo-static",title:"Static demo"},{key:"3",href:"#api",title:"API",children:[{key:"4",href:"#anchor-props",title:"Anchor Props"},{key:"5",href:"#link-props",title:"Link Props"}]}]})})}},x={render:()=>e.jsx(s,{title:"Replace path in browser history, so back button returns to previous page instead of previous anchor item.",children:e.jsxs(b,{children:[e.jsxs(c,{span:16,children:[e.jsx("div",{id:"part-1",style:{height:"100vh",background:"rgba(255,0,0,0.02)"}}),e.jsx("div",{id:"part-2",style:{height:"100vh",background:"rgba(0,255,0,0.02)"}}),e.jsx("div",{id:"part-3",style:{height:"100vh",background:"rgba(0,0,255,0.02)"}})]}),e.jsx(c,{span:8,children:e.jsx(o,{replace:!0,items:[{key:"part-1",href:"#part-1",title:"Part 1"},{key:"part-2",href:"#part-2",title:"Part 2"},{key:"part-3",href:"#part-3",title:"Part 3"}]})})]})})};var C,A,E;l.parameters=n(t({},l.parameters),{docs:n(t({},(C=l.parameters)==null?void 0:C.docs),{source:t({originalSource:"{}"},(E=(A=l.parameters)==null?void 0:A.docs)==null?void 0:E.source)})});var w,I,R;h.parameters=n(t({},h.parameters),{docs:n(t({},(w=h.parameters)==null?void 0:w.docs),{source:t({originalSource:`{ args: { direction: 'horizontal' } diff --git a/pr-preview/pr-459/assets/App.stories-BBJWiu_Y.js b/pr-preview/pr-459/assets/App.stories-D_V3CmQS.js similarity index 65% rename from pr-preview/pr-459/assets/App.stories-BBJWiu_Y.js rename to pr-preview/pr-459/assets/App.stories-D_V3CmQS.js index 54c19f168..bcb0c47c4 100644 --- a/pr-preview/pr-459/assets/App.stories-BBJWiu_Y.js +++ b/pr-preview/pr-459/assets/App.stories-D_V3CmQS.js @@ -1 +1 @@ -var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))g.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>u(t,l(r));import{am as x}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const D={title:"Components/Other/App",component:x,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const F=["Primary"];export{p as Primary,F as __namedExportsOrder,D as default}; +var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,p=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))g.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>u(t,l(r));import{ao as x}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const D={title:"Components/Other/App",component:x,args:{}},m={};var s,c,n;m.parameters=i(p({},m.parameters),{docs:i(p({},(s=m.parameters)==null?void 0:s.docs),{source:p({originalSource:"{}"},(n=(c=m.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const F=["Primary"];export{m as Primary,F as __namedExportsOrder,D as default}; diff --git a/pr-preview/pr-459/assets/AutoComplete.stories-C7S_vuTR.js b/pr-preview/pr-459/assets/AutoComplete.stories-wAR-Ovp2.js similarity index 99% rename from pr-preview/pr-459/assets/AutoComplete.stories-C7S_vuTR.js rename to pr-preview/pr-459/assets/AutoComplete.stories-wAR-Ovp2.js index 5160f06ea..ff97caf0a 100644 --- a/pr-preview/pr-459/assets/AutoComplete.stories-C7S_vuTR.js +++ b/pr-preview/pr-459/assets/AutoComplete.stories-wAR-Ovp2.js @@ -1,4 +1,4 @@ -var Pe=Object.defineProperty,Ee=Object.defineProperties;var Oe=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var D=(t,o,s)=>o in t?Pe(t,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[o]=s,n=(t,o)=>{for(var s in o||(o={}))ke.call(o,s)&&D(t,s,o[s]);if(z)for(var s of z(o))Ie.call(o,s)&&D(t,s,o[s]);return t},r=(t,o)=>Ee(t,Oe(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as m}from"./index-CNk6hRaE.js";import{N as u,c as F,b as Ve,I as fe,F as je}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as g}from"./ExampleStory-DvwdaA9H.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const V=[{label:"The quick brown fox jumps over the lazy dog",value:1},{label:"Waxy and quivering, jocks fumble the pizza",value:2},{label:"When zombies arrive, quickly fax judge Pat",value:3},{label:"Pack my red box with five dozen quality jugs",value:4},{label:"The quick onyx goblin jumps over the lazy dwarf",value:5}],Ge={title:"Components/Data Entry/AutoComplete",component:t=>{const[o,s]=m.useState(""),[p,l]=m.useState([]),c=d=>d?V.filter(x=>x.label.toLowerCase().includes(d.toLowerCase())):[],a=d=>{l(c(d))},h=d=>{console.log("you selected value: "+d)};return e.jsx(e.Fragment,{children:e.jsx(u,r(n({},t),{value:o,options:p,onSelect:h,onSearch:a,onChange:s}))})},args:{allowClear:!1,autoFocus:!1,backfill:!1,bordered:!0,defaultActiveFirstOption:!0,options:V,defaultOpen:void 0,defaultValue:void 0,disabled:!1,popupClassName:void 0,open:void 0,placeholder:"Search AutoComplete",status:void 0,style:{width:200},value:void 0,onBlur:()=>{console.log("Blur Event")},onChange:t=>{alert(`Selected Value: ${t}`)},onDropdownVisibleChange:t=>{console.log(`Dropdown Open: ${t}`)},onFocus:()=>{console.log("Focus Event")},onSearch:t=>{alert(`Search Value: ${t}`)},onSelect:(t,o)=>{alert(`Selected Value: ${t}, Option: ${String(o.label)}`)},onClear:()=>{alert("Clear Event")}},argTypes:{status:{control:"select",options:["error","warning"]}}},S={},C={args:{allowClear:!0}},y={args:{placeholder:"Custom Placeholder Text"}},b={args:{disabled:!0}},w={args:{notFoundContent:e.jsx(e.Fragment,{children:"Custom Not Found Component goes here"})}},A={args:{bordered:!1}},f={render:()=>{const[t,o]=m.useState(""),[s,p]=m.useState([]),[l,c]=m.useState([]),a=(i,ve=1)=>({value:i.repeat(ve)}),h=i=>i?[a(i),a(i,2),a(i,3)]:[],d=i=>{alert("onSelect:"+i)},x=i=>{o(i)};return e.jsx(e.Fragment,{children:e.jsxs(g,{title:"Basic Usage, set data source of autocomplete with options property.",children:[e.jsx(u,{options:s,style:{width:200},onSelect:d,onSearch:i=>{p(h(i))},placeholder:"input here"}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(u,{value:t,options:l,style:{width:200},onSelect:d,onSearch:i=>{c(h(i))},onChange:x,placeholder:"control mode"})]})})}},j={render:()=>{const[t,o]=m.useState([]),s=p=>{let l;!p||p.includes("@")?l=[]:l=["gmail.com","163.com","qq.com"].map(c=>({value:p,label:`${p}@${c}`})),o(l)};return e.jsx(e.Fragment,{children:e.jsx(g,{title:"You could set custom Option label.",children:e.jsx(u,{style:{width:200},onSearch:s,placeholder:"input here",options:t})})})}},v={render:()=>{const[t,o]=m.useState([]),s=c=>{o(c?[{value:c},{value:c+c},{value:c+c+c}]:[])},p=c=>{console.log("handleKeyPress",c)},l=c=>{alert("selected: "+c)};return e.jsx(g,{title:"Customize Input Component",children:e.jsx(u,{options:t,style:{width:200},onSelect:l,onSearch:s,children:e.jsx(F.TextArea,{placeholder:"input here",className:"custom",style:{height:50},onKeyPress:p})})})}},P={render:()=>e.jsx(e.Fragment,{children:e.jsx(g,{title:"A non-case-sensitive AutoComplete.",children:e.jsx(u,{style:{width:200},options:V.map(t=>r(n({},t),{label:t.label.toUpperCase()})),placeholder:"try to type `b`",filterOption:(t,o)=>{var s,p;return(p=(s=o==null?void 0:o.label)==null?void 0:s.toString().toUpperCase().includes(t.toUpperCase()))!=null?p:!1}})})})},E={render:()=>{const t=p=>e.jsxs("span",{children:[p,e.jsx("a",{style:{float:"right"},href:"https://www.google.com/search?q=antd",target:"_blank",rel:"noopener noreferrer",children:"more"})]}),o=(p,l)=>({value:p,label:e.jsxs(je,{justify:"space-between",children:[p,e.jsxs("span",{children:[e.jsx(fe,{name:"mpLogo"}),l]})]})}),s=[{label:t("Libraries"),options:[o("AntDesign",1e4),o("AntDesign UI",10600)]},{label:t("Solutions"),options:[o("AntDesign UI FAQ",60100),o("AntDesign FAQ",30010)]},{label:t("Articles"),options:[o("AntDesign design language",1e5)]}];return e.jsx(e.Fragment,{children:e.jsx(g,{title:e.jsxs(e.Fragment,{children:["Demonstration of"," ",e.jsx("a",{href:"https://ant.design/docs/spec/reaction/#lookup-patterns",target:"_blank",rel:"noreferrer",children:"Lookup Patterns: Certain Category"}),"Basic Usage, set options of autocomplete with options property."]}),children:e.jsx(u,{popupClassName:"certain-category-search-dropdown",popupMatchSelectWidth:500,style:{width:250},options:s,size:"large",children:e.jsx(F.Search,{size:"large",placeholder:"input here"})})})})}},O={render:()=>{const t=(a,h=0)=>Math.floor(Math.random()*(a-h+1))+h,o=a=>new Array(t(5)).join(".").split(".").map((h,d)=>{const x=`${a}${d}`;return{value:x,label:e.jsxs(je,{justify:"space-between",children:[e.jsxs("span",{children:["Found ",a," on"," ",e.jsx("a",{href:`https://s.taobao.com/search?q=${a}`,target:"_blank",rel:"noopener noreferrer",children:x})]}),e.jsxs("span",{children:[t(200,100)," results"]})]})}}),[s,p]=m.useState([]),l=a=>{p(a!==""?o(a):[])},c=a=>{alert("selected: "+a)};return e.jsx(e.Fragment,{children:e.jsx(g,{title:e.jsxs(e.Fragment,{children:["Demonstration of"," ",e.jsx("a",{href:"https://ant.design/docs/spec/reaction#lookup-patterns",target:"_blank",rel:"noreferrer",children:"Lookup Patterns: Certain Category"}),"Basic Usage, set options of autocomplete with options property."]}),children:e.jsx(u,{popupMatchSelectWidth:252,style:{width:300},options:s,onSelect:c,onSearch:l,size:"large",children:e.jsx(F.Search,{size:"large",placeholder:"input here",enterButton:!0})})})})}},k={render:()=>{const t=(a,h=1)=>({value:a.repeat(h)}),[o,s]=m.useState([]),[p,l]=m.useState([]),c=a=>a?[t(a),t(a,2),t(a,3)]:[];return e.jsx(g,{title:"Add status to AutoComplete with status, which could be error or warning.",children:e.jsxs(Ve,{direction:"vertical",style:{width:"100%"},children:[e.jsx(u,{placeholder:"Error",options:o,onSearch:a=>{s(c(a))},status:"error",style:{width:200}}),e.jsx(u,{placeholder:"Warning",options:p,onSearch:a=>{l(c(a))},status:"warning",style:{width:200}})]})})}},I={render:()=>{const t=(l,c=1)=>({value:l.repeat(c)}),[o,s]=m.useState([]),p=l=>l?[t(l),t(l,2),t(l,3)]:[];return e.jsx(e.Fragment,{children:e.jsxs(g,{title:"Customize clear button",children:[e.jsx(u,{options:o,style:{width:200},onSearch:l=>{s(p(l))},placeholder:"No clear icon",allowClear:!1}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(u,{options:o,style:{width:200},onSearch:l=>{s(p(l))},placeholder:"Customized clear icon",allowClear:{clearIcon:e.jsx(fe,{name:"mpLogo"})}})]})})}};var T,B,U;S.parameters=r(n({},S.parameters),{docs:r(n({},(T=S.parameters)==null?void 0:T.docs),{source:n({originalSource:"{}"},(U=(B=S.parameters)==null?void 0:B.docs)==null?void 0:U.source)})});var L,q,$;C.parameters=r(n({},C.parameters),{docs:r(n({},(L=C.parameters)==null?void 0:L.docs),{source:n({originalSource:`{ +var Pe=Object.defineProperty,Ee=Object.defineProperties;var Oe=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var D=(t,o,s)=>o in t?Pe(t,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[o]=s,n=(t,o)=>{for(var s in o||(o={}))ke.call(o,s)&&D(t,s,o[s]);if(z)for(var s of z(o))Ie.call(o,s)&&D(t,s,o[s]);return t},r=(t,o)=>Ee(t,Oe(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as m}from"./index-CNk6hRaE.js";import{Q as u,c as F,b as Ve,I as fe,F as je}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as g}from"./ExampleStory-B-ilaOpY.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const V=[{label:"The quick brown fox jumps over the lazy dog",value:1},{label:"Waxy and quivering, jocks fumble the pizza",value:2},{label:"When zombies arrive, quickly fax judge Pat",value:3},{label:"Pack my red box with five dozen quality jugs",value:4},{label:"The quick onyx goblin jumps over the lazy dwarf",value:5}],Ge={title:"Components/Data Entry/AutoComplete",component:t=>{const[o,s]=m.useState(""),[p,l]=m.useState([]),c=d=>d?V.filter(x=>x.label.toLowerCase().includes(d.toLowerCase())):[],a=d=>{l(c(d))},h=d=>{console.log("you selected value: "+d)};return e.jsx(e.Fragment,{children:e.jsx(u,r(n({},t),{value:o,options:p,onSelect:h,onSearch:a,onChange:s}))})},args:{allowClear:!1,autoFocus:!1,backfill:!1,bordered:!0,defaultActiveFirstOption:!0,options:V,defaultOpen:void 0,defaultValue:void 0,disabled:!1,popupClassName:void 0,open:void 0,placeholder:"Search AutoComplete",status:void 0,style:{width:200},value:void 0,onBlur:()=>{console.log("Blur Event")},onChange:t=>{alert(`Selected Value: ${t}`)},onDropdownVisibleChange:t=>{console.log(`Dropdown Open: ${t}`)},onFocus:()=>{console.log("Focus Event")},onSearch:t=>{alert(`Search Value: ${t}`)},onSelect:(t,o)=>{alert(`Selected Value: ${t}, Option: ${String(o.label)}`)},onClear:()=>{alert("Clear Event")}},argTypes:{status:{control:"select",options:["error","warning"]}}},S={},C={args:{allowClear:!0}},y={args:{placeholder:"Custom Placeholder Text"}},b={args:{disabled:!0}},w={args:{notFoundContent:e.jsx(e.Fragment,{children:"Custom Not Found Component goes here"})}},A={args:{bordered:!1}},f={render:()=>{const[t,o]=m.useState(""),[s,p]=m.useState([]),[l,c]=m.useState([]),a=(i,ve=1)=>({value:i.repeat(ve)}),h=i=>i?[a(i),a(i,2),a(i,3)]:[],d=i=>{alert("onSelect:"+i)},x=i=>{o(i)};return e.jsx(e.Fragment,{children:e.jsxs(g,{title:"Basic Usage, set data source of autocomplete with options property.",children:[e.jsx(u,{options:s,style:{width:200},onSelect:d,onSearch:i=>{p(h(i))},placeholder:"input here"}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(u,{value:t,options:l,style:{width:200},onSelect:d,onSearch:i=>{c(h(i))},onChange:x,placeholder:"control mode"})]})})}},j={render:()=>{const[t,o]=m.useState([]),s=p=>{let l;!p||p.includes("@")?l=[]:l=["gmail.com","163.com","qq.com"].map(c=>({value:p,label:`${p}@${c}`})),o(l)};return e.jsx(e.Fragment,{children:e.jsx(g,{title:"You could set custom Option label.",children:e.jsx(u,{style:{width:200},onSearch:s,placeholder:"input here",options:t})})})}},v={render:()=>{const[t,o]=m.useState([]),s=c=>{o(c?[{value:c},{value:c+c},{value:c+c+c}]:[])},p=c=>{console.log("handleKeyPress",c)},l=c=>{alert("selected: "+c)};return e.jsx(g,{title:"Customize Input Component",children:e.jsx(u,{options:t,style:{width:200},onSelect:l,onSearch:s,children:e.jsx(F.TextArea,{placeholder:"input here",className:"custom",style:{height:50},onKeyPress:p})})})}},P={render:()=>e.jsx(e.Fragment,{children:e.jsx(g,{title:"A non-case-sensitive AutoComplete.",children:e.jsx(u,{style:{width:200},options:V.map(t=>r(n({},t),{label:t.label.toUpperCase()})),placeholder:"try to type `b`",filterOption:(t,o)=>{var s,p;return(p=(s=o==null?void 0:o.label)==null?void 0:s.toString().toUpperCase().includes(t.toUpperCase()))!=null?p:!1}})})})},E={render:()=>{const t=p=>e.jsxs("span",{children:[p,e.jsx("a",{style:{float:"right"},href:"https://www.google.com/search?q=antd",target:"_blank",rel:"noopener noreferrer",children:"more"})]}),o=(p,l)=>({value:p,label:e.jsxs(je,{justify:"space-between",children:[p,e.jsxs("span",{children:[e.jsx(fe,{name:"mpLogo"}),l]})]})}),s=[{label:t("Libraries"),options:[o("AntDesign",1e4),o("AntDesign UI",10600)]},{label:t("Solutions"),options:[o("AntDesign UI FAQ",60100),o("AntDesign FAQ",30010)]},{label:t("Articles"),options:[o("AntDesign design language",1e5)]}];return e.jsx(e.Fragment,{children:e.jsx(g,{title:e.jsxs(e.Fragment,{children:["Demonstration of"," ",e.jsx("a",{href:"https://ant.design/docs/spec/reaction/#lookup-patterns",target:"_blank",rel:"noreferrer",children:"Lookup Patterns: Certain Category"}),"Basic Usage, set options of autocomplete with options property."]}),children:e.jsx(u,{popupClassName:"certain-category-search-dropdown",popupMatchSelectWidth:500,style:{width:250},options:s,size:"large",children:e.jsx(F.Search,{size:"large",placeholder:"input here"})})})})}},O={render:()=>{const t=(a,h=0)=>Math.floor(Math.random()*(a-h+1))+h,o=a=>new Array(t(5)).join(".").split(".").map((h,d)=>{const x=`${a}${d}`;return{value:x,label:e.jsxs(je,{justify:"space-between",children:[e.jsxs("span",{children:["Found ",a," on"," ",e.jsx("a",{href:`https://s.taobao.com/search?q=${a}`,target:"_blank",rel:"noopener noreferrer",children:x})]}),e.jsxs("span",{children:[t(200,100)," results"]})]})}}),[s,p]=m.useState([]),l=a=>{p(a!==""?o(a):[])},c=a=>{alert("selected: "+a)};return e.jsx(e.Fragment,{children:e.jsx(g,{title:e.jsxs(e.Fragment,{children:["Demonstration of"," ",e.jsx("a",{href:"https://ant.design/docs/spec/reaction#lookup-patterns",target:"_blank",rel:"noreferrer",children:"Lookup Patterns: Certain Category"}),"Basic Usage, set options of autocomplete with options property."]}),children:e.jsx(u,{popupMatchSelectWidth:252,style:{width:300},options:s,onSelect:c,onSearch:l,size:"large",children:e.jsx(F.Search,{size:"large",placeholder:"input here",enterButton:!0})})})})}},k={render:()=>{const t=(a,h=1)=>({value:a.repeat(h)}),[o,s]=m.useState([]),[p,l]=m.useState([]),c=a=>a?[t(a),t(a,2),t(a,3)]:[];return e.jsx(g,{title:"Add status to AutoComplete with status, which could be error or warning.",children:e.jsxs(Ve,{direction:"vertical",style:{width:"100%"},children:[e.jsx(u,{placeholder:"Error",options:o,onSearch:a=>{s(c(a))},status:"error",style:{width:200}}),e.jsx(u,{placeholder:"Warning",options:p,onSearch:a=>{l(c(a))},status:"warning",style:{width:200}})]})})}},I={render:()=>{const t=(l,c=1)=>({value:l.repeat(c)}),[o,s]=m.useState([]),p=l=>l?[t(l),t(l,2),t(l,3)]:[];return e.jsx(e.Fragment,{children:e.jsxs(g,{title:"Customize clear button",children:[e.jsx(u,{options:o,style:{width:200},onSearch:l=>{s(p(l))},placeholder:"No clear icon",allowClear:!1}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(u,{options:o,style:{width:200},onSearch:l=>{s(p(l))},placeholder:"Customized clear icon",allowClear:{clearIcon:e.jsx(fe,{name:"mpLogo"})}})]})})}};var T,B,U;S.parameters=r(n({},S.parameters),{docs:r(n({},(T=S.parameters)==null?void 0:T.docs),{source:n({originalSource:"{}"},(U=(B=S.parameters)==null?void 0:B.docs)==null?void 0:U.source)})});var L,q,$;C.parameters=r(n({},C.parameters),{docs:r(n({},(L=C.parameters)==null?void 0:L.docs),{source:n({originalSource:`{ args: { allowClear: true } diff --git a/pr-preview/pr-459/assets/Avatar.stories-CtFtcyhU.js b/pr-preview/pr-459/assets/Avatar.stories-DHpD7xyO.js similarity index 98% rename from pr-preview/pr-459/assets/Avatar.stories-CtFtcyhU.js rename to pr-preview/pr-459/assets/Avatar.stories-DHpD7xyO.js index 49420a201..0d74cc4ba 100644 --- a/pr-preview/pr-459/assets/Avatar.stories-CtFtcyhU.js +++ b/pr-preview/pr-459/assets/Avatar.stories-DHpD7xyO.js @@ -1,4 +1,4 @@ -var ge=Object.defineProperty,xe=Object.defineProperties;var he=Object.getOwnPropertyDescriptors;var U=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var C=(n,o,t)=>o in n?ge(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,a=(n,o)=>{for(var t in o||(o={}))je.call(o,t)&&C(n,t,o[t]);if(U)for(var t of U(o))ve.call(o,t)&&C(n,t,o[t]);return n},r=(n,o)=>xe(n,he(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as A}from"./index-CNk6hRaE.js";import{A as s,I as c,b as l,B as b,i as L}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as p}from"./ExampleStory-DvwdaA9H.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Fe={title:"Components/Data Display/Avatar",component:s,args:{alt:"Avatar",gap:4,icon:e.jsx(c,{name:"alicorn",size:"lg",color:"white"}),shape:"circle",size:"default",src:void 0,srcSet:void 0,draggable:!0,crossOrigin:"",onError:()=>!0},argTypes:{crossOrigin:{control:"select",options:["anonymous","use-credentials",""]},shape:{control:"select",options:["circle","square"]},draggable:{control:"select",options:[!0,!1,"true","false"]},icon:{control:"select",options:["Users","Sparkles"],mapping:{Users:e.jsx(c,{name:"users"}),Sparkles:e.jsx(c,{name:"predictions",variant:"duo-tone"})}}}},m={},d={args:{shape:"square"}},u={args:{size:"large"}},g={args:{size:"small"}},x={args:{size:{xs:24,sm:32,md:40,lg:64,xl:80,xxl:120}}},h={args:{icon:"Sparkles"}},j={render:()=>e.jsx(p,{title:"Four sizes and two shapes are available.",children:e.jsxs(l,{direction:"vertical",size:16,children:[e.jsxs(l,{wrap:!0,size:16,children:[e.jsx(s,{size:64,icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{size:"large",icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{size:"small",icon:e.jsx(c,{name:"alicorn"})})]}),e.jsxs(l,{wrap:!0,size:16,children:[e.jsx(s,{shape:"square",size:64,icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{shape:"square",size:"large",icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{shape:"square",icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{shape:"square",size:"small",icon:e.jsx(c,{name:"alicorn"})})]})]})})},v={render:()=>{const n="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg";return e.jsx(p,{title:"Image, Icon and letter are supported, and the latter two kinds of avatar can have custom colors and background colors.",children:e.jsxs(l,{size:16,wrap:!0,children:[e.jsx(s,{icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{children:"U"}),e.jsx(s,{size:40,children:"USER"}),e.jsx(s,{src:n}),e.jsx(s,{src:e.jsx("img",{src:n,alt:"avatar"})}),e.jsx(s,{style:{backgroundColor:"#fde3cf",color:"#f56a00"},children:"U"}),e.jsx(s,{style:{backgroundColor:"#87d068"},icon:e.jsx(c,{name:"alicorn"})})]})})}},z={render:()=>e.jsx(p,{title:"Usually used for reminders and notifications.",children:e.jsxs(l,{size:24,children:[e.jsx(b,{count:1,children:e.jsx(s,{shape:"square",icon:e.jsx(c,{name:"alicorn"})})}),e.jsx(b,{dot:!0,children:e.jsx(s,{shape:"square",icon:e.jsx(c,{name:"alicorn"})})})]})})},S={render:()=>e.jsx(p,{title:"Avatar size can be automatically adjusted based on the screen size.",children:e.jsx(s,{size:{xs:24,sm:32,md:40,lg:64,xl:80,xxl:100},icon:e.jsx(c,{name:"alicorn"})})})},y={render:()=>{const n=["Edward","U","Lucy","Tom"],o=["#f56a00","#7265e6","#ffbf00","#00a2ae"],t=[4,3,2,1],[f,ie]=A.useState(n[0]),[le,pe]=A.useState(o[0]),[E,me]=A.useState(t[0]),de=()=>{const i=n.indexOf(f);ie(i{const i=t.indexOf(E);me(io in n?ge(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,a=(n,o)=>{for(var t in o||(o={}))je.call(o,t)&&C(n,t,o[t]);if(U)for(var t of U(o))ve.call(o,t)&&C(n,t,o[t]);return n},r=(n,o)=>xe(n,he(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as A}from"./index-CNk6hRaE.js";import{A as s,I as c,b as l,B as b,l as L}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as p}from"./ExampleStory-B-ilaOpY.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Fe={title:"Components/Data Display/Avatar",component:s,args:{alt:"Avatar",gap:4,icon:e.jsx(c,{name:"alicorn",size:"lg",color:"white"}),shape:"circle",size:"default",src:void 0,srcSet:void 0,draggable:!0,crossOrigin:"",onError:()=>!0},argTypes:{crossOrigin:{control:"select",options:["anonymous","use-credentials",""]},shape:{control:"select",options:["circle","square"]},draggable:{control:"select",options:[!0,!1,"true","false"]},icon:{control:"select",options:["Users","Sparkles"],mapping:{Users:e.jsx(c,{name:"users"}),Sparkles:e.jsx(c,{name:"predictions",variant:"duo-tone"})}}}},m={},d={args:{shape:"square"}},u={args:{size:"large"}},g={args:{size:"small"}},x={args:{size:{xs:24,sm:32,md:40,lg:64,xl:80,xxl:120}}},h={args:{icon:"Sparkles"}},j={render:()=>e.jsx(p,{title:"Four sizes and two shapes are available.",children:e.jsxs(l,{direction:"vertical",size:16,children:[e.jsxs(l,{wrap:!0,size:16,children:[e.jsx(s,{size:64,icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{size:"large",icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{size:"small",icon:e.jsx(c,{name:"alicorn"})})]}),e.jsxs(l,{wrap:!0,size:16,children:[e.jsx(s,{shape:"square",size:64,icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{shape:"square",size:"large",icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{shape:"square",icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{shape:"square",size:"small",icon:e.jsx(c,{name:"alicorn"})})]})]})})},v={render:()=>{const n="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg";return e.jsx(p,{title:"Image, Icon and letter are supported, and the latter two kinds of avatar can have custom colors and background colors.",children:e.jsxs(l,{size:16,wrap:!0,children:[e.jsx(s,{icon:e.jsx(c,{name:"alicorn"})}),e.jsx(s,{children:"U"}),e.jsx(s,{size:40,children:"USER"}),e.jsx(s,{src:n}),e.jsx(s,{src:e.jsx("img",{src:n,alt:"avatar"})}),e.jsx(s,{style:{backgroundColor:"#fde3cf",color:"#f56a00"},children:"U"}),e.jsx(s,{style:{backgroundColor:"#87d068"},icon:e.jsx(c,{name:"alicorn"})})]})})}},z={render:()=>e.jsx(p,{title:"Usually used for reminders and notifications.",children:e.jsxs(l,{size:24,children:[e.jsx(b,{count:1,children:e.jsx(s,{shape:"square",icon:e.jsx(c,{name:"alicorn"})})}),e.jsx(b,{dot:!0,children:e.jsx(s,{shape:"square",icon:e.jsx(c,{name:"alicorn"})})})]})})},S={render:()=>e.jsx(p,{title:"Avatar size can be automatically adjusted based on the screen size.",children:e.jsx(s,{size:{xs:24,sm:32,md:40,lg:64,xl:80,xxl:100},icon:e.jsx(c,{name:"alicorn"})})})},y={render:()=>{const n=["Edward","U","Lucy","Tom"],o=["#f56a00","#7265e6","#ffbf00","#00a2ae"],t=[4,3,2,1],[f,ie]=A.useState(n[0]),[le,pe]=A.useState(o[0]),[E,me]=A.useState(t[0]),de=()=>{const i=n.indexOf(f);ie(i{const i=t.indexOf(E);me(io in a?Oe(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,t=(a,o)=>{for(var n in o||(o={}))Ie.call(o,n)&&T(a,n,o[n]);if(q)for(var n of q(o))Pe.call(o,n)&&T(a,n,o[n]);return a},r=(a,o)=>Re(a,Ze(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{B as s,b as i,A as c,I as ye,l as ze,i as u,m as Ue,h as A}from"./GlobalNavigation-CPQMp-rl.js";import{E as l}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as k}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const st={title:"Components/Data Display/Badge",component:s,args:{color:"",count:5,classNames:void 0,dot:!1,offset:void 0,overflowCount:99,showZero:!1,size:"default",status:void 0,styles:void 0,text:void 0,title:""},argTypes:{size:{control:"select",options:["default","small"]},status:{control:"select",options:["success","processing","default","error","warning"]}}},p={},m={args:{dot:!0}},g={args:{size:"small"}},h={args:{overflowCount:2}},x={args:{color:"#f60"}},f={args:{text:"Custom Text"}},S={args:{title:"Custom Hovering Text"}},w={render:()=>e.jsx(l,{title:"Simplest Usage. Badge will be hidden when count is 0, but we can use showZero to show it. Or add a custom icon.",children:e.jsxs(i,{size:"middle",children:[e.jsx(s,{count:5,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:0,showZero:!0,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:e.jsx(ye,{name:"mpLogo"}),children:e.jsx(c,{shape:"square",size:"large"})})]})})},j={render:()=>{const[a,o]=k.useState(!0);return e.jsx(l,{title:"Used in standalone when children is empty.",children:e.jsxs(i,{children:[e.jsx(ze,{checked:a,onChange:()=>{o(!a)}}),e.jsx(s,{count:a?11:0,showZero:!0,color:"#faad14"}),e.jsx(s,{count:a?25:0}),e.jsx(s,{count:a?e.jsx(ye,{name:"mpLogo"}):0}),e.jsx(s,{className:"site-badge-count-109",count:a?109:0,style:{backgroundColor:"#52c41a"}})]})})}},C={render:()=>e.jsx(l,{title:"overflowCount+ is displayed when count is larger than overflowCount. The default value of overflowCount is 99.",children:e.jsxs(i,{size:"large",children:[e.jsx(s,{count:99,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:100,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:99,overflowCount:10,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:1e3,overflowCount:999,children:e.jsx(c,{shape:"square",size:"large"})})]})})},B={render:()=>{const[a,o]=k.useState(5),[n,ke]=k.useState(!0),qe=()=>{o(a+1)},Te=()=>{let d=a-1;d<0&&(d=0),o(d)},Ae=()=>{const d=Math.floor(Math.random()*100);o(d)},De=d=>{ke(d)};return e.jsx(l,{title:"The count will be animated as it changes.",children:e.jsxs(i,{direction:"vertical",children:[e.jsxs(i,{size:"large",children:[e.jsx(s,{count:a,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsxs(u.Group,{children:[e.jsx(u,{onClick:Te,icon:"-"}),e.jsx(u,{onClick:qe,icon:"+"}),e.jsx(u,{onClick:Ae,icon:"?"})]})]}),e.jsxs(i,{size:"large",children:[e.jsx(s,{dot:n,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(ze,{onChange:De,checked:n})]})]})})}},b={render:()=>e.jsx(l,{title:"Set offset of the badge dot, the format is [left, top], which represents the offset of the status dot from the left and top of the default position.",children:e.jsx(s,{count:5,offset:[10,10],children:e.jsx(c,{shape:"square",size:"large"})})})},v={render:()=>e.jsxs(l,{title:"Standalone badge with status.",children:[e.jsxs(i,{children:[e.jsx(s,{status:"success"}),e.jsx(s,{status:"error"}),e.jsx(s,{status:"default"}),e.jsx(s,{status:"processing"}),e.jsx(s,{status:"warning"})]}),e.jsx("br",{}),e.jsxs(i,{direction:"vertical",children:[e.jsx(s,{status:"success",text:"Success"}),e.jsx(s,{status:"error",text:"Error"}),e.jsx(s,{status:"default",text:"Default"}),e.jsx(s,{status:"processing",text:"Processing"}),e.jsx(s,{status:"warning",text:"Warning"})]})]})},E={render:()=>e.jsx(l,{title:"Use ribbon badge.",children:e.jsx(i,{direction:"vertical",size:"middle",style:{width:"200px"},children:e.jsx(s.Ribbon,{text:"Ribbon",children:e.jsx(Ue,{title:"Card Title",size:"small",children:"Card Inner text"})})})})},y={render:()=>e.jsx(l,{title:"The badge can be wrapped with a tag to make it linkable.",children:e.jsx("a",{children:e.jsx(s,{count:5,children:e.jsx(c,{shape:"square",size:"large"})})})})},z={render:()=>{const a=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];return e.jsxs(l,{title:"We preset a series of colorful Badge styles for use in different situations. You can also set it to a hex color string for custom color.",children:[e.jsx(A,{orientation:"left",children:"Presets"}),e.jsx(i,{direction:"vertical",children:a.map(o=>e.jsx(s,{color:o,text:o},o))}),e.jsx(A,{orientation:"left",children:"Custom"}),e.jsxs(i,{direction:"vertical",children:[e.jsx(s,{color:"#f50",text:"#f50"}),e.jsx(s,{color:"rgb(45, 183, 245)",text:"rgb(45, 183, 245)"}),e.jsx(s,{color:"hsl(102, 53%, 61%)",text:"hsl(102, 53%, 61%)"}),e.jsx(s,{color:"hwb(205 6% 9%)",text:"hwb(205 6% 9%)"})]})]})}};var D,O,R;p.parameters=r(t({},p.parameters),{docs:r(t({},(D=p.parameters)==null?void 0:D.docs),{source:t({originalSource:"{}"},(R=(O=p.parameters)==null?void 0:O.docs)==null?void 0:R.source)})});var Z,I,P;m.parameters=r(t({},m.parameters),{docs:r(t({},(Z=m.parameters)==null?void 0:Z.docs),{source:t({originalSource:`{ +var Oe=Object.defineProperty,Re=Object.defineProperties;var Ze=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Ie=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable;var T=(a,o,n)=>o in a?Oe(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,t=(a,o)=>{for(var n in o||(o={}))Ie.call(o,n)&&T(a,n,o[n]);if(q)for(var n of q(o))Pe.call(o,n)&&T(a,n,o[n]);return a},r=(a,o)=>Re(a,Ze(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{B as s,b as i,A as c,I as ye,o as ze,l as u,p as Ue,k as A}from"./GlobalNavigation-DT_tPK9g.js";import{E as l}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as k}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const st={title:"Components/Data Display/Badge",component:s,args:{color:"",count:5,classNames:void 0,dot:!1,offset:void 0,overflowCount:99,showZero:!1,size:"default",status:void 0,styles:void 0,text:void 0,title:""},argTypes:{size:{control:"select",options:["default","small"]},status:{control:"select",options:["success","processing","default","error","warning"]}}},p={},m={args:{dot:!0}},g={args:{size:"small"}},h={args:{overflowCount:2}},x={args:{color:"#f60"}},f={args:{text:"Custom Text"}},S={args:{title:"Custom Hovering Text"}},w={render:()=>e.jsx(l,{title:"Simplest Usage. Badge will be hidden when count is 0, but we can use showZero to show it. Or add a custom icon.",children:e.jsxs(i,{size:"middle",children:[e.jsx(s,{count:5,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:0,showZero:!0,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:e.jsx(ye,{name:"mpLogo"}),children:e.jsx(c,{shape:"square",size:"large"})})]})})},j={render:()=>{const[a,o]=k.useState(!0);return e.jsx(l,{title:"Used in standalone when children is empty.",children:e.jsxs(i,{children:[e.jsx(ze,{checked:a,onChange:()=>{o(!a)}}),e.jsx(s,{count:a?11:0,showZero:!0,color:"#faad14"}),e.jsx(s,{count:a?25:0}),e.jsx(s,{count:a?e.jsx(ye,{name:"mpLogo"}):0}),e.jsx(s,{className:"site-badge-count-109",count:a?109:0,style:{backgroundColor:"#52c41a"}})]})})}},C={render:()=>e.jsx(l,{title:"overflowCount+ is displayed when count is larger than overflowCount. The default value of overflowCount is 99.",children:e.jsxs(i,{size:"large",children:[e.jsx(s,{count:99,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:100,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:99,overflowCount:10,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(s,{count:1e3,overflowCount:999,children:e.jsx(c,{shape:"square",size:"large"})})]})})},B={render:()=>{const[a,o]=k.useState(5),[n,ke]=k.useState(!0),qe=()=>{o(a+1)},Te=()=>{let d=a-1;d<0&&(d=0),o(d)},Ae=()=>{const d=Math.floor(Math.random()*100);o(d)},De=d=>{ke(d)};return e.jsx(l,{title:"The count will be animated as it changes.",children:e.jsxs(i,{direction:"vertical",children:[e.jsxs(i,{size:"large",children:[e.jsx(s,{count:a,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsxs(u.Group,{children:[e.jsx(u,{onClick:Te,icon:"-"}),e.jsx(u,{onClick:qe,icon:"+"}),e.jsx(u,{onClick:Ae,icon:"?"})]})]}),e.jsxs(i,{size:"large",children:[e.jsx(s,{dot:n,children:e.jsx(c,{shape:"square",size:"large"})}),e.jsx(ze,{onChange:De,checked:n})]})]})})}},b={render:()=>e.jsx(l,{title:"Set offset of the badge dot, the format is [left, top], which represents the offset of the status dot from the left and top of the default position.",children:e.jsx(s,{count:5,offset:[10,10],children:e.jsx(c,{shape:"square",size:"large"})})})},v={render:()=>e.jsxs(l,{title:"Standalone badge with status.",children:[e.jsxs(i,{children:[e.jsx(s,{status:"success"}),e.jsx(s,{status:"error"}),e.jsx(s,{status:"default"}),e.jsx(s,{status:"processing"}),e.jsx(s,{status:"warning"})]}),e.jsx("br",{}),e.jsxs(i,{direction:"vertical",children:[e.jsx(s,{status:"success",text:"Success"}),e.jsx(s,{status:"error",text:"Error"}),e.jsx(s,{status:"default",text:"Default"}),e.jsx(s,{status:"processing",text:"Processing"}),e.jsx(s,{status:"warning",text:"Warning"})]})]})},E={render:()=>e.jsx(l,{title:"Use ribbon badge.",children:e.jsx(i,{direction:"vertical",size:"middle",style:{width:"200px"},children:e.jsx(s.Ribbon,{text:"Ribbon",children:e.jsx(Ue,{title:"Card Title",size:"small",children:"Card Inner text"})})})})},y={render:()=>e.jsx(l,{title:"The badge can be wrapped with a tag to make it linkable.",children:e.jsx("a",{children:e.jsx(s,{count:5,children:e.jsx(c,{shape:"square",size:"large"})})})})},z={render:()=>{const a=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];return e.jsxs(l,{title:"We preset a series of colorful Badge styles for use in different situations. You can also set it to a hex color string for custom color.",children:[e.jsx(A,{orientation:"left",children:"Presets"}),e.jsx(i,{direction:"vertical",children:a.map(o=>e.jsx(s,{color:o,text:o},o))}),e.jsx(A,{orientation:"left",children:"Custom"}),e.jsxs(i,{direction:"vertical",children:[e.jsx(s,{color:"#f50",text:"#f50"}),e.jsx(s,{color:"rgb(45, 183, 245)",text:"rgb(45, 183, 245)"}),e.jsx(s,{color:"hsl(102, 53%, 61%)",text:"hsl(102, 53%, 61%)"}),e.jsx(s,{color:"hwb(205 6% 9%)",text:"hwb(205 6% 9%)"})]})]})}};var D,O,R;p.parameters=r(t({},p.parameters),{docs:r(t({},(D=p.parameters)==null?void 0:D.docs),{source:t({originalSource:"{}"},(R=(O=p.parameters)==null?void 0:O.docs)==null?void 0:R.source)})});var Z,I,P;m.parameters=r(t({},m.parameters),{docs:r(t({},(Z=m.parameters)==null?void 0:Z.docs),{source:t({originalSource:`{ args: { dot: true } diff --git a/pr-preview/pr-459/assets/Breadcrumb.stories-q_hWi4KQ.js b/pr-preview/pr-459/assets/Breadcrumb.stories-DEnwUB_M.js similarity index 97% rename from pr-preview/pr-459/assets/Breadcrumb.stories-q_hWi4KQ.js rename to pr-preview/pr-459/assets/Breadcrumb.stories-DEnwUB_M.js index 6922a5a73..d2a3091c9 100644 --- a/pr-preview/pr-459/assets/Breadcrumb.stories-q_hWi4KQ.js +++ b/pr-preview/pr-459/assets/Breadcrumb.stories-DEnwUB_M.js @@ -1,4 +1,4 @@ -var K=Object.defineProperty,M=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable;var y=(n,a,o)=>a in n?K(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,e=(n,a)=>{for(var o in a||(a={}))U.call(a,o)&&y(n,o,a[o]);if(f)for(var o of f(a))Y.call(a,o)&&y(n,o,a[o]);return n},r=(n,a)=>M(n,Q(a));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{ad as i,I as b,aa as Z,ae as $}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as s}from"./ExampleStory-DvwdaA9H.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ye={title:"Components/Navigation/Breadcrumb",component:i,args:{separator:"/",items:[{title:"Home"},{title:"Category"},{title:"Subcategory"},{title:"Current Page"}]}},l={},p={args:{separator:">"}},m={args:{items:[{title:"Very Long Label 1"},{title:"Very Long Label 2"},{title:"Current Page with a Very Long Label"}]}},c={args:{separator:">",items:[{title:"Page 1"},{title:"Page 2"},{title:"Current Page"}],itemRender:(n,a,o)=>t.jsx("span",{style:{color:n.title===o[1].title?"red":"black"},children:n.title})}},d={render:()=>t.jsx(s,{title:"The simplest use.",children:t.jsx(i,{items:[{title:"Home"},{title:t.jsx("a",{href:"",children:"Application Center"})},{title:t.jsx("a",{href:"",children:"Application List"})},{title:"An Application"}]})})},u={render:()=>t.jsx(s,{title:"The icon should be placed in front of the text.",children:t.jsx(i,{items:[{href:"",title:t.jsx(b,{name:"alicorn"})},{href:"",title:t.jsxs(Z,{children:[t.jsx(b,{name:"mpLogo",size:"sm"}),t.jsx("span",{style:{paddingLeft:$},children:"Application List"})]})},{title:"Application"}]})})},h={render:()=>t.jsx(s,{title:"The separator can be customized",children:t.jsx(i,{separator:">",items:[{title:"Home"},{title:"Application Center",href:""},{title:"Application List",href:""},{title:"An Application"}]})})},g={render:()=>{const n=[{key:"1",label:t.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"http://www.alipay.com/",children:"General"})},{key:"2",label:t.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"http://www.taobao.com/",children:"Layout"})},{key:"3",label:t.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"http://www.tmall.com/",children:"Navigation"})}];return t.jsx(s,{title:"Breadcrumbs support drop down menu.",children:t.jsx(i,{items:[{title:"Ant Design"},{title:t.jsx("a",{href:"",children:"Component"})},{title:t.jsx("a",{href:"",children:"General"}),menu:{items:n}},{title:"Button"}]})})}},x={render:()=>t.jsx(s,{title:"Customize separator for each item.",children:t.jsx(i,{separator:"",items:[{title:"Location"},{type:"separator",separator:":"},{href:"",title:"Application Center"},{type:"separator"},{href:"",title:"Application List"},{type:"separator"},{title:"An Application"}]})})};var L,A,S;l.parameters=r(e({},l.parameters),{docs:r(e({},(L=l.parameters)==null?void 0:L.docs),{source:e({originalSource:"{}"},(S=(A=l.parameters)==null?void 0:A.docs)==null?void 0:S.source)})});var j,w,C;p.parameters=r(e({},p.parameters),{docs:r(e({},(j=p.parameters)==null?void 0:j.docs),{source:e({originalSource:`{ +var K=Object.defineProperty,M=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable;var y=(n,a,o)=>a in n?K(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,e=(n,a)=>{for(var o in a||(a={}))U.call(a,o)&&y(n,o,a[o]);if(f)for(var o of f(a))Y.call(a,o)&&y(n,o,a[o]);return n},r=(n,a)=>M(n,Q(a));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{af as i,I as b,ac as Z,ag as $}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as s}from"./ExampleStory-B-ilaOpY.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ye={title:"Components/Navigation/Breadcrumb",component:i,args:{separator:"/",items:[{title:"Home"},{title:"Category"},{title:"Subcategory"},{title:"Current Page"}]}},l={},p={args:{separator:">"}},m={args:{items:[{title:"Very Long Label 1"},{title:"Very Long Label 2"},{title:"Current Page with a Very Long Label"}]}},c={args:{separator:">",items:[{title:"Page 1"},{title:"Page 2"},{title:"Current Page"}],itemRender:(n,a,o)=>t.jsx("span",{style:{color:n.title===o[1].title?"red":"black"},children:n.title})}},d={render:()=>t.jsx(s,{title:"The simplest use.",children:t.jsx(i,{items:[{title:"Home"},{title:t.jsx("a",{href:"",children:"Application Center"})},{title:t.jsx("a",{href:"",children:"Application List"})},{title:"An Application"}]})})},u={render:()=>t.jsx(s,{title:"The icon should be placed in front of the text.",children:t.jsx(i,{items:[{href:"",title:t.jsx(b,{name:"alicorn"})},{href:"",title:t.jsxs(Z,{children:[t.jsx(b,{name:"mpLogo",size:"sm"}),t.jsx("span",{style:{paddingLeft:$},children:"Application List"})]})},{title:"Application"}]})})},h={render:()=>t.jsx(s,{title:"The separator can be customized",children:t.jsx(i,{separator:">",items:[{title:"Home"},{title:"Application Center",href:""},{title:"Application List",href:""},{title:"An Application"}]})})},g={render:()=>{const n=[{key:"1",label:t.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"http://www.alipay.com/",children:"General"})},{key:"2",label:t.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"http://www.taobao.com/",children:"Layout"})},{key:"3",label:t.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"http://www.tmall.com/",children:"Navigation"})}];return t.jsx(s,{title:"Breadcrumbs support drop down menu.",children:t.jsx(i,{items:[{title:"Ant Design"},{title:t.jsx("a",{href:"",children:"Component"})},{title:t.jsx("a",{href:"",children:"General"}),menu:{items:n}},{title:"Button"}]})})}},x={render:()=>t.jsx(s,{title:"Customize separator for each item.",children:t.jsx(i,{separator:"",items:[{title:"Location"},{type:"separator",separator:":"},{href:"",title:"Application Center"},{type:"separator"},{href:"",title:"Application List"},{type:"separator"},{title:"An Application"}]})})};var L,A,S;l.parameters=r(e({},l.parameters),{docs:r(e({},(L=l.parameters)==null?void 0:L.docs),{source:e({originalSource:"{}"},(S=(A=l.parameters)==null?void 0:A.docs)==null?void 0:S.source)})});var j,w,C;p.parameters=r(e({},p.parameters),{docs:r(e({},(j=p.parameters)==null?void 0:j.docs),{source:e({originalSource:`{ args: { separator: '>' } diff --git a/pr-preview/pr-459/assets/Button.stories-Br7F8UqQ.js b/pr-preview/pr-459/assets/Button.stories-BKpoGRpV.js similarity index 98% rename from pr-preview/pr-459/assets/Button.stories-Br7F8UqQ.js rename to pr-preview/pr-459/assets/Button.stories-BKpoGRpV.js index a54f14628..76476cabc 100644 --- a/pr-preview/pr-459/assets/Button.stories-Br7F8UqQ.js +++ b/pr-preview/pr-459/assets/Button.stories-BKpoGRpV.js @@ -1,4 +1,4 @@ -var _e=Object.defineProperty,Oe=Object.defineProperties;var Ae=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var Fe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable;var E=(o,a,s)=>a in o?_e(o,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[a]=s,e=(o,a)=>{for(var s in a||(a={}))Fe.call(a,s)&&E(o,s,a[s]);if(W)for(var s of W(a))He.call(a,s)&&E(o,s,a[s]);return o},r=(o,a)=>Oe(o,Ae(a));var j=(o,a,s)=>new Promise((Te,D)=>{var Ge=t=>{try{L(s.next(t))}catch(z){D(z)}},qe=t=>{try{L(s.throw(t))}catch(z){D(z)}},L=t=>t.done?Te(t.value):Promise.resolve(t.value).then(Ge,qe);L((s=s.apply(o,a)).next())});import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{i as Je,I as C}from"./GlobalNavigation-CPQMp-rl.js";import{u as Ke}from"./index-C7MMNn6a.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./index-TL6_15PV.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const dr={title:"Components/General/Button",component:o=>{var a;return n.jsx(Je,r(e({},o),{children:(a=o.children)!=null?a:"Button Label"}))},args:{block:!1,danger:!1,disabled:!1,ghost:!1,href:void 0,htmlType:"button",icon:void 0,loading:!1,shape:"default",size:"middle",target:void 0,type:"primary",onClick:void 0},argTypes:{shape:{control:"select",options:["default","circle","round"]},size:{control:"select",options:["small","medium","large"]},type:{control:"select",options:["primary","dashed","link","text","default"]}}},c={play:o=>j(void 0,null,function*(){const a=o.canvasElement.querySelector("button");if(a)yield Ke.click(a);else throw new Error("Button not found")})},i={args:{type:"default"}},m={args:{type:"dashed"}},p={args:{type:"text"}},d={args:{type:"link"}},u={args:{danger:!0}},l={args:{disabled:!0}},g={args:{ghost:!0}},h={args:{block:!0}},f={args:{icon:n.jsx(C,{name:"mpLogo"})}},y={args:{type:"default",icon:n.jsx(C,{name:"mpLogo",size:"sm"}),variant:"with-new-icon"}},S={args:{type:"default",icon:n.jsx(C,{name:"mpLogo",size:"sm",color:"default"}),variant:"with-new-icon"}},k={args:{icon:n.jsx(C,{name:"dataPlatform",size:"xl"}),children:" ",type:"default",shape:"round",variant:"with-new-icon"}},w={args:{loading:!0}},x={args:{shape:"circle"}},b={args:{shape:"round"}},v={args:{size:"large"}},I={args:{size:"small"}},B={args:{onClick:o=>{alert("Button Clicked")}}};var P,R,M;c.parameters=r(e({},c.parameters),{docs:r(e({},(P=c.parameters)==null?void 0:P.docs),{source:e({originalSource:`{ +var _e=Object.defineProperty,Oe=Object.defineProperties;var Ae=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var Fe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable;var E=(o,a,s)=>a in o?_e(o,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[a]=s,e=(o,a)=>{for(var s in a||(a={}))Fe.call(a,s)&&E(o,s,a[s]);if(W)for(var s of W(a))He.call(a,s)&&E(o,s,a[s]);return o},r=(o,a)=>Oe(o,Ae(a));var j=(o,a,s)=>new Promise((Te,D)=>{var Ge=t=>{try{L(s.next(t))}catch(z){D(z)}},qe=t=>{try{L(s.throw(t))}catch(z){D(z)}},L=t=>t.done?Te(t.value):Promise.resolve(t.value).then(Ge,qe);L((s=s.apply(o,a)).next())});import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{l as Je,I as C}from"./GlobalNavigation-DT_tPK9g.js";import{u as Ke}from"./index-C7MMNn6a.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./index-TL6_15PV.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const dr={title:"Components/General/Button",component:o=>{var a;return n.jsx(Je,r(e({},o),{children:(a=o.children)!=null?a:"Button Label"}))},args:{block:!1,danger:!1,disabled:!1,ghost:!1,href:void 0,htmlType:"button",icon:void 0,loading:!1,shape:"default",size:"middle",target:void 0,type:"primary",onClick:void 0},argTypes:{shape:{control:"select",options:["default","circle","round"]},size:{control:"select",options:["small","medium","large"]},type:{control:"select",options:["primary","dashed","link","text","default"]}}},c={play:o=>j(void 0,null,function*(){const a=o.canvasElement.querySelector("button");if(a)yield Ke.click(a);else throw new Error("Button not found")})},i={args:{type:"default"}},m={args:{type:"dashed"}},p={args:{type:"text"}},d={args:{type:"link"}},u={args:{danger:!0}},l={args:{disabled:!0}},g={args:{ghost:!0}},h={args:{block:!0}},f={args:{icon:n.jsx(C,{name:"mpLogo"})}},y={args:{type:"default",icon:n.jsx(C,{name:"mpLogo",size:"sm"}),variant:"with-new-icon"}},S={args:{type:"default",icon:n.jsx(C,{name:"mpLogo",size:"sm",color:"default"}),variant:"with-new-icon"}},k={args:{icon:n.jsx(C,{name:"dataPlatform",size:"xl"}),children:" ",type:"default",shape:"round",variant:"with-new-icon"}},w={args:{loading:!0}},x={args:{shape:"circle"}},b={args:{shape:"round"}},v={args:{size:"large"}},I={args:{size:"small"}},B={args:{onClick:o=>{alert("Button Clicked")}}};var P,R,M;c.parameters=r(e({},c.parameters),{docs:r(e({},(P=c.parameters)==null?void 0:P.docs),{source:e({originalSource:`{ play: async context => { const button = context.canvasElement.querySelector('button'); if (button) { diff --git a/pr-preview/pr-459/assets/Calendar.stories-pfqxupoy.js b/pr-preview/pr-459/assets/Calendar.stories-CviIayxW.js similarity index 90% rename from pr-preview/pr-459/assets/Calendar.stories-pfqxupoy.js rename to pr-preview/pr-459/assets/Calendar.stories-CviIayxW.js index e22288216..1572930a3 100644 --- a/pr-preview/pr-459/assets/Calendar.stories-pfqxupoy.js +++ b/pr-preview/pr-459/assets/Calendar.stories-CviIayxW.js @@ -1 +1 @@ -var c=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var i=(t,r,o)=>r in t?c(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&i(t,o,r[o]);if(e)for(var o of e(r))y.call(r,o)&&i(t,o,r[o]);return t},p=(t,r)=>l(t,u(r));import{an as C}from"./GlobalNavigation-CPQMp-rl.js";import{d as g}from"./dayjs.min-KGLNs1IR.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./customParseFormat-oYt9ov06.js";const D={title:"Components/Unused/Calendar",component:C,args:{value:g("1/2/2024")}},a={};var s,n,d;a.parameters=p(m({},a.parameters),{docs:p(m({},(s=a.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(d=(n=a.parameters)==null?void 0:n.docs)==null?void 0:d.source)})});const F=["Primary"];export{a as Primary,F as __namedExportsOrder,D as default}; +var c=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var i=(t,r,o)=>r in t?c(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&i(t,o,r[o]);if(e)for(var o of e(r))y.call(r,o)&&i(t,o,r[o]);return t},p=(t,r)=>l(t,u(r));import{ap as C}from"./GlobalNavigation-DT_tPK9g.js";import{d as g}from"./dayjs.min-KGLNs1IR.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./customParseFormat-oYt9ov06.js";const D={title:"Components/Unused/Calendar",component:C,args:{value:g("1/2/2024")}},a={};var s,n,d;a.parameters=p(m({},a.parameters),{docs:p(m({},(s=a.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(d=(n=a.parameters)==null?void 0:n.docs)==null?void 0:d.source)})});const F=["Primary"];export{a as Primary,F as __namedExportsOrder,D as default}; diff --git a/pr-preview/pr-459/assets/Card.stories-BffqZvZT.js b/pr-preview/pr-459/assets/Card.stories-CxWA4rMA.js similarity index 98% rename from pr-preview/pr-459/assets/Card.stories-BffqZvZT.js rename to pr-preview/pr-459/assets/Card.stories-CxWA4rMA.js index 88e1ab44d..9097468e8 100644 --- a/pr-preview/pr-459/assets/Card.stories-BffqZvZT.js +++ b/pr-preview/pr-459/assets/Card.stories-CxWA4rMA.js @@ -1,4 +1,4 @@ -var Ne=Object.defineProperty,We=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;var R=(a,o,s)=>o in a?Ne(a,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[o]=s,t=(a,o)=>{for(var s in o||(o={}))Oe.call(o,s)&&R(a,s,o[s]);if(M)for(var s of M(o))qe.call(o,s)&&R(a,s,o[s]);return a},r=(a,o)=>We(a,Pe(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{m as n,i as Ke,l as He,A as G,I as c,S as De}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as i}from"./ExampleStory-DvwdaA9H.js";import{r as A}from"./index-CNk6hRaE.js";import{R as Je,C as k}from"./row-DegztUsn.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const dt={title:"Components/Data Display/Card",component:a=>e.jsx(n,r(t({},a),{children:a.children})),args:{actions:void 0,activeTabKey:void 0,bodyStyle:void 0,bordered:!0,cover:void 0,defaultActiveTabKey:void 0,extra:void 0,headStyle:void 0,hoverable:!1,loading:!1,size:"default",tabBarExtraContent:void 0,tabList:void 0,tabProps:void 0,title:"Card Title",type:void 0,children:"Card Content",onTabChange:a=>{alert(`Tab Changed: ${a}`)}},argTypes:{size:{control:"select",options:["default","small"]}}},d={},l={args:{size:"small"}},p={args:{bordered:!1}},m={args:{hoverable:!0}},h={args:{loading:!0}},C={args:{children:"Custom Actions",actions:[e.jsx(Ke,{children:"Edit"},"edit")]}},b={args:{tabList:[{key:"tab1",tab:"Tab 1"},{key:"tab2",tab:"Tab 2"},{key:"tab3",tab:"Tab 3"}]}},g={args:{cover:e.jsx("img",{alt:"example",src:"https://example.com/cover.jpg"})}},y={args:{title:e.jsx(Ke,{children:"Any React Component"})}},x={args:{type:"inner"}},u={render:()=>e.jsx(i,{title:"You can use Card.Meta to support more flexible content.",children:e.jsx(n,{hoverable:!0,style:{width:240},cover:e.jsx("img",{alt:"example",src:"https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"}),children:e.jsx(n.Meta,{title:"Europe Street beat",description:"www.instagram.com"})})})},v={render:()=>e.jsx(i,{title:"Cards usually cooperate with grid column layout in overview page.",children:e.jsxs(Je,{gutter:16,children:[e.jsx(k,{span:8,children:e.jsx(n,{title:"Card title",bordered:!1,children:"Card content"})}),e.jsx(k,{span:8,children:e.jsx(n,{title:"Card title",bordered:!1,children:"Card content"})}),e.jsx(k,{span:8,children:e.jsx(n,{title:"Card title",bordered:!1,children:"Card content"})})]})})},j={render:()=>{const a={width:"25%",textAlign:"center"};return e.jsx(i,{title:"Grid style card content.",children:e.jsxs(n,{title:"Card Title",children:[e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{hoverable:!1,style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"})]})})}},T={render:()=>{const[a,o]=A.useState(!0),s=L=>{o(!L)};return e.jsx(i,{title:"Shows a loading indicator while the contents of the card is being fetched.",children:e.jsxs(e.Fragment,{children:[e.jsx(He,{checked:!a,onChange:s}),e.jsx(n,{style:{width:300,marginTop:16},loading:a,children:e.jsx(n.Meta,{avatar:e.jsx(G,{src:"https://api.dicebear.com/7.x/miniavs/svg?seed=1"}),title:"Card title",description:"This is the description"})}),e.jsx(n,{style:{width:300,marginTop:16},actions:[e.jsx(c,{name:"mpLogo"},1),e.jsx(c,{name:"mpLogo"},2),e.jsx(c,{name:"mpLogo"},3)],children:e.jsx(De,{loading:a,avatar:!0,children:e.jsx(n.Meta,{avatar:e.jsx(G,{src:"https://api.dicebear.com/7.x/miniavs/svg?seed=2"}),title:"Card title",description:"This is the description"})})})]})})}},S={render:()=>e.jsx(i,{title:"It can be placed inside the ordinary card to display the information of the multilevel structure.",children:e.jsxs(n,{title:"Card title",children:[e.jsx(n,{type:"inner",title:"Inner Card title",extra:e.jsx("a",{href:"#",children:"More"}),children:"Inner Card content"}),e.jsx(n,{style:{marginTop:16},type:"inner",title:"Inner Card title",extra:e.jsx("a",{href:"#",children:"More"}),children:"Inner Card content"})]})})},f={render:()=>{const a=[{key:"tab1",tab:"tab1"},{key:"tab2",tab:"tab2"}],o={tab1:e.jsx("p",{children:"content1"}),tab2:e.jsx("p",{children:"content2"})},s=[{key:"article",label:"article"},{key:"app",label:"app"},{key:"project",label:"project"}],L={article:e.jsx("p",{children:"article content"}),app:e.jsx("p",{children:"app content"}),project:e.jsx("p",{children:"project content"})},[I,Me]=A.useState("tab1"),[K,Re]=A.useState("app"),Be=w=>{Me(w)},ze=w=>{Re(w)};return e.jsxs(i,{title:"More content can be hosted.",children:[e.jsx(n,{style:{width:"100%"},title:"Card title",extra:e.jsx("a",{href:"#",children:"More"}),tabList:a,activeTabKey:I,onTabChange:Be,children:o[I]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(n,{style:{width:"100%"},tabList:s,activeTabKey:K,tabBarExtraContent:e.jsx("a",{href:"#",children:"More"}),onTabChange:ze,tabProps:{size:"middle"},children:L[K]})]})}},E={render:()=>e.jsx(i,{title:"A Card that supports cover, avatar, title and description.",children:e.jsx(n,{style:{width:300},cover:e.jsx("img",{alt:"example",src:"https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"}),actions:[e.jsx(c,{name:"mpLogo"},1),e.jsx(c,{name:"mpLogo"},2),e.jsx(c,{name:"mpLogo"},3)],children:e.jsx(n.Meta,{avatar:e.jsx(G,{src:"https://api.dicebear.com/7.x/miniavs/svg?seed=8"}),title:"Card title",description:"This is the description"})})})};var B,z,N;d.parameters=r(t({},d.parameters),{docs:r(t({},(B=d.parameters)==null?void 0:B.docs),{source:t({originalSource:"{}"},(N=(z=d.parameters)==null?void 0:z.docs)==null?void 0:N.source)})});var W,P,O;l.parameters=r(t({},l.parameters),{docs:r(t({},(W=l.parameters)==null?void 0:W.docs),{source:t({originalSource:`{ +var Ne=Object.defineProperty,We=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;var R=(a,o,s)=>o in a?Ne(a,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[o]=s,t=(a,o)=>{for(var s in o||(o={}))Oe.call(o,s)&&R(a,s,o[s]);if(M)for(var s of M(o))qe.call(o,s)&&R(a,s,o[s]);return a},r=(a,o)=>We(a,Pe(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{p as n,l as Ke,o as He,A as G,I as c,S as De}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as i}from"./ExampleStory-B-ilaOpY.js";import{r as A}from"./index-CNk6hRaE.js";import{R as Je,C as k}from"./row-DegztUsn.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const dt={title:"Components/Data Display/Card",component:a=>e.jsx(n,r(t({},a),{children:a.children})),args:{actions:void 0,activeTabKey:void 0,bodyStyle:void 0,bordered:!0,cover:void 0,defaultActiveTabKey:void 0,extra:void 0,headStyle:void 0,hoverable:!1,loading:!1,size:"default",tabBarExtraContent:void 0,tabList:void 0,tabProps:void 0,title:"Card Title",type:void 0,children:"Card Content",onTabChange:a=>{alert(`Tab Changed: ${a}`)}},argTypes:{size:{control:"select",options:["default","small"]}}},d={},l={args:{size:"small"}},p={args:{bordered:!1}},m={args:{hoverable:!0}},h={args:{loading:!0}},C={args:{children:"Custom Actions",actions:[e.jsx(Ke,{children:"Edit"},"edit")]}},b={args:{tabList:[{key:"tab1",tab:"Tab 1"},{key:"tab2",tab:"Tab 2"},{key:"tab3",tab:"Tab 3"}]}},g={args:{cover:e.jsx("img",{alt:"example",src:"https://example.com/cover.jpg"})}},y={args:{title:e.jsx(Ke,{children:"Any React Component"})}},x={args:{type:"inner"}},u={render:()=>e.jsx(i,{title:"You can use Card.Meta to support more flexible content.",children:e.jsx(n,{hoverable:!0,style:{width:240},cover:e.jsx("img",{alt:"example",src:"https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"}),children:e.jsx(n.Meta,{title:"Europe Street beat",description:"www.instagram.com"})})})},v={render:()=>e.jsx(i,{title:"Cards usually cooperate with grid column layout in overview page.",children:e.jsxs(Je,{gutter:16,children:[e.jsx(k,{span:8,children:e.jsx(n,{title:"Card title",bordered:!1,children:"Card content"})}),e.jsx(k,{span:8,children:e.jsx(n,{title:"Card title",bordered:!1,children:"Card content"})}),e.jsx(k,{span:8,children:e.jsx(n,{title:"Card title",bordered:!1,children:"Card content"})})]})})},j={render:()=>{const a={width:"25%",textAlign:"center"};return e.jsx(i,{title:"Grid style card content.",children:e.jsxs(n,{title:"Card Title",children:[e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{hoverable:!1,style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"}),e.jsx(n.Grid,{style:a,children:"Content"})]})})}},T={render:()=>{const[a,o]=A.useState(!0),s=L=>{o(!L)};return e.jsx(i,{title:"Shows a loading indicator while the contents of the card is being fetched.",children:e.jsxs(e.Fragment,{children:[e.jsx(He,{checked:!a,onChange:s}),e.jsx(n,{style:{width:300,marginTop:16},loading:a,children:e.jsx(n.Meta,{avatar:e.jsx(G,{src:"https://api.dicebear.com/7.x/miniavs/svg?seed=1"}),title:"Card title",description:"This is the description"})}),e.jsx(n,{style:{width:300,marginTop:16},actions:[e.jsx(c,{name:"mpLogo"},1),e.jsx(c,{name:"mpLogo"},2),e.jsx(c,{name:"mpLogo"},3)],children:e.jsx(De,{loading:a,avatar:!0,children:e.jsx(n.Meta,{avatar:e.jsx(G,{src:"https://api.dicebear.com/7.x/miniavs/svg?seed=2"}),title:"Card title",description:"This is the description"})})})]})})}},S={render:()=>e.jsx(i,{title:"It can be placed inside the ordinary card to display the information of the multilevel structure.",children:e.jsxs(n,{title:"Card title",children:[e.jsx(n,{type:"inner",title:"Inner Card title",extra:e.jsx("a",{href:"#",children:"More"}),children:"Inner Card content"}),e.jsx(n,{style:{marginTop:16},type:"inner",title:"Inner Card title",extra:e.jsx("a",{href:"#",children:"More"}),children:"Inner Card content"})]})})},f={render:()=>{const a=[{key:"tab1",tab:"tab1"},{key:"tab2",tab:"tab2"}],o={tab1:e.jsx("p",{children:"content1"}),tab2:e.jsx("p",{children:"content2"})},s=[{key:"article",label:"article"},{key:"app",label:"app"},{key:"project",label:"project"}],L={article:e.jsx("p",{children:"article content"}),app:e.jsx("p",{children:"app content"}),project:e.jsx("p",{children:"project content"})},[I,Me]=A.useState("tab1"),[K,Re]=A.useState("app"),Be=w=>{Me(w)},ze=w=>{Re(w)};return e.jsxs(i,{title:"More content can be hosted.",children:[e.jsx(n,{style:{width:"100%"},title:"Card title",extra:e.jsx("a",{href:"#",children:"More"}),tabList:a,activeTabKey:I,onTabChange:Be,children:o[I]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(n,{style:{width:"100%"},tabList:s,activeTabKey:K,tabBarExtraContent:e.jsx("a",{href:"#",children:"More"}),onTabChange:ze,tabProps:{size:"middle"},children:L[K]})]})}},E={render:()=>e.jsx(i,{title:"A Card that supports cover, avatar, title and description.",children:e.jsx(n,{style:{width:300},cover:e.jsx("img",{alt:"example",src:"https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"}),actions:[e.jsx(c,{name:"mpLogo"},1),e.jsx(c,{name:"mpLogo"},2),e.jsx(c,{name:"mpLogo"},3)],children:e.jsx(n.Meta,{avatar:e.jsx(G,{src:"https://api.dicebear.com/7.x/miniavs/svg?seed=8"}),title:"Card title",description:"This is the description"})})})};var B,z,N;d.parameters=r(t({},d.parameters),{docs:r(t({},(B=d.parameters)==null?void 0:B.docs),{source:t({originalSource:"{}"},(N=(z=d.parameters)==null?void 0:z.docs)==null?void 0:N.source)})});var W,P,O;l.parameters=r(t({},l.parameters),{docs:r(t({},(W=l.parameters)==null?void 0:W.docs),{source:t({originalSource:`{ args: { size: 'small' } diff --git a/pr-preview/pr-459/assets/Carousel.stories-BQt3UacA.js b/pr-preview/pr-459/assets/Carousel.stories-DA-HinAk.js similarity index 96% rename from pr-preview/pr-459/assets/Carousel.stories-BQt3UacA.js rename to pr-preview/pr-459/assets/Carousel.stories-DA-HinAk.js index 47c2b453a..6f3466fe0 100644 --- a/pr-preview/pr-459/assets/Carousel.stories-BQt3UacA.js +++ b/pr-preview/pr-459/assets/Carousel.stories-DA-HinAk.js @@ -1,4 +1,4 @@ -var xe=Object.defineProperty,ye=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable;var B=(o,s,a)=>s in o?xe(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a,t=(o,s)=>{for(var a in s||(s={}))ve.call(s,a)&&B(o,a,s[a]);if(P)for(var a of P(s))fe.call(s,a)&&B(o,a,s[a]);return o},n=(o,s)=>ye(o,ge(s));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{ao as l,R as i}from"./GlobalNavigation-CPQMp-rl.js";import{E}from"./ExampleStory-DvwdaA9H.js";import{r as je}from"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const r={margin:0,height:"160px",color:"#fff",lineHeight:"160px",textAlign:"center",background:"#364d79"},_e={title:"Components/Unused/Carousel",component:o=>e.jsxs(l,n(t({},o),{style:{maxWidth:"800px"},children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})),args:{autoplay:!1,autoplaySpeed:3e3,dotPosition:"bottom",dots:!0,fade:!1,infinite:!0,speed:500,easing:"linear",effect:"scrollx",waitForAnimate:!1},argTypes:{effect:{control:"select",options:["scrollx","fade"]}}},d={},c={args:{autoplay:!0}},p={args:{autoplaySpeed:750,autoplay:!0}},h={args:{dotPosition:"top"}},u={args:{dots:!1}},m={args:{fade:!0,effect:"fade"}},x={args:{easing:"linear"}},y={args:{infinite:!1}},g={args:{speed:1e3}},v={args:{waitForAnimate:!0}},f={render:()=>{const o=s=>{console.log(s)};return e.jsx(E,{title:"Basic Usage",children:e.jsxs(l,{afterChange:o,children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})})}},j={render:()=>{const[o,s]=je.useState("bottom"),a=({target:{value:me}})=>{s(me)};return e.jsxs(E,{title:"There are 4 position options available.",children:[e.jsxs(i.Group,{onChange:a,value:o,style:{marginBottom:8},children:[e.jsx(i.Button,{value:"bottom",children:"Bottom"}),e.jsx(i.Button,{value:"top",children:"Top"}),e.jsx(i.Button,{value:"left",children:"Left"}),e.jsx(i.Button,{value:"right",children:"Right"})]}),e.jsxs(l,{dotPosition:o,style:{maxHeight:"140px"},children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})]})}},S={render:()=>e.jsx(E,{title:"Timing of scrolling to the next card/picture.",children:e.jsxs(l,{autoplay:!0,children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})})},C={render:()=>e.jsxs(E,{title:"Slides use fade for transition.",children:[e.jsxs(l,{effect:"fade",children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})," "]})};var R,W,A;d.parameters=n(t({},d.parameters),{docs:n(t({},(R=d.parameters)==null?void 0:R.docs),{source:t({originalSource:"{}"},(A=(W=d.parameters)==null?void 0:W.docs)==null?void 0:A.source)})});var D,b,F;c.parameters=n(t({},c.parameters),{docs:n(t({},(D=c.parameters)==null?void 0:D.docs),{source:t({originalSource:`{ +var xe=Object.defineProperty,ye=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable;var B=(o,s,a)=>s in o?xe(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a,t=(o,s)=>{for(var a in s||(s={}))ve.call(s,a)&&B(o,a,s[a]);if(P)for(var a of P(s))fe.call(s,a)&&B(o,a,s[a]);return o},n=(o,s)=>ye(o,ge(s));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{aq as l,R as i}from"./GlobalNavigation-DT_tPK9g.js";import{E}from"./ExampleStory-B-ilaOpY.js";import{r as je}from"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const r={margin:0,height:"160px",color:"#fff",lineHeight:"160px",textAlign:"center",background:"#364d79"},_e={title:"Components/Unused/Carousel",component:o=>e.jsxs(l,n(t({},o),{style:{maxWidth:"800px"},children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})),args:{autoplay:!1,autoplaySpeed:3e3,dotPosition:"bottom",dots:!0,fade:!1,infinite:!0,speed:500,easing:"linear",effect:"scrollx",waitForAnimate:!1},argTypes:{effect:{control:"select",options:["scrollx","fade"]}}},d={},c={args:{autoplay:!0}},p={args:{autoplaySpeed:750,autoplay:!0}},h={args:{dotPosition:"top"}},u={args:{dots:!1}},m={args:{fade:!0,effect:"fade"}},x={args:{easing:"linear"}},y={args:{infinite:!1}},g={args:{speed:1e3}},v={args:{waitForAnimate:!0}},f={render:()=>{const o=s=>{console.log(s)};return e.jsx(E,{title:"Basic Usage",children:e.jsxs(l,{afterChange:o,children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})})}},j={render:()=>{const[o,s]=je.useState("bottom"),a=({target:{value:me}})=>{s(me)};return e.jsxs(E,{title:"There are 4 position options available.",children:[e.jsxs(i.Group,{onChange:a,value:o,style:{marginBottom:8},children:[e.jsx(i.Button,{value:"bottom",children:"Bottom"}),e.jsx(i.Button,{value:"top",children:"Top"}),e.jsx(i.Button,{value:"left",children:"Left"}),e.jsx(i.Button,{value:"right",children:"Right"})]}),e.jsxs(l,{dotPosition:o,style:{maxHeight:"140px"},children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})]})}},S={render:()=>e.jsx(E,{title:"Timing of scrolling to the next card/picture.",children:e.jsxs(l,{autoplay:!0,children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})})},C={render:()=>e.jsxs(E,{title:"Slides use fade for transition.",children:[e.jsxs(l,{effect:"fade",children:[e.jsx("div",{children:e.jsx("h3",{style:r,children:"1"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"2"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"3"})}),e.jsx("div",{children:e.jsx("h3",{style:r,children:"4"})})]})," "]})};var R,W,A;d.parameters=n(t({},d.parameters),{docs:n(t({},(R=d.parameters)==null?void 0:R.docs),{source:t({originalSource:"{}"},(A=(W=d.parameters)==null?void 0:W.docs)==null?void 0:A.source)})});var D,b,F;c.parameters=n(t({},c.parameters),{docs:n(t({},(D=c.parameters)==null?void 0:D.docs),{source:t({originalSource:`{ args: { autoplay: true } @@ -15,12 +15,12 @@ var xe=Object.defineProperty,ye=Object.defineProperties;var ge=Object.getOwnProp args: { dots: false } -}`},(k=(_=u.parameters)==null?void 0:_.docs)==null?void 0:k.source)})});var O,q,z;m.parameters=n(t({},m.parameters),{docs:n(t({},(O=m.parameters)==null?void 0:O.docs),{source:t({originalSource:`{ +}`},(k=(_=u.parameters)==null?void 0:_.docs)==null?void 0:k.source)})});var q,O,z;m.parameters=n(t({},m.parameters),{docs:n(t({},(q=m.parameters)==null?void 0:q.docs),{source:t({originalSource:`{ args: { fade: true, effect: 'fade' } -}`},(z=(q=m.parameters)==null?void 0:q.docs)==null?void 0:z.source)})});var J,K,M;x.parameters=n(t({},x.parameters),{docs:n(t({},(J=x.parameters)==null?void 0:J.docs),{source:t({originalSource:`{ +}`},(z=(O=m.parameters)==null?void 0:O.docs)==null?void 0:z.source)})});var J,K,M;x.parameters=n(t({},x.parameters),{docs:n(t({},(J=x.parameters)==null?void 0:J.docs),{source:t({originalSource:`{ args: { easing: 'linear' } diff --git a/pr-preview/pr-459/assets/Cascader.stories-BW2oYuGp.js b/pr-preview/pr-459/assets/Cascader.stories-B-sAGlPF.js similarity index 86% rename from pr-preview/pr-459/assets/Cascader.stories-BW2oYuGp.js rename to pr-preview/pr-459/assets/Cascader.stories-B-sAGlPF.js index 55ea0d43d..44a67c97f 100644 --- a/pr-preview/pr-459/assets/Cascader.stories-BW2oYuGp.js +++ b/pr-preview/pr-459/assets/Cascader.stories-B-sAGlPF.js @@ -1,4 +1,4 @@ -var ne=Object.defineProperty,se=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable;var L=(r,o,n)=>o in r?ne(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n,e=(r,o)=>{for(var n in o||(o={}))le.call(o,n)&&L(r,n,o[n]);if(x)for(var n of x(o))ce.call(o,n)&&L(r,n,o[n]);return r},a=(r,o)=>se(r,te(o));var l=(r,o,n)=>new Promise((ae,I)=>{var re=s=>{try{b(n.next(s))}catch(y){I(y)}},oe=s=>{try{b(n.throw(s))}catch(y){I(y)}},b=s=>s.done?ae(s.value):Promise.resolve(s.value).then(re,oe);b((n=n.apply(r,o)).next())});import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{W as ie,I as ee,F as pe,d as de}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const f=[{value:"United States1",label:"United States",children:[{value:"Michigan1",label:"Michigan",children:[{value:"Detroit1",label:"Detroit"},{value:"Lansing1",label:"Lansing"}]},{value:"California1",label:"California",children:[{value:"San Francisco1",label:"San Francisco"},{value:"San Jose1",label:"San Jose"}]}]},{value:"Canada1",label:"Canada",children:[{value:"Ontario1",label:"Ontario",children:[{value:"Toronto1",label:"Toronto"}]}]}],we={title:"Components/Data Entry/QueryItem/ValueSelector/Cascader",component:ie.ValueSelector.Cascader,parameters:{docs:{description:{component:'This is the "Action" component of the QueryItem component group. This component is currently meant to trigger a single action, but will eventually support a list of actions via a dropdown list interface.'}}},args:{options:f}},c={args:{placeholder:"Default"}},i={args:{placeholder:"Simple List",options:[{value:"United States",label:"United States"},{value:"Canada",label:"Canada"}]}},p={args:{placeholder:"Error",errorMessage:"test error"}},d={args:{placeholder:"With Icon",icon:"event"}},m={args:{placeholder:"On Select",onChange:r=>l(void 0,null,function*(){console.log(r)})}},u={args:{placeholder:"PreSelected",value:["Canada1","Ontario1","Toronto1"],onChange:(r,o)=>l(void 0,null,function*(){console.log(r)})}},g={args:{placeholder:"Load",loadData:r=>l(void 0,null,function*(){console.log(r)})}},h={args:{suffixIcon:t.jsx(ee,{name:"dropdownOpen",size:"sm"})}},S={args:{placeholder:"Loading Story",options:void 0,loadData:r=>l(void 0,null,function*(){yield new Promise((o,n)=>{setTimeout(()=>{o(f)},3e3)})})}},v={args:{options:[...f,{value:"G",label:"G",children:[{value:"H",label:"H",children:[{value:"IJK",label:t.jsx(t.Fragment,{children:t.jsxs(pe,{children:[t.jsx(ee,{name:"alicorn"}),t.jsx(de.Text,{children:"IJK"})]})}),searchLabel:"IJK"}]}]}]}};var C,T,D;c.parameters=a(e({},c.parameters),{docs:a(e({},(C=c.parameters)==null?void 0:C.docs),{source:e({originalSource:`{ +var ne=Object.defineProperty,se=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable;var L=(r,o,n)=>o in r?ne(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n,e=(r,o)=>{for(var n in o||(o={}))le.call(o,n)&&L(r,n,o[n]);if(x)for(var n of x(o))ce.call(o,n)&&L(r,n,o[n]);return r},a=(r,o)=>se(r,te(o));var l=(r,o,n)=>new Promise((ae,I)=>{var re=s=>{try{b(n.next(s))}catch(y){I(y)}},oe=s=>{try{b(n.throw(s))}catch(y){I(y)}},b=s=>s.done?ae(s.value):Promise.resolve(s.value).then(re,oe);b((n=n.apply(r,o)).next())});import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{Y as ie,I as ee,F as pe,d as de}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const f=[{value:"United States1",label:"United States",children:[{value:"Michigan1",label:"Michigan",children:[{value:"Detroit1",label:"Detroit"},{value:"Lansing1",label:"Lansing"}]},{value:"California1",label:"California",children:[{value:"San Francisco1",label:"San Francisco"},{value:"San Jose1",label:"San Jose"}]}]},{value:"Canada1",label:"Canada",children:[{value:"Ontario1",label:"Ontario",children:[{value:"Toronto1",label:"Toronto"}]}]}],we={title:"Components/Data Entry/QueryItem/ValueSelector/Cascader",component:ie.ValueSelector.Cascader,parameters:{docs:{description:{component:'This is the "Action" component of the QueryItem component group. This component is currently meant to trigger a single action, but will eventually support a list of actions via a dropdown list interface.'}}},args:{options:f}},c={args:{placeholder:"Default"}},i={args:{placeholder:"Simple List",options:[{value:"United States",label:"United States"},{value:"Canada",label:"Canada"}]}},p={args:{placeholder:"Error",errorMessage:"test error"}},d={args:{placeholder:"With Icon",icon:"event"}},m={args:{placeholder:"On Select",onChange:r=>l(void 0,null,function*(){console.log(r)})}},u={args:{placeholder:"PreSelected",value:["Canada1","Ontario1","Toronto1"],onChange:(r,o)=>l(void 0,null,function*(){console.log(r)})}},g={args:{placeholder:"Load",loadData:r=>l(void 0,null,function*(){console.log(r)})}},h={args:{suffixIcon:t.jsx(ee,{name:"dropdownOpen",size:"sm"})}},S={args:{placeholder:"Loading Story",options:void 0,loadData:r=>l(void 0,null,function*(){yield new Promise((o,n)=>{setTimeout(()=>{o(f)},3e3)})})}},v={args:{options:[...f,{value:"G",label:"G",children:[{value:"H",label:"H",children:[{value:"IJK",label:t.jsx(t.Fragment,{children:t.jsxs(pe,{children:[t.jsx(ee,{name:"alicorn"}),t.jsx(de.Text,{children:"IJK"})]})}),searchLabel:"IJK"}]}]}]}};var C,T,D;c.parameters=a(e({},c.parameters),{docs:a(e({},(C=c.parameters)==null?void 0:C.docs),{source:e({originalSource:`{ args: { placeholder: 'Default' } @@ -23,14 +23,14 @@ var ne=Object.defineProperty,se=Object.defineProperties;var te=Object.getOwnProp placeholder: 'With Icon', icon: 'event' } -}`},(U=(P=d.parameters)==null?void 0:P.docs)==null?void 0:U.source)})});var W,G,H;m.parameters=a(e({},m.parameters),{docs:a(e({},(W=m.parameters)==null?void 0:W.docs),{source:e({originalSource:`{ +}`},(U=(P=d.parameters)==null?void 0:P.docs)==null?void 0:U.source)})});var G,H,M;m.parameters=a(e({},m.parameters),{docs:a(e({},(G=m.parameters)==null?void 0:G.docs),{source:e({originalSource:`{ args: { placeholder: 'On Select', onChange: async value => { console.log(value); } } -}`},(H=(G=m.parameters)==null?void 0:G.docs)==null?void 0:H.source)})});var M,V,_;u.parameters=a(e({},u.parameters),{docs:a(e({},(M=u.parameters)==null?void 0:M.docs),{source:e({originalSource:`{ +}`},(M=(H=m.parameters)==null?void 0:H.docs)==null?void 0:M.source)})});var V,W,_;u.parameters=a(e({},u.parameters),{docs:a(e({},(V=u.parameters)==null?void 0:V.docs),{source:e({originalSource:`{ args: { placeholder: 'PreSelected', value: ['Canada1', 'Ontario1', 'Toronto1'], @@ -38,18 +38,18 @@ var ne=Object.defineProperty,se=Object.defineProperties;var te=Object.getOwnProp console.log(values); } } -}`},(_=(V=u.parameters)==null?void 0:V.docs)==null?void 0:_.source)})});var Q,z,A;g.parameters=a(e({},g.parameters),{docs:a(e({},(Q=g.parameters)==null?void 0:Q.docs),{source:e({originalSource:`{ +}`},(_=(W=u.parameters)==null?void 0:W.docs)==null?void 0:_.source)})});var Q,z,A;g.parameters=a(e({},g.parameters),{docs:a(e({},(Q=g.parameters)==null?void 0:Q.docs),{source:e({originalSource:`{ args: { placeholder: 'Load', loadData: async (value: string) => { console.log(value); } } -}`},(A=(z=g.parameters)==null?void 0:z.docs)==null?void 0:A.source)})});var R,k,q;h.parameters=a(e({},h.parameters),{docs:a(e({},(R=h.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ +}`},(A=(z=g.parameters)==null?void 0:z.docs)==null?void 0:A.source)})});var R,Y,k;h.parameters=a(e({},h.parameters),{docs:a(e({},(R=h.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ args: { suffixIcon: } -}`},(q=(k=h.parameters)==null?void 0:k.docs)==null?void 0:q.source)})});var B,N,X;S.parameters=a(e({},S.parameters),{docs:a(e({},(B=S.parameters)==null?void 0:B.docs),{source:e({originalSource:`{ +}`},(k=(Y=h.parameters)==null?void 0:Y.docs)==null?void 0:k.source)})});var q,B,N;S.parameters=a(e({},S.parameters),{docs:a(e({},(q=S.parameters)==null?void 0:q.docs),{source:e({originalSource:`{ args: { placeholder: 'Loading Story', options: undefined, @@ -61,7 +61,7 @@ var ne=Object.defineProperty,se=Object.defineProperties;var te=Object.getOwnProp }); } } -}`},(X=(N=S.parameters)==null?void 0:N.docs)==null?void 0:X.source)})});var Y,Z,$;v.parameters=a(e({},v.parameters),{docs:a(e({},(Y=v.parameters)==null?void 0:Y.docs),{source:e({originalSource:`{ +}`},(N=(B=S.parameters)==null?void 0:B.docs)==null?void 0:N.source)})});var X,Z,$;v.parameters=a(e({},v.parameters),{docs:a(e({},(X=v.parameters)==null?void 0:X.docs),{source:e({originalSource:`{ args: { options: [...options, { value: 'G', diff --git a/pr-preview/pr-459/assets/Cascader.stories-FR6_2QC3.js b/pr-preview/pr-459/assets/Cascader.stories-CBkPWMQF.js similarity index 94% rename from pr-preview/pr-459/assets/Cascader.stories-FR6_2QC3.js rename to pr-preview/pr-459/assets/Cascader.stories-CBkPWMQF.js index 8703ebd90..867473448 100644 --- a/pr-preview/pr-459/assets/Cascader.stories-FR6_2QC3.js +++ b/pr-preview/pr-459/assets/Cascader.stories-CBkPWMQF.js @@ -1,4 +1,4 @@ -var ye=Object.defineProperty,De=Object.defineProperties;var Ee=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var L=(o,r,n)=>r in o?ye(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,e=(o,r)=>{for(var n in r||(r={}))Oe.call(r,n)&&L(o,n,r[n]);if(w)for(var n of w(r))we.call(r,n)&&L(o,n,r[n]);return o},a=(o,r)=>De(o,Ee(r));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{q as l,I as Le}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as Ce}from"./ExampleStory-DvwdaA9H.js";import{r as xe}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const fe=[{value:"A",label:"A",children:[{value:"B",label:"B",children:[{value:"C",label:"C"}]}]},{value:"D",label:"D",children:[{value:"E",label:"E",children:[{value:"F",label:"F"}]}]}],qe={title:"Components/Data Entry/Cascader",component:l,args:{allowClear:!0,autoClearSearchValue:!0,autoFocus:!1,bordered:!0,changeOnSelect:!1,className:"",defaultValue:[],disabled:!1,tagRender:void 0,popupClassName:"",dropdownRender:void 0,expandIcon:void 0,expandTrigger:"click",loadData:void 0,maxTagCount:void 0,maxTagPlaceholder:void 0,maxTagTextLength:void 0,notFoundContent:"Not Found",open:void 0,options:fe,placeholder:"Placeholder Text",placement:"bottomLeft",showSearch:!1,size:void 0,status:void 0,style:{},suffixIcon:void 0,value:void 0,multiple:!1,removeIcon:void 0,searchValue:void 0,dropdownMenuColumnStyle:void 0,loadingIcon:void 0,showCheckedStrategy:l.SHOW_PARENT,fieldNames:{label:"label",value:"value",children:"children"},displayRender:(o,r)=>o.join("/"),onSearch:o=>{console.log(`Search Value: ${o}`)},onDropdownVisibleChange:o=>{console.log(`Dropdown Visible: ${o}`)},onChange:(o,r)=>{alert(`Selected Value: ${String(o)}, Selected Options: ${JSON.stringify(r)}`)},getPopupContainer:o=>document.body},argTypes:{placement:{control:"select",options:["bottomLeft","bottomRight","topLeft","topRight"]},size:{control:"select",options:["small","middle","large"]},status:{control:"select",options:["error","warning"]},showCheckedStrategy:{control:"select",options:[l.SHOW_PARENT,l.SHOW_CHILD]}}},i={},d={args:{allowClear:!0}},p={args:{autoFocus:!0}},u={args:{expandTrigger:"hover"}},m={args:{bordered:!1}},g={args:{multiple:!0}},h={args:{showSearch:!0}},b={args:{dropdownMenuColumnStyle:{minWidth:"15px",color:"blueviolet"}}},v={args:{suffixIcon:s.jsx(Le,{name:"mpLogo"})}},S={args:{displayRender:(o,r)=>o.join(" -> ")}},C={args:{disabled:!0}},x={args:{options:[{value:"A",label:"A",children:[{value:"B",label:"B",children:[{value:"C",label:"C"}]}]},{value:"D",label:"D",children:[{value:"E",label:"E",disabled:!0,children:[{value:"F",label:"F"}]}]}]}},f={args:{defaultValue:["A","B","C"]}},y={render:()=>{const[o,r]=xe.useState("Unselect");return s.jsx(s.Fragment,{children:s.jsx(Ce,{title:"Separate trigger button and result.",children:s.jsxs("span",{children:[o," ",s.jsx(l,{options:fe,onChange:(n,E)=>{r(E.map(O=>O.label).join(", "))},children:s.jsx("a",{children:"Change city"})})]})})})}},D={render:()=>{const o=[{value:"A",label:"A",isLeaf:!1},{value:"B",label:"B",isLeaf:!1}],[r,n]=xe.useState(o),E=(t,c)=>{console.log(t,c)},O=t=>{const c=t==null?void 0:t[t.length-1];setTimeout(()=>{c.children=[{label:`${c.label} Dynamic 1`,value:"dynamic1"},{label:`${c.label} Dynamic 2`,value:"dynamic2"}],n([...r])},1e3)};return s.jsx(s.Fragment,{children:s.jsx(Ce,{title:"Load options lazily with loadData.",children:s.jsx(l,{options:r,loadData:O,onChange:E,changeOnSelect:!0})})})}};var A,I,T;i.parameters=a(e({},i.parameters),{docs:a(e({},(A=i.parameters)==null?void 0:A.docs),{source:e({originalSource:"{}"},(T=(I=i.parameters)==null?void 0:I.docs)==null?void 0:T.source)})});var j,F,B;d.parameters=a(e({},d.parameters),{docs:a(e({},(j=d.parameters)==null?void 0:j.docs),{source:e({originalSource:`{ +var ye=Object.defineProperty,De=Object.defineProperties;var Ee=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var L=(o,r,n)=>r in o?ye(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,e=(o,r)=>{for(var n in r||(r={}))Oe.call(r,n)&&L(o,n,r[n]);if(w)for(var n of w(r))we.call(r,n)&&L(o,n,r[n]);return o},a=(o,r)=>De(o,Ee(r));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{t as l,I as Le}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as Ce}from"./ExampleStory-B-ilaOpY.js";import{r as xe}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const fe=[{value:"A",label:"A",children:[{value:"B",label:"B",children:[{value:"C",label:"C"}]}]},{value:"D",label:"D",children:[{value:"E",label:"E",children:[{value:"F",label:"F"}]}]}],Je={title:"Components/Data Entry/Cascader",component:l,args:{allowClear:!0,autoClearSearchValue:!0,autoFocus:!1,bordered:!0,changeOnSelect:!1,className:"",defaultValue:[],disabled:!1,tagRender:void 0,popupClassName:"",dropdownRender:void 0,expandIcon:void 0,expandTrigger:"click",loadData:void 0,maxTagCount:void 0,maxTagPlaceholder:void 0,maxTagTextLength:void 0,notFoundContent:"Not Found",open:void 0,options:fe,placeholder:"Placeholder Text",placement:"bottomLeft",showSearch:!1,size:void 0,status:void 0,style:{},suffixIcon:void 0,value:void 0,multiple:!1,removeIcon:void 0,searchValue:void 0,dropdownMenuColumnStyle:void 0,loadingIcon:void 0,showCheckedStrategy:l.SHOW_PARENT,fieldNames:{label:"label",value:"value",children:"children"},displayRender:(o,r)=>o.join("/"),onSearch:o=>{console.log(`Search Value: ${o}`)},onDropdownVisibleChange:o=>{console.log(`Dropdown Visible: ${o}`)},onChange:(o,r)=>{alert(`Selected Value: ${String(o)}, Selected Options: ${JSON.stringify(r)}`)},getPopupContainer:o=>document.body},argTypes:{placement:{control:"select",options:["bottomLeft","bottomRight","topLeft","topRight"]},size:{control:"select",options:["small","middle","large"]},status:{control:"select",options:["error","warning"]},showCheckedStrategy:{control:"select",options:[l.SHOW_PARENT,l.SHOW_CHILD]}}},i={},d={args:{allowClear:!0}},p={args:{autoFocus:!0}},u={args:{expandTrigger:"hover"}},m={args:{bordered:!1}},g={args:{multiple:!0}},h={args:{showSearch:!0}},b={args:{dropdownMenuColumnStyle:{minWidth:"15px",color:"blueviolet"}}},v={args:{suffixIcon:s.jsx(Le,{name:"mpLogo"})}},S={args:{displayRender:(o,r)=>o.join(" -> ")}},C={args:{disabled:!0}},x={args:{options:[{value:"A",label:"A",children:[{value:"B",label:"B",children:[{value:"C",label:"C"}]}]},{value:"D",label:"D",children:[{value:"E",label:"E",disabled:!0,children:[{value:"F",label:"F"}]}]}]}},f={args:{defaultValue:["A","B","C"]}},y={render:()=>{const[o,r]=xe.useState("Unselect");return s.jsx(s.Fragment,{children:s.jsx(Ce,{title:"Separate trigger button and result.",children:s.jsxs("span",{children:[o," ",s.jsx(l,{options:fe,onChange:(n,E)=>{r(E.map(O=>O.label).join(", "))},children:s.jsx("a",{children:"Change city"})})]})})})}},D={render:()=>{const o=[{value:"A",label:"A",isLeaf:!1},{value:"B",label:"B",isLeaf:!1}],[r,n]=xe.useState(o),E=(t,c)=>{console.log(t,c)},O=t=>{const c=t==null?void 0:t[t.length-1];setTimeout(()=>{c.children=[{label:`${c.label} Dynamic 1`,value:"dynamic1"},{label:`${c.label} Dynamic 2`,value:"dynamic2"}],n([...r])},1e3)};return s.jsx(s.Fragment,{children:s.jsx(Ce,{title:"Load options lazily with loadData.",children:s.jsx(l,{options:r,loadData:O,onChange:E,changeOnSelect:!0})})})}};var A,I,T;i.parameters=a(e({},i.parameters),{docs:a(e({},(A=i.parameters)==null?void 0:A.docs),{source:e({originalSource:"{}"},(T=(I=i.parameters)==null?void 0:I.docs)==null?void 0:T.source)})});var j,F,B;d.parameters=a(e({},d.parameters),{docs:a(e({},(j=d.parameters)==null?void 0:j.docs),{source:e({originalSource:`{ args: { allowClear: true } @@ -18,11 +18,11 @@ var ye=Object.defineProperty,De=Object.defineProperties;var Ee=Object.getOwnProp args: { multiple: true } -}`},(U=(k=g.parameters)==null?void 0:k.docs)==null?void 0:U.source)})});var q,J,G;h.parameters=a(e({},h.parameters),{docs:a(e({},(q=h.parameters)==null?void 0:q.docs),{source:e({originalSource:`{ +}`},(U=(k=g.parameters)==null?void 0:k.docs)==null?void 0:U.source)})});var J,q,G;h.parameters=a(e({},h.parameters),{docs:a(e({},(J=h.parameters)==null?void 0:J.docs),{source:e({originalSource:`{ args: { showSearch: true } -}`},(G=(J=h.parameters)==null?void 0:J.docs)==null?void 0:G.source)})});var K,Q,X;b.parameters=a(e({},b.parameters),{docs:a(e({},(K=b.parameters)==null?void 0:K.docs),{source:e({originalSource:`{ +}`},(G=(q=h.parameters)==null?void 0:q.docs)==null?void 0:G.source)})});var K,Q,X;b.parameters=a(e({},b.parameters),{docs:a(e({},(K=b.parameters)==null?void 0:K.docs),{source:e({originalSource:`{ args: { dropdownMenuColumnStyle: { minWidth: '15px', @@ -125,4 +125,4 @@ var ye=Object.defineProperty,De=Object.defineProperties;var Ee=Object.getOwnProp ; } -}`},(Se=(ve=D.parameters)==null?void 0:ve.docs)==null?void 0:Se.source)})});const Je=["Primary","AllowClear","AutoFocus","HoverExpand","NoBorder","MultipleCascader","SearchIcon","CustomDropdownStyle","SuffixIcon","DisplayRender","Disabled","DisabledOption","DefaultValue","ExampleCustomTrigger","ExampleLazyLoad"];export{d as AllowClear,p as AutoFocus,b as CustomDropdownStyle,f as DefaultValue,C as Disabled,x as DisabledOption,S as DisplayRender,y as ExampleCustomTrigger,D as ExampleLazyLoad,u as HoverExpand,g as MultipleCascader,m as NoBorder,i as Primary,h as SearchIcon,v as SuffixIcon,Je as __namedExportsOrder,qe as default}; +}`},(Se=(ve=D.parameters)==null?void 0:ve.docs)==null?void 0:Se.source)})});const qe=["Primary","AllowClear","AutoFocus","HoverExpand","NoBorder","MultipleCascader","SearchIcon","CustomDropdownStyle","SuffixIcon","DisplayRender","Disabled","DisabledOption","DefaultValue","ExampleCustomTrigger","ExampleLazyLoad"];export{d as AllowClear,p as AutoFocus,b as CustomDropdownStyle,f as DefaultValue,C as Disabled,x as DisabledOption,S as DisplayRender,y as ExampleCustomTrigger,D as ExampleLazyLoad,u as HoverExpand,g as MultipleCascader,m as NoBorder,i as Primary,h as SearchIcon,v as SuffixIcon,qe as __namedExportsOrder,Je as default}; diff --git a/pr-preview/pr-459/assets/Cell Badge-BZGn8RE4.js b/pr-preview/pr-459/assets/Cell Badge-CKx-Yxq_.js similarity index 76% rename from pr-preview/pr-459/assets/Cell Badge-BZGn8RE4.js rename to pr-preview/pr-459/assets/Cell Badge-CKx-Yxq_.js index cbc7b26c2..798a74eef 100644 --- a/pr-preview/pr-459/assets/Cell Badge-BZGn8RE4.js +++ b/pr-preview/pr-459/assets/Cell Badge-CKx-Yxq_.js @@ -1,2 +1,2 @@ -var c=Object.defineProperty,l=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var e=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))d.call(t,r)&&e(o,r,t[r]);if(p)for(var r of p(t))f.call(t,r)&&e(o,r,t[r]);return o},n=(o,t)=>l(o,x(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as u}from"./index-ZtHH_h5v.js";import{T as j}from"./Table.stories-CWvOLwoL.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-DU0W2SK0.js";function s(o){const t=m(m({h1:"h1"},a()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(u,{of:j}),` +var c=Object.defineProperty,l=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var e=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))d.call(t,r)&&e(o,r,t[r]);if(p)for(var r of p(t))f.call(t,r)&&e(o,r,t[r]);return o},n=(o,t)=>l(o,x(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as u}from"./index-Bf2yN5NY.js";import{T as j}from"./Table.stories-CjY-u-Lz.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-BGsdcwIW.js";function s(o){const t=m(m({h1:"h1"},a()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(u,{of:j}),` `,i.jsx(t.h1,{id:"cell-badge",children:"Cell Badge"})]})}function N(o={}){const{wrapper:t}=m(m({},a()),o.components);return t?i.jsx(t,n(m({},o),{children:i.jsx(s,m({},o))})):s(o)}export{N as default}; diff --git a/pr-preview/pr-459/assets/Cell Link-C5d3gaop.js b/pr-preview/pr-459/assets/Cell Link-CnW6sxpj.js similarity index 76% rename from pr-preview/pr-459/assets/Cell Link-C5d3gaop.js rename to pr-preview/pr-459/assets/Cell Link-CnW6sxpj.js index e1779d915..41148355d 100644 --- a/pr-preview/pr-459/assets/Cell Link-C5d3gaop.js +++ b/pr-preview/pr-459/assets/Cell Link-CnW6sxpj.js @@ -1,2 +1,2 @@ -var a=Object.defineProperty,l=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,i=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))u.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>l(o,x(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as j}from"./index-ZtHH_h5v.js";import{T as d}from"./Table.stories-CWvOLwoL.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-DU0W2SK0.js";function s(o){const t=i(i({h1:"h1"},c()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(j,{of:d}),` +var a=Object.defineProperty,l=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,i=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))u.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>l(o,x(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as j}from"./index-Bf2yN5NY.js";import{T as d}from"./Table.stories-CjY-u-Lz.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-BGsdcwIW.js";function s(o){const t=i(i({h1:"h1"},c()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(j,{of:d}),` `,m.jsx(t.h1,{id:"cell-link",children:"Cell Link"})]})}function N(o={}){const{wrapper:t}=i(i({},c()),o.components);return t?m.jsx(t,e(i({},o),{children:m.jsx(s,i({},o))})):s(o)}export{N as default}; diff --git a/pr-preview/pr-459/assets/Cell More Actions-xfC4ZCab.js b/pr-preview/pr-459/assets/Cell More Actions-h_0Xj8Zg.js similarity index 86% rename from pr-preview/pr-459/assets/Cell More Actions-xfC4ZCab.js rename to pr-preview/pr-459/assets/Cell More Actions-h_0Xj8Zg.js index 3d7946e2c..52ab5afba 100644 --- a/pr-preview/pr-459/assets/Cell More Actions-xfC4ZCab.js +++ b/pr-preview/pr-459/assets/Cell More Actions-h_0Xj8Zg.js @@ -1,4 +1,4 @@ -var c=Object.defineProperty,p=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(n,e,t)=>e in n?c(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,o=(n,e)=>{for(var t in e||(e={}))h.call(e,t)&&s(n,t,e[t]);if(r)for(var t of r(e))u.call(e,t)&&s(n,t,e[t]);return n},m=(n,e)=>p(n,d(e));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as x}from"./index-ZtHH_h5v.js";import{T as j}from"./Table.stories-CWvOLwoL.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-DU0W2SK0.js";function l(n){const e=o(o({h1:"h1",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul"},a()),n.components);return i.jsxs(i.Fragment,{children:[i.jsx(x,{of:j}),` +var c=Object.defineProperty,p=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(n,e,t)=>e in n?c(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,o=(n,e)=>{for(var t in e||(e={}))h.call(e,t)&&s(n,t,e[t]);if(r)for(var t of r(e))u.call(e,t)&&s(n,t,e[t]);return n},m=(n,e)=>p(n,d(e));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as x}from"./index-Bf2yN5NY.js";import{T as j}from"./Table.stories-CjY-u-Lz.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-BGsdcwIW.js";function l(n){const e=o(o({h1:"h1",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul"},a()),n.components);return i.jsxs(i.Fragment,{children:[i.jsx(x,{of:j}),` `,i.jsx(e.h1,{id:"cell-tag",children:"Cell Tag"}),` `,i.jsx(e.h3,{id:"more-actions-menu",children:"More Actions Menu"}),` `,i.jsx(e.h4,{id:"overview",children:"Overview"}),` diff --git a/pr-preview/pr-459/assets/Cell Tag-B0pI-VP0.js b/pr-preview/pr-459/assets/Cell Tag-B0pI-VP0.js new file mode 100644 index 000000000..5cd178eaf --- /dev/null +++ b/pr-preview/pr-459/assets/Cell Tag-B0pI-VP0.js @@ -0,0 +1,15 @@ +var m=Object.defineProperty,h=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var o=(n,i,r)=>i in n?m(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,e=(n,i)=>{for(var r in i||(i={}))c.call(i,r)&&o(n,r,i[r]);if(s)for(var r of s(i))g.call(i,r)&&o(n,r,i[r]);return n},a=(n,i)=>h(n,d(i));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as p}from"./index-BI4Okn8T.js";import{M as x}from"./index-Bf2yN5NY.js";import{T as j}from"./Table.stories-CjY-u-Lz.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-BGsdcwIW.js";function l(n){const i=e(e({h1:"h1",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul"},p()),n.components);return t.jsxs(t.Fragment,{children:[t.jsx(x,{of:j}),` +`,t.jsx(i.h1,{id:"cell-tag",children:"Cell Tag"}),` +`,t.jsx(i.h3,{id:"tags-in-tables",children:"Tags in Tables"}),` +`,t.jsx(i.h4,{id:"overview",children:"Overview"}),` +`,t.jsx(i.p,{children:"Tags are used within tables to visually categorize or label data, providing users with quick context about specific rows or items. Tags can indicate statuses, categories, priorities, or any other metadata that helps users understand and interpret the data at a glance."}),` +`,t.jsx(i.h4,{id:"managing-tags",children:"Managing Tags"}),` +`,t.jsxs(i.ul,{children:[` +`,t.jsx(i.li,{children:t.jsx(i.strong,{children:"Creating Tags - COMING SOON"})}),` +`,t.jsx(i.li,{children:t.jsx(i.strong,{children:"Editing Tags - COMING SOON"})}),` +`,t.jsx(i.li,{children:t.jsx(i.strong,{children:"Deleting Tags - COMING SOON"})}),` +`]}),` +`,t.jsx(i.h4,{id:"displaying-tags-within-tables",children:"Displaying Tags within Tables"}),` +`,t.jsx(i.p,{children:"COMING SOON"}),` +`,t.jsx(i.h4,{id:"filtering-by-tags",children:"Filtering by Tags"}),` +`,t.jsx(i.p,{children:"COMING SOON"})]})}function J(n={}){const{wrapper:i}=e(e({},p()),n.components);return i?t.jsx(i,a(e({},n),{children:t.jsx(l,e({},n))})):l(n)}export{J as default}; diff --git a/pr-preview/pr-459/assets/Cell Tag-DCVrYnZs.js b/pr-preview/pr-459/assets/Cell Tag-DCVrYnZs.js deleted file mode 100644 index 9519c53f0..000000000 --- a/pr-preview/pr-459/assets/Cell Tag-DCVrYnZs.js +++ /dev/null @@ -1,2 +0,0 @@ -var c=Object.defineProperty,l=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var n=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&n(o,r,t[r]);if(p)for(var r of p(t))u.call(t,r)&&n(o,r,t[r]);return o},e=(o,t)=>l(o,x(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as j}from"./index-ZtHH_h5v.js";import{T as d}from"./Table.stories-CWvOLwoL.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-DU0W2SK0.js";function s(o){const t=m(m({h1:"h1"},a()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(j,{of:d}),` -`,i.jsx(t.h1,{id:"cell-tag",children:"Cell Tag"})]})}function N(o={}){const{wrapper:t}=m(m({},a()),o.components);return t?i.jsx(t,e(m({},o),{children:i.jsx(s,m({},o))})):s(o)}export{N as default}; diff --git a/pr-preview/pr-459/assets/Center.stories-BVQEw--i.js b/pr-preview/pr-459/assets/Center.stories-CQZzTmLc.js similarity index 75% rename from pr-preview/pr-459/assets/Center.stories-BVQEw--i.js rename to pr-preview/pr-459/assets/Center.stories-CQZzTmLc.js index ff3ecc71c..d803037a3 100644 --- a/pr-preview/pr-459/assets/Center.stories-BVQEw--i.js +++ b/pr-preview/pr-459/assets/Center.stories-CQZzTmLc.js @@ -1 +1 @@ -var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(i)for(var o of i(r))C.call(r,o)&&a(t,o,r[o]);return t},e=(t,r)=>u(t,l(r));import{aa as f}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Layout/Center",component:f,args:{}},p={};var s,n,c;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(c=(n=p.parameters)==null?void 0:n.docs)==null?void 0:c.source)})});const D=["Primary"];export{p as Primary,D as __namedExportsOrder,B as default}; +var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(i)for(var o of i(r))C.call(r,o)&&a(t,o,r[o]);return t},e=(t,r)=>u(t,l(r));import{ac as f}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Layout/Center",component:f,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const D=["Primary"];export{p as Primary,D as __namedExportsOrder,B as default}; diff --git a/pr-preview/pr-459/assets/Changelog-C5Y1pwby.js b/pr-preview/pr-459/assets/Changelog-D_aWwWqz.js similarity index 99% rename from pr-preview/pr-459/assets/Changelog-C5Y1pwby.js rename to pr-preview/pr-459/assets/Changelog-D_aWwWqz.js index 401fb247a..c8593237e 100644 --- a/pr-preview/pr-459/assets/Changelog-C5Y1pwby.js +++ b/pr-preview/pr-459/assets/Changelog-D_aWwWqz.js @@ -1,4 +1,4 @@ -var s=Object.defineProperty,b=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var u=(a,t,i)=>t in a?s(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,e=(a,t)=>{for(var i in t||(t={}))d.call(t,i)&&u(a,i,t[i]);if(m)for(var i of m(t))p.call(t,i)&&u(a,i,t[i]);return a},r=(a,t)=>b(a,h(t));import{j as c}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as n}from"./index-BI4Okn8T.js";import{f}from"./index-ZtHH_h5v.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";const l=`## [1.33.2](https://github.com/mParticle/aquarium/compare/v1.33.1...v1.33.2) (2024-10-18) +var s=Object.defineProperty,b=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var u=(a,t,i)=>t in a?s(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,e=(a,t)=>{for(var i in t||(t={}))d.call(t,i)&&u(a,i,t[i]);if(m)for(var i of m(t))p.call(t,i)&&u(a,i,t[i]);return a},r=(a,t)=>b(a,h(t));import{j as c}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as n}from"./index-BI4Okn8T.js";import{f}from"./index-Bf2yN5NY.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";const l=`## [1.33.2](https://github.com/mParticle/aquarium/compare/v1.33.1...v1.33.2) (2024-10-18) ### Bug Fixes diff --git a/pr-preview/pr-459/assets/Checkbox.stories-UWlJgggU.js b/pr-preview/pr-459/assets/Checkbox.stories-D2b-ELR1.js similarity index 96% rename from pr-preview/pr-459/assets/Checkbox.stories-UWlJgggU.js rename to pr-preview/pr-459/assets/Checkbox.stories-D2b-ELR1.js index b5b81314b..8f902e6d0 100644 --- a/pr-preview/pr-459/assets/Checkbox.stories-UWlJgggU.js +++ b/pr-preview/pr-459/assets/Checkbox.stories-D2b-ELR1.js @@ -1,4 +1,4 @@ -var V=Object.defineProperty,$=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var y=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))J.call(t,n)&&y(e,n,t[n]);if(b)for(var n of b(t))K.call(t,n)&&y(e,n,t[n]);return e},a=(e,t)=>$(e,H(t));var S=(e,t,n)=>new Promise((r,o)=>{var C=s=>{try{i(n.next(s))}catch(x){o(x)}},g=s=>{try{i(n.throw(s))}catch(x){o(x)}},i=s=>s.done?r(s.value):Promise.resolve(s.value).then(C,g);i((n=n.apply(e,t)).next())});import{j as l}from"./jsx-runtime-BcCOBRXo.js";import{k as f,h as N}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as R}from"./index-CNk6hRaE.js";import{E as Q}from"./ExampleStory-DvwdaA9H.js";import{e as E,u as U}from"./index-C7MMNn6a.js";const X={title:"Components/Data Entry/Checkbox",component:e=>{var r,o;const[t,n]=R.useState((o=(r=e.checked)!=null?r:e.defaultChecked)!=null?o:!1);return l.jsx(f,a(c({},e),{checked:t,onChange:C=>{n(!t)}}))},args:{autoFocus:!1,checked:!1,defaultChecked:!1,disabled:!1,indeterminate:!1,onChange:e=>{alert(`checked = ${e.target.checked}`)}}},d={},h={args:{autoFocus:!0}},m={args:{defaultChecked:!0}},u={args:{disabled:!0}},p={args:{indeterminate:!0}},k={render:()=>{const e=["A","B","C"],t=["A","C"],[n,r]=R.useState(t),o=e.length===n.length,C=n.length>0&&n.length{r(i.target.checked?e:[])};return l.jsx(l.Fragment,{children:l.jsxs(Q,{title:"The `indeterminate` property can help achieve a 'check all' effect.",children:[l.jsx(f,{indeterminate:C,checked:o,onChange:g,children:"Check all"}),l.jsx(N,{}),l.jsx(f.Group,{options:e,value:n,onChange:r})]})})},play:e=>S(void 0,null,function*(){E(e.canvasElement.querySelectorAll(".ant-checkbox-checked").length).toBe(2);const t=e.canvasElement.querySelector(".ant-checkbox-indeterminate");if(t)yield U.click(t);else throw new Error("Checkbox Indeterminate not found");E(e.canvasElement.querySelectorAll(".ant-checkbox-checked").length).toBe(4)})};var v,A,L;d.parameters=a(c({},d.parameters),{docs:a(c({},(v=d.parameters)==null?void 0:v.docs),{source:c({originalSource:"{}"},(L=(A=d.parameters)==null?void 0:A.docs)==null?void 0:L.source)})});var j,I,O;h.parameters=a(c({},h.parameters),{docs:a(c({},(j=h.parameters)==null?void 0:j.docs),{source:c({originalSource:`{ +var V=Object.defineProperty,$=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var y=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))J.call(t,n)&&y(e,n,t[n]);if(b)for(var n of b(t))K.call(t,n)&&y(e,n,t[n]);return e},a=(e,t)=>$(e,H(t));var S=(e,t,n)=>new Promise((r,o)=>{var C=s=>{try{i(n.next(s))}catch(x){o(x)}},g=s=>{try{i(n.throw(s))}catch(x){o(x)}},i=s=>s.done?r(s.value):Promise.resolve(s.value).then(C,g);i((n=n.apply(e,t)).next())});import{j as l}from"./jsx-runtime-BcCOBRXo.js";import{n as f,k as N}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as R}from"./index-CNk6hRaE.js";import{E as Q}from"./ExampleStory-B-ilaOpY.js";import{e as E,u as U}from"./index-C7MMNn6a.js";const X={title:"Components/Data Entry/Checkbox",component:e=>{var r,o;const[t,n]=R.useState((o=(r=e.checked)!=null?r:e.defaultChecked)!=null?o:!1);return l.jsx(f,a(c({},e),{checked:t,onChange:C=>{n(!t)}}))},args:{autoFocus:!1,checked:!1,defaultChecked:!1,disabled:!1,indeterminate:!1,onChange:e=>{alert(`checked = ${e.target.checked}`)}}},d={},h={args:{autoFocus:!0}},m={args:{defaultChecked:!0}},u={args:{disabled:!0}},p={args:{indeterminate:!0}},k={render:()=>{const e=["A","B","C"],t=["A","C"],[n,r]=R.useState(t),o=e.length===n.length,C=n.length>0&&n.length{r(i.target.checked?e:[])};return l.jsx(l.Fragment,{children:l.jsxs(Q,{title:"The `indeterminate` property can help achieve a 'check all' effect.",children:[l.jsx(f,{indeterminate:C,checked:o,onChange:g,children:"Check all"}),l.jsx(N,{}),l.jsx(f.Group,{options:e,value:n,onChange:r})]})})},play:e=>S(void 0,null,function*(){E(e.canvasElement.querySelectorAll(".ant-checkbox-checked").length).toBe(2);const t=e.canvasElement.querySelector(".ant-checkbox-indeterminate");if(t)yield U.click(t);else throw new Error("Checkbox Indeterminate not found");E(e.canvasElement.querySelectorAll(".ant-checkbox-checked").length).toBe(4)})};var v,A,L;d.parameters=a(c({},d.parameters),{docs:a(c({},(v=d.parameters)==null?void 0:v.docs),{source:c({originalSource:"{}"},(L=(A=d.parameters)==null?void 0:A.docs)==null?void 0:L.source)})});var j,I,O;h.parameters=a(c({},h.parameters),{docs:a(c({},(j=h.parameters)==null?void 0:j.docs),{source:c({originalSource:`{ args: { autoFocus: true } diff --git a/pr-preview/pr-459/assets/Collapse.stories-D0VQFZSj.js b/pr-preview/pr-459/assets/Collapse.stories-9ojh7nlb.js similarity index 98% rename from pr-preview/pr-459/assets/Collapse.stories-D0VQFZSj.js rename to pr-preview/pr-459/assets/Collapse.stories-9ojh7nlb.js index 89eef93e1..116b79d6a 100644 --- a/pr-preview/pr-459/assets/Collapse.stories-D0VQFZSj.js +++ b/pr-preview/pr-459/assets/Collapse.stories-9ojh7nlb.js @@ -1,4 +1,4 @@ -var Ne=Object.defineProperty,Oe=Object.defineProperties;var Re=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var Le=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var K=(a,r,t)=>r in a?Ne(a,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[r]=t,n=(a,r)=>{for(var t in r||(r={}))Le.call(r,t)&&K(a,t,r[t]);if(z)for(var t of z(r))We.call(r,t)&&K(a,t,r[t]);return a},s=(a,r)=>Oe(a,Re(r));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{n as o,h as w,I as ze,g as D,b as Fe}from"./GlobalNavigation-CPQMp-rl.js";import{E as i}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as Ge}from"./index-CNk6hRaE.js";import{t as Me}from"./index-C9GZCUSR.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const l=` +var Ne=Object.defineProperty,Oe=Object.defineProperties;var Re=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var Le=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var K=(a,r,t)=>r in a?Ne(a,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[r]=t,n=(a,r)=>{for(var t in r||(r={}))Le.call(r,t)&&K(a,t,r[t]);if(z)for(var t of z(r))We.call(r,t)&&K(a,t,r[t]);return a},s=(a,r)=>Oe(a,Re(r));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{q as o,k as w,I as ze,g as D,b as Fe}from"./GlobalNavigation-DT_tPK9g.js";import{E as i}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as Ge}from"./index-CNk6hRaE.js";import{t as Me}from"./index-C9GZCUSR.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const l=` A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world. diff --git a/pr-preview/pr-459/assets/Color-PRSJMWNM-CLH98TlF.js b/pr-preview/pr-459/assets/Color-PRSJMWNM-KYYW3ulJ.js similarity index 99% rename from pr-preview/pr-459/assets/Color-PRSJMWNM-CLH98TlF.js rename to pr-preview/pr-459/assets/Color-PRSJMWNM-KYYW3ulJ.js index 75863677a..6a36c1ef0 100644 --- a/pr-preview/pr-459/assets/Color-PRSJMWNM-CLH98TlF.js +++ b/pr-preview/pr-459/assets/Color-PRSJMWNM-KYYW3ulJ.js @@ -1 +1 @@ -var je=Object.defineProperty,Te=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var p=Math.pow,le=(e,t,n)=>t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))se.call(t,n)&&le(e,n,t[n]);if(L)for(var n of L(t))ie.call(t,n)&&le(e,n,t[n]);return e},B=(e,t)=>Te(e,Fe(t));var ce=(e,t)=>{var n={};for(var r in e)se.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&L)for(var r of L(e))t.indexOf(r)<0&&ie.call(e,r)&&(n[r]=e[r]);return n};import{n as O,g as pe,T as ze,F as He,h as Pe,i as Le}from"./index-ZtHH_h5v.js";import{R as h,r as m,g as ye}from"./index-CNk6hRaE.js";import{_ as qe,i as te}from"./_getPrototype-CAOE_2rY.js";import{i as Be}from"./index-eS13M_ii.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./index-DrFu-skq.js";function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function U(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var j=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:y.buttons>0)&&o.current?a(ue(o.current,y,s.current)):C(!1)},T=function(){return C(!1)};function C(y){var b=i.current,k=Y(o.current),M=y?k.addEventListener:k.removeEventListener;M(b?"touchmove":"mousemove",w),M(b?"touchend":"mouseup",T)}return[function(y){var b=y.nativeEvent,k=o.current;if(k&&(fe(b),!function(_,N){return N&&!z(_)}(b,i.current)&&k)){if(z(b)){i.current=!0;var M=b.changedTouches||[];M.length&&(s.current=M[0].identifier)}k.focus(),a(ue(k,b,s.current)),C(!0)}},function(y){var b=y.which||y.keyCode;b<37||b>40||(y.preventDefault(),l({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},C]},[l,a]),d=c[0],f=c[1],g=c[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),P=function(e){return e.filter(Boolean).join(" ")},oe=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=P(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},x=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},We={grad:.9,turn:360,rad:360/(2*Math.PI)},Xe=function(e){return ke(J(e))},J=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?x(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?x(parseInt(e.substring(6,8),16)/255,2):1}},De=function(e,t){return t===void 0&&(t="deg"),Number(e)*(We[t]||1)},Ke=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Ve({h:De(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Ve=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},Ae=function(e){return Ue(we(e))},xe=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:x(e.h),s:x(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:x(o/2),a:x(r,2)}},Q=function(e){var t=xe(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},K=function(e){var t=xe(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},we=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),l=r*(1-n),s=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:x(255*[r,s,l,l,i,r][c]),g:x(255*[i,r,r,s,l,l][c]),b:x(255*[l,l,i,r,r,s][c]),a:x(o,2)}},Ge=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ke({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},W=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Ue=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?W(x(255*o)):"";return"#"+W(t)+W(n)+W(r)+a},ke=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),l=a-Math.min(t,n,r),s=l?a===t?(n-r)/l:a===n?2+(r-t)/l:4+(t-n)/l:0;return{h:x(60*(s<0?s+6:s)),s:x(a?l/a*100:0),v:x(a/255*100),a:o}},_e=h.memo(function(e){var t=e.hue,n=e.onChange,r=P(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(re,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:j(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(oe,{className:"react-colorful__hue-pointer",left:t/360,color:Q({h:t,s:100,v:100,a:1})})))}),Ee=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(re,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:j(t.s+100*o.left,0,100),v:j(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(t.s)+"%, Brightness "+x(t.v)+"%"},h.createElement(oe,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q(t)})))}),Me=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},Ce=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Ye=function(e,t){return e.toLowerCase()===t.toLowerCase()||Me(J(e),J(t))};function $e(e,t,n){var r=U(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],l=o[1],s=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,s.current.color)){var c=e.toHsva(t);s.current={hsva:c,color:t},l(c)}},[t,e]),m.useEffect(function(){var c;Me(a,s.current.hsva)||e.equal(c=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:c},r(c))},[a,e,r]);var i=m.useCallback(function(c){l(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var Je=typeof window!="undefined"?m.useLayoutEffect:m.useEffect,Qe=function(){return typeof __webpack_nonce__!="undefined"?__webpack_nonce__:void 0},he=new Map,Oe=function(e){Je(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!he.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,he.set(t,n);var r=Qe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Ze=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=ne(e,["className","colorModel","color","onChange"]),s=m.useRef(null);Oe(s);var i=$e(n,o,a),c=i[0],d=i[1],f=P(["react-colorful",t]);return h.createElement("div",I({},l,{ref:s,className:f}),h.createElement(Ee,{hsva:c,onChange:d}),h.createElement(_e,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},et={defaultColor:"000",toHsva:Xe,fromHsva:function(e){return Ae({h:e.h,s:e.s,v:e.v,a:1})},equal:Ye},tt=function(e){return h.createElement(Ze,I({},e,{colorModel:et}))},nt=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+K(Object.assign({},n,{a:0}))+", "+K(Object.assign({},n,{a:1}))+")"},a=P(["react-colorful__alpha",t]),l=x(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(re,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:j(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(oe,{className:"react-colorful__alpha-pointer",left:n.a,color:K(n)})))},Ne=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=ne(e,["className","colorModel","color","onChange"]),s=m.useRef(null);Oe(s);var i=$e(n,o,a),c=i[0],d=i[1],f=P(["react-colorful",t]);return h.createElement("div",I({},l,{ref:s,className:f}),h.createElement(Ee,{hsva:c,onChange:d}),h.createElement(_e,{hue:c.h,onChange:d}),h.createElement(nt,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},rt={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Ke,fromHsva:K,equal:Ce},ot=function(e){return h.createElement(Ne,I({},e,{colorModel:rt}))},at={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Ge,fromHsva:function(e){var t=we(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:Ce},lt=function(e){return h.createElement(Ne,I({},e,{colorModel:at}))},st={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const H=st,Ie={};for(const e of Object.keys(H))Ie[H[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Se=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=a-o;let s,i;a===o?s=0:t===a?s=(n-r)/l:n===a?s=2+(r-t)/l:r===a&&(s=4+(t-n)/l),s=Math.min(s*60,360),s<0&&(s+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=l/(a+o):i=l/(2-a-o),[s,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),d=c-Math.min(l,s,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(l),n=f(s),r=f(i),l===c?o=r-n:s===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,l=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0;return[a*100,l*100,s*100,o*100]};function it(e,t){return p(e[0]-t[0],2)+p(e[1]-t[1],2)+p(e[2]-t[2],2)}u.rgb.keyword=function(e){const t=Ie[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(H)){const a=H[o],l=it(e,a);l.04045?p((t+.055)/1.055,2.4):t/12.92,n=n>.04045?p((n+.055)/1.055,2.4):n/12.92,r=r>.04045?p((r+.055)/1.055,2.4):r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,l=t*.0193+n*.1192+r*.9505;return[o*100,a*100,l*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?p(n,1/3):7.787*n+16/116,r=r>.008856?p(r,1/3):7.787*r+16/116,o=o>.008856?p(o,1/3):7.787*o+16/116;const a=116*r-16,l=500*(n-r),s=200*(r-o);return[a,l,s]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,l;if(n===0)return l=r*255,[l,l,l];r<.5?o=r*(1+n):o=r+n-r*n;const s=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?l=s+(o-s)*6*a:2*a<1?l=o:3*a<2?l=s+(o-s)*(2/3-a)*6:l=s,i[c]=l*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const l=(r+n)/2,s=r===0?2*o/(a+o):2*n/(r+n);return[t,s*100,l*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),l=255*r*(1-n),s=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,l];case 1:return[s,r,l];case 2:return[l,r,i];case 3:return[l,s,r];case 4:return[i,l,r];case 5:return[r,l,s]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,l;l=(2-n)*r;const s=(2-n)*o;return a=n*o,a/=s<=1?s:2-s,a=a||0,l/=2,[t,a*100,l*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const l=Math.floor(6*t),s=1-r;a=6*t-l,l&1&&(a=1-a);const i=n+a*(s-n);let c,d,f;switch(l){default:case 6:case 0:c=s,d=i,f=n;break;case 1:c=i,d=s,f=n;break;case 2:c=n,d=s,f=i;break;case 3:c=n,d=i,f=s;break;case 4:c=i,d=n,f=s;break;case 5:c=s,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),l=1-Math.min(1,n*(1-o)+o),s=1-Math.min(1,r*(1-o)+o);return[a*255,l*255,s*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,l;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,l=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*p(o,1/2.4)-.055:o*12.92,a=a>.0031308?1.055*p(a,1/2.4)-.055:a*12.92,l=l>.0031308?1.055*p(l,1/2.4)-.055:l*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),l=Math.min(Math.max(0,l),1),[o*255,a*255,l*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?p(t,1/3):7.787*t+16/116,n=n>.008856?p(n,1/3):7.787*n+16/116,r=r>.008856?p(r,1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),l=200*(n-r);return[o,a,l]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,l;a=(t+16)/116,o=n/500+a,l=a-r/200;const s=p(a,3),i=p(o,3),c=p(l,3);return a=s>.008856?s:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,l=c>.008856?c:(l-16/116)/7.787,o*=95.047,a*=100,l*=108.883,[o,a,l]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const l=Math.sqrt(n*n+r*r);return[t,l,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),l=n*Math.sin(o);return[t,a,l]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let l=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(l+=60),l};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(s=>s+s).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,l=r&255;return[o,a,l]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),l=o-a;let s,i;return l<1?s=a/(1-l):s=0,l<=0?i=0:o===t?i=(n-r)/l%6:o===n?i=2+(r-t)/l:i=4+(t-n)/l,i/=6,i%=1,[i*360,l*100,s*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,l=a%1,s=1-l;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=l,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=l;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=l,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const V=Se;function ct(){const e={},t=Object.keys(V);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function vt(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,l=0;l{S[e]={},Object.defineProperty(S[e],"channels",{value:Z[e].channels}),Object.defineProperty(S[e],"labels",{value:Z[e].labels});const t=gt(e);Object.keys(t).forEach(r=>{const o=t[r];S[e][r]=vt(o),S[e][r].raw=bt(o)})});var pt=S;const E=ye(pt);var yt=qe,xt=function(){return yt.Date.now()},wt=xt,kt=/\s/;function _t(e){for(var t=e.length;t--&&kt.test(e.charAt(t)););return t}var Et=_t,Mt=Et,Ct=/^\s+/;function $t(e){return e&&e.slice(0,Mt(e)+1).replace(Ct,"")}var Ot=$t,Nt=Ot,de=te,It=Be,ge=NaN,St=/^[-+]0x[0-9a-f]+$/i,Rt=/^0b[01]+$/i,jt=/^0o[0-7]+$/i,Tt=parseInt;function Ft(e){if(typeof e=="number")return e;if(It(e))return ge;if(de(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=de(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Nt(e);var n=Rt.test(e);return n||jt.test(e)?Tt(e.slice(2),n?2:8):St.test(e)?ge:+e}var zt=Ft,Ht=te,G=wt,me=zt,Pt="Expected a function",Lt=Math.max,qt=Math.min;function Bt(e,t,n){var r,o,a,l,s,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(Pt);t=me(t)||0,Ht(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Lt(me(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function w(v){var $=r,F=o;return r=o=void 0,c=v,l=e.apply(F,$),l}function T(v){return c=v,s=setTimeout(b,t),d?w(v):l}function C(v){var $=v-i,F=v-c,ae=t-$;return f?qt(ae,a-F):ae}function y(v){var $=v-i,F=v-c;return i===void 0||$>=t||$<0||f&&F>=a}function b(){var v=G();if(y(v))return k(v);s=setTimeout(b,C(v))}function k(v){return s=void 0,g&&r?w(v):(r=o=void 0,l)}function M(){s!==void 0&&clearTimeout(s),c=0,r=i=o=s=void 0}function _(){return s===void 0?l:k(G())}function N(){var v=G(),$=y(v);if(r=arguments,o=this,i=v,$){if(s===void 0)return T(i);if(f)return clearTimeout(s),s=setTimeout(b,t),w(i)}return s===void 0&&(s=setTimeout(b,t)),l}return N.cancel=M,N.flush=_,N}var Wt=Bt,Xt=Wt,Dt=te,Kt="Expected a function";function Vt(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Kt);return Dt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Xt(e,t,{leading:r,maxWait:t,trailing:o})}var At=Vt;const Gt=ye(At);var Ut=O.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Yt=O(pe)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Jt=O.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Qt=O(ze)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Zt=O.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),en=O.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),tn=`url('data:image/svg+xml;charset=utf-8,')`,be=r=>{var o=r,{value:e,style:t}=o,n=ce(o,["value","style"]);let a=`linear-gradient(${e}, ${e}), ${tn}, linear-gradient(#fff, #fff)`;return h.createElement(en,B(q({},n),{style:B(q({},t),{backgroundImage:a})}))},nn=O(He.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),rn=O(Pe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Re=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Re||{}),X=Object.values(Re),on=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,an=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,ln=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,ee=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,sn=/^\s*#?([0-9a-f]{3})\s*$/i,cn={hex:tt,rgb:lt,hsl:ot},D={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ve=e=>{let t=e==null?void 0:e.match(on);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},R=e=>{if(!e)return;let t=!0;if(an.test(e)){let[l,s,i,c]=ve(e),[d,f,g]=E.rgb.hsl([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:E.rgb.keyword([l,s,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${E.rgb.hex([l,s,i]).toLowerCase()}`}}if(ln.test(e)){let[l,s,i,c]=ve(e),[d,f,g]=E.hsl.rgb([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:E.hsl.keyword([l,s,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${E.hsl.hex([l,s,i]).toLowerCase()}`}}let n=e.replace("#",""),r=E.keyword.rgb(n)||E.hex.rgb(n),o=E.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:ee.test(e)&&(a=`#${n}`),a.startsWith("#"))t=ee.test(a);else try{E.keyword.hex(a)}catch(l){t=!1}return{valid:t,value:a,keyword:E.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},un=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return D[n];if(n!=="hex")return(t==null?void 0:t[n])||D[n];if(!t.hex.startsWith("#"))try{return`#${E.keyword.hex(t.hex)}`}catch(s){return D.hex}let r=t.hex.match(sn);if(!r)return ee.test(t.hex)?t.hex:D.hex;let[o,a,l]=r[1].split("");return`#${o}${o}${a}${a}${l}${l}`},fn=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>R(n)),[l,s]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=R(f);r(f),a(g),s((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=m.useMemo(()=>un(n,o,l).toLowerCase(),[n,o,l]),c=m.useCallback(f=>{let g=R(f),w=(g==null?void 0:g.value)||f||"";r(w),w===""&&(a(void 0),t(void 0)),g&&(a(g),s(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=X.indexOf(l)+1;f>=X.length&&(f=0),s(X[f]);let g=(o==null?void 0:o[X[f]])||"";r(g),t(g)},[o,l,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:l,cycleColorSpace:d}},A=e=>e.replace(/\s*/,"").toLowerCase(),hn=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(s=>typeof s=="string"?R(s):s.title?B(q({},R(s.color)),{keyword:s.title}):R(s.color)).concat(r).filter(Boolean).slice(-27),[e,r]),l=m.useCallback(s=>{s!=null&&s.valid&&(a.some(i=>A(i[n])===A(s[n]))||o(i=>i.concat(s)))},[n,a]);return{presets:a,addPreset:l}},dn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:l=!1,argType:s})=>{var M;let i=m.useCallback(Gt(n,200),[n]),{value:c,realValue:d,updateValue:f,color:g,colorSpace:w,cycleColorSpace:T}=fn(t,i),{presets:C,addPreset:y}=hn(a,g,w),b=cn[w],k=!!((M=s==null?void 0:s.table)!=null&&M.readonly);return h.createElement(Ut,{"aria-readonly":k},h.createElement(Yt,{startOpen:l,trigger:k?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(g),tooltip:h.createElement(Jt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),C.length>0&&h.createElement(Zt,null,C.map((_,N)=>h.createElement(pe,{key:`${_.value}-${N}`,hasChrome:!1,tooltip:h.createElement(Qt,{note:_.keyword||_.value})},h.createElement(be,{value:_[w],active:g&&A(_[w])===A(g[w]),onClick:()=>f(_.value)})))))},h.createElement(be,{value:d,style:{margin:4}})),h.createElement(nn,{id:Le(e),value:c,onChange:_=>f(_.target.value),onFocus:_=>_.target.select(),readOnly:k,placeholder:"Choose color..."}),c?h.createElement(rn,{onClick:T}):null)},$n=dn;export{dn as ColorControl,$n as default}; +var je=Object.defineProperty,Te=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var p=Math.pow,le=(e,t,n)=>t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))se.call(t,n)&&le(e,n,t[n]);if(L)for(var n of L(t))ie.call(t,n)&&le(e,n,t[n]);return e},B=(e,t)=>Te(e,Fe(t));var ce=(e,t)=>{var n={};for(var r in e)se.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&L)for(var r of L(e))t.indexOf(r)<0&&ie.call(e,r)&&(n[r]=e[r]);return n};import{n as O,g as pe,T as ze,F as He,h as Pe,i as Le}from"./index-Bf2yN5NY.js";import{R as h,r as m,g as ye}from"./index-CNk6hRaE.js";import{_ as qe,i as te}from"./_getPrototype-CAOE_2rY.js";import{i as Be}from"./index-eS13M_ii.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./index-DrFu-skq.js";function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function U(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var j=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:y.buttons>0)&&o.current?a(ue(o.current,y,s.current)):C(!1)},T=function(){return C(!1)};function C(y){var b=i.current,k=Y(o.current),M=y?k.addEventListener:k.removeEventListener;M(b?"touchmove":"mousemove",w),M(b?"touchend":"mouseup",T)}return[function(y){var b=y.nativeEvent,k=o.current;if(k&&(fe(b),!function(_,N){return N&&!z(_)}(b,i.current)&&k)){if(z(b)){i.current=!0;var M=b.changedTouches||[];M.length&&(s.current=M[0].identifier)}k.focus(),a(ue(k,b,s.current)),C(!0)}},function(y){var b=y.which||y.keyCode;b<37||b>40||(y.preventDefault(),l({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},C]},[l,a]),d=c[0],f=c[1],g=c[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),P=function(e){return e.filter(Boolean).join(" ")},oe=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=P(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},x=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},We={grad:.9,turn:360,rad:360/(2*Math.PI)},Xe=function(e){return ke(J(e))},J=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?x(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?x(parseInt(e.substring(6,8),16)/255,2):1}},De=function(e,t){return t===void 0&&(t="deg"),Number(e)*(We[t]||1)},Ke=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Ve({h:De(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Ve=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},Ae=function(e){return Ue(we(e))},xe=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:x(e.h),s:x(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:x(o/2),a:x(r,2)}},Q=function(e){var t=xe(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},K=function(e){var t=xe(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},we=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),l=r*(1-n),s=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:x(255*[r,s,l,l,i,r][c]),g:x(255*[i,r,r,s,l,l][c]),b:x(255*[l,l,i,r,r,s][c]),a:x(o,2)}},Ge=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ke({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},W=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Ue=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?W(x(255*o)):"";return"#"+W(t)+W(n)+W(r)+a},ke=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),l=a-Math.min(t,n,r),s=l?a===t?(n-r)/l:a===n?2+(r-t)/l:4+(t-n)/l:0;return{h:x(60*(s<0?s+6:s)),s:x(a?l/a*100:0),v:x(a/255*100),a:o}},_e=h.memo(function(e){var t=e.hue,n=e.onChange,r=P(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(re,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:j(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(oe,{className:"react-colorful__hue-pointer",left:t/360,color:Q({h:t,s:100,v:100,a:1})})))}),Ee=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(re,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:j(t.s+100*o.left,0,100),v:j(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(t.s)+"%, Brightness "+x(t.v)+"%"},h.createElement(oe,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q(t)})))}),Me=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},Ce=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Ye=function(e,t){return e.toLowerCase()===t.toLowerCase()||Me(J(e),J(t))};function $e(e,t,n){var r=U(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],l=o[1],s=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,s.current.color)){var c=e.toHsva(t);s.current={hsva:c,color:t},l(c)}},[t,e]),m.useEffect(function(){var c;Me(a,s.current.hsva)||e.equal(c=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:c},r(c))},[a,e,r]);var i=m.useCallback(function(c){l(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var Je=typeof window!="undefined"?m.useLayoutEffect:m.useEffect,Qe=function(){return typeof __webpack_nonce__!="undefined"?__webpack_nonce__:void 0},he=new Map,Oe=function(e){Je(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!he.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,he.set(t,n);var r=Qe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Ze=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=ne(e,["className","colorModel","color","onChange"]),s=m.useRef(null);Oe(s);var i=$e(n,o,a),c=i[0],d=i[1],f=P(["react-colorful",t]);return h.createElement("div",I({},l,{ref:s,className:f}),h.createElement(Ee,{hsva:c,onChange:d}),h.createElement(_e,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},et={defaultColor:"000",toHsva:Xe,fromHsva:function(e){return Ae({h:e.h,s:e.s,v:e.v,a:1})},equal:Ye},tt=function(e){return h.createElement(Ze,I({},e,{colorModel:et}))},nt=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+K(Object.assign({},n,{a:0}))+", "+K(Object.assign({},n,{a:1}))+")"},a=P(["react-colorful__alpha",t]),l=x(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(re,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:j(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(oe,{className:"react-colorful__alpha-pointer",left:n.a,color:K(n)})))},Ne=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,l=ne(e,["className","colorModel","color","onChange"]),s=m.useRef(null);Oe(s);var i=$e(n,o,a),c=i[0],d=i[1],f=P(["react-colorful",t]);return h.createElement("div",I({},l,{ref:s,className:f}),h.createElement(Ee,{hsva:c,onChange:d}),h.createElement(_e,{hue:c.h,onChange:d}),h.createElement(nt,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},rt={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Ke,fromHsva:K,equal:Ce},ot=function(e){return h.createElement(Ne,I({},e,{colorModel:rt}))},at={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Ge,fromHsva:function(e){var t=we(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:Ce},lt=function(e){return h.createElement(Ne,I({},e,{colorModel:at}))},st={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const H=st,Ie={};for(const e of Object.keys(H))Ie[H[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Se=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=a-o;let s,i;a===o?s=0:t===a?s=(n-r)/l:n===a?s=2+(r-t)/l:r===a&&(s=4+(t-n)/l),s=Math.min(s*60,360),s<0&&(s+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=l/(a+o):i=l/(2-a-o),[s,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const l=e[0]/255,s=e[1]/255,i=e[2]/255,c=Math.max(l,s,i),d=c-Math.min(l,s,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(l),n=f(s),r=f(i),l===c?o=r-n:s===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,l=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0;return[a*100,l*100,s*100,o*100]};function it(e,t){return p(e[0]-t[0],2)+p(e[1]-t[1],2)+p(e[2]-t[2],2)}u.rgb.keyword=function(e){const t=Ie[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(H)){const a=H[o],l=it(e,a);l.04045?p((t+.055)/1.055,2.4):t/12.92,n=n>.04045?p((n+.055)/1.055,2.4):n/12.92,r=r>.04045?p((r+.055)/1.055,2.4):r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,l=t*.0193+n*.1192+r*.9505;return[o*100,a*100,l*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?p(n,1/3):7.787*n+16/116,r=r>.008856?p(r,1/3):7.787*r+16/116,o=o>.008856?p(o,1/3):7.787*o+16/116;const a=116*r-16,l=500*(n-r),s=200*(r-o);return[a,l,s]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,l;if(n===0)return l=r*255,[l,l,l];r<.5?o=r*(1+n):o=r+n-r*n;const s=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?l=s+(o-s)*6*a:2*a<1?l=o:3*a<2?l=s+(o-s)*(2/3-a)*6:l=s,i[c]=l*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const l=(r+n)/2,s=r===0?2*o/(a+o):2*n/(r+n);return[t,s*100,l*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),l=255*r*(1-n),s=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,l];case 1:return[s,r,l];case 2:return[l,r,i];case 3:return[l,s,r];case 4:return[i,l,r];case 5:return[r,l,s]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,l;l=(2-n)*r;const s=(2-n)*o;return a=n*o,a/=s<=1?s:2-s,a=a||0,l/=2,[t,a*100,l*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const l=Math.floor(6*t),s=1-r;a=6*t-l,l&1&&(a=1-a);const i=n+a*(s-n);let c,d,f;switch(l){default:case 6:case 0:c=s,d=i,f=n;break;case 1:c=i,d=s,f=n;break;case 2:c=n,d=s,f=i;break;case 3:c=n,d=i,f=s;break;case 4:c=i,d=n,f=s;break;case 5:c=s,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),l=1-Math.min(1,n*(1-o)+o),s=1-Math.min(1,r*(1-o)+o);return[a*255,l*255,s*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,l;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,l=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*p(o,1/2.4)-.055:o*12.92,a=a>.0031308?1.055*p(a,1/2.4)-.055:a*12.92,l=l>.0031308?1.055*p(l,1/2.4)-.055:l*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),l=Math.min(Math.max(0,l),1),[o*255,a*255,l*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?p(t,1/3):7.787*t+16/116,n=n>.008856?p(n,1/3):7.787*n+16/116,r=r>.008856?p(r,1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),l=200*(n-r);return[o,a,l]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,l;a=(t+16)/116,o=n/500+a,l=a-r/200;const s=p(a,3),i=p(o,3),c=p(l,3);return a=s>.008856?s:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,l=c>.008856?c:(l-16/116)/7.787,o*=95.047,a*=100,l*=108.883,[o,a,l]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const l=Math.sqrt(n*n+r*r);return[t,l,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),l=n*Math.sin(o);return[t,a,l]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let l=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(l+=60),l};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(s=>s+s).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,l=r&255;return[o,a,l]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),l=o-a;let s,i;return l<1?s=a/(1-l):s=0,l<=0?i=0:o===t?i=(n-r)/l%6:o===n?i=2+(r-t)/l:i=4+(t-n)/l,i/=6,i%=1,[i*360,l*100,s*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,l=a%1,s=1-l;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=l,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=l;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=l,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const V=Se;function ct(){const e={},t=Object.keys(V);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function vt(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,l=0;l{S[e]={},Object.defineProperty(S[e],"channels",{value:Z[e].channels}),Object.defineProperty(S[e],"labels",{value:Z[e].labels});const t=gt(e);Object.keys(t).forEach(r=>{const o=t[r];S[e][r]=vt(o),S[e][r].raw=bt(o)})});var pt=S;const E=ye(pt);var yt=qe,xt=function(){return yt.Date.now()},wt=xt,kt=/\s/;function _t(e){for(var t=e.length;t--&&kt.test(e.charAt(t)););return t}var Et=_t,Mt=Et,Ct=/^\s+/;function $t(e){return e&&e.slice(0,Mt(e)+1).replace(Ct,"")}var Ot=$t,Nt=Ot,de=te,It=Be,ge=NaN,St=/^[-+]0x[0-9a-f]+$/i,Rt=/^0b[01]+$/i,jt=/^0o[0-7]+$/i,Tt=parseInt;function Ft(e){if(typeof e=="number")return e;if(It(e))return ge;if(de(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=de(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Nt(e);var n=Rt.test(e);return n||jt.test(e)?Tt(e.slice(2),n?2:8):St.test(e)?ge:+e}var zt=Ft,Ht=te,G=wt,me=zt,Pt="Expected a function",Lt=Math.max,qt=Math.min;function Bt(e,t,n){var r,o,a,l,s,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(Pt);t=me(t)||0,Ht(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Lt(me(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function w(v){var $=r,F=o;return r=o=void 0,c=v,l=e.apply(F,$),l}function T(v){return c=v,s=setTimeout(b,t),d?w(v):l}function C(v){var $=v-i,F=v-c,ae=t-$;return f?qt(ae,a-F):ae}function y(v){var $=v-i,F=v-c;return i===void 0||$>=t||$<0||f&&F>=a}function b(){var v=G();if(y(v))return k(v);s=setTimeout(b,C(v))}function k(v){return s=void 0,g&&r?w(v):(r=o=void 0,l)}function M(){s!==void 0&&clearTimeout(s),c=0,r=i=o=s=void 0}function _(){return s===void 0?l:k(G())}function N(){var v=G(),$=y(v);if(r=arguments,o=this,i=v,$){if(s===void 0)return T(i);if(f)return clearTimeout(s),s=setTimeout(b,t),w(i)}return s===void 0&&(s=setTimeout(b,t)),l}return N.cancel=M,N.flush=_,N}var Wt=Bt,Xt=Wt,Dt=te,Kt="Expected a function";function Vt(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Kt);return Dt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Xt(e,t,{leading:r,maxWait:t,trailing:o})}var At=Vt;const Gt=ye(At);var Ut=O.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Yt=O(pe)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Jt=O.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Qt=O(ze)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Zt=O.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),en=O.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),tn=`url('data:image/svg+xml;charset=utf-8,')`,be=r=>{var o=r,{value:e,style:t}=o,n=ce(o,["value","style"]);let a=`linear-gradient(${e}, ${e}), ${tn}, linear-gradient(#fff, #fff)`;return h.createElement(en,B(q({},n),{style:B(q({},t),{backgroundImage:a})}))},nn=O(He.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),rn=O(Pe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Re=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Re||{}),X=Object.values(Re),on=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,an=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,ln=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,ee=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,sn=/^\s*#?([0-9a-f]{3})\s*$/i,cn={hex:tt,rgb:lt,hsl:ot},D={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ve=e=>{let t=e==null?void 0:e.match(on);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},R=e=>{if(!e)return;let t=!0;if(an.test(e)){let[l,s,i,c]=ve(e),[d,f,g]=E.rgb.hsl([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:E.rgb.keyword([l,s,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${E.rgb.hex([l,s,i]).toLowerCase()}`}}if(ln.test(e)){let[l,s,i,c]=ve(e),[d,f,g]=E.hsl.rgb([l,s,i])||[0,0,0];return{valid:t,value:e,keyword:E.hsl.keyword([l,s,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${E.hsl.hex([l,s,i]).toLowerCase()}`}}let n=e.replace("#",""),r=E.keyword.rgb(n)||E.hex.rgb(n),o=E.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:ee.test(e)&&(a=`#${n}`),a.startsWith("#"))t=ee.test(a);else try{E.keyword.hex(a)}catch(l){t=!1}return{valid:t,value:a,keyword:E.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},un=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return D[n];if(n!=="hex")return(t==null?void 0:t[n])||D[n];if(!t.hex.startsWith("#"))try{return`#${E.keyword.hex(t.hex)}`}catch(s){return D.hex}let r=t.hex.match(sn);if(!r)return ee.test(t.hex)?t.hex:D.hex;let[o,a,l]=r[1].split("");return`#${o}${o}${a}${a}${l}${l}`},fn=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>R(n)),[l,s]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=R(f);r(f),a(g),s((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=m.useMemo(()=>un(n,o,l).toLowerCase(),[n,o,l]),c=m.useCallback(f=>{let g=R(f),w=(g==null?void 0:g.value)||f||"";r(w),w===""&&(a(void 0),t(void 0)),g&&(a(g),s(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=X.indexOf(l)+1;f>=X.length&&(f=0),s(X[f]);let g=(o==null?void 0:o[X[f]])||"";r(g),t(g)},[o,l,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:l,cycleColorSpace:d}},A=e=>e.replace(/\s*/,"").toLowerCase(),hn=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(s=>typeof s=="string"?R(s):s.title?B(q({},R(s.color)),{keyword:s.title}):R(s.color)).concat(r).filter(Boolean).slice(-27),[e,r]),l=m.useCallback(s=>{s!=null&&s.valid&&(a.some(i=>A(i[n])===A(s[n]))||o(i=>i.concat(s)))},[n,a]);return{presets:a,addPreset:l}},dn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:l=!1,argType:s})=>{var M;let i=m.useCallback(Gt(n,200),[n]),{value:c,realValue:d,updateValue:f,color:g,colorSpace:w,cycleColorSpace:T}=fn(t,i),{presets:C,addPreset:y}=hn(a,g,w),b=cn[w],k=!!((M=s==null?void 0:s.table)!=null&&M.readonly);return h.createElement(Ut,{"aria-readonly":k},h.createElement(Yt,{startOpen:l,trigger:k?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(g),tooltip:h.createElement(Jt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),C.length>0&&h.createElement(Zt,null,C.map((_,N)=>h.createElement(pe,{key:`${_.value}-${N}`,hasChrome:!1,tooltip:h.createElement(Qt,{note:_.keyword||_.value})},h.createElement(be,{value:_[w],active:g&&A(_[w])===A(g[w]),onClick:()=>f(_.value)})))))},h.createElement(be,{value:d,style:{margin:4}})),h.createElement(nn,{id:Le(e),value:c,onChange:_=>f(_.target.value),onFocus:_=>_.target.select(),readOnly:k,placeholder:"Choose color..."}),c?h.createElement(rn,{onClick:T}):null)},$n=dn;export{dn as ColorControl,$n as default}; diff --git a/pr-preview/pr-459/assets/ColorPicker.stories-AGmale1H.js b/pr-preview/pr-459/assets/ColorPicker.stories-NQSGMIsv.js similarity index 90% rename from pr-preview/pr-459/assets/ColorPicker.stories-AGmale1H.js rename to pr-preview/pr-459/assets/ColorPicker.stories-NQSGMIsv.js index dc8402b94..c271a9270 100644 --- a/pr-preview/pr-459/assets/ColorPicker.stories-AGmale1H.js +++ b/pr-preview/pr-459/assets/ColorPicker.stories-NQSGMIsv.js @@ -1 +1 @@ -var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))P.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))C.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>l(t,u(r));import{ap as f}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Unused/ColorPicker",component:f,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const D=["Primary"];export{p as Primary,D as __namedExportsOrder,B as default}; +var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))P.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))C.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>l(t,u(r));import{ar as f}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Unused/ColorPicker",component:f,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const D=["Primary"];export{p as Primary,D as __namedExportsOrder,B as default}; diff --git a/pr-preview/pr-459/assets/DatePicker.stories-DU0W2SK0.js b/pr-preview/pr-459/assets/DatePicker.stories-BGsdcwIW.js similarity index 98% rename from pr-preview/pr-459/assets/DatePicker.stories-DU0W2SK0.js rename to pr-preview/pr-459/assets/DatePicker.stories-BGsdcwIW.js index cc2e19d69..bb213e7ff 100644 --- a/pr-preview/pr-459/assets/DatePicker.stories-DU0W2SK0.js +++ b/pr-preview/pr-459/assets/DatePicker.stories-BGsdcwIW.js @@ -1,4 +1,4 @@ -var N=Object.defineProperty,I=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var m=(t,e,a)=>e in t?N(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,r=(t,e)=>{for(var a in e||(e={}))W.call(e,a)&&m(t,a,e[a]);if(y)for(var a of y(e))_.call(e,a)&&m(t,a,e[a]);return t},o=(t,e)=>I(t,x(e));import{j as d}from"./jsx-runtime-BcCOBRXo.js";import{D as R,e as T}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{d as Y}from"./dayjs.min-KGLNs1IR.js";import{r as E}from"./index-CNk6hRaE.js";const s=()=>{const[t,e]=E.useState(null),a=n=>n&&n.year()<2023,C=n=>{n&&a(n)?e(null):e(n)},w=(n,c)=>{if(!Y.isDayjs(n))return c.originNode;const u=a(n),D=p=>{u&&(p.preventDefault(),p.stopPropagation())};return c.type==="year"&&u?d.jsx(T,{title:"Data is only available for years 2023 and onwards.",children:d.jsx("div",{className:"ant-picker-cell-inner",style:{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"},onClick:D,onMouseDown:D,onKeyDown:D,children:n.year()})}):c.originNode};return d.jsx(R,{picker:"year",cellRender:w,value:t,onChange:C})},M={title:"Components/Data Entry/Date Picker",component:R,args:{}},l={},i={render:()=>d.jsx(s,{})};i.parameters={docs:{source:{code:` +var N=Object.defineProperty,I=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var m=(t,e,a)=>e in t?N(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,r=(t,e)=>{for(var a in e||(e={}))W.call(e,a)&&m(t,a,e[a]);if(y)for(var a of y(e))_.call(e,a)&&m(t,a,e[a]);return t},o=(t,e)=>I(t,x(e));import{j as d}from"./jsx-runtime-BcCOBRXo.js";import{D as R,e as T}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{d as Y}from"./dayjs.min-KGLNs1IR.js";import{r as E}from"./index-CNk6hRaE.js";const s=()=>{const[t,e]=E.useState(null),a=n=>n&&n.year()<2023,C=n=>{n&&a(n)?e(null):e(n)},w=(n,c)=>{if(!Y.isDayjs(n))return c.originNode;const u=a(n),D=p=>{u&&(p.preventDefault(),p.stopPropagation())};return c.type==="year"&&u?d.jsx(T,{title:"Data is only available for years 2023 and onwards.",children:d.jsx("div",{className:"ant-picker-cell-inner",style:{color:"rgba(0, 0, 0, 0.25)",cursor:"not-allowed"},onClick:D,onMouseDown:D,onKeyDown:D,children:n.year()})}):c.originNode};return d.jsx(R,{picker:"year",cellRender:w,value:t,onChange:C})},M={title:"Components/Data Entry/Date Picker",component:R,args:{}},l={},i={render:()=>d.jsx(s,{})};i.parameters={docs:{source:{code:` import React from 'react'; import { DatePicker } from 'antd'; import dayjs, { Dayjs } from 'dayjs'; diff --git a/pr-preview/pr-459/assets/Descriptions.stories-BB5H47aJ.js b/pr-preview/pr-459/assets/Descriptions.stories-BepU203o.js similarity index 98% rename from pr-preview/pr-459/assets/Descriptions.stories-BB5H47aJ.js rename to pr-preview/pr-459/assets/Descriptions.stories-BepU203o.js index 3b014475f..0a694b74d 100644 --- a/pr-preview/pr-459/assets/Descriptions.stories-BB5H47aJ.js +++ b/pr-preview/pr-459/assets/Descriptions.stories-BepU203o.js @@ -1,4 +1,4 @@ -var ue=Object.defineProperty,be=Object.defineProperties;var xe=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable;var R=(a,t,s)=>t in a?ue(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s,n=(a,t)=>{for(var s in t||(t={}))ge.call(t,s)&&R(a,s,t[s]);if(j)for(var s of j(t))he.call(t,s)&&R(a,s,t[s]);return a},r=(a,t)=>be(a,xe(t));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{o as l,i as o,R as i,B as ye}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as D}from"./ExampleStory-DvwdaA9H.js";import{r as ke}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Me={title:"Components/Data Display/Descriptions",component:l,args:{bordered:!1,colon:!0,column:3,contentStyle:void 0,extra:void 0,items:[{label:"Item 1",children:"Value 1"},{label:"Item 2",children:"Value 2"},{label:"Item 3",children:"Value 3"}],labelStyle:void 0,layout:"horizontal",size:"default",title:void 0},argTypes:{size:{control:"select",options:["default","middle","small"]},layout:{control:"select",options:["horizontal","vertical"]}}},c={},d={args:{bordered:!0}},m={args:{layout:"vertical"}},p={args:{size:"small"}},u={args:{title:e.jsx(o,{children:"Custom React Component"})}},b={args:{extra:e.jsx(o,{type:"primary",children:"Extra React Components"})}},x={args:{title:e.jsx(o,{children:"Custom React Component"}),extra:e.jsx(o,{type:"primary",children:"Extra React Components"})}},g={args:{contentStyle:{color:"red"}}},h={args:{labelStyle:{fontWeight:"bold"}}},y={args:{column:{xs:8,sm:16,md:24}}},k={render:()=>{const a=[{key:"1",label:"Product",children:"Cloud Database"},{key:"2",label:"Billing Mode",children:"Prepaid"},{key:"3",label:"Automatic Renewal",children:"YES"},{key:"4",label:"Order time",children:"2018-04-24 18:00:00"},{key:"5",label:"Usage Time",children:"2019-04-24 18:00:00",span:2},{key:"6",label:"Status",children:e.jsx(ye,{status:"processing",text:"Running"}),span:3},{key:"7",label:"Negotiated Amount",children:"$80.00"},{key:"8",label:"Discount",children:"$20.00"},{key:"9",label:"Official Receipts",children:"$60.00"},{key:"10",label:"Config Info",children:e.jsxs(e.Fragment,{children:["Data disk type: MongoDB",e.jsx("br",{}),"Database version: 3.4",e.jsx("br",{}),"Package: dds.mongo.mid",e.jsx("br",{}),"Storage space: 10 GB",e.jsx("br",{}),"Replication factor: 3",e.jsx("br",{}),"Region: East China 1",e.jsx("br",{})]})}];return e.jsx(D,{title:"Descriptions with border and background color.",children:e.jsx(l,{title:"User Info",bordered:!0,items:a})})}},f={render:()=>{const a=[{key:"1",label:"Product",children:"Cloud Database"},{key:"2",label:"Billing",children:"Prepaid"},{key:"3",label:"Time",children:"18:00:00"},{key:"4",label:"Amount",children:"$80.00"},{key:"5",label:"Discount",children:"$20.00"},{key:"6",label:"Official",children:"$60.00"},{key:"7",label:"Config Info",children:e.jsxs(e.Fragment,{children:["Data disk type: MongoDB",e.jsx("br",{}),"Database version: 3.4",e.jsx("br",{}),"Package: dds.mongo.mid",e.jsx("br",{}),"Storage space: 10 GB",e.jsx("br",{}),"Replication factor: 3",e.jsx("br",{}),"Region: East China 1",e.jsx("br",{})]})}],t=[{key:"1",label:"Product",children:"Cloud Database"},{key:"2",label:"Billing",children:"Prepaid"},{key:"3",label:"Time",children:"18:00:00"},{key:"4",label:"Amount",children:"$80.00"},{key:"5",label:"Discount",children:"$20.00"},{key:"6",label:"Official",children:"$60.00"}],[s,me]=ke.useState("default"),pe=S=>{console.log("size checked",S.target.value),me(S.target.value)};return e.jsx(D,{title:"Custom sizes to fit in a variety of containers.",children:e.jsxs("div",{children:[e.jsxs(i.Group,{onChange:pe,value:s,children:[e.jsx(i,{value:"default",children:"default"}),e.jsx(i,{value:"middle",children:"middle"}),e.jsx(i,{value:"small",children:"small"})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l,{bordered:!0,title:"Custom Size",size:s,extra:e.jsx(o,{type:"primary",children:"Edit"}),items:a}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l,{title:"Custom Size",size:s,extra:e.jsx(o,{type:"primary",children:"Edit"}),items:t})]})})}},C={render:()=>{const a=[{label:"Product",children:"Cloud Database"},{label:"Billing",children:"Prepaid"},{label:"Time",children:"18:00:00"},{label:"Amount",children:"$80.00"},{label:"Discount",span:{xl:2,xxl:2},children:"$20.00"},{label:"Official",span:{xl:2,xxl:2},children:"$60.00"},{label:"Config Info",span:{xs:1,sm:2,md:3,lg:3,xl:2,xxl:2},children:e.jsxs(e.Fragment,{children:["Data disk type: MongoDB",e.jsx("br",{}),"Database version: 3.4",e.jsx("br",{}),"Package: dds.mongo.mid"]})},{label:"Hardware Info",span:{xs:1,sm:2,md:3,lg:3,xl:2,xxl:2},children:e.jsxs(e.Fragment,{children:["CPU: 6 Core 3.5 GHz",e.jsx("br",{}),"Storage space: 10 GB",e.jsx("br",{}),"Replication factor: 3",e.jsx("br",{}),"Region: East China 1"]})}];return e.jsx(D,{title:"Responsive configuration enables perfect presentation on small screen devices.",children:e.jsx(l,{title:"Responsive Descriptions",bordered:!0,column:{xs:1,sm:2,md:3,lg:3,xl:4,xxl:4},items:a})})}};var v,B,E;c.parameters=r(n({},c.parameters),{docs:r(n({},(v=c.parameters)==null?void 0:v.docs),{source:n({originalSource:"{}"},(E=(B=c.parameters)==null?void 0:B.docs)==null?void 0:E.source)})});var P,z,$;d.parameters=r(n({},d.parameters),{docs:r(n({},(P=d.parameters)==null?void 0:P.docs),{source:n({originalSource:`{ +var ue=Object.defineProperty,be=Object.defineProperties;var xe=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable;var R=(a,t,s)=>t in a?ue(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s,n=(a,t)=>{for(var s in t||(t={}))ge.call(t,s)&&R(a,s,t[s]);if(j)for(var s of j(t))he.call(t,s)&&R(a,s,t[s]);return a},r=(a,t)=>be(a,xe(t));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as l,l as o,R as i,B as ye}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as D}from"./ExampleStory-B-ilaOpY.js";import{r as ke}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Me={title:"Components/Data Display/Descriptions",component:l,args:{bordered:!1,colon:!0,column:3,contentStyle:void 0,extra:void 0,items:[{label:"Item 1",children:"Value 1"},{label:"Item 2",children:"Value 2"},{label:"Item 3",children:"Value 3"}],labelStyle:void 0,layout:"horizontal",size:"default",title:void 0},argTypes:{size:{control:"select",options:["default","middle","small"]},layout:{control:"select",options:["horizontal","vertical"]}}},c={},d={args:{bordered:!0}},m={args:{layout:"vertical"}},p={args:{size:"small"}},u={args:{title:e.jsx(o,{children:"Custom React Component"})}},b={args:{extra:e.jsx(o,{type:"primary",children:"Extra React Components"})}},x={args:{title:e.jsx(o,{children:"Custom React Component"}),extra:e.jsx(o,{type:"primary",children:"Extra React Components"})}},g={args:{contentStyle:{color:"red"}}},h={args:{labelStyle:{fontWeight:"bold"}}},y={args:{column:{xs:8,sm:16,md:24}}},k={render:()=>{const a=[{key:"1",label:"Product",children:"Cloud Database"},{key:"2",label:"Billing Mode",children:"Prepaid"},{key:"3",label:"Automatic Renewal",children:"YES"},{key:"4",label:"Order time",children:"2018-04-24 18:00:00"},{key:"5",label:"Usage Time",children:"2019-04-24 18:00:00",span:2},{key:"6",label:"Status",children:e.jsx(ye,{status:"processing",text:"Running"}),span:3},{key:"7",label:"Negotiated Amount",children:"$80.00"},{key:"8",label:"Discount",children:"$20.00"},{key:"9",label:"Official Receipts",children:"$60.00"},{key:"10",label:"Config Info",children:e.jsxs(e.Fragment,{children:["Data disk type: MongoDB",e.jsx("br",{}),"Database version: 3.4",e.jsx("br",{}),"Package: dds.mongo.mid",e.jsx("br",{}),"Storage space: 10 GB",e.jsx("br",{}),"Replication factor: 3",e.jsx("br",{}),"Region: East China 1",e.jsx("br",{})]})}];return e.jsx(D,{title:"Descriptions with border and background color.",children:e.jsx(l,{title:"User Info",bordered:!0,items:a})})}},f={render:()=>{const a=[{key:"1",label:"Product",children:"Cloud Database"},{key:"2",label:"Billing",children:"Prepaid"},{key:"3",label:"Time",children:"18:00:00"},{key:"4",label:"Amount",children:"$80.00"},{key:"5",label:"Discount",children:"$20.00"},{key:"6",label:"Official",children:"$60.00"},{key:"7",label:"Config Info",children:e.jsxs(e.Fragment,{children:["Data disk type: MongoDB",e.jsx("br",{}),"Database version: 3.4",e.jsx("br",{}),"Package: dds.mongo.mid",e.jsx("br",{}),"Storage space: 10 GB",e.jsx("br",{}),"Replication factor: 3",e.jsx("br",{}),"Region: East China 1",e.jsx("br",{})]})}],t=[{key:"1",label:"Product",children:"Cloud Database"},{key:"2",label:"Billing",children:"Prepaid"},{key:"3",label:"Time",children:"18:00:00"},{key:"4",label:"Amount",children:"$80.00"},{key:"5",label:"Discount",children:"$20.00"},{key:"6",label:"Official",children:"$60.00"}],[s,me]=ke.useState("default"),pe=S=>{console.log("size checked",S.target.value),me(S.target.value)};return e.jsx(D,{title:"Custom sizes to fit in a variety of containers.",children:e.jsxs("div",{children:[e.jsxs(i.Group,{onChange:pe,value:s,children:[e.jsx(i,{value:"default",children:"default"}),e.jsx(i,{value:"middle",children:"middle"}),e.jsx(i,{value:"small",children:"small"})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l,{bordered:!0,title:"Custom Size",size:s,extra:e.jsx(o,{type:"primary",children:"Edit"}),items:a}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l,{title:"Custom Size",size:s,extra:e.jsx(o,{type:"primary",children:"Edit"}),items:t})]})})}},C={render:()=>{const a=[{label:"Product",children:"Cloud Database"},{label:"Billing",children:"Prepaid"},{label:"Time",children:"18:00:00"},{label:"Amount",children:"$80.00"},{label:"Discount",span:{xl:2,xxl:2},children:"$20.00"},{label:"Official",span:{xl:2,xxl:2},children:"$60.00"},{label:"Config Info",span:{xs:1,sm:2,md:3,lg:3,xl:2,xxl:2},children:e.jsxs(e.Fragment,{children:["Data disk type: MongoDB",e.jsx("br",{}),"Database version: 3.4",e.jsx("br",{}),"Package: dds.mongo.mid"]})},{label:"Hardware Info",span:{xs:1,sm:2,md:3,lg:3,xl:2,xxl:2},children:e.jsxs(e.Fragment,{children:["CPU: 6 Core 3.5 GHz",e.jsx("br",{}),"Storage space: 10 GB",e.jsx("br",{}),"Replication factor: 3",e.jsx("br",{}),"Region: East China 1"]})}];return e.jsx(D,{title:"Responsive configuration enables perfect presentation on small screen devices.",children:e.jsx(l,{title:"Responsive Descriptions",bordered:!0,column:{xs:1,sm:2,md:3,lg:3,xl:4,xxl:4},items:a})})}};var v,B,E;c.parameters=r(n({},c.parameters),{docs:r(n({},(v=c.parameters)==null?void 0:v.docs),{source:n({originalSource:"{}"},(E=(B=c.parameters)==null?void 0:B.docs)==null?void 0:E.source)})});var P,z,$;d.parameters=r(n({},d.parameters),{docs:r(n({},(P=d.parameters)==null?void 0:P.docs),{source:n({originalSource:`{ args: { bordered: true } diff --git a/pr-preview/pr-459/assets/Directory-Br9jLzxm.js b/pr-preview/pr-459/assets/Directory-Br9jLzxm.js deleted file mode 100644 index e033f543d..000000000 --- a/pr-preview/pr-459/assets/Directory-Br9jLzxm.js +++ /dev/null @@ -1,2 +0,0 @@ -var d=Object.defineProperty,p=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var s=(t,n,e)=>n in t?d(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,o=(t,n)=>{for(var e in n||(n={}))a.call(n,e)&&s(t,e,n[e]);if(c)for(var e of c(n))h.call(n,e)&&s(t,e,n[e]);return t},i=(t,n)=>p(t,u(n));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as x}from"./index-BI4Okn8T.js";import"./index-CNk6hRaE.js";function m(t){const n=o(o({h1:"h1",p:"p"},x()),t.components);return r.jsxs(r.Fragment,{children:[r.jsx(n.h1,{id:"directory",children:"Directory"}),` -`,r.jsx(n.p,{children:"TBD"})]})}function M(t={}){const{wrapper:n}=o(o({},x()),t.components);return n?r.jsx(n,i(o({},t),{children:r.jsx(m,o({},t))})):m(t)}export{M as default}; diff --git a/pr-preview/pr-459/assets/Divider.stories-ocvyASRv.js b/pr-preview/pr-459/assets/Divider.stories-BD8lijIk.js similarity index 87% rename from pr-preview/pr-459/assets/Divider.stories-ocvyASRv.js rename to pr-preview/pr-459/assets/Divider.stories-BD8lijIk.js index 9e945569d..e89d12ad0 100644 --- a/pr-preview/pr-459/assets/Divider.stories-ocvyASRv.js +++ b/pr-preview/pr-459/assets/Divider.stories-BD8lijIk.js @@ -1,4 +1,4 @@ -var L=Object.defineProperty,R=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var u=(o,t,a)=>t in o?L(o,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[t]=a,r=(o,t)=>{for(var a in t||(t={}))q.call(t,a)&&u(o,a,t[a]);if(g)for(var a of g(t))w.call(t,a)&&u(o,a,t[a]);return o},e=(o,t)=>R(o,k(t));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{h as A}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const sr={title:"Components/Layout/Divider",component:o=>s.jsxs(s.Fragment,{children:[s.jsx("span",{children:"top text"}),s.jsx(A,r({},o)),s.jsx("span",{children:"bottom text"})]}),args:{children:"Divider Title",dashed:!1,orientation:"center",orientationMargin:void 0,plain:!0,style:void 0,type:"horizontal"},argTypes:{orientation:{control:"select",options:["left","right","center"]},type:{control:"select",options:["vertical","horizontal"]}}},i={},n={args:{dashed:!0}},c={args:{orientation:"right"}},p={args:{orientation:"left",orientationMargin:"20px"}},m={args:{plain:!1}},d={args:{style:{color:"red"}}},l={args:{type:"vertical"}};var h,y,x;i.parameters=e(r({},i.parameters),{docs:e(r({},(h=i.parameters)==null?void 0:h.docs),{source:r({originalSource:"{}"},(x=(y=i.parameters)==null?void 0:y.docs)==null?void 0:x.source)})});var v,f,S;n.parameters=e(r({},n.parameters),{docs:e(r({},(v=n.parameters)==null?void 0:v.docs),{source:r({originalSource:`{ +var F=Object.defineProperty,L=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var u=(o,t,a)=>t in o?F(o,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[t]=a,r=(o,t)=>{for(var a in t||(t={}))q.call(t,a)&&u(o,a,t[a]);if(g)for(var a of g(t))w.call(t,a)&&u(o,a,t[a]);return o},e=(o,t)=>L(o,R(t));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{k as A}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const sr={title:"Components/Layout/Divider",component:o=>s.jsxs(s.Fragment,{children:[s.jsx("span",{children:"top text"}),s.jsx(A,r({},o)),s.jsx("span",{children:"bottom text"})]}),args:{children:"Divider Title",dashed:!1,orientation:"center",orientationMargin:void 0,plain:!0,style:void 0,type:"horizontal"},argTypes:{orientation:{control:"select",options:["left","right","center"]},type:{control:"select",options:["vertical","horizontal"]}}},i={},n={args:{dashed:!0}},c={args:{orientation:"right"}},p={args:{orientation:"left",orientationMargin:"20px"}},m={args:{plain:!1}},d={args:{style:{color:"red"}}},l={args:{type:"vertical"}};var h,y,x;i.parameters=e(r({},i.parameters),{docs:e(r({},(h=i.parameters)==null?void 0:h.docs),{source:r({originalSource:"{}"},(x=(y=i.parameters)==null?void 0:y.docs)==null?void 0:x.source)})});var v,f,S;n.parameters=e(r({},n.parameters),{docs:e(r({},(v=n.parameters)==null?void 0:v.docs),{source:r({originalSource:`{ args: { dashed: true } @@ -21,8 +21,8 @@ var L=Object.defineProperty,R=Object.defineProperties;var k=Object.getOwnPropert color: 'red' } } -}`},(_=(V=d.parameters)==null?void 0:V.docs)==null?void 0:_.source)})});var b,C,F;l.parameters=e(r({},l.parameters),{docs:e(r({},(b=l.parameters)==null?void 0:b.docs),{source:r({originalSource:`{ +}`},(_=(V=d.parameters)==null?void 0:V.docs)==null?void 0:_.source)})});var b,k,C;l.parameters=e(r({},l.parameters),{docs:e(r({},(b=l.parameters)==null?void 0:b.docs),{source:r({originalSource:`{ args: { type: 'vertical' } -}`},(F=(C=l.parameters)==null?void 0:C.docs)==null?void 0:F.source)})});const ir=["Primary","Dashed","WithOrientation","WithOrientationMargin","NotPlain","WithStyle","VerticalDivider"];export{n as Dashed,m as NotPlain,i as Primary,l as VerticalDivider,c as WithOrientation,p as WithOrientationMargin,d as WithStyle,ir as __namedExportsOrder,sr as default}; +}`},(C=(k=l.parameters)==null?void 0:k.docs)==null?void 0:C.source)})});const ir=["Primary","Dashed","WithOrientation","WithOrientationMargin","NotPlain","WithStyle","VerticalDivider"];export{n as Dashed,m as NotPlain,i as Primary,l as VerticalDivider,c as WithOrientation,p as WithOrientationMargin,d as WithStyle,ir as __namedExportsOrder,sr as default}; diff --git a/pr-preview/pr-459/assets/DocsRenderer-K4EAMTCU-Cg1MDJWm.js b/pr-preview/pr-459/assets/DocsRenderer-K4EAMTCU-rQ2fHZLy.js similarity index 93% rename from pr-preview/pr-459/assets/DocsRenderer-K4EAMTCU-Cg1MDJWm.js rename to pr-preview/pr-459/assets/DocsRenderer-K4EAMTCU-rQ2fHZLy.js index 49e60d712..379925bc9 100644 --- a/pr-preview/pr-459/assets/DocsRenderer-K4EAMTCU-Cg1MDJWm.js +++ b/pr-preview/pr-459/assets/DocsRenderer-K4EAMTCU-rQ2fHZLy.js @@ -1,4 +1,4 @@ -var d=Object.defineProperty;var u=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var h=(t,r,e)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,i=(t,r)=>{for(var e in r||(r={}))x.call(r,e)&&h(t,e,r[e]);if(u)for(var e of u(r))_.call(r,e)&&h(t,e,r[e]);return t};var E=(t,r,e)=>new Promise((p,m)=>{var a=o=>{try{n(e.next(o))}catch(l){m(l)}},c=o=>{try{n(e.throw(o))}catch(l){m(l)}},n=o=>o.done?p(o.value):Promise.resolve(o.value).then(a,c);n((e=e.apply(t,r)).next())});import{_ as D}from"./iframe-CoIBAWfU.js";import{R as s,r as f}from"./index-CNk6hRaE.js";import{r as v,u as C}from"./react-18-CptRw6kM.js";import{e as M,A as R,H as g,D as w}from"./index-ZtHH_h5v.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";var y=i({code:M,a:R},g),A=class extends f.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:s.createElement(s.Fragment,null,r)}},G=class{constructor(){this.render=(t,r,e)=>E(this,null,function*(){let p=i(i({},y),r==null?void 0:r.components),m=w;return new Promise((a,c)=>{D(()=>import("./index-BI4Okn8T.js"),__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:n})=>v(s.createElement(A,{showException:c,key:Math.random()},s.createElement(n,{components:p},s.createElement(m,{context:t,docsParameter:r}))),e)).then(()=>a())})}),this.unmount=t=>{C(t)}}};export{G as DocsRenderer,y as defaultComponents}; +var d=Object.defineProperty;var u=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var h=(t,r,e)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,i=(t,r)=>{for(var e in r||(r={}))x.call(r,e)&&h(t,e,r[e]);if(u)for(var e of u(r))_.call(r,e)&&h(t,e,r[e]);return t};var E=(t,r,e)=>new Promise((p,m)=>{var a=o=>{try{n(e.next(o))}catch(l){m(l)}},c=o=>{try{n(e.throw(o))}catch(l){m(l)}},n=o=>o.done?p(o.value):Promise.resolve(o.value).then(a,c);n((e=e.apply(t,r)).next())});import{_ as D}from"./iframe-DsjYyBKh.js";import{R as s,r as f}from"./index-CNk6hRaE.js";import{r as v,u as C}from"./react-18-CptRw6kM.js";import{e as M,A as R,H as g,D as w}from"./index-Bf2yN5NY.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";var y=i({code:M,a:R},g),A=class extends f.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:s.createElement(s.Fragment,null,r)}},G=class{constructor(){this.render=(t,r,e)=>E(this,null,function*(){let p=i(i({},y),r==null?void 0:r.components),m=w;return new Promise((a,c)=>{D(()=>import("./index-BI4Okn8T.js"),__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:n})=>v(s.createElement(A,{showException:c,key:Math.random()},s.createElement(n,{components:p},s.createElement(m,{context:t,docsParameter:r}))),e)).then(()=>a())})}),this.unmount=t=>{C(t)}}};export{G as DocsRenderer,y as defaultComponents}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["./index-BI4Okn8T.js","./index-CNk6hRaE.js"] diff --git a/pr-preview/pr-459/assets/Documentation-DlMn0uwL.js b/pr-preview/pr-459/assets/Documentation-BXiS8QWG.js similarity index 85% rename from pr-preview/pr-459/assets/Documentation-DlMn0uwL.js rename to pr-preview/pr-459/assets/Documentation-BXiS8QWG.js index 6f8bbf2b1..2677a92b7 100644 --- a/pr-preview/pr-459/assets/Documentation-DlMn0uwL.js +++ b/pr-preview/pr-459/assets/Documentation-BXiS8QWG.js @@ -1,4 +1,4 @@ -var c=Object.defineProperty,x=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var n=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))h.call(t,r)&&n(o,r,t[r]);if(e)for(var r of e(t))f.call(t,r)&&n(o,r,t[r]);return o},p=(o,t)=>x(o,d(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as j,C as u}from"./index-ZtHH_h5v.js";import{a as M,m as l}from"./DatePicker.stories-DU0W2SK0.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function s(o){const t=m(m({h1:"h1",p:"p"},a()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(j,{of:M}),` +var c=Object.defineProperty,x=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var n=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))h.call(t,r)&&n(o,r,t[r]);if(e)for(var r of e(t))f.call(t,r)&&n(o,r,t[r]);return o},p=(o,t)=>x(o,d(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as j,C as u}from"./index-Bf2yN5NY.js";import{a as M,m as l}from"./DatePicker.stories-BGsdcwIW.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function s(o){const t=m(m({h1:"h1",p:"p"},a()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(j,{of:M}),` `,` `,i.jsx(t.h1,{id:"date-picker",children:"Date Picker"}),` `,i.jsx(t.p,{children:"This is the documentation for the date picker component"}),` diff --git a/pr-preview/pr-459/assets/Documentation-tm3oRy5-.js b/pr-preview/pr-459/assets/Documentation-B_W2e-p6.js similarity index 82% rename from pr-preview/pr-459/assets/Documentation-tm3oRy5-.js rename to pr-preview/pr-459/assets/Documentation-B_W2e-p6.js index 8437b7312..1acd97a44 100644 --- a/pr-preview/pr-459/assets/Documentation-tm3oRy5-.js +++ b/pr-preview/pr-459/assets/Documentation-B_W2e-p6.js @@ -1,4 +1,4 @@ -var a=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,i=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))j.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>x(o,h(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as u,C as d}from"./index-ZtHH_h5v.js";import{C,m as M}from"./Checkbox.stories-UWlJgggU.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./ExampleStory-DvwdaA9H.js";import"./index-C7MMNn6a.js";import"./index-TL6_15PV.js";function s(o){const t=i(i({h1:"h1",p:"p"},c()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(u,{of:C}),` +var a=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,i=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))j.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>x(o,h(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as u,C as d}from"./index-Bf2yN5NY.js";import{C,m as M}from"./Checkbox.stories-D2b-ELR1.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./ExampleStory-B-ilaOpY.js";import"./index-C7MMNn6a.js";import"./index-TL6_15PV.js";function s(o){const t=i(i({h1:"h1",p:"p"},c()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(u,{of:C}),` `,` `,m.jsx(t.h1,{id:"checkbox",children:"Checkbox"}),` `,m.jsx(t.p,{children:"This is the documentation for the checkbox component"}),` diff --git a/pr-preview/pr-459/assets/Documentation-HgDbldRl.js b/pr-preview/pr-459/assets/Documentation-BbO-wC7B.js similarity index 81% rename from pr-preview/pr-459/assets/Documentation-HgDbldRl.js rename to pr-preview/pr-459/assets/Documentation-BbO-wC7B.js index 124caeee8..10a095683 100644 --- a/pr-preview/pr-459/assets/Documentation-HgDbldRl.js +++ b/pr-preview/pr-459/assets/Documentation-BbO-wC7B.js @@ -1,4 +1,4 @@ -var c=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,i=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))j.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>x(o,h(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as u,C as d}from"./index-ZtHH_h5v.js";import{T as M,m as g}from"./Tag.stories-joARciTI.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./ExampleStory-DvwdaA9H.js";import"./index-C7MMNn6a.js";import"./index-TL6_15PV.js";function s(o){const t=i(i({h1:"h1",p:"p"},a()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(u,{of:M}),` +var c=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,i=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))j.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>x(o,h(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as u,C as d}from"./index-Bf2yN5NY.js";import{T as M,m as g}from"./Tag.stories-myywVqwT.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./ExampleStory-B-ilaOpY.js";import"./index-C7MMNn6a.js";import"./index-TL6_15PV.js";function s(o){const t=i(i({h1:"h1",p:"p"},a()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(u,{of:M}),` `,` `,m.jsx(t.h1,{id:"tag",children:"Tag"}),` `,m.jsx(t.p,{children:"This is the documentation for the tags component"}),` diff --git a/pr-preview/pr-459/assets/Documentation-C20_BiBv.js b/pr-preview/pr-459/assets/Documentation-C20_BiBv.js deleted file mode 100644 index d40375135..000000000 --- a/pr-preview/pr-459/assets/Documentation-C20_BiBv.js +++ /dev/null @@ -1,35 +0,0 @@ -var h=Object.defineProperty,c=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var l=(i,e,t)=>e in i?h(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,a=(i,e)=>{for(var t in e||(e={}))m.call(e,t)&&l(i,t,e[t]);if(r)for(var t of r(e))x.call(e,t)&&l(i,t,e[t]);return i},s=(i,e)=>c(i,p(e));import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as d}from"./index-BI4Okn8T.js";import"./index-ZtHH_h5v.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";function o(i){const e=a(a({a:"a",h1:"h1",h4:"h4",h5:"h5",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul"},d()),i.components);return n.jsxs(n.Fragment,{children:[` -`,` -`,` -`,n.jsx(e.h1,{id:"table",children:"Table"}),` -`,n.jsx(e.h4,{id:"overview",children:"Overview"}),` -`,n.jsx(e.p,{children:"Tables present and organize data in a structured, readable format, ranging from basic displays to complex interfaces that support queries and data manipulation."}),` -`,n.jsx(e.h4,{id:"basic-table",children:"Basic Table"}),` -`,n.jsx(e.h5,{id:"header",children:"Header"}),` -`,n.jsx(e.p,{children:"A typical table header contains column titles that describe the data in each column. It includes functionality for sorting columns and may feature help icons with tooltips to provide additional information on each column’s purpose."}),` -`,n.jsx(e.h5,{id:"pagination",children:"Pagination"}),` -`,n.jsx(e.p,{children:"Use pagination in tables to improve performance and reduce load times by fetching only the data needed for the current page."}),` -`,n.jsx(e.h5,{id:"cell-types",children:"Cell Types"}),` -`,n.jsx(e.p,{children:"Table cells support various formats and are designed to display data in clear, readable ways."}),` -`,n.jsxs(e.ul,{children:[` -`,n.jsx(e.li,{children:"Numbers (Coming Soon)"}),` -`,n.jsx(e.li,{children:"Date / Time (Coming Soon)"}),` -`,n.jsx(e.li,{children:"CTA Buttons (Coming Soon)"}),` -`,n.jsx(e.li,{children:"Status Badges (Coming Soon)"}),` -`,n.jsx(e.li,{children:"Links (Coming Soon)"}),` -`,n.jsx(e.li,{children:"Tags (Coming Soon)"}),` -`,n.jsx(e.li,{children:"More Actions (Coming Soon)"}),` -`]}),` -`,n.jsx(e.p,{children:n.jsx(e.a,{href:"#link",children:"View Example"})}),` -`,n.jsx(e.h4,{id:"tables-with-filters",children:"Tables with Filters"}),` -`,n.jsx(e.p,{children:"Filters help users refine large datasets within tables. The mParticle table supports a range of filter types, including:"}),` -`,n.jsxs(e.ul,{children:[` -`,n.jsx(e.li,{children:n.jsx(e.a,{href:"#link-to-search",children:"Search"})}),` -`,n.jsx(e.li,{children:n.jsx(e.a,{href:"#link-to-daterange",children:"Date Range filters"})}),` -`,n.jsx(e.li,{children:n.jsx(e.a,{href:"#link-to-basic-filters",children:"Basic Filters"})}),` -`,n.jsx(e.li,{children:n.jsx(e.a,{href:"#link-to-apply-button-filters",children:"Filters with an Apply button"})}),` -`]}),` -`,n.jsx(e.h4,{id:"related-links",children:"Related Links"}),` -`,n.jsxs(e.table,{children:[n.jsx(e.thead,{children:n.jsxs(e.tr,{children:[n.jsx(e.th,{children:"Type"}),n.jsx(e.th,{children:"Resource"})]})}),n.jsx(e.tbody,{children:n.jsxs(e.tr,{children:[n.jsx(e.td,{children:"Eames"}),n.jsx(e.td,{children:n.jsx(e.a,{href:"https://www.figma.com/design/yCPszaTtkCFxRHaSkkJFR9/Eames-Templates-%5BInternal%5D?node-id=2114-9632&node-type=frame&t=Aa9XxcKyme3ud4cb-0",rel:"nofollow",children:"Figma Templates"})})]})})]}),` -`,n.jsx(e.h4,{id:"example-basic-table-image-to-be-changed",children:"Example basic table image (To be changed)"}),` -`,n.jsx("img",{src:"images/basic-table.png"})]})}function A(i={}){const{wrapper:e}=a(a({},d()),i.components);return e?n.jsx(e,s(a({},i),{children:n.jsx(o,a({},i))})):o(i)}export{A as default}; diff --git a/pr-preview/pr-459/assets/Documentation-D8aXKEi9.js b/pr-preview/pr-459/assets/Documentation-Cmsskmcj.js similarity index 84% rename from pr-preview/pr-459/assets/Documentation-D8aXKEi9.js rename to pr-preview/pr-459/assets/Documentation-Cmsskmcj.js index ee976d143..8c05eba29 100644 --- a/pr-preview/pr-459/assets/Documentation-D8aXKEi9.js +++ b/pr-preview/pr-459/assets/Documentation-Cmsskmcj.js @@ -1,4 +1,4 @@ -var a=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var n=(o,t,r)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,e=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&n(o,r,t[r]);if(i)for(var r of i(t))j.call(t,r)&&n(o,r,t[r]);return o},p=(o,t)=>x(o,h(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as l,C as u}from"./index-ZtHH_h5v.js";import{S as d,m as M}from"./Select.stories-DiBrDQ-h.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function s(o){const t=e(e({h1:"h1",p:"p"},c()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(l,{of:d}),` +var a=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var n=(o,t,r)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,e=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&n(o,r,t[r]);if(i)for(var r of i(t))j.call(t,r)&&n(o,r,t[r]);return o},p=(o,t)=>x(o,h(t));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as l,C as u}from"./index-Bf2yN5NY.js";import{S as d,m as M}from"./Select.stories-CHNRuGV7.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function s(o){const t=e(e({h1:"h1",p:"p"},c()),o.components);return m.jsxs(m.Fragment,{children:[m.jsx(l,{of:d}),` `,` `,m.jsx(t.h1,{id:"select",children:"Select"}),` `,m.jsx(t.p,{children:"This is the documentation for the select component"}),` diff --git a/pr-preview/pr-459/assets/Documentation-DnMNzxVF.js b/pr-preview/pr-459/assets/Documentation-Dpp7mU5w.js similarity index 81% rename from pr-preview/pr-459/assets/Documentation-DnMNzxVF.js rename to pr-preview/pr-459/assets/Documentation-Dpp7mU5w.js index a155f2778..d8fe6e8d4 100644 --- a/pr-preview/pr-459/assets/Documentation-DnMNzxVF.js +++ b/pr-preview/pr-459/assets/Documentation-Dpp7mU5w.js @@ -1,4 +1,4 @@ -var c=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))j.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>x(o,h(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as l,C as u}from"./index-ZtHH_h5v.js";import{T as d,m as M}from"./Tooltip.stories-CqgkmmZ4.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./ExampleStory-DvwdaA9H.js";function s(o){const t=m(m({h1:"h1",p:"p"},a()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(l,{of:d}),` +var c=Object.defineProperty,x=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var p=(o,t,r)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(o,r,t[r]);if(n)for(var r of n(t))j.call(t,r)&&p(o,r,t[r]);return o},e=(o,t)=>x(o,h(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as l,C as u}from"./index-Bf2yN5NY.js";import{T as d,m as M}from"./Tooltip.stories-3xZ2PUuc.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./ExampleStory-B-ilaOpY.js";function s(o){const t=m(m({h1:"h1",p:"p"},a()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(l,{of:d}),` `,` `,i.jsx(t.h1,{id:"tooltip",children:"Tooltip"}),` `,i.jsx(t.p,{children:"This is the documentation for the tooltip component"}),` diff --git a/pr-preview/pr-459/assets/Documentation-BCV-_XDh.js b/pr-preview/pr-459/assets/Documentation-DwycGFyh.js similarity index 91% rename from pr-preview/pr-459/assets/Documentation-BCV-_XDh.js rename to pr-preview/pr-459/assets/Documentation-DwycGFyh.js index 6aadee08b..2508b3167 100644 --- a/pr-preview/pr-459/assets/Documentation-BCV-_XDh.js +++ b/pr-preview/pr-459/assets/Documentation-DwycGFyh.js @@ -1,4 +1,4 @@ -var d=Object.defineProperty,m=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var o=(r,e,n)=>e in r?d(r,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[e]=n,i=(r,e)=>{for(var n in e||(e={}))h.call(e,n)&&o(r,n,e[n]);if(s)for(var n of s(e))g.call(e,n)&&o(r,n,e[n]);return r},a=(r,e)=>m(r,p(e));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as x,d as j}from"./index-ZtHH_h5v.js";import{S as b,D as u}from"./SelectWithRangePicker.stories-TBdBX_XP.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./SelectWithRangePicker-Ce7dTWwR.js";import"./dayjs.min-KGLNs1IR.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./customParseFormat-oYt9ov06.js";import"./index-C7MMNn6a.js";import"./index-TL6_15PV.js";function l(r){const e=i(i({a:"a",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul"},c()),r.components);return t.jsxs(t.Fragment,{children:[t.jsx(x,{of:b}),` +var d=Object.defineProperty,m=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var o=(r,e,n)=>e in r?d(r,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[e]=n,i=(r,e)=>{for(var n in e||(e={}))h.call(e,n)&&o(r,n,e[n]);if(s)for(var n of s(e))g.call(e,n)&&o(r,n,e[n]);return r},a=(r,e)=>m(r,p(e));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{M as x,d as j}from"./index-Bf2yN5NY.js";import{S as b,D as u}from"./SelectWithRangePicker.stories-zZF_fmuw.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./SelectWithRangePicker-CdqsmbpZ.js";import"./dayjs.min-KGLNs1IR.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./customParseFormat-oYt9ov06.js";import"./index-C7MMNn6a.js";import"./index-TL6_15PV.js";function l(r){const e=i(i({a:"a",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul"},c()),r.components);return t.jsxs(t.Fragment,{children:[t.jsx(x,{of:b}),` `,t.jsx(e.h1,{id:"date-range-filter",children:"Date Range Filter"}),` `,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Overview"})}),` `,t.jsx(e.p,{children:`The Date Range Filter is used when a user needs to narrow down the dataset they are working with to a specific date diff --git a/pr-preview/pr-459/assets/Documentation-12LMkJnT.js b/pr-preview/pr-459/assets/Documentation-VjjlrjXW.js similarity index 84% rename from pr-preview/pr-459/assets/Documentation-12LMkJnT.js rename to pr-preview/pr-459/assets/Documentation-VjjlrjXW.js index 13618aaee..1c0056042 100644 --- a/pr-preview/pr-459/assets/Documentation-12LMkJnT.js +++ b/pr-preview/pr-459/assets/Documentation-VjjlrjXW.js @@ -1,4 +1,4 @@ -var c=Object.defineProperty,d=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var p=(o,t,m)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:m}):o[t]=m,i=(o,t)=>{for(var m in t||(t={}))h.call(t,m)&&p(o,m,t[m]);if(n)for(var m of n(t))f.call(t,m)&&p(o,m,t[m]);return o},e=(o,t)=>d(o,x(t));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as j,C as l}from"./index-ZtHH_h5v.js";import{M as u,m as M}from"./Modal.stories-BVK542WL.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function s(o){const t=i(i({h1:"h1",p:"p"},a()),o.components);return r.jsxs(r.Fragment,{children:[r.jsx(j,{of:u}),` +var c=Object.defineProperty,d=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var p=(o,t,m)=>t in o?c(o,t,{enumerable:!0,configurable:!0,writable:!0,value:m}):o[t]=m,i=(o,t)=>{for(var m in t||(t={}))h.call(t,m)&&p(o,m,t[m]);if(n)for(var m of n(t))f.call(t,m)&&p(o,m,t[m]);return o},e=(o,t)=>d(o,x(t));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{M as j,C as l}from"./index-Bf2yN5NY.js";import{M as u,m as M}from"./Modal.stories-CXPurOPr.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function s(o){const t=i(i({h1:"h1",p:"p"},a()),o.components);return r.jsxs(r.Fragment,{children:[r.jsx(j,{of:u}),` `,` `,r.jsx(t.h1,{id:"modal",children:"Modal"}),` `,r.jsx(t.p,{children:"This is the documentation for the modal component"}),` diff --git a/pr-preview/pr-459/assets/Drawer.stories-CqlbI9dG.js b/pr-preview/pr-459/assets/Drawer.stories-CqlbI9dG.js deleted file mode 100644 index 7b769046e..000000000 --- a/pr-preview/pr-459/assets/Drawer.stories-CqlbI9dG.js +++ /dev/null @@ -1 +0,0 @@ -var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&a(t,o,r[o]);if(i)for(var o of i(r))g.call(r,o)&&a(t,o,r[o]);return t},e=(t,r)=>u(t,l(r));import{$ as w}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Feedback/Drawer",component:w,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const A=["Primary"];export{p as Primary,A as __namedExportsOrder,z as default}; diff --git a/pr-preview/pr-459/assets/Drawer.stories-Erikp2qS.js b/pr-preview/pr-459/assets/Drawer.stories-Erikp2qS.js new file mode 100644 index 000000000..6f7615f01 --- /dev/null +++ b/pr-preview/pr-459/assets/Drawer.stories-Erikp2qS.js @@ -0,0 +1 @@ +var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var i=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&i(t,o,r[o]);if(a)for(var o of a(r))g.call(r,o)&&i(t,o,r[o]);return t},e=(t,r)=>u(t,l(r));import{a1 as w}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Feedback/Drawer",component:w,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/Dropdown.stories-DwNdfO5v.js b/pr-preview/pr-459/assets/Dropdown.stories-BF08CEty.js similarity index 99% rename from pr-preview/pr-459/assets/Dropdown.stories-DwNdfO5v.js rename to pr-preview/pr-459/assets/Dropdown.stories-BF08CEty.js index 3a85e4203..687a9f059 100644 --- a/pr-preview/pr-459/assets/Dropdown.stories-DwNdfO5v.js +++ b/pr-preview/pr-459/assets/Dropdown.stories-BF08CEty.js @@ -1,4 +1,4 @@ -var sn=Object.defineProperty,mn=Object.defineProperties;var cn=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var dn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable;var z=(t,a,l)=>a in t?sn(t,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[a]=l,n=(t,a)=>{for(var l in a||(a={}))dn.call(a,l)&&z(t,l,a[l]);if(W)for(var l of W(a))pn.call(a,l)&&z(t,l,a[l]);return t},r=(t,a)=>mn(t,cn(a));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as G}from"./index-CNk6hRaE.js";import{af as o,i as s,b as c,I as m,h as un,d as hn,e as wn}from"./GlobalNavigation-CPQMp-rl.js";import{E as p}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{t as ln}from"./index-C9GZCUSR.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const bn={items:[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com",children:"2nd menu item (disabled)"}),icon:e.jsx(m,{name:"alicorn"}),disabled:!0},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com",children:"3rd menu item (disabled)"}),disabled:!0},{key:"4",danger:!0,label:"a danger item"}]},Mn={title:"Components/Navigation/Dropdown",component:o,args:{children:"normal",menu:bn,arrow:!1,autoAdjustOverflow:!0,autoFocus:!1,disabled:!1,destroyPopupOnHide:!1,dropdownRender:void 0,overlayClassName:void 0,overlayStyle:void 0,placement:"bottomLeft",trigger:["hover"]},argTypes:{children:{options:["normal"],mapping:{normal:e.jsx(s,{children:"Dropdown Copy"})}},placement:{control:"select",options:["bottom","bottomLeft","bottomRight","top","topLeft","topRight"]}}},w={},b={args:{arrow:!0}},g={args:{disabled:!0}},y={args:{dropdownRender:t=>e.jsx("div",{children:" Custom Components Go Here"})}},k={args:{autoAdjustOverflow:!1}},x={args:{destroyPopupOnHide:!0}},f={args:{overlayStyle:{color:"red"}}},j={args:{placement:"topRight"}},S={args:{trigger:["click"]}},C={args:{open:!0}},D={args:{onOpenChange:(t,a)=>{alert("Dropdown Open: "+t)}}},B={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item (disabled)"}),icon:e.jsx(m,{name:"alicorn"}),disabled:!0},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item (disabled)"}),disabled:!0},{key:"4",danger:!0,label:"a danger item"}];return e.jsx(p,{title:"The most basic dropdown menu.",children:e.jsx(o,{menu:{items:t},children:e.jsx("a",{onClick:a=>{a.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}},v={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"})},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item"})}];return e.jsx(p,{title:"Support 6 placements.",children:e.jsxs(c,{direction:"vertical",children:[e.jsxs(c,{wrap:!0,children:[e.jsx(o,{menu:{items:t},placement:"bottomLeft",children:e.jsx(s,{children:"bottomLeft"})}),e.jsx(o,{menu:{items:t},placement:"bottom",children:e.jsx(s,{children:"bottom"})}),e.jsx(o,{menu:{items:t},placement:"bottomRight",children:e.jsx(s,{children:"bottomRight"})})]}),e.jsxs(c,{wrap:!0,children:[e.jsx(o,{menu:{items:t},placement:"topLeft",children:e.jsx(s,{children:"topLeft"})}),e.jsx(o,{menu:{items:t},placement:"top",children:e.jsx(s,{children:"top"})}),e.jsx(o,{menu:{items:t},placement:"topRight",children:e.jsx(s,{children:"topRight"})})]})]})})}},E={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"})},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item"})}];return e.jsxs(p,{title:"You could display an arrow.",children:[e.jsx(o,{menu:{items:t},placement:"bottomLeft",arrow:!0,children:e.jsx(s,{children:"bottomLeft"})}),e.jsx(o,{menu:{items:t},placement:"bottom",arrow:!0,children:e.jsx(s,{children:"bottom"})}),e.jsx(o,{menu:{items:t},placement:"bottomRight",arrow:!0,children:e.jsx(s,{children:"bottomRight"})}),e.jsx("br",{}),e.jsx(o,{menu:{items:t},placement:"topLeft",arrow:!0,children:e.jsx(s,{children:"topLeft"})}),e.jsx(o,{menu:{items:t},placement:"top",arrow:!0,children:e.jsx(s,{children:"top"})}),e.jsx(o,{menu:{items:t},placement:"topRight",arrow:!0,children:e.jsx(s,{children:"topRight"})})]})}},L={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"})},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item"})}];return e.jsxs(p,{title:"By specifying arrow prop with { pointAtCenter: true }, the arrow will point to the center of the target element.",children:[e.jsx(o,{menu:{items:t},placement:"bottomLeft",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"bottomLeft"})}),e.jsx(o,{menu:{items:t},placement:"bottom",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"bottom"})}),e.jsx(o,{menu:{items:t},placement:"bottomRight",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"bottomRight"})}),e.jsx("br",{}),e.jsx(o,{menu:{items:t},placement:"topLeft",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"topLeft"})}),e.jsx(o,{menu:{items:t},placement:"top",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"top"})}),e.jsx(o,{menu:{items:t},placement:"topRight",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"topRight"})})]})}},R={render:()=>{const t=({key:l})=>{alert(`Click on item ${l}`)},a=[{label:"1st menu item",key:"1"},{label:"2nd menu item",key:"2"},{label:"3rd menu item",key:"3"}];return e.jsx(p,{title:"An event will be triggered when you click menu items, in which you can make different operations according to item's key.",children:e.jsx(o,{menu:{items:a,onClick:t},children:e.jsx("a",{onClick:l=>{l.preventDefault()},children:e.jsxs(c,{children:["Hover me, Click menu item",e.jsx(m,{name:"alicorn"})]})})})})}},P={render:()=>{const{useToken:t}=ln,a=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item (disabled)"}),disabled:!0},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item (disabled)"}),disabled:!0}],{token:l}=t(),d={backgroundColor:l.colorBgElevated,borderRadius:l.borderRadiusLG,boxShadow:l.boxShadowSecondary},u={boxShadow:"none"};return e.jsx(p,{title:"Customize the dropdown menu via dropdownRender. If you don't need the Menu content, use the Popover component directly.",children:e.jsx(o,{menu:{items:a},dropdownRender:i=>e.jsxs("div",{style:d,children:[G.cloneElement(i,{style:u}),e.jsx(un,{style:{margin:0}}),e.jsx(c,{style:{padding:8},children:e.jsx(s,{type:"primary",children:"Click me!"})})]}),children:e.jsx("a",{onClick:i=>{i.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}},_={render:()=>{const[t,a]=G.useState(!1),l=i=>{i.key==="3"&&a(!1)},d=(i,h)=>{(h.source==="trigger"||i)&&a(i)},u=[{label:"Clicking me will not close the menu.",key:"1"},{label:"Clicking me will not close the menu also.",key:"2"},{label:"Clicking me will close the menu.",key:"3"}];return e.jsx(p,{title:"The default is to close the menu when you click on menu items, this feature can be turned off.",children:e.jsx(o,{menu:{items:u,onClick:l},onOpenChange:d,open:t,children:e.jsx("a",{onClick:i=>{i.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}},A={render:()=>{const t=[{label:"Submit and continue",key:"1"}],[a,l]=G.useState([]),d=u=>{l(i=>{const h=[...i];return h[u]=!0,h}),setTimeout(()=>{l(i=>{const h=[...i];return h[u]=!1,h})},2e3)};return e.jsx(p,{title:"A loading indicator can be added to a button by setting the loading property on the Dropdown.Button.",children:e.jsxs(c,{direction:"vertical",children:[e.jsx(o.Button,{type:"primary",loading:!0,menu:{items:t},children:"Submit"}),e.jsx(o.Button,{type:"primary",size:"small",loading:!0,menu:{items:t},children:"Submit"}),e.jsx(o.Button,{type:"primary",loading:a[0],menu:{items:t},onClick:()=>{d(0)},children:"Submit"}),e.jsx(o.Button,{icon:e.jsx(m,{name:"alicorn"}),loading:a[1],menu:{items:t},onClick:()=>{d(1)},children:"Submit"})]})})}},O={render:()=>{const t=[{key:"1",label:"Item 1"},{key:"2",label:"Item 2"},{key:"3",label:"Item 3"}];return e.jsx(p,{title:"Configure the selectable property in menu to enable selectability.",children:e.jsx(o,{menu:{items:t,selectable:!0,defaultSelectedKeys:["3"]},children:e.jsx(hn.Link,{children:e.jsxs(c,{children:["Selectable",e.jsx(m,{name:"alicorn"})]})})})})}},T={render:()=>{const t=[{label:"1st menu item",key:"1"},{label:"2nd menu item",key:"2"},{label:"3rd menu item",key:"3"}],{token:{colorBgLayout:a,colorTextTertiary:l}}=ln.useToken();return e.jsx(p,{title:"The default trigger mode is hover, you can change it to contextMenu. The pop-up menu position will follow the right-click position.",children:e.jsx(o,{menu:{items:t},trigger:["contextMenu"],children:e.jsx("div",{style:{color:l,background:a,height:200,textAlign:"center",lineHeight:"200px"},children:"Right Click on here"})})})}},M={render:()=>{const t=[{key:"1",type:"group",label:"Group title",children:[{key:"1-1",label:"1st menu item"},{key:"1-2",label:"2nd menu item"}]},{key:"2",label:"sub menu",children:[{key:"2-1",label:"3rd menu item"},{key:"2-2",label:"4th menu item"}]},{key:"3",label:"disabled sub menu",disabled:!0,children:[{key:"3-1",label:"5d menu item"},{key:"3-2",label:"6th menu item"}]}];return e.jsx(p,{title:"The menu has multiple levels.",children:e.jsx(o,{menu:{items:t},children:e.jsx("a",{onClick:a=>{a.preventDefault()},children:e.jsxs(c,{children:["Cascading menu",e.jsx(m,{name:"alicorn"})]})})})})}},I={render:()=>{const t=u=>{alert("Click on left button."),console.log("click left button",u)},a=u=>{alert("Click on menu item."),console.log("click",u)},d={items:[{label:"1st menu item",key:"1",icon:e.jsx(m,{name:"users"})},{label:"2nd menu item",key:"2",icon:e.jsx(m,{name:"users"})},{label:"3rd menu item",key:"3",icon:e.jsx(m,{name:"users"}),danger:!0},{label:"4rd menu item",key:"4",icon:e.jsx(m,{name:"users"}),danger:!0,disabled:!0}],onClick:a};return e.jsx(p,{title:"A button is on the left, and a related functional menu is on the right. You can set the icon property to modify the icon of right.",children:e.jsxs(c,{wrap:!0,children:[e.jsx(o.Button,{menu:d,onClick:t,children:"Dropdown"}),e.jsx(o.Button,{menu:d,placement:"bottom",icon:e.jsx(m,{name:"users"}),children:"Dropdown"}),e.jsx(o.Button,{menu:d,onClick:t,disabled:!0,children:"Dropdown"}),e.jsx(o.Button,{menu:d,buttonsRender:([u,i])=>[e.jsx(wn,{title:"tooltip",children:u},"leftButton"),G.cloneElement(i,{loading:!0})],children:"With Tooltip"}),e.jsx(o,{menu:d,children:e.jsx(s,{children:e.jsxs(c,{children:["Button",e.jsx(m,{name:"alicorn"})]})})}),e.jsx(o.Button,{menu:d,onClick:t,danger:!0,children:"Danger"})]})})}},H={render:()=>{const t=[{label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"}),key:"0"},{label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"}),key:"1"},{type:"divider"},{label:"3rd menu item(disabled)",key:"3",disabled:!0}];return e.jsx(p,{title:"Divider and disabled menu item.",children:e.jsx(o,{menu:{items:t},children:e.jsx("a",{onClick:a=>{a.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}};var F,N,Y;w.parameters=r(n({},w.parameters),{docs:r(n({},(F=w.parameters)==null?void 0:F.docs),{source:n({originalSource:"{}"},(Y=(N=w.parameters)==null?void 0:N.docs)==null?void 0:Y.source)})});var K,$,q;b.parameters=r(n({},b.parameters),{docs:r(n({},(K=b.parameters)==null?void 0:K.docs),{source:n({originalSource:`{ +var sn=Object.defineProperty,mn=Object.defineProperties;var cn=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var dn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable;var z=(t,a,l)=>a in t?sn(t,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[a]=l,n=(t,a)=>{for(var l in a||(a={}))dn.call(a,l)&&z(t,l,a[l]);if(W)for(var l of W(a))pn.call(a,l)&&z(t,l,a[l]);return t},r=(t,a)=>mn(t,cn(a));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as G}from"./index-CNk6hRaE.js";import{ah as o,l as s,b as c,I as m,k as un,d as hn,e as wn}from"./GlobalNavigation-DT_tPK9g.js";import{E as p}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{t as ln}from"./index-C9GZCUSR.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const bn={items:[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com",children:"2nd menu item (disabled)"}),icon:e.jsx(m,{name:"alicorn"}),disabled:!0},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.google.com",children:"3rd menu item (disabled)"}),disabled:!0},{key:"4",danger:!0,label:"a danger item"}]},Mn={title:"Components/Navigation/Dropdown",component:o,args:{children:"normal",menu:bn,arrow:!1,autoAdjustOverflow:!0,autoFocus:!1,disabled:!1,destroyPopupOnHide:!1,dropdownRender:void 0,overlayClassName:void 0,overlayStyle:void 0,placement:"bottomLeft",trigger:["hover"]},argTypes:{children:{options:["normal"],mapping:{normal:e.jsx(s,{children:"Dropdown Copy"})}},placement:{control:"select",options:["bottom","bottomLeft","bottomRight","top","topLeft","topRight"]}}},w={},b={args:{arrow:!0}},g={args:{disabled:!0}},y={args:{dropdownRender:t=>e.jsx("div",{children:" Custom Components Go Here"})}},k={args:{autoAdjustOverflow:!1}},x={args:{destroyPopupOnHide:!0}},f={args:{overlayStyle:{color:"red"}}},j={args:{placement:"topRight"}},S={args:{trigger:["click"]}},C={args:{open:!0}},D={args:{onOpenChange:(t,a)=>{alert("Dropdown Open: "+t)}}},B={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item (disabled)"}),icon:e.jsx(m,{name:"alicorn"}),disabled:!0},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item (disabled)"}),disabled:!0},{key:"4",danger:!0,label:"a danger item"}];return e.jsx(p,{title:"The most basic dropdown menu.",children:e.jsx(o,{menu:{items:t},children:e.jsx("a",{onClick:a=>{a.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}},v={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"})},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item"})}];return e.jsx(p,{title:"Support 6 placements.",children:e.jsxs(c,{direction:"vertical",children:[e.jsxs(c,{wrap:!0,children:[e.jsx(o,{menu:{items:t},placement:"bottomLeft",children:e.jsx(s,{children:"bottomLeft"})}),e.jsx(o,{menu:{items:t},placement:"bottom",children:e.jsx(s,{children:"bottom"})}),e.jsx(o,{menu:{items:t},placement:"bottomRight",children:e.jsx(s,{children:"bottomRight"})})]}),e.jsxs(c,{wrap:!0,children:[e.jsx(o,{menu:{items:t},placement:"topLeft",children:e.jsx(s,{children:"topLeft"})}),e.jsx(o,{menu:{items:t},placement:"top",children:e.jsx(s,{children:"top"})}),e.jsx(o,{menu:{items:t},placement:"topRight",children:e.jsx(s,{children:"topRight"})})]})]})})}},E={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"})},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item"})}];return e.jsxs(p,{title:"You could display an arrow.",children:[e.jsx(o,{menu:{items:t},placement:"bottomLeft",arrow:!0,children:e.jsx(s,{children:"bottomLeft"})}),e.jsx(o,{menu:{items:t},placement:"bottom",arrow:!0,children:e.jsx(s,{children:"bottom"})}),e.jsx(o,{menu:{items:t},placement:"bottomRight",arrow:!0,children:e.jsx(s,{children:"bottomRight"})}),e.jsx("br",{}),e.jsx(o,{menu:{items:t},placement:"topLeft",arrow:!0,children:e.jsx(s,{children:"topLeft"})}),e.jsx(o,{menu:{items:t},placement:"top",arrow:!0,children:e.jsx(s,{children:"top"})}),e.jsx(o,{menu:{items:t},placement:"topRight",arrow:!0,children:e.jsx(s,{children:"topRight"})})]})}},L={render:()=>{const t=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"})},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item"})}];return e.jsxs(p,{title:"By specifying arrow prop with { pointAtCenter: true }, the arrow will point to the center of the target element.",children:[e.jsx(o,{menu:{items:t},placement:"bottomLeft",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"bottomLeft"})}),e.jsx(o,{menu:{items:t},placement:"bottom",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"bottom"})}),e.jsx(o,{menu:{items:t},placement:"bottomRight",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"bottomRight"})}),e.jsx("br",{}),e.jsx(o,{menu:{items:t},placement:"topLeft",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"topLeft"})}),e.jsx(o,{menu:{items:t},placement:"top",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"top"})}),e.jsx(o,{menu:{items:t},placement:"topRight",arrow:{pointAtCenter:!0},children:e.jsx(s,{children:"topRight"})})]})}},R={render:()=>{const t=({key:l})=>{alert(`Click on item ${l}`)},a=[{label:"1st menu item",key:"1"},{label:"2nd menu item",key:"2"},{label:"3rd menu item",key:"3"}];return e.jsx(p,{title:"An event will be triggered when you click menu items, in which you can make different operations according to item's key.",children:e.jsx(o,{menu:{items:a,onClick:t},children:e.jsx("a",{onClick:l=>{l.preventDefault()},children:e.jsxs(c,{children:["Hover me, Click menu item",e.jsx(m,{name:"alicorn"})]})})})})}},P={render:()=>{const{useToken:t}=ln,a=[{key:"1",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"})},{key:"2",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item (disabled)"}),disabled:!0},{key:"3",label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.luohanacademy.com",children:"3rd menu item (disabled)"}),disabled:!0}],{token:l}=t(),d={backgroundColor:l.colorBgElevated,borderRadius:l.borderRadiusLG,boxShadow:l.boxShadowSecondary},u={boxShadow:"none"};return e.jsx(p,{title:"Customize the dropdown menu via dropdownRender. If you don't need the Menu content, use the Popover component directly.",children:e.jsx(o,{menu:{items:a},dropdownRender:i=>e.jsxs("div",{style:d,children:[G.cloneElement(i,{style:u}),e.jsx(un,{style:{margin:0}}),e.jsx(c,{style:{padding:8},children:e.jsx(s,{type:"primary",children:"Click me!"})})]}),children:e.jsx("a",{onClick:i=>{i.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}},_={render:()=>{const[t,a]=G.useState(!1),l=i=>{i.key==="3"&&a(!1)},d=(i,h)=>{(h.source==="trigger"||i)&&a(i)},u=[{label:"Clicking me will not close the menu.",key:"1"},{label:"Clicking me will not close the menu also.",key:"2"},{label:"Clicking me will close the menu.",key:"3"}];return e.jsx(p,{title:"The default is to close the menu when you click on menu items, this feature can be turned off.",children:e.jsx(o,{menu:{items:u,onClick:l},onOpenChange:d,open:t,children:e.jsx("a",{onClick:i=>{i.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}},A={render:()=>{const t=[{label:"Submit and continue",key:"1"}],[a,l]=G.useState([]),d=u=>{l(i=>{const h=[...i];return h[u]=!0,h}),setTimeout(()=>{l(i=>{const h=[...i];return h[u]=!1,h})},2e3)};return e.jsx(p,{title:"A loading indicator can be added to a button by setting the loading property on the Dropdown.Button.",children:e.jsxs(c,{direction:"vertical",children:[e.jsx(o.Button,{type:"primary",loading:!0,menu:{items:t},children:"Submit"}),e.jsx(o.Button,{type:"primary",size:"small",loading:!0,menu:{items:t},children:"Submit"}),e.jsx(o.Button,{type:"primary",loading:a[0],menu:{items:t},onClick:()=>{d(0)},children:"Submit"}),e.jsx(o.Button,{icon:e.jsx(m,{name:"alicorn"}),loading:a[1],menu:{items:t},onClick:()=>{d(1)},children:"Submit"})]})})}},O={render:()=>{const t=[{key:"1",label:"Item 1"},{key:"2",label:"Item 2"},{key:"3",label:"Item 3"}];return e.jsx(p,{title:"Configure the selectable property in menu to enable selectability.",children:e.jsx(o,{menu:{items:t,selectable:!0,defaultSelectedKeys:["3"]},children:e.jsx(hn.Link,{children:e.jsxs(c,{children:["Selectable",e.jsx(m,{name:"alicorn"})]})})})})}},T={render:()=>{const t=[{label:"1st menu item",key:"1"},{label:"2nd menu item",key:"2"},{label:"3rd menu item",key:"3"}],{token:{colorBgLayout:a,colorTextTertiary:l}}=ln.useToken();return e.jsx(p,{title:"The default trigger mode is hover, you can change it to contextMenu. The pop-up menu position will follow the right-click position.",children:e.jsx(o,{menu:{items:t},trigger:["contextMenu"],children:e.jsx("div",{style:{color:l,background:a,height:200,textAlign:"center",lineHeight:"200px"},children:"Right Click on here"})})})}},M={render:()=>{const t=[{key:"1",type:"group",label:"Group title",children:[{key:"1-1",label:"1st menu item"},{key:"1-2",label:"2nd menu item"}]},{key:"2",label:"sub menu",children:[{key:"2-1",label:"3rd menu item"},{key:"2-2",label:"4th menu item"}]},{key:"3",label:"disabled sub menu",disabled:!0,children:[{key:"3-1",label:"5d menu item"},{key:"3-2",label:"6th menu item"}]}];return e.jsx(p,{title:"The menu has multiple levels.",children:e.jsx(o,{menu:{items:t},children:e.jsx("a",{onClick:a=>{a.preventDefault()},children:e.jsxs(c,{children:["Cascading menu",e.jsx(m,{name:"alicorn"})]})})})})}},I={render:()=>{const t=u=>{alert("Click on left button."),console.log("click left button",u)},a=u=>{alert("Click on menu item."),console.log("click",u)},d={items:[{label:"1st menu item",key:"1",icon:e.jsx(m,{name:"users"})},{label:"2nd menu item",key:"2",icon:e.jsx(m,{name:"users"})},{label:"3rd menu item",key:"3",icon:e.jsx(m,{name:"users"}),danger:!0},{label:"4rd menu item",key:"4",icon:e.jsx(m,{name:"users"}),danger:!0,disabled:!0}],onClick:a};return e.jsx(p,{title:"A button is on the left, and a related functional menu is on the right. You can set the icon property to modify the icon of right.",children:e.jsxs(c,{wrap:!0,children:[e.jsx(o.Button,{menu:d,onClick:t,children:"Dropdown"}),e.jsx(o.Button,{menu:d,placement:"bottom",icon:e.jsx(m,{name:"users"}),children:"Dropdown"}),e.jsx(o.Button,{menu:d,onClick:t,disabled:!0,children:"Dropdown"}),e.jsx(o.Button,{menu:d,buttonsRender:([u,i])=>[e.jsx(wn,{title:"tooltip",children:u},"leftButton"),G.cloneElement(i,{loading:!0})],children:"With Tooltip"}),e.jsx(o,{menu:d,children:e.jsx(s,{children:e.jsxs(c,{children:["Button",e.jsx(m,{name:"alicorn"})]})})}),e.jsx(o.Button,{menu:d,onClick:t,danger:!0,children:"Danger"})]})})}},H={render:()=>{const t=[{label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.antgroup.com",children:"1st menu item"}),key:"0"},{label:e.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.aliyun.com",children:"2nd menu item"}),key:"1"},{type:"divider"},{label:"3rd menu item(disabled)",key:"3",disabled:!0}];return e.jsx(p,{title:"Divider and disabled menu item.",children:e.jsx(o,{menu:{items:t},children:e.jsx("a",{onClick:a=>{a.preventDefault()},children:e.jsxs(c,{children:["Hover me",e.jsx(m,{name:"alicorn"})]})})})})}};var F,N,Y;w.parameters=r(n({},w.parameters),{docs:r(n({},(F=w.parameters)==null?void 0:F.docs),{source:n({originalSource:"{}"},(Y=(N=w.parameters)==null?void 0:N.docs)==null?void 0:Y.source)})});var K,$,q;b.parameters=r(n({},b.parameters),{docs:r(n({},(K=b.parameters)==null?void 0:K.docs),{source:n({originalSource:`{ args: { arrow: true } diff --git a/pr-preview/pr-459/assets/Empty.stories-C0B5DcBE.js b/pr-preview/pr-459/assets/Empty.stories-JZZjqT3e.js similarity index 90% rename from pr-preview/pr-459/assets/Empty.stories-C0B5DcBE.js rename to pr-preview/pr-459/assets/Empty.stories-JZZjqT3e.js index adc30edc2..9349fb1f4 100644 --- a/pr-preview/pr-459/assets/Empty.stories-C0B5DcBE.js +++ b/pr-preview/pr-459/assets/Empty.stories-JZZjqT3e.js @@ -1,4 +1,4 @@ -var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var S=(n,s,a)=>s in n?X(n,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[s]=a,e=(n,s)=>{for(var a in s||(s={}))$.call(s,a)&&S(n,a,s[a]);if(y)for(var a of y(s))ee.call(s,a)&&S(n,a,s[a]);return n},r=(n,s)=>Y(n,Z(s));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{E as x,l as te,h as re,b as se,g as ae,p as ne,q as oe,r as ie,T as ce,L as me}from"./GlobalNavigation-CPQMp-rl.js";import{C as de}from"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as pe}from"./ExampleStory-DvwdaA9H.js";import{r as le}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ze={title:"Components/Data Display/Empty",component:x,args:{description:"Default Message",image:x.PRESENTED_IMAGE_DEFAULT,imageStyle:void 0}},o={},i={args:{description:"Custom description for empty state"}},c={args:{imageStyle:{width:"60px",height:"60px"}}},m={args:{image:null}},d={args:{image:x.PRESENTED_IMAGE_SIMPLE,imageStyle:{width:"100px",height:"62px"}}},p={args:{description:t.jsxs(t.Fragment,{children:[t.jsx("p",{children:"This is a custom description for the empty state."}),t.jsxs("b",{children:["Feel free to add ",t.jsx("i",{children:"formatted"})," content here."]})]}),imageStyle:{width:"200px",height:"200px"}}},l={args:{description:""}},g={args:{description:"No data available",imageStyle:{borderRadius:"50%",boxShadow:"0 0 10px rgba(0, 0, 0, 0.2)"}}},h={args:{description:null,image:null}},u={render:()=>{const n=()=>t.jsxs("div",{style:{textAlign:"center"},children:["{Icon}",t.jsx("p",{children:"Data Not Found"})]}),s={width:200},[a,W]=le.useState(!0);return t.jsx(pe,{title:"Set global Empty style.",children:t.jsxs(t.Fragment,{children:[t.jsx(te,{unCheckedChildren:"default",checkedChildren:"customize",checked:a,onChange:W}),t.jsx(re,{}),t.jsx(de,{renderEmpty:a?n:void 0,children:t.jsxs(se,{direction:"vertical",style:{width:"100%"},children:[t.jsx("h4",{children:"Select"}),t.jsx(ae,{style:s}),t.jsx("h4",{children:"TreeSelect"}),t.jsx(ne,{style:s,treeData:[]}),t.jsx("h4",{children:"Cascader"}),t.jsx(oe,{style:s,options:[],showSearch:!0}),t.jsx("h4",{children:"Transfer"}),t.jsx(ie,{}),t.jsx("h4",{children:"Table"}),t.jsx(ce,{style:{marginTop:8},columns:[{title:"Name",dataIndex:"name",key:"name"},{title:"Age",dataIndex:"age",key:"age"}]}),t.jsx("h4",{children:"List"}),t.jsx(me,{})]})})]})})}};var E,C,j;o.parameters=r(e({},o.parameters),{docs:r(e({},(E=o.parameters)==null?void 0:E.docs),{source:e({originalSource:"{}"},(j=(C=o.parameters)==null?void 0:C.docs)==null?void 0:j.source)})});var f,I,D;i.parameters=r(e({},i.parameters),{docs:r(e({},(f=i.parameters)==null?void 0:f.docs),{source:e({originalSource:`{ +var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var S=(n,s,a)=>s in n?X(n,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[s]=a,e=(n,s)=>{for(var a in s||(s={}))$.call(s,a)&&S(n,a,s[a]);if(y)for(var a of y(s))ee.call(s,a)&&S(n,a,s[a]);return n},r=(n,s)=>Y(n,Z(s));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{E as x,o as te,k as re,b as se,g as ae,s as ne,t as oe,u as ie,T as ce,L as me}from"./GlobalNavigation-DT_tPK9g.js";import{C as de}from"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as pe}from"./ExampleStory-B-ilaOpY.js";import{r as le}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ze={title:"Components/Data Display/Empty",component:x,args:{description:"Default Message",image:x.PRESENTED_IMAGE_DEFAULT,imageStyle:void 0}},o={},i={args:{description:"Custom description for empty state"}},c={args:{imageStyle:{width:"60px",height:"60px"}}},m={args:{image:null}},d={args:{image:x.PRESENTED_IMAGE_SIMPLE,imageStyle:{width:"100px",height:"62px"}}},p={args:{description:t.jsxs(t.Fragment,{children:[t.jsx("p",{children:"This is a custom description for the empty state."}),t.jsxs("b",{children:["Feel free to add ",t.jsx("i",{children:"formatted"})," content here."]})]}),imageStyle:{width:"200px",height:"200px"}}},l={args:{description:""}},g={args:{description:"No data available",imageStyle:{borderRadius:"50%",boxShadow:"0 0 10px rgba(0, 0, 0, 0.2)"}}},h={args:{description:null,image:null}},u={render:()=>{const n=()=>t.jsxs("div",{style:{textAlign:"center"},children:["{Icon}",t.jsx("p",{children:"Data Not Found"})]}),s={width:200},[a,W]=le.useState(!0);return t.jsx(pe,{title:"Set global Empty style.",children:t.jsxs(t.Fragment,{children:[t.jsx(te,{unCheckedChildren:"default",checkedChildren:"customize",checked:a,onChange:W}),t.jsx(re,{}),t.jsx(de,{renderEmpty:a?n:void 0,children:t.jsxs(se,{direction:"vertical",style:{width:"100%"},children:[t.jsx("h4",{children:"Select"}),t.jsx(ae,{style:s}),t.jsx("h4",{children:"TreeSelect"}),t.jsx(ne,{style:s,treeData:[]}),t.jsx("h4",{children:"Cascader"}),t.jsx(oe,{style:s,options:[],showSearch:!0}),t.jsx("h4",{children:"Transfer"}),t.jsx(ie,{}),t.jsx("h4",{children:"Table"}),t.jsx(ce,{style:{marginTop:8},columns:[{title:"Name",dataIndex:"name",key:"name"},{title:"Age",dataIndex:"age",key:"age"}]}),t.jsx("h4",{children:"List"}),t.jsx(me,{})]})})]})})}};var E,C,j;o.parameters=r(e({},o.parameters),{docs:r(e({},(E=o.parameters)==null?void 0:E.docs),{source:e({originalSource:"{}"},(j=(C=o.parameters)==null?void 0:C.docs)==null?void 0:j.source)})});var f,I,D;i.parameters=r(e({},i.parameters),{docs:r(e({},(f=i.parameters)==null?void 0:f.docs),{source:e({originalSource:`{ args: { description: 'Custom description for empty state' } @@ -13,7 +13,7 @@ var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropert args: { image: null } -}`},(v=(A=m.parameters)==null?void 0:A.docs)==null?void 0:v.source)})});var z,P,k;d.parameters=r(e({},d.parameters),{docs:r(e({},(z=d.parameters)==null?void 0:z.docs),{source:e({originalSource:`{ +}`},(v=(A=m.parameters)==null?void 0:A.docs)==null?void 0:v.source)})});var z,k,P;d.parameters=r(e({},d.parameters),{docs:r(e({},(z=d.parameters)==null?void 0:z.docs),{source:e({originalSource:`{ args: { image: Empty.PRESENTED_IMAGE_SIMPLE, imageStyle: { @@ -21,7 +21,7 @@ var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropert height: '62px' } } -}`},(k=(P=d.parameters)==null?void 0:P.docs)==null?void 0:k.source)})});var R,L,_;p.parameters=r(e({},p.parameters),{docs:r(e({},(R=p.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ +}`},(P=(k=d.parameters)==null?void 0:k.docs)==null?void 0:P.source)})});var R,L,_;p.parameters=r(e({},p.parameters),{docs:r(e({},(R=p.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ args: { description: <>

This is a custom description for the empty state.

@@ -38,7 +38,7 @@ var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropert args: { description: '' } -}`},(G=(M=l.parameters)==null?void 0:M.docs)==null?void 0:G.source)})});var q,O,U;g.parameters=r(e({},g.parameters),{docs:r(e({},(q=g.parameters)==null?void 0:q.docs),{source:e({originalSource:`{ +}`},(G=(M=l.parameters)==null?void 0:M.docs)==null?void 0:G.source)})});var O,U,q;g.parameters=r(e({},g.parameters),{docs:r(e({},(O=g.parameters)==null?void 0:O.docs),{source:e({originalSource:`{ args: { description: 'No data available', imageStyle: { @@ -46,7 +46,7 @@ var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropert boxShadow: '0 0 10px rgba(0, 0, 0, 0.2)' } } -}`},(U=(O=g.parameters)==null?void 0:O.docs)==null?void 0:U.source)})});var B,H,J;h.parameters=r(e({},h.parameters),{docs:r(e({},(B=h.parameters)==null?void 0:B.docs),{source:e({originalSource:`{ +}`},(q=(U=g.parameters)==null?void 0:U.docs)==null?void 0:q.source)})});var B,H,J;h.parameters=r(e({},h.parameters),{docs:r(e({},(B=h.parameters)==null?void 0:B.docs),{source:e({originalSource:`{ args: { description: null, image: null @@ -98,4 +98,4 @@ var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropert ; } -}`},(V=(Q=u.parameters)==null?void 0:Q.docs)==null?void 0:V.source)})});const Pe=["Primary","CustomDescription","CustomImageStyle","NoImage","AltImage","CustomDescriptionAndImage","NoDescription","CustomImageAndStyle","NoImageAndNoDescription","ExampleGlobalEmpty"];export{d as AltImage,i as CustomDescription,p as CustomDescriptionAndImage,g as CustomImageAndStyle,c as CustomImageStyle,u as ExampleGlobalEmpty,l as NoDescription,m as NoImage,h as NoImageAndNoDescription,o as Primary,Pe as __namedExportsOrder,ze as default}; +}`},(V=(Q=u.parameters)==null?void 0:Q.docs)==null?void 0:V.source)})});const ke=["Primary","CustomDescription","CustomImageStyle","NoImage","AltImage","CustomDescriptionAndImage","NoDescription","CustomImageAndStyle","NoImageAndNoDescription","ExampleGlobalEmpty"];export{d as AltImage,i as CustomDescription,p as CustomDescriptionAndImage,g as CustomImageAndStyle,c as CustomImageStyle,u as ExampleGlobalEmpty,l as NoDescription,m as NoImage,h as NoImageAndNoDescription,o as Primary,ke as __namedExportsOrder,ze as default}; diff --git a/pr-preview/pr-459/assets/ExampleStory-DvwdaA9H.js b/pr-preview/pr-459/assets/ExampleStory-B-ilaOpY.js similarity index 84% rename from pr-preview/pr-459/assets/ExampleStory-DvwdaA9H.js rename to pr-preview/pr-459/assets/ExampleStory-B-ilaOpY.js index 0b992be97..f08ae70a2 100644 --- a/pr-preview/pr-459/assets/ExampleStory-DvwdaA9H.js +++ b/pr-preview/pr-459/assets/ExampleStory-B-ilaOpY.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{b as r,h as i}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";function a(t){return e.jsx(e.Fragment,{children:e.jsxs(r,{direction:"vertical",style:{maxWidth:"800px"},children:[t.title,e.jsx("hr",{}),e.jsx("br",{}),t.children,t.description&&e.jsxs(e.Fragment,{children:[e.jsx(i,{orientation:"center"}),t.description]})]})})}a.__docgenInfo={description:"",methods:[],displayName:"ExampleStory",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},title:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},description:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};export{a as E}; +import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{b as r,k as i}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";function a(t){return e.jsx(e.Fragment,{children:e.jsxs(r,{direction:"vertical",style:{maxWidth:"800px"},children:[t.title,e.jsx("hr",{}),e.jsx("br",{}),t.children,t.description&&e.jsxs(e.Fragment,{children:[e.jsx(i,{orientation:"center"}),t.description]})]})})}a.__docgenInfo={description:"",methods:[],displayName:"ExampleStory",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},title:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},description:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};export{a as E}; diff --git a/pr-preview/pr-459/assets/Filters-I6MwuyR_.js b/pr-preview/pr-459/assets/Filters-Bh-EZPAv.js similarity index 92% rename from pr-preview/pr-459/assets/Filters-I6MwuyR_.js rename to pr-preview/pr-459/assets/Filters-Bh-EZPAv.js index 61026ec21..589915a71 100644 --- a/pr-preview/pr-459/assets/Filters-I6MwuyR_.js +++ b/pr-preview/pr-459/assets/Filters-Bh-EZPAv.js @@ -1,4 +1,4 @@ -var c=Object.defineProperty,m=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(r,e,i)=>e in r?c(r,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[e]=i,n=(r,e)=>{for(var i in e||(e={}))f.call(e,i)&&s(r,i,e[i]);if(o)for(var i of o(e))u.call(e,i)&&s(r,i,e[i]);return r},l=(r,e)=>m(r,h(e));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as d}from"./index-BI4Okn8T.js";import{M as x,d as a}from"./index-ZtHH_h5v.js";import{F as j,W as g,a as y}from"./Filters.stories-BDb-f9a5.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-DU0W2SK0.js";import"./SelectWithRangePicker-Ce7dTWwR.js";function p(r){const e=n(n({a:"a",em:"em",h1:"h1",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul"},d()),r.components);return t.jsxs(t.Fragment,{children:[t.jsx(x,{of:j}),` +var c=Object.defineProperty,m=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(r,e,i)=>e in r?c(r,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[e]=i,n=(r,e)=>{for(var i in e||(e={}))f.call(e,i)&&s(r,i,e[i]);if(o)for(var i of o(e))u.call(e,i)&&s(r,i,e[i]);return r},l=(r,e)=>m(r,h(e));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as d}from"./index-BI4Okn8T.js";import{M as x,d as a}from"./index-Bf2yN5NY.js";import{F as j,W as g,a as y}from"./Filters.stories-Bp0TTpkD.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-BGsdcwIW.js";import"./SelectWithRangePicker-CdqsmbpZ.js";function p(r){const e=n(n({a:"a",em:"em",h1:"h1",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul"},d()),r.components);return t.jsxs(t.Fragment,{children:[t.jsx(x,{of:j}),` `,t.jsx(e.h1,{id:"filters",children:"Filters"}),` `,t.jsx("br",{}),` `,t.jsx(e.p,{children:t.jsxs(e.em,{children:["Note: This section covers filters specifically for tables. For query-related filters, please refer to the ",t.jsx(e.a,{href:"#coming",children:"Analytics Filters - Coming Soon"}),"."]})}),` diff --git a/pr-preview/pr-459/assets/Filters.stories-BDb-f9a5.js b/pr-preview/pr-459/assets/Filters.stories-Bp0TTpkD.js similarity index 97% rename from pr-preview/pr-459/assets/Filters.stories-BDb-f9a5.js rename to pr-preview/pr-459/assets/Filters.stories-Bp0TTpkD.js index f09668a36..73bacb2b2 100644 --- a/pr-preview/pr-459/assets/Filters.stories-BDb-f9a5.js +++ b/pr-preview/pr-459/assets/Filters.stories-Bp0TTpkD.js @@ -1,4 +1,4 @@ -var D=Object.defineProperty,T=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var x=(e,n,r)=>n in e?D(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,o=(e,n)=>{for(var r in n||(n={}))C.call(n,r)&&x(e,r,n[r]);if(h)for(var r of h(n))F.call(n,r)&&x(e,r,n[r]);return e},s=(e,n)=>T(e,k(n));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{f as a}from"./index-Cn2ehl89.js";import{T as u,b as p,F as d,c as b,I as m,d as i,e as P,C as E,f as O,B,g as M}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{D as W}from"./DatePicker.stories-DU0W2SK0.js";import{S as N}from"./SelectWithRangePicker-Ce7dTWwR.js";const L={production:"blue",development:"purple",unknown:"default"},_={production:"Prod",development:"Dev",unknown:"Unknown"},z=e=>L[e],R=e=>_[e],U={draft:"cyan",error:"red",ready:"green"},A={draft:"Draft",error:"Error",ready:"Ready"},H=e=>U[e],J=e=>A[e],v=[{title:"Name",dataIndex:"name",key:"name",render:e=>{const n=window.location.pathname.split("/");n.pop();const r=`${n.join("/")}/${e}`;return t.jsx(i.Link,{href:r,children:e})}},{title:()=>t.jsx(P,{title:t.jsxs(t.Fragment,{children:[t.jsx(i.Text,{style:{color:"white"},children:"Help lorem ipsum. "}),t.jsx(i.Link,{href:"/",style:{color:"white",textDecoration:"underline"},children:"Learn More"})]}),children:t.jsxs(d,{align:"center",gap:2,children:[t.jsx(i.Text,{children:"ID"}),t.jsx(m,{name:"help",size:"sm"})]})}),dataIndex:"id",key:"id"},{title:"Timestamp (UTC)",dataIndex:"timestamp",key:"timestamp",render:e=>new Date(e/(1e3*1e3)).toLocaleString(void 0,{month:"short",day:"2-digit",year:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit",timeZone:"UTC",hour12:!1})},{title:"mPID",dataIndex:"mpId",key:"mpId",render:e=>t.jsx(i.Text,{copyable:{icon:t.jsx(E,{"aria-label":"Copy mPID"})},children:e})},{title:"Output",dataIndex:"output",key:"output"},{title:"Environment",key:"environment",dataIndex:"environment",render:e=>t.jsx(O,{color:z(e),children:R(e)})},{title:"Status",dataIndex:"status",key:"status",render:e=>t.jsx(B,{color:H(e),text:J(e)})},{title:"Actions",dataIndex:"actions",key:"actions",render:()=>t.jsx(M,{suffixIcon:t.jsx(m,{name:"moreActions"}),variant:"borderless",dropdownStyle:{width:"200px"},options:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"}]})}];function $(){return{id:`JNBSK-${a.number.int({min:1e3,max:9999}).toString()}`,key:a.string.uuid(),name:a.helpers.arrayElement(["NBCU","Remarkable Foods","Lulo Bank","Shift","Marks and Spencer","Zaxby's"]),timestamp:a.date.recent().valueOf()*1e3*1e3,mpId:a.number.int({max:9999999999}).toString(),output:a.helpers.arrayElement(["Braze","mP Analytics","Cortex","Applytics","Google Analytics"]),environment:a.helpers.arrayElement(["unknown","development","production"]),status:a.helpers.arrayElement(["draft","error","ready"])}}const I=a.helpers.multiple($,{count:3}),Y={title:"UX Patterns/Table/Filters",component:u,args:{}},l={name:"Basic",render:()=>t.jsxs(p,{direction:"vertical",style:{width:"100%"},children:[t.jsx(p,{direction:"vertical",style:{width:"100%"},children:t.jsxs(d,{align:"center",justify:"space-between",children:[t.jsx(d,{gap:10,children:t.jsx(W,{})}),t.jsx(b,{allowClear:!0,prefix:t.jsx(m,{size:"sm",color:"brand",name:"search"}),placeholder:"Search",style:{width:"240px"}})]})}),t.jsx(u,{columns:v,dataSource:I,scroll:{x:"max-content"}})]})},Z=[{value:"last12hours",label:"Last 12 hours"},{value:"last7days",label:"Last 7 days"},{value:"last14days",label:"Last 14 days"}],c={name:"Complex",render:()=>t.jsxs(p,{direction:"vertical",style:{width:"100%"},children:[t.jsx(p,{direction:"vertical",style:{width:"100%"},children:t.jsxs(d,{align:"center",justify:"space-between",children:[t.jsx(d,{gap:10,children:t.jsx(N,{value:"last14days",placeholder:"Choose Time",options:Z,formatOptions:{dateStyle:"short",timeStyle:"short",hour12:!1},dropdownStyle:{minWidth:400},rangePickerProps:{showTime:!0,showHour:!0,showMinute:!0,showSecond:!1,disabledDate:e=>e.isBefore(new Date(Date.now()-12096e5))}})}),t.jsx(b,{allowClear:!0,prefix:t.jsx(m,{size:"sm",color:"brand",name:"search"}),placeholder:"Search",style:{width:"240px"}})]})}),t.jsx(u,{columns:v,dataSource:I,scroll:{x:"max-content"}})]})};var y,S,w;l.parameters=s(o({},l.parameters),{docs:s(o({},(y=l.parameters)==null?void 0:y.docs),{source:o({originalSource:`{ +var D=Object.defineProperty,T=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var x=(e,n,r)=>n in e?D(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,o=(e,n)=>{for(var r in n||(n={}))C.call(n,r)&&x(e,r,n[r]);if(h)for(var r of h(n))F.call(n,r)&&x(e,r,n[r]);return e},s=(e,n)=>T(e,k(n));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{f as a}from"./index-Cn2ehl89.js";import{T as u,b as p,F as d,c as b,I as m,d as i,e as P,C as E,f as O,B,g as M}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{D as W}from"./DatePicker.stories-BGsdcwIW.js";import{S as N}from"./SelectWithRangePicker-CdqsmbpZ.js";const L={production:"blue",development:"purple",unknown:"default"},_={production:"Prod",development:"Dev",unknown:"Unknown"},z=e=>L[e],R=e=>_[e],U={draft:"cyan",error:"red",ready:"green"},A={draft:"Draft",error:"Error",ready:"Ready"},H=e=>U[e],J=e=>A[e],v=[{title:"Name",dataIndex:"name",key:"name",render:e=>{const n=window.location.pathname.split("/");n.pop();const r=`${n.join("/")}/${e}`;return t.jsx(i.Link,{href:r,children:e})}},{title:()=>t.jsx(P,{title:t.jsxs(t.Fragment,{children:[t.jsx(i.Text,{style:{color:"white"},children:"Help lorem ipsum. "}),t.jsx(i.Link,{href:"/",style:{color:"white",textDecoration:"underline"},children:"Learn More"})]}),children:t.jsxs(d,{align:"center",gap:2,children:[t.jsx(i.Text,{children:"ID"}),t.jsx(m,{name:"help",size:"sm"})]})}),dataIndex:"id",key:"id"},{title:"Timestamp (UTC)",dataIndex:"timestamp",key:"timestamp",render:e=>new Date(e/(1e3*1e3)).toLocaleString(void 0,{month:"short",day:"2-digit",year:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit",timeZone:"UTC",hour12:!1})},{title:"mPID",dataIndex:"mpId",key:"mpId",render:e=>t.jsx(i.Text,{copyable:{icon:t.jsx(E,{"aria-label":"Copy mPID"})},children:e})},{title:"Output",dataIndex:"output",key:"output"},{title:"Environment",key:"environment",dataIndex:"environment",render:e=>t.jsx(O,{color:z(e),children:R(e)})},{title:"Status",dataIndex:"status",key:"status",render:e=>t.jsx(B,{color:H(e),text:J(e)})},{title:"Actions",dataIndex:"actions",key:"actions",render:()=>t.jsx(M,{suffixIcon:t.jsx(m,{name:"moreActions"}),variant:"borderless",dropdownStyle:{width:"200px"},options:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"}]})}];function $(){return{id:`JNBSK-${a.number.int({min:1e3,max:9999}).toString()}`,key:a.string.uuid(),name:a.helpers.arrayElement(["NBCU","Remarkable Foods","Lulo Bank","Shift","Marks and Spencer","Zaxby's"]),timestamp:a.date.recent().valueOf()*1e3*1e3,mpId:a.number.int({max:9999999999}).toString(),output:a.helpers.arrayElement(["Braze","mP Analytics","Cortex","Applytics","Google Analytics"]),environment:a.helpers.arrayElement(["unknown","development","production"]),status:a.helpers.arrayElement(["draft","error","ready"])}}const I=a.helpers.multiple($,{count:3}),Y={title:"UX Patterns/Table/Filters",component:u,args:{}},l={name:"Basic",render:()=>t.jsxs(p,{direction:"vertical",style:{width:"100%"},children:[t.jsx(p,{direction:"vertical",style:{width:"100%"},children:t.jsxs(d,{align:"center",justify:"space-between",children:[t.jsx(d,{gap:10,children:t.jsx(W,{})}),t.jsx(b,{allowClear:!0,prefix:t.jsx(m,{size:"sm",color:"brand",name:"search"}),placeholder:"Search",style:{width:"240px"}})]})}),t.jsx(u,{columns:v,dataSource:I,scroll:{x:"max-content"}})]})},Z=[{value:"last12hours",label:"Last 12 hours"},{value:"last7days",label:"Last 7 days"},{value:"last14days",label:"Last 14 days"}],c={name:"Complex",render:()=>t.jsxs(p,{direction:"vertical",style:{width:"100%"},children:[t.jsx(p,{direction:"vertical",style:{width:"100%"},children:t.jsxs(d,{align:"center",justify:"space-between",children:[t.jsx(d,{gap:10,children:t.jsx(N,{value:"last14days",placeholder:"Choose Time",options:Z,formatOptions:{dateStyle:"short",timeStyle:"short",hour12:!1},dropdownStyle:{minWidth:400},rangePickerProps:{showTime:!0,showHour:!0,showMinute:!0,showSecond:!1,disabledDate:e=>e.isBefore(new Date(Date.now()-12096e5))}})}),t.jsx(b,{allowClear:!0,prefix:t.jsx(m,{size:"sm",color:"brand",name:"search"}),placeholder:"Search",style:{width:"240px"}})]})}),t.jsx(u,{columns:v,dataSource:I,scroll:{x:"max-content"}})]})};var y,S,w;l.parameters=s(o({},l.parameters),{docs:s(o({},(y=l.parameters)==null?void 0:y.docs),{source:o({originalSource:`{ name: 'Basic', render: () => a in n?je(n,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[a]=s,e=(n,a)=>{for(var s in a||(a={}))ze.call(a,s)&&B(n,s,a[s]);if(E)for(var s of E(a))we.call(a,s)&&B(n,s,a[s]);return n},r=(n,a)=>ve(n,be(a));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{F as l,R as c,j as R,i as o,X as Fe,m as Ce,d as Ee}from"./GlobalNavigation-CPQMp-rl.js";import{E as m}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as d}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Xe={title:"Components/Layout/Flex",component:n=>t.jsx(t.Fragment,{children:t.jsx(l,r(e({},n),{style:{width:200,height:108,borderRadius:6,border:"1px solid #40a9ff"},children:Array.from({length:4}).map((a,s)=>t.jsx("div",{style:{width:20,height:54,backgroundColor:s%2?"#1677ff":"#1677ffbf"}},s))}))}),args:{vertical:!1,wrap:"nowrap",justify:"stretch",align:"normal",flex:"0 1 auto",gap:"middle",component:"div"},argTypes:{wrap:{control:"select",options:["nowrap","wrap","wrap-reverse","initial","revert","revert-layer","unset"]},justify:{control:"select",options:["flex-start","center","flex-end","space-between","space-around","space-evenly","stretch"]},align:{control:"select",options:["normal","stretch","center","flex-start","flex-end","self-start","self-end","baseline"]}}},u={},g={args:{vertical:!0}},y={args:{justify:"flex-start"}},x={args:{justify:"center"}},h={args:{justify:"flex-end"}},f={args:{align:"flex-start"}},S={args:{align:"center"}},j={args:{align:"flex-end"}},v={args:{gap:"large"}},b={render:()=>{const n={width:"25%",height:54},[a,s]=d.useState("horizontal");return t.jsx(m,{title:"The basic usage.",children:t.jsxs(l,{gap:"middle",vertical:!0,children:[t.jsxs(c.Group,{value:a,onChange:p=>{s(p.target.value)},children:[t.jsx(c,{value:"horizontal",children:"horizontal"}),t.jsx(c,{value:"vertical",children:"vertical"})]}),t.jsx(l,{vertical:a==="vertical",children:Array.from({length:4}).map((p,i)=>t.jsx("div",{style:r(e({},n),{backgroundColor:i%2?"#1677ff":"#1677ffbf"})},i))})]})})}},z={render:()=>{const n={width:"100%",height:120,borderRadius:6,border:"1px solid #40a9ff"},a=["flex-start","center","flex-end","space-between","space-around","space-evenly"],s=["flex-start","center","flex-end"],[p,i]=d.useState(a[0]),[fe,Se]=d.useState(s[0]);return t.jsx(m,{title:"Set align.",children:t.jsxs(l,{gap:"middle",align:"start",vertical:!0,children:[t.jsx("p",{children:"Select justify :"}),t.jsx(R,{options:a,onChange:i}),t.jsx("p",{children:"Select align :"}),t.jsx(R,{options:s,onChange:Se}),t.jsxs(l,{style:n,justify:p,align:fe,children:[t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{type:"primary",children:"Primary"})]})]})})}},w={render:()=>{const[n,a]=d.useState("small"),[s,p]=d.useState(0);return t.jsx(m,{title:"Set the gap between elements, which has three preset sizes: small, middle, large, You can also customize the gap size.",children:t.jsxs(l,{gap:"middle",vertical:!0,children:[t.jsx(c.Group,{value:n,onChange:i=>{a(i.target.value)},children:["small","middle","large","customize"].map(i=>t.jsx(c,{value:i,children:i},i))}),n==="customize"&&t.jsx(Fe,{value:s,onChange:p}),t.jsxs(l,{gap:n!=="customize"?n:s,children:[t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{children:"Default"}),t.jsx(o,{type:"dashed",children:"Dashed"}),t.jsx(o,{type:"link",children:"Link"})]})]})})}},F={render:()=>t.jsx(m,{title:"Auto wrap line.",children:t.jsx(l,{wrap:"wrap",gap:"small",children:Array.from({length:24},(n,a)=>t.jsx(o,{type:"primary",children:"Button"},a))})})},C={render:()=>{const n={width:620},a={display:"block",width:273};return t.jsx(m,{title:"Nesting can achieve more complex layouts.",children:t.jsx(Ce,{hoverable:!0,style:n,styles:{body:{padding:0,overflow:"hidden"}},children:t.jsxs(l,{justify:"space-between",children:[t.jsx("img",{alt:"avatar",style:a}),t.jsxs(l,{vertical:!0,align:"flex-end",justify:"space-between",style:{padding:32},children:[t.jsx(Ee.Title,{level:3,children:"“antd is an enterprise-class UI design language and React UI library.”"}),t.jsx(o,{type:"primary",href:"https://ant.design",target:"_blank",children:"Get Started"})]})]})})})}};var G,P,A;u.parameters=r(e({},u.parameters),{docs:r(e({},(G=u.parameters)==null?void 0:G.docs),{source:e({originalSource:"{}"},(A=(P=u.parameters)==null?void 0:P.docs)==null?void 0:A.source)})});var k,I,T;g.parameters=r(e({},g.parameters),{docs:r(e({},(k=g.parameters)==null?void 0:k.docs),{source:e({originalSource:`{ +var je=Object.defineProperty,ve=Object.defineProperties;var be=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var ze=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var B=(n,a,s)=>a in n?je(n,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[a]=s,e=(n,a)=>{for(var s in a||(a={}))ze.call(a,s)&&B(n,s,a[s]);if(E)for(var s of E(a))we.call(a,s)&&B(n,s,a[s]);return n},r=(n,a)=>ve(n,be(a));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{F as l,R as c,m as R,l as o,Z as Fe,p as Ce,d as Ee}from"./GlobalNavigation-DT_tPK9g.js";import{E as m}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as d}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Ze={title:"Components/Layout/Flex",component:n=>t.jsx(t.Fragment,{children:t.jsx(l,r(e({},n),{style:{width:200,height:108,borderRadius:6,border:"1px solid #40a9ff"},children:Array.from({length:4}).map((a,s)=>t.jsx("div",{style:{width:20,height:54,backgroundColor:s%2?"#1677ff":"#1677ffbf"}},s))}))}),args:{vertical:!1,wrap:"nowrap",justify:"stretch",align:"normal",flex:"0 1 auto",gap:"middle",component:"div"},argTypes:{wrap:{control:"select",options:["nowrap","wrap","wrap-reverse","initial","revert","revert-layer","unset"]},justify:{control:"select",options:["flex-start","center","flex-end","space-between","space-around","space-evenly","stretch"]},align:{control:"select",options:["normal","stretch","center","flex-start","flex-end","self-start","self-end","baseline"]}}},u={},g={args:{vertical:!0}},y={args:{justify:"flex-start"}},x={args:{justify:"center"}},h={args:{justify:"flex-end"}},f={args:{align:"flex-start"}},S={args:{align:"center"}},j={args:{align:"flex-end"}},v={args:{gap:"large"}},b={render:()=>{const n={width:"25%",height:54},[a,s]=d.useState("horizontal");return t.jsx(m,{title:"The basic usage.",children:t.jsxs(l,{gap:"middle",vertical:!0,children:[t.jsxs(c.Group,{value:a,onChange:p=>{s(p.target.value)},children:[t.jsx(c,{value:"horizontal",children:"horizontal"}),t.jsx(c,{value:"vertical",children:"vertical"})]}),t.jsx(l,{vertical:a==="vertical",children:Array.from({length:4}).map((p,i)=>t.jsx("div",{style:r(e({},n),{backgroundColor:i%2?"#1677ff":"#1677ffbf"})},i))})]})})}},z={render:()=>{const n={width:"100%",height:120,borderRadius:6,border:"1px solid #40a9ff"},a=["flex-start","center","flex-end","space-between","space-around","space-evenly"],s=["flex-start","center","flex-end"],[p,i]=d.useState(a[0]),[fe,Se]=d.useState(s[0]);return t.jsx(m,{title:"Set align.",children:t.jsxs(l,{gap:"middle",align:"start",vertical:!0,children:[t.jsx("p",{children:"Select justify :"}),t.jsx(R,{options:a,onChange:i}),t.jsx("p",{children:"Select align :"}),t.jsx(R,{options:s,onChange:Se}),t.jsxs(l,{style:n,justify:p,align:fe,children:[t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{type:"primary",children:"Primary"})]})]})})}},w={render:()=>{const[n,a]=d.useState("small"),[s,p]=d.useState(0);return t.jsx(m,{title:"Set the gap between elements, which has three preset sizes: small, middle, large, You can also customize the gap size.",children:t.jsxs(l,{gap:"middle",vertical:!0,children:[t.jsx(c.Group,{value:n,onChange:i=>{a(i.target.value)},children:["small","middle","large","customize"].map(i=>t.jsx(c,{value:i,children:i},i))}),n==="customize"&&t.jsx(Fe,{value:s,onChange:p}),t.jsxs(l,{gap:n!=="customize"?n:s,children:[t.jsx(o,{type:"primary",children:"Primary"}),t.jsx(o,{children:"Default"}),t.jsx(o,{type:"dashed",children:"Dashed"}),t.jsx(o,{type:"link",children:"Link"})]})]})})}},F={render:()=>t.jsx(m,{title:"Auto wrap line.",children:t.jsx(l,{wrap:"wrap",gap:"small",children:Array.from({length:24},(n,a)=>t.jsx(o,{type:"primary",children:"Button"},a))})})},C={render:()=>{const n={width:620},a={display:"block",width:273};return t.jsx(m,{title:"Nesting can achieve more complex layouts.",children:t.jsx(Ce,{hoverable:!0,style:n,styles:{body:{padding:0,overflow:"hidden"}},children:t.jsxs(l,{justify:"space-between",children:[t.jsx("img",{alt:"avatar",style:a}),t.jsxs(l,{vertical:!0,align:"flex-end",justify:"space-between",style:{padding:32},children:[t.jsx(Ee.Title,{level:3,children:"“antd is an enterprise-class UI design language and React UI library.”"}),t.jsx(o,{type:"primary",href:"https://ant.design",target:"_blank",children:"Get Started"})]})]})})})}};var G,P,A;u.parameters=r(e({},u.parameters),{docs:r(e({},(G=u.parameters)==null?void 0:G.docs),{source:e({originalSource:"{}"},(A=(P=u.parameters)==null?void 0:P.docs)==null?void 0:A.source)})});var k,I,T;g.parameters=r(e({},g.parameters),{docs:r(e({},(k=g.parameters)==null?void 0:k.docs),{source:e({originalSource:`{ args: { vertical: true } @@ -14,19 +14,19 @@ var je=Object.defineProperty,ve=Object.defineProperties;var be=Object.getOwnProp args: { justify: 'flex-end' } -}`},(W=(U=h.parameters)==null?void 0:U.docs)==null?void 0:W.source)})});var Y,X,q;f.parameters=r(e({},f.parameters),{docs:r(e({},(Y=f.parameters)==null?void 0:Y.docs),{source:e({originalSource:`{ +}`},(W=(U=h.parameters)==null?void 0:U.docs)==null?void 0:W.source)})});var Y,Z,q;f.parameters=r(e({},f.parameters),{docs:r(e({},(Y=f.parameters)==null?void 0:Y.docs),{source:e({originalSource:`{ args: { align: 'flex-start' } -}`},(q=(X=f.parameters)==null?void 0:X.docs)==null?void 0:q.source)})});var H,K,M;S.parameters=r(e({},S.parameters),{docs:r(e({},(H=S.parameters)==null?void 0:H.docs),{source:e({originalSource:`{ +}`},(q=(Z=f.parameters)==null?void 0:Z.docs)==null?void 0:q.source)})});var H,K,M;S.parameters=r(e({},S.parameters),{docs:r(e({},(H=S.parameters)==null?void 0:H.docs),{source:e({originalSource:`{ args: { align: 'center' } -}`},(M=(K=S.parameters)==null?void 0:K.docs)==null?void 0:M.source)})});var Q,Z,$;j.parameters=r(e({},j.parameters),{docs:r(e({},(Q=j.parameters)==null?void 0:Q.docs),{source:e({originalSource:`{ +}`},(M=(K=S.parameters)==null?void 0:K.docs)==null?void 0:M.source)})});var Q,X,$;j.parameters=r(e({},j.parameters),{docs:r(e({},(Q=j.parameters)==null?void 0:Q.docs),{source:e({originalSource:`{ args: { align: 'flex-end' } -}`},($=(Z=j.parameters)==null?void 0:Z.docs)==null?void 0:$.source)})});var ee,te,re;v.parameters=r(e({},v.parameters),{docs:r(e({},(ee=v.parameters)==null?void 0:ee.docs),{source:e({originalSource:`{ +}`},($=(X=j.parameters)==null?void 0:X.docs)==null?void 0:$.source)})});var ee,te,re;v.parameters=r(e({},v.parameters),{docs:r(e({},(ee=v.parameters)==null?void 0:ee.docs),{source:e({originalSource:`{ args: { gap: 'large' } @@ -152,4 +152,4 @@ var je=Object.defineProperty,ve=Object.defineProperties;var be=Object.getOwnProp ; } -}`},(he=(xe=C.parameters)==null?void 0:xe.docs)==null?void 0:he.source)})});const qe=["Primary","VerticalFlex","JustifyFlexStart","JustifyCenter","JustifyFlexEnd","AlignFlexStart","AlignCenter","AlignFlexEnd","LargeGap","ExampleBasic","ExampleAlign","ExampleGap","ExampleWrap","ExampleNesting"];export{S as AlignCenter,j as AlignFlexEnd,f as AlignFlexStart,z as ExampleAlign,b as ExampleBasic,w as ExampleGap,C as ExampleNesting,F as ExampleWrap,x as JustifyCenter,h as JustifyFlexEnd,y as JustifyFlexStart,v as LargeGap,u as Primary,g as VerticalFlex,qe as __namedExportsOrder,Xe as default}; +}`},(he=(xe=C.parameters)==null?void 0:xe.docs)==null?void 0:he.source)})});const qe=["Primary","VerticalFlex","JustifyFlexStart","JustifyCenter","JustifyFlexEnd","AlignFlexStart","AlignCenter","AlignFlexEnd","LargeGap","ExampleBasic","ExampleAlign","ExampleGap","ExampleWrap","ExampleNesting"];export{S as AlignCenter,j as AlignFlexEnd,f as AlignFlexStart,z as ExampleAlign,b as ExampleBasic,w as ExampleGap,C as ExampleNesting,F as ExampleWrap,x as JustifyCenter,h as JustifyFlexEnd,y as JustifyFlexStart,v as LargeGap,u as Primary,g as VerticalFlex,qe as __namedExportsOrder,Ze as default}; diff --git a/pr-preview/pr-459/assets/FloatButton.stories-B5KLxT8I.js b/pr-preview/pr-459/assets/FloatButton.stories-CRKBzvUN.js similarity index 85% rename from pr-preview/pr-459/assets/FloatButton.stories-B5KLxT8I.js rename to pr-preview/pr-459/assets/FloatButton.stories-CRKBzvUN.js index 9281046cc..be9bc27f7 100644 --- a/pr-preview/pr-459/assets/FloatButton.stories-B5KLxT8I.js +++ b/pr-preview/pr-459/assets/FloatButton.stories-CRKBzvUN.js @@ -1,4 +1,4 @@ -var S=Object.defineProperty,f=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var m=(e,r,t)=>r in e?S(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,o=(e,r)=>{for(var t in r||(r={}))b.call(r,t)&&m(e,t,r[t]);if(c)for(var t of c(r))x.call(r,t)&&m(e,t,r[t]);return e},a=(e,r)=>f(e,F(r));import{a9 as C}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const K={title:"Components/General/FloatButton",component:C,args:{description:"Float Button",tooltip:"Tooltip Text",type:"primary",shape:"circle",href:"",target:"",badge:void 0,onClick:e=>{alert("Float Button Clicked!")}},argTypes:{shape:{control:"select",options:["circle","square"]},type:{control:"select",options:["default","primary"]}}},s={},p={args:{badge:{count:5}}},i={args:{shape:"square"}};var n,l,u;s.parameters=a(o({},s.parameters),{docs:a(o({},(n=s.parameters)==null?void 0:n.docs),{source:o({originalSource:"{}"},(u=(l=s.parameters)==null?void 0:l.docs)==null?void 0:u.source)})});var d,g,h;p.parameters=a(o({},p.parameters),{docs:a(o({},(d=p.parameters)==null?void 0:d.docs),{source:o({originalSource:`{ +var S=Object.defineProperty,b=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var m=(e,r,t)=>r in e?S(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,o=(e,r)=>{for(var t in r||(r={}))F.call(r,t)&&m(e,t,r[t]);if(c)for(var t of c(r))x.call(r,t)&&m(e,t,r[t]);return e},a=(e,r)=>b(e,f(r));import{ab as C}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const K={title:"Components/General/FloatButton",component:C,args:{description:"Float Button",tooltip:"Tooltip Text",type:"primary",shape:"circle",href:"",target:"",badge:void 0,onClick:e=>{alert("Float Button Clicked!")}},argTypes:{shape:{control:"select",options:["circle","square"]},type:{control:"select",options:["default","primary"]}}},s={},p={args:{badge:{count:5}}},i={args:{shape:"square"}};var n,l,u;s.parameters=a(o({},s.parameters),{docs:a(o({},(n=s.parameters)==null?void 0:n.docs),{source:o({originalSource:"{}"},(u=(l=s.parameters)==null?void 0:l.docs)==null?void 0:u.source)})});var d,g,h;p.parameters=a(o({},p.parameters),{docs:a(o({},(d=p.parameters)==null?void 0:d.docs),{source:o({originalSource:`{ args: { badge: { count: 5 diff --git a/pr-preview/pr-459/assets/Form.stories-B3rYDZHn.js b/pr-preview/pr-459/assets/Form.stories-0atdXO4-.js similarity index 77% rename from pr-preview/pr-459/assets/Form.stories-B3rYDZHn.js rename to pr-preview/pr-459/assets/Form.stories-0atdXO4-.js index fc6e6ff5b..a29379590 100644 --- a/pr-preview/pr-459/assets/Form.stories-B3rYDZHn.js +++ b/pr-preview/pr-459/assets/Form.stories-0atdXO4-.js @@ -1 +1 @@ -var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var e=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&e(t,o,r[o]);if(a)for(var o of a(r))f.call(r,o)&&e(t,o,r[o]);return t},i=(t,r)=>u(t,l(r));import{O as g}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/Form",component:g,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; +var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var e=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&e(t,o,r[o]);if(a)for(var o of a(r))f.call(r,o)&&e(t,o,r[o]);return t},i=(t,r)=>u(t,l(r));import{U as g}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Data Entry/Form",component:g,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const A=["Primary"];export{p as Primary,A as __namedExportsOrder,z as default}; diff --git a/pr-preview/pr-459/assets/GlobalNavigation-CPQMp-rl.js b/pr-preview/pr-459/assets/GlobalNavigation-DT_tPK9g.js similarity index 98% rename from pr-preview/pr-459/assets/GlobalNavigation-CPQMp-rl.js rename to pr-preview/pr-459/assets/GlobalNavigation-DT_tPK9g.js index 50bc15667..38cf9968b 100644 --- a/pr-preview/pr-459/assets/GlobalNavigation-CPQMp-rl.js +++ b/pr-preview/pr-459/assets/GlobalNavigation-DT_tPK9g.js @@ -142,7 +142,7 @@ html body { `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${r}-open ${r}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${r}-customize-input)`]:{[`${r}-selector`]:{width:"100%",height:"100%",padding:`0 ${B(n)}`,[`${r}-selection-search-input`]:{height:i},"&:after":{lineHeight:B(i)}}},[`&${r}-customize-input`]:{[`${r}-selector`]:{"&:after":{display:"none"},[`${r}-selection-search`]:{position:"static",width:"100%"},[`${r}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${B(n)}`,"&:after":{display:"none"}}}}}}}function oI(e){const{componentCls:t}=e,r=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[ju(e),ju(xt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:r,insetInlineEnd:r},[`${t}-selector`]:{padding:`0 ${B(r)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(r).add(e.calc(e.fontSize).mul(1.5)).equal()},[` &${t}-show-arrow ${t}-selection-item, &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ju(xt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const aI=e=>{const{fontSize:t,lineHeight:r,lineWidth:n,controlHeight:o,controlHeightSM:i,controlHeightLG:l,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:d,fontWeightStrong:f,controlItemBgActive:m,controlItemBgHover:g,colorBgContainer:v,colorFillSecondary:h,colorBgContainerDisabled:p,colorTextDisabled:C}=e,b=s*2,y=n*2,S=Math.min(o-b,o-y),x=Math.min(i-b,i-y),$=Math.min(l-b,l-y);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:f,optionSelectedBg:m,optionActiveBg:g,optionPadding:`${(o-t*r)/2}px ${c}px`,optionFontSize:t,optionLineHeight:r,optionHeight:o,selectorBg:v,clearBg:v,singleItemHeightLG:l,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:S,multipleItemHeightSM:x,multipleItemHeightLG:$,multipleSelectorBgDisabled:p,multipleItemColorDisabled:C,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},O5=(e,t)=>{const{componentCls:r,antCls:n,controlOutlineWidth:o}=e;return{[`&:not(${r}-customize-input) ${r}-selector`]:{border:`${B(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${r}-disabled):not(${r}-customize-input):not(${n}-pagination-size-changer)`]:{[`&:hover ${r}-selector`]:{borderColor:t.hoverBorderHover},[`${r}-focused& ${r}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${B(o)} ${t.activeShadowColor}`,outline:0}}}},P0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},O5(e,t))}),iI=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},O5(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),P0(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),P0(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),P5=(e,t)=>{const{componentCls:r,antCls:n}=e;return{[`&:not(${r}-customize-input) ${r}-selector`]:{background:t.bg,border:`${B(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${r}-disabled):not(${r}-customize-input):not(${n}-pagination-size-changer)`]:{[`&:hover ${r}-selector`]:{background:t.hoverBg},[`${r}-focused& ${r}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},N0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},P5(e,t))}),lI=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},P5(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),N0(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),N0(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),sI=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),cI=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},iI(e)),lI(e)),sI(e))}),uI=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},dI=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},fI=e=>{const{antCls:t,componentCls:r,inputPaddingHorizontalBase:n,iconCls:o}=e;return{[r]:Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${r}-customize-input) ${r}-selector`]:Object.assign(Object.assign({},uI(e)),dI(e)),[`${r}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Mn),{[`> ${t}-typography`]:{display:"inline"}}),[`${r}-selection-placeholder`]:Object.assign(Object.assign({},Mn),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${r}-arrow`]:Object.assign(Object.assign({},oi()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${r}-suffix)`]:{pointerEvents:"auto"}},[`${r}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${r}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${r}-clear`]:{opacity:1,background:e.colorBgBase}}),[`${r}-has-feedback`]:{[`${r}-clear`]:{insetInlineEnd:e.calc(n).add(e.fontSize).add(e.paddingXS).equal()}}}},mI=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},fI(e),oI(e),rI(e),eI(e),{[`${t}-rtl`]:{direction:"rtl"}},va(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},O1=Et("Select",(e,t)=>{let{rootPrefixCls:r}=t;const n=xt(e,{rootPrefixCls:r,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[mI(n),cI(n)]},aI,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var gI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const vI=gI;var pI=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:vI}))},hI=a.forwardRef(pI);const Cc=hI;var CI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const bI=CI;var yI=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:bI}))},SI=a.forwardRef(yI);const Cl=SI;var xI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const $I=xI;var wI=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:$I}))},EI=a.forwardRef(wI);const bc=EI;function yc(e){let{suffixIcon:t,clearIcon:r,menuItemSelectedIcon:n,removeIcon:o,loading:i,multiple:l,hasFeedback:s,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:f,componentName:m}=e;const g=r!=null?r:a.createElement(bo,null),v=b=>t===null&&!s&&!f?null:a.createElement(a.Fragment,null,u!==!1&&b,s&&d);let h=null;if(t!==void 0)h=v(t);else if(i)h=v(a.createElement(Lr,{spin:!0}));else{const b=`${c}-suffix`;h=y=>{let{open:S,showSearch:x}=y;return v(S&&x?a.createElement(bc,{className:b}):a.createElement(Cl,{className:b}))}}let p=null;n!==void 0?p=n:l?p=a.createElement(Cc,null):p=null;let C=null;return o!==void 0?C=o:C=a.createElement(mr,null),{clearIcon:g,suffixIcon:h,itemIcon:p,removeIcon:C}}function P1(e,t){return t!==void 0?t:e!==null}var II=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;const{prefixCls:n,bordered:o,className:i,rootClassName:l,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:m,size:g,disabled:v,notFoundContent:h,status:p,builtinPlacements:C,dropdownMatchSelectWidth:b,popupMatchSelectWidth:y,direction:S,style:x,allowClear:$,variant:w,dropdownStyle:I,transitionName:E,tagRender:O,maxCount:N}=e,P=II(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:R,getPrefixCls:M,renderEmpty:D,direction:L,virtual:T,popupMatchSelectWidth:_,popupOverflow:j,select:H}=a.useContext(ke),[,k]=zn(),V=m!=null?m:k==null?void 0:k.controlHeight,F=M("select",n),q=M(),W=S!=null?S:L,{compactSize:J,compactItemClassnames:X}=Hr(F,W),[Z,ee]=oo("select",w,o),ne=Ut(F),[Y,te,Q]=O1(F,ne),U=a.useMemo(()=>{const{mode:ge}=e;if(ge!=="combobox")return ge===N5?"combobox":ge},[e.mode]),ae=U==="multiple"||U==="tags",se=P1(e.suffixIcon,e.showArrow),oe=(r=y!=null?y:b)!==null&&r!==void 0?r:_,{status:re,hasFeedback:ce,isFormItemInput:ue,feedbackIcon:fe}=a.useContext(dn),be=zr(re,p);let de;h!==void 0?de=h:U==="combobox"?de=null:de=(D==null?void 0:D("Select"))||a.createElement(Ao,{componentName:"Select"});const{suffixIcon:he,itemIcon:Se,removeIcon:$e,clearIcon:Ne}=yc(Object.assign(Object.assign({},P),{multiple:ae,hasFeedback:ce,feedbackIcon:fe,showSuffixIcon:se,prefixCls:F,componentName:"Select"})),xe=$===!0?{clearIcon:Ne}:$,Me=Xt(P,["suffixIcon","itemIcon"]),Ee=G(c||u,{[`${F}-dropdown-${W}`]:W==="rtl"},l,Q,ne,te),Te=un(ge=>{var Ie;return(Ie=g!=null?g:J)!==null&&Ie!==void 0?Ie:ge}),Re=a.useContext(Hn),Pe=v!=null?v:Re,me=G({[`${F}-lg`]:Te==="large",[`${F}-sm`]:Te==="small",[`${F}-rtl`]:W==="rtl",[`${F}-${Z}`]:ee,[`${F}-in-form-item`]:ue},fr(F,be,ce),X,H==null?void 0:H.className,i,l,Q,ne,te),Ce=a.useMemo(()=>f!==void 0?f:W==="rtl"?"bottomRight":"bottomLeft",[f,W]),[pe]=or("SelectLike",I==null?void 0:I.zIndex);return Y(a.createElement(E1,Object.assign({ref:t,virtual:T,showSearch:H==null?void 0:H.showSearch},Me,{style:Object.assign(Object.assign({},H==null?void 0:H.style),x),dropdownMatchSelectWidth:oe,transitionName:kn(q,"slide-up",E),builtinPlacements:I1(C,j),listHeight:d,listItemHeight:V,mode:U,prefixCls:F,placement:Ce,direction:W,suffixIcon:he,menuItemSelectedIcon:Se,removeIcon:$e,allowClear:xe,notFoundContent:de,className:me,getPopupContainer:s||R,dropdownClassName:Ee,disabled:Pe,dropdownStyle:Object.assign(Object.assign({},I),{zIndex:pe}),maxCount:ae?N:void 0,tagRender:ae?O:void 0})))},jn=a.forwardRef(OI),PI=ro(jn);jn.SECRET_COMBOBOX_MODE_DO_NOT_USE=N5;jn.Option=$1;jn.OptGroup=x1;jn._InternalPanelDoNotUseOrYouWillBeFired=PI;const{Option:nf}=jn;function M0(e){return(e==null?void 0:e.type)&&(e.type.isSelectOption||e.type.isSelectOptGroup)}const NI=(e,t)=>{var r;const{prefixCls:n,className:o,popupClassName:i,dropdownClassName:l,children:s,dataSource:c}=e,u=sn(s);let d;u.length===1&&a.isValidElement(u[0])&&!M0(u[0])&&([d]=u);const f=d?()=>d:void 0;let m;u.length&&M0(u[0])?m=s:m=c?c.map(p=>{if(a.isValidElement(p))return p;switch(typeof p){case"string":return a.createElement(nf,{key:p,value:p},p);case"object":{const{value:C}=p;return a.createElement(nf,{key:C,value:C},p.text)}default:return}}):[];const{getPrefixCls:g}=a.useContext(ke),v=g("select",n),[h]=or("SelectLike",(r=e.dropdownStyle)===null||r===void 0?void 0:r.zIndex);return a.createElement(jn,Object.assign({ref:t,suffixIcon:null},Xt(e,["dataSource","dropdownClassName"]),{prefixCls:v,popupClassName:i||l,dropdownStyle:Object.assign(Object.assign({},e.dropdownStyle),{zIndex:h}),className:G(`${v}-auto-complete`,o),mode:jn.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:f}),m)},Sc=a.forwardRef(NI),MI=ro(Sc);Sc.Option=nf;Sc._InternalPanelDoNotUseOrYouWillBeFired=MI;const RI=Sc;function xc(){const[,e]=a.useReducer(t=>t+1,0);return e}function di(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=a.useRef({}),r=xc(),n=X7();return _t(()=>{const o=n.subscribe(i=>{t.current=i,e&&r()});return()=>n.unsubscribe(o)},[]),t.current}const TI=a.createContext({}),rf=TI,LI=e=>{const{antCls:t,componentCls:r,iconCls:n,avatarBg:o,avatarColor:i,containerSize:l,containerSizeLG:s,containerSizeSM:c,textFontSize:u,textFontSizeLG:d,textFontSizeSM:f,borderRadius:m,borderRadiusLG:g,borderRadiusSM:v,lineWidth:h,lineType:p}=e,C=(b,y,S)=>({width:b,height:b,borderRadius:"50%",[`&${r}-square`]:{borderRadius:S},[`&${r}-icon`]:{fontSize:y,[`> ${n}`]:{margin:0}}});return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${B(h)} ${p} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),C(l,u,m)),{"&-lg":Object.assign({},C(s,d,g)),"&-sm":Object.assign({},C(c,f,v)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},DI=e=>{const{componentCls:t,groupBorderColor:r,groupOverlapping:n,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:r},"> *:not(:first-child)":{marginInlineStart:n}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}},_I=e=>{const{controlHeight:t,controlHeightLG:r,controlHeightSM:n,fontSize:o,fontSizeLG:i,fontSizeXL:l,fontSizeHeading3:s,marginXS:c,marginXXS:u,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:r,containerSizeSM:n,textFontSize:Math.round((i+l)/2),textFontSizeLG:s,textFontSizeSM:o,groupSpace:u,groupOverlapping:-c,groupBorderColor:d}},M5=Et("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:r}=e,n=xt(e,{avatarBg:r,avatarColor:t});return[LI(n),DI(n)]},_I);var kI=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const[r,n]=a.useState(1),[o,i]=a.useState(!1),[l,s]=a.useState(!0),c=a.useRef(null),u=a.useRef(null),d=yn(t,c),{getPrefixCls:f,avatar:m}=a.useContext(ke),g=a.useContext(rf),v=()=>{if(!u.current||!c.current)return;const Z=u.current.offsetWidth,ee=c.current.offsetWidth;if(Z!==0&&ee!==0){const{gap:ne=4}=e;ne*2{i(!0)},[]),a.useEffect(()=>{s(!0),n(1)},[e.src]),a.useEffect(v,[e.gap]);const h=()=>{const{onError:Z}=e;(Z==null?void 0:Z())!==!1&&s(!1)},{prefixCls:p,shape:C,size:b,src:y,srcSet:S,icon:x,className:$,rootClassName:w,alt:I,draggable:E,children:O,crossOrigin:N}=e,P=kI(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),R=un(Z=>{var ee,ne;return(ne=(ee=b!=null?b:g==null?void 0:g.size)!==null&&ee!==void 0?ee:Z)!==null&&ne!==void 0?ne:"default"}),M=Object.keys(typeof R=="object"?R||{}:{}).some(Z=>["xs","sm","md","lg","xl","xxl"].includes(Z)),D=di(M),L=a.useMemo(()=>{if(typeof R!="object")return{};const Z=Rd.find(ne=>D[ne]),ee=R[Z];return ee?{width:ee,height:ee,fontSize:ee&&(x||O)?ee/2:18}:{}},[D,R]),T=f("avatar",p),_=Ut(T),[j,H,k]=M5(T,_),V=G({[`${T}-lg`]:R==="large",[`${T}-sm`]:R==="small"}),F=a.isValidElement(y),q=C||(g==null?void 0:g.shape)||"circle",W=G(T,V,m==null?void 0:m.className,`${T}-${q}`,{[`${T}-image`]:F||y&&l,[`${T}-icon`]:!!x},k,_,$,w,H),J=typeof R=="number"?{width:R,height:R,fontSize:x?R/2:18}:{};let X;if(typeof y=="string"&&l)X=a.createElement("img",{src:y,draggable:E,srcSet:S,onError:h,alt:I,crossOrigin:N});else if(F)X=y;else if(x)X=x;else if(o||r!==1){const Z=`scale(${r})`,ee={msTransform:Z,WebkitTransform:Z,transform:Z};X=a.createElement(Nn,{onResize:v},a.createElement("span",{className:`${T}-string`,ref:u,style:Object.assign({},ee)},O))}else X=a.createElement("span",{className:`${T}-string`,style:{opacity:0},ref:u},O);return delete P.onError,delete P.gap,j(a.createElement("span",Object.assign({},P,{style:Object.assign(Object.assign(Object.assign(Object.assign({},J),L),m==null?void 0:m.style),P.style),className:W,ref:d}),X))},R5=a.forwardRef(jI),Za=e=>e?typeof e=="function"?e():e:null;function N1(e){var t=e.children,r=e.prefixCls,n=e.id,o=e.overlayInnerStyle,i=e.className,l=e.style;return a.createElement("div",{className:G("".concat(r,"-content"),i),style:l},a.createElement("div",{className:"".concat(r,"-inner"),id:n,role:"tooltip",style:o},typeof t=="function"?t():t))}var Ra={shiftX:64,adjustY:1},Ta={adjustX:1,shiftY:!0},hr=[0,0],HI={left:{points:["cr","cl"],overflow:Ta,offset:[-4,0],targetOffset:hr},right:{points:["cl","cr"],overflow:Ta,offset:[4,0],targetOffset:hr},top:{points:["bc","tc"],overflow:Ra,offset:[0,-4],targetOffset:hr},bottom:{points:["tc","bc"],overflow:Ra,offset:[0,4],targetOffset:hr},topLeft:{points:["bl","tl"],overflow:Ra,offset:[0,-4],targetOffset:hr},leftTop:{points:["tr","tl"],overflow:Ta,offset:[-4,0],targetOffset:hr},topRight:{points:["br","tr"],overflow:Ra,offset:[0,-4],targetOffset:hr},rightTop:{points:["tl","tr"],overflow:Ta,offset:[4,0],targetOffset:hr},bottomRight:{points:["tr","br"],overflow:Ra,offset:[0,4],targetOffset:hr},rightBottom:{points:["bl","br"],overflow:Ta,offset:[4,0],targetOffset:hr},bottomLeft:{points:["tl","bl"],overflow:Ra,offset:[0,4],targetOffset:hr},leftBottom:{points:["br","bl"],overflow:Ta,offset:[-4,0],targetOffset:hr}},zI=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],BI=function(t,r){var n=t.overlayClassName,o=t.trigger,i=o===void 0?["hover"]:o,l=t.mouseEnterDelay,s=l===void 0?0:l,c=t.mouseLeaveDelay,u=c===void 0?.1:c,d=t.overlayStyle,f=t.prefixCls,m=f===void 0?"rc-tooltip":f,g=t.children,v=t.onVisibleChange,h=t.afterVisibleChange,p=t.transitionName,C=t.animation,b=t.motion,y=t.placement,S=y===void 0?"right":y,x=t.align,$=x===void 0?{}:x,w=t.destroyTooltipOnHide,I=w===void 0?!1:w,E=t.defaultVisible,O=t.getTooltipContainer,N=t.overlayInnerStyle;t.arrowContent;var P=t.overlay,R=t.id,M=t.showArrow,D=M===void 0?!0:M,L=ut(t,zI),T=a.useRef(null);a.useImperativeHandle(r,function(){return T.current});var _=K({},L);"visible"in t&&(_.popupVisible=t.visible);var j=function(){return a.createElement(N1,{key:"content",prefixCls:m,id:R,overlayInnerStyle:N},P)};return a.createElement(ha,ve({popupClassName:n,prefixCls:m,popup:j,action:i,builtinPlacements:HI,popupPlacement:S,ref:T,popupAlign:$,getPopupContainer:O,onPopupVisibleChange:v,afterPopupVisibleChange:h,popupTransitionName:p,popupAnimation:C,popupMotion:b,defaultPopupVisible:E,autoDestroy:I,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:D},_),g)};const AI=a.forwardRef(BI);function bl(e){const{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:n}=e,o=t/2,i=0,l=o,s=n*1/Math.sqrt(2),c=o-n*(1-1/Math.sqrt(2)),u=o-r*(1/Math.sqrt(2)),d=n*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),f=2*o-u,m=d,g=2*o-s,v=c,h=2*o-i,p=l,C=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),b=n*(Math.sqrt(2)-1),y=`polygon(${b}px 100%, 50% ${b}px, ${2*o-b}px 100%, ${b}px 100%)`,S=`path('M ${i} ${l} A ${n} ${n} 0 0 0 ${s} ${c} L ${u} ${d} A ${r} ${r} 0 0 1 ${f} ${m} L ${g} ${v} A ${n} ${n} 0 0 0 ${h} ${p} Z')`;return{arrowShadowWidth:C,arrowPath:S,arrowPolygon:y}}const T5=(e,t,r)=>{const{sizePopupArrow:n,arrowPolygon:o,arrowPath:i,arrowShadowWidth:l,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:c(n).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:l,height:l,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${B(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},M1=8;function yl(e){const{contentRadius:t,limitVerticalRadius:r}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:r?M1:n}}function Yl(e,t){return e?t:{}}function $c(e,t,r){const{componentCls:n,boxShadowPopoverArrow:o,arrowOffsetVertical:i,arrowOffsetHorizontal:l}=e,{arrowDistance:s=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=r||{};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},T5(e,t,o)),{"&:before":{background:t}})]},Yl(!!c.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":l,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:l}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${B(l)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:l}}}})),Yl(!!c.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":l,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:l}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${B(l)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:l}}}})),Yl(!!c.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:i},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:i}})),Yl(!!c.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:i},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:i}}))}}function FI(e,t,r,n){if(n===!1)return{adjustX:!1,adjustY:!1};const o=n&&typeof n=="object"?n:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+r,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+r,i.shiftX=!0,i.adjustX=!0;break}const l=Object.assign(Object.assign({},i),o);return l.shiftX||(l.adjustX=!0),l.shiftY||(l.adjustY=!0),l}const R0={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},VI={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},WI=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function R1(e){const{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:n,offset:o,borderRadius:i,visibleFirst:l}=e,s=t/2,c={};return Object.keys(R0).forEach(u=>{const d=n&&VI[u]||R0[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,WI.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+o;break}const m=yl({contentRadius:i,limitVerticalRadius:!0});if(n)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-m.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":f.offset[0]=m.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":f.offset[1]=-m.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":f.offset[1]=m.arrowOffsetHorizontal*2-s;break}f.overflow=FI(u,m,t,r),l&&(f.htmlRegion="visibleFirst")}),c}const KI=e=>{const{componentCls:t,tooltipMaxWidth:r,tooltipColor:n,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:l,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${B(e.calc(u).div(2).equal())} ${B(d)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,M1)}},[`${t}-content`]:{position:"relative"}}),ec(e,(f,m)=>{let{darkColor:g}=m;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:g},[`${t}-arrow`]:{"--antd-arrow-background-color":g}}}})),{"&-rtl":{direction:"rtl"}})},$c(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},qI=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},yl({contentRadius:e.borderRadius,limitVerticalRadius:!0})),bl(xt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),L5=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Et("Tooltip",n=>{const{borderRadius:o,colorTextLightSolid:i,colorBgSpotlight:l}=n,s=xt(n,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:o,tooltipBg:l});return[KI(s),ui(n,"zoom-big-fast")]},qI,{resetStyle:!1,injectStyle:t})(e)},GI=Qi.map(e=>`${e}-inverse`),XI=["success","processing","error","default","warning"];function wc(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(ye(GI),ye(Qi)).includes(e):Qi.includes(e)}function UI(e){return XI.includes(e)}function D5(e,t){const r=wc(t),n=G({[`${e}-${t}`]:t&&r}),o={},i={};return t&&!r&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:n,overlayStyle:o,arrowStyle:i}}const YI=e=>{const{prefixCls:t,className:r,placement:n="top",title:o,color:i,overlayInnerStyle:l}=e,{getPrefixCls:s}=a.useContext(ke),c=s("tooltip",t),[u,d,f]=L5(c),m=D5(c,i),g=m.arrowStyle,v=Object.assign(Object.assign({},l),m.overlayStyle),h=G(d,f,c,`${c}-pure`,`${c}-placement-${n}`,r,m.className);return u(a.createElement("div",{className:h,style:g},a.createElement("div",{className:`${c}-arrow`}),a.createElement(N1,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:v}),o)))},ZI=YI;var QI=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const{prefixCls:o,openClassName:i,getTooltipContainer:l,overlayClassName:s,color:c,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:m,destroyTooltipOnHide:g,arrow:v=!0,title:h,overlay:p,builtinPlacements:C,arrowPointAtCenter:b=!1,autoAdjustOverflow:y=!0}=e,S=!!v,[,x]=zn(),{getPopupContainer:$,getPrefixCls:w,direction:I}=a.useContext(ke),E=ho(),O=a.useRef(null),N=()=>{var de;(de=O.current)===null||de===void 0||de.forceAlign()};a.useImperativeHandle(t,()=>{var de;return{forceAlign:N,forcePopupAlign:()=>{E.deprecated(!1,"forcePopupAlign","forceAlign"),N()},nativeElement:(de=O.current)===null||de===void 0?void 0:de.nativeElement}});const[P,R]=Ot(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),M=!h&&!p&&h!==0,D=de=>{var he,Se;R(M?!1:de),M||((he=e.onOpenChange)===null||he===void 0||he.call(e,de),(Se=e.onVisibleChange)===null||Se===void 0||Se.call(e,de))},L=a.useMemo(()=>{var de,he;let Se=b;return typeof v=="object"&&(Se=(he=(de=v.pointAtCenter)!==null&&de!==void 0?de:v.arrowPointAtCenter)!==null&&he!==void 0?he:b),C||R1({arrowPointAtCenter:Se,autoAdjustOverflow:y,arrowWidth:S?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[b,v,C,x]),T=a.useMemo(()=>h===0?h:p||h||"",[p,h]),_=a.createElement(Dr,{space:!0},typeof T=="function"?T():T),{getPopupContainer:j,placement:H="top",mouseEnterDelay:k=.1,mouseLeaveDelay:V=.1,overlayStyle:F,rootClassName:q}=e,W=QI(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),J=w("tooltip",o),X=w(),Z=e["data-popover-inject"];let ee=P;!("open"in e)&&!("visible"in e)&&M&&(ee=!1);const ne=a.isValidElement(d)&&!Jh(d)?d:a.createElement("span",null,d),Y=ne.props,te=!Y.className||typeof Y.className=="string"?G(Y.className,i||`${J}-open`):Y.className,[Q,U,ae]=L5(J,!Z),se=D5(J,c),oe=se.arrowStyle,re=Object.assign(Object.assign({},u),se.overlayStyle),ce=G(s,{[`${J}-rtl`]:I==="rtl"},se.className,q,U,ae),[ue,fe]=or("Tooltip",W.zIndex),be=a.createElement(AI,Object.assign({},W,{zIndex:ue,showArrow:S,placement:H,mouseEnterDelay:k,mouseLeaveDelay:V,prefixCls:J,overlayClassName:ce,overlayStyle:Object.assign(Object.assign({},oe),F),getTooltipContainer:j||l||$,ref:O,builtinPlacements:L,overlay:_,visible:ee,onVisibleChange:D,afterVisibleChange:f!=null?f:m,overlayInnerStyle:re,arrowContent:a.createElement("span",{className:`${J}-arrow-content`}),motion:{motionName:kn(X,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),ee?cn(ne,{className:te}):ne);return Q(a.createElement(ii.Provider,{value:fe},be))}),_5=JI;_5._InternalPanelDoNotUseOrYouWillBeFired=ZI;const Qn=_5,eO=e=>{const{componentCls:t,popoverColor:r,titleMinWidth:n,fontWeightStrong:o,innerPadding:i,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:f,popoverBg:m,titleBorderBottom:g,innerContentPadding:v,titlePadding:h}=e;return[{[t]:Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":f,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:m,backgroundClip:"padding-box",borderRadius:c,boxShadow:l,padding:i},[`${t}-title`]:{minWidth:n,marginBottom:d,color:s,fontWeight:o,borderBottom:g,padding:h},[`${t}-inner-content`]:{color:r,padding:v}})},$c(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},tO=e=>{const{componentCls:t}=e;return{[t]:Qi.map(r=>{const n=e[`${r}6`];return{[`&${t}-${r}`]:{"--antd-arrow-background-color":n,[`${t}-inner`]:{backgroundColor:n},[`${t}-arrow`]:{background:"transparent"}}}})}},nO=e=>{const{lineWidth:t,controlHeight:r,fontHeight:n,padding:o,wireframe:i,zIndexPopupBase:l,borderRadiusLG:s,marginXS:c,lineType:u,colorSplit:d,paddingSM:f}=e,m=r-n,g=m/2,v=m/2-t,h=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},bl(e)),yl({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:c,titlePadding:i?`${g}px ${h}px ${v}px`:0,titleBorderBottom:i?`${t}px ${u} ${d}`:"none",innerContentPadding:i?`${f}px ${h}px`:0})},k5=Et("Popover",e=>{const{colorBgElevated:t,colorText:r}=e,n=xt(e,{popoverBg:t,popoverColor:r});return[eO(n),tO(n),ui(n,"zoom-big")]},nO,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var rO=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{title:t,content:r,prefixCls:n}=e;return!t&&!r?null:a.createElement(a.Fragment,null,t&&a.createElement("div",{className:`${n}-title`},t),r&&a.createElement("div",{className:`${n}-inner-content`},r))},H5=e=>{const{hashId:t,prefixCls:r,className:n,style:o,placement:i="top",title:l,content:s,children:c}=e,u=Za(l),d=Za(s),f=G(t,r,`${r}-pure`,`${r}-placement-${i}`,n);return a.createElement("div",{className:f,style:o},a.createElement("div",{className:`${r}-arrow`}),a.createElement(N1,Object.assign({},e,{className:t,prefixCls:r}),c||a.createElement(j5,{prefixCls:r,title:u,content:d})))},oO=e=>{const{prefixCls:t,className:r}=e,n=rO(e,["prefixCls","className"]),{getPrefixCls:o}=a.useContext(ke),i=o("popover",t),[l,s,c]=k5(i);return l(a.createElement(H5,Object.assign({},n,{prefixCls:i,hashId:s,className:G(r,c)})))},z5=oO;var aO=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const{prefixCls:o,title:i,content:l,overlayClassName:s,placement:c="top",trigger:u="hover",children:d,mouseEnterDelay:f=.1,mouseLeaveDelay:m=.1,onOpenChange:g,overlayStyle:v={}}=e,h=aO(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:p}=a.useContext(ke),C=p("popover",o),[b,y,S]=k5(C),x=p(),$=G(s,y,S),[w,I]=Ot(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),E=(M,D)=>{I(M,!0),g==null||g(M,D)},O=M=>{M.keyCode===we.ESC&&E(!1,M)},N=M=>{E(M)},P=Za(i),R=Za(l);return b(a.createElement(Qn,Object.assign({placement:c,trigger:u,mouseEnterDelay:f,mouseLeaveDelay:m,overlayStyle:v},h,{prefixCls:C,overlayClassName:$,ref:t,open:w,onOpenChange:N,overlay:P||R?a.createElement(j5,{prefixCls:C,title:P,content:R}):null,transitionName:kn(x,"zoom-big",h.transitionName),"data-popover-inject":!0}),cn(d,{onKeyDown:M=>{var D,L;a.isValidElement(d)&&((L=d==null?void 0:(D=d.props).onKeyDown)===null||L===void 0||L.call(D,M)),O(M)}})))}),B5=iO;B5._InternalPanelDoNotUseOrYouWillBeFired=z5;const Ec=B5,T0=e=>{const{size:t,shape:r}=a.useContext(rf),n=a.useMemo(()=>({size:e.size||t,shape:e.shape||r}),[e.size,e.shape,t,r]);return a.createElement(rf.Provider,{value:n},e.children)},lO=e=>{var t,r,n;const{getPrefixCls:o,direction:i}=a.useContext(ke),{prefixCls:l,className:s,rootClassName:c,style:u,maxCount:d,maxStyle:f,size:m,shape:g,maxPopoverPlacement:v,maxPopoverTrigger:h,children:p,max:C}=e,b=o("avatar",l),y=`${b}-group`,S=Ut(b),[x,$,w]=M5(b,S),I=G(y,{[`${y}-rtl`]:i==="rtl"},w,S,s,c,$),E=sn(p).map((P,R)=>cn(P,{key:`avatar-key-${R}`})),O=(C==null?void 0:C.count)||d,N=E.length;if(O&&O{const{componentCls:t,iconCls:r,antCls:n,badgeShadowSize:o,textFontSize:i,textFontSizeSM:l,statusSize:s,dotSize:c,textFontWeight:u,indicatorHeight:d,indicatorHeightSM:f,marginXS:m,calc:g}=e,v=`${n}-scroll-number`,h=ec(e,(p,C)=>{let{darkColor:b}=C;return{[`&${t} ${t}-color-${p}`]:{background:b,[`&:not(${t}-count)`]:{color:b},"a:hover &":{background:b}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:d,height:d,color:e.badgeTextColor,fontWeight:u,fontSize:i,lineHeight:B(d),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:g(d).div(2).equal(),boxShadow:`0 0 0 ${B(o)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:f,height:f,fontSize:l,lineHeight:B(f),borderRadius:g(f).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${B(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${B(o)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${v}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${r}-spin`]:{animationName:bO,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:gO,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:m,color:e.colorText,fontSize:e.fontSize}}}),h),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:vO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:pO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:hO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:CO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${v}-custom-component, ${t}-count`]:{transform:"none"},[`${v}-custom-component, ${v}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[v]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${v}-only`]:{position:"relative",display:"inline-block",height:d,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${v}-only-unit`]:{height:d,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${v}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${v}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},A5=e=>{const{fontHeight:t,lineWidth:r,marginXS:n,colorBorderBg:o}=e,i=t,l=r,s=e.colorBgContainer,c=e.colorError,u=e.colorErrorHover;return xt(e,{badgeFontHeight:i,badgeShadowSize:l,badgeTextColor:s,badgeColor:c,badgeColorHover:u,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:n,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},F5=e=>{const{fontSize:t,lineHeight:r,fontSizeSM:n,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*r)-2*o,indicatorHeightSM:t,dotSize:n/2,textFontSize:n,textFontSizeSM:n,textFontWeight:"normal",statusSize:n/2}},SO=Et("Badge",e=>{const t=A5(e);return yO(t)},F5),xO=e=>{const{antCls:t,badgeFontHeight:r,marginXS:n,badgeRibbonOffset:o,calc:i}=e,l=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,c=ec(e,(u,d)=>{let{darkColor:f}=d;return{[`&${l}-color-${u}`]:{background:f,color:f}}});return{[s]:{position:"relative"},[l]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:n,padding:`0 ${B(e.paddingXS)}`,color:e.colorPrimary,lineHeight:B(r),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${l}-text`]:{color:e.colorTextLightSolid},[`${l}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${B(i(o).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),c),{[`&${l}-placement-end`]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,[`${l}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${l}-placement-start`]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,[`${l}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},$O=Et(["Badge","Ribbon"],e=>{const t=A5(e);return xO(t)},F5),wO=e=>{const{className:t,prefixCls:r,style:n,color:o,children:i,text:l,placement:s="end",rootClassName:c}=e,{getPrefixCls:u,direction:d}=a.useContext(ke),f=u("ribbon",r),m=`${f}-wrapper`,[g,v,h]=$O(f,m),p=wc(o,!1),C=G(f,`${f}-placement-${s}`,{[`${f}-rtl`]:d==="rtl",[`${f}-color-${o}`]:p},t),b={},y={};return o&&!p&&(b.background=o,y.color=o),g(a.createElement("div",{className:G(m,c,v,h)},i,a.createElement("div",{className:G(C,v),style:Object.assign(Object.assign({},b),n)},a.createElement("span",{className:`${f}-text`},l),a.createElement("div",{className:`${f}-corner`,style:y}))))},EO=wO,L0=e=>{const{prefixCls:t,value:r,current:n,offset:o=0}=e;let i;return o&&(i={position:"absolute",top:`${o}00%`,left:0}),a.createElement("span",{style:i,className:G(`${t}-only-unit`,{current:n})},r)};function IO(e,t,r){let n=e,o=0;for(;(n+10)%10!==t;)n+=r,o+=r;return o}const OO=e=>{const{prefixCls:t,count:r,value:n}=e,o=Number(n),i=Math.abs(r),[l,s]=a.useState(o),[c,u]=a.useState(i),d=()=>{s(o),u(i)};a.useEffect(()=>{const g=setTimeout(d,1e3);return()=>clearTimeout(g)},[o]);let f,m;if(l===o||Number.isNaN(o)||Number.isNaN(l))f=[a.createElement(L0,Object.assign({},e,{key:o,current:!0}))],m={transition:"none"};else{f=[];const g=o+10,v=[];for(let C=o;C<=g;C+=1)v.push(C);const h=v.findIndex(C=>C%10===l);f=v.map((C,b)=>{const y=C%10;return a.createElement(L0,Object.assign({},e,{key:C,value:y,offset:b-h,current:b===h}))});const p=c{const{prefixCls:r,count:n,className:o,motionClassName:i,style:l,title:s,show:c,component:u="sup",children:d}=e,f=NO(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:m}=a.useContext(ke),g=m("scroll-number",r),v=Object.assign(Object.assign({},f),{"data-show":c,style:l,className:G(g,o,i),title:s});let h=n;if(n&&Number(n)%1===0){const p=String(n).split("");h=a.createElement("bdi",null,p.map((C,b)=>a.createElement(PO,{prefixCls:g,count:Number(n),value:C,key:p.length-b})))}return l!=null&&l.borderColor&&(v.style=Object.assign(Object.assign({},l),{boxShadow:`0 0 0 1px ${l.borderColor} inset`})),d?cn(d,p=>({className:G(`${g}-custom-component`,p==null?void 0:p.className,i)})):a.createElement(u,Object.assign({},v,{ref:t}),h)}),RO=MO;var TO=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n,o,i,l;const{prefixCls:s,scrollNumberPrefixCls:c,children:u,status:d,text:f,color:m,count:g=null,overflowCount:v=99,dot:h=!1,size:p="default",title:C,offset:b,style:y,className:S,rootClassName:x,classNames:$,styles:w,showZero:I=!1}=e,E=TO(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:O,direction:N,badge:P}=a.useContext(ke),R=O("badge",s),[M,D,L]=SO(R),T=g>v?`${v}+`:g,_=T==="0"||T===0,j=g===null||_&&!I,H=(d!=null||m!=null)&&j,k=h&&!_,V=k?"":T,F=a.useMemo(()=>(V==null||V===""||_&&!I)&&!k,[V,_,I,k]),q=a.useRef(g);F||(q.current=g);const W=q.current,J=a.useRef(V);F||(J.current=V);const X=J.current,Z=a.useRef(k);F||(Z.current=k);const ee=a.useMemo(()=>{if(!b)return Object.assign(Object.assign({},P==null?void 0:P.style),y);const oe={marginTop:b[1]};return N==="rtl"?oe.left=parseInt(b[0],10):oe.right=-parseInt(b[0],10),Object.assign(Object.assign(Object.assign({},oe),P==null?void 0:P.style),y)},[N,b,y,P==null?void 0:P.style]),ne=C!=null?C:typeof W=="string"||typeof W=="number"?W:void 0,Y=F||!f?null:a.createElement("span",{className:`${R}-status-text`},f),te=!W||typeof W!="object"?void 0:cn(W,oe=>({style:Object.assign(Object.assign({},ee),oe.style)})),Q=wc(m,!1),U=G($==null?void 0:$.indicator,(r=P==null?void 0:P.classNames)===null||r===void 0?void 0:r.indicator,{[`${R}-status-dot`]:H,[`${R}-status-${d}`]:!!d,[`${R}-color-${m}`]:Q}),ae={};m&&!Q&&(ae.color=m,ae.background=m);const se=G(R,{[`${R}-status`]:H,[`${R}-not-a-wrapper`]:!u,[`${R}-rtl`]:N==="rtl"},S,x,P==null?void 0:P.className,(n=P==null?void 0:P.classNames)===null||n===void 0?void 0:n.root,$==null?void 0:$.root,D,L);if(!u&&H){const oe=ee.color;return M(a.createElement("span",Object.assign({},E,{className:se,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.root),(o=P==null?void 0:P.styles)===null||o===void 0?void 0:o.root),ee)}),a.createElement("span",{className:U,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(i=P==null?void 0:P.styles)===null||i===void 0?void 0:i.indicator),ae)}),f&&a.createElement("span",{style:{color:oe},className:`${R}-status-text`},f)))}return M(a.createElement("span",Object.assign({ref:t},E,{className:se,style:Object.assign(Object.assign({},(l=P==null?void 0:P.styles)===null||l===void 0?void 0:l.root),w==null?void 0:w.root)}),u,a.createElement(In,{visible:!F,motionName:`${R}-zoom`,motionAppear:!1,motionDeadline:1e3},oe=>{let{className:re}=oe;var ce,ue;const fe=O("scroll-number",c),be=Z.current,de=G($==null?void 0:$.indicator,(ce=P==null?void 0:P.classNames)===null||ce===void 0?void 0:ce.indicator,{[`${R}-dot`]:be,[`${R}-count`]:!be,[`${R}-count-sm`]:p==="small",[`${R}-multiple-words`]:!be&&X&&X.toString().length>1,[`${R}-status-${d}`]:!!d,[`${R}-color-${m}`]:Q});let he=Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(ue=P==null?void 0:P.styles)===null||ue===void 0?void 0:ue.indicator),ee);return m&&!Q&&(he=he||{},he.background=m),a.createElement(RO,{prefixCls:fe,show:!F,motionClassName:re,className:de,count:X,title:ne,style:he,key:"scrollNumber"},te)}),Y))}),Ic=LO;Ic.Ribbon=EO;var DO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const _O=DO;var kO=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:_O}))},jO=a.forwardRef(kO);const eo=jO;var HO=we.ESC,zO=we.TAB;function BO(e){var t=e.visible,r=e.triggerRef,n=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,l=a.useRef(!1),s=function(){if(t){var f,m;(f=r.current)===null||f===void 0||(m=f.focus)===null||m===void 0||m.call(f),n==null||n(!1)}},c=function(){var f;return(f=i.current)!==null&&f!==void 0&&f.focus?(i.current.focus(),l.current=!0,!0):!1},u=function(f){switch(f.keyCode){case HO:s();break;case zO:{var m=!1;l.current||(m=c()),m?f.preventDefault():s();break}}};a.useEffect(function(){return t?(window.addEventListener("keydown",u),o&&kt(c,3),function(){window.removeEventListener("keydown",u),l.current=!1}):function(){l.current=!1}},[t])}var AO=a.forwardRef(function(e,t){var r=e.overlay,n=e.arrow,o=e.prefixCls,i=a.useMemo(function(){var s;return typeof r=="function"?s=r():s=r,s},[r]),l=yn(t,i==null?void 0:i.ref);return z.createElement(z.Fragment,null,n&&z.createElement("div",{className:"".concat(o,"-arrow")}),z.cloneElement(i,{ref:fo(i)?l:void 0}))}),La={adjustX:1,adjustY:1},Da=[0,0],FO={topLeft:{points:["bl","tl"],overflow:La,offset:[0,-4],targetOffset:Da},top:{points:["bc","tc"],overflow:La,offset:[0,-4],targetOffset:Da},topRight:{points:["br","tr"],overflow:La,offset:[0,-4],targetOffset:Da},bottomLeft:{points:["tl","bl"],overflow:La,offset:[0,4],targetOffset:Da},bottom:{points:["tc","bc"],overflow:La,offset:[0,4],targetOffset:Da},bottomRight:{points:["tr","br"],overflow:La,offset:[0,4],targetOffset:Da}},VO=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function WO(e,t){var r,n=e.arrow,o=n===void 0?!1:n,i=e.prefixCls,l=i===void 0?"rc-dropdown":i,s=e.transitionName,c=e.animation,u=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,m=e.placements,g=m===void 0?FO:m,v=e.getPopupContainer,h=e.showAction,p=e.hideAction,C=e.overlayClassName,b=e.overlayStyle,y=e.visible,S=e.trigger,x=S===void 0?["hover"]:S,$=e.autoFocus,w=e.overlay,I=e.children,E=e.onVisibleChange,O=ut(e,VO),N=z.useState(),P=ie(N,2),R=P[0],M=P[1],D="visible"in e?y:R,L=z.useRef(null),T=z.useRef(null),_=z.useRef(null);z.useImperativeHandle(t,function(){return L.current});var j=function(Z){M(Z),E==null||E(Z)};BO({visible:D,triggerRef:_,onVisibleChange:j,autoFocus:$,overlayRef:T});var H=function(Z){var ee=e.onOverlayClick;M(!1),ee&&ee(Z)},k=function(){return z.createElement(AO,{ref:T,overlay:w,prefixCls:l,arrow:o})},V=function(){return typeof w=="function"?k:k()},F=function(){var Z=e.minOverlayWidthMatchTrigger,ee=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?Z:!ee},q=function(){var Z=e.openClassName;return Z!==void 0?Z:"".concat(l,"-open")},W=z.cloneElement(I,{className:G((r=I.props)===null||r===void 0?void 0:r.className,D&&q()),ref:fo(I)?yn(_,I.ref):void 0}),J=p;return!J&&x.indexOf("contextMenu")!==-1&&(J=["click"]),z.createElement(ha,ve({builtinPlacements:g},O,{prefixCls:l,ref:L,popupClassName:G(C,A({},"".concat(l,"-show-arrow"),o)),popupStyle:b,action:x,showAction:h,hideAction:J,popupPlacement:f,popupAlign:u,popupTransitionName:s,popupAnimation:c,popupVisible:D,stretch:F()?"minWidth":"",popup:V(),onPopupVisibleChange:j,onPopupClick:H,getPopupContainer:v}),W)}const V5=z.forwardRef(WO);var W5=a.createContext(null);function K5(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function q5(e){var t=a.useContext(W5);return K5(t,e)}var KO=["children","locked"],_r=a.createContext(null);function qO(e,t){var r=K({},e);return Object.keys(t).forEach(function(n){var o=t[n];o!==void 0&&(r[n]=o)}),r}function nl(e){var t=e.children,r=e.locked,n=ut(e,KO),o=a.useContext(_r),i=sl(function(){return qO(o,n)},[o,n],function(l,s){return!r&&(l[0]!==s[0]||!Rr(l[1],s[1],!0))});return a.createElement(_r.Provider,{value:i},t)}var GO=[],G5=a.createContext(null);function Oc(){return a.useContext(G5)}var X5=a.createContext(GO);function fi(e){var t=a.useContext(X5);return a.useMemo(function(){return e!==void 0?[].concat(ye(t),[e]):t},[t,e])}var U5=a.createContext(null),L1=a.createContext({});function D0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(li(e)){var r=e.nodeName.toLowerCase(),n=["input","select","textarea","button"].includes(r)||e.isContentEditable||r==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),l=null;return o&&!Number.isNaN(i)?l=i:n&&l===null&&(l=0),n&&e.disabled&&(l=null),l!==null&&(l>=0||t&&l<0)}return!1}function XO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=ye(e.querySelectorAll("*")).filter(function(n){return D0(n,t)});return D0(e,t)&&r.unshift(e),r}var of=we.LEFT,af=we.RIGHT,lf=we.UP,vs=we.DOWN,ps=we.ENTER,Y5=we.ESC,Ni=we.HOME,Mi=we.END,_0=[lf,vs,of,af];function UO(e,t,r,n){var o,i,l,s,c="prev",u="next",d="children",f="parent";if(e==="inline"&&n===ps)return{inlineTrigger:!0};var m=(o={},A(o,lf,c),A(o,vs,u),o),g=(i={},A(i,of,r?u:c),A(i,af,r?c:u),A(i,vs,d),A(i,ps,d),i),v=(l={},A(l,lf,c),A(l,vs,u),A(l,ps,d),A(l,Y5,f),A(l,of,r?d:f),A(l,af,r?f:d),l),h={inline:m,horizontal:g,vertical:v,inlineSub:m,horizontalSub:v,verticalSub:v},p=(s=h["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[n];switch(p){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function YO(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function ZO(e,t){for(var r=e||document.activeElement;r;){if(t.has(r))return r;r=r.parentElement}return null}function D1(e,t){var r=XO(e,!0);return r.filter(function(n){return t.has(n)})}function k0(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=D1(e,t),i=o.length,l=o.findIndex(function(s){return r===s});return n<0?l===-1?l=i-1:l-=1:n>0&&(l+=1),l=(l+i)%i,o[l]}var sf=function(t,r){var n=new Set,o=new Map,i=new Map;return t.forEach(function(l){var s=document.querySelector("[data-menu-id='".concat(K5(r,l),"']"));s&&(n.add(s),i.set(s,l),o.set(l,s))}),{elements:n,key2element:o,element2key:i}};function QO(e,t,r,n,o,i,l,s,c,u){var d=a.useRef(),f=a.useRef();f.current=t;var m=function(){kt.cancel(d.current)};return a.useEffect(function(){return function(){m()}},[]),function(g){var v=g.which;if([].concat(_0,[ps,Y5,Ni,Mi]).includes(v)){var h=i(),p=sf(h,n),C=p,b=C.elements,y=C.key2element,S=C.element2key,x=y.get(t),$=ZO(x,b),w=S.get($),I=UO(e,l(w,!0).length===1,r,v);if(!I&&v!==Ni&&v!==Mi)return;(_0.includes(v)||[Ni,Mi].includes(v))&&g.preventDefault();var E=function(T){if(T){var _=T,j=T.querySelector("a");j!=null&&j.getAttribute("href")&&(_=j);var H=S.get(T);s(H),m(),d.current=kt(function(){f.current===H&&_.focus()})}};if([Ni,Mi].includes(v)||I.sibling||!$){var O;!$||e==="inline"?O=o.current:O=YO($);var N,P=D1(O,b);v===Ni?N=P[0]:v===Mi?N=P[P.length-1]:N=k0(O,b,$,I.offset),E(N)}else if(I.inlineTrigger)c(w);else if(I.offset>0)c(w,!0),m(),d.current=kt(function(){p=sf(h,n);var L=$.getAttribute("aria-controls"),T=document.getElementById(L),_=k0(T,p.elements);E(_)},5);else if(I.offset<0){var R=l(w,!0),M=R[R.length-2],D=y.get(M);c(M,!1),E(D)}}u==null||u(g)}}function JO(e){Promise.resolve().then(e)}var _1="__RC_UTIL_PATH_SPLIT__",j0=function(t){return t.join(_1)},eP=function(t){return t.split(_1)},cf="rc-menu-more";function tP(){var e=a.useState({}),t=ie(e,2),r=t[1],n=a.useRef(new Map),o=a.useRef(new Map),i=a.useState([]),l=ie(i,2),s=l[0],c=l[1],u=a.useRef(0),d=a.useRef(!1),f=function(){d.current||r({})},m=a.useCallback(function(y,S){var x=j0(S);o.current.set(x,y),n.current.set(y,x),u.current+=1;var $=u.current;JO(function(){$===u.current&&f()})},[]),g=a.useCallback(function(y,S){var x=j0(S);o.current.delete(x),n.current.delete(y)},[]),v=a.useCallback(function(y){c(y)},[]),h=a.useCallback(function(y,S){var x=n.current.get(y)||"",$=eP(x);return S&&s.includes($[0])&&$.unshift(cf),$},[s]),p=a.useCallback(function(y,S){return y.filter(function(x){return x!==void 0}).some(function(x){var $=h(x,!0);return $.includes(S)})},[h]),C=function(){var S=ye(n.current.keys());return s.length&&S.push(cf),S},b=a.useCallback(function(y){var S="".concat(n.current.get(y)).concat(_1),x=new Set;return ye(o.current.keys()).forEach(function($){$.startsWith(S)&&x.add(o.current.get($))}),x},[]);return a.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:m,unregisterPath:g,refreshOverflowKeys:v,isSubPathKey:p,getKeyPath:h,getKeys:C,getSubPathKeys:b}}function Hi(e){var t=a.useRef(e);t.current=e;var r=a.useCallback(function(){for(var n,o=arguments.length,i=new Array(o),l=0;l1&&(b.motionAppear=!1);var y=b.onVisibleChanged;return b.onVisibleChanged=function(S){return!m.current&&!S&&p(!0),y==null?void 0:y(S)},h?null:a.createElement(nl,{mode:i,locked:!m.current},a.createElement(In,ve({visible:C},b,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(S){var x=S.className,$=S.style;return a.createElement(k1,{id:t,className:x,style:$},o)}))}var CP=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],bP=["active"],yP=a.forwardRef(function(e,t){var r,n=e.style,o=e.className,i=e.title,l=e.eventKey;e.warnKey;var s=e.disabled,c=e.internalPopupClose,u=e.children,d=e.itemIcon,f=e.expandIcon,m=e.popupClassName,g=e.popupOffset,v=e.popupStyle,h=e.onClick,p=e.onMouseEnter,C=e.onMouseLeave,b=e.onTitleClick,y=e.onTitleMouseEnter,S=e.onTitleMouseLeave,x=ut(e,CP),$=q5(l),w=a.useContext(_r),I=w.prefixCls,E=w.mode,O=w.openKeys,N=w.disabled,P=w.overflowDisabled,R=w.activeKey,M=w.selectedKeys,D=w.itemIcon,L=w.expandIcon,T=w.onItemClick,_=w.onOpenChange,j=w.onActive,H=a.useContext(L1),k=H._internalRenderSubMenuItem,V=a.useContext(U5),F=V.isSubPathKey,q=fi(),W="".concat(I,"-submenu"),J=N||s,X=a.useRef(),Z=a.useRef(),ee=d!=null?d:D,ne=f!=null?f:L,Y=O.includes(l),te=!P&&Y,Q=F(M,l),U=Z5(l,J,y,S),ae=U.active,se=ut(U,bP),oe=a.useState(!1),re=ie(oe,2),ce=re[0],ue=re[1],fe=function(pe){J||ue(pe)},be=function(pe){fe(!0),p==null||p({key:l,domEvent:pe})},de=function(pe){fe(!1),C==null||C({key:l,domEvent:pe})},he=a.useMemo(function(){return ae||(E!=="inline"?ce||F([R],l):!1)},[E,ae,R,ce,l,F]),Se=Q5(q.length),$e=function(pe){J||(b==null||b({key:l,domEvent:pe}),E==="inline"&&_(l,!Y))},Ne=Hi(function(Ce){h==null||h(Ls(Ce)),T(Ce)}),xe=function(pe){E!=="inline"&&_(l,pe)},Me=function(){j(l)},Ee=$&&"".concat($,"-popup"),Te=a.createElement("div",ve({role:"menuitem",style:Se,className:"".concat(W,"-title"),tabIndex:J?null:-1,ref:X,title:typeof i=="string"?i:null,"data-menu-id":P&&$?null:$,"aria-expanded":te,"aria-haspopup":!0,"aria-controls":Ee,"aria-disabled":J,onClick:$e,onFocus:Me},se),i,a.createElement(J5,{icon:E!=="horizontal"?ne:void 0,props:K(K({},e),{},{isOpen:te,isSubMenu:!0})},a.createElement("i",{className:"".concat(W,"-arrow")}))),Re=a.useRef(E);if(E!=="inline"&&q.length>1?Re.current="vertical":Re.current=E,!P){var Pe=Re.current;Te=a.createElement(pP,{mode:Pe,prefixCls:W,visible:!c&&te&&E!=="inline",popupClassName:m,popupOffset:g,popupStyle:v,popup:a.createElement(nl,{mode:Pe==="horizontal"?"vertical":Pe},a.createElement(k1,{id:Ee,ref:Z},u)),disabled:J,onVisibleChange:xe},Te)}var me=a.createElement(Nr.Item,ve({ref:t,role:"none"},x,{component:"li",style:n,className:G(W,"".concat(W,"-").concat(E),o,(r={},A(r,"".concat(W,"-open"),te),A(r,"".concat(W,"-active"),he),A(r,"".concat(W,"-selected"),Q),A(r,"".concat(W,"-disabled"),J),r)),onMouseEnter:be,onMouseLeave:de}),Te,!P&&a.createElement(hP,{id:Ee,open:te,keyPath:q},u));return k&&(me=k(me,e,{selected:Q,active:he,open:te,disabled:J})),a.createElement(nl,{onItemClick:Ne,mode:E==="horizontal"?"vertical":E,itemIcon:ee,expandIcon:ne},me)}),Pc=a.forwardRef(function(e,t){var r=e.eventKey,n=e.children,o=fi(r),i=j1(n,o),l=Oc();a.useEffect(function(){if(l)return l.registerPath(r,o),function(){l.unregisterPath(r,o)}},[o]);var s;return l?s=i:s=a.createElement(yP,ve({ref:t},e),i),a.createElement(X5.Provider,{value:o},s)});function H1(e){var t=e.className,r=e.style,n=a.useContext(_r),o=n.prefixCls,i=Oc();return i?null:a.createElement("li",{role:"separator",className:G("".concat(o,"-item-divider"),t),style:r})}var SP=["className","title","eventKey","children"],xP=a.forwardRef(function(e,t){var r=e.className,n=e.title;e.eventKey;var o=e.children,i=ut(e,SP),l=a.useContext(_r),s=l.prefixCls,c="".concat(s,"-item-group");return a.createElement("li",ve({ref:t,role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:G(c,r)}),a.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof n=="string"?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))}),z1=a.forwardRef(function(e,t){var r=e.eventKey,n=e.children,o=fi(r),i=j1(n,o),l=Oc();return l?i:a.createElement(xP,ve({ref:t},Xt(e,["warnKey"])),i)}),$P=["label","children","key","type"];function uf(e,t){var r=t.item,n=t.group,o=t.submenu,i=t.divider;return(e||[]).map(function(l,s){if(l&&bt(l)==="object"){var c=l,u=c.label,d=c.children,f=c.key,m=c.type,g=ut(c,$P),v=f!=null?f:"tmp-".concat(s);return d||m==="group"?m==="group"?a.createElement(n,ve({key:v},g,{title:u}),uf(d,t)):a.createElement(o,ve({key:v},g,{title:u}),uf(d,t)):m==="divider"?a.createElement(i,ve({key:v},g)):a.createElement(r,ve({key:v},g),u)}return null}).filter(function(l){return l})}function z0(e,t,r,n){var o=e,i=K({divider:H1,item:la,group:z1,submenu:Pc},n);return t&&(o=uf(t,i)),j1(o,r)}var wP=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Xo=[],EP=a.forwardRef(function(e,t){var r,n,o=e,i=o.prefixCls,l=i===void 0?"rc-menu":i,s=o.rootClassName,c=o.style,u=o.className,d=o.tabIndex,f=d===void 0?0:d,m=o.items,g=o.children,v=o.direction,h=o.id,p=o.mode,C=p===void 0?"vertical":p,b=o.inlineCollapsed,y=o.disabled,S=o.disabledOverflow,x=o.subMenuOpenDelay,$=x===void 0?.1:x,w=o.subMenuCloseDelay,I=w===void 0?.1:w,E=o.forceSubMenuRender,O=o.defaultOpenKeys,N=o.openKeys,P=o.activeKey,R=o.defaultActiveFirst,M=o.selectable,D=M===void 0?!0:M,L=o.multiple,T=L===void 0?!1:L,_=o.defaultSelectedKeys,j=o.selectedKeys,H=o.onSelect,k=o.onDeselect,V=o.inlineIndent,F=V===void 0?24:V,q=o.motion,W=o.defaultMotions,J=o.triggerSubMenuAction,X=J===void 0?"hover":J,Z=o.builtinPlacements,ee=o.itemIcon,ne=o.expandIcon,Y=o.overflowedIndicator,te=Y===void 0?"...":Y,Q=o.overflowedIndicatorPopupClassName,U=o.getPopupContainer,ae=o.onClick,se=o.onOpenChange,oe=o.onKeyDown;o.openAnimation,o.openTransitionName;var re=o._internalRenderMenuItem,ce=o._internalRenderSubMenuItem,ue=o._internalComponents,fe=ut(o,wP),be=a.useMemo(function(){return[z0(g,m,Xo,ue),z0(g,m,Xo,{})]},[g,m,ue]),de=ie(be,2),he=de[0],Se=de[1],$e=a.useState(!1),Ne=ie($e,2),xe=Ne[0],Me=Ne[1],Ee=a.useRef(),Te=rP(h),Re=v==="rtl",Pe=Ot(O,{value:N,postState:function(Lt){return Lt||Xo}}),me=ie(Pe,2),Ce=me[0],pe=me[1],ge=function(Lt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vt(){pe(Lt),se==null||se(Lt)}Dt?Qr.flushSync(vt):vt()},Ie=a.useState(Ce),nt=ie(Ie,2),Ve=nt[0],Ze=nt[1],De=a.useRef(!1),Ke=a.useMemo(function(){return(C==="inline"||C==="vertical")&&b?["vertical",b]:[C,!1]},[C,b]),Qe=ie(Ke,2),ot=Qe[0],Xe=Qe[1],We=ot==="inline",He=a.useState(ot),at=ie(He,2),Le=at[0],Ue=at[1],_e=a.useState(Xe),Be=ie(_e,2),Je=Be[0],dt=Be[1];a.useEffect(function(){Ue(ot),dt(Xe),De.current&&(We?pe(Ve):ge(Xo))},[ot,Xe]);var it=a.useState(0),qe=ie(it,2),Ae=qe[0],Ge=qe[1],Ye=Ae>=he.length-1||Le!=="horizontal"||S;a.useEffect(function(){We&&Ze(Ce)},[Ce]),a.useEffect(function(){return De.current=!0,function(){De.current=!1}},[]);var tt=tP(),mt=tt.registerPath,lt=tt.unregisterPath,ft=tt.refreshOverflowKeys,gt=tt.isSubPathKey,et=tt.getKeyPath,rt=tt.getKeys,Fe=tt.getSubPathKeys,je=a.useMemo(function(){return{registerPath:mt,unregisterPath:lt}},[mt,lt]),st=a.useMemo(function(){return{isSubPathKey:gt}},[gt]);a.useEffect(function(){ft(Ye?Xo:he.slice(Ae+1).map(function(Bt){return Bt.key}))},[Ae,Ye]);var Ct=Ot(P||R&&((r=he[0])===null||r===void 0?void 0:r.key),{value:P}),Nt=ie(Ct,2),Vt=Nt[0],Kt=Nt[1],qt=Hi(function(Bt){Kt(Bt)}),Gt=Hi(function(){Kt(void 0)});a.useImperativeHandle(t,function(){return{list:Ee.current,focus:function(Lt){var Dt,vt=rt(),ht=sf(vt,Te),Yt=ht.elements,on=ht.key2element,xn=ht.element2key,On=D1(Ee.current,Yt),An=Vt!=null?Vt:On[0]?xn.get(On[0]):(Dt=he.find(function(ct){return!ct.props.disabled}))===null||Dt===void 0?void 0:Dt.key,jt=on.get(An);if(An&&jt){var Rt;jt==null||(Rt=jt.focus)===null||Rt===void 0||Rt.call(jt,Lt)}}}});var pt=Ot(_||[],{value:j,postState:function(Lt){return Array.isArray(Lt)?Lt:Lt==null?Xo:[Lt]}}),St=ie(pt,2),It=St[0],rn=St[1],gn=function(Lt){if(D){var Dt=Lt.key,vt=It.includes(Dt),ht;T?vt?ht=It.filter(function(on){return on!==Dt}):ht=[].concat(ye(It),[Dt]):ht=[Dt],rn(ht);var Yt=K(K({},Lt),{},{selectedKeys:ht});vt?k==null||k(Yt):H==null||H(Yt)}!T&&Ce.length&&Le!=="inline"&&ge(Xo)},Sn=Hi(function(Bt){ae==null||ae(Ls(Bt)),gn(Bt)}),Cn=Hi(function(Bt,Lt){var Dt=Ce.filter(function(ht){return ht!==Bt});if(Lt)Dt.push(Bt);else if(Le!=="inline"){var vt=Fe(Bt);Dt=Dt.filter(function(ht){return!vt.has(ht)})}Rr(Ce,Dt,!0)||ge(Dt,!0)}),Wn=function(Lt,Dt){var vt=Dt!=null?Dt:!Ce.includes(Lt);Cn(Lt,vt)},Bn=QO(Le,Vt,Re,Te,Ee,rt,et,Kt,Wn,oe);a.useEffect(function(){Me(!0)},[]);var vn=a.useMemo(function(){return{_internalRenderMenuItem:re,_internalRenderSubMenuItem:ce}},[re,ce]),At=Le!=="horizontal"||S?he:he.map(function(Bt,Lt){return a.createElement(nl,{key:Bt.key,overflowDisabled:Lt>Ae},Bt)}),Tt=a.createElement(Nr,ve({id:h,ref:Ee,prefixCls:"".concat(l,"-overflow"),component:"ul",itemComponent:la,className:G(l,"".concat(l,"-root"),"".concat(l,"-").concat(Le),u,(n={},A(n,"".concat(l,"-inline-collapsed"),Je),A(n,"".concat(l,"-rtl"),Re),n),s),dir:v,style:c,role:"menu",tabIndex:f,data:At,renderRawItem:function(Lt){return Lt},renderRawRest:function(Lt){var Dt=Lt.length,vt=Dt?he.slice(-Dt):null;return a.createElement(Pc,{eventKey:cf,title:te,disabled:Ye,internalPopupClose:Dt===0,popupClassName:Q},vt)},maxCount:Le!=="horizontal"||S?Nr.INVALIDATE:Nr.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Lt){Ge(Lt)},onKeyDown:Bn},fe));return a.createElement(L1.Provider,{value:vn},a.createElement(W5.Provider,{value:Te},a.createElement(nl,{prefixCls:l,rootClassName:s,mode:Le,openKeys:Ce,rtl:Re,disabled:y,motion:xe?q:null,defaultMotions:xe?W:null,activeKey:Vt,onActive:qt,onInactive:Gt,selectedKeys:It,inlineIndent:F,subMenuOpenDelay:$,subMenuCloseDelay:I,forceSubMenuRender:E,builtinPlacements:Z,triggerSubMenuAction:X,getPopupContainer:U,itemIcon:ee,expandIcon:ne,onItemClick:Sn,onOpenChange:Cn},a.createElement(U5.Provider,{value:st},Tt),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement(G5.Provider,{value:je},Se)))))}),Ca=EP;Ca.Item=la;Ca.SubMenu=Pc;Ca.ItemGroup=z1;Ca.Divider=H1;var IP={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const OP=IP;var PP=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:OP}))},NP=a.forwardRef(PP);const MP=NP;var RP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const TP=RP;var LP=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:TP}))},DP=a.forwardRef(LP);const ko=DP,_P=e=>!isNaN(parseFloat(e))&&isFinite(e),t3=a.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var kP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),HP=a.forwardRef((e,t)=>{const{prefixCls:r,className:n,trigger:o,children:i,defaultCollapsed:l=!1,theme:s="dark",style:c={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:m=80,zeroWidthTriggerStyle:g,breakpoint:v,onCollapse:h,onBreakpoint:p}=e,C=kP(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=a.useContext(t3),[y,S]=a.useState("collapsed"in e?e.collapsed:l),[x,$]=a.useState(!1);a.useEffect(()=>{"collapsed"in e&&S(e.collapsed)},[e.collapsed]);const w=(R,M)=>{"collapsed"in e||S(R),h==null||h(R,M)},I=a.useRef();I.current=R=>{$(R.matches),p==null||p(R.matches),y!==R.matches&&w(R.matches,"responsive")},a.useEffect(()=>{function R(D){return I.current(D)}let M;if(typeof window!="undefined"){const{matchMedia:D}=window;if(D&&v&&v in B0){M=D(`screen and (max-width: ${B0[v]})`);try{M.addEventListener("change",R)}catch(L){M.addListener(R)}R(M)}}return()=>{try{M==null||M.removeEventListener("change",R)}catch(D){M==null||M.removeListener(R)}}},[v]),a.useEffect(()=>{const R=jP("ant-sider-");return b.addSider(R),()=>b.removeSider(R)},[]);const E=()=>{w(!y,"clickTrigger")},{getPrefixCls:O}=a.useContext(ke),N=()=>{const R=O("layout-sider",r),M=Xt(C,["collapsed"]),D=y?m:f,L=_P(D)?`${D}px`:String(D),T=parseFloat(String(m||0))===0?a.createElement("span",{onClick:E,className:G(`${R}-zero-width-trigger`,`${R}-zero-width-trigger-${d?"right":"left"}`),style:g},o||a.createElement(MP,null)):null,H={expanded:d?a.createElement(eo,null):a.createElement(ko,null),collapsed:d?a.createElement(ko,null):a.createElement(eo,null)}[y?"collapsed":"expanded"],k=o!==null?T||a.createElement("div",{className:`${R}-trigger`,onClick:E,style:{width:L}},o||H):null,V=Object.assign(Object.assign({},c),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),F=G(R,`${R}-${s}`,{[`${R}-collapsed`]:!!y,[`${R}-has-trigger`]:u&&o!==null&&!T,[`${R}-below`]:!!x,[`${R}-zero-width`]:parseFloat(L)===0},n);return a.createElement("aside",Object.assign({className:F},M,{style:V,ref:t}),a.createElement("div",{className:`${R}-children`},i),u||x&&T?k:null)},P=a.useMemo(()=>({siderCollapsed:y}),[y]);return a.createElement(Nc.Provider,{value:P},N())}),n3=HP;var zP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const BP=zP;var AP=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:BP}))},FP=a.forwardRef(AP);const B1=FP,VP=a.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ds=VP;var WP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,dashed:n}=e,o=WP(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=a.useContext(ke),l=i("menu",t),s=G({[`${l}-item-divider-dashed`]:!!n},r);return a.createElement(H1,Object.assign({className:s},o))},r3=KP,qP=e=>{var t;const{className:r,children:n,icon:o,title:i,danger:l}=e,{prefixCls:s,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=a.useContext(Ds),m=b=>{const y=a.createElement("span",{className:`${s}-title-content`},n);return(!o||a.isValidElement(n)&&n.type==="span")&&n&&b&&c&&typeof n=="string"?a.createElement("div",{className:`${s}-inline-collapsed-noicon`},n.charAt(0)):y},{siderCollapsed:g}=a.useContext(Nc);let v=i;typeof i=="undefined"?v=c?n:"":i===!1&&(v="");const h={title:v};!g&&!f&&(h.title=null,h.open=!1);const p=sn(n).length;let C=a.createElement(la,Object.assign({},Xt(e,["title","icon","danger"]),{className:G({[`${s}-item-danger`]:l,[`${s}-item-only-child`]:(o?p+1:p)===1},r),title:typeof i=="string"?i:void 0}),cn(o,{className:G(a.isValidElement(o)?(t=o.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),m(f));return d||(C=a.createElement(Qn,Object.assign({},h,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),C)),C},o3=qP;var GP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{children:r}=e,n=GP(e,["children"]),o=a.useContext(df),i=a.useMemo(()=>Object.assign(Object.assign({},o),n),[o,n.prefixCls,n.mode,n.selectable,n.rootClassName]),l=W7(r),s=Co(t,l?r.ref:null);return a.createElement(df.Provider,{value:i},a.createElement(Dr,{space:!0},l?a.cloneElement(r,{ref:s}):r))}),A0=df,XP=e=>{const{componentCls:t,motionDurationSlow:r,horizontalLineHeight:n,colorSplit:o,lineWidth:i,lineType:l,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${B(i)} ${l} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ju(xt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const aI=e=>{const{fontSize:t,lineHeight:r,lineWidth:n,controlHeight:o,controlHeightSM:i,controlHeightLG:l,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:d,fontWeightStrong:f,controlItemBgActive:m,controlItemBgHover:g,colorBgContainer:v,colorFillSecondary:h,colorBgContainerDisabled:p,colorTextDisabled:C}=e,b=s*2,y=n*2,S=Math.min(o-b,o-y),x=Math.min(i-b,i-y),$=Math.min(l-b,l-y);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:f,optionSelectedBg:m,optionActiveBg:g,optionPadding:`${(o-t*r)/2}px ${c}px`,optionFontSize:t,optionLineHeight:r,optionHeight:o,selectorBg:v,clearBg:v,singleItemHeightLG:l,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:S,multipleItemHeightSM:x,multipleItemHeightLG:$,multipleSelectorBgDisabled:p,multipleItemColorDisabled:C,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},O5=(e,t)=>{const{componentCls:r,antCls:n,controlOutlineWidth:o}=e;return{[`&:not(${r}-customize-input) ${r}-selector`]:{border:`${B(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${r}-disabled):not(${r}-customize-input):not(${n}-pagination-size-changer)`]:{[`&:hover ${r}-selector`]:{borderColor:t.hoverBorderHover},[`${r}-focused& ${r}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${B(o)} ${t.activeShadowColor}`,outline:0}}}},P0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},O5(e,t))}),iI=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},O5(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),P0(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),P0(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),P5=(e,t)=>{const{componentCls:r,antCls:n}=e;return{[`&:not(${r}-customize-input) ${r}-selector`]:{background:t.bg,border:`${B(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${r}-disabled):not(${r}-customize-input):not(${n}-pagination-size-changer)`]:{[`&:hover ${r}-selector`]:{background:t.hoverBg},[`${r}-focused& ${r}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},N0=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},P5(e,t))}),lI=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},P5(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),N0(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),N0(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),sI=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),cI=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},iI(e)),lI(e)),sI(e))}),uI=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},dI=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},fI=e=>{const{antCls:t,componentCls:r,inputPaddingHorizontalBase:n,iconCls:o}=e;return{[r]:Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${r}-customize-input) ${r}-selector`]:Object.assign(Object.assign({},uI(e)),dI(e)),[`${r}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Mn),{[`> ${t}-typography`]:{display:"inline"}}),[`${r}-selection-placeholder`]:Object.assign(Object.assign({},Mn),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${r}-arrow`]:Object.assign(Object.assign({},oi()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${r}-suffix)`]:{pointerEvents:"auto"}},[`${r}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${r}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${r}-clear`]:{opacity:1,background:e.colorBgBase}}),[`${r}-has-feedback`]:{[`${r}-clear`]:{insetInlineEnd:e.calc(n).add(e.fontSize).add(e.paddingXS).equal()}}}},mI=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},fI(e),oI(e),rI(e),eI(e),{[`${t}-rtl`]:{direction:"rtl"}},va(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},O1=Et("Select",(e,t)=>{let{rootPrefixCls:r}=t;const n=xt(e,{rootPrefixCls:r,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[mI(n),cI(n)]},aI,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var gI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const vI=gI;var pI=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:vI}))},hI=a.forwardRef(pI);const Cc=hI;var CI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const bI=CI;var yI=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:bI}))},SI=a.forwardRef(yI);const Cl=SI;var xI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const $I=xI;var wI=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:$I}))},EI=a.forwardRef(wI);const bc=EI;function yc(e){let{suffixIcon:t,clearIcon:r,menuItemSelectedIcon:n,removeIcon:o,loading:i,multiple:l,hasFeedback:s,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:f,componentName:m}=e;const g=r!=null?r:a.createElement(bo,null),v=b=>t===null&&!s&&!f?null:a.createElement(a.Fragment,null,u!==!1&&b,s&&d);let h=null;if(t!==void 0)h=v(t);else if(i)h=v(a.createElement(Lr,{spin:!0}));else{const b=`${c}-suffix`;h=y=>{let{open:S,showSearch:x}=y;return v(S&&x?a.createElement(bc,{className:b}):a.createElement(Cl,{className:b}))}}let p=null;n!==void 0?p=n:l?p=a.createElement(Cc,null):p=null;let C=null;return o!==void 0?C=o:C=a.createElement(mr,null),{clearIcon:g,suffixIcon:h,itemIcon:p,removeIcon:C}}function P1(e,t){return t!==void 0?t:e!==null}var II=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;const{prefixCls:n,bordered:o,className:i,rootClassName:l,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:m,size:g,disabled:v,notFoundContent:h,status:p,builtinPlacements:C,dropdownMatchSelectWidth:b,popupMatchSelectWidth:y,direction:S,style:x,allowClear:$,variant:w,dropdownStyle:I,transitionName:E,tagRender:O,maxCount:N}=e,P=II(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:R,getPrefixCls:M,renderEmpty:D,direction:L,virtual:T,popupMatchSelectWidth:_,popupOverflow:j,select:H}=a.useContext(ke),[,k]=zn(),V=m!=null?m:k==null?void 0:k.controlHeight,F=M("select",n),q=M(),W=S!=null?S:L,{compactSize:J,compactItemClassnames:X}=Hr(F,W),[Z,ee]=oo("select",w,o),ne=Ut(F),[Y,te,Q]=O1(F,ne),U=a.useMemo(()=>{const{mode:ge}=e;if(ge!=="combobox")return ge===N5?"combobox":ge},[e.mode]),ae=U==="multiple"||U==="tags",se=P1(e.suffixIcon,e.showArrow),oe=(r=y!=null?y:b)!==null&&r!==void 0?r:_,{status:re,hasFeedback:ce,isFormItemInput:ue,feedbackIcon:fe}=a.useContext(dn),be=zr(re,p);let de;h!==void 0?de=h:U==="combobox"?de=null:de=(D==null?void 0:D("Select"))||a.createElement(Ao,{componentName:"Select"});const{suffixIcon:he,itemIcon:Se,removeIcon:$e,clearIcon:Ne}=yc(Object.assign(Object.assign({},P),{multiple:ae,hasFeedback:ce,feedbackIcon:fe,showSuffixIcon:se,prefixCls:F,componentName:"Select"})),xe=$===!0?{clearIcon:Ne}:$,Me=Xt(P,["suffixIcon","itemIcon"]),Ee=G(c||u,{[`${F}-dropdown-${W}`]:W==="rtl"},l,Q,ne,te),Te=un(ge=>{var Ie;return(Ie=g!=null?g:J)!==null&&Ie!==void 0?Ie:ge}),Re=a.useContext(Hn),Pe=v!=null?v:Re,me=G({[`${F}-lg`]:Te==="large",[`${F}-sm`]:Te==="small",[`${F}-rtl`]:W==="rtl",[`${F}-${Z}`]:ee,[`${F}-in-form-item`]:ue},fr(F,be,ce),X,H==null?void 0:H.className,i,l,Q,ne,te),Ce=a.useMemo(()=>f!==void 0?f:W==="rtl"?"bottomRight":"bottomLeft",[f,W]),[pe]=or("SelectLike",I==null?void 0:I.zIndex);return Y(a.createElement(E1,Object.assign({ref:t,virtual:T,showSearch:H==null?void 0:H.showSearch},Me,{style:Object.assign(Object.assign({},H==null?void 0:H.style),x),dropdownMatchSelectWidth:oe,transitionName:kn(q,"slide-up",E),builtinPlacements:I1(C,j),listHeight:d,listItemHeight:V,mode:U,prefixCls:F,placement:Ce,direction:W,suffixIcon:he,menuItemSelectedIcon:Se,removeIcon:$e,allowClear:xe,notFoundContent:de,className:me,getPopupContainer:s||R,dropdownClassName:Ee,disabled:Pe,dropdownStyle:Object.assign(Object.assign({},I),{zIndex:pe}),maxCount:ae?N:void 0,tagRender:ae?O:void 0})))},jn=a.forwardRef(OI),PI=ro(jn);jn.SECRET_COMBOBOX_MODE_DO_NOT_USE=N5;jn.Option=$1;jn.OptGroup=x1;jn._InternalPanelDoNotUseOrYouWillBeFired=PI;const{Option:nf}=jn;function M0(e){return(e==null?void 0:e.type)&&(e.type.isSelectOption||e.type.isSelectOptGroup)}const NI=(e,t)=>{var r;const{prefixCls:n,className:o,popupClassName:i,dropdownClassName:l,children:s,dataSource:c}=e,u=sn(s);let d;u.length===1&&a.isValidElement(u[0])&&!M0(u[0])&&([d]=u);const f=d?()=>d:void 0;let m;u.length&&M0(u[0])?m=s:m=c?c.map(p=>{if(a.isValidElement(p))return p;switch(typeof p){case"string":return a.createElement(nf,{key:p,value:p},p);case"object":{const{value:C}=p;return a.createElement(nf,{key:C,value:C},p.text)}default:return}}):[];const{getPrefixCls:g}=a.useContext(ke),v=g("select",n),[h]=or("SelectLike",(r=e.dropdownStyle)===null||r===void 0?void 0:r.zIndex);return a.createElement(jn,Object.assign({ref:t,suffixIcon:null},Xt(e,["dataSource","dropdownClassName"]),{prefixCls:v,popupClassName:i||l,dropdownStyle:Object.assign(Object.assign({},e.dropdownStyle),{zIndex:h}),className:G(`${v}-auto-complete`,o),mode:jn.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:f}),m)},Sc=a.forwardRef(NI),MI=ro(Sc);Sc.Option=nf;Sc._InternalPanelDoNotUseOrYouWillBeFired=MI;const RI=Sc;function xc(){const[,e]=a.useReducer(t=>t+1,0);return e}function di(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=a.useRef({}),r=xc(),n=X7();return _t(()=>{const o=n.subscribe(i=>{t.current=i,e&&r()});return()=>n.unsubscribe(o)},[]),t.current}const TI=a.createContext({}),rf=TI,LI=e=>{const{antCls:t,componentCls:r,iconCls:n,avatarBg:o,avatarColor:i,containerSize:l,containerSizeLG:s,containerSizeSM:c,textFontSize:u,textFontSizeLG:d,textFontSizeSM:f,borderRadius:m,borderRadiusLG:g,borderRadiusSM:v,lineWidth:h,lineType:p}=e,C=(b,y,S)=>({width:b,height:b,borderRadius:"50%",[`&${r}-square`]:{borderRadius:S},[`&${r}-icon`]:{fontSize:y,[`> ${n}`]:{margin:0}}});return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${B(h)} ${p} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),C(l,u,m)),{"&-lg":Object.assign({},C(s,d,g)),"&-sm":Object.assign({},C(c,f,v)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},DI=e=>{const{componentCls:t,groupBorderColor:r,groupOverlapping:n,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:r},"> *:not(:first-child)":{marginInlineStart:n}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}},_I=e=>{const{controlHeight:t,controlHeightLG:r,controlHeightSM:n,fontSize:o,fontSizeLG:i,fontSizeXL:l,fontSizeHeading3:s,marginXS:c,marginXXS:u,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:r,containerSizeSM:n,textFontSize:Math.round((i+l)/2),textFontSizeLG:s,textFontSizeSM:o,groupSpace:u,groupOverlapping:-c,groupBorderColor:d}},M5=Et("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:r}=e,n=xt(e,{avatarBg:r,avatarColor:t});return[LI(n),DI(n)]},_I);var kI=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const[r,n]=a.useState(1),[o,i]=a.useState(!1),[l,s]=a.useState(!0),c=a.useRef(null),u=a.useRef(null),d=yn(t,c),{getPrefixCls:f,avatar:m}=a.useContext(ke),g=a.useContext(rf),v=()=>{if(!u.current||!c.current)return;const Z=u.current.offsetWidth,ee=c.current.offsetWidth;if(Z!==0&&ee!==0){const{gap:ne=4}=e;ne*2{i(!0)},[]),a.useEffect(()=>{s(!0),n(1)},[e.src]),a.useEffect(v,[e.gap]);const h=()=>{const{onError:Z}=e;(Z==null?void 0:Z())!==!1&&s(!1)},{prefixCls:p,shape:C,size:b,src:y,srcSet:S,icon:x,className:$,rootClassName:w,alt:I,draggable:E,children:O,crossOrigin:N}=e,P=kI(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),R=un(Z=>{var ee,ne;return(ne=(ee=b!=null?b:g==null?void 0:g.size)!==null&&ee!==void 0?ee:Z)!==null&&ne!==void 0?ne:"default"}),M=Object.keys(typeof R=="object"?R||{}:{}).some(Z=>["xs","sm","md","lg","xl","xxl"].includes(Z)),D=di(M),L=a.useMemo(()=>{if(typeof R!="object")return{};const Z=Rd.find(ne=>D[ne]),ee=R[Z];return ee?{width:ee,height:ee,fontSize:ee&&(x||O)?ee/2:18}:{}},[D,R]),T=f("avatar",p),_=Ut(T),[j,H,k]=M5(T,_),V=G({[`${T}-lg`]:R==="large",[`${T}-sm`]:R==="small"}),F=a.isValidElement(y),q=C||(g==null?void 0:g.shape)||"circle",W=G(T,V,m==null?void 0:m.className,`${T}-${q}`,{[`${T}-image`]:F||y&&l,[`${T}-icon`]:!!x},k,_,$,w,H),J=typeof R=="number"?{width:R,height:R,fontSize:x?R/2:18}:{};let X;if(typeof y=="string"&&l)X=a.createElement("img",{src:y,draggable:E,srcSet:S,onError:h,alt:I,crossOrigin:N});else if(F)X=y;else if(x)X=x;else if(o||r!==1){const Z=`scale(${r})`,ee={msTransform:Z,WebkitTransform:Z,transform:Z};X=a.createElement(Nn,{onResize:v},a.createElement("span",{className:`${T}-string`,ref:u,style:Object.assign({},ee)},O))}else X=a.createElement("span",{className:`${T}-string`,style:{opacity:0},ref:u},O);return delete P.onError,delete P.gap,j(a.createElement("span",Object.assign({},P,{style:Object.assign(Object.assign(Object.assign(Object.assign({},J),L),m==null?void 0:m.style),P.style),className:W,ref:d}),X))},R5=a.forwardRef(jI),Za=e=>e?typeof e=="function"?e():e:null;function N1(e){var t=e.children,r=e.prefixCls,n=e.id,o=e.overlayInnerStyle,i=e.className,l=e.style;return a.createElement("div",{className:G("".concat(r,"-content"),i),style:l},a.createElement("div",{className:"".concat(r,"-inner"),id:n,role:"tooltip",style:o},typeof t=="function"?t():t))}var Ra={shiftX:64,adjustY:1},Ta={adjustX:1,shiftY:!0},hr=[0,0],HI={left:{points:["cr","cl"],overflow:Ta,offset:[-4,0],targetOffset:hr},right:{points:["cl","cr"],overflow:Ta,offset:[4,0],targetOffset:hr},top:{points:["bc","tc"],overflow:Ra,offset:[0,-4],targetOffset:hr},bottom:{points:["tc","bc"],overflow:Ra,offset:[0,4],targetOffset:hr},topLeft:{points:["bl","tl"],overflow:Ra,offset:[0,-4],targetOffset:hr},leftTop:{points:["tr","tl"],overflow:Ta,offset:[-4,0],targetOffset:hr},topRight:{points:["br","tr"],overflow:Ra,offset:[0,-4],targetOffset:hr},rightTop:{points:["tl","tr"],overflow:Ta,offset:[4,0],targetOffset:hr},bottomRight:{points:["tr","br"],overflow:Ra,offset:[0,4],targetOffset:hr},rightBottom:{points:["bl","br"],overflow:Ta,offset:[4,0],targetOffset:hr},bottomLeft:{points:["tl","bl"],overflow:Ra,offset:[0,4],targetOffset:hr},leftBottom:{points:["br","bl"],overflow:Ta,offset:[-4,0],targetOffset:hr}},zI=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],BI=function(t,r){var n=t.overlayClassName,o=t.trigger,i=o===void 0?["hover"]:o,l=t.mouseEnterDelay,s=l===void 0?0:l,c=t.mouseLeaveDelay,u=c===void 0?.1:c,d=t.overlayStyle,f=t.prefixCls,m=f===void 0?"rc-tooltip":f,g=t.children,v=t.onVisibleChange,h=t.afterVisibleChange,p=t.transitionName,C=t.animation,b=t.motion,y=t.placement,S=y===void 0?"right":y,x=t.align,$=x===void 0?{}:x,w=t.destroyTooltipOnHide,I=w===void 0?!1:w,E=t.defaultVisible,O=t.getTooltipContainer,N=t.overlayInnerStyle;t.arrowContent;var P=t.overlay,R=t.id,M=t.showArrow,D=M===void 0?!0:M,L=ut(t,zI),T=a.useRef(null);a.useImperativeHandle(r,function(){return T.current});var _=K({},L);"visible"in t&&(_.popupVisible=t.visible);var j=function(){return a.createElement(N1,{key:"content",prefixCls:m,id:R,overlayInnerStyle:N},P)};return a.createElement(ha,ve({popupClassName:n,prefixCls:m,popup:j,action:i,builtinPlacements:HI,popupPlacement:S,ref:T,popupAlign:$,getPopupContainer:O,onPopupVisibleChange:v,afterPopupVisibleChange:h,popupTransitionName:p,popupAnimation:C,popupMotion:b,defaultPopupVisible:E,autoDestroy:I,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:D},_),g)};const AI=a.forwardRef(BI);function bl(e){const{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:n}=e,o=t/2,i=0,l=o,s=n*1/Math.sqrt(2),c=o-n*(1-1/Math.sqrt(2)),u=o-r*(1/Math.sqrt(2)),d=n*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),f=2*o-u,m=d,g=2*o-s,v=c,h=2*o-i,p=l,C=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),b=n*(Math.sqrt(2)-1),y=`polygon(${b}px 100%, 50% ${b}px, ${2*o-b}px 100%, ${b}px 100%)`,S=`path('M ${i} ${l} A ${n} ${n} 0 0 0 ${s} ${c} L ${u} ${d} A ${r} ${r} 0 0 1 ${f} ${m} L ${g} ${v} A ${n} ${n} 0 0 0 ${h} ${p} Z')`;return{arrowShadowWidth:C,arrowPath:S,arrowPolygon:y}}const T5=(e,t,r)=>{const{sizePopupArrow:n,arrowPolygon:o,arrowPath:i,arrowShadowWidth:l,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:c(n).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:l,height:l,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${B(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},M1=8;function yl(e){const{contentRadius:t,limitVerticalRadius:r}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:r?M1:n}}function Yl(e,t){return e?t:{}}function $c(e,t,r){const{componentCls:n,boxShadowPopoverArrow:o,arrowOffsetVertical:i,arrowOffsetHorizontal:l}=e,{arrowDistance:s=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=r||{};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},T5(e,t,o)),{"&:before":{background:t}})]},Yl(!!c.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":l,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:l}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${B(l)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:l}}}})),Yl(!!c.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":l,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:l}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${B(l)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:l}}}})),Yl(!!c.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:i},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:i}})),Yl(!!c.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:i},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:i}}))}}function FI(e,t,r,n){if(n===!1)return{adjustX:!1,adjustY:!1};const o=n&&typeof n=="object"?n:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+r,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+r,i.shiftX=!0,i.adjustX=!0;break}const l=Object.assign(Object.assign({},i),o);return l.shiftX||(l.adjustX=!0),l.shiftY||(l.adjustY=!0),l}const R0={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},VI={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},WI=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function R1(e){const{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:n,offset:o,borderRadius:i,visibleFirst:l}=e,s=t/2,c={};return Object.keys(R0).forEach(u=>{const d=n&&VI[u]||R0[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,WI.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+o;break}const m=yl({contentRadius:i,limitVerticalRadius:!0});if(n)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-m.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":f.offset[0]=m.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":f.offset[1]=-m.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":f.offset[1]=m.arrowOffsetHorizontal*2-s;break}f.overflow=FI(u,m,t,r),l&&(f.htmlRegion="visibleFirst")}),c}const KI=e=>{const{componentCls:t,tooltipMaxWidth:r,tooltipColor:n,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:l,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${B(e.calc(u).div(2).equal())} ${B(d)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,M1)}},[`${t}-content`]:{position:"relative"}}),ec(e,(f,m)=>{let{darkColor:g}=m;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:g},[`${t}-arrow`]:{"--antd-arrow-background-color":g}}}})),{"&-rtl":{direction:"rtl"}})},$c(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},qI=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},yl({contentRadius:e.borderRadius,limitVerticalRadius:!0})),bl(xt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),L5=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Et("Tooltip",n=>{const{borderRadius:o,colorTextLightSolid:i,colorBgSpotlight:l}=n,s=xt(n,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:o,tooltipBg:l});return[KI(s),ui(n,"zoom-big-fast")]},qI,{resetStyle:!1,injectStyle:t})(e)},GI=Qi.map(e=>`${e}-inverse`),XI=["success","processing","error","default","warning"];function wc(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(ye(GI),ye(Qi)).includes(e):Qi.includes(e)}function UI(e){return XI.includes(e)}function D5(e,t){const r=wc(t),n=G({[`${e}-${t}`]:t&&r}),o={},i={};return t&&!r&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:n,overlayStyle:o,arrowStyle:i}}const YI=e=>{const{prefixCls:t,className:r,placement:n="top",title:o,color:i,overlayInnerStyle:l}=e,{getPrefixCls:s}=a.useContext(ke),c=s("tooltip",t),[u,d,f]=L5(c),m=D5(c,i),g=m.arrowStyle,v=Object.assign(Object.assign({},l),m.overlayStyle),h=G(d,f,c,`${c}-pure`,`${c}-placement-${n}`,r,m.className);return u(a.createElement("div",{className:h,style:g},a.createElement("div",{className:`${c}-arrow`}),a.createElement(N1,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:v}),o)))},ZI=YI;var QI=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const{prefixCls:o,openClassName:i,getTooltipContainer:l,overlayClassName:s,color:c,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:m,destroyTooltipOnHide:g,arrow:v=!0,title:h,overlay:p,builtinPlacements:C,arrowPointAtCenter:b=!1,autoAdjustOverflow:y=!0}=e,S=!!v,[,x]=zn(),{getPopupContainer:$,getPrefixCls:w,direction:I}=a.useContext(ke),E=ho(),O=a.useRef(null),N=()=>{var de;(de=O.current)===null||de===void 0||de.forceAlign()};a.useImperativeHandle(t,()=>{var de;return{forceAlign:N,forcePopupAlign:()=>{E.deprecated(!1,"forcePopupAlign","forceAlign"),N()},nativeElement:(de=O.current)===null||de===void 0?void 0:de.nativeElement}});const[P,R]=Ot(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),M=!h&&!p&&h!==0,D=de=>{var he,Se;R(M?!1:de),M||((he=e.onOpenChange)===null||he===void 0||he.call(e,de),(Se=e.onVisibleChange)===null||Se===void 0||Se.call(e,de))},L=a.useMemo(()=>{var de,he;let Se=b;return typeof v=="object"&&(Se=(he=(de=v.pointAtCenter)!==null&&de!==void 0?de:v.arrowPointAtCenter)!==null&&he!==void 0?he:b),C||R1({arrowPointAtCenter:Se,autoAdjustOverflow:y,arrowWidth:S?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[b,v,C,x]),T=a.useMemo(()=>h===0?h:p||h||"",[p,h]),_=a.createElement(Dr,{space:!0},typeof T=="function"?T():T),{getPopupContainer:j,placement:H="top",mouseEnterDelay:k=.1,mouseLeaveDelay:V=.1,overlayStyle:F,rootClassName:q}=e,W=QI(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),J=w("tooltip",o),X=w(),Z=e["data-popover-inject"];let ee=P;!("open"in e)&&!("visible"in e)&&M&&(ee=!1);const ne=a.isValidElement(d)&&!Jh(d)?d:a.createElement("span",null,d),Y=ne.props,te=!Y.className||typeof Y.className=="string"?G(Y.className,i||`${J}-open`):Y.className,[Q,U,ae]=L5(J,!Z),se=D5(J,c),oe=se.arrowStyle,re=Object.assign(Object.assign({},u),se.overlayStyle),ce=G(s,{[`${J}-rtl`]:I==="rtl"},se.className,q,U,ae),[ue,fe]=or("Tooltip",W.zIndex),be=a.createElement(AI,Object.assign({},W,{zIndex:ue,showArrow:S,placement:H,mouseEnterDelay:k,mouseLeaveDelay:V,prefixCls:J,overlayClassName:ce,overlayStyle:Object.assign(Object.assign({},oe),F),getTooltipContainer:j||l||$,ref:O,builtinPlacements:L,overlay:_,visible:ee,onVisibleChange:D,afterVisibleChange:f!=null?f:m,overlayInnerStyle:re,arrowContent:a.createElement("span",{className:`${J}-arrow-content`}),motion:{motionName:kn(X,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),ee?cn(ne,{className:te}):ne);return Q(a.createElement(ii.Provider,{value:fe},be))}),_5=JI;_5._InternalPanelDoNotUseOrYouWillBeFired=ZI;const Qn=_5,eO=e=>{const{componentCls:t,popoverColor:r,titleMinWidth:n,fontWeightStrong:o,innerPadding:i,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:f,popoverBg:m,titleBorderBottom:g,innerContentPadding:v,titlePadding:h}=e;return[{[t]:Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":f,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:m,backgroundClip:"padding-box",borderRadius:c,boxShadow:l,padding:i},[`${t}-title`]:{minWidth:n,marginBottom:d,color:s,fontWeight:o,borderBottom:g,padding:h},[`${t}-inner-content`]:{color:r,padding:v}})},$c(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},tO=e=>{const{componentCls:t}=e;return{[t]:Qi.map(r=>{const n=e[`${r}6`];return{[`&${t}-${r}`]:{"--antd-arrow-background-color":n,[`${t}-inner`]:{backgroundColor:n},[`${t}-arrow`]:{background:"transparent"}}}})}},nO=e=>{const{lineWidth:t,controlHeight:r,fontHeight:n,padding:o,wireframe:i,zIndexPopupBase:l,borderRadiusLG:s,marginXS:c,lineType:u,colorSplit:d,paddingSM:f}=e,m=r-n,g=m/2,v=m/2-t,h=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},bl(e)),yl({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:c,titlePadding:i?`${g}px ${h}px ${v}px`:0,titleBorderBottom:i?`${t}px ${u} ${d}`:"none",innerContentPadding:i?`${f}px ${h}px`:0})},k5=Et("Popover",e=>{const{colorBgElevated:t,colorText:r}=e,n=xt(e,{popoverBg:t,popoverColor:r});return[eO(n),tO(n),ui(n,"zoom-big")]},nO,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var rO=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{title:t,content:r,prefixCls:n}=e;return!t&&!r?null:a.createElement(a.Fragment,null,t&&a.createElement("div",{className:`${n}-title`},t),r&&a.createElement("div",{className:`${n}-inner-content`},r))},H5=e=>{const{hashId:t,prefixCls:r,className:n,style:o,placement:i="top",title:l,content:s,children:c}=e,u=Za(l),d=Za(s),f=G(t,r,`${r}-pure`,`${r}-placement-${i}`,n);return a.createElement("div",{className:f,style:o},a.createElement("div",{className:`${r}-arrow`}),a.createElement(N1,Object.assign({},e,{className:t,prefixCls:r}),c||a.createElement(j5,{prefixCls:r,title:u,content:d})))},oO=e=>{const{prefixCls:t,className:r}=e,n=rO(e,["prefixCls","className"]),{getPrefixCls:o}=a.useContext(ke),i=o("popover",t),[l,s,c]=k5(i);return l(a.createElement(H5,Object.assign({},n,{prefixCls:i,hashId:s,className:G(r,c)})))},z5=oO;var aO=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const{prefixCls:o,title:i,content:l,overlayClassName:s,placement:c="top",trigger:u="hover",children:d,mouseEnterDelay:f=.1,mouseLeaveDelay:m=.1,onOpenChange:g,overlayStyle:v={}}=e,h=aO(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:p}=a.useContext(ke),C=p("popover",o),[b,y,S]=k5(C),x=p(),$=G(s,y,S),[w,I]=Ot(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),E=(M,D)=>{I(M,!0),g==null||g(M,D)},O=M=>{M.keyCode===we.ESC&&E(!1,M)},N=M=>{E(M)},P=Za(i),R=Za(l);return b(a.createElement(Qn,Object.assign({placement:c,trigger:u,mouseEnterDelay:f,mouseLeaveDelay:m,overlayStyle:v},h,{prefixCls:C,overlayClassName:$,ref:t,open:w,onOpenChange:N,overlay:P||R?a.createElement(j5,{prefixCls:C,title:P,content:R}):null,transitionName:kn(x,"zoom-big",h.transitionName),"data-popover-inject":!0}),cn(d,{onKeyDown:M=>{var D,L;a.isValidElement(d)&&((L=d==null?void 0:(D=d.props).onKeyDown)===null||L===void 0||L.call(D,M)),O(M)}})))}),B5=iO;B5._InternalPanelDoNotUseOrYouWillBeFired=z5;const Ec=B5,T0=e=>{const{size:t,shape:r}=a.useContext(rf),n=a.useMemo(()=>({size:e.size||t,shape:e.shape||r}),[e.size,e.shape,t,r]);return a.createElement(rf.Provider,{value:n},e.children)},lO=e=>{var t,r,n;const{getPrefixCls:o,direction:i}=a.useContext(ke),{prefixCls:l,className:s,rootClassName:c,style:u,maxCount:d,maxStyle:f,size:m,shape:g,maxPopoverPlacement:v,maxPopoverTrigger:h,children:p,max:C}=e,b=o("avatar",l),y=`${b}-group`,S=Ut(b),[x,$,w]=M5(b,S),I=G(y,{[`${y}-rtl`]:i==="rtl"},w,S,s,c,$),E=sn(p).map((P,R)=>cn(P,{key:`avatar-key-${R}`})),O=(C==null?void 0:C.count)||d,N=E.length;if(O&&O{const{componentCls:t,iconCls:r,antCls:n,badgeShadowSize:o,textFontSize:i,textFontSizeSM:l,statusSize:s,dotSize:c,textFontWeight:u,indicatorHeight:d,indicatorHeightSM:f,marginXS:m,calc:g}=e,v=`${n}-scroll-number`,h=ec(e,(p,C)=>{let{darkColor:b}=C;return{[`&${t} ${t}-color-${p}`]:{background:b,[`&:not(${t}-count)`]:{color:b},"a:hover &":{background:b}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:d,height:d,color:e.badgeTextColor,fontWeight:u,fontSize:i,lineHeight:B(d),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:g(d).div(2).equal(),boxShadow:`0 0 0 ${B(o)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:f,height:f,fontSize:l,lineHeight:B(f),borderRadius:g(f).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${B(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${B(o)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${v}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${r}-spin`]:{animationName:bO,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:gO,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:m,color:e.colorText,fontSize:e.fontSize}}}),h),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:vO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:pO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:hO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:CO,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${v}-custom-component, ${t}-count`]:{transform:"none"},[`${v}-custom-component, ${v}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[v]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${v}-only`]:{position:"relative",display:"inline-block",height:d,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${v}-only-unit`]:{height:d,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${v}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${v}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},A5=e=>{const{fontHeight:t,lineWidth:r,marginXS:n,colorBorderBg:o}=e,i=t,l=r,s=e.colorBgContainer,c=e.colorError,u=e.colorErrorHover;return xt(e,{badgeFontHeight:i,badgeShadowSize:l,badgeTextColor:s,badgeColor:c,badgeColorHover:u,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:n,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},F5=e=>{const{fontSize:t,lineHeight:r,fontSizeSM:n,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*r)-2*o,indicatorHeightSM:t,dotSize:n/2,textFontSize:n,textFontSizeSM:n,textFontWeight:"normal",statusSize:n/2}},SO=Et("Badge",e=>{const t=A5(e);return yO(t)},F5),xO=e=>{const{antCls:t,badgeFontHeight:r,marginXS:n,badgeRibbonOffset:o,calc:i}=e,l=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,c=ec(e,(u,d)=>{let{darkColor:f}=d;return{[`&${l}-color-${u}`]:{background:f,color:f}}});return{[s]:{position:"relative"},[l]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:n,padding:`0 ${B(e.paddingXS)}`,color:e.colorPrimary,lineHeight:B(r),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${l}-text`]:{color:e.colorTextLightSolid},[`${l}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${B(i(o).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),c),{[`&${l}-placement-end`]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,[`${l}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${l}-placement-start`]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,[`${l}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},$O=Et(["Badge","Ribbon"],e=>{const t=A5(e);return xO(t)},F5),wO=e=>{const{className:t,prefixCls:r,style:n,color:o,children:i,text:l,placement:s="end",rootClassName:c}=e,{getPrefixCls:u,direction:d}=a.useContext(ke),f=u("ribbon",r),m=`${f}-wrapper`,[g,v,h]=$O(f,m),p=wc(o,!1),C=G(f,`${f}-placement-${s}`,{[`${f}-rtl`]:d==="rtl",[`${f}-color-${o}`]:p},t),b={},y={};return o&&!p&&(b.background=o,y.color=o),g(a.createElement("div",{className:G(m,c,v,h)},i,a.createElement("div",{className:G(C,v),style:Object.assign(Object.assign({},b),n)},a.createElement("span",{className:`${f}-text`},l),a.createElement("div",{className:`${f}-corner`,style:y}))))},EO=wO,L0=e=>{const{prefixCls:t,value:r,current:n,offset:o=0}=e;let i;return o&&(i={position:"absolute",top:`${o}00%`,left:0}),a.createElement("span",{style:i,className:G(`${t}-only-unit`,{current:n})},r)};function IO(e,t,r){let n=e,o=0;for(;(n+10)%10!==t;)n+=r,o+=r;return o}const OO=e=>{const{prefixCls:t,count:r,value:n}=e,o=Number(n),i=Math.abs(r),[l,s]=a.useState(o),[c,u]=a.useState(i),d=()=>{s(o),u(i)};a.useEffect(()=>{const g=setTimeout(d,1e3);return()=>clearTimeout(g)},[o]);let f,m;if(l===o||Number.isNaN(o)||Number.isNaN(l))f=[a.createElement(L0,Object.assign({},e,{key:o,current:!0}))],m={transition:"none"};else{f=[];const g=o+10,v=[];for(let C=o;C<=g;C+=1)v.push(C);const h=v.findIndex(C=>C%10===l);f=v.map((C,b)=>{const y=C%10;return a.createElement(L0,Object.assign({},e,{key:C,value:y,offset:b-h,current:b===h}))});const p=c{const{prefixCls:r,count:n,className:o,motionClassName:i,style:l,title:s,show:c,component:u="sup",children:d}=e,f=NO(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:m}=a.useContext(ke),g=m("scroll-number",r),v=Object.assign(Object.assign({},f),{"data-show":c,style:l,className:G(g,o,i),title:s});let h=n;if(n&&Number(n)%1===0){const p=String(n).split("");h=a.createElement("bdi",null,p.map((C,b)=>a.createElement(PO,{prefixCls:g,count:Number(n),value:C,key:p.length-b})))}return l!=null&&l.borderColor&&(v.style=Object.assign(Object.assign({},l),{boxShadow:`0 0 0 1px ${l.borderColor} inset`})),d?cn(d,p=>({className:G(`${g}-custom-component`,p==null?void 0:p.className,i)})):a.createElement(u,Object.assign({},v,{ref:t}),h)}),RO=MO;var TO=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n,o,i,l;const{prefixCls:s,scrollNumberPrefixCls:c,children:u,status:d,text:f,color:m,count:g=null,overflowCount:v=99,dot:h=!1,size:p="default",title:C,offset:b,style:y,className:S,rootClassName:x,classNames:$,styles:w,showZero:I=!1}=e,E=TO(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:O,direction:N,badge:P}=a.useContext(ke),R=O("badge",s),[M,D,L]=SO(R),T=g>v?`${v}+`:g,_=T==="0"||T===0,j=g===null||_&&!I,H=(d!=null||m!=null)&&j,k=h&&!_,V=k?"":T,F=a.useMemo(()=>(V==null||V===""||_&&!I)&&!k,[V,_,I,k]),q=a.useRef(g);F||(q.current=g);const W=q.current,J=a.useRef(V);F||(J.current=V);const X=J.current,Z=a.useRef(k);F||(Z.current=k);const ee=a.useMemo(()=>{if(!b)return Object.assign(Object.assign({},P==null?void 0:P.style),y);const oe={marginTop:b[1]};return N==="rtl"?oe.left=parseInt(b[0],10):oe.right=-parseInt(b[0],10),Object.assign(Object.assign(Object.assign({},oe),P==null?void 0:P.style),y)},[N,b,y,P==null?void 0:P.style]),ne=C!=null?C:typeof W=="string"||typeof W=="number"?W:void 0,Y=F||!f?null:a.createElement("span",{className:`${R}-status-text`},f),te=!W||typeof W!="object"?void 0:cn(W,oe=>({style:Object.assign(Object.assign({},ee),oe.style)})),Q=wc(m,!1),U=G($==null?void 0:$.indicator,(r=P==null?void 0:P.classNames)===null||r===void 0?void 0:r.indicator,{[`${R}-status-dot`]:H,[`${R}-status-${d}`]:!!d,[`${R}-color-${m}`]:Q}),ae={};m&&!Q&&(ae.color=m,ae.background=m);const se=G(R,{[`${R}-status`]:H,[`${R}-not-a-wrapper`]:!u,[`${R}-rtl`]:N==="rtl"},S,x,P==null?void 0:P.className,(n=P==null?void 0:P.classNames)===null||n===void 0?void 0:n.root,$==null?void 0:$.root,D,L);if(!u&&H){const oe=ee.color;return M(a.createElement("span",Object.assign({},E,{className:se,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.root),(o=P==null?void 0:P.styles)===null||o===void 0?void 0:o.root),ee)}),a.createElement("span",{className:U,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(i=P==null?void 0:P.styles)===null||i===void 0?void 0:i.indicator),ae)}),f&&a.createElement("span",{style:{color:oe},className:`${R}-status-text`},f)))}return M(a.createElement("span",Object.assign({ref:t},E,{className:se,style:Object.assign(Object.assign({},(l=P==null?void 0:P.styles)===null||l===void 0?void 0:l.root),w==null?void 0:w.root)}),u,a.createElement(In,{visible:!F,motionName:`${R}-zoom`,motionAppear:!1,motionDeadline:1e3},oe=>{let{className:re}=oe;var ce,ue;const fe=O("scroll-number",c),be=Z.current,de=G($==null?void 0:$.indicator,(ce=P==null?void 0:P.classNames)===null||ce===void 0?void 0:ce.indicator,{[`${R}-dot`]:be,[`${R}-count`]:!be,[`${R}-count-sm`]:p==="small",[`${R}-multiple-words`]:!be&&X&&X.toString().length>1,[`${R}-status-${d}`]:!!d,[`${R}-color-${m}`]:Q});let he=Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(ue=P==null?void 0:P.styles)===null||ue===void 0?void 0:ue.indicator),ee);return m&&!Q&&(he=he||{},he.background=m),a.createElement(RO,{prefixCls:fe,show:!F,motionClassName:re,className:de,count:X,title:ne,style:he,key:"scrollNumber"},te)}),Y))}),Ic=LO;Ic.Ribbon=EO;var DO={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const _O=DO;var kO=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:_O}))},jO=a.forwardRef(kO);const eo=jO;var HO=we.ESC,zO=we.TAB;function BO(e){var t=e.visible,r=e.triggerRef,n=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,l=a.useRef(!1),s=function(){if(t){var f,m;(f=r.current)===null||f===void 0||(m=f.focus)===null||m===void 0||m.call(f),n==null||n(!1)}},c=function(){var f;return(f=i.current)!==null&&f!==void 0&&f.focus?(i.current.focus(),l.current=!0,!0):!1},u=function(f){switch(f.keyCode){case HO:s();break;case zO:{var m=!1;l.current||(m=c()),m?f.preventDefault():s();break}}};a.useEffect(function(){return t?(window.addEventListener("keydown",u),o&&kt(c,3),function(){window.removeEventListener("keydown",u),l.current=!1}):function(){l.current=!1}},[t])}var AO=a.forwardRef(function(e,t){var r=e.overlay,n=e.arrow,o=e.prefixCls,i=a.useMemo(function(){var s;return typeof r=="function"?s=r():s=r,s},[r]),l=yn(t,i==null?void 0:i.ref);return z.createElement(z.Fragment,null,n&&z.createElement("div",{className:"".concat(o,"-arrow")}),z.cloneElement(i,{ref:fo(i)?l:void 0}))}),La={adjustX:1,adjustY:1},Da=[0,0],FO={topLeft:{points:["bl","tl"],overflow:La,offset:[0,-4],targetOffset:Da},top:{points:["bc","tc"],overflow:La,offset:[0,-4],targetOffset:Da},topRight:{points:["br","tr"],overflow:La,offset:[0,-4],targetOffset:Da},bottomLeft:{points:["tl","bl"],overflow:La,offset:[0,4],targetOffset:Da},bottom:{points:["tc","bc"],overflow:La,offset:[0,4],targetOffset:Da},bottomRight:{points:["tr","br"],overflow:La,offset:[0,4],targetOffset:Da}},VO=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function WO(e,t){var r,n=e.arrow,o=n===void 0?!1:n,i=e.prefixCls,l=i===void 0?"rc-dropdown":i,s=e.transitionName,c=e.animation,u=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,m=e.placements,g=m===void 0?FO:m,v=e.getPopupContainer,h=e.showAction,p=e.hideAction,C=e.overlayClassName,b=e.overlayStyle,y=e.visible,S=e.trigger,x=S===void 0?["hover"]:S,$=e.autoFocus,w=e.overlay,I=e.children,E=e.onVisibleChange,O=ut(e,VO),N=z.useState(),P=ie(N,2),R=P[0],M=P[1],D="visible"in e?y:R,L=z.useRef(null),T=z.useRef(null),_=z.useRef(null);z.useImperativeHandle(t,function(){return L.current});var j=function(Z){M(Z),E==null||E(Z)};BO({visible:D,triggerRef:_,onVisibleChange:j,autoFocus:$,overlayRef:T});var H=function(Z){var ee=e.onOverlayClick;M(!1),ee&&ee(Z)},k=function(){return z.createElement(AO,{ref:T,overlay:w,prefixCls:l,arrow:o})},V=function(){return typeof w=="function"?k:k()},F=function(){var Z=e.minOverlayWidthMatchTrigger,ee=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?Z:!ee},q=function(){var Z=e.openClassName;return Z!==void 0?Z:"".concat(l,"-open")},W=z.cloneElement(I,{className:G((r=I.props)===null||r===void 0?void 0:r.className,D&&q()),ref:fo(I)?yn(_,I.ref):void 0}),J=p;return!J&&x.indexOf("contextMenu")!==-1&&(J=["click"]),z.createElement(ha,ve({builtinPlacements:g},O,{prefixCls:l,ref:L,popupClassName:G(C,A({},"".concat(l,"-show-arrow"),o)),popupStyle:b,action:x,showAction:h,hideAction:J,popupPlacement:f,popupAlign:u,popupTransitionName:s,popupAnimation:c,popupVisible:D,stretch:F()?"minWidth":"",popup:V(),onPopupVisibleChange:j,onPopupClick:H,getPopupContainer:v}),W)}const V5=z.forwardRef(WO);var W5=a.createContext(null);function K5(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function q5(e){var t=a.useContext(W5);return K5(t,e)}var KO=["children","locked"],_r=a.createContext(null);function qO(e,t){var r=K({},e);return Object.keys(t).forEach(function(n){var o=t[n];o!==void 0&&(r[n]=o)}),r}function nl(e){var t=e.children,r=e.locked,n=ut(e,KO),o=a.useContext(_r),i=sl(function(){return qO(o,n)},[o,n],function(l,s){return!r&&(l[0]!==s[0]||!Rr(l[1],s[1],!0))});return a.createElement(_r.Provider,{value:i},t)}var GO=[],G5=a.createContext(null);function Oc(){return a.useContext(G5)}var X5=a.createContext(GO);function fi(e){var t=a.useContext(X5);return a.useMemo(function(){return e!==void 0?[].concat(ye(t),[e]):t},[t,e])}var U5=a.createContext(null),L1=a.createContext({});function D0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(li(e)){var r=e.nodeName.toLowerCase(),n=["input","select","textarea","button"].includes(r)||e.isContentEditable||r==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),l=null;return o&&!Number.isNaN(i)?l=i:n&&l===null&&(l=0),n&&e.disabled&&(l=null),l!==null&&(l>=0||t&&l<0)}return!1}function XO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=ye(e.querySelectorAll("*")).filter(function(n){return D0(n,t)});return D0(e,t)&&r.unshift(e),r}var of=we.LEFT,af=we.RIGHT,lf=we.UP,vs=we.DOWN,ps=we.ENTER,Y5=we.ESC,Ni=we.HOME,Mi=we.END,_0=[lf,vs,of,af];function UO(e,t,r,n){var o,i,l,s,c="prev",u="next",d="children",f="parent";if(e==="inline"&&n===ps)return{inlineTrigger:!0};var m=(o={},A(o,lf,c),A(o,vs,u),o),g=(i={},A(i,of,r?u:c),A(i,af,r?c:u),A(i,vs,d),A(i,ps,d),i),v=(l={},A(l,lf,c),A(l,vs,u),A(l,ps,d),A(l,Y5,f),A(l,of,r?d:f),A(l,af,r?f:d),l),h={inline:m,horizontal:g,vertical:v,inlineSub:m,horizontalSub:v,verticalSub:v},p=(s=h["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[n];switch(p){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function YO(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function ZO(e,t){for(var r=e||document.activeElement;r;){if(t.has(r))return r;r=r.parentElement}return null}function D1(e,t){var r=XO(e,!0);return r.filter(function(n){return t.has(n)})}function k0(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=D1(e,t),i=o.length,l=o.findIndex(function(s){return r===s});return n<0?l===-1?l=i-1:l-=1:n>0&&(l+=1),l=(l+i)%i,o[l]}var sf=function(t,r){var n=new Set,o=new Map,i=new Map;return t.forEach(function(l){var s=document.querySelector("[data-menu-id='".concat(K5(r,l),"']"));s&&(n.add(s),i.set(s,l),o.set(l,s))}),{elements:n,key2element:o,element2key:i}};function QO(e,t,r,n,o,i,l,s,c,u){var d=a.useRef(),f=a.useRef();f.current=t;var m=function(){kt.cancel(d.current)};return a.useEffect(function(){return function(){m()}},[]),function(g){var v=g.which;if([].concat(_0,[ps,Y5,Ni,Mi]).includes(v)){var h=i(),p=sf(h,n),C=p,b=C.elements,y=C.key2element,S=C.element2key,x=y.get(t),$=ZO(x,b),w=S.get($),I=UO(e,l(w,!0).length===1,r,v);if(!I&&v!==Ni&&v!==Mi)return;(_0.includes(v)||[Ni,Mi].includes(v))&&g.preventDefault();var E=function(T){if(T){var _=T,j=T.querySelector("a");j!=null&&j.getAttribute("href")&&(_=j);var H=S.get(T);s(H),m(),d.current=kt(function(){f.current===H&&_.focus()})}};if([Ni,Mi].includes(v)||I.sibling||!$){var O;!$||e==="inline"?O=o.current:O=YO($);var N,P=D1(O,b);v===Ni?N=P[0]:v===Mi?N=P[P.length-1]:N=k0(O,b,$,I.offset),E(N)}else if(I.inlineTrigger)c(w);else if(I.offset>0)c(w,!0),m(),d.current=kt(function(){p=sf(h,n);var L=$.getAttribute("aria-controls"),T=document.getElementById(L),_=k0(T,p.elements);E(_)},5);else if(I.offset<0){var R=l(w,!0),M=R[R.length-2],D=y.get(M);c(M,!1),E(D)}}u==null||u(g)}}function JO(e){Promise.resolve().then(e)}var _1="__RC_UTIL_PATH_SPLIT__",j0=function(t){return t.join(_1)},eP=function(t){return t.split(_1)},cf="rc-menu-more";function tP(){var e=a.useState({}),t=ie(e,2),r=t[1],n=a.useRef(new Map),o=a.useRef(new Map),i=a.useState([]),l=ie(i,2),s=l[0],c=l[1],u=a.useRef(0),d=a.useRef(!1),f=function(){d.current||r({})},m=a.useCallback(function(y,S){var x=j0(S);o.current.set(x,y),n.current.set(y,x),u.current+=1;var $=u.current;JO(function(){$===u.current&&f()})},[]),g=a.useCallback(function(y,S){var x=j0(S);o.current.delete(x),n.current.delete(y)},[]),v=a.useCallback(function(y){c(y)},[]),h=a.useCallback(function(y,S){var x=n.current.get(y)||"",$=eP(x);return S&&s.includes($[0])&&$.unshift(cf),$},[s]),p=a.useCallback(function(y,S){return y.filter(function(x){return x!==void 0}).some(function(x){var $=h(x,!0);return $.includes(S)})},[h]),C=function(){var S=ye(n.current.keys());return s.length&&S.push(cf),S},b=a.useCallback(function(y){var S="".concat(n.current.get(y)).concat(_1),x=new Set;return ye(o.current.keys()).forEach(function($){$.startsWith(S)&&x.add(o.current.get($))}),x},[]);return a.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:m,unregisterPath:g,refreshOverflowKeys:v,isSubPathKey:p,getKeyPath:h,getKeys:C,getSubPathKeys:b}}function Hi(e){var t=a.useRef(e);t.current=e;var r=a.useCallback(function(){for(var n,o=arguments.length,i=new Array(o),l=0;l1&&(b.motionAppear=!1);var y=b.onVisibleChanged;return b.onVisibleChanged=function(S){return!m.current&&!S&&p(!0),y==null?void 0:y(S)},h?null:a.createElement(nl,{mode:i,locked:!m.current},a.createElement(In,ve({visible:C},b,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(S){var x=S.className,$=S.style;return a.createElement(k1,{id:t,className:x,style:$},o)}))}var CP=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],bP=["active"],yP=a.forwardRef(function(e,t){var r,n=e.style,o=e.className,i=e.title,l=e.eventKey;e.warnKey;var s=e.disabled,c=e.internalPopupClose,u=e.children,d=e.itemIcon,f=e.expandIcon,m=e.popupClassName,g=e.popupOffset,v=e.popupStyle,h=e.onClick,p=e.onMouseEnter,C=e.onMouseLeave,b=e.onTitleClick,y=e.onTitleMouseEnter,S=e.onTitleMouseLeave,x=ut(e,CP),$=q5(l),w=a.useContext(_r),I=w.prefixCls,E=w.mode,O=w.openKeys,N=w.disabled,P=w.overflowDisabled,R=w.activeKey,M=w.selectedKeys,D=w.itemIcon,L=w.expandIcon,T=w.onItemClick,_=w.onOpenChange,j=w.onActive,H=a.useContext(L1),k=H._internalRenderSubMenuItem,V=a.useContext(U5),F=V.isSubPathKey,q=fi(),W="".concat(I,"-submenu"),J=N||s,X=a.useRef(),Z=a.useRef(),ee=d!=null?d:D,ne=f!=null?f:L,Y=O.includes(l),te=!P&&Y,Q=F(M,l),U=Z5(l,J,y,S),ae=U.active,se=ut(U,bP),oe=a.useState(!1),re=ie(oe,2),ce=re[0],ue=re[1],fe=function(pe){J||ue(pe)},be=function(pe){fe(!0),p==null||p({key:l,domEvent:pe})},de=function(pe){fe(!1),C==null||C({key:l,domEvent:pe})},he=a.useMemo(function(){return ae||(E!=="inline"?ce||F([R],l):!1)},[E,ae,R,ce,l,F]),Se=Q5(q.length),$e=function(pe){J||(b==null||b({key:l,domEvent:pe}),E==="inline"&&_(l,!Y))},Ne=Hi(function(Ce){h==null||h(Ls(Ce)),T(Ce)}),xe=function(pe){E!=="inline"&&_(l,pe)},Me=function(){j(l)},Ee=$&&"".concat($,"-popup"),Te=a.createElement("div",ve({role:"menuitem",style:Se,className:"".concat(W,"-title"),tabIndex:J?null:-1,ref:X,title:typeof i=="string"?i:null,"data-menu-id":P&&$?null:$,"aria-expanded":te,"aria-haspopup":!0,"aria-controls":Ee,"aria-disabled":J,onClick:$e,onFocus:Me},se),i,a.createElement(J5,{icon:E!=="horizontal"?ne:void 0,props:K(K({},e),{},{isOpen:te,isSubMenu:!0})},a.createElement("i",{className:"".concat(W,"-arrow")}))),Re=a.useRef(E);if(E!=="inline"&&q.length>1?Re.current="vertical":Re.current=E,!P){var Pe=Re.current;Te=a.createElement(pP,{mode:Pe,prefixCls:W,visible:!c&&te&&E!=="inline",popupClassName:m,popupOffset:g,popupStyle:v,popup:a.createElement(nl,{mode:Pe==="horizontal"?"vertical":Pe},a.createElement(k1,{id:Ee,ref:Z},u)),disabled:J,onVisibleChange:xe},Te)}var me=a.createElement(Nr.Item,ve({ref:t,role:"none"},x,{component:"li",style:n,className:G(W,"".concat(W,"-").concat(E),o,(r={},A(r,"".concat(W,"-open"),te),A(r,"".concat(W,"-active"),he),A(r,"".concat(W,"-selected"),Q),A(r,"".concat(W,"-disabled"),J),r)),onMouseEnter:be,onMouseLeave:de}),Te,!P&&a.createElement(hP,{id:Ee,open:te,keyPath:q},u));return k&&(me=k(me,e,{selected:Q,active:he,open:te,disabled:J})),a.createElement(nl,{onItemClick:Ne,mode:E==="horizontal"?"vertical":E,itemIcon:ee,expandIcon:ne},me)}),Pc=a.forwardRef(function(e,t){var r=e.eventKey,n=e.children,o=fi(r),i=j1(n,o),l=Oc();a.useEffect(function(){if(l)return l.registerPath(r,o),function(){l.unregisterPath(r,o)}},[o]);var s;return l?s=i:s=a.createElement(yP,ve({ref:t},e),i),a.createElement(X5.Provider,{value:o},s)});function H1(e){var t=e.className,r=e.style,n=a.useContext(_r),o=n.prefixCls,i=Oc();return i?null:a.createElement("li",{role:"separator",className:G("".concat(o,"-item-divider"),t),style:r})}var SP=["className","title","eventKey","children"],xP=a.forwardRef(function(e,t){var r=e.className,n=e.title;e.eventKey;var o=e.children,i=ut(e,SP),l=a.useContext(_r),s=l.prefixCls,c="".concat(s,"-item-group");return a.createElement("li",ve({ref:t,role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:G(c,r)}),a.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof n=="string"?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))}),z1=a.forwardRef(function(e,t){var r=e.eventKey,n=e.children,o=fi(r),i=j1(n,o),l=Oc();return l?i:a.createElement(xP,ve({ref:t},Xt(e,["warnKey"])),i)}),$P=["label","children","key","type"];function uf(e,t){var r=t.item,n=t.group,o=t.submenu,i=t.divider;return(e||[]).map(function(l,s){if(l&&bt(l)==="object"){var c=l,u=c.label,d=c.children,f=c.key,m=c.type,g=ut(c,$P),v=f!=null?f:"tmp-".concat(s);return d||m==="group"?m==="group"?a.createElement(n,ve({key:v},g,{title:u}),uf(d,t)):a.createElement(o,ve({key:v},g,{title:u}),uf(d,t)):m==="divider"?a.createElement(i,ve({key:v},g)):a.createElement(r,ve({key:v},g),u)}return null}).filter(function(l){return l})}function z0(e,t,r,n){var o=e,i=K({divider:H1,item:la,group:z1,submenu:Pc},n);return t&&(o=uf(t,i)),j1(o,r)}var wP=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Xo=[],EP=a.forwardRef(function(e,t){var r,n,o=e,i=o.prefixCls,l=i===void 0?"rc-menu":i,s=o.rootClassName,c=o.style,u=o.className,d=o.tabIndex,f=d===void 0?0:d,m=o.items,g=o.children,v=o.direction,h=o.id,p=o.mode,C=p===void 0?"vertical":p,b=o.inlineCollapsed,y=o.disabled,S=o.disabledOverflow,x=o.subMenuOpenDelay,$=x===void 0?.1:x,w=o.subMenuCloseDelay,I=w===void 0?.1:w,E=o.forceSubMenuRender,O=o.defaultOpenKeys,N=o.openKeys,P=o.activeKey,R=o.defaultActiveFirst,M=o.selectable,D=M===void 0?!0:M,L=o.multiple,T=L===void 0?!1:L,_=o.defaultSelectedKeys,j=o.selectedKeys,H=o.onSelect,k=o.onDeselect,V=o.inlineIndent,F=V===void 0?24:V,q=o.motion,W=o.defaultMotions,J=o.triggerSubMenuAction,X=J===void 0?"hover":J,Z=o.builtinPlacements,ee=o.itemIcon,ne=o.expandIcon,Y=o.overflowedIndicator,te=Y===void 0?"...":Y,Q=o.overflowedIndicatorPopupClassName,U=o.getPopupContainer,ae=o.onClick,se=o.onOpenChange,oe=o.onKeyDown;o.openAnimation,o.openTransitionName;var re=o._internalRenderMenuItem,ce=o._internalRenderSubMenuItem,ue=o._internalComponents,fe=ut(o,wP),be=a.useMemo(function(){return[z0(g,m,Xo,ue),z0(g,m,Xo,{})]},[g,m,ue]),de=ie(be,2),he=de[0],Se=de[1],$e=a.useState(!1),Ne=ie($e,2),xe=Ne[0],Me=Ne[1],Ee=a.useRef(),Te=rP(h),Re=v==="rtl",Pe=Ot(O,{value:N,postState:function(Lt){return Lt||Xo}}),me=ie(Pe,2),Ce=me[0],pe=me[1],ge=function(Lt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vt(){pe(Lt),se==null||se(Lt)}Dt?Qr.flushSync(vt):vt()},Ie=a.useState(Ce),nt=ie(Ie,2),Ve=nt[0],Ze=nt[1],De=a.useRef(!1),Ke=a.useMemo(function(){return(C==="inline"||C==="vertical")&&b?["vertical",b]:[C,!1]},[C,b]),Qe=ie(Ke,2),ot=Qe[0],Xe=Qe[1],We=ot==="inline",He=a.useState(ot),at=ie(He,2),Le=at[0],Ue=at[1],_e=a.useState(Xe),Be=ie(_e,2),Je=Be[0],dt=Be[1];a.useEffect(function(){Ue(ot),dt(Xe),De.current&&(We?pe(Ve):ge(Xo))},[ot,Xe]);var it=a.useState(0),qe=ie(it,2),Ae=qe[0],Ge=qe[1],Ye=Ae>=he.length-1||Le!=="horizontal"||S;a.useEffect(function(){We&&Ze(Ce)},[Ce]),a.useEffect(function(){return De.current=!0,function(){De.current=!1}},[]);var tt=tP(),mt=tt.registerPath,lt=tt.unregisterPath,ft=tt.refreshOverflowKeys,gt=tt.isSubPathKey,et=tt.getKeyPath,rt=tt.getKeys,Fe=tt.getSubPathKeys,je=a.useMemo(function(){return{registerPath:mt,unregisterPath:lt}},[mt,lt]),st=a.useMemo(function(){return{isSubPathKey:gt}},[gt]);a.useEffect(function(){ft(Ye?Xo:he.slice(Ae+1).map(function(Bt){return Bt.key}))},[Ae,Ye]);var Ct=Ot(P||R&&((r=he[0])===null||r===void 0?void 0:r.key),{value:P}),Nt=ie(Ct,2),Vt=Nt[0],Kt=Nt[1],qt=Hi(function(Bt){Kt(Bt)}),Gt=Hi(function(){Kt(void 0)});a.useImperativeHandle(t,function(){return{list:Ee.current,focus:function(Lt){var Dt,vt=rt(),ht=sf(vt,Te),Yt=ht.elements,on=ht.key2element,xn=ht.element2key,On=D1(Ee.current,Yt),An=Vt!=null?Vt:On[0]?xn.get(On[0]):(Dt=he.find(function(ct){return!ct.props.disabled}))===null||Dt===void 0?void 0:Dt.key,jt=on.get(An);if(An&&jt){var Rt;jt==null||(Rt=jt.focus)===null||Rt===void 0||Rt.call(jt,Lt)}}}});var pt=Ot(_||[],{value:j,postState:function(Lt){return Array.isArray(Lt)?Lt:Lt==null?Xo:[Lt]}}),St=ie(pt,2),It=St[0],rn=St[1],gn=function(Lt){if(D){var Dt=Lt.key,vt=It.includes(Dt),ht;T?vt?ht=It.filter(function(on){return on!==Dt}):ht=[].concat(ye(It),[Dt]):ht=[Dt],rn(ht);var Yt=K(K({},Lt),{},{selectedKeys:ht});vt?k==null||k(Yt):H==null||H(Yt)}!T&&Ce.length&&Le!=="inline"&&ge(Xo)},Sn=Hi(function(Bt){ae==null||ae(Ls(Bt)),gn(Bt)}),Cn=Hi(function(Bt,Lt){var Dt=Ce.filter(function(ht){return ht!==Bt});if(Lt)Dt.push(Bt);else if(Le!=="inline"){var vt=Fe(Bt);Dt=Dt.filter(function(ht){return!vt.has(ht)})}Rr(Ce,Dt,!0)||ge(Dt,!0)}),Wn=function(Lt,Dt){var vt=Dt!=null?Dt:!Ce.includes(Lt);Cn(Lt,vt)},Bn=QO(Le,Vt,Re,Te,Ee,rt,et,Kt,Wn,oe);a.useEffect(function(){Me(!0)},[]);var vn=a.useMemo(function(){return{_internalRenderMenuItem:re,_internalRenderSubMenuItem:ce}},[re,ce]),At=Le!=="horizontal"||S?he:he.map(function(Bt,Lt){return a.createElement(nl,{key:Bt.key,overflowDisabled:Lt>Ae},Bt)}),Tt=a.createElement(Nr,ve({id:h,ref:Ee,prefixCls:"".concat(l,"-overflow"),component:"ul",itemComponent:la,className:G(l,"".concat(l,"-root"),"".concat(l,"-").concat(Le),u,(n={},A(n,"".concat(l,"-inline-collapsed"),Je),A(n,"".concat(l,"-rtl"),Re),n),s),dir:v,style:c,role:"menu",tabIndex:f,data:At,renderRawItem:function(Lt){return Lt},renderRawRest:function(Lt){var Dt=Lt.length,vt=Dt?he.slice(-Dt):null;return a.createElement(Pc,{eventKey:cf,title:te,disabled:Ye,internalPopupClose:Dt===0,popupClassName:Q},vt)},maxCount:Le!=="horizontal"||S?Nr.INVALIDATE:Nr.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Lt){Ge(Lt)},onKeyDown:Bn},fe));return a.createElement(L1.Provider,{value:vn},a.createElement(W5.Provider,{value:Te},a.createElement(nl,{prefixCls:l,rootClassName:s,mode:Le,openKeys:Ce,rtl:Re,disabled:y,motion:xe?q:null,defaultMotions:xe?W:null,activeKey:Vt,onActive:qt,onInactive:Gt,selectedKeys:It,inlineIndent:F,subMenuOpenDelay:$,subMenuCloseDelay:I,forceSubMenuRender:E,builtinPlacements:Z,triggerSubMenuAction:X,getPopupContainer:U,itemIcon:ee,expandIcon:ne,onItemClick:Sn,onOpenChange:Cn},a.createElement(U5.Provider,{value:st},Tt),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement(G5.Provider,{value:je},Se)))))}),Ca=EP;Ca.Item=la;Ca.SubMenu=Pc;Ca.ItemGroup=z1;Ca.Divider=H1;var IP={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const OP=IP;var PP=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:OP}))},NP=a.forwardRef(PP);const MP=NP;var RP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const TP=RP;var LP=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:TP}))},DP=a.forwardRef(LP);const ko=DP,_P=e=>!isNaN(parseFloat(e))&&isFinite(e),tC=a.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var kP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),HP=a.forwardRef((e,t)=>{const{prefixCls:r,className:n,trigger:o,children:i,defaultCollapsed:l=!1,theme:s="dark",style:c={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:m=80,zeroWidthTriggerStyle:g,breakpoint:v,onCollapse:h,onBreakpoint:p}=e,C=kP(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=a.useContext(tC),[y,S]=a.useState("collapsed"in e?e.collapsed:l),[x,$]=a.useState(!1);a.useEffect(()=>{"collapsed"in e&&S(e.collapsed)},[e.collapsed]);const w=(R,M)=>{"collapsed"in e||S(R),h==null||h(R,M)},I=a.useRef();I.current=R=>{$(R.matches),p==null||p(R.matches),y!==R.matches&&w(R.matches,"responsive")},a.useEffect(()=>{function R(D){return I.current(D)}let M;if(typeof window!="undefined"){const{matchMedia:D}=window;if(D&&v&&v in B0){M=D(`screen and (max-width: ${B0[v]})`);try{M.addEventListener("change",R)}catch(L){M.addListener(R)}R(M)}}return()=>{try{M==null||M.removeEventListener("change",R)}catch(D){M==null||M.removeListener(R)}}},[v]),a.useEffect(()=>{const R=jP("ant-sider-");return b.addSider(R),()=>b.removeSider(R)},[]);const E=()=>{w(!y,"clickTrigger")},{getPrefixCls:O}=a.useContext(ke),N=()=>{const R=O("layout-sider",r),M=Xt(C,["collapsed"]),D=y?m:f,L=_P(D)?`${D}px`:String(D),T=parseFloat(String(m||0))===0?a.createElement("span",{onClick:E,className:G(`${R}-zero-width-trigger`,`${R}-zero-width-trigger-${d?"right":"left"}`),style:g},o||a.createElement(MP,null)):null,H={expanded:d?a.createElement(eo,null):a.createElement(ko,null),collapsed:d?a.createElement(ko,null):a.createElement(eo,null)}[y?"collapsed":"expanded"],k=o!==null?T||a.createElement("div",{className:`${R}-trigger`,onClick:E,style:{width:L}},o||H):null,V=Object.assign(Object.assign({},c),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),F=G(R,`${R}-${s}`,{[`${R}-collapsed`]:!!y,[`${R}-has-trigger`]:u&&o!==null&&!T,[`${R}-below`]:!!x,[`${R}-zero-width`]:parseFloat(L)===0},n);return a.createElement("aside",Object.assign({className:F},M,{style:V,ref:t}),a.createElement("div",{className:`${R}-children`},i),u||x&&T?k:null)},P=a.useMemo(()=>({siderCollapsed:y}),[y]);return a.createElement(Nc.Provider,{value:P},N())}),nC=HP;var zP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const BP=zP;var AP=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:BP}))},FP=a.forwardRef(AP);const B1=FP,VP=a.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ds=VP;var WP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,dashed:n}=e,o=WP(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=a.useContext(ke),l=i("menu",t),s=G({[`${l}-item-divider-dashed`]:!!n},r);return a.createElement(H1,Object.assign({className:s},o))},rC=KP,qP=e=>{var t;const{className:r,children:n,icon:o,title:i,danger:l}=e,{prefixCls:s,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=a.useContext(Ds),m=b=>{const y=a.createElement("span",{className:`${s}-title-content`},n);return(!o||a.isValidElement(n)&&n.type==="span")&&n&&b&&c&&typeof n=="string"?a.createElement("div",{className:`${s}-inline-collapsed-noicon`},n.charAt(0)):y},{siderCollapsed:g}=a.useContext(Nc);let v=i;typeof i=="undefined"?v=c?n:"":i===!1&&(v="");const h={title:v};!g&&!f&&(h.title=null,h.open=!1);const p=sn(n).length;let C=a.createElement(la,Object.assign({},Xt(e,["title","icon","danger"]),{className:G({[`${s}-item-danger`]:l,[`${s}-item-only-child`]:(o?p+1:p)===1},r),title:typeof i=="string"?i:void 0}),cn(o,{className:G(a.isValidElement(o)?(t=o.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),m(f));return d||(C=a.createElement(Qn,Object.assign({},h,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),C)),C},oC=qP;var GP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{children:r}=e,n=GP(e,["children"]),o=a.useContext(df),i=a.useMemo(()=>Object.assign(Object.assign({},o),n),[o,n.prefixCls,n.mode,n.selectable,n.rootClassName]),l=W7(r),s=Co(t,l?r.ref:null);return a.createElement(df.Provider,{value:i},a.createElement(Dr,{space:!0},l?a.cloneElement(r,{ref:s}):r))}),A0=df,XP=e=>{const{componentCls:t,motionDurationSlow:r,horizontalLineHeight:n,colorSplit:o,lineWidth:i,lineType:l,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${B(i)} ${l} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${r}`,`background ${r}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},UP=e=>{let{componentCls:t,menuArrowOffset:r,calc:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${B(n(r).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${B(r)})`}}}}},F0=e=>Object.assign({},_o(e)),V0=(e,t)=>{const{componentCls:r,itemColor:n,itemSelectedColor:o,groupTitleColor:i,itemBg:l,subMenuItemBg:s,itemSelectedBg:c,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:m,motionEaseInOut:g,motionEaseOut:v,itemPaddingInline:h,motionDurationMid:p,itemHoverColor:C,lineType:b,colorSplit:y,itemDisabledColor:S,dangerItemColor:x,dangerItemHoverColor:$,dangerItemSelectedColor:w,dangerItemActiveBg:I,dangerItemSelectedBg:E,popupBg:O,itemHoverBg:N,itemActiveBg:P,menuSubMenuBg:R,horizontalItemSelectedColor:M,horizontalItemSelectedBg:D,horizontalItemBorderRadius:L,horizontalItemHoverBg:T}=e;return{[`${r}-${t}, ${r}-${t} > ${r}`]:{color:n,background:l,[`&${r}-root:focus-visible`]:Object.assign({},F0(e)),[`${r}-item-group-title`]:{color:i},[`${r}-submenu-selected`]:{[`> ${r}-submenu-title`]:{color:o}},[`${r}-item, ${r}-submenu-title`]:{color:n,[`&:not(${r}-item-disabled):focus-visible`]:Object.assign({},F0(e))},[`${r}-item-disabled, ${r}-submenu-disabled`]:{color:`${S} !important`},[`${r}-item:not(${r}-item-selected):not(${r}-submenu-selected)`]:{[`&:hover, > ${r}-submenu-title:hover`]:{color:C}},[`&:not(${r}-horizontal)`]:{[`${r}-item:not(${r}-item-selected)`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:P}},[`${r}-submenu-title`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:P}}},[`${r}-item-danger`]:{color:x,[`&${r}-item:hover`]:{[`&:not(${r}-item-selected):not(${r}-submenu-selected)`]:{color:$}},[`&${r}-item:active`]:{background:I}},[`${r}-item a`]:{"&, &:hover":{color:"inherit"}},[`${r}-item-selected`]:{color:o,[`&${r}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${r}-item-selected`]:{backgroundColor:c,[`&${r}-item-danger`]:{backgroundColor:E}},[`&${r}-submenu > ${r}`]:{backgroundColor:R},[`&${r}-popup > ${r}`]:{backgroundColor:O},[`&${r}-submenu-popup > ${r}`]:{backgroundColor:O},[`&${r}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${r}-item, > ${r}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:L,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${B(u)} solid transparent`,transition:`border-color ${m} ${g}`,content:'""'},"&:hover, &-active, &-open":{background:T,"&::after":{borderBottomWidth:u,borderBottomColor:M}},"&-selected":{color:M,backgroundColor:D,"&:hover":{backgroundColor:D},"&::after":{borderBottomWidth:u,borderBottomColor:M}}}}),[`&${r}-root`]:{[`&${r}-inline, &${r}-vertical`]:{borderInlineEnd:`${B(f)} ${b} ${y}`}},[`&${r}-inline`]:{[`${r}-sub${r}-inline`]:{background:s},[`${r}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${B(d)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${p} ${v}`,`opacity ${p} ${v}`].join(","),content:'""'},[`&${r}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${r}-selected, ${r}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${p} ${g}`,`opacity ${p} ${g}`].join(",")}}}}}},W0=e=>{const{componentCls:t,itemHeight:r,itemMarginInline:n,padding:o,menuArrowSize:i,marginXS:l,itemMarginBlock:s,itemWidth:c,itemPaddingInline:u}=e,d=e.calc(i).add(o).add(l).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:r,lineHeight:B(r),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:s,width:c},[`> ${t}-item, @@ -154,7 +154,7 @@ html body { ${t}-submenu-arrow, ${t}-submenu-expand-icon `]:{opacity:0},[`${t}-item-icon, ${r}`]:{margin:0,fontSize:p,lineHeight:B(n),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${r}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${r}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},Mn),{paddingInline:g})}}]},K0=e=>{const{componentCls:t,motionDurationSlow:r,motionDurationMid:n,motionEaseInOut:o,motionEaseOut:i,iconCls:l,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding calc(${r} + 0.1s) ${o}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:s,fontSize:s,transition:[`font-size ${n} ${i}`,`margin ${r} ${o}`,`color ${r}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${r} ${o}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:Object.assign({},oi()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},q0=e=>{const{componentCls:t,motionDurationSlow:r,motionEaseInOut:n,borderRadius:o,menuArrowSize:i,menuArrowOffset:l}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${r} ${n}, opacity ${r}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${r} ${n}`,`transform ${r} ${n}`,`top ${r} ${n}`,`color ${r} ${n}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${B(e.calc(l).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${B(l)})`}}}}},ZP=e=>{const{antCls:t,componentCls:r,fontSize:n,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:l,paddingXS:s,padding:c,colorSplit:u,lineWidth:d,zIndexPopup:f,borderRadiusLG:m,subMenuItemBorderRadius:g,menuArrowSize:v,menuArrowOffset:h,lineType:p,groupTitleLineHeight:C,groupTitleFontSize:b}=e;return[{"":{[r]:Object.assign(Object.assign({},Tr()),{"&-hidden":{display:"none"}})},[`${r}-submenu-hidden`]:{display:"none"}},{[r]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),Tr()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${r}-item`]:{flex:"none"}},[`${r}-item, ${r}-submenu, ${r}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${r}-item-group-title`]:{padding:`${B(s)} ${B(c)}`,fontSize:b,lineHeight:C,transition:`all ${o}`},[`&-horizontal ${r}-submenu`]:{transition:[`border-color ${o} ${l}`,`background ${o} ${l}`].join(",")},[`${r}-submenu, ${r}-submenu-inline`]:{transition:[`border-color ${o} ${l}`,`background ${o} ${l}`,`padding ${i} ${l}`].join(",")},[`${r}-submenu ${r}-sub`]:{cursor:"initial",transition:[`background ${o} ${l}`,`padding ${o} ${l}`].join(",")},[`${r}-title-content`]:{transition:`color ${o}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${r}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${r}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:p,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),K0(e)),{[`${r}-item-group`]:{[`${r}-item-group-list`]:{margin:0,padding:0,[`${r}-item, ${r}-submenu-title`]:{paddingInline:`${B(e.calc(n).mul(2).equal())} ${B(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${r}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${r}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},K0(e)),q0(e)),{[`${r}-item, ${r}-submenu > ${r}-submenu-title`]:{borderRadius:g},[`${r}-submenu-title::after`]:{transition:`transform ${o} ${l}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),q0(e)),{[`&-inline-collapsed ${r}-submenu-arrow, - &-inline ${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${B(h)})`},"&::after":{transform:`rotate(45deg) translateX(${B(e.calc(h).mul(-1).equal())})`}},[`${r}-submenu-open${r}-submenu-inline > ${r}-submenu-title > ${r}-submenu-arrow`]:{transform:`translateY(${B(e.calc(v).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${B(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${B(h)})`}}})},{[`${t}-layout-header`]:{[r]:{lineHeight:"inherit"}}}]},QP=e=>{var t,r,n;const{colorPrimary:o,colorError:i,colorTextDisabled:l,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:m,lineWidth:g,lineWidthBold:v,controlItemBgActive:h,colorBgTextHover:p,controlHeightLG:C,lineHeight:b,colorBgElevated:y,marginXXS:S,padding:x,fontSize:$,controlHeightSM:w,fontSizeLG:I,colorTextLightSolid:E,colorErrorHover:O}=e,N=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,P=(r=e.activeBarBorderWidth)!==null&&r!==void 0?r:g,R=(n=e.itemMarginInline)!==null&&n!==void 0?n:e.marginXXS,M=new Qt(E).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:o,itemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:d,itemBg:d,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:m,itemActiveBg:h,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:N,colorActiveBarHeight:v,activeBarHeight:v,colorActiveBarBorderSize:g,activeBarBorderWidth:P,colorItemTextDisabled:l,itemDisabledColor:l,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:R,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:C,groupTitleLineHeight:b,collapsedWidth:C*2,popupBg:y,itemMarginBlock:S,itemPaddingInline:x,horizontalLineHeight:`${C*1.15}px`,iconSize:$,iconMarginInlineEnd:w-$,collapsedIconSize:I,groupTitleFontSize:$,darkItemDisabledColor:new Qt(E).setAlpha(.25).toRgbString(),darkItemColor:M,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:E,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:M,darkItemHoverColor:E,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:E,darkDangerItemActiveBg:i,itemWidth:N?`calc(100% + ${P}px)`:`calc(100% - ${R*2}px)`}},JP=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Et("Menu",o=>{const{colorBgElevated:i,controlHeightLG:l,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:f,darkItemSelectedColor:m,darkItemSelectedBg:g,darkDangerItemSelectedBg:v,darkItemHoverBg:h,darkGroupTitleColor:p,darkItemHoverColor:C,darkItemDisabledColor:b,darkDangerItemHoverColor:y,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:x,popupBg:$,darkPopupBg:w}=o,I=o.calc(s).div(7).mul(5).equal(),E=xt(o,{menuArrowSize:I,menuHorizontalHeight:o.calc(l).mul(1.15).equal(),menuArrowOffset:o.calc(I).mul(.25).equal(),menuSubMenuBg:i,calc:o.calc,popupBg:$}),O=xt(E,{itemColor:c,itemHoverColor:C,groupTitleColor:p,itemSelectedColor:m,itemBg:d,popupBg:w,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:b,dangerItemColor:u,dangerItemHoverColor:y,dangerItemSelectedColor:S,dangerItemActiveBg:x,dangerItemSelectedBg:v,menuSubMenuBg:f,horizontalItemSelectedColor:m,horizontalItemSelectedBg:g});return[ZP(E),XP(E),YP(E),V0(E,"light"),V0(O,"dark"),UP(E),ml(E),Jr(E,"slide-up"),Jr(E,"slide-down"),ui(E,"zoom-big")]},QP,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:r,unitless:{groupTitleLineHeight:!0}})(e,t)},eN=e=>{var t;const{popupClassName:r,icon:n,title:o,theme:i}=e,l=a.useContext(Ds),{prefixCls:s,inlineCollapsed:c,theme:u}=l,d=fi();let f;if(!n)f=c&&!d.length&&o&&typeof o=="string"?a.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):a.createElement("span",{className:`${s}-title-content`},o);else{const v=a.isValidElement(o)&&o.type==="span";f=a.createElement(a.Fragment,null,cn(n,{className:G(a.isValidElement(n)?(t=n.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),v?o:a.createElement("span",{className:`${s}-title-content`},o))}const m=a.useMemo(()=>Object.assign(Object.assign({},l),{firstLevel:!1}),[l]),[g]=or("Menu");return a.createElement(Ds.Provider,{value:m},a.createElement(Pc,Object.assign({},Xt(e,["icon"]),{title:f,popupClassName:G(s,r,`${s}-${i||u}`),popupStyle:{zIndex:g}})))},i3=eN;var tN=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;const n=a.useContext(A0),o=n||{},{getPrefixCls:i,getPopupContainer:l,direction:s,menu:c}=a.useContext(ke),u=i(),{prefixCls:d,className:f,style:m,theme:g="light",expandIcon:v,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:p,siderCollapsed:C,rootClassName:b,mode:y,selectable:S,onClick:x,overflowedIndicatorPopupClassName:$}=e,w=tN(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),I=Xt(w,["collapsedWidth"]);(r=o.validator)===null||r===void 0||r.call(o,{mode:y});const E=$t(function(){var V;x==null||x.apply(void 0,arguments),(V=o.onClick)===null||V===void 0||V.call(o)}),O=o.mode||y,N=S!=null?S:o.selectable,P=a.useMemo(()=>C!==void 0?C:p,[p,C]),R={horizontal:{motionName:`${u}-slide-up`},inline:Xa(u),other:{motionName:`${u}-zoom-big`}},M=i("menu",d||o.prefixCls),D=Ut(M),[L,T,_]=JP(M,D,!n),j=G(`${M}-${g}`,c==null?void 0:c.className,f),H=a.useMemo(()=>{var V,F;if(typeof v=="function"||Hu(v))return v||null;if(typeof o.expandIcon=="function"||Hu(o.expandIcon))return o.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||Hu(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const q=(V=v!=null?v:o==null?void 0:o.expandIcon)!==null&&V!==void 0?V:c==null?void 0:c.expandIcon;return cn(q,{className:G(`${M}-submenu-expand-icon`,a.isValidElement(q)?(F=q.props)===null||F===void 0?void 0:F.className:void 0)})},[v,o==null?void 0:o.expandIcon,c==null?void 0:c.expandIcon,M]),k=a.useMemo(()=>({prefixCls:M,inlineCollapsed:P||!1,direction:s,firstLevel:!0,theme:g,mode:O,disableMenuItemTitleTooltip:h}),[M,P,s,h,g]);return L(a.createElement(A0.Provider,{value:null},a.createElement(Ds.Provider,{value:k},a.createElement(Ca,Object.assign({getPopupContainer:l,overflowedIndicator:a.createElement(B1,null),overflowedIndicatorPopupClassName:G(M,`${M}-${g}`,$),mode:O,selectable:N,onClick:E},I,{inlineCollapsed:P,style:Object.assign(Object.assign({},c==null?void 0:c.style),m),className:j,prefixCls:M,direction:s,defaultMotions:R,expandIcon:H,ref:t,rootClassName:G(b,T,o.rootClassName,_,D),_internalComponents:nN})))))}),oN=rN,Br=a.forwardRef((e,t)=>{const r=a.useRef(null),n=a.useContext(Nc);return a.useImperativeHandle(t,()=>({menu:r.current,focus:o=>{var i;(i=r.current)===null||i===void 0||i.focus(o)}})),a.createElement(oN,Object.assign({ref:r},e,n))});Br.Item=o3;Br.SubMenu=i3;Br.Divider=r3;Br.ItemGroup=z1;const aN=e=>{const{componentCls:t,menuCls:r,colorError:n,colorTextLightSolid:o}=e,i=`${r}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${r} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:n,"&:hover":{color:o,backgroundColor:n}}}}}},iN=e=>{const{componentCls:t,menuCls:r,zIndexPopup:n,dropdownArrowDistance:o,sizePopupArrow:i,antCls:l,iconCls:s,motionDurationMid:c,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:m,fontSizeIcon:g,controlPaddingHorizontal:v,colorBgElevated:h}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${l}-btn`]:{[`& > ${s}-down, & > ${l}-btn-icon > ${s}-down`]:{fontSize:g}},[`${t}-wrap`]:{position:"relative",[`${l}-btn > ${s}-down`]:{fontSize:g},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomLeft, + &-inline ${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${B(h)})`},"&::after":{transform:`rotate(45deg) translateX(${B(e.calc(h).mul(-1).equal())})`}},[`${r}-submenu-open${r}-submenu-inline > ${r}-submenu-title > ${r}-submenu-arrow`]:{transform:`translateY(${B(e.calc(v).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${B(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${B(h)})`}}})},{[`${t}-layout-header`]:{[r]:{lineHeight:"inherit"}}}]},QP=e=>{var t,r,n;const{colorPrimary:o,colorError:i,colorTextDisabled:l,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:m,lineWidth:g,lineWidthBold:v,controlItemBgActive:h,colorBgTextHover:p,controlHeightLG:C,lineHeight:b,colorBgElevated:y,marginXXS:S,padding:x,fontSize:$,controlHeightSM:w,fontSizeLG:I,colorTextLightSolid:E,colorErrorHover:O}=e,N=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,P=(r=e.activeBarBorderWidth)!==null&&r!==void 0?r:g,R=(n=e.itemMarginInline)!==null&&n!==void 0?n:e.marginXXS,M=new Qt(E).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:o,itemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:d,itemBg:d,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:m,itemActiveBg:h,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:N,colorActiveBarHeight:v,activeBarHeight:v,colorActiveBarBorderSize:g,activeBarBorderWidth:P,colorItemTextDisabled:l,itemDisabledColor:l,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:R,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:C,groupTitleLineHeight:b,collapsedWidth:C*2,popupBg:y,itemMarginBlock:S,itemPaddingInline:x,horizontalLineHeight:`${C*1.15}px`,iconSize:$,iconMarginInlineEnd:w-$,collapsedIconSize:I,groupTitleFontSize:$,darkItemDisabledColor:new Qt(E).setAlpha(.25).toRgbString(),darkItemColor:M,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:E,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:M,darkItemHoverColor:E,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:E,darkDangerItemActiveBg:i,itemWidth:N?`calc(100% + ${P}px)`:`calc(100% - ${R*2}px)`}},JP=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Et("Menu",o=>{const{colorBgElevated:i,controlHeightLG:l,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:f,darkItemSelectedColor:m,darkItemSelectedBg:g,darkDangerItemSelectedBg:v,darkItemHoverBg:h,darkGroupTitleColor:p,darkItemHoverColor:C,darkItemDisabledColor:b,darkDangerItemHoverColor:y,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:x,popupBg:$,darkPopupBg:w}=o,I=o.calc(s).div(7).mul(5).equal(),E=xt(o,{menuArrowSize:I,menuHorizontalHeight:o.calc(l).mul(1.15).equal(),menuArrowOffset:o.calc(I).mul(.25).equal(),menuSubMenuBg:i,calc:o.calc,popupBg:$}),O=xt(E,{itemColor:c,itemHoverColor:C,groupTitleColor:p,itemSelectedColor:m,itemBg:d,popupBg:w,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:b,dangerItemColor:u,dangerItemHoverColor:y,dangerItemSelectedColor:S,dangerItemActiveBg:x,dangerItemSelectedBg:v,menuSubMenuBg:f,horizontalItemSelectedColor:m,horizontalItemSelectedBg:g});return[ZP(E),XP(E),YP(E),V0(E,"light"),V0(O,"dark"),UP(E),ml(E),Jr(E,"slide-up"),Jr(E,"slide-down"),ui(E,"zoom-big")]},QP,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:r,unitless:{groupTitleLineHeight:!0}})(e,t)},eN=e=>{var t;const{popupClassName:r,icon:n,title:o,theme:i}=e,l=a.useContext(Ds),{prefixCls:s,inlineCollapsed:c,theme:u}=l,d=fi();let f;if(!n)f=c&&!d.length&&o&&typeof o=="string"?a.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):a.createElement("span",{className:`${s}-title-content`},o);else{const v=a.isValidElement(o)&&o.type==="span";f=a.createElement(a.Fragment,null,cn(n,{className:G(a.isValidElement(n)?(t=n.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),v?o:a.createElement("span",{className:`${s}-title-content`},o))}const m=a.useMemo(()=>Object.assign(Object.assign({},l),{firstLevel:!1}),[l]),[g]=or("Menu");return a.createElement(Ds.Provider,{value:m},a.createElement(Pc,Object.assign({},Xt(e,["icon"]),{title:f,popupClassName:G(s,r,`${s}-${i||u}`),popupStyle:{zIndex:g}})))},iC=eN;var tN=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;const n=a.useContext(A0),o=n||{},{getPrefixCls:i,getPopupContainer:l,direction:s,menu:c}=a.useContext(ke),u=i(),{prefixCls:d,className:f,style:m,theme:g="light",expandIcon:v,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:p,siderCollapsed:C,rootClassName:b,mode:y,selectable:S,onClick:x,overflowedIndicatorPopupClassName:$}=e,w=tN(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),I=Xt(w,["collapsedWidth"]);(r=o.validator)===null||r===void 0||r.call(o,{mode:y});const E=$t(function(){var V;x==null||x.apply(void 0,arguments),(V=o.onClick)===null||V===void 0||V.call(o)}),O=o.mode||y,N=S!=null?S:o.selectable,P=a.useMemo(()=>C!==void 0?C:p,[p,C]),R={horizontal:{motionName:`${u}-slide-up`},inline:Xa(u),other:{motionName:`${u}-zoom-big`}},M=i("menu",d||o.prefixCls),D=Ut(M),[L,T,_]=JP(M,D,!n),j=G(`${M}-${g}`,c==null?void 0:c.className,f),H=a.useMemo(()=>{var V,F;if(typeof v=="function"||Hu(v))return v||null;if(typeof o.expandIcon=="function"||Hu(o.expandIcon))return o.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||Hu(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const q=(V=v!=null?v:o==null?void 0:o.expandIcon)!==null&&V!==void 0?V:c==null?void 0:c.expandIcon;return cn(q,{className:G(`${M}-submenu-expand-icon`,a.isValidElement(q)?(F=q.props)===null||F===void 0?void 0:F.className:void 0)})},[v,o==null?void 0:o.expandIcon,c==null?void 0:c.expandIcon,M]),k=a.useMemo(()=>({prefixCls:M,inlineCollapsed:P||!1,direction:s,firstLevel:!0,theme:g,mode:O,disableMenuItemTitleTooltip:h}),[M,P,s,h,g]);return L(a.createElement(A0.Provider,{value:null},a.createElement(Ds.Provider,{value:k},a.createElement(Ca,Object.assign({getPopupContainer:l,overflowedIndicator:a.createElement(B1,null),overflowedIndicatorPopupClassName:G(M,`${M}-${g}`,$),mode:O,selectable:N,onClick:E},I,{inlineCollapsed:P,style:Object.assign(Object.assign({},c==null?void 0:c.style),m),className:j,prefixCls:M,direction:s,defaultMotions:R,expandIcon:H,ref:t,rootClassName:G(b,T,o.rootClassName,_,D),_internalComponents:nN})))))}),oN=rN,Br=a.forwardRef((e,t)=>{const r=a.useRef(null),n=a.useContext(Nc);return a.useImperativeHandle(t,()=>({menu:r.current,focus:o=>{var i;(i=r.current)===null||i===void 0||i.focus(o)}})),a.createElement(oN,Object.assign({ref:r},e,n))});Br.Item=oC;Br.SubMenu=iC;Br.Divider=rC;Br.ItemGroup=z1;const aN=e=>{const{componentCls:t,menuCls:r,colorError:n,colorTextLightSolid:o}=e,i=`${r}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${r} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:n,"&:hover":{color:o,backgroundColor:n}}}}}},iN=e=>{const{componentCls:t,menuCls:r,zIndexPopup:n,dropdownArrowDistance:o,sizePopupArrow:i,antCls:l,iconCls:s,motionDurationMid:c,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:m,fontSizeIcon:g,controlPaddingHorizontal:v,colorBgElevated:h}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${l}-btn`]:{[`& > ${s}-down, & > ${l}-btn-icon > ${s}-down`]:{fontSize:g}},[`${t}-wrap`]:{position:"relative",[`${l}-btn > ${s}-down`]:{fontSize:g},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomLeft, &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomLeft, &${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottom, &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottom, @@ -168,11 +168,11 @@ html body { &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottom, &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:mc},[`&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topLeft, &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-top, - &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:vc}}},$c(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${r}`]:{position:"relative",margin:0},[`${r}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},Pt(e)),{[r]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:h,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},wr(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${r}-item-group-title`]:{padding:`${B(u)} ${B(v)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${r}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${r}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${r}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${r}-item, ${r}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${B(u)} ${B(v)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},wr(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:h,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${B(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:g,fontStyle:"normal"}}}),[`${r}-item-group-list`]:{margin:`0 ${B(e.marginXS)}`,padding:0,listStyle:"none"},[`${r}-submenu-title`]:{paddingInlineEnd:e.calc(v).add(e.fontSizeSM).equal()},[`${r}-submenu-vertical`]:{position:"relative"},[`${r}-submenu${r}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:h,cursor:"not-allowed"}},[`${r}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[Jr(e,"slide-up"),Jr(e,"slide-down"),Ya(e,"move-up"),Ya(e,"move-down"),ui(e,"zoom-big")]]},lN=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},yl({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),bl(e)),sN=Et("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:r,paddingXXS:n,componentCls:o}=e,i=xt(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(r).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[iN(i),aN(i)]},lN,{resetStyle:!1}),Sl=e=>{var t;const{menu:r,arrow:n,prefixCls:o,children:i,trigger:l,disabled:s,dropdownRender:c,getPopupContainer:u,overlayClassName:d,rootClassName:f,overlayStyle:m,open:g,onOpenChange:v,visible:h,onVisibleChange:p,mouseEnterDelay:C=.15,mouseLeaveDelay:b=.1,autoAdjustOverflow:y=!0,placement:S="",overlay:x,transitionName:$}=e,{getPopupContainer:w,getPrefixCls:I,direction:E,dropdown:O}=a.useContext(ke);ho();const N=a.useMemo(()=>{const Q=I();return $!==void 0?$:S.includes("top")?`${Q}-slide-down`:`${Q}-slide-up`},[I,S,$]),P=a.useMemo(()=>S?S.includes("Center")?S.slice(0,S.indexOf("Center")):S:E==="rtl"?"bottomRight":"bottomLeft",[S,E]),R=I("dropdown",o),M=Ut(R),[D,L,T]=sN(R,M),[,_]=zn(),j=a.Children.only(i),H=cn(j,{className:G(`${R}-trigger`,{[`${R}-rtl`]:E==="rtl"},j.props.className),disabled:(t=j.props.disabled)!==null&&t!==void 0?t:s}),k=s?[]:l,V=!!(k!=null&&k.includes("contextMenu")),[F,q]=Ot(!1,{value:g!=null?g:h}),W=$t(Q=>{v==null||v(Q,{source:"trigger"}),p==null||p(Q),q(Q)}),J=G(d,f,L,T,M,O==null?void 0:O.className,{[`${R}-rtl`]:E==="rtl"}),X=R1({arrowPointAtCenter:typeof n=="object"&&n.pointAtCenter,autoAdjustOverflow:y,offset:_.marginXXS,arrowWidth:n?_.sizePopupArrow:0,borderRadius:_.borderRadius}),Z=a.useCallback(()=>{r!=null&&r.selectable&&(r!=null&&r.multiple)||(v==null||v(!1,{source:"menu"}),q(!1))},[r==null?void 0:r.selectable,r==null?void 0:r.multiple]),ee=()=>{let Q;return r!=null&&r.items?Q=a.createElement(Br,Object.assign({},r)):typeof x=="function"?Q=x():Q=x,c&&(Q=c(Q)),Q=a.Children.only(typeof Q=="string"?a.createElement("span",null,Q):Q),a.createElement(a3,{prefixCls:`${R}-menu`,rootClassName:G(T,M),expandIcon:a.createElement("span",{className:`${R}-menu-submenu-arrow`},a.createElement(eo,{className:`${R}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Z,validator:U=>{}},Q)},[ne,Y]=or("Dropdown",m==null?void 0:m.zIndex);let te=a.createElement(V5,Object.assign({alignPoint:V},Xt(e,["rootClassName"]),{mouseEnterDelay:C,mouseLeaveDelay:b,visible:F,builtinPlacements:X,arrow:!!n,overlayClassName:J,prefixCls:R,getPopupContainer:u||w,transitionName:N,trigger:k,overlay:ee,placement:P,onVisibleChange:W,overlayStyle:Object.assign(Object.assign(Object.assign({},O==null?void 0:O.style),m),{zIndex:ne})}),H);return ne&&(te=a.createElement(ii.Provider,{value:Y},te)),D(te)};function cN(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const uN=ro(Sl,"dropdown",e=>e,cN),dN=e=>a.createElement(uN,Object.assign({},e),a.createElement("span",null));Sl._InternalPanelDoNotUseOrYouWillBeFired=dN;const l3=e=>{let{children:t}=e;const{getPrefixCls:r}=a.useContext(ke),n=r("breadcrumb");return a.createElement("li",{className:`${n}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};l3.__ANT_BREADCRUMB_SEPARATOR=!0;const A1=l3;var fN=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);ot[o]||n)}function s3(e,t,r,n){if(r==null)return null;const{className:o,onClick:i}=t,l=fN(t,["className","onClick"]),s=Object.assign(Object.assign({},en(l,{data:!0,aria:!0})),{onClick:i});return n!==void 0?a.createElement("a",Object.assign({},s,{className:G(`${e}-link`,o),href:n}),r):a.createElement("span",Object.assign({},s,{className:G(`${e}-link`,o)}),r)}function gN(e,t){return(n,o,i,l,s)=>{if(t)return t(n,o,i,l);const c=mN(n,o);return s3(e,n,c,s)}}var ff=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,separator:r="/",children:n,menu:o,overlay:i,dropdownProps:l,href:s}=e,u=(d=>{if(o||i){const f=Object.assign({},l);if(o){const m=o||{},{items:g}=m,v=ff(m,["items"]);f.menu=Object.assign(Object.assign({},v),{items:g==null?void 0:g.map((h,p)=>{var{key:C,title:b,label:y,path:S}=h,x=ff(h,["key","title","label","path"]);let $=y!=null?y:b;return S&&($=a.createElement("a",{href:`${s}${S}`},$)),Object.assign(Object.assign({},x),{key:C!=null?C:p,label:$})})})}else i&&(f.overlay=i);return a.createElement(Sl,Object.assign({placement:"bottom"},f),a.createElement("span",{className:`${t}-overlay-link`},d,a.createElement(Cl,null)))}return d})(n);return u!=null?a.createElement(a.Fragment,null,a.createElement("li",null,u),r&&a.createElement(A1,null,r)):null},u3=e=>{const{prefixCls:t,children:r,href:n}=e,o=ff(e,["prefixCls","children","href"]),{getPrefixCls:i}=a.useContext(ke),l=i("breadcrumb",t);return a.createElement(c3,Object.assign({},o,{prefixCls:l}),s3(l,o,r,n))};u3.__ANT_BREADCRUMB_ITEM=!0;const vN=u3,pN=e=>{const{componentCls:t,iconCls:r,calc:n}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${B(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:n(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},wr(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:vc}}},$c(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${r}`]:{position:"relative",margin:0},[`${r}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},Pt(e)),{[r]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:h,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},wr(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${r}-item-group-title`]:{padding:`${B(u)} ${B(v)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${r}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${r}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${r}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${r}-item, ${r}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${B(u)} ${B(v)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},wr(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:h,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${B(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:g,fontStyle:"normal"}}}),[`${r}-item-group-list`]:{margin:`0 ${B(e.marginXS)}`,padding:0,listStyle:"none"},[`${r}-submenu-title`]:{paddingInlineEnd:e.calc(v).add(e.fontSizeSM).equal()},[`${r}-submenu-vertical`]:{position:"relative"},[`${r}-submenu${r}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:h,cursor:"not-allowed"}},[`${r}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[Jr(e,"slide-up"),Jr(e,"slide-down"),Ya(e,"move-up"),Ya(e,"move-down"),ui(e,"zoom-big")]]},lN=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},yl({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),bl(e)),sN=Et("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:r,paddingXXS:n,componentCls:o}=e,i=xt(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(r).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[iN(i),aN(i)]},lN,{resetStyle:!1}),Sl=e=>{var t;const{menu:r,arrow:n,prefixCls:o,children:i,trigger:l,disabled:s,dropdownRender:c,getPopupContainer:u,overlayClassName:d,rootClassName:f,overlayStyle:m,open:g,onOpenChange:v,visible:h,onVisibleChange:p,mouseEnterDelay:C=.15,mouseLeaveDelay:b=.1,autoAdjustOverflow:y=!0,placement:S="",overlay:x,transitionName:$}=e,{getPopupContainer:w,getPrefixCls:I,direction:E,dropdown:O}=a.useContext(ke);ho();const N=a.useMemo(()=>{const Q=I();return $!==void 0?$:S.includes("top")?`${Q}-slide-down`:`${Q}-slide-up`},[I,S,$]),P=a.useMemo(()=>S?S.includes("Center")?S.slice(0,S.indexOf("Center")):S:E==="rtl"?"bottomRight":"bottomLeft",[S,E]),R=I("dropdown",o),M=Ut(R),[D,L,T]=sN(R,M),[,_]=zn(),j=a.Children.only(i),H=cn(j,{className:G(`${R}-trigger`,{[`${R}-rtl`]:E==="rtl"},j.props.className),disabled:(t=j.props.disabled)!==null&&t!==void 0?t:s}),k=s?[]:l,V=!!(k!=null&&k.includes("contextMenu")),[F,q]=Ot(!1,{value:g!=null?g:h}),W=$t(Q=>{v==null||v(Q,{source:"trigger"}),p==null||p(Q),q(Q)}),J=G(d,f,L,T,M,O==null?void 0:O.className,{[`${R}-rtl`]:E==="rtl"}),X=R1({arrowPointAtCenter:typeof n=="object"&&n.pointAtCenter,autoAdjustOverflow:y,offset:_.marginXXS,arrowWidth:n?_.sizePopupArrow:0,borderRadius:_.borderRadius}),Z=a.useCallback(()=>{r!=null&&r.selectable&&(r!=null&&r.multiple)||(v==null||v(!1,{source:"menu"}),q(!1))},[r==null?void 0:r.selectable,r==null?void 0:r.multiple]),ee=()=>{let Q;return r!=null&&r.items?Q=a.createElement(Br,Object.assign({},r)):typeof x=="function"?Q=x():Q=x,c&&(Q=c(Q)),Q=a.Children.only(typeof Q=="string"?a.createElement("span",null,Q):Q),a.createElement(aC,{prefixCls:`${R}-menu`,rootClassName:G(T,M),expandIcon:a.createElement("span",{className:`${R}-menu-submenu-arrow`},a.createElement(eo,{className:`${R}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Z,validator:U=>{}},Q)},[ne,Y]=or("Dropdown",m==null?void 0:m.zIndex);let te=a.createElement(V5,Object.assign({alignPoint:V},Xt(e,["rootClassName"]),{mouseEnterDelay:C,mouseLeaveDelay:b,visible:F,builtinPlacements:X,arrow:!!n,overlayClassName:J,prefixCls:R,getPopupContainer:u||w,transitionName:N,trigger:k,overlay:ee,placement:P,onVisibleChange:W,overlayStyle:Object.assign(Object.assign(Object.assign({},O==null?void 0:O.style),m),{zIndex:ne})}),H);return ne&&(te=a.createElement(ii.Provider,{value:Y},te)),D(te)};function cN(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const uN=ro(Sl,"dropdown",e=>e,cN),dN=e=>a.createElement(uN,Object.assign({},e),a.createElement("span",null));Sl._InternalPanelDoNotUseOrYouWillBeFired=dN;const lC=e=>{let{children:t}=e;const{getPrefixCls:r}=a.useContext(ke),n=r("breadcrumb");return a.createElement("li",{className:`${n}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};lC.__ANT_BREADCRUMB_SEPARATOR=!0;const A1=lC;var fN=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);ot[o]||n)}function sC(e,t,r,n){if(r==null)return null;const{className:o,onClick:i}=t,l=fN(t,["className","onClick"]),s=Object.assign(Object.assign({},en(l,{data:!0,aria:!0})),{onClick:i});return n!==void 0?a.createElement("a",Object.assign({},s,{className:G(`${e}-link`,o),href:n}),r):a.createElement("span",Object.assign({},s,{className:G(`${e}-link`,o)}),r)}function gN(e,t){return(n,o,i,l,s)=>{if(t)return t(n,o,i,l);const c=mN(n,o);return sC(e,n,c,s)}}var ff=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,separator:r="/",children:n,menu:o,overlay:i,dropdownProps:l,href:s}=e,u=(d=>{if(o||i){const f=Object.assign({},l);if(o){const m=o||{},{items:g}=m,v=ff(m,["items"]);f.menu=Object.assign(Object.assign({},v),{items:g==null?void 0:g.map((h,p)=>{var{key:C,title:b,label:y,path:S}=h,x=ff(h,["key","title","label","path"]);let $=y!=null?y:b;return S&&($=a.createElement("a",{href:`${s}${S}`},$)),Object.assign(Object.assign({},x),{key:C!=null?C:p,label:$})})})}else i&&(f.overlay=i);return a.createElement(Sl,Object.assign({placement:"bottom"},f),a.createElement("span",{className:`${t}-overlay-link`},d,a.createElement(Cl,null)))}return d})(n);return u!=null?a.createElement(a.Fragment,null,a.createElement("li",null,u),r&&a.createElement(A1,null,r)):null},uC=e=>{const{prefixCls:t,children:r,href:n}=e,o=ff(e,["prefixCls","children","href"]),{getPrefixCls:i}=a.useContext(ke),l=i("breadcrumb",t);return a.createElement(cC,Object.assign({},o,{prefixCls:l}),sC(l,o,r,n))};uC.__ANT_BREADCRUMB_ITEM=!0;const vN=uC,pN=e=>{const{componentCls:t,iconCls:r,calc:n}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${B(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:n(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},wr(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` > ${r} + span, > ${r} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${B(e.paddingXXS)}`,marginInline:n(e.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},hN=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),CN=Et("Breadcrumb",e=>{const t=xt(e,{});return pN(t)},hN);var G0=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{breadcrumbName:l}=i,s=G0(i,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:l})})}),o}function yN(e,t){return a.useMemo(()=>e||(t?t.map(bN):null),[e,t])}var SN=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{if(t===void 0)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach(n=>{r=r.replace(`:${n}`,e[n])}),r},Mc=e=>{const{prefixCls:t,separator:r="/",style:n,className:o,rootClassName:i,routes:l,items:s,children:c,itemRender:u,params:d={}}=e,f=SN(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:m,direction:g,breadcrumb:v}=a.useContext(ke);let h;const p=m("breadcrumb",t),[C,b,y]=CN(p),S=yN(s,l),x=gN(p,u);if(S&&S.length>0){const I=[],E=s||l;h=S.map((O,N)=>{const{path:P,key:R,type:M,menu:D,overlay:L,onClick:T,className:_,separator:j,dropdownProps:H}=O,k=xN(d,P);k!==void 0&&I.push(k);const V=R!=null?R:N;if(M==="separator")return a.createElement(A1,{key:V},j);const F={},q=N===S.length-1;D?F.menu=D:L&&(F.overlay=L);let{href:W}=O;return I.length&&k!==void 0&&(W=`#/${I.join("/")}`),a.createElement(c3,Object.assign({key:V},F,en(O,{data:!0,aria:!0}),{className:_,dropdownProps:H,href:W,separator:q?"":r,onClick:T,prefixCls:p}),x(O,d,E,I,W))})}else if(c){const I=sn(c).length;h=sn(c).map((E,O)=>{if(!E)return E;const N=O===I-1;return cn(E,{separator:N?"":r,key:O})})}const $=G(p,v==null?void 0:v.className,{[`${p}-rtl`]:g==="rtl"},o,i,b,y),w=Object.assign(Object.assign({},v==null?void 0:v.style),n);return C(a.createElement("nav",Object.assign({className:$,style:w},f),a.createElement("ol",null,h)))};Mc.Item=vN;Mc.Separator=A1;var d3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Zs,function(){return function(r,n){n.prototype.weekday=function(o){var i=this.$locale().weekStart||0,l=this.$W,s=(l25){var d=l(this).startOf(n).add(1,n).date(u),f=l(this).endOf(r);if(d.isBefore(f))return 1}var m=l(this).startOf(n).date(u).startOf(r).subtract(1,"millisecond"),g=this.diff(m,r,!0);return g<0?l(this).startOf("week").week():Math.ceil(g)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(m3);var ON=m3.exports;const PN=ni(ON);var g3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Zs,function(){return function(r,n){n.prototype.weekYear=function(){var o=this.month(),i=this.week(),l=this.year();return i===1&&o===11?l+1:o===0&&i>=52?l-1:l}}})})(g3);var NN=g3.exports;const MN=ni(NN);nr.extend(Z7);nr.extend(Q7);nr.extend(wN);nr.extend(IN);nr.extend(PN);nr.extend(MN);nr.extend(function(e,t){var r=t.prototype,n=r.format;r.format=function(i){var l=(i||"").replace("Wo","wo");return n.bind(this)(l)}});var RN={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Uo=function(t){var r=RN[t];return r||t.split("_")[0]},X0=function(){K7(!1,"Not match any format. Please help to fire a issue about this.")},v3={getNow:function(){var t=nr();return typeof t.tz=="function"?t.tz():t},getFixedDate:function(t){return nr(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var r=t.locale("en");return r.weekday()+r.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,r){return t.add(r,"year")},addMonth:function(t,r){return t.add(r,"month")},addDate:function(t,r){return t.add(r,"day")},setYear:function(t,r){return t.year(r)},setMonth:function(t,r){return t.month(r)},setDate:function(t,r){return t.date(r)},setHour:function(t,r){return t.hour(r)},setMinute:function(t,r){return t.minute(r)},setSecond:function(t,r){return t.second(r)},setMillisecond:function(t,r){return t.millisecond(r)},isAfter:function(t,r){return t.isAfter(r)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return nr().locale(Uo(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,r){return r.locale(Uo(t)).weekday(0)},getWeek:function(t,r){return r.locale(Uo(t)).week()},getShortWeekDays:function(t){return nr().locale(Uo(t)).localeData().weekdaysMin()},getShortMonths:function(t){return nr().locale(Uo(t)).localeData().monthsShort()},format:function(t,r,n){return r.locale(Uo(t)).format(n)},parse:function(t,r,n){for(var o=Uo(t),i=0;i2&&arguments[2]!==void 0?arguments[2]:"0",n=String(e);n.length2&&arguments[2]!==void 0?arguments[2]:[],n=a.useState([!1,!1]),o=ie(n,2),i=o[0],l=o[1],s=function(d,f){l(function(m){return Xi(m,f,d)})},c=a.useMemo(function(){return i.map(function(u,d){if(u)return!0;var f=e[d];return f?!!(!r[d]&&!f||f&&t(f,{activeIndex:d})):!1})},[e,i,t,r]);return[c,s]}function x3(e,t,r,n,o){var i="",l=[];return e&&l.push(o?"hh":"HH"),t&&l.push("mm"),r&&l.push("ss"),i=l.join(":"),n&&(i+=".SSS"),o&&(i+=" A"),i}function LN(e,t,r,n,o,i){var l=e.fieldDateTimeFormat,s=e.fieldDateFormat,c=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,f=e.fieldWeekFormat,m=e.fieldQuarterFormat,g=e.yearFormat,v=e.cellYearFormat,h=e.cellQuarterFormat,p=e.dayFormat,C=e.cellDateFormat,b=x3(t,r,n,o,i);return K(K({},e),{},{fieldDateTimeFormat:l||"YYYY-MM-DD ".concat(b),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:c||b,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:m||"YYYY-[Q]Q",yearFormat:g||"YYYY",cellYearFormat:v||"YYYY",cellQuarterFormat:h||"[Q]Q",cellDateFormat:C||p||"D"})}function $3(e,t){var r=t.showHour,n=t.showMinute,o=t.showSecond,i=t.showMillisecond,l=t.use12Hours;return z.useMemo(function(){return LN(e,r,n,o,i,l)},[e,r,n,o,i,l])}function Ri(e,t,r){return r!=null?r:t.some(function(n){return e.includes(n)})}var DN=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function _N(e){var t=Tc(e,DN),r=e.format,n=e.picker,o=null;return r&&(o=r,Array.isArray(o)&&(o=o[0]),o=bt(o)==="object"?o.format:o),n==="time"&&(t.format=o),[t,o]}function kN(e){return e&&typeof e=="string"}function w3(e,t,r,n){return[e,t,r,n].some(function(o){return o!==void 0})}function E3(e,t,r,n,o){var i=t,l=r,s=n;if(!e&&!i&&!l&&!s&&!o)i=!0,l=!0,s=!0;else if(e){var c,u,d,f=[i,l,s].some(function(v){return v===!1}),m=[i,l,s].some(function(v){return v===!0}),g=f?!0:!m;i=(c=i)!==null&&c!==void 0?c:g,l=(u=l)!==null&&u!==void 0?u:g,s=(d=s)!==null&&d!==void 0?d:g}return[i,l,s,o]}function I3(e){var t=e.showTime,r=_N(e),n=ie(r,2),o=n[0],i=n[1],l=t&&bt(t)==="object"?t:{},s=K(K({defaultOpenValue:l.defaultOpenValue||l.defaultValue},o),l),c=s.showMillisecond,u=s.showHour,d=s.showMinute,f=s.showSecond,m=w3(u,d,f,c),g=E3(m,u,d,f,c),v=ie(g,3);return u=v[0],d=v[1],f=v[2],[s,K(K({},s),{},{showHour:u,showMinute:d,showSecond:f,showMillisecond:c}),s.format,i]}function O3(e,t,r,n,o){var i=e==="time";if(e==="datetime"||i){for(var l=n,s=C3(e,o,null),c=s,u=[t,r],d=0;d1&&(l=t.addDate(l,-7)),l}function Rn(e,t){var r=t.generateConfig,n=t.locale,o=t.format;return e?typeof o=="function"?o(e):r.locale.format(n.locale,e,o):""}function _s(e,t,r){var n=t,o=["getHour","getMinute","getSecond","getMillisecond"],i=["setHour","setMinute","setSecond","setMillisecond"];return i.forEach(function(l,s){r?n=e[l](n,e[o[s]](r)):n=e[l](n,0)}),n}function BN(e,t,r,n,o){var i=$t(function(l,s){return!!(r&&r(l,s)||n&&e.isAfter(n,l)&&!Gn(e,t,n,l,s.type)||o&&e.isAfter(l,o)&&!Gn(e,t,o,l,s.type))});return i}function AN(e,t,r){return a.useMemo(function(){var n=C3(e,t,r),o=ba(n),i=o[0],l=bt(i)==="object"&&i.type==="mask"?i.format:null;return[o.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),l]},[e,t,r])}function FN(e,t,r){return typeof e[0]=="function"||r?!0:t}function VN(e,t,r,n){var o=$t(function(i,l){var s=K({type:t},l);if(delete s.activeIndex,!e.isValidate(i)||r&&r(i,s))return!0;if((t==="date"||t==="time")&&n){var c,u=l&&l.activeIndex===1?"end":"start",d=((c=n.disabledTime)===null||c===void 0?void 0:c.call(n,i,u,{from:s.from}))||{},f=d.disabledHours,m=d.disabledMinutes,g=d.disabledSeconds,v=d.disabledMilliseconds,h=n.disabledHours,p=n.disabledMinutes,C=n.disabledSeconds,b=f||h,y=m||p,S=g||C,x=e.getHour(i),$=e.getMinute(i),w=e.getSecond(i),I=e.getMillisecond(i);if(b&&b().includes(x)||y&&y(x).includes($)||S&&S(x,$).includes(w)||v&&v(x,$,w).includes(I))return!0}return!1});return o}function Ql(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=a.useMemo(function(){var n=e&&ba(e);return t&&n&&(n[1]=n[1]||n[0]),n},[e,t]);return r}function M3(e,t){var r=e.generateConfig,n=e.locale,o=e.picker,i=o===void 0?"date":o,l=e.prefixCls,s=l===void 0?"rc-picker":l,c=e.styles,u=c===void 0?{}:c,d=e.classNames,f=d===void 0?{}:d,m=e.order,g=m===void 0?!0:m,v=e.components,h=v===void 0?{}:v,p=e.inputRender,C=e.allowClear,b=e.clearIcon,y=e.needConfirm,S=e.multiple,x=e.format,$=e.inputReadOnly,w=e.disabledDate,I=e.minDate,E=e.maxDate,O=e.showTime,N=e.value,P=e.defaultValue,R=e.pickerValue,M=e.defaultPickerValue,D=Ql(N),L=Ql(P),T=Ql(R),_=Ql(M),j=i==="date"&&O?"datetime":i,H=j==="time"||j==="datetime",k=H||S,V=y!=null?y:H,F=I3(e),q=ie(F,4),W=q[0],J=q[1],X=q[2],Z=q[3],ee=$3(n,J),ne=a.useMemo(function(){return O3(j,X,Z,W,ee)},[j,X,Z,W,ee]),Y=a.useMemo(function(){return K(K({},e),{},{prefixCls:s,locale:ee,picker:i,styles:u,classNames:f,order:g,components:K({input:p},h),clearIcon:jN(s,C,b),showTime:ne,value:D,defaultValue:L,pickerValue:T,defaultPickerValue:_},t==null?void 0:t())},[e]),te=AN(j,ee,x),Q=ie(te,2),U=Q[0],ae=Q[1],se=FN(U,$,S),oe=BN(r,n,w,I,E),re=VN(r,i,oe,ne),ce=a.useMemo(function(){return K(K({},Y),{},{needConfirm:V,inputReadOnly:se,disabledDate:oe})},[Y,V,se,oe]);return[ce,j,k,U,ae,re]}function WN(e,t,r){var n=Ot(t,{value:e}),o=ie(n,2),i=o[0],l=o[1],s=z.useRef(e),c=z.useRef(),u=function(){kt.cancel(c.current)},d=$t(function(){l(s.current),r&&i!==s.current&&r(s.current)}),f=$t(function(m,g){u(),s.current=m,m||g?d():c.current=kt(d)});return z.useEffect(function(){return u},[]),[i,f]}function R3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=arguments.length>3?arguments[3]:void 0,o=r.every(function(d){return d})?!1:e,i=WN(o,t||!1,n),l=ie(i,2),s=l[0],c=l[1];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!f.inherit||s)&&c(d,f.force)}return[s,u]}function T3(e){var t=a.useRef();return a.useImperativeHandle(e,function(){var r;return{nativeElement:(r=t.current)===null||r===void 0?void 0:r.nativeElement,focus:function(o){var i;(i=t.current)===null||i===void 0||i.focus(o)},blur:function(){var o;(o=t.current)===null||o===void 0||o.blur()}}}),t}function L3(e,t){return a.useMemo(function(){return e||(t?(Jt(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(r){var n=ie(r,2),o=n[0],i=n[1];return{label:o,value:i}})):[])},[e,t])}function q1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,n=a.useRef(t);n.current=t,na(function(){if(e)n.current(e);else{var o=kt(function(){n.current(e)},r);return function(){kt.cancel(o)}}},[e])}function D3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=a.useState(0),o=ie(n,2),i=o[0],l=o[1],s=a.useState(!1),c=ie(s,2),u=c[0],d=c[1],f=a.useRef([]),m=a.useRef(null),g=function(C){d(C)},v=function(C){return C&&(m.current=C),m.current},h=function(C){var b=f.current,y=new Set(b.filter(function(x){return C[x]||t[x]})),S=b[b.length-1]===0?1:0;return y.size>=2||e[S]?null:S};return q1(u||r,function(){u||(f.current=[])}),a.useEffect(function(){u&&f.current.push(i)},[u,i]),[u,g,v,i,l,h,f.current]}function KN(e,t,r,n,o,i){var l=r[r.length-1],s=function(u,d){var f=ie(e,2),m=f[0],g=f[1],v=K(K({},d),{},{from:b3(e,r)});return l===1&&t[0]&&m&&!Gn(n,o,m,u,v.type)&&n.isAfter(m,u)||l===0&&t[1]&&g&&!Gn(n,o,g,u,v.type)&&n.isAfter(u,g)?!0:i==null?void 0:i(u,v)};return s}function Bi(e,t,r,n){switch(t){case"date":case"week":return e.addMonth(r,n);case"month":case"quarter":return e.addYear(r,n);case"year":return e.addYear(r,n*10);case"decade":return e.addYear(r,n*100);default:return r}}var Bu=[];function _3(e,t,r,n,o,i,l,s){var c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Bu,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Bu,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Bu,f=arguments.length>11?arguments[11]:void 0,m=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,v=l==="time",h=i||0,p=function(T){var _=e.getNow();return v&&(_=_s(e,_)),c[T]||r[T]||_},C=ie(u,2),b=C[0],y=C[1],S=Ot(function(){return p(0)},{value:b}),x=ie(S,2),$=x[0],w=x[1],I=Ot(function(){return p(1)},{value:y}),E=ie(I,2),O=E[0],N=E[1],P=a.useMemo(function(){var L=[$,O][h];return v?L:_s(e,L,d[h])},[v,$,O,h,e,d]),R=function(T){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",j=[w,N][h];j(T);var H=[$,O];H[h]=T,f&&(!Gn(e,t,$,H[0],l)||!Gn(e,t,O,H[1],l))&&f(H,{source:_,range:h===1?"end":"start",mode:n})},M=function(T,_){if(s){var j={date:"month",week:"month",month:"year",quarter:"year"},H=j[l];if(H&&!Gn(e,t,T,_,H))return Bi(e,l,_,-1);if(l==="year"&&T){var k=Math.floor(e.getYear(T)/10),V=Math.floor(e.getYear(_)/10);if(k!==V)return Bi(e,l,_,-1)}}return _},D=a.useRef(null);return _t(function(){if(o&&!c[h]){var L=v?null:e.getNow();if(D.current!==null&&D.current!==h?L=[$,O][h^1]:r[h]?L=h===0?r[0]:M(r[0],r[1]):r[h^1]&&(L=r[h^1]),L){m&&e.isAfter(m,L)&&(L=m);var T=s?Bi(e,l,L,1):L;g&&e.isAfter(T,g)&&(L=s?Bi(e,l,g,-1):g),R(L,"reset")}}},[o,h,r[h]]),a.useEffect(function(){o?D.current=h:D.current=null},[o,h]),_t(function(){o&&c&&c[h]&&R(c[h],"reset")},[o,h]),[P,R]}function k3(e,t){var r=a.useRef(e),n=a.useState({}),o=ie(n,2),i=o[1],l=function(u){return u&&t!==void 0?t:r.current},s=function(u){r.current=u,i({})};return[l,s,l(!0)]}var qN=[];function j3(e,t,r){var n=function(l){return l.map(function(s){return Rn(s,{generateConfig:e,locale:t,format:r[0]})})},o=function(l,s){for(var c=Math.max(l.length,s.length),u=-1,d=0;d2&&arguments[2]!==void 0?arguments[2]:1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,l=[],s=r>=1?r|0:1,c=e;c<=t;c+=s){var u=o.includes(c);(!u||!n)&&l.push({label:F1(c,i),value:c,disabled:u})}return l}function G1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t||{},o=n.use12Hours,i=n.hourStep,l=i===void 0?1:i,s=n.minuteStep,c=s===void 0?1:s,u=n.secondStep,d=u===void 0?1:u,f=n.millisecondStep,m=f===void 0?100:f,g=n.hideDisabledOptions,v=n.disabledTime,h=n.disabledHours,p=n.disabledMinutes,C=n.disabledSeconds,b=a.useMemo(function(){return r||e.getNow()},[r,e]),y=a.useCallback(function(_){var j=(v==null?void 0:v(_))||{};return[j.disabledHours||h||Jl,j.disabledMinutes||p||Jl,j.disabledSeconds||C||Jl,j.disabledMilliseconds||Jl]},[v,h,p,C]),S=a.useMemo(function(){return y(b)},[b,y]),x=ie(S,4),$=x[0],w=x[1],I=x[2],E=x[3],O=a.useCallback(function(_,j,H,k){var V=es(0,23,l,g,_()),F=o?V.map(function(X){return K(K({},X),{},{label:F1(X.value%12||12,2)})}):V,q=function(Z){return es(0,59,c,g,j(Z))},W=function(Z,ee){return es(0,59,d,g,H(Z,ee))},J=function(Z,ee,ne){return es(0,999,m,g,k(Z,ee,ne),3)};return[F,q,W,J]},[g,l,o,m,c,d]),N=a.useMemo(function(){return O($,w,I,E)},[O,$,w,I,E]),P=ie(N,4),R=P[0],M=P[1],D=P[2],L=P[3],T=function(j,H){var k=function(){return R},V=M,F=D,q=L;if(H){var W=y(H),J=ie(W,4),X=J[0],Z=J[1],ee=J[2],ne=J[3],Y=O(X,Z,ee,ne),te=ie(Y,4),Q=te[0],U=te[1],ae=te[2],se=te[3];k=function(){return Q},V=U,F=ae,q=se}var oe=XN(j,k,V,F,q,e);return oe};return[T,R,M,D,L]}function UN(e){var t=e.mode,r=e.internalMode,n=e.renderExtraFooter,o=e.showNow,i=e.showTime,l=e.onSubmit,s=e.onNow,c=e.invalid,u=e.needConfirm,d=e.generateConfig,f=e.disabledDate,m=a.useContext(Ar),g=m.prefixCls,v=m.locale,h=m.button,p=h===void 0?"button":h,C=d.getNow(),b=G1(d,i,C),y=ie(b,1),S=y[0],x=n==null?void 0:n(t),$=f(C,{type:t}),w=function(){if(!$){var M=S(C);s(M)}},I="".concat(g,"-now"),E="".concat(I,"-btn"),O=o&&a.createElement("li",{className:I},a.createElement("a",{className:G(E,$&&"".concat(E,"-disabled")),"aria-disabled":$,onClick:w},r==="date"?v.today:v.now)),N=u&&a.createElement("li",{className:"".concat(g,"-ok")},a.createElement(p,{disabled:c,onClick:l},v.ok)),P=(O||N)&&a.createElement("ul",{className:"".concat(g,"-ranges")},O,N);return!x&&!P?null:a.createElement("div",{className:"".concat(g,"-footer")},x&&a.createElement("div",{className:"".concat(g,"-footer-extra")},x),P)}function F3(e,t,r){function n(o,i){var l=o.findIndex(function(c){return Gn(e,t,c,i,r)});if(l===-1)return[].concat(ye(o),[i]);var s=ye(o);return s.splice(l,1),s}return n}var ya=a.createContext(null);function Dc(){return a.useContext(ya)}function mi(e,t){var r=e.prefixCls,n=e.generateConfig,o=e.locale,i=e.disabledDate,l=e.minDate,s=e.maxDate,c=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,f=e.onHover,m=e.values,g=e.pickerValue,v=e.onSelect,h=e.prevIcon,p=e.nextIcon,C=e.superPrevIcon,b=e.superNextIcon,y=n.getNow(),S={now:y,values:m,pickerValue:g,prefixCls:r,disabledDate:i,minDate:l,maxDate:s,cellRender:c,hoverValue:u,hoverRangeValue:d,onHover:f,locale:o,generateConfig:n,onSelect:v,panelType:t,prevIcon:h,nextIcon:p,superPrevIcon:C,superNextIcon:b};return[S,y]}var To=a.createContext({});function xl(e){for(var t=e.rowNum,r=e.colNum,n=e.baseDate,o=e.getCellDate,i=e.prefixColumn,l=e.rowClassName,s=e.titleFormat,c=e.getCellText,u=e.getCellClassName,d=e.headerCells,f=e.cellSelection,m=f===void 0?!0:f,g=e.disabledDate,v=Dc(),h=v.prefixCls,p=v.panelType,C=v.now,b=v.disabledDate,y=v.cellRender,S=v.onHover,x=v.hoverValue,$=v.hoverRangeValue,w=v.generateConfig,I=v.values,E=v.locale,O=v.onSelect,N=g||b,P="".concat(h,"-cell"),R=a.useContext(To),M=R.onCellDblClick,D=function(F){return I.some(function(q){return q&&Gn(w,E,F,q,p)})},L=[],T=0;T1&&arguments[1]!==void 0?arguments[1]:!1;be(Ce),p==null||p(Ce),pe&&de(Ce)},Se=function(Ce,pe){ee(Ce),pe&&he(pe),de(pe,Ce)},$e=function(Ce){if(re(Ce),he(Ce),Z!==S){var pe=["decade","year"],ge=[].concat(pe,["month"]),Ie={quarter:[].concat(pe,["quarter"]),week:[].concat(ye(ge),["week"]),date:[].concat(ye(ge),["date"])},nt=Ie[S]||ge,Ve=nt.indexOf(Z),Ze=nt[Ve+1];Ze&&Se(Ze,Ce)}},Ne=a.useMemo(function(){var me,Ce;if(Array.isArray(w)){var pe=ie(w,2);me=pe[0],Ce=pe[1]}else me=w;return!me&&!Ce?null:(me=me||Ce,Ce=Ce||me,o.isAfter(me,Ce)?[Ce,me]:[me,Ce])},[w,o]),xe=V1(I,E,O),Me=P[ne]||iM[ne]||_c,Ee=a.useContext(To),Te=a.useMemo(function(){return K(K({},Ee),{},{hideHeader:R})},[Ee,R]),Re="".concat(M,"-panel"),Pe=Tc(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return a.createElement(To.Provider,{value:Te},a.createElement("div",{ref:D,tabIndex:c,className:G(Re,A({},"".concat(Re,"-rtl"),i==="rtl"))},a.createElement(Me,ve({},Pe,{showTime:q,prefixCls:M,locale:V,generateConfig:o,onModeChange:Se,pickerValue:fe,onPickerValueChange:function(Ce){he(Ce,!0)},value:se[0],onSelect:$e,values:se,cellRender:xe,hoverRangeValue:Ne,hoverValue:$}))))}var hs=a.memo(a.forwardRef(lM));function sM(e){var t=e.picker,r=e.multiplePanel,n=e.pickerValue,o=e.onPickerValueChange,i=e.needConfirm,l=e.onSubmit,s=e.range,c=e.hoverValue,u=a.useContext(Ar),d=u.prefixCls,f=u.generateConfig,m=a.useCallback(function(b,y){return Bi(f,t,b,y)},[f,t]),g=a.useMemo(function(){return m(n,1)},[n,m]),v=function(y){o(m(y,-1))},h={onCellDblClick:function(){i&&l()}},p=t==="time",C=K(K({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:p});return s?C.hoverRangeValue=c:C.hoverValue=c,r?a.createElement("div",{className:"".concat(d,"-panels")},a.createElement(To.Provider,{value:K(K({},h),{},{hideNext:!0})},a.createElement(hs,C)),a.createElement(To.Provider,{value:K(K({},h),{},{hidePrev:!0})},a.createElement(hs,ve({},C,{pickerValue:g,onPickerValueChange:v})))):a.createElement(To.Provider,{value:K({},h)},a.createElement(hs,C))}function Y0(e){return typeof e=="function"?e():e}function cM(e){var t=e.prefixCls,r=e.presets,n=e.onClick,o=e.onHover;return r.length?a.createElement("div",{className:"".concat(t,"-presets")},a.createElement("ul",null,r.map(function(i,l){var s=i.label,c=i.value;return a.createElement("li",{key:l,onClick:function(){n(Y0(c))},onMouseEnter:function(){o(Y0(c))},onMouseLeave:function(){o(null)}},s)}))):null}function W3(e){var t=e.panelRender,r=e.internalMode,n=e.picker,o=e.showNow,i=e.range,l=e.multiple,s=e.activeOffset,c=s===void 0?0:s,u=e.placement,d=e.presets,f=e.onPresetHover,m=e.onPresetSubmit,g=e.onFocus,v=e.onBlur,h=e.onPanelMouseDown,p=e.direction,C=e.value,b=e.onSelect,y=e.isInvalid,S=e.defaultOpenValue,x=e.onOk,$=e.onSubmit,w=a.useContext(Ar),I=w.prefixCls,E="".concat(I,"-panel"),O=p==="rtl",N=a.useRef(null),P=a.useRef(null),R=a.useState(0),M=ie(R,2),D=M[0],L=M[1],T=a.useState(0),_=ie(T,2),j=_[0],H=_[1],k=function(oe){oe.offsetWidth&&L(oe.offsetWidth)};a.useEffect(function(){if(i){var se,oe=((se=N.current)===null||se===void 0?void 0:se.offsetWidth)||0,re=D-oe;c<=re?H(0):H(c+oe-D)}},[D,c,i]);function V(se){return se.filter(function(oe){return oe})}var F=a.useMemo(function(){return V(ba(C))},[C]),q=n==="time"&&!F.length,W=a.useMemo(function(){return q?V([S]):F},[q,F,S]),J=q?S:F,X=a.useMemo(function(){return W.length?W.some(function(se){return y(se)}):!0},[W,y]),Z=function(){q&&b(S),x(),$()},ee=a.createElement("div",{className:"".concat(I,"-panel-layout")},a.createElement(cM,{prefixCls:I,presets:d,onClick:m,onHover:f}),a.createElement("div",null,a.createElement(sM,ve({},e,{value:J})),a.createElement(UN,ve({},e,{showNow:l?!1:o,invalid:X,onSubmit:Z}))));t&&(ee=t(ee));var ne="".concat(E,"-container"),Y="marginLeft",te="marginRight",Q=a.createElement("div",{onMouseDown:h,tabIndex:-1,className:G(ne,"".concat(I,"-").concat(r,"-panel-container")),style:A(A({},O?te:Y,j),O?Y:te,"auto"),onFocus:g,onBlur:v},ee);if(i){var U=Rc(u,O),ae=p3(U,O);Q=a.createElement("div",{onMouseDown:h,ref:P,className:G("".concat(I,"-range-wrapper"),"".concat(I,"-").concat(n,"-range-wrapper"))},a.createElement("div",{ref:N,className:"".concat(I,"-range-arrow"),style:A({},ae,c)}),a.createElement(Nn,{onResize:k},Q))}return Q}function K3(e,t){var r=e.format,n=e.maskFormat,o=e.generateConfig,i=e.locale,l=e.preserveInvalidOnBlur,s=e.inputReadOnly,c=e.required,u=e["aria-required"],d=e.onSubmit,f=e.onFocus,m=e.onBlur,g=e.onInputChange,v=e.onInvalid,h=e.open,p=e.onOpenChange,C=e.onKeyDown,b=e.onChange,y=e.activeHelp,S=e.name,x=e.autoComplete,$=e.id,w=e.value,I=e.invalid,E=e.placeholder,O=e.disabled,N=e.activeIndex,P=e.allHelp,R=e.picker,M=function(V,F){var q=o.locale.parse(i.locale,V,[F]);return q&&o.isValidate(q)?q:null},D=r[0],L=a.useCallback(function(k){return Rn(k,{locale:i,format:D,generateConfig:o})},[i,o,D]),T=a.useMemo(function(){return w.map(L)},[w,L]),_=a.useMemo(function(){var k=R==="time"?8:10,V=typeof D=="function"?D(o.getNow()).length:D.length;return Math.max(k,V)+2},[D,R,o]),j=function(V){for(var F=0;F=s&&r<=c)return i;var u=Math.min(Math.abs(r-s),Math.abs(r-c));u0?We:He));var _e=Ue+Qe,Be=He-We+1;return String(We+(Be+_e-We)%Be)};switch(Ce){case"Backspace":case"Delete":pe="",ge=nt;break;case"ArrowLeft":pe="",Ve(-1);break;case"ArrowRight":pe="",Ve(1);break;case"ArrowUp":pe="",ge=Ze(1);break;case"ArrowDown":pe="",ge=Ze(-1);break;default:isNaN(Number(Ce))||(pe=k+Ce,ge=pe);break}if(pe!==null&&(V(pe),pe.length>=Ie&&(Ve(1),V(""))),ge!==null){var De=Y.slice(0,oe)+F1(ge,Ie)+Y.slice(re);ue(De.slice(0,l.length))}ne({})},Te=a.useRef();_t(function(){if(!(!R||!l||de.current)){if(!U.match(Y)){ue(l);return}return Q.current.setSelectionRange(oe,re),Te.current=kt(function(){Q.current.setSelectionRange(oe,re)}),function(){kt.cancel(Te.current)}}},[U,l,R,Y,W,oe,re,ee,ue]);var Re=l?{onFocus:$e,onBlur:xe,onKeyDown:Ee,onMouseDown:he,onMouseUp:Se,onPaste:be}:{};return a.createElement("div",{ref:te,className:G(O,A(A({},"".concat(O,"-active"),r&&o),"".concat(O,"-placeholder"),u))},a.createElement(E,ve({ref:Q,"aria-invalid":h,autoComplete:"off"},C,{onKeyDown:Me,onBlur:Ne},Re,{value:Y,onChange:fe})),a.createElement(kc,{type:"suffix",icon:i}),p)}),pM=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],hM=["index"];function CM(e,t){var r=e.id,n=e.clearIcon,o=e.suffixIcon,i=e.separator,l=i===void 0?"~":i,s=e.activeIndex;e.activeHelp,e.allHelp;var c=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,m=e.onClick,g=e.onClear,v=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var h=e.disabled,p=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var b=e.onActiveOffset,y=e.placement,S=e.onMouseDown;e.required,e["aria-required"];var x=e.autoFocus,$=ut(e,pM),w=C==="rtl",I=a.useContext(Ar),E=I.prefixCls,O=a.useMemo(function(){if(typeof r=="string")return[r];var Y=r||{};return[Y.start,Y.end]},[r]),N=a.useRef(),P=a.useRef(),R=a.useRef(),M=function(te){var Q;return(Q=[P,R][te])===null||Q===void 0?void 0:Q.current};a.useImperativeHandle(t,function(){return{nativeElement:N.current,focus:function(te){if(bt(te)==="object"){var Q,U=te||{},ae=U.index,se=ae===void 0?0:ae,oe=ut(U,hM);(Q=M(se))===null||Q===void 0||Q.focus(oe)}else{var re;(re=M(te!=null?te:0))===null||re===void 0||re.focus()}},blur:function(){var te,Q;(te=M(0))===null||te===void 0||te.blur(),(Q=M(1))===null||Q===void 0||Q.blur()}}});var D=q3($),L=a.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),T=K3(K(K({},e),{},{id:O,placeholder:L})),_=ie(T,1),j=_[0],H=Rc(y,w),k=p3(H,w),V=H==null?void 0:H.toLowerCase().endsWith("right"),F=a.useState({position:"absolute",width:0}),q=ie(F,2),W=q[0],J=q[1],X=$t(function(){var Y=M(s);if(Y){var te=Y.nativeElement,Q=te.offsetWidth,U=te.offsetLeft,ae=te.offsetParent,se=(ae==null?void 0:ae.offsetWidth)||0,oe=V?se-Q-U:U;J(function(re){return K(K({},re),{},A({width:Q},k,oe))}),b(oe)}});a.useEffect(function(){X()},[s]);var Z=n&&(v[0]&&!h[0]||v[1]&&!h[1]),ee=x&&!h[0],ne=x&&!ee&&!h[1];return a.createElement(Nn,{onResize:X},a.createElement("div",ve({},D,{className:G(E,"".concat(E,"-range"),A(A(A(A({},"".concat(E,"-focused"),c),"".concat(E,"-disabled"),h.every(function(Y){return Y})),"".concat(E,"-invalid"),p.some(function(Y){return Y})),"".concat(E,"-rtl"),w),d),style:f,ref:N,onClick:m,onMouseDown:function(te){var Q=te.target;Q!==P.current.inputElement&&Q!==R.current.inputElement&&te.preventDefault(),S==null||S(te)}}),a.createElement(vf,ve({ref:P},j(0),{autoFocus:ee,"date-range":"start"})),a.createElement("div",{className:"".concat(E,"-range-separator")},l),a.createElement(vf,ve({ref:R},j(1),{autoFocus:ne,"date-range":"end"})),a.createElement("div",{className:"".concat(E,"-active-bar"),style:W}),a.createElement(kc,{type:"suffix",icon:o}),Z&&a.createElement(gf,{icon:n,onClear:g})))}var bM=a.forwardRef(CM);function Q0(e,t){var r=e!=null?e:t;return Array.isArray(r)?r:[r,r]}function ns(e){return e===1?"end":"start"}function yM(e,t){var r=M3(e,function(){var jt=e.disabled,Rt=e.allowEmpty,ct=Q0(jt,!1),Mt=Q0(Rt,!1);return{disabled:ct,allowEmpty:Mt}}),n=ie(r,6),o=n[0],i=n[1],l=n[2],s=n[3],c=n[4],u=n[5],d=o.prefixCls,f=o.styles,m=o.classNames,g=o.placement,v=o.defaultValue,h=o.value,p=o.needConfirm,C=o.onKeyDown,b=o.disabled,y=o.allowEmpty,S=o.disabledDate,x=o.minDate,$=o.maxDate,w=o.defaultOpen,I=o.open,E=o.onOpenChange,O=o.locale,N=o.generateConfig,P=o.picker,R=o.showNow,M=o.showToday,D=o.showTime,L=o.mode,T=o.onPanelChange,_=o.onCalendarChange,j=o.onOk,H=o.defaultPickerValue,k=o.pickerValue,V=o.onPickerValueChange,F=o.inputReadOnly,q=o.suffixIcon,W=o.onFocus,J=o.onBlur,X=o.presets,Z=o.ranges,ee=o.components,ne=o.cellRender,Y=o.dateRender,te=o.monthCellRender,Q=o.onClick,U=T3(t),ae=R3(I,w,b,E),se=ie(ae,2),oe=se[0],re=se[1],ce=function(Rt,ct){(b.some(function(Mt){return!Mt})||!Rt)&&re(Rt,ct)},ue=z3(N,O,s,!0,!1,v,h,_,j),fe=ie(ue,5),be=fe[0],de=fe[1],he=fe[2],Se=fe[3],$e=fe[4],Ne=he(),xe=D3(b,y,oe),Me=ie(xe,7),Ee=Me[0],Te=Me[1],Re=Me[2],Pe=Me[3],me=Me[4],Ce=Me[5],pe=Me[6],ge=function(Rt,ct){Te(!0),W==null||W(Rt,{range:ns(ct!=null?ct:Pe)})},Ie=function(Rt,ct){Te(!1),J==null||J(Rt,{range:ns(ct!=null?ct:Pe)})},nt=a.useMemo(function(){if(!D)return null;var jt=D.disabledTime,Rt=jt?function(ct){var Mt=ns(Pe),Wt=b3(Ne,pe,Pe);return jt(ct,Mt,{from:Wt})}:void 0;return K(K({},D),{},{disabledTime:Rt})},[D,Pe,Ne,pe]),Ve=Ot([P,P],{value:L}),Ze=ie(Ve,2),De=Ze[0],Ke=Ze[1],Qe=De[Pe]||P,ot=Qe==="date"&&nt?"datetime":Qe,Xe=ot===P&&ot!=="time",We=A3(P,Qe,R,M,!0),He=B3(o,be,de,he,Se,b,s,Ee,oe,u),at=ie(He,2),Le=at[0],Ue=at[1],_e=KN(Ne,b,pe,N,O,S),Be=S3(Ne,u,y),Je=ie(Be,2),dt=Je[0],it=Je[1],qe=_3(N,O,Ne,De,oe,Pe,i,Xe,H,k,nt==null?void 0:nt.defaultOpenValue,V,x,$),Ae=ie(qe,2),Ge=Ae[0],Ye=Ae[1],tt=$t(function(jt,Rt,ct){var Mt=Xi(De,Pe,Rt);if((Mt[0]!==De[0]||Mt[1]!==De[1])&&Ke(Mt),T&&ct!==!1){var Wt=ye(Ne);jt&&(Wt[Pe]=jt),T(Wt,Mt)}}),mt=function(Rt,ct){return Xi(Ne,ct,Rt)},lt=function(Rt,ct){var Mt=Ne;Rt&&(Mt=mt(Rt,Pe));var Wt=Ce(Mt);Se(Mt),Le(Pe,Wt===null),Wt===null?ce(!1,{force:!0}):ct||U.current.focus({index:Wt})},ft=function(Rt){var ct,Mt=Rt.target.getRootNode();if(!U.current.nativeElement.contains((ct=Mt.activeElement)!==null&&ct!==void 0?ct:document.activeElement)){var Wt=b.findIndex(function($n){return!$n});Wt>=0&&U.current.focus({index:Wt})}ce(!0),Q==null||Q(Rt)},gt=function(){Ue(null),ce(!1,{force:!0})},et=a.useState(null),rt=ie(et,2),Fe=rt[0],je=rt[1],st=a.useState(null),Ct=ie(st,2),Nt=Ct[0],Vt=Ct[1],Kt=a.useMemo(function(){return Nt||Ne},[Ne,Nt]);a.useEffect(function(){oe||Vt(null)},[oe]);var qt=a.useState(0),Gt=ie(qt,2),pt=Gt[0],St=Gt[1],It=L3(X,Z),rn=function(Rt){Vt(Rt),je("preset")},gn=function(Rt){var ct=Ue(Rt);ct&&ce(!1,{force:!0})},Sn=function(Rt){lt(Rt)},Cn=function(Rt){Vt(Rt?mt(Rt,Pe):null),je("cell")},Wn=function(Rt){ce(!0),ge(Rt)},Bn=function(){Re("panel")},vn=function(Rt){var ct=Xi(Ne,Pe,Rt);Se(ct),!p&&!l&&i===ot&<(Rt)},At=function(){ce(!1)},Tt=V1(ne,Y,te,ns(Pe)),Bt=Ne[Pe]||null,Lt=$t(function(jt){return u(jt,{activeIndex:Pe})}),Dt=a.useMemo(function(){var jt=en(o,!1),Rt=Xt(o,[].concat(ye(Object.keys(jt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Rt},[o]),vt=a.createElement(W3,ve({},Dt,{showNow:We,showTime:nt,range:!0,multiplePanel:Xe,activeOffset:pt,placement:g,disabledDate:_e,onFocus:Wn,onBlur:Ie,onPanelMouseDown:Bn,picker:P,mode:Qe,internalMode:ot,onPanelChange:tt,format:c,value:Bt,isInvalid:Lt,onChange:null,onSelect:vn,pickerValue:Ge,defaultOpenValue:ba(D==null?void 0:D.defaultOpenValue)[Pe],onPickerValueChange:Ye,hoverValue:Kt,onHover:Cn,needConfirm:p,onSubmit:lt,onOk:$e,presets:It,onPresetHover:rn,onPresetSubmit:gn,onNow:Sn,cellRender:Tt})),ht=function(Rt,ct){var Mt=mt(Rt,ct);Se(Mt)},Yt=function(){Re("input")},on=function(Rt,ct){Re("input"),ce(!0,{inherit:!0}),Pe!==ct&&oe&&!p&&l&<(null,!0),me(ct),ge(Rt,ct)},xn=function(Rt,ct){if(ce(!1),!p&&Re()==="input"){var Mt=Ce(Ne);Le(Pe,Mt===null)}Ie(Rt,ct)},On=function(Rt,ct){Rt.key==="Tab"&<(null,!0),C==null||C(Rt,ct)},An=a.useMemo(function(){return{prefixCls:d,locale:O,generateConfig:N,button:ee.button,input:ee.input}},[d,O,N,ee.button,ee.input]);return _t(function(){oe&&Pe!==void 0&&tt(null,P,!1)},[oe,Pe,P]),_t(function(){var jt=Re();!oe&&jt==="input"&&(ce(!1),lt(null,!0)),!oe&&l&&!p&&jt==="panel"&&(ce(!0),lt())},[oe]),a.createElement(Ar.Provider,{value:An},a.createElement(h3,ve({},y3(o),{popupElement:vt,popupStyle:f.popup,popupClassName:m.popup,visible:oe,onClose:At,range:!0}),a.createElement(bM,ve({},o,{ref:U,suffixIcon:q,activeIndex:Ee||oe?Pe:null,activeHelp:!!Nt,allHelp:!!Nt&&Fe==="preset",focused:Ee,onFocus:on,onBlur:xn,onKeyDown:On,onSubmit:lt,value:Kt,maskFormat:c,onChange:ht,onInputChange:Yt,format:s,inputReadOnly:F,disabled:b,open:oe,onOpenChange:ce,onClick:ft,onClear:gt,invalid:dt,onInvalid:it,onActiveOffset:St}))))}var SM=a.forwardRef(yM);function xM(e){var t=e.prefixCls,r=e.value,n=e.onRemove,o=e.removeIcon,i=o===void 0?"×":o,l=e.formatDate,s=e.disabled,c=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),f="".concat(t,"-selection"),m="".concat(f,"-overflow");function g(p,C){return a.createElement("span",{className:G("".concat(f,"-item")),title:typeof p=="string"?p:null},a.createElement("span",{className:"".concat(f,"-item-content")},p),!s&&C&&a.createElement("span",{onMouseDown:function(y){y.preventDefault()},onClick:C,className:"".concat(f,"-item-remove")},i))}function v(p){var C=l(p),b=function(S){S&&S.stopPropagation(),n(p)};return g(C,b)}function h(p){var C="+ ".concat(p.length," ...");return g(C)}return a.createElement("div",{className:d},a.createElement(Nr,{prefixCls:m,data:r,renderItem:v,renderRest:h,itemKey:function(C){return l(C)},maxCount:c}),!r.length&&a.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var $M=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function wM(e,t){e.id;var r=e.open,n=e.clearIcon,o=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var l=e.locale,s=e.generateConfig,c=e.placeholder,u=e.className,d=e.style,f=e.onClick,m=e.onClear,g=e.internalPicker,v=e.value,h=e.onChange,p=e.onSubmit;e.onInputChange;var C=e.multiple,b=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var y=e.disabled,S=e.invalid;e.inputReadOnly;var x=e.direction;e.onOpenChange;var $=e.onMouseDown;e.required,e["aria-required"];var w=e.autoFocus,I=e.removeIcon,E=ut(e,$M),O=x==="rtl",N=a.useContext(Ar),P=N.prefixCls,R=a.useRef(),M=a.useRef();a.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(W){var J;(J=M.current)===null||J===void 0||J.focus(W)},blur:function(){var W;(W=M.current)===null||W===void 0||W.blur()}}});var D=q3(E),L=function(W){h([W])},T=function(W){var J=v.filter(function(X){return X&&!Gn(s,l,X,W,g)});h(J),r||p()},_=K3(K(K({},e),{},{onChange:L}),function(q){var W=q.valueTexts;return{value:W[0]||"",active:i}}),j=ie(_,2),H=j[0],k=j[1],V=!!(n&&v.length&&!y),F=C?a.createElement(a.Fragment,null,a.createElement(xM,{prefixCls:P,value:v,onRemove:T,formatDate:k,maxTagCount:b,disabled:y,removeIcon:I,placeholder:c}),a.createElement("input",{className:"".concat(P,"-multiple-input"),value:v.map(k).join(","),ref:M,readOnly:!0,autoFocus:w}),a.createElement(kc,{type:"suffix",icon:o}),V&&a.createElement(gf,{icon:n,onClear:m})):a.createElement(vf,ve({ref:M},H(),{autoFocus:w,suffixIcon:o,clearIcon:V&&a.createElement(gf,{icon:n,onClear:m}),showActiveCls:!1}));return a.createElement("div",ve({},D,{className:G(P,A(A(A(A(A({},"".concat(P,"-multiple"),C),"".concat(P,"-focused"),i),"".concat(P,"-disabled"),y),"".concat(P,"-invalid"),S),"".concat(P,"-rtl"),O),u),style:d,ref:R,onClick:f,onMouseDown:function(W){var J,X=W.target;X!==((J=M.current)===null||J===void 0?void 0:J.inputElement)&&W.preventDefault(),$==null||$(W)}}),F)}var EM=a.forwardRef(wM);function IM(e,t){var r=M3(e),n=ie(r,6),o=n[0],i=n[1],l=n[2],s=n[3],c=n[4],u=n[5],d=o,f=d.prefixCls,m=d.styles,g=d.classNames,v=d.order,h=d.defaultValue,p=d.value,C=d.needConfirm,b=d.onChange,y=d.onKeyDown,S=d.disabled,x=d.disabledDate,$=d.minDate,w=d.maxDate,I=d.defaultOpen,E=d.open,O=d.onOpenChange,N=d.locale,P=d.generateConfig,R=d.picker,M=d.showNow,D=d.showToday,L=d.showTime,T=d.mode,_=d.onPanelChange,j=d.onCalendarChange,H=d.onOk,k=d.multiple,V=d.defaultPickerValue,F=d.pickerValue,q=d.onPickerValueChange,W=d.inputReadOnly,J=d.suffixIcon,X=d.removeIcon,Z=d.onFocus,ee=d.onBlur,ne=d.presets,Y=d.components,te=d.cellRender,Q=d.dateRender,U=d.monthCellRender,ae=d.onClick,se=T3(t);function oe(vt){return vt===null?null:k?vt:vt[0]}var re=F3(P,N,i),ce=R3(E,I,[S],O),ue=ie(ce,2),fe=ue[0],be=ue[1],de=function(ht,Yt,on){if(j){var xn=K({},on);delete xn.range,j(oe(ht),oe(Yt),xn)}},he=function(ht){H==null||H(oe(ht))},Se=z3(P,N,s,!1,v,h,p,de,he),$e=ie(Se,5),Ne=$e[0],xe=$e[1],Me=$e[2],Ee=$e[3],Te=$e[4],Re=Me(),Pe=D3([S]),me=ie(Pe,4),Ce=me[0],pe=me[1],ge=me[2],Ie=me[3],nt=function(ht){pe(!0),Z==null||Z(ht,{})},Ve=function(ht){pe(!1),ee==null||ee(ht,{})},Ze=Ot(R,{value:T}),De=ie(Ze,2),Ke=De[0],Qe=De[1],ot=Ke==="date"&&L?"datetime":Ke,Xe=A3(R,Ke,M,D),We=b&&function(vt,ht){b(oe(vt),oe(ht))},He=B3(K(K({},o),{},{onChange:We}),Ne,xe,Me,Ee,[],s,Ce,fe,u),at=ie(He,2),Le=at[1],Ue=S3(Re,u),_e=ie(Ue,2),Be=_e[0],Je=_e[1],dt=a.useMemo(function(){return Be.some(function(vt){return vt})},[Be]),it=function(ht,Yt){if(q){var on=K(K({},Yt),{},{mode:Yt.mode[0]});delete on.range,q(ht[0],on)}},qe=_3(P,N,Re,[Ke],fe,Ie,i,!1,V,F,ba(L==null?void 0:L.defaultOpenValue),it,$,w),Ae=ie(qe,2),Ge=Ae[0],Ye=Ae[1],tt=$t(function(vt,ht,Yt){if(Qe(ht),_&&Yt!==!1){var on=vt||Re[Re.length-1];_(on,ht)}}),mt=function(){Le(Me()),be(!1,{force:!0})},lt=function(ht){!S&&!se.current.nativeElement.contains(document.activeElement)&&se.current.focus(),be(!0),ae==null||ae(ht)},ft=function(){Le(null),be(!1,{force:!0})},gt=a.useState(null),et=ie(gt,2),rt=et[0],Fe=et[1],je=a.useState(null),st=ie(je,2),Ct=st[0],Nt=st[1],Vt=a.useMemo(function(){var vt=[Ct].concat(ye(Re)).filter(function(ht){return ht});return k?vt:vt.slice(0,1)},[Re,Ct,k]),Kt=a.useMemo(function(){return!k&&Ct?[Ct]:Re.filter(function(vt){return vt})},[Re,Ct,k]);a.useEffect(function(){fe||Nt(null)},[fe]);var qt=L3(ne),Gt=function(ht){Nt(ht),Fe("preset")},pt=function(ht){var Yt=k?re(Me(),ht):[ht],on=Le(Yt);on&&!k&&be(!1,{force:!0})},St=function(ht){pt(ht)},It=function(ht){Nt(ht),Fe("cell")},rn=function(ht){be(!0),nt(ht)},gn=function(ht){ge("panel");var Yt=k?re(Me(),ht):[ht];Ee(Yt),!C&&!l&&i===ot&&mt()},Sn=function(){be(!1)},Cn=V1(te,Q,U),Wn=a.useMemo(function(){var vt=en(o,!1),ht=Xt(o,[].concat(ye(Object.keys(vt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return K(K({},ht),{},{multiple:o.multiple})},[o]),Bn=a.createElement(W3,ve({},Wn,{showNow:Xe,showTime:L,disabledDate:x,onFocus:rn,onBlur:Ve,picker:R,mode:Ke,internalMode:ot,onPanelChange:tt,format:c,value:Re,isInvalid:u,onChange:null,onSelect:gn,pickerValue:Ge,defaultOpenValue:L==null?void 0:L.defaultOpenValue,onPickerValueChange:Ye,hoverValue:Vt,onHover:It,needConfirm:C,onSubmit:mt,onOk:Te,presets:qt,onPresetHover:Gt,onPresetSubmit:pt,onNow:St,cellRender:Cn})),vn=function(ht){Ee(ht)},At=function(){ge("input")},Tt=function(ht){ge("input"),be(!0,{inherit:!0}),nt(ht)},Bt=function(ht){be(!1),Ve(ht)},Lt=function(ht,Yt){ht.key==="Tab"&&mt(),y==null||y(ht,Yt)},Dt=a.useMemo(function(){return{prefixCls:f,locale:N,generateConfig:P,button:Y.button,input:Y.input}},[f,N,P,Y.button,Y.input]);return _t(function(){fe&&Ie!==void 0&&tt(null,R,!1)},[fe,Ie,R]),_t(function(){var vt=ge();!fe&&vt==="input"&&(be(!1),mt()),!fe&&l&&!C&&vt==="panel"&&(be(!0),mt())},[fe]),a.createElement(Ar.Provider,{value:Dt},a.createElement(h3,ve({},y3(o),{popupElement:Bn,popupStyle:m.popup,popupClassName:g.popup,visible:fe,onClose:Sn}),a.createElement(EM,ve({},o,{ref:se,suffixIcon:J,removeIcon:X,activeHelp:!!Ct,allHelp:!!Ct&&rt==="preset",focused:Ce,onFocus:Tt,onBlur:Bt,onKeyDown:Lt,onSubmit:mt,value:Kt,maskFormat:c,onChange:vn,onInputChange:At,internalPicker:i,format:s,inputReadOnly:W,disabled:S,open:fe,onOpenChange:be,onClick:lt,onClear:ft,invalid:dt,onInvalid:function(ht){Je(ht,0)}}))))}var OM=a.forwardRef(IM);const G3=a.createContext(null),PM=G3.Provider,X3=a.createContext(null),NM=X3.Provider;var MM=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],U3=a.forwardRef(function(e,t){var r=e.prefixCls,n=r===void 0?"rc-checkbox":r,o=e.className,i=e.style,l=e.checked,s=e.disabled,c=e.defaultChecked,u=c===void 0?!1:c,d=e.type,f=d===void 0?"checkbox":d,m=e.title,g=e.onChange,v=ut(e,MM),h=a.useRef(null),p=a.useRef(null),C=Ot(u,{value:l}),b=ie(C,2),y=b[0],S=b[1];a.useImperativeHandle(t,function(){return{focus:function(I){var E;(E=h.current)===null||E===void 0||E.focus(I)},blur:function(){var I;(I=h.current)===null||I===void 0||I.blur()},input:h.current,nativeElement:p.current}});var x=G(n,o,A(A({},"".concat(n,"-checked"),y),"".concat(n,"-disabled"),s)),$=function(I){s||("checked"in e||S(I.target.checked),g==null||g({target:K(K({},e),{},{type:f,checked:I.target.checked}),stopPropagation:function(){I.stopPropagation()},preventDefault:function(){I.preventDefault()},nativeEvent:I.nativeEvent}))};return a.createElement("span",{className:x,title:m,style:i,ref:p},a.createElement("input",ve({},v,{className:"".concat(n,"-input"),ref:h,onChange:$,disabled:s,checked:!!y,type:f})),a.createElement("span",{className:"".concat(n,"-inner")}))});const RM=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-group`;return{[n]:Object.assign(Object.assign({},Pt(e)),{display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`${r}-badge ${r}-badge-count`]:{zIndex:1},[`> ${r}-badge:not(:first-child) > ${r}-button-wrapper`]:{borderInlineStart:"none"}})}},TM=e=>{const{componentCls:t,wrapperMarginInlineEnd:r,colorPrimary:n,radioSize:o,motionDurationSlow:i,motionDurationMid:l,motionEaseInOutCirc:s,colorBgContainer:c,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:m,paddingXS:g,dotColorDisabled:v,lineType:h,radioColor:p,radioBgColor:C,calc:b}=e,y=`${t}-inner`,x=b(o).sub(b(4).mul(2)),$=b(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},Pt(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:r,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${B(d)} ${h} ${n}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${y}`]:{borderColor:n},[`${t}-input:focus-visible + ${y}`]:Object.assign({},_o(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:$,height:$,marginBlockStart:b(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:p,borderBlockStart:0,borderInlineStart:0,borderRadius:$,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:$,height:$,backgroundColor:c,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${l}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[y]:{borderColor:n,backgroundColor:C,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:v}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[y]:{"&::after":{transform:`scale(${b(x).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}})}},LM=e=>{const{buttonColor:t,controlHeight:r,componentCls:n,lineWidth:o,lineType:i,colorBorder:l,motionDurationSlow:s,motionDurationMid:c,buttonPaddingInline:u,fontSize:d,buttonBg:f,fontSizeLG:m,controlHeightLG:g,controlHeightSM:v,paddingXS:h,borderRadius:p,borderRadiusSM:C,borderRadiusLG:b,buttonCheckedBg:y,buttonSolidCheckedColor:S,colorTextDisabled:x,colorBgContainerDisabled:$,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:I,colorPrimary:E,colorPrimaryHover:O,colorPrimaryActive:N,buttonSolidCheckedBg:P,buttonSolidCheckedHoverBg:R,buttonSolidCheckedActiveBg:M,calc:D}=e;return{[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:r,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:B(D(r).sub(D(o).mul(2)).equal()),background:f,border:`${B(o)} ${i} ${l}`,borderBlockStartWidth:D(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:D(o).mul(-1).equal(),insetInlineStart:D(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:l,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${B(o)} ${i} ${l}`,borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p},"&:first-child:last-child":{borderRadius:p},[`${n}-group-large &`]:{height:g,fontSize:m,lineHeight:B(D(g).sub(D(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${n}-group-small &`]:{height:v,paddingInline:D(h).sub(o).equal(),paddingBlock:0,lineHeight:B(D(v).sub(D(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:C,borderEndStartRadius:C},"&:last-child":{borderStartEndRadius:C,borderEndEndRadius:C}},"&:hover":{position:"relative",color:E},"&:has(:focus-visible)":Object.assign({},_o(e)),[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:E,background:y,borderColor:E,"&::before":{backgroundColor:E},"&:first-child":{borderColor:E},"&:hover":{color:O,borderColor:O,"&::before":{backgroundColor:O}},"&:active":{color:N,borderColor:N,"&::before":{backgroundColor:N}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:S,background:P,borderColor:P,"&:hover":{color:S,background:R,borderColor:R},"&:active":{color:S,background:M,borderColor:M}},"&-disabled":{color:x,backgroundColor:$,borderColor:l,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:$,borderColor:l}},[`&-disabled${n}-button-wrapper-checked`]:{color:I,backgroundColor:w,borderColor:l,boxShadow:"none"}}}},DM=e=>{const{wireframe:t,padding:r,marginXS:n,lineWidth:o,fontSizeLG:i,colorText:l,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:f,colorPrimaryHover:m,colorPrimaryActive:g,colorWhite:v}=e,h=4,p=i,C=t?p-h*2:p-(h+o)*2;return{radioSize:p,dotSize:C,dotColorDisabled:c,buttonSolidCheckedColor:d,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:m,buttonSolidCheckedActiveBg:g,buttonBg:s,buttonCheckedBg:s,buttonColor:l,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:c,buttonPaddingInline:r-o,wrapperMarginInlineEnd:n,radioColor:t?f:v,radioBgColor:t?s:f}},Y3=Et("Radio",e=>{const{controlOutline:t,controlOutlineWidth:r}=e,n=`0 0 0 ${B(r)} ${t}`,i=xt(e,{radioFocusShadow:n,radioButtonFocusShadow:n});return[RM(i),TM(i),LM(i)]},DM,{unitless:{radioSize:!0,dotSize:!0}});var _M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const o=a.useContext(G3),i=a.useContext(X3),{getPrefixCls:l,direction:s,radio:c}=a.useContext(ke),u=a.useRef(null),d=yn(t,u),{isFormItemInput:f}=a.useContext(dn),m=M=>{var D,L;(D=e.onChange)===null||D===void 0||D.call(e,M),(L=o==null?void 0:o.onChange)===null||L===void 0||L.call(o,M)},{prefixCls:g,className:v,rootClassName:h,children:p,style:C,title:b}=e,y=_M(e,["prefixCls","className","rootClassName","children","style","title"]),S=l("radio",g),x=((o==null?void 0:o.optionType)||i)==="button",$=x?`${S}-button`:S,w=Ut(S),[I,E,O]=Y3(S,w),N=Object.assign({},y),P=a.useContext(Hn);o&&(N.name=o.name,N.onChange=m,N.checked=e.value===o.value,N.disabled=(r=N.disabled)!==null&&r!==void 0?r:o.disabled),N.disabled=(n=N.disabled)!==null&&n!==void 0?n:P;const R=G(`${$}-wrapper`,{[`${$}-wrapper-checked`]:N.checked,[`${$}-wrapper-disabled`]:N.disabled,[`${$}-wrapper-rtl`]:s==="rtl",[`${$}-wrapper-in-form-item`]:f},c==null?void 0:c.className,v,h,E,O,w);return I(a.createElement(ul,{component:"Radio",disabled:N.disabled},a.createElement("label",{className:R,style:Object.assign(Object.assign({},c==null?void 0:c.style),C),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b},a.createElement(U3,Object.assign({},N,{className:G(N.className,{[ic]:!x}),type:"radio",prefixCls:$,ref:d})),p!==void 0?a.createElement("span",null,p):null)))},jM=a.forwardRef(kM),ks=jM,HM=a.forwardRef((e,t)=>{const{getPrefixCls:r,direction:n}=a.useContext(ke),{prefixCls:o,className:i,rootClassName:l,options:s,buttonStyle:c="outline",disabled:u,children:d,size:f,style:m,id:g,optionType:v,name:h,defaultValue:p,value:C,onChange:b,onMouseEnter:y,onMouseLeave:S,onFocus:x,onBlur:$}=e,[w,I]=Ot(p,{value:C}),E=a.useCallback(H=>{const k=w,V=H.target.value;"value"in e||I(V),V!==k&&(b==null||b(H))},[w,I,b]),O=r("radio",o),N=`${O}-group`,P=Ut(O),[R,M,D]=Y3(O,P);let L=d;s&&s.length>0&&(L=s.map(H=>typeof H=="string"||typeof H=="number"?a.createElement(ks,{key:H.toString(),prefixCls:O,disabled:u,value:H,checked:w===H},H):a.createElement(ks,{key:`radio-group-value-options-${H.value}`,prefixCls:O,disabled:H.disabled||u,value:H.value,checked:w===H.value,title:H.title,style:H.style,id:H.id,required:H.required},H.label)));const T=un(f),_=G(N,`${N}-${c}`,{[`${N}-${T}`]:T,[`${N}-rtl`]:n==="rtl"},i,l,M,D,P),j=a.useMemo(()=>({onChange:E,value:w,disabled:u,name:h,optionType:v}),[E,w,u,h,v]);return R(a.createElement("div",Object.assign({},en(e,{aria:!0,data:!0}),{className:_,style:m,onMouseEnter:y,onMouseLeave:S,onFocus:x,onBlur:$,id:g,ref:t}),a.createElement(PM,{value:j},L)))}),Z3=a.memo(HM);var zM=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:r}=a.useContext(ke),{prefixCls:n}=e,o=zM(e,["prefixCls"]),i=r("radio",n);return a.createElement(NM,{value:"button"},a.createElement(ks,Object.assign({prefixCls:i},o,{type:"radio",ref:t})))},pf=a.forwardRef(BM),jc=ks;jc.Button=pf;jc.Group=Z3;jc.__ANT_RADIO=!0;const $l=jc,AM=10,FM=20;function VM(e){const{fullscreen:t,validRange:r,generateConfig:n,locale:o,prefixCls:i,value:l,onChange:s,divRef:c}=e,u=n.getYear(l||n.getNow());let d=u-AM,f=d+FM;r&&(d=n.getYear(r[0]),f=n.getYear(r[1])+1);const m=o&&o.year==="年"?"年":"",g=[];for(let v=d;v{let h=n.setYear(l,v);if(r){const[p,C]=r,b=n.getYear(h),y=n.getMonth(h);b===n.getYear(C)&&y>n.getMonth(C)&&(h=n.setMonth(h,n.getMonth(C))),b===n.getYear(p)&&yc.current})}function WM(e){const{prefixCls:t,fullscreen:r,validRange:n,value:o,generateConfig:i,locale:l,onChange:s,divRef:c}=e,u=i.getMonth(o||i.getNow());let d=0,f=11;if(n){const[v,h]=n,p=i.getYear(o);i.getYear(h)===p&&(f=i.getMonth(h)),i.getYear(v)===p&&(d=i.getMonth(v))}const m=l.shortMonths||i.locale.getShortMonths(l.locale),g=[];for(let v=d;v<=f;v+=1)g.push({label:m[v],value:v});return a.createElement(jn,{size:r?void 0:"small",className:`${t}-month-select`,value:u,options:g,onChange:v=>{s(i.setMonth(o,v))},getPopupContainer:()=>c.current})}function KM(e){const{prefixCls:t,locale:r,mode:n,fullscreen:o,onModeChange:i}=e;return a.createElement(Z3,{onChange:l=>{let{target:{value:s}}=l;i(s)},value:n,size:o?void 0:"small",className:`${t}-mode-switch`},a.createElement(pf,{value:"month"},r.month),a.createElement(pf,{value:"year"},r.year))}function qM(e){const{prefixCls:t,fullscreen:r,mode:n,onChange:o,onModeChange:i}=e,l=a.useRef(null),s=a.useContext(dn),c=a.useMemo(()=>Object.assign(Object.assign({},s),{isFormItemInput:!1}),[s]),u=Object.assign(Object.assign({},e),{fullscreen:r,divRef:l});return a.createElement("div",{className:`${t}-header`,ref:l},a.createElement(dn.Provider,{value:c},a.createElement(VM,Object.assign({},u,{onChange:d=>{o(d,"year")}})),n==="month"&&a.createElement(WM,Object.assign({},u,{onChange:d=>{o(d,"month")}}))),a.createElement(KM,Object.assign({},u,{onModeChange:i})))}function vi(e){return xt(e,{inputAffixPadding:e.paddingXXS})}const pi=e=>{const{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:i,controlHeightLG:l,fontSizeLG:s,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:m,colorPrimaryHover:g,colorPrimary:v,controlOutlineWidth:h,controlOutline:p,colorErrorOutline:C,colorWarningOutline:b,colorBgContainer:y}=e;return{paddingBlock:Math.max(Math.round((t-r*n)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-r*n)/2*10)/10-o,0),paddingBlockLG:Math.ceil((l-s*c)/2*10)/10-o,paddingInline:u-o,paddingInlineSM:d-o,paddingInlineLG:f-o,addonBg:m,activeBorderColor:v,hoverBorderColor:g,activeShadow:`0 0 0 ${h}px ${p}`,errorActiveShadow:`0 0 0 ${h}px ${C}`,warningActiveShadow:`0 0 0 ${h}px ${b}`,hoverBg:y,activeBg:y,inputFontSize:r,inputFontSizeLG:s,inputFontSizeSM:r}},GM=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),wl=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},GM(xt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),X1=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),J0=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},X1(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),Hc=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},X1(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},wl(e))}),J0(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),J0(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),ev=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),Q3=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},ev(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),ev(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},wl(e))}})}),zc=(e,t)=>{const{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},J3=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),tv=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},J3(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Bc=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},J3(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},wl(e))}),tv(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),tv(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),nv=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),eC=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},nv(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),nv(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Ac=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),tC=e=>{const{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:o}=e;return{padding:`${B(t)} ${B(o)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:n}},U1=e=>({padding:`${B(e.paddingBlockSM)} ${B(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),ca=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${B(e.paddingBlock)} ${B(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Ac(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},tC(e)),"&-sm":Object.assign({},U1(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),nC=e=>{const{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},tC(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},U1(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${B(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${B(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${B(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${B(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${r}-select-selector`]:{color:e.colorPrimary}}},[`${r}-cascader-picker`]:{margin:`-9px ${B(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Tr()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${B(e.paddingXXS)}`,marginInline:n(e.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},hN=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),CN=Et("Breadcrumb",e=>{const t=xt(e,{});return pN(t)},hN);var G0=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{breadcrumbName:l}=i,s=G0(i,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:l})})}),o}function yN(e,t){return a.useMemo(()=>e||(t?t.map(bN):null),[e,t])}var SN=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{if(t===void 0)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach(n=>{r=r.replace(`:${n}`,e[n])}),r},Mc=e=>{const{prefixCls:t,separator:r="/",style:n,className:o,rootClassName:i,routes:l,items:s,children:c,itemRender:u,params:d={}}=e,f=SN(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:m,direction:g,breadcrumb:v}=a.useContext(ke);let h;const p=m("breadcrumb",t),[C,b,y]=CN(p),S=yN(s,l),x=gN(p,u);if(S&&S.length>0){const I=[],E=s||l;h=S.map((O,N)=>{const{path:P,key:R,type:M,menu:D,overlay:L,onClick:T,className:_,separator:j,dropdownProps:H}=O,k=xN(d,P);k!==void 0&&I.push(k);const V=R!=null?R:N;if(M==="separator")return a.createElement(A1,{key:V},j);const F={},q=N===S.length-1;D?F.menu=D:L&&(F.overlay=L);let{href:W}=O;return I.length&&k!==void 0&&(W=`#/${I.join("/")}`),a.createElement(cC,Object.assign({key:V},F,en(O,{data:!0,aria:!0}),{className:_,dropdownProps:H,href:W,separator:q?"":r,onClick:T,prefixCls:p}),x(O,d,E,I,W))})}else if(c){const I=sn(c).length;h=sn(c).map((E,O)=>{if(!E)return E;const N=O===I-1;return cn(E,{separator:N?"":r,key:O})})}const $=G(p,v==null?void 0:v.className,{[`${p}-rtl`]:g==="rtl"},o,i,b,y),w=Object.assign(Object.assign({},v==null?void 0:v.style),n);return C(a.createElement("nav",Object.assign({className:$,style:w},f),a.createElement("ol",null,h)))};Mc.Item=vN;Mc.Separator=A1;var dC={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Zs,function(){return function(r,n){n.prototype.weekday=function(o){var i=this.$locale().weekStart||0,l=this.$W,s=(l25){var d=l(this).startOf(n).add(1,n).date(u),f=l(this).endOf(r);if(d.isBefore(f))return 1}var m=l(this).startOf(n).date(u).startOf(r).subtract(1,"millisecond"),g=this.diff(m,r,!0);return g<0?l(this).startOf("week").week():Math.ceil(g)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(mC);var ON=mC.exports;const PN=ni(ON);var gC={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Zs,function(){return function(r,n){n.prototype.weekYear=function(){var o=this.month(),i=this.week(),l=this.year();return i===1&&o===11?l+1:o===0&&i>=52?l-1:l}}})})(gC);var NN=gC.exports;const MN=ni(NN);nr.extend(Z7);nr.extend(Q7);nr.extend(wN);nr.extend(IN);nr.extend(PN);nr.extend(MN);nr.extend(function(e,t){var r=t.prototype,n=r.format;r.format=function(i){var l=(i||"").replace("Wo","wo");return n.bind(this)(l)}});var RN={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Uo=function(t){var r=RN[t];return r||t.split("_")[0]},X0=function(){K7(!1,"Not match any format. Please help to fire a issue about this.")},vC={getNow:function(){var t=nr();return typeof t.tz=="function"?t.tz():t},getFixedDate:function(t){return nr(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var r=t.locale("en");return r.weekday()+r.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,r){return t.add(r,"year")},addMonth:function(t,r){return t.add(r,"month")},addDate:function(t,r){return t.add(r,"day")},setYear:function(t,r){return t.year(r)},setMonth:function(t,r){return t.month(r)},setDate:function(t,r){return t.date(r)},setHour:function(t,r){return t.hour(r)},setMinute:function(t,r){return t.minute(r)},setSecond:function(t,r){return t.second(r)},setMillisecond:function(t,r){return t.millisecond(r)},isAfter:function(t,r){return t.isAfter(r)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return nr().locale(Uo(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,r){return r.locale(Uo(t)).weekday(0)},getWeek:function(t,r){return r.locale(Uo(t)).week()},getShortWeekDays:function(t){return nr().locale(Uo(t)).localeData().weekdaysMin()},getShortMonths:function(t){return nr().locale(Uo(t)).localeData().monthsShort()},format:function(t,r,n){return r.locale(Uo(t)).format(n)},parse:function(t,r,n){for(var o=Uo(t),i=0;i2&&arguments[2]!==void 0?arguments[2]:"0",n=String(e);n.length2&&arguments[2]!==void 0?arguments[2]:[],n=a.useState([!1,!1]),o=ie(n,2),i=o[0],l=o[1],s=function(d,f){l(function(m){return Xi(m,f,d)})},c=a.useMemo(function(){return i.map(function(u,d){if(u)return!0;var f=e[d];return f?!!(!r[d]&&!f||f&&t(f,{activeIndex:d})):!1})},[e,i,t,r]);return[c,s]}function xC(e,t,r,n,o){var i="",l=[];return e&&l.push(o?"hh":"HH"),t&&l.push("mm"),r&&l.push("ss"),i=l.join(":"),n&&(i+=".SSS"),o&&(i+=" A"),i}function LN(e,t,r,n,o,i){var l=e.fieldDateTimeFormat,s=e.fieldDateFormat,c=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,f=e.fieldWeekFormat,m=e.fieldQuarterFormat,g=e.yearFormat,v=e.cellYearFormat,h=e.cellQuarterFormat,p=e.dayFormat,C=e.cellDateFormat,b=xC(t,r,n,o,i);return K(K({},e),{},{fieldDateTimeFormat:l||"YYYY-MM-DD ".concat(b),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:c||b,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:m||"YYYY-[Q]Q",yearFormat:g||"YYYY",cellYearFormat:v||"YYYY",cellQuarterFormat:h||"[Q]Q",cellDateFormat:C||p||"D"})}function $C(e,t){var r=t.showHour,n=t.showMinute,o=t.showSecond,i=t.showMillisecond,l=t.use12Hours;return z.useMemo(function(){return LN(e,r,n,o,i,l)},[e,r,n,o,i,l])}function Ri(e,t,r){return r!=null?r:t.some(function(n){return e.includes(n)})}var DN=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function _N(e){var t=Tc(e,DN),r=e.format,n=e.picker,o=null;return r&&(o=r,Array.isArray(o)&&(o=o[0]),o=bt(o)==="object"?o.format:o),n==="time"&&(t.format=o),[t,o]}function kN(e){return e&&typeof e=="string"}function wC(e,t,r,n){return[e,t,r,n].some(function(o){return o!==void 0})}function EC(e,t,r,n,o){var i=t,l=r,s=n;if(!e&&!i&&!l&&!s&&!o)i=!0,l=!0,s=!0;else if(e){var c,u,d,f=[i,l,s].some(function(v){return v===!1}),m=[i,l,s].some(function(v){return v===!0}),g=f?!0:!m;i=(c=i)!==null&&c!==void 0?c:g,l=(u=l)!==null&&u!==void 0?u:g,s=(d=s)!==null&&d!==void 0?d:g}return[i,l,s,o]}function IC(e){var t=e.showTime,r=_N(e),n=ie(r,2),o=n[0],i=n[1],l=t&&bt(t)==="object"?t:{},s=K(K({defaultOpenValue:l.defaultOpenValue||l.defaultValue},o),l),c=s.showMillisecond,u=s.showHour,d=s.showMinute,f=s.showSecond,m=wC(u,d,f,c),g=EC(m,u,d,f,c),v=ie(g,3);return u=v[0],d=v[1],f=v[2],[s,K(K({},s),{},{showHour:u,showMinute:d,showSecond:f,showMillisecond:c}),s.format,i]}function OC(e,t,r,n,o){var i=e==="time";if(e==="datetime"||i){for(var l=n,s=CC(e,o,null),c=s,u=[t,r],d=0;d1&&(l=t.addDate(l,-7)),l}function Rn(e,t){var r=t.generateConfig,n=t.locale,o=t.format;return e?typeof o=="function"?o(e):r.locale.format(n.locale,e,o):""}function _s(e,t,r){var n=t,o=["getHour","getMinute","getSecond","getMillisecond"],i=["setHour","setMinute","setSecond","setMillisecond"];return i.forEach(function(l,s){r?n=e[l](n,e[o[s]](r)):n=e[l](n,0)}),n}function BN(e,t,r,n,o){var i=$t(function(l,s){return!!(r&&r(l,s)||n&&e.isAfter(n,l)&&!Gn(e,t,n,l,s.type)||o&&e.isAfter(l,o)&&!Gn(e,t,o,l,s.type))});return i}function AN(e,t,r){return a.useMemo(function(){var n=CC(e,t,r),o=ba(n),i=o[0],l=bt(i)==="object"&&i.type==="mask"?i.format:null;return[o.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),l]},[e,t,r])}function FN(e,t,r){return typeof e[0]=="function"||r?!0:t}function VN(e,t,r,n){var o=$t(function(i,l){var s=K({type:t},l);if(delete s.activeIndex,!e.isValidate(i)||r&&r(i,s))return!0;if((t==="date"||t==="time")&&n){var c,u=l&&l.activeIndex===1?"end":"start",d=((c=n.disabledTime)===null||c===void 0?void 0:c.call(n,i,u,{from:s.from}))||{},f=d.disabledHours,m=d.disabledMinutes,g=d.disabledSeconds,v=d.disabledMilliseconds,h=n.disabledHours,p=n.disabledMinutes,C=n.disabledSeconds,b=f||h,y=m||p,S=g||C,x=e.getHour(i),$=e.getMinute(i),w=e.getSecond(i),I=e.getMillisecond(i);if(b&&b().includes(x)||y&&y(x).includes($)||S&&S(x,$).includes(w)||v&&v(x,$,w).includes(I))return!0}return!1});return o}function Ql(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=a.useMemo(function(){var n=e&&ba(e);return t&&n&&(n[1]=n[1]||n[0]),n},[e,t]);return r}function MC(e,t){var r=e.generateConfig,n=e.locale,o=e.picker,i=o===void 0?"date":o,l=e.prefixCls,s=l===void 0?"rc-picker":l,c=e.styles,u=c===void 0?{}:c,d=e.classNames,f=d===void 0?{}:d,m=e.order,g=m===void 0?!0:m,v=e.components,h=v===void 0?{}:v,p=e.inputRender,C=e.allowClear,b=e.clearIcon,y=e.needConfirm,S=e.multiple,x=e.format,$=e.inputReadOnly,w=e.disabledDate,I=e.minDate,E=e.maxDate,O=e.showTime,N=e.value,P=e.defaultValue,R=e.pickerValue,M=e.defaultPickerValue,D=Ql(N),L=Ql(P),T=Ql(R),_=Ql(M),j=i==="date"&&O?"datetime":i,H=j==="time"||j==="datetime",k=H||S,V=y!=null?y:H,F=IC(e),q=ie(F,4),W=q[0],J=q[1],X=q[2],Z=q[3],ee=$C(n,J),ne=a.useMemo(function(){return OC(j,X,Z,W,ee)},[j,X,Z,W,ee]),Y=a.useMemo(function(){return K(K({},e),{},{prefixCls:s,locale:ee,picker:i,styles:u,classNames:f,order:g,components:K({input:p},h),clearIcon:jN(s,C,b),showTime:ne,value:D,defaultValue:L,pickerValue:T,defaultPickerValue:_},t==null?void 0:t())},[e]),te=AN(j,ee,x),Q=ie(te,2),U=Q[0],ae=Q[1],se=FN(U,$,S),oe=BN(r,n,w,I,E),re=VN(r,i,oe,ne),ce=a.useMemo(function(){return K(K({},Y),{},{needConfirm:V,inputReadOnly:se,disabledDate:oe})},[Y,V,se,oe]);return[ce,j,k,U,ae,re]}function WN(e,t,r){var n=Ot(t,{value:e}),o=ie(n,2),i=o[0],l=o[1],s=z.useRef(e),c=z.useRef(),u=function(){kt.cancel(c.current)},d=$t(function(){l(s.current),r&&i!==s.current&&r(s.current)}),f=$t(function(m,g){u(),s.current=m,m||g?d():c.current=kt(d)});return z.useEffect(function(){return u},[]),[i,f]}function RC(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=arguments.length>3?arguments[3]:void 0,o=r.every(function(d){return d})?!1:e,i=WN(o,t||!1,n),l=ie(i,2),s=l[0],c=l[1];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!f.inherit||s)&&c(d,f.force)}return[s,u]}function TC(e){var t=a.useRef();return a.useImperativeHandle(e,function(){var r;return{nativeElement:(r=t.current)===null||r===void 0?void 0:r.nativeElement,focus:function(o){var i;(i=t.current)===null||i===void 0||i.focus(o)},blur:function(){var o;(o=t.current)===null||o===void 0||o.blur()}}}),t}function LC(e,t){return a.useMemo(function(){return e||(t?(Jt(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(r){var n=ie(r,2),o=n[0],i=n[1];return{label:o,value:i}})):[])},[e,t])}function q1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,n=a.useRef(t);n.current=t,na(function(){if(e)n.current(e);else{var o=kt(function(){n.current(e)},r);return function(){kt.cancel(o)}}},[e])}function DC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=a.useState(0),o=ie(n,2),i=o[0],l=o[1],s=a.useState(!1),c=ie(s,2),u=c[0],d=c[1],f=a.useRef([]),m=a.useRef(null),g=function(C){d(C)},v=function(C){return C&&(m.current=C),m.current},h=function(C){var b=f.current,y=new Set(b.filter(function(x){return C[x]||t[x]})),S=b[b.length-1]===0?1:0;return y.size>=2||e[S]?null:S};return q1(u||r,function(){u||(f.current=[])}),a.useEffect(function(){u&&f.current.push(i)},[u,i]),[u,g,v,i,l,h,f.current]}function KN(e,t,r,n,o,i){var l=r[r.length-1],s=function(u,d){var f=ie(e,2),m=f[0],g=f[1],v=K(K({},d),{},{from:bC(e,r)});return l===1&&t[0]&&m&&!Gn(n,o,m,u,v.type)&&n.isAfter(m,u)||l===0&&t[1]&&g&&!Gn(n,o,g,u,v.type)&&n.isAfter(u,g)?!0:i==null?void 0:i(u,v)};return s}function Bi(e,t,r,n){switch(t){case"date":case"week":return e.addMonth(r,n);case"month":case"quarter":return e.addYear(r,n);case"year":return e.addYear(r,n*10);case"decade":return e.addYear(r,n*100);default:return r}}var Bu=[];function _C(e,t,r,n,o,i,l,s){var c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Bu,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Bu,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Bu,f=arguments.length>11?arguments[11]:void 0,m=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,v=l==="time",h=i||0,p=function(T){var _=e.getNow();return v&&(_=_s(e,_)),c[T]||r[T]||_},C=ie(u,2),b=C[0],y=C[1],S=Ot(function(){return p(0)},{value:b}),x=ie(S,2),$=x[0],w=x[1],I=Ot(function(){return p(1)},{value:y}),E=ie(I,2),O=E[0],N=E[1],P=a.useMemo(function(){var L=[$,O][h];return v?L:_s(e,L,d[h])},[v,$,O,h,e,d]),R=function(T){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",j=[w,N][h];j(T);var H=[$,O];H[h]=T,f&&(!Gn(e,t,$,H[0],l)||!Gn(e,t,O,H[1],l))&&f(H,{source:_,range:h===1?"end":"start",mode:n})},M=function(T,_){if(s){var j={date:"month",week:"month",month:"year",quarter:"year"},H=j[l];if(H&&!Gn(e,t,T,_,H))return Bi(e,l,_,-1);if(l==="year"&&T){var k=Math.floor(e.getYear(T)/10),V=Math.floor(e.getYear(_)/10);if(k!==V)return Bi(e,l,_,-1)}}return _},D=a.useRef(null);return _t(function(){if(o&&!c[h]){var L=v?null:e.getNow();if(D.current!==null&&D.current!==h?L=[$,O][h^1]:r[h]?L=h===0?r[0]:M(r[0],r[1]):r[h^1]&&(L=r[h^1]),L){m&&e.isAfter(m,L)&&(L=m);var T=s?Bi(e,l,L,1):L;g&&e.isAfter(T,g)&&(L=s?Bi(e,l,g,-1):g),R(L,"reset")}}},[o,h,r[h]]),a.useEffect(function(){o?D.current=h:D.current=null},[o,h]),_t(function(){o&&c&&c[h]&&R(c[h],"reset")},[o,h]),[P,R]}function kC(e,t){var r=a.useRef(e),n=a.useState({}),o=ie(n,2),i=o[1],l=function(u){return u&&t!==void 0?t:r.current},s=function(u){r.current=u,i({})};return[l,s,l(!0)]}var qN=[];function jC(e,t,r){var n=function(l){return l.map(function(s){return Rn(s,{generateConfig:e,locale:t,format:r[0]})})},o=function(l,s){for(var c=Math.max(l.length,s.length),u=-1,d=0;d2&&arguments[2]!==void 0?arguments[2]:1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,l=[],s=r>=1?r|0:1,c=e;c<=t;c+=s){var u=o.includes(c);(!u||!n)&&l.push({label:F1(c,i),value:c,disabled:u})}return l}function G1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t||{},o=n.use12Hours,i=n.hourStep,l=i===void 0?1:i,s=n.minuteStep,c=s===void 0?1:s,u=n.secondStep,d=u===void 0?1:u,f=n.millisecondStep,m=f===void 0?100:f,g=n.hideDisabledOptions,v=n.disabledTime,h=n.disabledHours,p=n.disabledMinutes,C=n.disabledSeconds,b=a.useMemo(function(){return r||e.getNow()},[r,e]),y=a.useCallback(function(_){var j=(v==null?void 0:v(_))||{};return[j.disabledHours||h||Jl,j.disabledMinutes||p||Jl,j.disabledSeconds||C||Jl,j.disabledMilliseconds||Jl]},[v,h,p,C]),S=a.useMemo(function(){return y(b)},[b,y]),x=ie(S,4),$=x[0],w=x[1],I=x[2],E=x[3],O=a.useCallback(function(_,j,H,k){var V=es(0,23,l,g,_()),F=o?V.map(function(X){return K(K({},X),{},{label:F1(X.value%12||12,2)})}):V,q=function(Z){return es(0,59,c,g,j(Z))},W=function(Z,ee){return es(0,59,d,g,H(Z,ee))},J=function(Z,ee,ne){return es(0,999,m,g,k(Z,ee,ne),3)};return[F,q,W,J]},[g,l,o,m,c,d]),N=a.useMemo(function(){return O($,w,I,E)},[O,$,w,I,E]),P=ie(N,4),R=P[0],M=P[1],D=P[2],L=P[3],T=function(j,H){var k=function(){return R},V=M,F=D,q=L;if(H){var W=y(H),J=ie(W,4),X=J[0],Z=J[1],ee=J[2],ne=J[3],Y=O(X,Z,ee,ne),te=ie(Y,4),Q=te[0],U=te[1],ae=te[2],se=te[3];k=function(){return Q},V=U,F=ae,q=se}var oe=XN(j,k,V,F,q,e);return oe};return[T,R,M,D,L]}function UN(e){var t=e.mode,r=e.internalMode,n=e.renderExtraFooter,o=e.showNow,i=e.showTime,l=e.onSubmit,s=e.onNow,c=e.invalid,u=e.needConfirm,d=e.generateConfig,f=e.disabledDate,m=a.useContext(Ar),g=m.prefixCls,v=m.locale,h=m.button,p=h===void 0?"button":h,C=d.getNow(),b=G1(d,i,C),y=ie(b,1),S=y[0],x=n==null?void 0:n(t),$=f(C,{type:t}),w=function(){if(!$){var M=S(C);s(M)}},I="".concat(g,"-now"),E="".concat(I,"-btn"),O=o&&a.createElement("li",{className:I},a.createElement("a",{className:G(E,$&&"".concat(E,"-disabled")),"aria-disabled":$,onClick:w},r==="date"?v.today:v.now)),N=u&&a.createElement("li",{className:"".concat(g,"-ok")},a.createElement(p,{disabled:c,onClick:l},v.ok)),P=(O||N)&&a.createElement("ul",{className:"".concat(g,"-ranges")},O,N);return!x&&!P?null:a.createElement("div",{className:"".concat(g,"-footer")},x&&a.createElement("div",{className:"".concat(g,"-footer-extra")},x),P)}function FC(e,t,r){function n(o,i){var l=o.findIndex(function(c){return Gn(e,t,c,i,r)});if(l===-1)return[].concat(ye(o),[i]);var s=ye(o);return s.splice(l,1),s}return n}var ya=a.createContext(null);function Dc(){return a.useContext(ya)}function mi(e,t){var r=e.prefixCls,n=e.generateConfig,o=e.locale,i=e.disabledDate,l=e.minDate,s=e.maxDate,c=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,f=e.onHover,m=e.values,g=e.pickerValue,v=e.onSelect,h=e.prevIcon,p=e.nextIcon,C=e.superPrevIcon,b=e.superNextIcon,y=n.getNow(),S={now:y,values:m,pickerValue:g,prefixCls:r,disabledDate:i,minDate:l,maxDate:s,cellRender:c,hoverValue:u,hoverRangeValue:d,onHover:f,locale:o,generateConfig:n,onSelect:v,panelType:t,prevIcon:h,nextIcon:p,superPrevIcon:C,superNextIcon:b};return[S,y]}var To=a.createContext({});function xl(e){for(var t=e.rowNum,r=e.colNum,n=e.baseDate,o=e.getCellDate,i=e.prefixColumn,l=e.rowClassName,s=e.titleFormat,c=e.getCellText,u=e.getCellClassName,d=e.headerCells,f=e.cellSelection,m=f===void 0?!0:f,g=e.disabledDate,v=Dc(),h=v.prefixCls,p=v.panelType,C=v.now,b=v.disabledDate,y=v.cellRender,S=v.onHover,x=v.hoverValue,$=v.hoverRangeValue,w=v.generateConfig,I=v.values,E=v.locale,O=v.onSelect,N=g||b,P="".concat(h,"-cell"),R=a.useContext(To),M=R.onCellDblClick,D=function(F){return I.some(function(q){return q&&Gn(w,E,F,q,p)})},L=[],T=0;T1&&arguments[1]!==void 0?arguments[1]:!1;be(Ce),p==null||p(Ce),pe&&de(Ce)},Se=function(Ce,pe){ee(Ce),pe&&he(pe),de(pe,Ce)},$e=function(Ce){if(re(Ce),he(Ce),Z!==S){var pe=["decade","year"],ge=[].concat(pe,["month"]),Ie={quarter:[].concat(pe,["quarter"]),week:[].concat(ye(ge),["week"]),date:[].concat(ye(ge),["date"])},nt=Ie[S]||ge,Ve=nt.indexOf(Z),Ze=nt[Ve+1];Ze&&Se(Ze,Ce)}},Ne=a.useMemo(function(){var me,Ce;if(Array.isArray(w)){var pe=ie(w,2);me=pe[0],Ce=pe[1]}else me=w;return!me&&!Ce?null:(me=me||Ce,Ce=Ce||me,o.isAfter(me,Ce)?[Ce,me]:[me,Ce])},[w,o]),xe=V1(I,E,O),Me=P[ne]||iM[ne]||_c,Ee=a.useContext(To),Te=a.useMemo(function(){return K(K({},Ee),{},{hideHeader:R})},[Ee,R]),Re="".concat(M,"-panel"),Pe=Tc(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return a.createElement(To.Provider,{value:Te},a.createElement("div",{ref:D,tabIndex:c,className:G(Re,A({},"".concat(Re,"-rtl"),i==="rtl"))},a.createElement(Me,ve({},Pe,{showTime:q,prefixCls:M,locale:V,generateConfig:o,onModeChange:Se,pickerValue:fe,onPickerValueChange:function(Ce){he(Ce,!0)},value:se[0],onSelect:$e,values:se,cellRender:xe,hoverRangeValue:Ne,hoverValue:$}))))}var hs=a.memo(a.forwardRef(lM));function sM(e){var t=e.picker,r=e.multiplePanel,n=e.pickerValue,o=e.onPickerValueChange,i=e.needConfirm,l=e.onSubmit,s=e.range,c=e.hoverValue,u=a.useContext(Ar),d=u.prefixCls,f=u.generateConfig,m=a.useCallback(function(b,y){return Bi(f,t,b,y)},[f,t]),g=a.useMemo(function(){return m(n,1)},[n,m]),v=function(y){o(m(y,-1))},h={onCellDblClick:function(){i&&l()}},p=t==="time",C=K(K({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:p});return s?C.hoverRangeValue=c:C.hoverValue=c,r?a.createElement("div",{className:"".concat(d,"-panels")},a.createElement(To.Provider,{value:K(K({},h),{},{hideNext:!0})},a.createElement(hs,C)),a.createElement(To.Provider,{value:K(K({},h),{},{hidePrev:!0})},a.createElement(hs,ve({},C,{pickerValue:g,onPickerValueChange:v})))):a.createElement(To.Provider,{value:K({},h)},a.createElement(hs,C))}function Y0(e){return typeof e=="function"?e():e}function cM(e){var t=e.prefixCls,r=e.presets,n=e.onClick,o=e.onHover;return r.length?a.createElement("div",{className:"".concat(t,"-presets")},a.createElement("ul",null,r.map(function(i,l){var s=i.label,c=i.value;return a.createElement("li",{key:l,onClick:function(){n(Y0(c))},onMouseEnter:function(){o(Y0(c))},onMouseLeave:function(){o(null)}},s)}))):null}function WC(e){var t=e.panelRender,r=e.internalMode,n=e.picker,o=e.showNow,i=e.range,l=e.multiple,s=e.activeOffset,c=s===void 0?0:s,u=e.placement,d=e.presets,f=e.onPresetHover,m=e.onPresetSubmit,g=e.onFocus,v=e.onBlur,h=e.onPanelMouseDown,p=e.direction,C=e.value,b=e.onSelect,y=e.isInvalid,S=e.defaultOpenValue,x=e.onOk,$=e.onSubmit,w=a.useContext(Ar),I=w.prefixCls,E="".concat(I,"-panel"),O=p==="rtl",N=a.useRef(null),P=a.useRef(null),R=a.useState(0),M=ie(R,2),D=M[0],L=M[1],T=a.useState(0),_=ie(T,2),j=_[0],H=_[1],k=function(oe){oe.offsetWidth&&L(oe.offsetWidth)};a.useEffect(function(){if(i){var se,oe=((se=N.current)===null||se===void 0?void 0:se.offsetWidth)||0,re=D-oe;c<=re?H(0):H(c+oe-D)}},[D,c,i]);function V(se){return se.filter(function(oe){return oe})}var F=a.useMemo(function(){return V(ba(C))},[C]),q=n==="time"&&!F.length,W=a.useMemo(function(){return q?V([S]):F},[q,F,S]),J=q?S:F,X=a.useMemo(function(){return W.length?W.some(function(se){return y(se)}):!0},[W,y]),Z=function(){q&&b(S),x(),$()},ee=a.createElement("div",{className:"".concat(I,"-panel-layout")},a.createElement(cM,{prefixCls:I,presets:d,onClick:m,onHover:f}),a.createElement("div",null,a.createElement(sM,ve({},e,{value:J})),a.createElement(UN,ve({},e,{showNow:l?!1:o,invalid:X,onSubmit:Z}))));t&&(ee=t(ee));var ne="".concat(E,"-container"),Y="marginLeft",te="marginRight",Q=a.createElement("div",{onMouseDown:h,tabIndex:-1,className:G(ne,"".concat(I,"-").concat(r,"-panel-container")),style:A(A({},O?te:Y,j),O?Y:te,"auto"),onFocus:g,onBlur:v},ee);if(i){var U=Rc(u,O),ae=pC(U,O);Q=a.createElement("div",{onMouseDown:h,ref:P,className:G("".concat(I,"-range-wrapper"),"".concat(I,"-").concat(n,"-range-wrapper"))},a.createElement("div",{ref:N,className:"".concat(I,"-range-arrow"),style:A({},ae,c)}),a.createElement(Nn,{onResize:k},Q))}return Q}function KC(e,t){var r=e.format,n=e.maskFormat,o=e.generateConfig,i=e.locale,l=e.preserveInvalidOnBlur,s=e.inputReadOnly,c=e.required,u=e["aria-required"],d=e.onSubmit,f=e.onFocus,m=e.onBlur,g=e.onInputChange,v=e.onInvalid,h=e.open,p=e.onOpenChange,C=e.onKeyDown,b=e.onChange,y=e.activeHelp,S=e.name,x=e.autoComplete,$=e.id,w=e.value,I=e.invalid,E=e.placeholder,O=e.disabled,N=e.activeIndex,P=e.allHelp,R=e.picker,M=function(V,F){var q=o.locale.parse(i.locale,V,[F]);return q&&o.isValidate(q)?q:null},D=r[0],L=a.useCallback(function(k){return Rn(k,{locale:i,format:D,generateConfig:o})},[i,o,D]),T=a.useMemo(function(){return w.map(L)},[w,L]),_=a.useMemo(function(){var k=R==="time"?8:10,V=typeof D=="function"?D(o.getNow()).length:D.length;return Math.max(k,V)+2},[D,R,o]),j=function(V){for(var F=0;F=s&&r<=c)return i;var u=Math.min(Math.abs(r-s),Math.abs(r-c));u0?We:He));var _e=Ue+Qe,Be=He-We+1;return String(We+(Be+_e-We)%Be)};switch(Ce){case"Backspace":case"Delete":pe="",ge=nt;break;case"ArrowLeft":pe="",Ve(-1);break;case"ArrowRight":pe="",Ve(1);break;case"ArrowUp":pe="",ge=Ze(1);break;case"ArrowDown":pe="",ge=Ze(-1);break;default:isNaN(Number(Ce))||(pe=k+Ce,ge=pe);break}if(pe!==null&&(V(pe),pe.length>=Ie&&(Ve(1),V(""))),ge!==null){var De=Y.slice(0,oe)+F1(ge,Ie)+Y.slice(re);ue(De.slice(0,l.length))}ne({})},Te=a.useRef();_t(function(){if(!(!R||!l||de.current)){if(!U.match(Y)){ue(l);return}return Q.current.setSelectionRange(oe,re),Te.current=kt(function(){Q.current.setSelectionRange(oe,re)}),function(){kt.cancel(Te.current)}}},[U,l,R,Y,W,oe,re,ee,ue]);var Re=l?{onFocus:$e,onBlur:xe,onKeyDown:Ee,onMouseDown:he,onMouseUp:Se,onPaste:be}:{};return a.createElement("div",{ref:te,className:G(O,A(A({},"".concat(O,"-active"),r&&o),"".concat(O,"-placeholder"),u))},a.createElement(E,ve({ref:Q,"aria-invalid":h,autoComplete:"off"},C,{onKeyDown:Me,onBlur:Ne},Re,{value:Y,onChange:fe})),a.createElement(kc,{type:"suffix",icon:i}),p)}),pM=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],hM=["index"];function CM(e,t){var r=e.id,n=e.clearIcon,o=e.suffixIcon,i=e.separator,l=i===void 0?"~":i,s=e.activeIndex;e.activeHelp,e.allHelp;var c=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,m=e.onClick,g=e.onClear,v=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var h=e.disabled,p=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var b=e.onActiveOffset,y=e.placement,S=e.onMouseDown;e.required,e["aria-required"];var x=e.autoFocus,$=ut(e,pM),w=C==="rtl",I=a.useContext(Ar),E=I.prefixCls,O=a.useMemo(function(){if(typeof r=="string")return[r];var Y=r||{};return[Y.start,Y.end]},[r]),N=a.useRef(),P=a.useRef(),R=a.useRef(),M=function(te){var Q;return(Q=[P,R][te])===null||Q===void 0?void 0:Q.current};a.useImperativeHandle(t,function(){return{nativeElement:N.current,focus:function(te){if(bt(te)==="object"){var Q,U=te||{},ae=U.index,se=ae===void 0?0:ae,oe=ut(U,hM);(Q=M(se))===null||Q===void 0||Q.focus(oe)}else{var re;(re=M(te!=null?te:0))===null||re===void 0||re.focus()}},blur:function(){var te,Q;(te=M(0))===null||te===void 0||te.blur(),(Q=M(1))===null||Q===void 0||Q.blur()}}});var D=qC($),L=a.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),T=KC(K(K({},e),{},{id:O,placeholder:L})),_=ie(T,1),j=_[0],H=Rc(y,w),k=pC(H,w),V=H==null?void 0:H.toLowerCase().endsWith("right"),F=a.useState({position:"absolute",width:0}),q=ie(F,2),W=q[0],J=q[1],X=$t(function(){var Y=M(s);if(Y){var te=Y.nativeElement,Q=te.offsetWidth,U=te.offsetLeft,ae=te.offsetParent,se=(ae==null?void 0:ae.offsetWidth)||0,oe=V?se-Q-U:U;J(function(re){return K(K({},re),{},A({width:Q},k,oe))}),b(oe)}});a.useEffect(function(){X()},[s]);var Z=n&&(v[0]&&!h[0]||v[1]&&!h[1]),ee=x&&!h[0],ne=x&&!ee&&!h[1];return a.createElement(Nn,{onResize:X},a.createElement("div",ve({},D,{className:G(E,"".concat(E,"-range"),A(A(A(A({},"".concat(E,"-focused"),c),"".concat(E,"-disabled"),h.every(function(Y){return Y})),"".concat(E,"-invalid"),p.some(function(Y){return Y})),"".concat(E,"-rtl"),w),d),style:f,ref:N,onClick:m,onMouseDown:function(te){var Q=te.target;Q!==P.current.inputElement&&Q!==R.current.inputElement&&te.preventDefault(),S==null||S(te)}}),a.createElement(vf,ve({ref:P},j(0),{autoFocus:ee,"date-range":"start"})),a.createElement("div",{className:"".concat(E,"-range-separator")},l),a.createElement(vf,ve({ref:R},j(1),{autoFocus:ne,"date-range":"end"})),a.createElement("div",{className:"".concat(E,"-active-bar"),style:W}),a.createElement(kc,{type:"suffix",icon:o}),Z&&a.createElement(gf,{icon:n,onClear:g})))}var bM=a.forwardRef(CM);function Q0(e,t){var r=e!=null?e:t;return Array.isArray(r)?r:[r,r]}function ns(e){return e===1?"end":"start"}function yM(e,t){var r=MC(e,function(){var jt=e.disabled,Rt=e.allowEmpty,ct=Q0(jt,!1),Mt=Q0(Rt,!1);return{disabled:ct,allowEmpty:Mt}}),n=ie(r,6),o=n[0],i=n[1],l=n[2],s=n[3],c=n[4],u=n[5],d=o.prefixCls,f=o.styles,m=o.classNames,g=o.placement,v=o.defaultValue,h=o.value,p=o.needConfirm,C=o.onKeyDown,b=o.disabled,y=o.allowEmpty,S=o.disabledDate,x=o.minDate,$=o.maxDate,w=o.defaultOpen,I=o.open,E=o.onOpenChange,O=o.locale,N=o.generateConfig,P=o.picker,R=o.showNow,M=o.showToday,D=o.showTime,L=o.mode,T=o.onPanelChange,_=o.onCalendarChange,j=o.onOk,H=o.defaultPickerValue,k=o.pickerValue,V=o.onPickerValueChange,F=o.inputReadOnly,q=o.suffixIcon,W=o.onFocus,J=o.onBlur,X=o.presets,Z=o.ranges,ee=o.components,ne=o.cellRender,Y=o.dateRender,te=o.monthCellRender,Q=o.onClick,U=TC(t),ae=RC(I,w,b,E),se=ie(ae,2),oe=se[0],re=se[1],ce=function(Rt,ct){(b.some(function(Mt){return!Mt})||!Rt)&&re(Rt,ct)},ue=zC(N,O,s,!0,!1,v,h,_,j),fe=ie(ue,5),be=fe[0],de=fe[1],he=fe[2],Se=fe[3],$e=fe[4],Ne=he(),xe=DC(b,y,oe),Me=ie(xe,7),Ee=Me[0],Te=Me[1],Re=Me[2],Pe=Me[3],me=Me[4],Ce=Me[5],pe=Me[6],ge=function(Rt,ct){Te(!0),W==null||W(Rt,{range:ns(ct!=null?ct:Pe)})},Ie=function(Rt,ct){Te(!1),J==null||J(Rt,{range:ns(ct!=null?ct:Pe)})},nt=a.useMemo(function(){if(!D)return null;var jt=D.disabledTime,Rt=jt?function(ct){var Mt=ns(Pe),Wt=bC(Ne,pe,Pe);return jt(ct,Mt,{from:Wt})}:void 0;return K(K({},D),{},{disabledTime:Rt})},[D,Pe,Ne,pe]),Ve=Ot([P,P],{value:L}),Ze=ie(Ve,2),De=Ze[0],Ke=Ze[1],Qe=De[Pe]||P,ot=Qe==="date"&&nt?"datetime":Qe,Xe=ot===P&&ot!=="time",We=AC(P,Qe,R,M,!0),He=BC(o,be,de,he,Se,b,s,Ee,oe,u),at=ie(He,2),Le=at[0],Ue=at[1],_e=KN(Ne,b,pe,N,O,S),Be=SC(Ne,u,y),Je=ie(Be,2),dt=Je[0],it=Je[1],qe=_C(N,O,Ne,De,oe,Pe,i,Xe,H,k,nt==null?void 0:nt.defaultOpenValue,V,x,$),Ae=ie(qe,2),Ge=Ae[0],Ye=Ae[1],tt=$t(function(jt,Rt,ct){var Mt=Xi(De,Pe,Rt);if((Mt[0]!==De[0]||Mt[1]!==De[1])&&Ke(Mt),T&&ct!==!1){var Wt=ye(Ne);jt&&(Wt[Pe]=jt),T(Wt,Mt)}}),mt=function(Rt,ct){return Xi(Ne,ct,Rt)},lt=function(Rt,ct){var Mt=Ne;Rt&&(Mt=mt(Rt,Pe));var Wt=Ce(Mt);Se(Mt),Le(Pe,Wt===null),Wt===null?ce(!1,{force:!0}):ct||U.current.focus({index:Wt})},ft=function(Rt){var ct,Mt=Rt.target.getRootNode();if(!U.current.nativeElement.contains((ct=Mt.activeElement)!==null&&ct!==void 0?ct:document.activeElement)){var Wt=b.findIndex(function($n){return!$n});Wt>=0&&U.current.focus({index:Wt})}ce(!0),Q==null||Q(Rt)},gt=function(){Ue(null),ce(!1,{force:!0})},et=a.useState(null),rt=ie(et,2),Fe=rt[0],je=rt[1],st=a.useState(null),Ct=ie(st,2),Nt=Ct[0],Vt=Ct[1],Kt=a.useMemo(function(){return Nt||Ne},[Ne,Nt]);a.useEffect(function(){oe||Vt(null)},[oe]);var qt=a.useState(0),Gt=ie(qt,2),pt=Gt[0],St=Gt[1],It=LC(X,Z),rn=function(Rt){Vt(Rt),je("preset")},gn=function(Rt){var ct=Ue(Rt);ct&&ce(!1,{force:!0})},Sn=function(Rt){lt(Rt)},Cn=function(Rt){Vt(Rt?mt(Rt,Pe):null),je("cell")},Wn=function(Rt){ce(!0),ge(Rt)},Bn=function(){Re("panel")},vn=function(Rt){var ct=Xi(Ne,Pe,Rt);Se(ct),!p&&!l&&i===ot&<(Rt)},At=function(){ce(!1)},Tt=V1(ne,Y,te,ns(Pe)),Bt=Ne[Pe]||null,Lt=$t(function(jt){return u(jt,{activeIndex:Pe})}),Dt=a.useMemo(function(){var jt=en(o,!1),Rt=Xt(o,[].concat(ye(Object.keys(jt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Rt},[o]),vt=a.createElement(WC,ve({},Dt,{showNow:We,showTime:nt,range:!0,multiplePanel:Xe,activeOffset:pt,placement:g,disabledDate:_e,onFocus:Wn,onBlur:Ie,onPanelMouseDown:Bn,picker:P,mode:Qe,internalMode:ot,onPanelChange:tt,format:c,value:Bt,isInvalid:Lt,onChange:null,onSelect:vn,pickerValue:Ge,defaultOpenValue:ba(D==null?void 0:D.defaultOpenValue)[Pe],onPickerValueChange:Ye,hoverValue:Kt,onHover:Cn,needConfirm:p,onSubmit:lt,onOk:$e,presets:It,onPresetHover:rn,onPresetSubmit:gn,onNow:Sn,cellRender:Tt})),ht=function(Rt,ct){var Mt=mt(Rt,ct);Se(Mt)},Yt=function(){Re("input")},on=function(Rt,ct){Re("input"),ce(!0,{inherit:!0}),Pe!==ct&&oe&&!p&&l&<(null,!0),me(ct),ge(Rt,ct)},xn=function(Rt,ct){if(ce(!1),!p&&Re()==="input"){var Mt=Ce(Ne);Le(Pe,Mt===null)}Ie(Rt,ct)},On=function(Rt,ct){Rt.key==="Tab"&<(null,!0),C==null||C(Rt,ct)},An=a.useMemo(function(){return{prefixCls:d,locale:O,generateConfig:N,button:ee.button,input:ee.input}},[d,O,N,ee.button,ee.input]);return _t(function(){oe&&Pe!==void 0&&tt(null,P,!1)},[oe,Pe,P]),_t(function(){var jt=Re();!oe&&jt==="input"&&(ce(!1),lt(null,!0)),!oe&&l&&!p&&jt==="panel"&&(ce(!0),lt())},[oe]),a.createElement(Ar.Provider,{value:An},a.createElement(hC,ve({},yC(o),{popupElement:vt,popupStyle:f.popup,popupClassName:m.popup,visible:oe,onClose:At,range:!0}),a.createElement(bM,ve({},o,{ref:U,suffixIcon:q,activeIndex:Ee||oe?Pe:null,activeHelp:!!Nt,allHelp:!!Nt&&Fe==="preset",focused:Ee,onFocus:on,onBlur:xn,onKeyDown:On,onSubmit:lt,value:Kt,maskFormat:c,onChange:ht,onInputChange:Yt,format:s,inputReadOnly:F,disabled:b,open:oe,onOpenChange:ce,onClick:ft,onClear:gt,invalid:dt,onInvalid:it,onActiveOffset:St}))))}var SM=a.forwardRef(yM);function xM(e){var t=e.prefixCls,r=e.value,n=e.onRemove,o=e.removeIcon,i=o===void 0?"×":o,l=e.formatDate,s=e.disabled,c=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),f="".concat(t,"-selection"),m="".concat(f,"-overflow");function g(p,C){return a.createElement("span",{className:G("".concat(f,"-item")),title:typeof p=="string"?p:null},a.createElement("span",{className:"".concat(f,"-item-content")},p),!s&&C&&a.createElement("span",{onMouseDown:function(y){y.preventDefault()},onClick:C,className:"".concat(f,"-item-remove")},i))}function v(p){var C=l(p),b=function(S){S&&S.stopPropagation(),n(p)};return g(C,b)}function h(p){var C="+ ".concat(p.length," ...");return g(C)}return a.createElement("div",{className:d},a.createElement(Nr,{prefixCls:m,data:r,renderItem:v,renderRest:h,itemKey:function(C){return l(C)},maxCount:c}),!r.length&&a.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var $M=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function wM(e,t){e.id;var r=e.open,n=e.clearIcon,o=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var l=e.locale,s=e.generateConfig,c=e.placeholder,u=e.className,d=e.style,f=e.onClick,m=e.onClear,g=e.internalPicker,v=e.value,h=e.onChange,p=e.onSubmit;e.onInputChange;var C=e.multiple,b=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var y=e.disabled,S=e.invalid;e.inputReadOnly;var x=e.direction;e.onOpenChange;var $=e.onMouseDown;e.required,e["aria-required"];var w=e.autoFocus,I=e.removeIcon,E=ut(e,$M),O=x==="rtl",N=a.useContext(Ar),P=N.prefixCls,R=a.useRef(),M=a.useRef();a.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(W){var J;(J=M.current)===null||J===void 0||J.focus(W)},blur:function(){var W;(W=M.current)===null||W===void 0||W.blur()}}});var D=qC(E),L=function(W){h([W])},T=function(W){var J=v.filter(function(X){return X&&!Gn(s,l,X,W,g)});h(J),r||p()},_=KC(K(K({},e),{},{onChange:L}),function(q){var W=q.valueTexts;return{value:W[0]||"",active:i}}),j=ie(_,2),H=j[0],k=j[1],V=!!(n&&v.length&&!y),F=C?a.createElement(a.Fragment,null,a.createElement(xM,{prefixCls:P,value:v,onRemove:T,formatDate:k,maxTagCount:b,disabled:y,removeIcon:I,placeholder:c}),a.createElement("input",{className:"".concat(P,"-multiple-input"),value:v.map(k).join(","),ref:M,readOnly:!0,autoFocus:w}),a.createElement(kc,{type:"suffix",icon:o}),V&&a.createElement(gf,{icon:n,onClear:m})):a.createElement(vf,ve({ref:M},H(),{autoFocus:w,suffixIcon:o,clearIcon:V&&a.createElement(gf,{icon:n,onClear:m}),showActiveCls:!1}));return a.createElement("div",ve({},D,{className:G(P,A(A(A(A(A({},"".concat(P,"-multiple"),C),"".concat(P,"-focused"),i),"".concat(P,"-disabled"),y),"".concat(P,"-invalid"),S),"".concat(P,"-rtl"),O),u),style:d,ref:R,onClick:f,onMouseDown:function(W){var J,X=W.target;X!==((J=M.current)===null||J===void 0?void 0:J.inputElement)&&W.preventDefault(),$==null||$(W)}}),F)}var EM=a.forwardRef(wM);function IM(e,t){var r=MC(e),n=ie(r,6),o=n[0],i=n[1],l=n[2],s=n[3],c=n[4],u=n[5],d=o,f=d.prefixCls,m=d.styles,g=d.classNames,v=d.order,h=d.defaultValue,p=d.value,C=d.needConfirm,b=d.onChange,y=d.onKeyDown,S=d.disabled,x=d.disabledDate,$=d.minDate,w=d.maxDate,I=d.defaultOpen,E=d.open,O=d.onOpenChange,N=d.locale,P=d.generateConfig,R=d.picker,M=d.showNow,D=d.showToday,L=d.showTime,T=d.mode,_=d.onPanelChange,j=d.onCalendarChange,H=d.onOk,k=d.multiple,V=d.defaultPickerValue,F=d.pickerValue,q=d.onPickerValueChange,W=d.inputReadOnly,J=d.suffixIcon,X=d.removeIcon,Z=d.onFocus,ee=d.onBlur,ne=d.presets,Y=d.components,te=d.cellRender,Q=d.dateRender,U=d.monthCellRender,ae=d.onClick,se=TC(t);function oe(vt){return vt===null?null:k?vt:vt[0]}var re=FC(P,N,i),ce=RC(E,I,[S],O),ue=ie(ce,2),fe=ue[0],be=ue[1],de=function(ht,Yt,on){if(j){var xn=K({},on);delete xn.range,j(oe(ht),oe(Yt),xn)}},he=function(ht){H==null||H(oe(ht))},Se=zC(P,N,s,!1,v,h,p,de,he),$e=ie(Se,5),Ne=$e[0],xe=$e[1],Me=$e[2],Ee=$e[3],Te=$e[4],Re=Me(),Pe=DC([S]),me=ie(Pe,4),Ce=me[0],pe=me[1],ge=me[2],Ie=me[3],nt=function(ht){pe(!0),Z==null||Z(ht,{})},Ve=function(ht){pe(!1),ee==null||ee(ht,{})},Ze=Ot(R,{value:T}),De=ie(Ze,2),Ke=De[0],Qe=De[1],ot=Ke==="date"&&L?"datetime":Ke,Xe=AC(R,Ke,M,D),We=b&&function(vt,ht){b(oe(vt),oe(ht))},He=BC(K(K({},o),{},{onChange:We}),Ne,xe,Me,Ee,[],s,Ce,fe,u),at=ie(He,2),Le=at[1],Ue=SC(Re,u),_e=ie(Ue,2),Be=_e[0],Je=_e[1],dt=a.useMemo(function(){return Be.some(function(vt){return vt})},[Be]),it=function(ht,Yt){if(q){var on=K(K({},Yt),{},{mode:Yt.mode[0]});delete on.range,q(ht[0],on)}},qe=_C(P,N,Re,[Ke],fe,Ie,i,!1,V,F,ba(L==null?void 0:L.defaultOpenValue),it,$,w),Ae=ie(qe,2),Ge=Ae[0],Ye=Ae[1],tt=$t(function(vt,ht,Yt){if(Qe(ht),_&&Yt!==!1){var on=vt||Re[Re.length-1];_(on,ht)}}),mt=function(){Le(Me()),be(!1,{force:!0})},lt=function(ht){!S&&!se.current.nativeElement.contains(document.activeElement)&&se.current.focus(),be(!0),ae==null||ae(ht)},ft=function(){Le(null),be(!1,{force:!0})},gt=a.useState(null),et=ie(gt,2),rt=et[0],Fe=et[1],je=a.useState(null),st=ie(je,2),Ct=st[0],Nt=st[1],Vt=a.useMemo(function(){var vt=[Ct].concat(ye(Re)).filter(function(ht){return ht});return k?vt:vt.slice(0,1)},[Re,Ct,k]),Kt=a.useMemo(function(){return!k&&Ct?[Ct]:Re.filter(function(vt){return vt})},[Re,Ct,k]);a.useEffect(function(){fe||Nt(null)},[fe]);var qt=LC(ne),Gt=function(ht){Nt(ht),Fe("preset")},pt=function(ht){var Yt=k?re(Me(),ht):[ht],on=Le(Yt);on&&!k&&be(!1,{force:!0})},St=function(ht){pt(ht)},It=function(ht){Nt(ht),Fe("cell")},rn=function(ht){be(!0),nt(ht)},gn=function(ht){ge("panel");var Yt=k?re(Me(),ht):[ht];Ee(Yt),!C&&!l&&i===ot&&mt()},Sn=function(){be(!1)},Cn=V1(te,Q,U),Wn=a.useMemo(function(){var vt=en(o,!1),ht=Xt(o,[].concat(ye(Object.keys(vt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return K(K({},ht),{},{multiple:o.multiple})},[o]),Bn=a.createElement(WC,ve({},Wn,{showNow:Xe,showTime:L,disabledDate:x,onFocus:rn,onBlur:Ve,picker:R,mode:Ke,internalMode:ot,onPanelChange:tt,format:c,value:Re,isInvalid:u,onChange:null,onSelect:gn,pickerValue:Ge,defaultOpenValue:L==null?void 0:L.defaultOpenValue,onPickerValueChange:Ye,hoverValue:Vt,onHover:It,needConfirm:C,onSubmit:mt,onOk:Te,presets:qt,onPresetHover:Gt,onPresetSubmit:pt,onNow:St,cellRender:Cn})),vn=function(ht){Ee(ht)},At=function(){ge("input")},Tt=function(ht){ge("input"),be(!0,{inherit:!0}),nt(ht)},Bt=function(ht){be(!1),Ve(ht)},Lt=function(ht,Yt){ht.key==="Tab"&&mt(),y==null||y(ht,Yt)},Dt=a.useMemo(function(){return{prefixCls:f,locale:N,generateConfig:P,button:Y.button,input:Y.input}},[f,N,P,Y.button,Y.input]);return _t(function(){fe&&Ie!==void 0&&tt(null,R,!1)},[fe,Ie,R]),_t(function(){var vt=ge();!fe&&vt==="input"&&(be(!1),mt()),!fe&&l&&!C&&vt==="panel"&&(be(!0),mt())},[fe]),a.createElement(Ar.Provider,{value:Dt},a.createElement(hC,ve({},yC(o),{popupElement:Bn,popupStyle:m.popup,popupClassName:g.popup,visible:fe,onClose:Sn}),a.createElement(EM,ve({},o,{ref:se,suffixIcon:J,removeIcon:X,activeHelp:!!Ct,allHelp:!!Ct&&rt==="preset",focused:Ce,onFocus:Tt,onBlur:Bt,onKeyDown:Lt,onSubmit:mt,value:Kt,maskFormat:c,onChange:vn,onInputChange:At,internalPicker:i,format:s,inputReadOnly:W,disabled:S,open:fe,onOpenChange:be,onClick:lt,onClear:ft,invalid:dt,onInvalid:function(ht){Je(ht,0)}}))))}var OM=a.forwardRef(IM);const GC=a.createContext(null),PM=GC.Provider,XC=a.createContext(null),NM=XC.Provider;var MM=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],UC=a.forwardRef(function(e,t){var r=e.prefixCls,n=r===void 0?"rc-checkbox":r,o=e.className,i=e.style,l=e.checked,s=e.disabled,c=e.defaultChecked,u=c===void 0?!1:c,d=e.type,f=d===void 0?"checkbox":d,m=e.title,g=e.onChange,v=ut(e,MM),h=a.useRef(null),p=a.useRef(null),C=Ot(u,{value:l}),b=ie(C,2),y=b[0],S=b[1];a.useImperativeHandle(t,function(){return{focus:function(I){var E;(E=h.current)===null||E===void 0||E.focus(I)},blur:function(){var I;(I=h.current)===null||I===void 0||I.blur()},input:h.current,nativeElement:p.current}});var x=G(n,o,A(A({},"".concat(n,"-checked"),y),"".concat(n,"-disabled"),s)),$=function(I){s||("checked"in e||S(I.target.checked),g==null||g({target:K(K({},e),{},{type:f,checked:I.target.checked}),stopPropagation:function(){I.stopPropagation()},preventDefault:function(){I.preventDefault()},nativeEvent:I.nativeEvent}))};return a.createElement("span",{className:x,title:m,style:i,ref:p},a.createElement("input",ve({},v,{className:"".concat(n,"-input"),ref:h,onChange:$,disabled:s,checked:!!y,type:f})),a.createElement("span",{className:"".concat(n,"-inner")}))});const RM=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-group`;return{[n]:Object.assign(Object.assign({},Pt(e)),{display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`${r}-badge ${r}-badge-count`]:{zIndex:1},[`> ${r}-badge:not(:first-child) > ${r}-button-wrapper`]:{borderInlineStart:"none"}})}},TM=e=>{const{componentCls:t,wrapperMarginInlineEnd:r,colorPrimary:n,radioSize:o,motionDurationSlow:i,motionDurationMid:l,motionEaseInOutCirc:s,colorBgContainer:c,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:m,paddingXS:g,dotColorDisabled:v,lineType:h,radioColor:p,radioBgColor:C,calc:b}=e,y=`${t}-inner`,x=b(o).sub(b(4).mul(2)),$=b(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},Pt(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:r,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${B(d)} ${h} ${n}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${y}`]:{borderColor:n},[`${t}-input:focus-visible + ${y}`]:Object.assign({},_o(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:$,height:$,marginBlockStart:b(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:p,borderBlockStart:0,borderInlineStart:0,borderRadius:$,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:$,height:$,backgroundColor:c,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${l}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[y]:{borderColor:n,backgroundColor:C,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:v}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[y]:{"&::after":{transform:`scale(${b(x).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}})}},LM=e=>{const{buttonColor:t,controlHeight:r,componentCls:n,lineWidth:o,lineType:i,colorBorder:l,motionDurationSlow:s,motionDurationMid:c,buttonPaddingInline:u,fontSize:d,buttonBg:f,fontSizeLG:m,controlHeightLG:g,controlHeightSM:v,paddingXS:h,borderRadius:p,borderRadiusSM:C,borderRadiusLG:b,buttonCheckedBg:y,buttonSolidCheckedColor:S,colorTextDisabled:x,colorBgContainerDisabled:$,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:I,colorPrimary:E,colorPrimaryHover:O,colorPrimaryActive:N,buttonSolidCheckedBg:P,buttonSolidCheckedHoverBg:R,buttonSolidCheckedActiveBg:M,calc:D}=e;return{[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:r,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:B(D(r).sub(D(o).mul(2)).equal()),background:f,border:`${B(o)} ${i} ${l}`,borderBlockStartWidth:D(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:D(o).mul(-1).equal(),insetInlineStart:D(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:l,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${B(o)} ${i} ${l}`,borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p},"&:first-child:last-child":{borderRadius:p},[`${n}-group-large &`]:{height:g,fontSize:m,lineHeight:B(D(g).sub(D(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${n}-group-small &`]:{height:v,paddingInline:D(h).sub(o).equal(),paddingBlock:0,lineHeight:B(D(v).sub(D(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:C,borderEndStartRadius:C},"&:last-child":{borderStartEndRadius:C,borderEndEndRadius:C}},"&:hover":{position:"relative",color:E},"&:has(:focus-visible)":Object.assign({},_o(e)),[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:E,background:y,borderColor:E,"&::before":{backgroundColor:E},"&:first-child":{borderColor:E},"&:hover":{color:O,borderColor:O,"&::before":{backgroundColor:O}},"&:active":{color:N,borderColor:N,"&::before":{backgroundColor:N}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:S,background:P,borderColor:P,"&:hover":{color:S,background:R,borderColor:R},"&:active":{color:S,background:M,borderColor:M}},"&-disabled":{color:x,backgroundColor:$,borderColor:l,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:$,borderColor:l}},[`&-disabled${n}-button-wrapper-checked`]:{color:I,backgroundColor:w,borderColor:l,boxShadow:"none"}}}},DM=e=>{const{wireframe:t,padding:r,marginXS:n,lineWidth:o,fontSizeLG:i,colorText:l,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:f,colorPrimaryHover:m,colorPrimaryActive:g,colorWhite:v}=e,h=4,p=i,C=t?p-h*2:p-(h+o)*2;return{radioSize:p,dotSize:C,dotColorDisabled:c,buttonSolidCheckedColor:d,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:m,buttonSolidCheckedActiveBg:g,buttonBg:s,buttonCheckedBg:s,buttonColor:l,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:c,buttonPaddingInline:r-o,wrapperMarginInlineEnd:n,radioColor:t?f:v,radioBgColor:t?s:f}},YC=Et("Radio",e=>{const{controlOutline:t,controlOutlineWidth:r}=e,n=`0 0 0 ${B(r)} ${t}`,i=xt(e,{radioFocusShadow:n,radioButtonFocusShadow:n});return[RM(i),TM(i),LM(i)]},DM,{unitless:{radioSize:!0,dotSize:!0}});var _M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const o=a.useContext(GC),i=a.useContext(XC),{getPrefixCls:l,direction:s,radio:c}=a.useContext(ke),u=a.useRef(null),d=yn(t,u),{isFormItemInput:f}=a.useContext(dn),m=M=>{var D,L;(D=e.onChange)===null||D===void 0||D.call(e,M),(L=o==null?void 0:o.onChange)===null||L===void 0||L.call(o,M)},{prefixCls:g,className:v,rootClassName:h,children:p,style:C,title:b}=e,y=_M(e,["prefixCls","className","rootClassName","children","style","title"]),S=l("radio",g),x=((o==null?void 0:o.optionType)||i)==="button",$=x?`${S}-button`:S,w=Ut(S),[I,E,O]=YC(S,w),N=Object.assign({},y),P=a.useContext(Hn);o&&(N.name=o.name,N.onChange=m,N.checked=e.value===o.value,N.disabled=(r=N.disabled)!==null&&r!==void 0?r:o.disabled),N.disabled=(n=N.disabled)!==null&&n!==void 0?n:P;const R=G(`${$}-wrapper`,{[`${$}-wrapper-checked`]:N.checked,[`${$}-wrapper-disabled`]:N.disabled,[`${$}-wrapper-rtl`]:s==="rtl",[`${$}-wrapper-in-form-item`]:f},c==null?void 0:c.className,v,h,E,O,w);return I(a.createElement(ul,{component:"Radio",disabled:N.disabled},a.createElement("label",{className:R,style:Object.assign(Object.assign({},c==null?void 0:c.style),C),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b},a.createElement(UC,Object.assign({},N,{className:G(N.className,{[ic]:!x}),type:"radio",prefixCls:$,ref:d})),p!==void 0?a.createElement("span",null,p):null)))},jM=a.forwardRef(kM),ks=jM,HM=a.forwardRef((e,t)=>{const{getPrefixCls:r,direction:n}=a.useContext(ke),{prefixCls:o,className:i,rootClassName:l,options:s,buttonStyle:c="outline",disabled:u,children:d,size:f,style:m,id:g,optionType:v,name:h,defaultValue:p,value:C,onChange:b,onMouseEnter:y,onMouseLeave:S,onFocus:x,onBlur:$}=e,[w,I]=Ot(p,{value:C}),E=a.useCallback(H=>{const k=w,V=H.target.value;"value"in e||I(V),V!==k&&(b==null||b(H))},[w,I,b]),O=r("radio",o),N=`${O}-group`,P=Ut(O),[R,M,D]=YC(O,P);let L=d;s&&s.length>0&&(L=s.map(H=>typeof H=="string"||typeof H=="number"?a.createElement(ks,{key:H.toString(),prefixCls:O,disabled:u,value:H,checked:w===H},H):a.createElement(ks,{key:`radio-group-value-options-${H.value}`,prefixCls:O,disabled:H.disabled||u,value:H.value,checked:w===H.value,title:H.title,style:H.style,id:H.id,required:H.required},H.label)));const T=un(f),_=G(N,`${N}-${c}`,{[`${N}-${T}`]:T,[`${N}-rtl`]:n==="rtl"},i,l,M,D,P),j=a.useMemo(()=>({onChange:E,value:w,disabled:u,name:h,optionType:v}),[E,w,u,h,v]);return R(a.createElement("div",Object.assign({},en(e,{aria:!0,data:!0}),{className:_,style:m,onMouseEnter:y,onMouseLeave:S,onFocus:x,onBlur:$,id:g,ref:t}),a.createElement(PM,{value:j},L)))}),ZC=a.memo(HM);var zM=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:r}=a.useContext(ke),{prefixCls:n}=e,o=zM(e,["prefixCls"]),i=r("radio",n);return a.createElement(NM,{value:"button"},a.createElement(ks,Object.assign({prefixCls:i},o,{type:"radio",ref:t})))},pf=a.forwardRef(BM),jc=ks;jc.Button=pf;jc.Group=ZC;jc.__ANT_RADIO=!0;const $l=jc,AM=10,FM=20;function VM(e){const{fullscreen:t,validRange:r,generateConfig:n,locale:o,prefixCls:i,value:l,onChange:s,divRef:c}=e,u=n.getYear(l||n.getNow());let d=u-AM,f=d+FM;r&&(d=n.getYear(r[0]),f=n.getYear(r[1])+1);const m=o&&o.year==="年"?"年":"",g=[];for(let v=d;v{let h=n.setYear(l,v);if(r){const[p,C]=r,b=n.getYear(h),y=n.getMonth(h);b===n.getYear(C)&&y>n.getMonth(C)&&(h=n.setMonth(h,n.getMonth(C))),b===n.getYear(p)&&yc.current})}function WM(e){const{prefixCls:t,fullscreen:r,validRange:n,value:o,generateConfig:i,locale:l,onChange:s,divRef:c}=e,u=i.getMonth(o||i.getNow());let d=0,f=11;if(n){const[v,h]=n,p=i.getYear(o);i.getYear(h)===p&&(f=i.getMonth(h)),i.getYear(v)===p&&(d=i.getMonth(v))}const m=l.shortMonths||i.locale.getShortMonths(l.locale),g=[];for(let v=d;v<=f;v+=1)g.push({label:m[v],value:v});return a.createElement(jn,{size:r?void 0:"small",className:`${t}-month-select`,value:u,options:g,onChange:v=>{s(i.setMonth(o,v))},getPopupContainer:()=>c.current})}function KM(e){const{prefixCls:t,locale:r,mode:n,fullscreen:o,onModeChange:i}=e;return a.createElement(ZC,{onChange:l=>{let{target:{value:s}}=l;i(s)},value:n,size:o?void 0:"small",className:`${t}-mode-switch`},a.createElement(pf,{value:"month"},r.month),a.createElement(pf,{value:"year"},r.year))}function qM(e){const{prefixCls:t,fullscreen:r,mode:n,onChange:o,onModeChange:i}=e,l=a.useRef(null),s=a.useContext(dn),c=a.useMemo(()=>Object.assign(Object.assign({},s),{isFormItemInput:!1}),[s]),u=Object.assign(Object.assign({},e),{fullscreen:r,divRef:l});return a.createElement("div",{className:`${t}-header`,ref:l},a.createElement(dn.Provider,{value:c},a.createElement(VM,Object.assign({},u,{onChange:d=>{o(d,"year")}})),n==="month"&&a.createElement(WM,Object.assign({},u,{onChange:d=>{o(d,"month")}}))),a.createElement(KM,Object.assign({},u,{onModeChange:i})))}function vi(e){return xt(e,{inputAffixPadding:e.paddingXXS})}const pi=e=>{const{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:i,controlHeightLG:l,fontSizeLG:s,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:m,colorPrimaryHover:g,colorPrimary:v,controlOutlineWidth:h,controlOutline:p,colorErrorOutline:C,colorWarningOutline:b,colorBgContainer:y}=e;return{paddingBlock:Math.max(Math.round((t-r*n)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-r*n)/2*10)/10-o,0),paddingBlockLG:Math.ceil((l-s*c)/2*10)/10-o,paddingInline:u-o,paddingInlineSM:d-o,paddingInlineLG:f-o,addonBg:m,activeBorderColor:v,hoverBorderColor:g,activeShadow:`0 0 0 ${h}px ${p}`,errorActiveShadow:`0 0 0 ${h}px ${C}`,warningActiveShadow:`0 0 0 ${h}px ${b}`,hoverBg:y,activeBg:y,inputFontSize:r,inputFontSizeLG:s,inputFontSizeSM:r}},GM=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),wl=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},GM(xt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),X1=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),J0=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},X1(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),Hc=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},X1(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},wl(e))}),J0(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),J0(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),ev=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),QC=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},ev(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),ev(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},wl(e))}})}),zc=(e,t)=>{const{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},JC=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),tv=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},JC(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Bc=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},JC(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},wl(e))}),tv(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),tv(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),nv=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),e3=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},nv(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),nv(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Ac=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),t3=e=>{const{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:o}=e;return{padding:`${B(t)} ${B(o)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:n}},U1=e=>({padding:`${B(e.paddingBlockSM)} ${B(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),ca=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${B(e.paddingBlock)} ${B(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Ac(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},t3(e)),"&-sm":Object.assign({},U1(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),n3=e=>{const{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},t3(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},U1(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${B(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${B(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${B(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${B(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${r}-select-selector`]:{color:e.colorPrimary}}},[`${r}-cascader-picker`]:{margin:`-9px ${B(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Tr()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${r}-picker-range @@ -185,7 +185,7 @@ html body { & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, & > ${r}-select:last-child > ${r}-select-selector, & > ${r}-cascader-picker:last-child ${t}, - & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},XM=e=>{const{componentCls:t,controlHeightSM:r,lineWidth:n,calc:o}=e,l=o(r).sub(o(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),ca(e)),Hc(e)),Bc(e)),zc(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:l,paddingBottom:l}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},UM=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${B(e.inputAffixPadding)}`}}}},YM=e=>{const{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:l,iconCls:s}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},ca(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),UM(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:l}}}),[u]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},ZM=e=>{const{componentCls:t,borderRadiusLG:r,borderRadiusSM:n}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Pt(e)),nC(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}}},Q3(e)),eC(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},QM=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},XM=e=>{const{componentCls:t,controlHeightSM:r,lineWidth:n,calc:o}=e,l=o(r).sub(o(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),ca(e)),Hc(e)),Bc(e)),zc(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:l,paddingBottom:l}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},UM=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${B(e.inputAffixPadding)}`}}}},YM=e=>{const{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:l,iconCls:s}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},ca(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),UM(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:l}}}),[u]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},ZM=e=>{const{componentCls:t,borderRadiusLG:r,borderRadiusSM:n}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Pt(e)),n3(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}}},QC(e)),e3(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},QM=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, > ${t}, ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},JM=e=>{const{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${t}, @@ -195,13 +195,13 @@ html body { &-in-view${t}-range-start, &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:d}},[`&-in-view${t}-selected, &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${r}`]:{color:f,background:u},[`&${t}-disabled ${r}`]:{background:v}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${r}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:m,pointerEvents:"none",[r]:{background:"transparent"},"&::before":{background:g}},[`&-disabled${t}-today ${r}::before`]:{borderColor:m}}},rC=e=>{const{componentCls:t,pickerCellCls:r,pickerCellInnerCls:n,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:l,paddingSM:s,paddingXS:c,paddingXXS:u,colorBgContainer:d,lineWidth:f,lineType:m,borderRadiusLG:g,colorPrimary:v,colorTextHeading:h,colorSplit:p,pickerControlIconBorderWidth:C,colorIcon:b,textHeight:y,motionDurationMid:S,colorIconHover:x,fontWeightStrong:$,cellHeight:w,pickerCellPaddingVertical:I,colorTextDisabled:E,colorText:O,fontSize:N,motionDurationSlow:P,withoutTimeCellHeight:R,pickerQuarterPanelContentHeight:M,borderRadiusSM:D,colorTextLightSolid:L,cellHoverBg:T,timeColumnHeight:_,timeColumnWidth:j,timeCellHeight:H,controlItemBgActive:k,marginXXS:V,pickerDatePanelPaddingHorizontal:F,pickerControlIconMargin:q}=e,W=e.calc(l).mul(7).add(e.calc(F).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:g,outline:"none","&-focused":{borderColor:v},"&-rtl":{[`${t}-prev-icon, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${r}`]:{color:f,background:u},[`&${t}-disabled ${r}`]:{background:v}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${r}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:m,pointerEvents:"none",[r]:{background:"transparent"},"&::before":{background:g}},[`&-disabled${t}-today ${r}::before`]:{borderColor:m}}},r3=e=>{const{componentCls:t,pickerCellCls:r,pickerCellInnerCls:n,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:l,paddingSM:s,paddingXS:c,paddingXXS:u,colorBgContainer:d,lineWidth:f,lineType:m,borderRadiusLG:g,colorPrimary:v,colorTextHeading:h,colorSplit:p,pickerControlIconBorderWidth:C,colorIcon:b,textHeight:y,motionDurationMid:S,colorIconHover:x,fontWeightStrong:$,cellHeight:w,pickerCellPaddingVertical:I,colorTextDisabled:E,colorText:O,fontSize:N,motionDurationSlow:P,withoutTimeCellHeight:R,pickerQuarterPanelContentHeight:M,borderRadiusSM:D,colorTextLightSolid:L,cellHoverBg:T,timeColumnHeight:_,timeColumnWidth:j,timeCellHeight:H,controlItemBgActive:k,marginXXS:V,pickerDatePanelPaddingHorizontal:F,pickerControlIconMargin:q}=e,W=e.calc(l).mul(7).add(e.calc(F).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:g,outline:"none","&-focused":{borderColor:v},"&-rtl":{[`${t}-prev-icon, ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:W},"&-header":{display:"flex",padding:`0 ${B(c)}`,color:h,borderBottom:`${B(f)} ${m} ${p}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:B(y),background:"transparent",border:0,cursor:"pointer",transition:`color ${S}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:N,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:$,lineHeight:B(y),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:v}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${B(C)} 0`,borderInlineWidth:`${B(C)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:q,insetInlineStart:q,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${B(C)} 0`,borderInlineWidth:`${B(C)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(I).mul(2)).equal(),color:O,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${B(I)} 0`,color:E,cursor:"pointer","&-in-view":{color:O}},nR(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(R).mul(4).equal()},[n]:{padding:`0 ${B(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:M}},"&-decade-panel":{[n]:{padding:`0 ${B(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${B(c)}`},[n]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${B(c)} ${B(F)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${n}, &-selected ${n}, ${n}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${S}`},"&:first-child:before":{borderStartStartRadius:D,borderEndStartRadius:D},"&:last-child:before":{borderStartEndRadius:D,borderEndEndRadius:D}},"&:hover td":{"&:before":{background:T}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${r}`]:{"&:before":{background:v},[`&${t}-cell-week`]:{color:new Qt(L).setAlpha(.5).toHexString()},[n]:{color:L}}},"&-range-hover td:before":{background:k}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${B(c)} ${B(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${B(f)} ${m} ${p}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${P}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:_},"&-column":{flex:"1 0 auto",width:j,margin:`${B(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${S}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(H).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${B(f)} ${m} ${p}`},"&-active":{background:new Qt(k).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:V,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(j).sub(e.calc(V).mul(2)).equal(),height:H,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(j).sub(H).div(2).equal(),color:O,lineHeight:B(H),borderRadius:D,cursor:"pointer",transition:`background ${S}`,"&:hover":{background:T}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:k}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:E,background:"transparent",cursor:"not-allowed"}}}}}}}}},rR=e=>{const{componentCls:t,textHeight:r,lineWidth:n,paddingSM:o,antCls:i,colorPrimary:l,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${B(n)} ${u} ${d}`,"&-extra":{padding:`0 ${B(o)}`,lineHeight:B(e.calc(r).sub(e.calc(n).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${B(n)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:B(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:B(e.calc(r).sub(e.calc(n).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:l,background:s,borderColor:c,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(n).mul(2).equal(),marginInlineStart:"auto"}}}}},oC=e=>{const{componentCls:t,controlHeightLG:r,paddingXXS:n,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(r).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(r).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(n).add(e.calc(n).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(n).div(2)).equal()}},aC=e=>{const{colorBgContainerDisabled:t,controlHeight:r,controlHeightSM:n,controlHeightLG:o,paddingXXS:i,lineWidth:l}=e,s=i*2,c=l*2,u=Math.min(r-s,r-c),d=Math.min(n-s,n-c),f=Math.min(o-s,o-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Qt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Qt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:o*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:o,withoutTimeCellHeight:o*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:d,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},oR=e=>Object.assign(Object.assign(Object.assign(Object.assign({},pi(e)),aC(e)),bl(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),aR=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},Hc(e)),Bc(e)),zc(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},Vu=(e,t,r,n)=>{const o=e.calc(r).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),l=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${B(i)} ${B(n)} ${B(l)}`}},iR=e=>{const{componentCls:t,colorError:r,colorWarning:n}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:r}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:n}}}}},lR=e=>{const{componentCls:t,antCls:r,controlHeight:n,paddingInline:o,lineWidth:i,lineType:l,colorBorder:s,borderRadius:c,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:f,controlHeightLG:m,fontSizeLG:g,controlHeightSM:v,paddingInlineSM:h,paddingXS:p,marginXS:C,colorTextDescription:b,lineWidthBold:y,colorPrimary:S,motionDurationSlow:x,zIndexPopup:$,paddingXXS:w,sizePopupArrow:I,colorBgElevated:E,borderRadiusLG:O,boxShadowSecondary:N,borderRadiusSM:P,colorSplit:R,cellHoverBg:M,presetsWidth:D,presetsMaxWidth:L,boxShadowPopoverArrow:T,fontHeight:_,fontHeightLG:j,lineHeightLG:H}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},Pt(e)),Vu(e,n,_,o)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},Ac(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:d,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},Vu(e,m,j,o)),{[`${t}-input > input`]:{fontSize:g,lineHeight:H}}),"&-small":Object.assign({},Vu(e,v,_,h)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(p).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:C}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:d,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:g,color:d,fontSize:g,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:y,background:S,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${B(p)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:o},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:h}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},Pt(e)),rC(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:$,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:_},"&-column":{flex:"1 0 auto",width:j,margin:`${B(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${S}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(H).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${B(f)} ${m} ${p}`},"&-active":{background:new Qt(k).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:V,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(j).sub(e.calc(V).mul(2)).equal(),height:H,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(j).sub(H).div(2).equal(),color:O,lineHeight:B(H),borderRadius:D,cursor:"pointer",transition:`background ${S}`,"&:hover":{background:T}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:k}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:E,background:"transparent",cursor:"not-allowed"}}}}}}}}},rR=e=>{const{componentCls:t,textHeight:r,lineWidth:n,paddingSM:o,antCls:i,colorPrimary:l,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${B(n)} ${u} ${d}`,"&-extra":{padding:`0 ${B(o)}`,lineHeight:B(e.calc(r).sub(e.calc(n).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${B(n)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:B(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:B(e.calc(r).sub(e.calc(n).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:l,background:s,borderColor:c,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(n).mul(2).equal(),marginInlineStart:"auto"}}}}},o3=e=>{const{componentCls:t,controlHeightLG:r,paddingXXS:n,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(r).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(r).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(n).add(e.calc(n).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(n).div(2)).equal()}},a3=e=>{const{colorBgContainerDisabled:t,controlHeight:r,controlHeightSM:n,controlHeightLG:o,paddingXXS:i,lineWidth:l}=e,s=i*2,c=l*2,u=Math.min(r-s,r-c),d=Math.min(n-s,n-c),f=Math.min(o-s,o-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Qt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Qt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:o*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:o,withoutTimeCellHeight:o*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:d,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},oR=e=>Object.assign(Object.assign(Object.assign(Object.assign({},pi(e)),a3(e)),bl(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),aR=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},Hc(e)),Bc(e)),zc(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},Vu=(e,t,r,n)=>{const o=e.calc(r).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),l=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${B(i)} ${B(n)} ${B(l)}`}},iR=e=>{const{componentCls:t,colorError:r,colorWarning:n}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:r}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:n}}}}},lR=e=>{const{componentCls:t,antCls:r,controlHeight:n,paddingInline:o,lineWidth:i,lineType:l,colorBorder:s,borderRadius:c,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:f,controlHeightLG:m,fontSizeLG:g,controlHeightSM:v,paddingInlineSM:h,paddingXS:p,marginXS:C,colorTextDescription:b,lineWidthBold:y,colorPrimary:S,motionDurationSlow:x,zIndexPopup:$,paddingXXS:w,sizePopupArrow:I,colorBgElevated:E,borderRadiusLG:O,boxShadowSecondary:N,borderRadiusSM:P,colorSplit:R,cellHoverBg:M,presetsWidth:D,presetsMaxWidth:L,boxShadowPopoverArrow:T,fontHeight:_,fontHeightLG:j,lineHeightLG:H}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},Pt(e)),Vu(e,n,_,o)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},Ac(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:d,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},Vu(e,m,j,o)),{[`${t}-input > input`]:{fontSize:g,lineHeight:H}}),"&-small":Object.assign({},Vu(e,v,_,h)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(p).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:C}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:d,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:g,color:d,fontSize:g,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:y,background:S,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${B(p)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:o},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:h}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},Pt(e)),r3(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:$,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${r}-slide-up-enter${r}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${r}-slide-up-enter${r}-slide-up-enter-active${t}-dropdown-placement-topRight, @@ -211,9 +211,9 @@ html body { &${r}-slide-up-appear${r}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, &${r}-slide-up-appear${r}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:fc},[`&${r}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-topLeft, &${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:vc},[`&${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:mc},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${x} ease-out`},T5(e,E,T)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:E,borderRadius:O,boxShadow:N,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:D,maxWidth:L,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:p,borderInlineEnd:`${B(i)} ${l} ${R}`,li:Object.assign(Object.assign({},Mn),{borderRadius:P,paddingInline:p,paddingBlock:e.calc(v).sub(_).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:C},"&:hover":{background:M}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${B(e.calc(I).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Jr(e,"slide-up"),Jr(e,"slide-down"),Ya(e,"move-up"),Ya(e,"move-down")]},iC=Et("DatePicker",e=>{const t=xt(vi(e),oC(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[rR(t),lR(t),aR(t),iR(t),tR(t),va(e,{focusElCls:`${e.componentCls}-focused`})]},oR),sR=e=>{const{calendarCls:t,componentCls:r,fullBg:n,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},rC(e)),Pt(e)),{background:n,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${B(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${r}-panel`]:{background:o,border:0,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${r}-month-panel, ${r}-date-panel`]:{width:"auto"},[`${r}-body`]:{padding:`${B(e.paddingXS)} 0`},[`${r}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${r}-panel`]:{borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},[`${r}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:B(e.weekHeight)}},[`${r}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${r}-panel`]:{display:"block",width:"100%",textAlign:"end",background:n,border:0,[`${r}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:B(e.weekHeight)}}},[`${r}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${r}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${B(e.calc(e.marginXS).div(2).equal())}`,padding:`${B(e.calc(e.paddingXS).div(2).equal())} ${B(e.paddingXS)} 0`,border:0,borderTop:`${B(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:B(e.dateValueHeight),transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${B(e.screenXS)}) `]:{[t]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${B(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},cR=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},aC(e)),uR=Et("Calendar",e=>{const t=`${e.componentCls}-calendar`,r=xt(e,oC(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[sR(r)]},cR),lC=(e,t,r)=>{const{getYear:n}=r;return e&&t&&n(e)===n(t)},hf=(e,t,r)=>{const{getMonth:n}=r;return lC(e,t,r)&&n(e)===n(t)},rv=(e,t,r)=>{const{getDate:n}=r;return hf(e,t,r)&&n(e)===n(t)},sC=e=>r=>{const{prefixCls:n,className:o,rootClassName:i,style:l,dateFullCellRender:s,dateCellRender:c,monthFullCellRender:u,monthCellRender:d,cellRender:f,fullCellRender:m,headerRender:g,value:v,defaultValue:h,disabledDate:p,mode:C,validRange:b,fullscreen:y=!0,onChange:S,onPanelChange:x,onSelect:$}=r,{getPrefixCls:w,direction:I,calendar:E}=a.useContext(ke),O=w("picker",n),N=`${O}-calendar`,[P,R,M]=uR(O,N),D=e.getNow(),[L,T]=Ot(()=>v||e.getNow(),{defaultValue:h,value:v}),[_,j]=Ot("month",{value:C}),H=a.useMemo(()=>_==="year"?"month":"date",[_]),k=a.useCallback(Y=>(b?e.isAfter(b[0],Y)||e.isAfter(Y,b[1]):!1)||!!(p!=null&&p(Y)),[p,b]),V=(Y,te)=>{x==null||x(Y,te)},F=Y=>{T(Y),rv(Y,L,e)||((H==="date"&&!hf(Y,L,e)||H==="month"&&!lC(Y,L,e))&&V(Y,_),S==null||S(Y))},q=Y=>{j(Y),V(L,Y)},W=(Y,te)=>{F(Y),$==null||$(Y,{source:te})},J=a.useCallback((Y,te)=>m?m(Y,te):s?s(Y):a.createElement("div",{className:G(`${O}-cell-inner`,`${N}-date`,{[`${N}-date-today`]:rv(D,Y,e)})},a.createElement("div",{className:`${N}-date-value`},String(e.getDate(Y)).padStart(2,"0")),a.createElement("div",{className:`${N}-date-content`},f?f(Y,te):c==null?void 0:c(Y))),[s,c,f,m]),X=a.useCallback((Y,te)=>{if(m)return m(Y,te);if(u)return u(Y);const Q=te.locale.shortMonths||e.locale.getShortMonths(te.locale.locale);return a.createElement("div",{className:G(`${O}-cell-inner`,`${N}-date`,{[`${N}-date-today`]:hf(D,Y,e)})},a.createElement("div",{className:`${N}-date-value`},Q[e.getMonth(Y)]),a.createElement("div",{className:`${N}-date-content`},f?f(Y,te):d==null?void 0:d(Y)))},[u,d,f,m]),[Z]=Ln("Calendar",qf),ee=Object.assign(Object.assign({},Z),r.locale),ne=(Y,te)=>{if(te.type==="date")return J(Y,te);if(te.type==="month")return X(Y,Object.assign(Object.assign({},te),{locale:ee==null?void 0:ee.lang}))};return P(a.createElement("div",{className:G(N,{[`${N}-full`]:y,[`${N}-mini`]:!y,[`${N}-rtl`]:I==="rtl"},E==null?void 0:E.className,o,i,R,M),style:Object.assign(Object.assign({},E==null?void 0:E.style),l)},g?g({value:L,type:_,onChange:Y=>{W(Y,"customize")},onTypeChange:q}):a.createElement(qM,{prefixCls:N,value:L,generateConfig:e,mode:_,fullscreen:y,locale:ee==null?void 0:ee.lang,validRange:b,onChange:W,onModeChange:q}),a.createElement(hs,{value:L,prefixCls:O,locale:ee==null?void 0:ee.lang,generateConfig:e,cellRender:ne,onSelect:Y=>{W(Y,H)},mode:H,picker:H,disabledDate:k,hideHeader:!0})))},Z1=sC(v3);Z1.generateCalendar=sC;var dR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const fR=dR;var mR=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:fR}))},gR=a.forwardRef(mR);const vR=gR,Fc=a.createContext(null);var pR=function(t){var r=t.activeTabOffset,n=t.horizontal,o=t.rtl,i=t.indicator,l=i===void 0?{}:i,s=l.size,c=l.align,u=c===void 0?"center":c,d=a.useState(),f=ie(d,2),m=f[0],g=f[1],v=a.useRef(),h=z.useCallback(function(C){return typeof s=="function"?s(C):typeof s=="number"?s:C},[s]);function p(){kt.cancel(v.current)}return a.useEffect(function(){var C={};if(r)if(n){C.width=h(r.width);var b=o?"right":"left";u==="start"&&(C[b]=r[b]),u==="center"&&(C[b]=r[b]+r.width/2,C.transform=o?"translateX(50%)":"translateX(-50%)"),u==="end"&&(C[b]=r[b]+r.width,C.transform="translateX(-100%)")}else C.height=h(r.height),u==="start"&&(C.top=r.top),u==="center"&&(C.top=r.top+r.height/2,C.transform="translateY(-50%)"),u==="end"&&(C.top=r.top+r.height,C.transform="translateY(-100%)");return p(),v.current=kt(function(){g(C)}),p},[r,n,o,u,h]),{style:m}},ov={width:0,height:0,left:0,top:0};function hR(e,t,r){return a.useMemo(function(){for(var n,o=new Map,i=t.get((n=e[0])===null||n===void 0?void 0:n.key)||ov,l=i.left+i.width,s=0;sM?(P=O,$.current="x"):(P=N,$.current="y"),t(-P,-P)&&E.preventDefault()}var I=a.useRef(null);I.current={onTouchStart:y,onTouchMove:S,onTouchEnd:x,onWheel:w},a.useEffect(function(){function E(R){I.current.onTouchStart(R)}function O(R){I.current.onTouchMove(R)}function N(R){I.current.onTouchEnd(R)}function P(R){I.current.onWheel(R)}return document.addEventListener("touchmove",O,{passive:!1}),document.addEventListener("touchend",N,{passive:!0}),e.current.addEventListener("touchstart",E,{passive:!0}),e.current.addEventListener("wheel",P,{passive:!1}),function(){document.removeEventListener("touchmove",O),document.removeEventListener("touchend",N)}},[])}function cC(e){var t=a.useState(0),r=ie(t,2),n=r[0],o=r[1],i=a.useRef(0),l=a.useRef();return l.current=e,na(function(){var s;(s=l.current)===null||s===void 0||s.call(l)},[n]),function(){i.current===n&&(i.current+=1,o(i.current))}}function yR(e){var t=a.useRef([]),r=a.useState({}),n=ie(r,2),o=n[1],i=a.useRef(typeof e=="function"?e():e),l=cC(function(){var c=i.current;t.current.forEach(function(u){c=u(c)}),t.current=[],i.current=c,o({})});function s(c){t.current.push(c),l()}return[i.current,s]}var sv={width:0,height:0,left:0,top:0,right:0};function SR(e,t,r,n,o,i,l){var s=l.tabs,c=l.tabPosition,u=l.rtl,d,f,m;return["top","bottom"].includes(c)?(d="width",f=u?"right":"left",m=Math.abs(r)):(d="height",f="top",m=-r),a.useMemo(function(){if(!s.length)return[0,0];for(var g=s.length,v=g,h=0;hm+t){v=h-1;break}}for(var C=0,b=g-1;b>=0;b-=1){var y=e.get(s[b].key)||sv;if(y[f]=v?[0,0]:[C,v]},[e,t,n,o,i,m,c,s.map(function(g){return g.key}).join("_"),u])}function cv(e){var t;return e instanceof Map?(t={},e.forEach(function(r,n){t[n]=r})):t=e,JSON.stringify(t)}var xR="TABS_DQ";function uC(e){return String(e).replace(/"/g,xR)}function dC(e,t,r,n){return!(!r||n||e===!1||e===void 0&&(t===!1||t===null))}var fC=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.editable,o=e.locale,i=e.style;return!n||n.showAdd===!1?null:a.createElement("button",{ref:t,type:"button",className:"".concat(r,"-nav-add"),style:i,"aria-label":(o==null?void 0:o.addAriaLabel)||"Add tab",onClick:function(s){n.onEdit("add",{event:s})}},n.addIcon||"+")}),uv=a.forwardRef(function(e,t){var r=e.position,n=e.prefixCls,o=e.extra;if(!o)return null;var i,l={};return bt(o)==="object"&&!a.isValidElement(o)?l=o:l.right=o,r==="right"&&(i=l.right),r==="left"&&(i=l.left),i?a.createElement("div",{className:"".concat(n,"-extra-content"),ref:t},i):null}),$R=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.id,o=e.tabs,i=e.locale,l=e.mobile,s=e.more,c=s===void 0?{}:s,u=e.style,d=e.className,f=e.editable,m=e.tabBarGutter,g=e.rtl,v=e.removeAriaLabel,h=e.onTabClick,p=e.getPopupContainer,C=e.popupClassName,b=a.useState(!1),y=ie(b,2),S=y[0],x=y[1],$=a.useState(null),w=ie($,2),I=w[0],E=w[1],O=c.icon,N=O===void 0?"More":O,P="".concat(n,"-more-popup"),R="".concat(r,"-dropdown"),M=I!==null?"".concat(P,"-").concat(I):null,D=i==null?void 0:i.dropdownAriaLabel;function L(F,q){F.preventDefault(),F.stopPropagation(),f.onEdit("remove",{key:q,event:F})}var T=a.createElement(Ca,{onClick:function(q){var W=q.key,J=q.domEvent;h(W,J),x(!1)},prefixCls:"".concat(R,"-menu"),id:P,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[I],"aria-label":D!==void 0?D:"expanded dropdown"},o.map(function(F){var q=F.closable,W=F.disabled,J=F.closeIcon,X=F.key,Z=F.label,ee=dC(q,J,f,W);return a.createElement(la,{key:X,id:"".concat(P,"-").concat(X),role:"option","aria-controls":n&&"".concat(n,"-panel-").concat(X),disabled:W},a.createElement("span",null,Z),ee&&a.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat(R,"-menu-item-remove"),onClick:function(Y){Y.stopPropagation(),L(Y,X)}},J||f.removeIcon||"×"))}));function _(F){for(var q=o.filter(function(ee){return!ee.disabled}),W=q.findIndex(function(ee){return ee.key===I})||0,J=q.length,X=0;XYe?"left":"right"})}),R=ie(P,2),M=R[0],D=R[1],L=av(0,function(Ge,Ye){!N&&h&&h({direction:Ge>Ye?"top":"bottom"})}),T=ie(L,2),_=T[0],j=T[1],H=a.useState([0,0]),k=ie(H,2),V=k[0],F=k[1],q=a.useState([0,0]),W=ie(q,2),J=W[0],X=W[1],Z=a.useState([0,0]),ee=ie(Z,2),ne=ee[0],Y=ee[1],te=a.useState([0,0]),Q=ie(te,2),U=Q[0],ae=Q[1],se=yR(new Map),oe=ie(se,2),re=oe[0],ce=oe[1],ue=hR(y,re,J[0]),fe=rs(V,N),be=rs(J,N),de=rs(ne,N),he=rs(U,N),Se=feMe?Me:Ge}var Te=a.useRef(null),Re=a.useState(),Pe=ie(Re,2),me=Pe[0],Ce=Pe[1];function pe(){Ce(Date.now())}function ge(){Te.current&&clearTimeout(Te.current)}bR(w,function(Ge,Ye){function tt(mt,lt){mt(function(ft){var gt=Ee(ft+lt);return gt})}return Se?(N?tt(D,Ge):tt(j,Ye),ge(),pe(),!0):!1}),a.useEffect(function(){return ge(),me&&(Te.current=setTimeout(function(){Ce(0)},100)),ge},[me]);var Ie=SR(ue,$e,N?M:_,be,de,he,K(K({},e),{},{tabs:y})),nt=ie(Ie,2),Ve=nt[0],Ze=nt[1],De=$t(function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l,Ye=ue.get(Ge)||{width:0,height:0,left:0,right:0,top:0};if(N){var tt=M;s?Ye.rightM+$e&&(tt=Ye.right+Ye.width-$e):Ye.left<-M?tt=-Ye.left:Ye.left+Ye.width>-M+$e&&(tt=-(Ye.left+Ye.width-$e)),j(0),D(Ee(tt))}else{var mt=_;Ye.top<-_?mt=-Ye.top:Ye.top+Ye.height>-_+$e&&(mt=-(Ye.top+Ye.height-$e)),D(0),j(Ee(mt))}}),Ke={};f==="top"||f==="bottom"?Ke[s?"marginRight":"marginLeft"]=m:Ke.marginTop=m;var Qe=y.map(function(Ge,Ye){var tt=Ge.key;return a.createElement(ER,{id:o,prefixCls:b,key:tt,tab:Ge,style:Ye===0?void 0:Ke,closable:Ge.closable,editable:u,active:tt===l,renderWrapper:g,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(lt){v(tt,lt)},onFocus:function(){De(tt),pe(),w.current&&(s||(w.current.scrollLeft=0),w.current.scrollTop=0)}})}),ot=function(){return ce(function(){var Ye,tt=new Map,mt=(Ye=I.current)===null||Ye===void 0?void 0:Ye.getBoundingClientRect();return y.forEach(function(lt){var ft,gt=lt.key,et=(ft=I.current)===null||ft===void 0?void 0:ft.querySelector('[data-node-key="'.concat(uC(gt),'"]'));if(et){var rt=IR(et,mt),Fe=ie(rt,4),je=Fe[0],st=Fe[1],Ct=Fe[2],Nt=Fe[3];tt.set(gt,{width:je,height:st,left:Ct,top:Nt})}}),tt})};a.useEffect(function(){ot()},[y.map(function(Ge){return Ge.key}).join("_")]);var Xe=cC(function(){var Ge=_a(S),Ye=_a(x),tt=_a($);F([Ge[0]-Ye[0]-tt[0],Ge[1]-Ye[1]-tt[1]]);var mt=_a(O);Y(mt);var lt=_a(E);ae(lt);var ft=_a(I);X([ft[0]-mt[0],ft[1]-mt[1]]),ot()}),We=y.slice(0,Ve),He=y.slice(Ze+1),at=[].concat(ye(We),ye(He)),Le=ue.get(l),Ue=pR({activeTabOffset:Le,horizontal:N,indicator:p,rtl:s}),_e=Ue.style;a.useEffect(function(){De()},[l,xe,Me,cv(Le),cv(ue),N]),a.useEffect(function(){Xe()},[s]);var Be=!!at.length,Je="".concat(b,"-nav-wrap"),dt,it,qe,Ae;return N?s?(it=M>0,dt=M!==Me):(dt=M<0,it=M!==xe):(qe=_<0,Ae=_!==xe),a.createElement(Nn,{onResize:Xe},a.createElement("div",{ref:Co(t,S),role:"tablist",className:G("".concat(b,"-nav"),r),style:n,onKeyDown:function(){pe()}},a.createElement(uv,{ref:x,position:"left",extra:c,prefixCls:b}),a.createElement(Nn,{onResize:Xe},a.createElement("div",{className:G(Je,A(A(A(A({},"".concat(Je,"-ping-left"),dt),"".concat(Je,"-ping-right"),it),"".concat(Je,"-ping-top"),qe),"".concat(Je,"-ping-bottom"),Ae)),ref:w},a.createElement(Nn,{onResize:Xe},a.createElement("div",{ref:I,className:"".concat(b,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(_,"px)"),transition:me?"none":void 0}},Qe,a.createElement(fC,{ref:O,prefixCls:b,locale:d,editable:u,style:K(K({},Qe.length===0?void 0:Ke),{},{visibility:Be?"hidden":null})}),a.createElement("div",{className:G("".concat(b,"-ink-bar"),A({},"".concat(b,"-ink-bar-animated"),i.inkBar)),style:_e}))))),a.createElement(wR,ve({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:E,prefixCls:b,tabs:at,className:!Be&&Ne,tabMoving:!!me})),a.createElement(uv,{ref:$,position:"right",extra:c,prefixCls:b})))}),mC=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.className,o=e.style,i=e.id,l=e.active,s=e.tabKey,c=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!l,style:o,className:G(r,l&&"".concat(r,"-active"),n),ref:t},c)}),OR=["renderTabBar"],PR=["label","key"],NR=function(t){var r=t.renderTabBar,n=ut(t,OR),o=a.useContext(Fc),i=o.tabs;if(r){var l=K(K({},n),{},{panes:i.map(function(s){var c=s.label,u=s.key,d=ut(s,PR);return a.createElement(mC,ve({tab:c,key:u,tabKey:u},d))})});return r(l,dv)}return a.createElement(dv,n)},MR=["key","forceRender","style","className","destroyInactiveTabPane"],RR=function(t){var r=t.id,n=t.activeKey,o=t.animated,i=t.tabPosition,l=t.destroyInactiveTabPane,s=a.useContext(Fc),c=s.prefixCls,u=s.tabs,d=o.tabPane,f="".concat(c,"-tabpane");return a.createElement("div",{className:G("".concat(c,"-content-holder"))},a.createElement("div",{className:G("".concat(c,"-content"),"".concat(c,"-content-").concat(i),A({},"".concat(c,"-content-animated"),d))},u.map(function(m){var g=m.key,v=m.forceRender,h=m.style,p=m.className,C=m.destroyInactiveTabPane,b=ut(m,MR),y=g===n;return a.createElement(In,ve({key:g,visible:y,forceRender:v,removeOnLeave:!!(l||C),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),function(S,x){var $=S.style,w=S.className;return a.createElement(mC,ve({},b,{prefixCls:f,id:r,tabKey:g,animated:d,active:y,style:K(K({},h),$),className:G(p,w),ref:x}))})})))};function TR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=K({inkBar:!0},bt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var LR=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],fv=0,DR=a.forwardRef(function(e,t){var r=e.id,n=e.prefixCls,o=n===void 0?"rc-tabs":n,i=e.className,l=e.items,s=e.direction,c=e.activeKey,u=e.defaultActiveKey,d=e.editable,f=e.animated,m=e.tabPosition,g=m===void 0?"top":m,v=e.tabBarGutter,h=e.tabBarStyle,p=e.tabBarExtraContent,C=e.locale,b=e.more,y=e.destroyInactiveTabPane,S=e.renderTabBar,x=e.onChange,$=e.onTabClick,w=e.onTabScroll,I=e.getPopupContainer,E=e.popupClassName,O=e.indicator,N=ut(e,LR),P=a.useMemo(function(){return(l||[]).filter(function(U){return U&&bt(U)==="object"&&"key"in U})},[l]),R=s==="rtl",M=TR(f),D=a.useState(!1),L=ie(D,2),T=L[0],_=L[1];a.useEffect(function(){_(pc())},[]);var j=Ot(function(){var U;return(U=P[0])===null||U===void 0?void 0:U.key},{value:c,defaultValue:u}),H=ie(j,2),k=H[0],V=H[1],F=a.useState(function(){return P.findIndex(function(U){return U.key===k})}),q=ie(F,2),W=q[0],J=q[1];a.useEffect(function(){var U=P.findIndex(function(se){return se.key===k});if(U===-1){var ae;U=Math.max(0,Math.min(W,P.length-1)),V((ae=P[U])===null||ae===void 0?void 0:ae.key)}J(U)},[P.map(function(U){return U.key}).join("_"),k,W]);var X=Ot(null,{value:r}),Z=ie(X,2),ee=Z[0],ne=Z[1];a.useEffect(function(){r||(ne("rc-tabs-".concat(fv)),fv+=1)},[]);function Y(U,ae){$==null||$(U,ae);var se=U!==k;V(U),se&&(x==null||x(U))}var te={id:ee,activeKey:k,animated:M,tabPosition:g,rtl:R,mobile:T},Q=K(K({},te),{},{editable:d,locale:C,more:b,tabBarGutter:v,onTabClick:Y,onTabScroll:w,extra:p,style:h,panes:null,getPopupContainer:I,popupClassName:E,indicator:O});return a.createElement(Fc.Provider,{value:{tabs:P,prefixCls:o}},a.createElement("div",ve({ref:t,id:r,className:G(o,"".concat(o,"-").concat(g),A(A(A({},"".concat(o,"-mobile"),T),"".concat(o,"-editable"),d),"".concat(o,"-rtl"),R),i)},N),a.createElement(NR,ve({},Q,{renderTabBar:S})),a.createElement(RR,ve({destroyInactiveTabPane:y},te,{animated:M}))))});const _R={motionAppear:!1,motionEnter:!0,motionLeave:!0};function kR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},r;return t===!1?r={inkBar:!1,tabPane:!1}:t===!0?r={inkBar:!0,tabPane:!0}:r=Object.assign({inkBar:!0},typeof t=="object"?t:{}),r.tabPane&&(r.tabPaneMotion=Object.assign(Object.assign({},_R),{motionName:kn(e,"switch")})),r}var jR=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);ot)}function zR(e,t){if(e)return e;const r=sn(t).map(n=>{if(a.isValidElement(n)){const{key:o,props:i}=n,l=i||{},{tab:s}=l,c=jR(l,["tab"]);return Object.assign(Object.assign({key:String(o)},c),{label:s})}return null});return HR(r)}const BR=e=>{const{componentCls:t,motionDurationSlow:r}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${r}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${r}`}}}}},[Jr(e,"slide-up"),Jr(e,"slide-down")]]},AR=e=>{const{componentCls:t,tabsCardPadding:r,cardBg:n,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:r,background:n,border:`${B(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:l,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:B(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:B(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${B(e.borderRadiusLG)} 0 0 ${B(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},FR=e=>{const{componentCls:t,itemHoverColor:r,dropdownEdgeChildVerticalPadding:n}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${B(n)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Mn),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${B(e.paddingXXS)} ${B(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:r}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},VR=e=>{const{componentCls:t,margin:r,colorBorderSecondary:n,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:l,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${B(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + &${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:mc},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${x} ease-out`},T5(e,E,T)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:E,borderRadius:O,boxShadow:N,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:D,maxWidth:L,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:p,borderInlineEnd:`${B(i)} ${l} ${R}`,li:Object.assign(Object.assign({},Mn),{borderRadius:P,paddingInline:p,paddingBlock:e.calc(v).sub(_).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:C},"&:hover":{background:M}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${B(e.calc(I).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Jr(e,"slide-up"),Jr(e,"slide-down"),Ya(e,"move-up"),Ya(e,"move-down")]},i3=Et("DatePicker",e=>{const t=xt(vi(e),o3(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[rR(t),lR(t),aR(t),iR(t),tR(t),va(e,{focusElCls:`${e.componentCls}-focused`})]},oR),sR=e=>{const{calendarCls:t,componentCls:r,fullBg:n,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},r3(e)),Pt(e)),{background:n,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${B(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${r}-panel`]:{background:o,border:0,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${r}-month-panel, ${r}-date-panel`]:{width:"auto"},[`${r}-body`]:{padding:`${B(e.paddingXS)} 0`},[`${r}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${r}-panel`]:{borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},[`${r}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:B(e.weekHeight)}},[`${r}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${r}-panel`]:{display:"block",width:"100%",textAlign:"end",background:n,border:0,[`${r}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:B(e.weekHeight)}}},[`${r}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${r}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${B(e.calc(e.marginXS).div(2).equal())}`,padding:`${B(e.calc(e.paddingXS).div(2).equal())} ${B(e.paddingXS)} 0`,border:0,borderTop:`${B(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:B(e.dateValueHeight),transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${B(e.screenXS)}) `]:{[t]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${B(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},cR=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},a3(e)),uR=Et("Calendar",e=>{const t=`${e.componentCls}-calendar`,r=xt(e,o3(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[sR(r)]},cR),l3=(e,t,r)=>{const{getYear:n}=r;return e&&t&&n(e)===n(t)},hf=(e,t,r)=>{const{getMonth:n}=r;return l3(e,t,r)&&n(e)===n(t)},rv=(e,t,r)=>{const{getDate:n}=r;return hf(e,t,r)&&n(e)===n(t)},s3=e=>r=>{const{prefixCls:n,className:o,rootClassName:i,style:l,dateFullCellRender:s,dateCellRender:c,monthFullCellRender:u,monthCellRender:d,cellRender:f,fullCellRender:m,headerRender:g,value:v,defaultValue:h,disabledDate:p,mode:C,validRange:b,fullscreen:y=!0,onChange:S,onPanelChange:x,onSelect:$}=r,{getPrefixCls:w,direction:I,calendar:E}=a.useContext(ke),O=w("picker",n),N=`${O}-calendar`,[P,R,M]=uR(O,N),D=e.getNow(),[L,T]=Ot(()=>v||e.getNow(),{defaultValue:h,value:v}),[_,j]=Ot("month",{value:C}),H=a.useMemo(()=>_==="year"?"month":"date",[_]),k=a.useCallback(Y=>(b?e.isAfter(b[0],Y)||e.isAfter(Y,b[1]):!1)||!!(p!=null&&p(Y)),[p,b]),V=(Y,te)=>{x==null||x(Y,te)},F=Y=>{T(Y),rv(Y,L,e)||((H==="date"&&!hf(Y,L,e)||H==="month"&&!l3(Y,L,e))&&V(Y,_),S==null||S(Y))},q=Y=>{j(Y),V(L,Y)},W=(Y,te)=>{F(Y),$==null||$(Y,{source:te})},J=a.useCallback((Y,te)=>m?m(Y,te):s?s(Y):a.createElement("div",{className:G(`${O}-cell-inner`,`${N}-date`,{[`${N}-date-today`]:rv(D,Y,e)})},a.createElement("div",{className:`${N}-date-value`},String(e.getDate(Y)).padStart(2,"0")),a.createElement("div",{className:`${N}-date-content`},f?f(Y,te):c==null?void 0:c(Y))),[s,c,f,m]),X=a.useCallback((Y,te)=>{if(m)return m(Y,te);if(u)return u(Y);const Q=te.locale.shortMonths||e.locale.getShortMonths(te.locale.locale);return a.createElement("div",{className:G(`${O}-cell-inner`,`${N}-date`,{[`${N}-date-today`]:hf(D,Y,e)})},a.createElement("div",{className:`${N}-date-value`},Q[e.getMonth(Y)]),a.createElement("div",{className:`${N}-date-content`},f?f(Y,te):d==null?void 0:d(Y)))},[u,d,f,m]),[Z]=Ln("Calendar",qf),ee=Object.assign(Object.assign({},Z),r.locale),ne=(Y,te)=>{if(te.type==="date")return J(Y,te);if(te.type==="month")return X(Y,Object.assign(Object.assign({},te),{locale:ee==null?void 0:ee.lang}))};return P(a.createElement("div",{className:G(N,{[`${N}-full`]:y,[`${N}-mini`]:!y,[`${N}-rtl`]:I==="rtl"},E==null?void 0:E.className,o,i,R,M),style:Object.assign(Object.assign({},E==null?void 0:E.style),l)},g?g({value:L,type:_,onChange:Y=>{W(Y,"customize")},onTypeChange:q}):a.createElement(qM,{prefixCls:N,value:L,generateConfig:e,mode:_,fullscreen:y,locale:ee==null?void 0:ee.lang,validRange:b,onChange:W,onModeChange:q}),a.createElement(hs,{value:L,prefixCls:O,locale:ee==null?void 0:ee.lang,generateConfig:e,cellRender:ne,onSelect:Y=>{W(Y,H)},mode:H,picker:H,disabledDate:k,hideHeader:!0})))},Z1=s3(vC);Z1.generateCalendar=s3;var dR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const fR=dR;var mR=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:fR}))},gR=a.forwardRef(mR);const vR=gR,Fc=a.createContext(null);var pR=function(t){var r=t.activeTabOffset,n=t.horizontal,o=t.rtl,i=t.indicator,l=i===void 0?{}:i,s=l.size,c=l.align,u=c===void 0?"center":c,d=a.useState(),f=ie(d,2),m=f[0],g=f[1],v=a.useRef(),h=z.useCallback(function(C){return typeof s=="function"?s(C):typeof s=="number"?s:C},[s]);function p(){kt.cancel(v.current)}return a.useEffect(function(){var C={};if(r)if(n){C.width=h(r.width);var b=o?"right":"left";u==="start"&&(C[b]=r[b]),u==="center"&&(C[b]=r[b]+r.width/2,C.transform=o?"translateX(50%)":"translateX(-50%)"),u==="end"&&(C[b]=r[b]+r.width,C.transform="translateX(-100%)")}else C.height=h(r.height),u==="start"&&(C.top=r.top),u==="center"&&(C.top=r.top+r.height/2,C.transform="translateY(-50%)"),u==="end"&&(C.top=r.top+r.height,C.transform="translateY(-100%)");return p(),v.current=kt(function(){g(C)}),p},[r,n,o,u,h]),{style:m}},ov={width:0,height:0,left:0,top:0};function hR(e,t,r){return a.useMemo(function(){for(var n,o=new Map,i=t.get((n=e[0])===null||n===void 0?void 0:n.key)||ov,l=i.left+i.width,s=0;sM?(P=O,$.current="x"):(P=N,$.current="y"),t(-P,-P)&&E.preventDefault()}var I=a.useRef(null);I.current={onTouchStart:y,onTouchMove:S,onTouchEnd:x,onWheel:w},a.useEffect(function(){function E(R){I.current.onTouchStart(R)}function O(R){I.current.onTouchMove(R)}function N(R){I.current.onTouchEnd(R)}function P(R){I.current.onWheel(R)}return document.addEventListener("touchmove",O,{passive:!1}),document.addEventListener("touchend",N,{passive:!0}),e.current.addEventListener("touchstart",E,{passive:!0}),e.current.addEventListener("wheel",P,{passive:!1}),function(){document.removeEventListener("touchmove",O),document.removeEventListener("touchend",N)}},[])}function c3(e){var t=a.useState(0),r=ie(t,2),n=r[0],o=r[1],i=a.useRef(0),l=a.useRef();return l.current=e,na(function(){var s;(s=l.current)===null||s===void 0||s.call(l)},[n]),function(){i.current===n&&(i.current+=1,o(i.current))}}function yR(e){var t=a.useRef([]),r=a.useState({}),n=ie(r,2),o=n[1],i=a.useRef(typeof e=="function"?e():e),l=c3(function(){var c=i.current;t.current.forEach(function(u){c=u(c)}),t.current=[],i.current=c,o({})});function s(c){t.current.push(c),l()}return[i.current,s]}var sv={width:0,height:0,left:0,top:0,right:0};function SR(e,t,r,n,o,i,l){var s=l.tabs,c=l.tabPosition,u=l.rtl,d,f,m;return["top","bottom"].includes(c)?(d="width",f=u?"right":"left",m=Math.abs(r)):(d="height",f="top",m=-r),a.useMemo(function(){if(!s.length)return[0,0];for(var g=s.length,v=g,h=0;hm+t){v=h-1;break}}for(var C=0,b=g-1;b>=0;b-=1){var y=e.get(s[b].key)||sv;if(y[f]=v?[0,0]:[C,v]},[e,t,n,o,i,m,c,s.map(function(g){return g.key}).join("_"),u])}function cv(e){var t;return e instanceof Map?(t={},e.forEach(function(r,n){t[n]=r})):t=e,JSON.stringify(t)}var xR="TABS_DQ";function u3(e){return String(e).replace(/"/g,xR)}function d3(e,t,r,n){return!(!r||n||e===!1||e===void 0&&(t===!1||t===null))}var f3=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.editable,o=e.locale,i=e.style;return!n||n.showAdd===!1?null:a.createElement("button",{ref:t,type:"button",className:"".concat(r,"-nav-add"),style:i,"aria-label":(o==null?void 0:o.addAriaLabel)||"Add tab",onClick:function(s){n.onEdit("add",{event:s})}},n.addIcon||"+")}),uv=a.forwardRef(function(e,t){var r=e.position,n=e.prefixCls,o=e.extra;if(!o)return null;var i,l={};return bt(o)==="object"&&!a.isValidElement(o)?l=o:l.right=o,r==="right"&&(i=l.right),r==="left"&&(i=l.left),i?a.createElement("div",{className:"".concat(n,"-extra-content"),ref:t},i):null}),$R=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.id,o=e.tabs,i=e.locale,l=e.mobile,s=e.more,c=s===void 0?{}:s,u=e.style,d=e.className,f=e.editable,m=e.tabBarGutter,g=e.rtl,v=e.removeAriaLabel,h=e.onTabClick,p=e.getPopupContainer,C=e.popupClassName,b=a.useState(!1),y=ie(b,2),S=y[0],x=y[1],$=a.useState(null),w=ie($,2),I=w[0],E=w[1],O=c.icon,N=O===void 0?"More":O,P="".concat(n,"-more-popup"),R="".concat(r,"-dropdown"),M=I!==null?"".concat(P,"-").concat(I):null,D=i==null?void 0:i.dropdownAriaLabel;function L(F,q){F.preventDefault(),F.stopPropagation(),f.onEdit("remove",{key:q,event:F})}var T=a.createElement(Ca,{onClick:function(q){var W=q.key,J=q.domEvent;h(W,J),x(!1)},prefixCls:"".concat(R,"-menu"),id:P,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[I],"aria-label":D!==void 0?D:"expanded dropdown"},o.map(function(F){var q=F.closable,W=F.disabled,J=F.closeIcon,X=F.key,Z=F.label,ee=d3(q,J,f,W);return a.createElement(la,{key:X,id:"".concat(P,"-").concat(X),role:"option","aria-controls":n&&"".concat(n,"-panel-").concat(X),disabled:W},a.createElement("span",null,Z),ee&&a.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat(R,"-menu-item-remove"),onClick:function(Y){Y.stopPropagation(),L(Y,X)}},J||f.removeIcon||"×"))}));function _(F){for(var q=o.filter(function(ee){return!ee.disabled}),W=q.findIndex(function(ee){return ee.key===I})||0,J=q.length,X=0;XYe?"left":"right"})}),R=ie(P,2),M=R[0],D=R[1],L=av(0,function(Ge,Ye){!N&&h&&h({direction:Ge>Ye?"top":"bottom"})}),T=ie(L,2),_=T[0],j=T[1],H=a.useState([0,0]),k=ie(H,2),V=k[0],F=k[1],q=a.useState([0,0]),W=ie(q,2),J=W[0],X=W[1],Z=a.useState([0,0]),ee=ie(Z,2),ne=ee[0],Y=ee[1],te=a.useState([0,0]),Q=ie(te,2),U=Q[0],ae=Q[1],se=yR(new Map),oe=ie(se,2),re=oe[0],ce=oe[1],ue=hR(y,re,J[0]),fe=rs(V,N),be=rs(J,N),de=rs(ne,N),he=rs(U,N),Se=feMe?Me:Ge}var Te=a.useRef(null),Re=a.useState(),Pe=ie(Re,2),me=Pe[0],Ce=Pe[1];function pe(){Ce(Date.now())}function ge(){Te.current&&clearTimeout(Te.current)}bR(w,function(Ge,Ye){function tt(mt,lt){mt(function(ft){var gt=Ee(ft+lt);return gt})}return Se?(N?tt(D,Ge):tt(j,Ye),ge(),pe(),!0):!1}),a.useEffect(function(){return ge(),me&&(Te.current=setTimeout(function(){Ce(0)},100)),ge},[me]);var Ie=SR(ue,$e,N?M:_,be,de,he,K(K({},e),{},{tabs:y})),nt=ie(Ie,2),Ve=nt[0],Ze=nt[1],De=$t(function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l,Ye=ue.get(Ge)||{width:0,height:0,left:0,right:0,top:0};if(N){var tt=M;s?Ye.rightM+$e&&(tt=Ye.right+Ye.width-$e):Ye.left<-M?tt=-Ye.left:Ye.left+Ye.width>-M+$e&&(tt=-(Ye.left+Ye.width-$e)),j(0),D(Ee(tt))}else{var mt=_;Ye.top<-_?mt=-Ye.top:Ye.top+Ye.height>-_+$e&&(mt=-(Ye.top+Ye.height-$e)),D(0),j(Ee(mt))}}),Ke={};f==="top"||f==="bottom"?Ke[s?"marginRight":"marginLeft"]=m:Ke.marginTop=m;var Qe=y.map(function(Ge,Ye){var tt=Ge.key;return a.createElement(ER,{id:o,prefixCls:b,key:tt,tab:Ge,style:Ye===0?void 0:Ke,closable:Ge.closable,editable:u,active:tt===l,renderWrapper:g,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(lt){v(tt,lt)},onFocus:function(){De(tt),pe(),w.current&&(s||(w.current.scrollLeft=0),w.current.scrollTop=0)}})}),ot=function(){return ce(function(){var Ye,tt=new Map,mt=(Ye=I.current)===null||Ye===void 0?void 0:Ye.getBoundingClientRect();return y.forEach(function(lt){var ft,gt=lt.key,et=(ft=I.current)===null||ft===void 0?void 0:ft.querySelector('[data-node-key="'.concat(u3(gt),'"]'));if(et){var rt=IR(et,mt),Fe=ie(rt,4),je=Fe[0],st=Fe[1],Ct=Fe[2],Nt=Fe[3];tt.set(gt,{width:je,height:st,left:Ct,top:Nt})}}),tt})};a.useEffect(function(){ot()},[y.map(function(Ge){return Ge.key}).join("_")]);var Xe=c3(function(){var Ge=_a(S),Ye=_a(x),tt=_a($);F([Ge[0]-Ye[0]-tt[0],Ge[1]-Ye[1]-tt[1]]);var mt=_a(O);Y(mt);var lt=_a(E);ae(lt);var ft=_a(I);X([ft[0]-mt[0],ft[1]-mt[1]]),ot()}),We=y.slice(0,Ve),He=y.slice(Ze+1),at=[].concat(ye(We),ye(He)),Le=ue.get(l),Ue=pR({activeTabOffset:Le,horizontal:N,indicator:p,rtl:s}),_e=Ue.style;a.useEffect(function(){De()},[l,xe,Me,cv(Le),cv(ue),N]),a.useEffect(function(){Xe()},[s]);var Be=!!at.length,Je="".concat(b,"-nav-wrap"),dt,it,qe,Ae;return N?s?(it=M>0,dt=M!==Me):(dt=M<0,it=M!==xe):(qe=_<0,Ae=_!==xe),a.createElement(Nn,{onResize:Xe},a.createElement("div",{ref:Co(t,S),role:"tablist",className:G("".concat(b,"-nav"),r),style:n,onKeyDown:function(){pe()}},a.createElement(uv,{ref:x,position:"left",extra:c,prefixCls:b}),a.createElement(Nn,{onResize:Xe},a.createElement("div",{className:G(Je,A(A(A(A({},"".concat(Je,"-ping-left"),dt),"".concat(Je,"-ping-right"),it),"".concat(Je,"-ping-top"),qe),"".concat(Je,"-ping-bottom"),Ae)),ref:w},a.createElement(Nn,{onResize:Xe},a.createElement("div",{ref:I,className:"".concat(b,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(_,"px)"),transition:me?"none":void 0}},Qe,a.createElement(f3,{ref:O,prefixCls:b,locale:d,editable:u,style:K(K({},Qe.length===0?void 0:Ke),{},{visibility:Be?"hidden":null})}),a.createElement("div",{className:G("".concat(b,"-ink-bar"),A({},"".concat(b,"-ink-bar-animated"),i.inkBar)),style:_e}))))),a.createElement(wR,ve({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:E,prefixCls:b,tabs:at,className:!Be&&Ne,tabMoving:!!me})),a.createElement(uv,{ref:$,position:"right",extra:c,prefixCls:b})))}),m3=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.className,o=e.style,i=e.id,l=e.active,s=e.tabKey,c=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!l,style:o,className:G(r,l&&"".concat(r,"-active"),n),ref:t},c)}),OR=["renderTabBar"],PR=["label","key"],NR=function(t){var r=t.renderTabBar,n=ut(t,OR),o=a.useContext(Fc),i=o.tabs;if(r){var l=K(K({},n),{},{panes:i.map(function(s){var c=s.label,u=s.key,d=ut(s,PR);return a.createElement(m3,ve({tab:c,key:u,tabKey:u},d))})});return r(l,dv)}return a.createElement(dv,n)},MR=["key","forceRender","style","className","destroyInactiveTabPane"],RR=function(t){var r=t.id,n=t.activeKey,o=t.animated,i=t.tabPosition,l=t.destroyInactiveTabPane,s=a.useContext(Fc),c=s.prefixCls,u=s.tabs,d=o.tabPane,f="".concat(c,"-tabpane");return a.createElement("div",{className:G("".concat(c,"-content-holder"))},a.createElement("div",{className:G("".concat(c,"-content"),"".concat(c,"-content-").concat(i),A({},"".concat(c,"-content-animated"),d))},u.map(function(m){var g=m.key,v=m.forceRender,h=m.style,p=m.className,C=m.destroyInactiveTabPane,b=ut(m,MR),y=g===n;return a.createElement(In,ve({key:g,visible:y,forceRender:v,removeOnLeave:!!(l||C),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),function(S,x){var $=S.style,w=S.className;return a.createElement(m3,ve({},b,{prefixCls:f,id:r,tabKey:g,animated:d,active:y,style:K(K({},h),$),className:G(p,w),ref:x}))})})))};function TR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=K({inkBar:!0},bt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var LR=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],fv=0,DR=a.forwardRef(function(e,t){var r=e.id,n=e.prefixCls,o=n===void 0?"rc-tabs":n,i=e.className,l=e.items,s=e.direction,c=e.activeKey,u=e.defaultActiveKey,d=e.editable,f=e.animated,m=e.tabPosition,g=m===void 0?"top":m,v=e.tabBarGutter,h=e.tabBarStyle,p=e.tabBarExtraContent,C=e.locale,b=e.more,y=e.destroyInactiveTabPane,S=e.renderTabBar,x=e.onChange,$=e.onTabClick,w=e.onTabScroll,I=e.getPopupContainer,E=e.popupClassName,O=e.indicator,N=ut(e,LR),P=a.useMemo(function(){return(l||[]).filter(function(U){return U&&bt(U)==="object"&&"key"in U})},[l]),R=s==="rtl",M=TR(f),D=a.useState(!1),L=ie(D,2),T=L[0],_=L[1];a.useEffect(function(){_(pc())},[]);var j=Ot(function(){var U;return(U=P[0])===null||U===void 0?void 0:U.key},{value:c,defaultValue:u}),H=ie(j,2),k=H[0],V=H[1],F=a.useState(function(){return P.findIndex(function(U){return U.key===k})}),q=ie(F,2),W=q[0],J=q[1];a.useEffect(function(){var U=P.findIndex(function(se){return se.key===k});if(U===-1){var ae;U=Math.max(0,Math.min(W,P.length-1)),V((ae=P[U])===null||ae===void 0?void 0:ae.key)}J(U)},[P.map(function(U){return U.key}).join("_"),k,W]);var X=Ot(null,{value:r}),Z=ie(X,2),ee=Z[0],ne=Z[1];a.useEffect(function(){r||(ne("rc-tabs-".concat(fv)),fv+=1)},[]);function Y(U,ae){$==null||$(U,ae);var se=U!==k;V(U),se&&(x==null||x(U))}var te={id:ee,activeKey:k,animated:M,tabPosition:g,rtl:R,mobile:T},Q=K(K({},te),{},{editable:d,locale:C,more:b,tabBarGutter:v,onTabClick:Y,onTabScroll:w,extra:p,style:h,panes:null,getPopupContainer:I,popupClassName:E,indicator:O});return a.createElement(Fc.Provider,{value:{tabs:P,prefixCls:o}},a.createElement("div",ve({ref:t,id:r,className:G(o,"".concat(o,"-").concat(g),A(A(A({},"".concat(o,"-mobile"),T),"".concat(o,"-editable"),d),"".concat(o,"-rtl"),R),i)},N),a.createElement(NR,ve({},Q,{renderTabBar:S})),a.createElement(RR,ve({destroyInactiveTabPane:y},te,{animated:M}))))});const _R={motionAppear:!1,motionEnter:!0,motionLeave:!0};function kR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},r;return t===!1?r={inkBar:!1,tabPane:!1}:t===!0?r={inkBar:!0,tabPane:!0}:r=Object.assign({inkBar:!0},typeof t=="object"?t:{}),r.tabPane&&(r.tabPaneMotion=Object.assign(Object.assign({},_R),{motionName:kn(e,"switch")})),r}var jR=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);ot)}function zR(e,t){if(e)return e;const r=sn(t).map(n=>{if(a.isValidElement(n)){const{key:o,props:i}=n,l=i||{},{tab:s}=l,c=jR(l,["tab"]);return Object.assign(Object.assign({key:String(o)},c),{label:s})}return null});return HR(r)}const BR=e=>{const{componentCls:t,motionDurationSlow:r}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${r}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${r}`}}}}},[Jr(e,"slide-up"),Jr(e,"slide-down")]]},AR=e=>{const{componentCls:t,tabsCardPadding:r,cardBg:n,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:r,background:n,border:`${B(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:l,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:B(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:B(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${B(e.borderRadiusLG)} 0 0 ${B(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},FR=e=>{const{componentCls:t,itemHoverColor:r,dropdownEdgeChildVerticalPadding:n}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${B(n)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Mn),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${B(e.paddingXXS)} ${B(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:r}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},VR=e=>{const{componentCls:t,margin:r,colorBorderSecondary:n,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:l,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${B(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:r,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:l},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:B(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},WR=e=>{const{componentCls:t,cardPaddingSM:r,cardPaddingLG:n,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${B(e.borderRadius)} ${B(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${B(e.borderRadius)} ${B(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${B(e.borderRadius)} ${B(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${B(e.borderRadius)} 0 0 ${B(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}}}}}},KR=e=>{const{componentCls:t,itemActiveColor:r,itemHoverColor:n,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:l,itemSelectedColor:s,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:l,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:r}},wr(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:n},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:i}}}},qR=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:r,iconCls:n,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:r},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:B(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:B(e.marginXS)},marginLeft:{_skip_check_:!0,value:B(i(e.marginXXS).mul(-1).equal())},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},GR=e=>{const{componentCls:t,tabsCardPadding:r,cardHeight:n,cardGutter:o,itemHoverColor:i,itemActiveColor:l,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:r,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:n,minHeight:n,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${B(e.paddingXS)}`,background:"transparent",border:`${B(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:l}},wr(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),KR(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},XR=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},UR=Et("Tabs",e=>{const t=xt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${B(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${B(e.horizontalItemGutter)}`});return[WR(t),qR(t),VR(t),FR(t),AR(t),GR(t),BR(t)]},XR),YR=()=>null,ZR=YR;var QR=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t,r,n,o,i,l,s,c,u,d,f;const{type:m,className:g,rootClassName:v,size:h,onEdit:p,hideAdd:C,centered:b,addIcon:y,removeIcon:S,moreIcon:x,more:$,popupClassName:w,children:I,items:E,animated:O,style:N,indicatorSize:P,indicator:R}=e,M=QR(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:D}=M,{direction:L,tabs:T,getPrefixCls:_,getPopupContainer:j}=a.useContext(ke),H=_("tabs",D),k=Ut(H),[V,F,q]=UR(H,k);let W;m==="editable-card"&&(W={onEdit:(te,Q)=>{let{key:U,event:ae}=Q;p==null||p(te==="add"?ae:U,te)},removeIcon:(t=S!=null?S:T==null?void 0:T.removeIcon)!==null&&t!==void 0?t:a.createElement(mr,null),addIcon:(y!=null?y:T==null?void 0:T.addIcon)||a.createElement(vR,null),showAdd:C!==!0});const J=_(),X=un(h),Z=zR(E,I),ee=kR(H,O),ne=Object.assign(Object.assign({},T==null?void 0:T.style),N),Y={align:(r=R==null?void 0:R.align)!==null&&r!==void 0?r:(n=T==null?void 0:T.indicator)===null||n===void 0?void 0:n.align,size:(s=(i=(o=R==null?void 0:R.size)!==null&&o!==void 0?o:P)!==null&&i!==void 0?i:(l=T==null?void 0:T.indicator)===null||l===void 0?void 0:l.size)!==null&&s!==void 0?s:T==null?void 0:T.indicatorSize};return V(a.createElement(DR,Object.assign({direction:L,getPopupContainer:j},M,{items:Z,className:G({[`${H}-${X}`]:X,[`${H}-card`]:["card","editable-card"].includes(m),[`${H}-editable-card`]:m==="editable-card",[`${H}-centered`]:b},T==null?void 0:T.className,g,v,F,q,k),popupClassName:G(w,F,q,k),style:ne,editable:W,more:Object.assign({icon:(f=(d=(u=(c=T==null?void 0:T.more)===null||c===void 0?void 0:c.icon)!==null&&u!==void 0?u:T==null?void 0:T.moreIcon)!==null&&d!==void 0?d:x)!==null&&f!==void 0?f:a.createElement(B1,null),transitionName:`${J}-slide-up`},$),prefixCls:H,animated:ee,indicator:Y})))};Vc.TabPane=ZR;var JR=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:r,hoverable:n=!0}=e,o=JR(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=a.useContext(ke),l=i("card",t),s=G(`${l}-grid`,r,{[`${l}-grid-hoverable`]:n});return a.createElement("div",Object.assign({},o,{className:s}))},gC=eT,tT=e=>{const{antCls:t,componentCls:r,headerHeight:n,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${B(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`},Tr()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},Mn),{[` + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:r,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:l},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:B(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},WR=e=>{const{componentCls:t,cardPaddingSM:r,cardPaddingLG:n,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${B(e.borderRadius)} ${B(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${B(e.borderRadius)} ${B(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${B(e.borderRadius)} ${B(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${B(e.borderRadius)} 0 0 ${B(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}}}}}},KR=e=>{const{componentCls:t,itemActiveColor:r,itemHoverColor:n,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:l,itemSelectedColor:s,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:l,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:r}},wr(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:n},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:i}}}},qR=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:r,iconCls:n,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:r},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:B(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:B(e.marginXS)},marginLeft:{_skip_check_:!0,value:B(i(e.marginXXS).mul(-1).equal())},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},GR=e=>{const{componentCls:t,tabsCardPadding:r,cardHeight:n,cardGutter:o,itemHoverColor:i,itemActiveColor:l,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:r,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:n,minHeight:n,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${B(e.paddingXS)}`,background:"transparent",border:`${B(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:l}},wr(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),KR(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},XR=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},UR=Et("Tabs",e=>{const t=xt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${B(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${B(e.horizontalItemGutter)}`});return[WR(t),qR(t),VR(t),FR(t),AR(t),GR(t),BR(t)]},XR),YR=()=>null,ZR=YR;var QR=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t,r,n,o,i,l,s,c,u,d,f;const{type:m,className:g,rootClassName:v,size:h,onEdit:p,hideAdd:C,centered:b,addIcon:y,removeIcon:S,moreIcon:x,more:$,popupClassName:w,children:I,items:E,animated:O,style:N,indicatorSize:P,indicator:R}=e,M=QR(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:D}=M,{direction:L,tabs:T,getPrefixCls:_,getPopupContainer:j}=a.useContext(ke),H=_("tabs",D),k=Ut(H),[V,F,q]=UR(H,k);let W;m==="editable-card"&&(W={onEdit:(te,Q)=>{let{key:U,event:ae}=Q;p==null||p(te==="add"?ae:U,te)},removeIcon:(t=S!=null?S:T==null?void 0:T.removeIcon)!==null&&t!==void 0?t:a.createElement(mr,null),addIcon:(y!=null?y:T==null?void 0:T.addIcon)||a.createElement(vR,null),showAdd:C!==!0});const J=_(),X=un(h),Z=zR(E,I),ee=kR(H,O),ne=Object.assign(Object.assign({},T==null?void 0:T.style),N),Y={align:(r=R==null?void 0:R.align)!==null&&r!==void 0?r:(n=T==null?void 0:T.indicator)===null||n===void 0?void 0:n.align,size:(s=(i=(o=R==null?void 0:R.size)!==null&&o!==void 0?o:P)!==null&&i!==void 0?i:(l=T==null?void 0:T.indicator)===null||l===void 0?void 0:l.size)!==null&&s!==void 0?s:T==null?void 0:T.indicatorSize};return V(a.createElement(DR,Object.assign({direction:L,getPopupContainer:j},M,{items:Z,className:G({[`${H}-${X}`]:X,[`${H}-card`]:["card","editable-card"].includes(m),[`${H}-editable-card`]:m==="editable-card",[`${H}-centered`]:b},T==null?void 0:T.className,g,v,F,q,k),popupClassName:G(w,F,q,k),style:ne,editable:W,more:Object.assign({icon:(f=(d=(u=(c=T==null?void 0:T.more)===null||c===void 0?void 0:c.icon)!==null&&u!==void 0?u:T==null?void 0:T.moreIcon)!==null&&d!==void 0?d:x)!==null&&f!==void 0?f:a.createElement(B1,null),transitionName:`${J}-slide-up`},$),prefixCls:H,animated:ee,indicator:Y})))};Vc.TabPane=ZR;var JR=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:r,hoverable:n=!0}=e,o=JR(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=a.useContext(ke),l=i("card",t),s=G(`${l}-grid`,r,{[`${l}-grid-hoverable`]:n});return a.createElement("div",Object.assign({},o,{className:s}))},g3=eT,tT=e=>{const{antCls:t,componentCls:r,headerHeight:n,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${B(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`},Tr()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},Mn),{[` > ${r}-typography, > ${r}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},nT=e=>{const{cardPaddingBase:t,colorBorderSecondary:r,cardShadow:n,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` @@ -222,21 +222,21 @@ html body { ${B(o)} ${B(o)} 0 0 ${r}, ${B(o)} 0 0 0 ${r} inset, 0 ${B(o)} 0 0 ${r} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},rT=e=>{const{componentCls:t,iconCls:r,actionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:l}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:l,borderTop:`${B(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},Tr()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${r}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:B(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${r}`]:{fontSize:o,lineHeight:B(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${i}`}}})},oT=e=>Object.assign(Object.assign({margin:`${B(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Tr()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Mn),"&-description":{color:e.colorTextDescription}}),aT=e=>{const{componentCls:t,cardPaddingBase:r,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${B(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${B(e.padding)} ${B(r)}`}}},iT=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},lT=e=>{const{componentCls:t,cardShadow:r,cardHeadPadding:n,colorBorderSecondary:o,boxShadowTertiary:i,cardPaddingBase:l,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:tT(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:l,borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},Tr()),[`${t}-grid`]:nT(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:rT(e),[`${t}-meta`]:oT(e)}),[`${t}-bordered`]:{border:`${B(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${t}-contain-grid`]:{borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:aT(e),[`${t}-loading`]:iT(e),[`${t}-rtl`]:{direction:"rtl"}}},sT=e=>{const{componentCls:t,cardPaddingSM:r,headerHeightSM:n,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${B(r)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:r}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},cT=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),uT=Et("Card",e=>{const t=xt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[lT(t),sT(t)]},cT);var mv=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{actionClasses:t,actions:r=[],actionStyle:n}=e;return a.createElement("ul",{className:t,style:n},r.map((o,i)=>{const l=`action-${i}`;return a.createElement("li",{style:{width:`${100/r.length}%`},key:l},a.createElement("span",null,o))}))},fT=a.forwardRef((e,t)=>{const{prefixCls:r,className:n,rootClassName:o,style:i,extra:l,headStyle:s={},bodyStyle:c={},title:u,loading:d,bordered:f=!0,size:m,type:g,cover:v,actions:h,tabList:p,children:C,activeTabKey:b,defaultActiveTabKey:y,tabBarExtraContent:S,hoverable:x,tabProps:$={},classNames:w,styles:I}=e,E=mv(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:O,direction:N,card:P}=a.useContext(ke),R=re=>{var ce;(ce=e.onTabChange)===null||ce===void 0||ce.call(e,re)},M=re=>{var ce;return G((ce=P==null?void 0:P.classNames)===null||ce===void 0?void 0:ce[re],w==null?void 0:w[re])},D=re=>{var ce;return Object.assign(Object.assign({},(ce=P==null?void 0:P.styles)===null||ce===void 0?void 0:ce[re]),I==null?void 0:I[re])},L=a.useMemo(()=>{let re=!1;return a.Children.forEach(C,ce=>{(ce==null?void 0:ce.type)===gC&&(re=!0)}),re},[C]),T=O("card",r),[_,j,H]=uT(T),k=a.createElement(er,{loading:!0,active:!0,paragraph:{rows:4},title:!1},C),V=b!==void 0,F=Object.assign(Object.assign({},$),{[V?"activeKey":"defaultActiveKey"]:V?b:y,tabBarExtraContent:S});let q;const W=un(m),J=!W||W==="default"?"large":W,X=p?a.createElement(Vc,Object.assign({size:J},F,{className:`${T}-head-tabs`,onChange:R,items:p.map(re=>{var{tab:ce}=re,ue=mv(re,["tab"]);return Object.assign({label:ce},ue)})})):null;if(u||l||X){const re=G(`${T}-head`,M("header")),ce=G(`${T}-head-title`,M("title")),ue=G(`${T}-extra`,M("extra")),fe=Object.assign(Object.assign({},s),D("header"));q=a.createElement("div",{className:re,style:fe},a.createElement("div",{className:`${T}-head-wrapper`},u&&a.createElement("div",{className:ce,style:D("title")},u),l&&a.createElement("div",{className:ue,style:D("extra")},l)),X)}const Z=G(`${T}-cover`,M("cover")),ee=v?a.createElement("div",{className:Z,style:D("cover")},v):null,ne=G(`${T}-body`,M("body")),Y=Object.assign(Object.assign({},c),D("body")),te=a.createElement("div",{className:ne,style:Y},d?k:C),Q=G(`${T}-actions`,M("actions")),U=h!=null&&h.length?a.createElement(dT,{actionClasses:Q,actionStyle:D("actions"),actions:h}):null,ae=Xt(E,["onTabChange"]),se=G(T,P==null?void 0:P.className,{[`${T}-loading`]:d,[`${T}-bordered`]:f,[`${T}-hoverable`]:x,[`${T}-contain-grid`]:L,[`${T}-contain-tabs`]:p==null?void 0:p.length,[`${T}-${W}`]:W,[`${T}-type-${g}`]:!!g,[`${T}-rtl`]:N==="rtl"},n,o,j,H),oe=Object.assign(Object.assign({},P==null?void 0:P.style),i);return _(a.createElement("div",Object.assign({ref:t},ae,{className:se,style:oe}),q,ee,te,U))});var mT=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,avatar:n,title:o,description:i}=e,l=mT(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=a.useContext(ke),c=s("card",t),u=G(`${c}-meta`,r),d=n?a.createElement("div",{className:`${c}-meta-avatar`},n):null,f=o?a.createElement("div",{className:`${c}-meta-title`},o):null,m=i?a.createElement("div",{className:`${c}-meta-description`},i):null,g=f||m?a.createElement("div",{className:`${c}-meta-detail`},f,m):null;return a.createElement("div",Object.assign({},l,{className:u}),d,g)},vT=gT,El=fT;El.Grid=gC;El.Meta=vT;var pT={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function hT(e,t,r){var n=r||{},o=n.noTrailing,i=o===void 0?!1:o,l=n.noLeading,s=l===void 0?!1:l,c=n.debounceMode,u=c===void 0?void 0:c,d,f=!1,m=0;function g(){d&&clearTimeout(d)}function v(p){var C=p||{},b=C.upcomingOnly,y=b===void 0?!1:b;g(),f=!y}function h(){for(var p=arguments.length,C=new Array(p),b=0;be?s?(m=Date.now(),i||(d=setTimeout(u?$:x,e))):x():i!==!0&&(d=setTimeout(u?$:x,u===void 0?e-S:e))}return h.cancel=v,h}function vC(e,t,r){var n=r||{},o=n.atBegin,i=o===void 0?!1:o;return hT(e,t,{debounceMode:i!==!1})}var Cf={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(t){return z.createElement("ul",{style:{display:"block"}},t)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(t){return z.createElement("button",null,t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function bf(e,t,r){return Math.max(t,Math.min(e,r))}var Va=function(t){var r=["onTouchStart","onTouchMove","onWheel"];r.includes(t._reactName)||t.preventDefault()},js=function(t){for(var r=[],n=pC(t),o=hC(t),i=n;i0?1:0):0},bT=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},yf=function(t){return t&&t.offsetWidth||0},Q1=function(t){return t&&t.offsetHeight||0},CC=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n,o,i,l;return n=t.startX-t.curX,o=t.startY-t.curY,i=Math.atan2(o,n),l=Math.round(i*180/Math.PI),l<0&&(l=360-Math.abs(l)),l<=45&&l>=0||l<=360&&l>=315?"left":l>=135&&l<=225?"right":r===!0?l>=35&&l<=135?"up":"down":"vertical"},Wc=function(t){var r=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(r=!1),r},Wu=function(t,r){var n={};return r.forEach(function(o){return n[o]=t[o]}),n},yT=function(t){var r=z.Children.count(t.children),n=t.listRef,o=Math.ceil(yf(n)),i=t.trackRef&&t.trackRef.node,l=Math.ceil(yf(i)),s;if(t.vertical)s=o;else{var c=t.centerMode&&parseInt(t.centerPadding)*2;typeof t.centerPadding=="string"&&t.centerPadding.slice(-1)==="%"&&(c*=o/100),s=Math.ceil((o-c)/t.slidesToShow)}var u=n&&Q1(n.querySelector('[data-index="0"]')),d=u*t.slidesToShow,f=t.currentSlide===void 0?t.initialSlide:t.currentSlide;t.rtl&&t.currentSlide===void 0&&(f=r-1-t.initialSlide);var m=t.lazyLoadedList||[],g=js(K(K({},t),{},{currentSlide:f,lazyLoadedList:m}));m=m.concat(g);var v={slideCount:r,slideWidth:s,listWidth:o,trackWidth:l,currentSlide:f,slideHeight:u,listHeight:d,lazyLoadedList:m};return t.autoplaying===null&&t.autoplay&&(v.autoplaying="playing"),v},ST=function(t){var r=t.waitForAnimate,n=t.animating,o=t.fade,i=t.infinite,l=t.index,s=t.slideCount,c=t.lazyLoad,u=t.currentSlide,d=t.centerMode,f=t.slidesToScroll,m=t.slidesToShow,g=t.useCSS,v=t.lazyLoadedList;if(r&&n)return{};var h=l,p,C,b,y={},S={},x=i?l:bf(l,0,s-1);if(o){if(!i&&(l<0||l>=s))return{};l<0?h=l+s:l>=s&&(h=l-s),c&&v.indexOf(h)<0&&(v=v.concat(h)),y={animating:!0,currentSlide:h,lazyLoadedList:v,targetSlide:h},S={animating:!1,targetSlide:h}}else p=h,h<0?(p=h+s,i?s%f!==0&&(p=s-s%f):p=0):!Wc(t)&&h>u?h=p=u:d&&h>=s?(h=i?s:s-1,p=i?0:s-1):h>=s&&(p=h-s,i?s%f!==0&&(p=0):p=s-m),!i&&h+m>=s&&(p=s-m),C=ol(K(K({},t),{},{slideIndex:h})),b=ol(K(K({},t),{},{slideIndex:p})),i||(C===b&&(h=p),C=b),c&&(v=v.concat(js(K(K({},t),{},{currentSlide:h})))),g?(y={animating:!0,currentSlide:p,trackStyle:bC(K(K({},t),{},{left:C})),lazyLoadedList:v,targetSlide:x},S={animating:!1,currentSlide:p,trackStyle:rl(K(K({},t),{},{left:b})),swipeLeft:null,targetSlide:x}):y={currentSlide:p,trackStyle:rl(K(K({},t),{},{left:b})),lazyLoadedList:v,targetSlide:x};return{state:y,nextState:S}},xT=function(t,r){var n,o,i,l,s,c=t.slidesToScroll,u=t.slidesToShow,d=t.slideCount,f=t.currentSlide,m=t.targetSlide,g=t.lazyLoad,v=t.infinite;if(l=d%c!==0,n=l?0:(d-f)%c,r.message==="previous")i=n===0?c:u-n,s=f-i,g&&!v&&(o=f-i,s=o===-1?d-1:o),v||(s=m-c);else if(r.message==="next")i=n===0?c:n,s=f+i,g&&!v&&(s=(f+c)%d+n),v||(s=m+c);else if(r.message==="dots")s=r.index*r.slidesToScroll;else if(r.message==="children"){if(s=r.index,v){var h=NT(K(K({},t),{},{targetSlide:s}));s>r.currentSlide&&h==="left"?s=s-d:s10)return{scrolling:!0};s&&(b.swipeLength=E);var O=(c?-1:1)*(b.curX>b.startX?1:-1);s&&(O=b.curY>b.startY?1:-1);var N=Math.ceil(h/p),P=CC(r.touchObject,s),R=b.swipeLength;return C||(u===0&&(P==="right"||P==="down")||u+1>=N&&(P==="left"||P==="up")||!Wc(r)&&(P==="left"||P==="up"))&&(R=b.swipeLength*d,f===!1&&m&&(m(P),w.edgeDragged=!0)),!g&&y&&(y(P),w.swiped=!0),i?$=I+R*(S/x)*O:c?$=I-R*O:$=I+R*O,s&&($=I+R*O),w=K(K({},w),{},{touchObject:b,swipeLeft:$,trackStyle:rl(K(K({},r),{},{left:$}))}),Math.abs(b.curX-b.startX)10&&(w.swiping=!0,Va(t)),w}},IT=function(t,r){var n=r.dragging,o=r.swipe,i=r.touchObject,l=r.listWidth,s=r.touchThreshold,c=r.verticalSwiping,u=r.listHeight,d=r.swipeToSlide,f=r.scrolling,m=r.onSwipe,g=r.targetSlide,v=r.currentSlide,h=r.infinite;if(!n)return o&&Va(t),{};var p=c?u/s:l/s,C=CC(i,c),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!i.swipeLength)return b;if(i.swipeLength>p){Va(t),m&&m(C);var y,S,x=h?v:g;switch(C){case"left":case"up":S=x+vv(r),y=d?gv(r,S):S,b.currentDirection=0;break;case"right":case"down":S=x-vv(r),y=d?gv(r,S):S,b.currentDirection=1;break;default:y=x}b.triggerSlideHandler=y}else{var $=ol(r);b.trackStyle=bC(K(K({},r),{},{left:$}))}return b},OT=function(t){for(var r=t.infinite?t.slideCount*2:t.slideCount,n=t.infinite?t.slidesToShow*-1:0,o=t.infinite?t.slidesToShow*-1:0,i=[];nn[n.length-1])r=n[n.length-1];else for(var i in n){if(rt.swipeLeft*-1)return n=c,!1}else if(c.offsetLeft-r+yf(c)/2>t.swipeLeft*-1)return n=c,!1;return!0}),!n)return 0;var l=t.rtl===!0?t.slideCount-t.currentSlide:t.currentSlide,s=Math.abs(n.dataset.index-l)||1;return s}else return t.slidesToScroll},J1=function(t,r){return r.reduce(function(n,o){return n&&t.hasOwnProperty(o)},!0)?null:console.error("Keys Missing:",t)},rl=function(t){J1(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r,n;if(!t.vertical)r=PT(t)*t.slideWidth;else{var o=t.unslick?t.slideCount:t.slideCount+2*t.slidesToShow;n=o*t.slideHeight}var i={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var l=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",s=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",c=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";i=K(K({},i),{},{WebkitTransform:l,transform:s,msTransform:c})}else t.vertical?i.top=t.left:i.left=t.left;return t.fade&&(i={opacity:1}),r&&(i.width=r),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?i.marginTop=t.left+"px":i.marginLeft=t.left+"px"),i},bC=function(t){J1(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var r=rl(t);return t.useTransform?(r.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,r.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?r.transition="top "+t.speed+"ms "+t.cssEase:r.transition="left "+t.speed+"ms "+t.cssEase,r},ol=function(t){if(t.unslick)return 0;J1(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var r=t.slideIndex,n=t.trackRef,o=t.infinite,i=t.centerMode,l=t.slideCount,s=t.slidesToShow,c=t.slidesToScroll,u=t.slideWidth,d=t.listWidth,f=t.variableWidth,m=t.slideHeight,g=t.fade,v=t.vertical,h=0,p,C,b=0;if(g||t.slideCount===1)return 0;var y=0;if(o?(y=-uo(t),l%c!==0&&r+c>l&&(y=-(r>l?s-(r-l):l%c)),i&&(y+=parseInt(s/2))):(l%c!==0&&r+c>l&&(y=s-l%c),i&&(y=parseInt(s/2))),h=y*u,b=y*m,v?p=r*m*-1+b:p=r*u*-1+h,f===!0){var S,x=n&&n.node;if(S=r+uo(t),C=x&&x.childNodes[S],p=C?C.offsetLeft*-1:0,i===!0){S=o?r+uo(t):r,C=x&&x.children[S],p=0;for(var $=0;$t.currentSlide?t.targetSlide>t.currentSlide+MT(t)?"left":"right":t.targetSlide0&&(l+=1),o&&r%2===0&&(l+=1),l}return o?0:r-1},RT=function(t){var r=t.slidesToShow,n=t.centerMode,o=t.rtl,i=t.centerPadding;if(n){var l=(r-1)/2+1;return parseInt(i)>0&&(l+=1),!o&&r%2===0&&(l+=1),l}return o?r-1:0},pv=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},TT=Object.keys(Cf);function LT(e){return TT.reduce(function(t,r){return e.hasOwnProperty(r)&&(t[r]=e[r]),t},{})}function DT(e,t,r){return t=Er(t),ri(e,ai()?Reflect.construct(t,r||[],Er(e).constructor):t.apply(e,r))}var Ku=function(t){var r,n,o,i,l;t.rtl?l=t.slideCount-1-t.index:l=t.index,o=l<0||l>=t.slideCount,t.centerMode?(i=Math.floor(t.slidesToShow/2),n=(l-t.currentSlide)%t.slideCount===0,l>t.currentSlide-i-1&&l<=t.currentSlide+i&&(r=!0)):r=t.currentSlide<=l&&l=t.slideCount?s=t.targetSlide-t.slideCount:s=t.targetSlide;var c=l===s;return{"slick-slide":!0,"slick-active":r,"slick-center":n,"slick-cloned":o,"slick-current":c}},_T=function(t){var r={};return(t.variableWidth===void 0||t.variableWidth===!1)&&(r.width=t.slideWidth),t.fade&&(r.position="relative",t.vertical&&t.slideHeight?r.top=-t.index*parseInt(t.slideHeight):r.left=-t.index*parseInt(t.slideWidth),r.opacity=t.currentSlide===t.index?1:0,r.zIndex=t.currentSlide===t.index?999:998,t.useCSS&&(r.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),r},qu=function(t,r){return t.key+"-"+r},kT=function(t){var r,n=[],o=[],i=[],l=z.Children.count(t.children),s=pC(t),c=hC(t);return z.Children.forEach(t.children,function(u,d){var f,m={message:"children",index:d,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(d)>=0?f=u:f=z.createElement("div",null);var g=_T(K(K({},t),{},{index:d})),v=f.props.className||"",h=Ku(K(K({},t),{},{index:d}));if(n.push(z.cloneElement(f,{key:"original"+qu(f,d),"data-index":d,className:G(h,v),tabIndex:"-1","aria-hidden":!h["slick-active"],style:K(K({outline:"none"},f.props.style||{}),g),onClick:function(b){f.props&&f.props.onClick&&f.props.onClick(b),t.focusOnSelect&&t.focusOnSelect(m)}})),t.infinite&&l>1&&t.fade===!1&&!t.unslick){var p=l-d;p<=uo(t)&&(r=-p,r>=s&&(f=u),h=Ku(K(K({},t),{},{index:r})),o.push(z.cloneElement(f,{key:"precloned"+qu(f,r),"data-index":r,tabIndex:"-1",className:G(h,v),"aria-hidden":!h["slick-active"],style:K(K({},f.props.style||{}),g),onClick:function(b){f.props&&f.props.onClick&&f.props.onClick(b),t.focusOnSelect&&t.focusOnSelect(m)}}))),r=l+d,r=y&&f<=C:f===y}),x={message:"dots",index:h,slidesToScroll:c,currentSlide:f},$=this.clickHandler.bind(this,x);v=v.concat(z.createElement("li",{key:h,className:S},z.cloneElement(this.props.customPaging(h),{onClick:$})))}return z.cloneElement(this.props.appendDots(v),K({className:this.props.dotsClass},g))}}])}(z.PureComponent);function yC(e,t,r){return t=Er(t),ri(e,ai()?Reflect.construct(t,r||[],Er(e).constructor):t.apply(e,r))}var AT=function(e){function t(){return tn(this,t),yC(this,t,arguments)}return Fn(t,e),nn(t,[{key:"clickHandler",value:function(n,o){o&&o.preventDefault(),this.props.clickHandler(n,o)}},{key:"render",value:function(){var n={"slick-arrow":!0,"slick-prev":!0},o=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(n["slick-disabled"]=!0,o=null);var i={key:"0","data-role":"none",className:G(n),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.prevArrow?s=z.cloneElement(this.props.prevArrow,K(K({},i),l)):s=z.createElement("button",ve({key:"0",type:"button"},i)," ","Previous"),s}}])}(z.PureComponent),FT=function(e){function t(){return tn(this,t),yC(this,t,arguments)}return Fn(t,e),nn(t,[{key:"clickHandler",value:function(n,o){o&&o.preventDefault(),this.props.clickHandler(n,o)}},{key:"render",value:function(){var n={"slick-arrow":!0,"slick-next":!0},o=this.clickHandler.bind(this,{message:"next"});Wc(this.props)||(n["slick-disabled"]=!0,o=null);var i={key:"1","data-role":"none",className:G(n),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.nextArrow?s=z.cloneElement(this.props.nextArrow,K(K({},i),l)):s=z.createElement("button",ve({key:"1",type:"button"},i)," ","Next"),s}}])}(z.PureComponent),VT=["animating"];function WT(e,t,r){return t=Er(t),ri(e,ai()?Reflect.construct(t,r||[],Er(e).constructor):t.apply(e,r))}var KT=function(e){function t(r){var n;tn(this,t),n=WT(this,t,[r]),A(n,"listRefHandler",function(i){return n.list=i}),A(n,"trackRefHandler",function(i){return n.track=i}),A(n,"adaptHeight",function(){if(n.props.adaptiveHeight&&n.list){var i=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=Q1(i)+"px"}}),A(n,"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var i=js(K(K({},n.props),n.state));i.length>0&&(n.setState(function(s){return{lazyLoadedList:s.lazyLoadedList.concat(i)}}),n.props.onLazyLoad&&n.props.onLazyLoad(i))}var l=K({listRef:n.list,trackRef:n.track},n.props);n.updateState(l,!0,function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")}),n.props.lazyLoad==="progressive"&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new qh(function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout(function(){return n.onWindowResized()},n.props.speed))):n.onWindowResized()}),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(s){s.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,s.onblur=n.props.pauseOnFocus?n.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)}),A(n,"componentWillUnmount",function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach(function(i){return clearTimeout(i)}),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()}),A(n,"componentDidUpdate",function(i){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var l=js(K(K({},n.props),n.state));l.length>0&&(n.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(l)}}),n.props.onLazyLoad&&n.props.onLazyLoad(l))}n.adaptHeight();var s=K(K({listRef:n.list,trackRef:n.track},n.props),n.state),c=n.didPropsChange(i);c&&n.updateState(s,c,function(){n.state.currentSlide>=z.Children.count(n.props.children)&&n.changeSlide({message:"index",index:z.Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),(i.autoplay!==n.props.autoplay||i.autoplaySpeed!==n.props.autoplaySpeed)&&(!i.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))})}),A(n,"onWindowResized",function(i){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=vC(50,function(){return n.resizeWindow(i)}),n.debouncedResize()}),A(n,"resizeWindow",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,l=!!(n.track&&n.track.node);if(l){var s=K(K({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(s,i,function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")}),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}}),A(n,"updateState",function(i,l,s){var c=yT(i);i=K(K(K({},i),c),{},{slideIndex:c.currentSlide});var u=ol(i);i=K(K({},i),{},{left:u});var d=rl(i);(l||z.Children.count(n.props.children)!==z.Children.count(i.children))&&(c.trackStyle=d),n.setState(c,s)}),A(n,"ssrInit",function(){if(n.props.variableWidth){var i=0,l=0,s=[],c=uo(K(K(K({},n.props),n.state),{},{slideCount:n.props.children.length})),u=bs(K(K(K({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach(function($){s.push($.props.style.width),i+=$.props.style.width});for(var d=0;d=l&&n.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var d=c.onclick;c.onclick=function(f){d(f),c.parentNode.focus()}}c.onload||(n.props.lazyLoad?c.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(c.onload=u,c.onerror=function(){u(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))})}),A(n,"progressiveLazyLoad",function(){for(var i=[],l=K(K({},n.props),n.state),s=n.state.currentSlide;s=-uo(l);c--)if(n.state.lazyLoadedList.indexOf(c)<0){i.push(c);break}i.length>0?(n.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(i)}}),n.props.onLazyLoad&&n.props.onLazyLoad(i)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)}),A(n,"slideHandler",function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=n.props,c=s.asNavFor,u=s.beforeChange,d=s.onLazyLoad,f=s.speed,m=s.afterChange,g=n.state.currentSlide,v=ST(K(K(K({index:i},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!l})),h=v.state,p=v.nextState;if(h){u&&u(g,h.currentSlide);var C=h.lazyLoadedList.filter(function(b){return n.state.lazyLoadedList.indexOf(b)<0});d&&C.length>0&&d(C),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),m&&m(g),delete n.animationEndCallback),n.setState(h,function(){c&&n.asNavForIndex!==i&&(n.asNavForIndex=i,c.innerSlider.slideHandler(i)),p&&(n.animationEndCallback=setTimeout(function(){var b=p.animating,y=ut(p,VT);n.setState(y,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:b})},10)),m&&m(h.currentSlide),delete n.animationEndCallback})},f))})}}),A(n,"changeSlide",function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=K(K({},n.props),n.state),c=xT(s,i);if(!(c!==0&&!c)&&(l===!0?n.slideHandler(c,l):n.slideHandler(c),n.props.autoplay&&n.autoPlay("update"),n.props.focusOnSelect)){var u=n.list.querySelectorAll(".slick-current");u[0]&&u[0].focus()}}),A(n,"clickHandler",function(i){n.clickable===!1&&(i.stopPropagation(),i.preventDefault()),n.clickable=!0}),A(n,"keyHandler",function(i){var l=$T(i,n.props.accessibility,n.props.rtl);l!==""&&n.changeSlide({message:l})}),A(n,"selectHandler",function(i){n.changeSlide(i)}),A(n,"disableBodyScroll",function(){var i=function(s){s=s||window.event,s.preventDefault&&s.preventDefault(),s.returnValue=!1};window.ontouchmove=i}),A(n,"enableBodyScroll",function(){window.ontouchmove=null}),A(n,"swipeStart",function(i){n.props.verticalSwiping&&n.disableBodyScroll();var l=wT(i,n.props.swipe,n.props.draggable);l!==""&&n.setState(l)}),A(n,"swipeMove",function(i){var l=ET(i,K(K(K({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));l&&(l.swiping&&(n.clickable=!1),n.setState(l))}),A(n,"swipeEnd",function(i){var l=IT(i,K(K(K({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(l){var s=l.triggerSlideHandler;delete l.triggerSlideHandler,n.setState(l),s!==void 0&&(n.slideHandler(s),n.props.verticalSwiping&&n.enableBodyScroll())}}),A(n,"touchEnd",function(i){n.swipeEnd(i),n.clickable=!0}),A(n,"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),A(n,"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),A(n,"slickGoTo",function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(i=Number(i),isNaN(i))return"";n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"index",index:i,currentSlide:n.state.currentSlide},l)},0))}),A(n,"play",function(){var i;if(n.props.rtl)i=n.state.currentSlide-n.props.slidesToScroll;else if(Wc(K(K({},n.props),n.state)))i=n.state.currentSlide+n.props.slidesToScroll;else return!1;n.slideHandler(i)}),A(n,"autoPlay",function(i){n.autoplayTimer&&clearInterval(n.autoplayTimer);var l=n.state.autoplaying;if(i==="update"){if(l==="hovered"||l==="focused"||l==="paused")return}else if(i==="leave"){if(l==="paused"||l==="focused")return}else if(i==="blur"&&(l==="paused"||l==="hovered"))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})}),A(n,"pause",function(i){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var l=n.state.autoplaying;i==="paused"?n.setState({autoplaying:"paused"}):i==="focused"?(l==="hovered"||l==="playing")&&n.setState({autoplaying:"focused"}):l==="playing"&&n.setState({autoplaying:"hovered"})}),A(n,"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),A(n,"onDotsLeave",function(){return n.props.autoplay&&n.state.autoplaying==="hovered"&&n.autoPlay("leave")}),A(n,"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),A(n,"onTrackLeave",function(){return n.props.autoplay&&n.state.autoplaying==="hovered"&&n.autoPlay("leave")}),A(n,"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),A(n,"onSlideBlur",function(){return n.props.autoplay&&n.state.autoplaying==="focused"&&n.autoPlay("blur")}),A(n,"render",function(){var i=G("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=K(K({},n.props),n.state),s=Wu(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=n.props.pauseOnHover;s=K(K({},s),{},{onMouseEnter:c?n.onTrackOver:null,onMouseLeave:c?n.onTrackLeave:null,onMouseOver:c?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null});var u;if(n.props.dots===!0&&n.state.slideCount>=n.props.slidesToShow){var d=Wu(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=n.props.pauseOnDotsHover;d=K(K({},d),{},{clickHandler:n.changeSlide,onMouseEnter:f?n.onDotsLeave:null,onMouseOver:f?n.onDotsOver:null,onMouseLeave:f?n.onDotsLeave:null}),u=z.createElement(BT,d)}var m,g,v=Wu(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=n.changeSlide,n.props.arrows&&(m=z.createElement(AT,v),g=z.createElement(FT,v));var h=null;n.props.vertical&&(h={height:n.state.listHeight});var p=null;n.props.vertical===!1?n.props.centerMode===!0&&(p={padding:"0px "+n.props.centerPadding}):n.props.centerMode===!0&&(p={padding:n.props.centerPadding+" 0px"});var C=K(K({},h),p),b=n.props.touchMove,y={className:"slick-list",style:C,onClick:n.clickHandler,onMouseDown:b?n.swipeStart:null,onMouseMove:n.state.dragging&&b?n.swipeMove:null,onMouseUp:b?n.swipeEnd:null,onMouseLeave:n.state.dragging&&b?n.swipeEnd:null,onTouchStart:b?n.swipeStart:null,onTouchMove:n.state.dragging&&b?n.swipeMove:null,onTouchEnd:b?n.touchEnd:null,onTouchCancel:n.state.dragging&&b?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},S={className:i,dir:"ltr",style:n.props.style};return n.props.unslick&&(y={className:"slick-list"},S={className:i,style:n.props.style}),z.createElement("div",S,n.props.unslick?"":m,z.createElement("div",ve({ref:n.listRefHandler},y),z.createElement(jT,ve({ref:n.trackRefHandler},s),n.props.children)),n.props.unslick?"":g,n.props.unslick?"":u)}),n.list=null,n.track=null,n.state=K(K({},pT),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:z.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var o=n.ssrInit();return n.state=K(K({},n.state),o),n}return Fn(t,e),nn(t,[{key:"didPropsChange",value:function(n){for(var o=!1,i=0,l=Object.keys(this.props);i1&&arguments[1]!==void 0?arguments[1]:!1;return n.innerSlider.slickGoTo(o,i)}),A(n,"slickPause",function(){return n.innerSlider.pause("paused")}),A(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return Fn(t,e),nn(t,[{key:"media",value:function(n,o){var i=window.matchMedia(n),l=function(c){var u=c.matches;u&&o()};i.addListener(l),l(i),this._responsiveMediaHandlers.push({mql:i,query:n,listener:l})}},{key:"componentDidMount",value:function(){var n=this;if(this.props.responsive){var o=this.props.responsive.map(function(l){return l.breakpoint});o.sort(function(l,s){return l-s}),o.forEach(function(l,s){var c;s===0?c=Gu({minWidth:0,maxWidth:l}):c=Gu({minWidth:o[s-1]+1,maxWidth:l}),pv()&&n.media(c,function(){n.setState({breakpoint:l})})});var i=Gu({minWidth:o.slice(-1)[0]});pv()&&this.media(i,function(){n.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(n){n.mql.removeListener(n.listener)})}},{key:"render",value:function(){var n=this,o,i;this.state.breakpoint?(i=this.props.responsive.filter(function(h){return h.breakpoint===n.state.breakpoint}),o=i[0].settings==="unslick"?"unslick":K(K(K({},Cf),this.props),i[0].settings)):o=K(K({},Cf),this.props),o.centerMode&&(o.slidesToScroll>1,o.slidesToScroll=1),o.fade&&(o.slidesToShow>1,o.slidesToScroll>1,o.slidesToShow=1,o.slidesToScroll=1);var l=z.Children.toArray(this.props.children);l=l.filter(function(h){return typeof h=="string"?!!h.trim():!!h}),o.variableWidth&&(o.rows>1||o.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),o.variableWidth=!1);for(var s=[],c=null,u=0;u=l.length));g+=1)m.push(z.cloneElement(l[g],{key:100*u+10*f+g,tabIndex:-1,style:{width:"".concat(100/o.slidesPerRow,"%"),display:"inline-block"}}));d.push(z.createElement("div",{key:10*u+f},m))}o.variableWidth?s.push(z.createElement("div",{key:u,style:{width:c}},d)):s.push(z.createElement("div",{key:u},d))}if(o==="unslick"){var v="regular slider "+(this.props.className||"");return z.createElement("div",{className:v},l)}else s.length<=o.slidesToShow&&!o.infinite&&(o.unslick=!0);return z.createElement(KT,ve({style:this.props.style,ref:this.innerSliderRefHandler},LT(o)),s)}}])}(z.Component);const eL=e=>{const{componentCls:t,antCls:r}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}})}},tL=e=>{const{componentCls:t,motionDurationSlow:r,arrowSize:n,arrowOffset:o}=e,i=e.calc(n).div(Math.SQRT2).equal();return[{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:n,height:n,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:`opacity ${r}`,"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(n).sub(i).div(2).equal(),insetInlineStart:e.calc(n).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineWidth:"2px 0",borderBlockWidth:"2px 0",borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:o,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:o,"&::after":{transform:"rotate(135deg)"}}}}]},nL=e=>{const{componentCls:t,dotOffset:r,dotWidth:n,dotHeight:o,dotGap:i,colorBgContainer:l,motionDurationSlow:s}=e;return[{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:r},"&-top":{top:r,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:n,height:o,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${s}`,button:{position:"relative",display:"block",width:"100%",height:o,padding:0,color:"transparent",fontSize:0,background:l,border:0,borderRadius:o,outline:"none",cursor:"pointer",opacity:.2,transition:`all ${s}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:l,opacity:1},"&: hover, &:focus":{opacity:1}}}}}}]},rL=e=>{const{componentCls:t,dotOffset:r,arrowOffset:n,marginXXS:o}=e,i={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:n,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:n,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:r},"&-right":{insetInlineEnd:r,insetInlineStart:"auto"},li:Object.assign(Object.assign({},i),{margin:`${B(o)} 0`,verticalAlign:"baseline",button:i,"&.slick-active":Object.assign(Object.assign({},i),{button:i})})}}}},oL=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},aL=e=>({arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24}),iL=Et("Carousel",e=>[eL(e),tL(e),nL(e),rL(e),oL(e)],aL,{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var SC=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t=SC(e,["currentSlide","slideCount"]);return a.createElement("button",Object.assign({type:"button"},t))},lL=a.forwardRef((e,t)=>{const{dots:r=!0,arrows:n=!1,prevArrow:o=a.createElement(bv,{"aria-label":"prev"}),nextArrow:i=a.createElement(bv,{"aria-label":"next"}),draggable:l=!1,waitForAnimate:s=!1,dotPosition:c="bottom",vertical:u=c==="left"||c==="right",rootClassName:d,className:f,style:m,id:g}=e,v=SC(e,["dots","arrows","prevArrow","nextArrow","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:h,direction:p,carousel:C}=a.useContext(ke),b=a.useRef(),y=function(R){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;b.current.slickGoTo(R,M)};a.useImperativeHandle(t,()=>({goTo:y,autoPlay:b.current.innerSlider.autoPlay,innerSlider:b.current.innerSlider,prev:b.current.slickPrev,next:b.current.slickNext}),[b.current]);const S=a.useRef(a.Children.count(e.children));a.useEffect(()=>{S.current!==a.Children.count(e.children)&&(y(e.initialSlide||0,!1),S.current=a.Children.count(e.children))},[e.children]);const x=Object.assign({vertical:u,className:G(f,C==null?void 0:C.className),style:Object.assign(Object.assign({},C==null?void 0:C.style),m)},v);x.effect==="fade"&&(x.fade=!0);const $=h("carousel",x.prefixCls),w=!!r,I=G(Cv,`${Cv}-${c}`,typeof r=="boolean"?!1:r==null?void 0:r.className),[E,O,N]=iL($),P=G($,{[`${$}-rtl`]:p==="rtl",[`${$}-vertical`]:x.vertical},O,N,d);return E(a.createElement("div",{className:P,id:g},a.createElement(JT,Object.assign({ref:b},x,{dots:w,dotsClass:I,arrows:n,prevArrow:o,nextArrow:i,draggable:l,verticalSwiping:u,waitForAnimate:s}))))}),sL=lL;var hi=a.createContext({}),Wa="__rc_cascader_search_mark__",cL=function(t,r,n){var o=n.label,i=o===void 0?"":o;return r.some(function(l){return String(l[i]).toLowerCase().includes(t.toLowerCase())})},uL=function(t,r,n,o){return r.map(function(i){return i[o.label]}).join(" / ")},dL=function(t,r,n,o,i,l){var s=i.filter,c=s===void 0?cL:s,u=i.render,d=u===void 0?uL:u,f=i.limit,m=f===void 0?50:f,g=i.sort;return a.useMemo(function(){var v=[];if(!t)return[];function h(p,C){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;p.forEach(function(y){if(!(!g&&m!==!1&&m>0&&v.length>=m)){var S=[].concat(ye(C),[y]),x=y[n.children],$=b||y.disabled;if((!x||x.length===0||l)&&c(t,S,{label:n.label})){var w;v.push(K(K({},y),{},(w={disabled:$},A(w,n.label,d(t,S,o,n)),A(w,Wa,S),A(w,n.children,void 0),w)))}x&&h(y[n.children],S,$)}})}return h(r,[]),g&&v.sort(function(p,C){return g(p[Wa],C[Wa],t,n)}),m!==!1&&m>0?v.slice(0,m):v},[t,r,n,o,d,l,c,g,m])},em="__RC_CASCADER_SPLIT__",xC="SHOW_PARENT",$C="SHOW_CHILD";function Mr(e){return e.join(em)}function Qa(e){return e.map(Mr)}function fL(e){return e.split(em)}function wC(e){var t=e||{},r=t.label,n=t.value,o=t.children,i=n||"value";return{label:r||"label",value:i,key:i,children:o||"children"}}function Ai(e,t){var r,n;return(r=e.isLeaf)!==null&&r!==void 0?r:!((n=e[t.children])!==null&&n!==void 0&&n.length)}function mL(e){var t=e.parentElement;if(t){var r=e.offsetTop-t.offsetTop;r-t.scrollTop<0?t.scrollTo({top:r}):r+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:r+e.offsetHeight-t.offsetHeight})}}function EC(e,t){return e.map(function(r){var n;return(n=r[Wa])===null||n===void 0?void 0:n.map(function(o){return o[t.value]})})}function gL(e){return Array.isArray(e)&&Array.isArray(e[0])}function Hs(e){return e?gL(e)?e:(e.length===0?[]:[e]).map(function(t){return Array.isArray(t)?t:[t]}):[]}function IC(e,t,r){var n=new Set(e),o=t();return e.filter(function(i){var l=o[i],s=l?l.parent:null,c=l?l.children:null;return l&&l.node.disabled?!0:r===$C?!(c&&c.some(function(u){return u.key&&n.has(u.key)})):!(s&&!s.node.disabled&&n.has(s.key))})}function Ja(e,t,r){for(var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=t,i=[],l=function(){var u,d,f,m=e[s],g=(u=o)===null||u===void 0?void 0:u.findIndex(function(h){var p=h[r.value];return n?String(p)===String(m):p===m}),v=g!==-1?(d=o)===null||d===void 0?void 0:d[g]:null;i.push({value:(f=v==null?void 0:v[r.value])!==null&&f!==void 0?f:m,index:g,option:v}),o=v==null?void 0:v[r.children]},s=0;s1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(m,g){for(var v=PC(f?f.pos:"0",g),h=Il(m[i],v),p,C=0;C1&&arguments[1]!==void 0?arguments[1]:{},r=t.initWrapper,n=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,l=t.childrenPropName,s=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,u=i||c,d={},f={},m={posEntities:d,keyEntities:f};return r&&(m=r(m)||m),CL(e,function(g){var v=g.node,h=g.index,p=g.pos,C=g.key,b=g.parentPos,y=g.level,S=g.nodes,x={node:v,nodes:S,index:h,key:C,pos:p,level:y},$=Il(C,p);d[p]=x,f[$]=x,x.parent=d[b],x.parent&&(x.parent.children=x.parent.children||[],x.parent.children.push(x)),n&&n(x,m)},{externalGetKey:u,childrenPropName:l,fieldNames:s}),o&&o(m),m}function Ui(e,t){var r=t.expandedKeys,n=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,l=t.checkedKeys,s=t.halfCheckedKeys,c=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,f=rr(d,e),m={eventKey:e,expanded:r.indexOf(e)!==-1,selected:n.indexOf(e)!==-1,loaded:o.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:l.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:c===e&&u===0,dragOverGapTop:c===e&&u===-1,dragOverGapBottom:c===e&&u===1};return m}function Pn(e){var t=e.data,r=e.expanded,n=e.selected,o=e.checked,i=e.loaded,l=e.loading,s=e.halfChecked,c=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,f=e.pos,m=e.active,g=e.eventKey,v=K(K({},t),{},{expanded:r,selected:n,checked:o,loaded:i,loading:l,halfChecked:s,dragOver:c,dragOverGapTop:u,dragOverGapBottom:d,pos:f,active:m,key:g});return"props"in v||Object.defineProperty(v,"props",{get:function(){return Jt(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),v}const bL=function(e,t){var r=a.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),n=a.useCallback(function(){return r.current.options!==e&&(r.current.options=e,r.current.info=Ol(e,{fieldNames:t,initWrapper:function(i){return K(K({},i),{},{pathKeyEntities:{}})},processEntity:function(i,l){var s=i.nodes.map(function(c){return c[t.value]}).join(em);l.pathKeyEntities[s]=i,i.key=s}})),r.current.info.pathKeyEntities},[t,e]);return n};function MC(e,t){var r=a.useMemo(function(){return t||[]},[t]),n=bL(r,e),o=a.useCallback(function(i){var l=n();return i.map(function(s){var c=l[s].nodes;return c.map(function(u){return u[e.value]})})},[n,e]);return[r,n,o]}function yL(e){return a.useMemo(function(){if(!e)return[!1,{}];var t={matchInputWidth:!0,limit:50};return e&&bt(e)==="object"&&(t=K(K({},t),e)),t.limit<=0&&delete t.limit,[!0,t]},[e])}function RC(e,t){var r=new Set;return e.forEach(function(n){t.has(n)||r.add(n)}),r}function SL(e){var t=e||{},r=t.disabled,n=t.disableCheckbox,o=t.checkable;return!!(r||n)||o===!1}function xL(e,t,r,n){for(var o=new Set(e),i=new Set,l=0;l<=r;l+=1){var s=t.get(l)||new Set;s.forEach(function(f){var m=f.key,g=f.node,v=f.children,h=v===void 0?[]:v;o.has(m)&&!n(g)&&h.filter(function(p){return!n(p.node)}).forEach(function(p){o.add(p.key)})})}for(var c=new Set,u=r;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(f){var m=f.parent,g=f.node;if(!(n(g)||!f.parent||c.has(f.parent.key))){if(n(f.parent.node)){c.add(m.key);return}var v=!0,h=!1;(m.children||[]).filter(function(p){return!n(p.node)}).forEach(function(p){var C=p.key,b=o.has(C);v&&!b&&(v=!1),!h&&(b||i.has(C))&&(h=!0)}),v&&o.add(m.key),h&&i.add(m.key),c.add(m.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(RC(i,o))}}function $L(e,t,r,n,o){for(var i=new Set(e),l=new Set(t),s=0;s<=n;s+=1){var c=r.get(s)||new Set;c.forEach(function(m){var g=m.key,v=m.node,h=m.children,p=h===void 0?[]:h;!i.has(g)&&!l.has(g)&&!o(v)&&p.filter(function(C){return!o(C.node)}).forEach(function(C){i.delete(C.key)})})}l=new Set;for(var u=new Set,d=n;d>=0;d-=1){var f=r.get(d)||new Set;f.forEach(function(m){var g=m.parent,v=m.node;if(!(o(v)||!m.parent||u.has(m.parent.key))){if(o(m.parent.node)){u.add(g.key);return}var h=!0,p=!1;(g.children||[]).filter(function(C){return!o(C.node)}).forEach(function(C){var b=C.key,y=i.has(b);h&&!y&&(h=!1),!p&&(y||l.has(b))&&(p=!0)}),h||i.delete(g.key),p&&l.add(g.key),u.add(g.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(RC(l,i))}}function xr(e,t,r,n){var o=[],i;n?i=n:i=SL;var l=new Set(e.filter(function(d){var f=!!rr(r,d);return f||o.push(d),f})),s=new Map,c=0;Object.keys(r).forEach(function(d){var f=r[d],m=f.level,g=s.get(m);g||(g=new Set,s.set(m,g)),g.add(f),c=Math.max(c,m)}),Jt(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=xL(l,s,c,i):u=$L(l,t.halfCheckedKeys,s,c,i),u}function TC(e,t,r,n,o,i,l,s){return function(c){if(!e)t(c);else{var u=Mr(c),d=Qa(r),f=Qa(n),m=d.includes(u),g=o.some(function($){return Mr($)===u}),v=r,h=o;if(g&&!m)h=o.filter(function($){return Mr($)!==u});else{var p=m?d.filter(function($){return $!==u}):[].concat(ye(d),[u]),C=i(),b;if(m){var y=xr(p,{checked:!1,halfCheckedKeys:f},C);b=y.checkedKeys}else{var S=xr(p,!0,C);b=S.checkedKeys}var x=IC(b,i,s);v=l(x)}t([].concat(ye(h),ye(v)))}}}function LC(e,t,r,n,o){return a.useMemo(function(){var i=o(t),l=ie(i,2),s=l[0],c=l[1];if(!e||!t.length)return[s,[],c];var u=Qa(s),d=r(),f=xr(u,!0,d),m=f.checkedKeys,g=f.halfCheckedKeys;return[n(m),n(g),c]},[e,t,r,n,o])}var wL=a.memo(function(e){var t=e.children;return t},function(e,t){return!t.open});function EL(e){var t,r=e.prefixCls,n=e.checked,o=e.halfChecked,i=e.disabled,l=e.onClick,s=e.disableCheckbox,c=a.useContext(hi),u=c.checkable,d=typeof u!="boolean"?u:null;return a.createElement("span",{className:G("".concat(r),(t={},A(t,"".concat(r,"-checked"),n),A(t,"".concat(r,"-indeterminate"),!n&&o),A(t,"".concat(r,"-disabled"),i||s),t)),onClick:l},d)}var DC="__cascader_fix_label__";function IL(e){var t=e.prefixCls,r=e.multiple,n=e.options,o=e.activeValue,i=e.prevValuePath,l=e.onToggleOpen,s=e.onSelect,c=e.onActive,u=e.checkedSet,d=e.halfCheckedSet,f=e.loadingKeys,m=e.isSelectable,g="".concat(t,"-menu"),v="".concat(t,"-menu-item"),h=a.useContext(hi),p=h.fieldNames,C=h.changeOnSelect,b=h.expandTrigger,y=h.expandIcon,S=h.loadingIcon,x=h.dropdownMenuColumnStyle,$=h.optionRender,w=b==="hover",I=a.useMemo(function(){return n.map(function(E){var O,N=E.disabled,P=E.disableCheckbox,R=E[Wa],M=(O=E[DC])!==null&&O!==void 0?O:E[p.label],D=E[p.value],L=Ai(E,p),T=R?R.map(function(V){return V[p.value]}):[].concat(ye(i),[D]),_=Mr(T),j=f.includes(_),H=u.has(_),k=d.has(_);return{disabled:N,label:M,value:D,isLeaf:L,isLoading:j,checked:H,halfChecked:k,option:E,disableCheckbox:P,fullPath:T,fullPathKey:_}})},[n,u,p,d,f,i]);return a.createElement("ul",{className:g,role:"menu"},I.map(function(E){var O,N=E.disabled,P=E.label,R=E.value,M=E.isLeaf,D=E.isLoading,L=E.checked,T=E.halfChecked,_=E.option,j=E.fullPath,H=E.fullPathKey,k=E.disableCheckbox,V=function(){if(!N){var J=ye(j);w&&M&&J.pop(),c(J)}},F=function(){m(_)&&s(j,M)},q;return typeof _.title=="string"?q=_.title:typeof P=="string"&&(q=P),a.createElement("li",{key:H,className:G(v,(O={},A(O,"".concat(v,"-expand"),!M),A(O,"".concat(v,"-active"),o===R||o===H),A(O,"".concat(v,"-disabled"),N),A(O,"".concat(v,"-loading"),D),O)),style:x,role:"menuitemcheckbox",title:q,"aria-checked":L,"data-path-key":H,onClick:function(){V(),!k&&(!r||M)&&F()},onDoubleClick:function(){C&&l(!1)},onMouseEnter:function(){w&&V()},onMouseDown:function(J){J.preventDefault()}},r&&a.createElement(EL,{prefixCls:"".concat(t,"-checkbox"),checked:L,halfChecked:T,disabled:N||k,disableCheckbox:k,onClick:function(J){k||(J.stopPropagation(),F())}}),a.createElement("div",{className:"".concat(v,"-content")},$?$(_):P),!D&&y&&!M&&a.createElement("div",{className:"".concat(v,"-expand-icon")},y),D&&S&&a.createElement("div",{className:"".concat(v,"-loading-icon")},S))}))}var OL=function(t,r){var n=a.useContext(hi),o=n.values,i=o[0],l=a.useState([]),s=ie(l,2),c=s[0],u=s[1];return a.useEffect(function(){t||u(i||[])},[r,i]),[c,u]};const PL=function(e,t,r,n,o,i,l){var s=l.direction,c=l.searchValue,u=l.toggleOpen,d=l.open,f=s==="rtl",m=a.useMemo(function(){for(var $=-1,w=t,I=[],E=[],O=n.length,N=EC(t,r),P=function(_){var j=w.findIndex(function(H,k){return(N[k]?Mr(N[k]):H[r.value])===n[_]});if(j===-1)return"break";$=j,I.push($),E.push(n[_]),w=w[$][r.children]},R=0;R1){var w=v.slice(0,-1);b(w)}else u(!1)},x=function(){var w,I=((w=p[h])===null||w===void 0?void 0:w[r.children])||[],E=I.find(function(N){return!N.disabled});if(E){var O=[].concat(ye(v),[E[r.value]]);b(O)}};a.useImperativeHandle(e,function(){return{onKeyDown:function(w){var I=w.which;switch(I){case we.UP:case we.DOWN:{var E=0;I===we.UP?E=-1:I===we.DOWN&&(E=1),E!==0&&y(E);break}case we.LEFT:{if(c)break;f?x():S();break}case we.RIGHT:{if(c)break;f?S():x();break}case we.BACKSPACE:{c||S();break}case we.ENTER:{if(v.length){var O=p[h],N=(O==null?void 0:O[Wa])||[];N.length?i(N.map(function(P){return P[r.value]}),N[N.length-1]):i(v,p[h])}break}case we.ESC:u(!1),d&&w.stopPropagation()}},onKeyUp:function(){}}})};var _C=a.forwardRef(function(e,t){var r,n,o,i,l=e.prefixCls,s=e.multiple,c=e.searchValue,u=e.toggleOpen,d=e.notFoundContent,f=e.direction,m=e.open,g=a.useRef(null),v=f==="rtl",h=a.useContext(hi),p=h.options,C=h.values,b=h.halfValues,y=h.fieldNames,S=h.changeOnSelect,x=h.onSelect,$=h.searchOptions,w=h.dropdownPrefixCls,I=h.loadData,E=h.expandTrigger,O=w||l,N=a.useState([]),P=ie(N,2),R=P[0],M=P[1],D=function(U){if(!(!I||c)){var ae=Ja(U,p,y),se=ae.map(function(ce){var ue=ce.option;return ue}),oe=se[se.length-1];if(oe&&!Ai(oe,y)){var re=Mr(U);M(function(ce){return[].concat(ye(ce),[re])}),I(se)}}};a.useEffect(function(){R.length&&R.forEach(function(Q){var U=fL(Q),ae=Ja(U,p,y,!0).map(function(oe){var re=oe.option;return re}),se=ae[ae.length-1];(!se||se[y.children]||Ai(se,y))&&M(function(oe){return oe.filter(function(re){return re!==Q})})})},[p,R,y]);var L=a.useMemo(function(){return new Set(Qa(C))},[C]),T=a.useMemo(function(){return new Set(Qa(b))},[b]),_=OL(s,m),j=ie(_,2),H=j[0],k=j[1],V=function(U){k(U),D(U)},F=function(U){var ae=U.disabled,se=Ai(U,y);return!ae&&(se||S||s)},q=function(U,ae){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;x(U),!s&&(ae||S&&(E==="hover"||se))&&u(!1)},W=a.useMemo(function(){return c?$:p},[c,$,p]),J=a.useMemo(function(){for(var Q=[{options:W}],U=W,ae=EC(U,y),se=function(){var ue=H[oe],fe=U.find(function(de,he){return(ae[he]?Mr(ae[he]):de[y.value])===ue}),be=fe==null?void 0:fe[y.children];if(!(be!=null&&be.length))return"break";U=be,Q.push({options:be})},oe=0;oe":C,y=r.loadingIcon,S=r.direction,x=r.notFoundContent,$=x===void 0?"Not Found":x,w=!!c,I=Ot(u,{value:d,postState:Hs}),E=ie(I,2),O=E[0],N=E[1],P=a.useMemo(function(){return wC(f)},[JSON.stringify(f)]),R=MC(P,s),M=ie(R,3),D=M[0],L=M[1],T=M[2],_=OC(D,P),j=LC(w,O,L,T,_),H=ie(j,3),k=H[0],V=H[1],F=H[2],q=$t(function(ne){if(N(ne),g){var Y=Hs(ne),te=Y.map(function(ae){return Ja(ae,D,P).map(function(se){return se.option})}),Q=w?Y:Y[0],U=w?te:te[0];g(Q,U)}}),W=TC(w,q,k,V,F,L,T,v),J=$t(function(ne){W(ne)}),X=a.useMemo(function(){return{options:D,fieldNames:P,values:k,halfValues:V,changeOnSelect:m,onSelect:J,checkable:c,searchOptions:[],dropdownPrefixCls:void 0,loadData:h,expandTrigger:p,expandIcon:b,loadingIcon:y,dropdownMenuColumnStyle:void 0}},[D,P,k,V,m,J,c,h,p,b,y]),Z="".concat(o,"-panel"),ee=!D.length;return a.createElement(hi.Provider,{value:X},a.createElement("div",{className:G(Z,(t={},A(t,"".concat(Z,"-rtl"),S==="rtl"),A(t,"".concat(Z,"-empty"),ee),t),l),style:i},ee?$:a.createElement(_C,{prefixCls:o,searchValue:"",multiple:w,toggleOpen:ML,open:!0,direction:S})))}var RL=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],Pl=a.forwardRef(function(e,t){var r=e.id,n=e.prefixCls,o=n===void 0?"rc-cascader":n,i=e.fieldNames,l=e.defaultValue,s=e.value,c=e.changeOnSelect,u=e.onChange,d=e.displayRender,f=e.checkable,m=e.autoClearSearchValue,g=m===void 0?!0:m,v=e.searchValue,h=e.onSearch,p=e.showSearch,C=e.expandTrigger,b=e.options,y=e.dropdownPrefixCls,S=e.loadData,x=e.popupVisible,$=e.open,w=e.popupClassName,I=e.dropdownClassName,E=e.dropdownMenuColumnStyle,O=e.dropdownStyle,N=e.popupPlacement,P=e.placement,R=e.onDropdownVisibleChange,M=e.onPopupVisibleChange,D=e.expandIcon,L=D===void 0?">":D,T=e.loadingIcon,_=e.children,j=e.dropdownMatchSelectWidth,H=j===void 0?!1:j,k=e.showCheckedStrategy,V=k===void 0?xC:k,F=e.optionRender,q=ut(e,RL),W=w1(r),J=!!f,X=Ot(l,{value:s,postState:Hs}),Z=ie(X,2),ee=Z[0],ne=Z[1],Y=a.useMemo(function(){return wC(i)},[JSON.stringify(i)]),te=MC(Y,b),Q=ie(te,3),U=Q[0],ae=Q[1],se=Q[2],oe=Ot("",{value:v,postState:function(We){return We||""}}),re=ie(oe,2),ce=re[0],ue=re[1],fe=function(We,He){ue(We),He.source!=="blur"&&h&&h(We)},be=yL(p),de=ie(be,2),he=de[0],Se=de[1],$e=dL(ce,U,Y,y||o,Se,c||J),Ne=OC(U,Y),xe=LC(J,ee,ae,se,Ne),Me=ie(xe,3),Ee=Me[0],Te=Me[1],Re=Me[2],Pe=a.useMemo(function(){var Xe=Qa(Ee),We=IC(Xe,ae,V);return[].concat(ye(Re),ye(se(We)))},[Ee,ae,se,Re,V]),me=vL(Pe,U,Y,J,d),Ce=$t(function(Xe){if(ne(Xe),u){var We=Hs(Xe),He=We.map(function(Ue){return Ja(Ue,U,Y).map(function(_e){return _e.option})}),at=J?We:We[0],Le=J?He:He[0];u(at,Le)}}),pe=TC(J,Ce,Ee,Te,Re,ae,se,V),ge=$t(function(Xe){(!J||g)&&ue(""),pe(Xe)}),Ie=function(We,He){if(He.type==="clear"){Ce([]);return}var at=He.values[0],Le=at.valueCells;ge(Le)},nt=$!==void 0?$:x,Ve=I||w,Ze=P||N,De=function(We){R==null||R(We),M==null||M(We)},Ke=a.useMemo(function(){return{options:U,fieldNames:Y,values:Ee,halfValues:Te,changeOnSelect:c,onSelect:ge,checkable:f,searchOptions:$e,dropdownPrefixCls:y,loadData:S,expandTrigger:C,expandIcon:L,loadingIcon:T,dropdownMenuColumnStyle:E,optionRender:F}},[U,Y,Ee,Te,c,ge,f,$e,y,S,C,L,T,E,F]),Qe=!(ce?$e:U).length,ot=ce&&Se.matchInputWidth||Qe?{}:{minWidth:"auto"};return a.createElement(hi.Provider,{value:Ke},a.createElement(S1,ve({},q,{ref:t,id:W,prefixCls:o,autoClearSearchValue:g,dropdownMatchSelectWidth:H,dropdownStyle:K(K({},ot),O),displayValues:me,onDisplayValuesChange:Ie,mode:J?"multiple":void 0,searchValue:ce,onSearch:fe,showSearch:he,OptionList:NL,emptyOptions:Qe,open:nt,dropdownClassName:Ve,placement:Ze,onDropdownVisibleChange:De,getRawInputElement:function(){return _}})))});Pl.SHOW_PARENT=xC;Pl.SHOW_CHILD=$C;Pl.Panel=kC;function jC(e,t){const{getPrefixCls:r,direction:n,renderEmpty:o}=a.useContext(ke),i=t||n,l=r("select",e),s=r("cascader",e);return[l,s,i,o]}function HC(e,t){return a.useMemo(()=>t?a.createElement("span",{className:`${e}-checkbox-inner`}):!1,[t])}const zC=(e,t,r)=>{let n=r;r||(n=t?a.createElement(ko,null):a.createElement(eo,null));const o=a.createElement("span",{className:`${e}-menu-item-loading-icon`},a.createElement(Lr,{spin:!0}));return a.useMemo(()=>[n,o],[n])},TL=e=>{const{checkboxCls:t}=e,r=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Pt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[r]:Object.assign(Object.assign({},Pt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${r}`]:{marginInlineStart:0},[`&${r}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},_o(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${B(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},rT=e=>{const{componentCls:t,iconCls:r,actionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:l}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:l,borderTop:`${B(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},Tr()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${r}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:B(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${r}`]:{fontSize:o,lineHeight:B(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${i}`}}})},oT=e=>Object.assign(Object.assign({margin:`${B(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Tr()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Mn),"&-description":{color:e.colorTextDescription}}),aT=e=>{const{componentCls:t,cardPaddingBase:r,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${B(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${B(e.padding)} ${B(r)}`}}},iT=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},lT=e=>{const{componentCls:t,cardShadow:r,cardHeadPadding:n,colorBorderSecondary:o,boxShadowTertiary:i,cardPaddingBase:l,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:tT(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:l,borderRadius:`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`},Tr()),[`${t}-grid`]:nT(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:rT(e),[`${t}-meta`]:oT(e)}),[`${t}-bordered`]:{border:`${B(e.lineWidth)} ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${t}-contain-grid`]:{borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:aT(e),[`${t}-loading`]:iT(e),[`${t}-rtl`]:{direction:"rtl"}}},sT=e=>{const{componentCls:t,cardPaddingSM:r,headerHeightSM:n,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${B(r)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:r}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},cT=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),uT=Et("Card",e=>{const t=xt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[lT(t),sT(t)]},cT);var mv=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{actionClasses:t,actions:r=[],actionStyle:n}=e;return a.createElement("ul",{className:t,style:n},r.map((o,i)=>{const l=`action-${i}`;return a.createElement("li",{style:{width:`${100/r.length}%`},key:l},a.createElement("span",null,o))}))},fT=a.forwardRef((e,t)=>{const{prefixCls:r,className:n,rootClassName:o,style:i,extra:l,headStyle:s={},bodyStyle:c={},title:u,loading:d,bordered:f=!0,size:m,type:g,cover:v,actions:h,tabList:p,children:C,activeTabKey:b,defaultActiveTabKey:y,tabBarExtraContent:S,hoverable:x,tabProps:$={},classNames:w,styles:I}=e,E=mv(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:O,direction:N,card:P}=a.useContext(ke),R=re=>{var ce;(ce=e.onTabChange)===null||ce===void 0||ce.call(e,re)},M=re=>{var ce;return G((ce=P==null?void 0:P.classNames)===null||ce===void 0?void 0:ce[re],w==null?void 0:w[re])},D=re=>{var ce;return Object.assign(Object.assign({},(ce=P==null?void 0:P.styles)===null||ce===void 0?void 0:ce[re]),I==null?void 0:I[re])},L=a.useMemo(()=>{let re=!1;return a.Children.forEach(C,ce=>{(ce==null?void 0:ce.type)===g3&&(re=!0)}),re},[C]),T=O("card",r),[_,j,H]=uT(T),k=a.createElement(er,{loading:!0,active:!0,paragraph:{rows:4},title:!1},C),V=b!==void 0,F=Object.assign(Object.assign({},$),{[V?"activeKey":"defaultActiveKey"]:V?b:y,tabBarExtraContent:S});let q;const W=un(m),J=!W||W==="default"?"large":W,X=p?a.createElement(Vc,Object.assign({size:J},F,{className:`${T}-head-tabs`,onChange:R,items:p.map(re=>{var{tab:ce}=re,ue=mv(re,["tab"]);return Object.assign({label:ce},ue)})})):null;if(u||l||X){const re=G(`${T}-head`,M("header")),ce=G(`${T}-head-title`,M("title")),ue=G(`${T}-extra`,M("extra")),fe=Object.assign(Object.assign({},s),D("header"));q=a.createElement("div",{className:re,style:fe},a.createElement("div",{className:`${T}-head-wrapper`},u&&a.createElement("div",{className:ce,style:D("title")},u),l&&a.createElement("div",{className:ue,style:D("extra")},l)),X)}const Z=G(`${T}-cover`,M("cover")),ee=v?a.createElement("div",{className:Z,style:D("cover")},v):null,ne=G(`${T}-body`,M("body")),Y=Object.assign(Object.assign({},c),D("body")),te=a.createElement("div",{className:ne,style:Y},d?k:C),Q=G(`${T}-actions`,M("actions")),U=h!=null&&h.length?a.createElement(dT,{actionClasses:Q,actionStyle:D("actions"),actions:h}):null,ae=Xt(E,["onTabChange"]),se=G(T,P==null?void 0:P.className,{[`${T}-loading`]:d,[`${T}-bordered`]:f,[`${T}-hoverable`]:x,[`${T}-contain-grid`]:L,[`${T}-contain-tabs`]:p==null?void 0:p.length,[`${T}-${W}`]:W,[`${T}-type-${g}`]:!!g,[`${T}-rtl`]:N==="rtl"},n,o,j,H),oe=Object.assign(Object.assign({},P==null?void 0:P.style),i);return _(a.createElement("div",Object.assign({ref:t},ae,{className:se,style:oe}),q,ee,te,U))});var mT=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,avatar:n,title:o,description:i}=e,l=mT(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=a.useContext(ke),c=s("card",t),u=G(`${c}-meta`,r),d=n?a.createElement("div",{className:`${c}-meta-avatar`},n):null,f=o?a.createElement("div",{className:`${c}-meta-title`},o):null,m=i?a.createElement("div",{className:`${c}-meta-description`},i):null,g=f||m?a.createElement("div",{className:`${c}-meta-detail`},f,m):null;return a.createElement("div",Object.assign({},l,{className:u}),d,g)},vT=gT,El=fT;El.Grid=g3;El.Meta=vT;var pT={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function hT(e,t,r){var n=r||{},o=n.noTrailing,i=o===void 0?!1:o,l=n.noLeading,s=l===void 0?!1:l,c=n.debounceMode,u=c===void 0?void 0:c,d,f=!1,m=0;function g(){d&&clearTimeout(d)}function v(p){var C=p||{},b=C.upcomingOnly,y=b===void 0?!1:b;g(),f=!y}function h(){for(var p=arguments.length,C=new Array(p),b=0;be?s?(m=Date.now(),i||(d=setTimeout(u?$:x,e))):x():i!==!0&&(d=setTimeout(u?$:x,u===void 0?e-S:e))}return h.cancel=v,h}function v3(e,t,r){var n=r||{},o=n.atBegin,i=o===void 0?!1:o;return hT(e,t,{debounceMode:i!==!1})}var Cf={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(t){return z.createElement("ul",{style:{display:"block"}},t)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(t){return z.createElement("button",null,t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function bf(e,t,r){return Math.max(t,Math.min(e,r))}var Va=function(t){var r=["onTouchStart","onTouchMove","onWheel"];r.includes(t._reactName)||t.preventDefault()},js=function(t){for(var r=[],n=p3(t),o=h3(t),i=n;i0?1:0):0},bT=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},yf=function(t){return t&&t.offsetWidth||0},Q1=function(t){return t&&t.offsetHeight||0},C3=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n,o,i,l;return n=t.startX-t.curX,o=t.startY-t.curY,i=Math.atan2(o,n),l=Math.round(i*180/Math.PI),l<0&&(l=360-Math.abs(l)),l<=45&&l>=0||l<=360&&l>=315?"left":l>=135&&l<=225?"right":r===!0?l>=35&&l<=135?"up":"down":"vertical"},Wc=function(t){var r=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(r=!1),r},Wu=function(t,r){var n={};return r.forEach(function(o){return n[o]=t[o]}),n},yT=function(t){var r=z.Children.count(t.children),n=t.listRef,o=Math.ceil(yf(n)),i=t.trackRef&&t.trackRef.node,l=Math.ceil(yf(i)),s;if(t.vertical)s=o;else{var c=t.centerMode&&parseInt(t.centerPadding)*2;typeof t.centerPadding=="string"&&t.centerPadding.slice(-1)==="%"&&(c*=o/100),s=Math.ceil((o-c)/t.slidesToShow)}var u=n&&Q1(n.querySelector('[data-index="0"]')),d=u*t.slidesToShow,f=t.currentSlide===void 0?t.initialSlide:t.currentSlide;t.rtl&&t.currentSlide===void 0&&(f=r-1-t.initialSlide);var m=t.lazyLoadedList||[],g=js(K(K({},t),{},{currentSlide:f,lazyLoadedList:m}));m=m.concat(g);var v={slideCount:r,slideWidth:s,listWidth:o,trackWidth:l,currentSlide:f,slideHeight:u,listHeight:d,lazyLoadedList:m};return t.autoplaying===null&&t.autoplay&&(v.autoplaying="playing"),v},ST=function(t){var r=t.waitForAnimate,n=t.animating,o=t.fade,i=t.infinite,l=t.index,s=t.slideCount,c=t.lazyLoad,u=t.currentSlide,d=t.centerMode,f=t.slidesToScroll,m=t.slidesToShow,g=t.useCSS,v=t.lazyLoadedList;if(r&&n)return{};var h=l,p,C,b,y={},S={},x=i?l:bf(l,0,s-1);if(o){if(!i&&(l<0||l>=s))return{};l<0?h=l+s:l>=s&&(h=l-s),c&&v.indexOf(h)<0&&(v=v.concat(h)),y={animating:!0,currentSlide:h,lazyLoadedList:v,targetSlide:h},S={animating:!1,targetSlide:h}}else p=h,h<0?(p=h+s,i?s%f!==0&&(p=s-s%f):p=0):!Wc(t)&&h>u?h=p=u:d&&h>=s?(h=i?s:s-1,p=i?0:s-1):h>=s&&(p=h-s,i?s%f!==0&&(p=0):p=s-m),!i&&h+m>=s&&(p=s-m),C=ol(K(K({},t),{},{slideIndex:h})),b=ol(K(K({},t),{},{slideIndex:p})),i||(C===b&&(h=p),C=b),c&&(v=v.concat(js(K(K({},t),{},{currentSlide:h})))),g?(y={animating:!0,currentSlide:p,trackStyle:b3(K(K({},t),{},{left:C})),lazyLoadedList:v,targetSlide:x},S={animating:!1,currentSlide:p,trackStyle:rl(K(K({},t),{},{left:b})),swipeLeft:null,targetSlide:x}):y={currentSlide:p,trackStyle:rl(K(K({},t),{},{left:b})),lazyLoadedList:v,targetSlide:x};return{state:y,nextState:S}},xT=function(t,r){var n,o,i,l,s,c=t.slidesToScroll,u=t.slidesToShow,d=t.slideCount,f=t.currentSlide,m=t.targetSlide,g=t.lazyLoad,v=t.infinite;if(l=d%c!==0,n=l?0:(d-f)%c,r.message==="previous")i=n===0?c:u-n,s=f-i,g&&!v&&(o=f-i,s=o===-1?d-1:o),v||(s=m-c);else if(r.message==="next")i=n===0?c:n,s=f+i,g&&!v&&(s=(f+c)%d+n),v||(s=m+c);else if(r.message==="dots")s=r.index*r.slidesToScroll;else if(r.message==="children"){if(s=r.index,v){var h=NT(K(K({},t),{},{targetSlide:s}));s>r.currentSlide&&h==="left"?s=s-d:s10)return{scrolling:!0};s&&(b.swipeLength=E);var O=(c?-1:1)*(b.curX>b.startX?1:-1);s&&(O=b.curY>b.startY?1:-1);var N=Math.ceil(h/p),P=C3(r.touchObject,s),R=b.swipeLength;return C||(u===0&&(P==="right"||P==="down")||u+1>=N&&(P==="left"||P==="up")||!Wc(r)&&(P==="left"||P==="up"))&&(R=b.swipeLength*d,f===!1&&m&&(m(P),w.edgeDragged=!0)),!g&&y&&(y(P),w.swiped=!0),i?$=I+R*(S/x)*O:c?$=I-R*O:$=I+R*O,s&&($=I+R*O),w=K(K({},w),{},{touchObject:b,swipeLeft:$,trackStyle:rl(K(K({},r),{},{left:$}))}),Math.abs(b.curX-b.startX)10&&(w.swiping=!0,Va(t)),w}},IT=function(t,r){var n=r.dragging,o=r.swipe,i=r.touchObject,l=r.listWidth,s=r.touchThreshold,c=r.verticalSwiping,u=r.listHeight,d=r.swipeToSlide,f=r.scrolling,m=r.onSwipe,g=r.targetSlide,v=r.currentSlide,h=r.infinite;if(!n)return o&&Va(t),{};var p=c?u/s:l/s,C=C3(i,c),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!i.swipeLength)return b;if(i.swipeLength>p){Va(t),m&&m(C);var y,S,x=h?v:g;switch(C){case"left":case"up":S=x+vv(r),y=d?gv(r,S):S,b.currentDirection=0;break;case"right":case"down":S=x-vv(r),y=d?gv(r,S):S,b.currentDirection=1;break;default:y=x}b.triggerSlideHandler=y}else{var $=ol(r);b.trackStyle=b3(K(K({},r),{},{left:$}))}return b},OT=function(t){for(var r=t.infinite?t.slideCount*2:t.slideCount,n=t.infinite?t.slidesToShow*-1:0,o=t.infinite?t.slidesToShow*-1:0,i=[];nn[n.length-1])r=n[n.length-1];else for(var i in n){if(rt.swipeLeft*-1)return n=c,!1}else if(c.offsetLeft-r+yf(c)/2>t.swipeLeft*-1)return n=c,!1;return!0}),!n)return 0;var l=t.rtl===!0?t.slideCount-t.currentSlide:t.currentSlide,s=Math.abs(n.dataset.index-l)||1;return s}else return t.slidesToScroll},J1=function(t,r){return r.reduce(function(n,o){return n&&t.hasOwnProperty(o)},!0)?null:console.error("Keys Missing:",t)},rl=function(t){J1(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r,n;if(!t.vertical)r=PT(t)*t.slideWidth;else{var o=t.unslick?t.slideCount:t.slideCount+2*t.slidesToShow;n=o*t.slideHeight}var i={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var l=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",s=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",c=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";i=K(K({},i),{},{WebkitTransform:l,transform:s,msTransform:c})}else t.vertical?i.top=t.left:i.left=t.left;return t.fade&&(i={opacity:1}),r&&(i.width=r),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?i.marginTop=t.left+"px":i.marginLeft=t.left+"px"),i},b3=function(t){J1(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var r=rl(t);return t.useTransform?(r.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,r.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?r.transition="top "+t.speed+"ms "+t.cssEase:r.transition="left "+t.speed+"ms "+t.cssEase,r},ol=function(t){if(t.unslick)return 0;J1(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var r=t.slideIndex,n=t.trackRef,o=t.infinite,i=t.centerMode,l=t.slideCount,s=t.slidesToShow,c=t.slidesToScroll,u=t.slideWidth,d=t.listWidth,f=t.variableWidth,m=t.slideHeight,g=t.fade,v=t.vertical,h=0,p,C,b=0;if(g||t.slideCount===1)return 0;var y=0;if(o?(y=-uo(t),l%c!==0&&r+c>l&&(y=-(r>l?s-(r-l):l%c)),i&&(y+=parseInt(s/2))):(l%c!==0&&r+c>l&&(y=s-l%c),i&&(y=parseInt(s/2))),h=y*u,b=y*m,v?p=r*m*-1+b:p=r*u*-1+h,f===!0){var S,x=n&&n.node;if(S=r+uo(t),C=x&&x.childNodes[S],p=C?C.offsetLeft*-1:0,i===!0){S=o?r+uo(t):r,C=x&&x.children[S],p=0;for(var $=0;$t.currentSlide?t.targetSlide>t.currentSlide+MT(t)?"left":"right":t.targetSlide0&&(l+=1),o&&r%2===0&&(l+=1),l}return o?0:r-1},RT=function(t){var r=t.slidesToShow,n=t.centerMode,o=t.rtl,i=t.centerPadding;if(n){var l=(r-1)/2+1;return parseInt(i)>0&&(l+=1),!o&&r%2===0&&(l+=1),l}return o?r-1:0},pv=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},TT=Object.keys(Cf);function LT(e){return TT.reduce(function(t,r){return e.hasOwnProperty(r)&&(t[r]=e[r]),t},{})}function DT(e,t,r){return t=Er(t),ri(e,ai()?Reflect.construct(t,r||[],Er(e).constructor):t.apply(e,r))}var Ku=function(t){var r,n,o,i,l;t.rtl?l=t.slideCount-1-t.index:l=t.index,o=l<0||l>=t.slideCount,t.centerMode?(i=Math.floor(t.slidesToShow/2),n=(l-t.currentSlide)%t.slideCount===0,l>t.currentSlide-i-1&&l<=t.currentSlide+i&&(r=!0)):r=t.currentSlide<=l&&l=t.slideCount?s=t.targetSlide-t.slideCount:s=t.targetSlide;var c=l===s;return{"slick-slide":!0,"slick-active":r,"slick-center":n,"slick-cloned":o,"slick-current":c}},_T=function(t){var r={};return(t.variableWidth===void 0||t.variableWidth===!1)&&(r.width=t.slideWidth),t.fade&&(r.position="relative",t.vertical&&t.slideHeight?r.top=-t.index*parseInt(t.slideHeight):r.left=-t.index*parseInt(t.slideWidth),r.opacity=t.currentSlide===t.index?1:0,r.zIndex=t.currentSlide===t.index?999:998,t.useCSS&&(r.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),r},qu=function(t,r){return t.key+"-"+r},kT=function(t){var r,n=[],o=[],i=[],l=z.Children.count(t.children),s=p3(t),c=h3(t);return z.Children.forEach(t.children,function(u,d){var f,m={message:"children",index:d,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(d)>=0?f=u:f=z.createElement("div",null);var g=_T(K(K({},t),{},{index:d})),v=f.props.className||"",h=Ku(K(K({},t),{},{index:d}));if(n.push(z.cloneElement(f,{key:"original"+qu(f,d),"data-index":d,className:G(h,v),tabIndex:"-1","aria-hidden":!h["slick-active"],style:K(K({outline:"none"},f.props.style||{}),g),onClick:function(b){f.props&&f.props.onClick&&f.props.onClick(b),t.focusOnSelect&&t.focusOnSelect(m)}})),t.infinite&&l>1&&t.fade===!1&&!t.unslick){var p=l-d;p<=uo(t)&&(r=-p,r>=s&&(f=u),h=Ku(K(K({},t),{},{index:r})),o.push(z.cloneElement(f,{key:"precloned"+qu(f,r),"data-index":r,tabIndex:"-1",className:G(h,v),"aria-hidden":!h["slick-active"],style:K(K({},f.props.style||{}),g),onClick:function(b){f.props&&f.props.onClick&&f.props.onClick(b),t.focusOnSelect&&t.focusOnSelect(m)}}))),r=l+d,r=y&&f<=C:f===y}),x={message:"dots",index:h,slidesToScroll:c,currentSlide:f},$=this.clickHandler.bind(this,x);v=v.concat(z.createElement("li",{key:h,className:S},z.cloneElement(this.props.customPaging(h),{onClick:$})))}return z.cloneElement(this.props.appendDots(v),K({className:this.props.dotsClass},g))}}])}(z.PureComponent);function y3(e,t,r){return t=Er(t),ri(e,ai()?Reflect.construct(t,r||[],Er(e).constructor):t.apply(e,r))}var AT=function(e){function t(){return tn(this,t),y3(this,t,arguments)}return Fn(t,e),nn(t,[{key:"clickHandler",value:function(n,o){o&&o.preventDefault(),this.props.clickHandler(n,o)}},{key:"render",value:function(){var n={"slick-arrow":!0,"slick-prev":!0},o=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(n["slick-disabled"]=!0,o=null);var i={key:"0","data-role":"none",className:G(n),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.prevArrow?s=z.cloneElement(this.props.prevArrow,K(K({},i),l)):s=z.createElement("button",ve({key:"0",type:"button"},i)," ","Previous"),s}}])}(z.PureComponent),FT=function(e){function t(){return tn(this,t),y3(this,t,arguments)}return Fn(t,e),nn(t,[{key:"clickHandler",value:function(n,o){o&&o.preventDefault(),this.props.clickHandler(n,o)}},{key:"render",value:function(){var n={"slick-arrow":!0,"slick-next":!0},o=this.clickHandler.bind(this,{message:"next"});Wc(this.props)||(n["slick-disabled"]=!0,o=null);var i={key:"1","data-role":"none",className:G(n),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.nextArrow?s=z.cloneElement(this.props.nextArrow,K(K({},i),l)):s=z.createElement("button",ve({key:"1",type:"button"},i)," ","Next"),s}}])}(z.PureComponent),VT=["animating"];function WT(e,t,r){return t=Er(t),ri(e,ai()?Reflect.construct(t,r||[],Er(e).constructor):t.apply(e,r))}var KT=function(e){function t(r){var n;tn(this,t),n=WT(this,t,[r]),A(n,"listRefHandler",function(i){return n.list=i}),A(n,"trackRefHandler",function(i){return n.track=i}),A(n,"adaptHeight",function(){if(n.props.adaptiveHeight&&n.list){var i=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=Q1(i)+"px"}}),A(n,"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var i=js(K(K({},n.props),n.state));i.length>0&&(n.setState(function(s){return{lazyLoadedList:s.lazyLoadedList.concat(i)}}),n.props.onLazyLoad&&n.props.onLazyLoad(i))}var l=K({listRef:n.list,trackRef:n.track},n.props);n.updateState(l,!0,function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")}),n.props.lazyLoad==="progressive"&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new qh(function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout(function(){return n.onWindowResized()},n.props.speed))):n.onWindowResized()}),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(s){s.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,s.onblur=n.props.pauseOnFocus?n.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)}),A(n,"componentWillUnmount",function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach(function(i){return clearTimeout(i)}),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()}),A(n,"componentDidUpdate",function(i){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var l=js(K(K({},n.props),n.state));l.length>0&&(n.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(l)}}),n.props.onLazyLoad&&n.props.onLazyLoad(l))}n.adaptHeight();var s=K(K({listRef:n.list,trackRef:n.track},n.props),n.state),c=n.didPropsChange(i);c&&n.updateState(s,c,function(){n.state.currentSlide>=z.Children.count(n.props.children)&&n.changeSlide({message:"index",index:z.Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),(i.autoplay!==n.props.autoplay||i.autoplaySpeed!==n.props.autoplaySpeed)&&(!i.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))})}),A(n,"onWindowResized",function(i){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=v3(50,function(){return n.resizeWindow(i)}),n.debouncedResize()}),A(n,"resizeWindow",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,l=!!(n.track&&n.track.node);if(l){var s=K(K({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(s,i,function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")}),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}}),A(n,"updateState",function(i,l,s){var c=yT(i);i=K(K(K({},i),c),{},{slideIndex:c.currentSlide});var u=ol(i);i=K(K({},i),{},{left:u});var d=rl(i);(l||z.Children.count(n.props.children)!==z.Children.count(i.children))&&(c.trackStyle=d),n.setState(c,s)}),A(n,"ssrInit",function(){if(n.props.variableWidth){var i=0,l=0,s=[],c=uo(K(K(K({},n.props),n.state),{},{slideCount:n.props.children.length})),u=bs(K(K(K({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach(function($){s.push($.props.style.width),i+=$.props.style.width});for(var d=0;d=l&&n.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var d=c.onclick;c.onclick=function(f){d(f),c.parentNode.focus()}}c.onload||(n.props.lazyLoad?c.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(c.onload=u,c.onerror=function(){u(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))})}),A(n,"progressiveLazyLoad",function(){for(var i=[],l=K(K({},n.props),n.state),s=n.state.currentSlide;s=-uo(l);c--)if(n.state.lazyLoadedList.indexOf(c)<0){i.push(c);break}i.length>0?(n.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(i)}}),n.props.onLazyLoad&&n.props.onLazyLoad(i)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)}),A(n,"slideHandler",function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=n.props,c=s.asNavFor,u=s.beforeChange,d=s.onLazyLoad,f=s.speed,m=s.afterChange,g=n.state.currentSlide,v=ST(K(K(K({index:i},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!l})),h=v.state,p=v.nextState;if(h){u&&u(g,h.currentSlide);var C=h.lazyLoadedList.filter(function(b){return n.state.lazyLoadedList.indexOf(b)<0});d&&C.length>0&&d(C),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),m&&m(g),delete n.animationEndCallback),n.setState(h,function(){c&&n.asNavForIndex!==i&&(n.asNavForIndex=i,c.innerSlider.slideHandler(i)),p&&(n.animationEndCallback=setTimeout(function(){var b=p.animating,y=ut(p,VT);n.setState(y,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:b})},10)),m&&m(h.currentSlide),delete n.animationEndCallback})},f))})}}),A(n,"changeSlide",function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=K(K({},n.props),n.state),c=xT(s,i);if(!(c!==0&&!c)&&(l===!0?n.slideHandler(c,l):n.slideHandler(c),n.props.autoplay&&n.autoPlay("update"),n.props.focusOnSelect)){var u=n.list.querySelectorAll(".slick-current");u[0]&&u[0].focus()}}),A(n,"clickHandler",function(i){n.clickable===!1&&(i.stopPropagation(),i.preventDefault()),n.clickable=!0}),A(n,"keyHandler",function(i){var l=$T(i,n.props.accessibility,n.props.rtl);l!==""&&n.changeSlide({message:l})}),A(n,"selectHandler",function(i){n.changeSlide(i)}),A(n,"disableBodyScroll",function(){var i=function(s){s=s||window.event,s.preventDefault&&s.preventDefault(),s.returnValue=!1};window.ontouchmove=i}),A(n,"enableBodyScroll",function(){window.ontouchmove=null}),A(n,"swipeStart",function(i){n.props.verticalSwiping&&n.disableBodyScroll();var l=wT(i,n.props.swipe,n.props.draggable);l!==""&&n.setState(l)}),A(n,"swipeMove",function(i){var l=ET(i,K(K(K({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));l&&(l.swiping&&(n.clickable=!1),n.setState(l))}),A(n,"swipeEnd",function(i){var l=IT(i,K(K(K({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(l){var s=l.triggerSlideHandler;delete l.triggerSlideHandler,n.setState(l),s!==void 0&&(n.slideHandler(s),n.props.verticalSwiping&&n.enableBodyScroll())}}),A(n,"touchEnd",function(i){n.swipeEnd(i),n.clickable=!0}),A(n,"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),A(n,"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),A(n,"slickGoTo",function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(i=Number(i),isNaN(i))return"";n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"index",index:i,currentSlide:n.state.currentSlide},l)},0))}),A(n,"play",function(){var i;if(n.props.rtl)i=n.state.currentSlide-n.props.slidesToScroll;else if(Wc(K(K({},n.props),n.state)))i=n.state.currentSlide+n.props.slidesToScroll;else return!1;n.slideHandler(i)}),A(n,"autoPlay",function(i){n.autoplayTimer&&clearInterval(n.autoplayTimer);var l=n.state.autoplaying;if(i==="update"){if(l==="hovered"||l==="focused"||l==="paused")return}else if(i==="leave"){if(l==="paused"||l==="focused")return}else if(i==="blur"&&(l==="paused"||l==="hovered"))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})}),A(n,"pause",function(i){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var l=n.state.autoplaying;i==="paused"?n.setState({autoplaying:"paused"}):i==="focused"?(l==="hovered"||l==="playing")&&n.setState({autoplaying:"focused"}):l==="playing"&&n.setState({autoplaying:"hovered"})}),A(n,"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),A(n,"onDotsLeave",function(){return n.props.autoplay&&n.state.autoplaying==="hovered"&&n.autoPlay("leave")}),A(n,"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),A(n,"onTrackLeave",function(){return n.props.autoplay&&n.state.autoplaying==="hovered"&&n.autoPlay("leave")}),A(n,"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),A(n,"onSlideBlur",function(){return n.props.autoplay&&n.state.autoplaying==="focused"&&n.autoPlay("blur")}),A(n,"render",function(){var i=G("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=K(K({},n.props),n.state),s=Wu(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=n.props.pauseOnHover;s=K(K({},s),{},{onMouseEnter:c?n.onTrackOver:null,onMouseLeave:c?n.onTrackLeave:null,onMouseOver:c?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null});var u;if(n.props.dots===!0&&n.state.slideCount>=n.props.slidesToShow){var d=Wu(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=n.props.pauseOnDotsHover;d=K(K({},d),{},{clickHandler:n.changeSlide,onMouseEnter:f?n.onDotsLeave:null,onMouseOver:f?n.onDotsOver:null,onMouseLeave:f?n.onDotsLeave:null}),u=z.createElement(BT,d)}var m,g,v=Wu(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=n.changeSlide,n.props.arrows&&(m=z.createElement(AT,v),g=z.createElement(FT,v));var h=null;n.props.vertical&&(h={height:n.state.listHeight});var p=null;n.props.vertical===!1?n.props.centerMode===!0&&(p={padding:"0px "+n.props.centerPadding}):n.props.centerMode===!0&&(p={padding:n.props.centerPadding+" 0px"});var C=K(K({},h),p),b=n.props.touchMove,y={className:"slick-list",style:C,onClick:n.clickHandler,onMouseDown:b?n.swipeStart:null,onMouseMove:n.state.dragging&&b?n.swipeMove:null,onMouseUp:b?n.swipeEnd:null,onMouseLeave:n.state.dragging&&b?n.swipeEnd:null,onTouchStart:b?n.swipeStart:null,onTouchMove:n.state.dragging&&b?n.swipeMove:null,onTouchEnd:b?n.touchEnd:null,onTouchCancel:n.state.dragging&&b?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},S={className:i,dir:"ltr",style:n.props.style};return n.props.unslick&&(y={className:"slick-list"},S={className:i,style:n.props.style}),z.createElement("div",S,n.props.unslick?"":m,z.createElement("div",ve({ref:n.listRefHandler},y),z.createElement(jT,ve({ref:n.trackRefHandler},s),n.props.children)),n.props.unslick?"":g,n.props.unslick?"":u)}),n.list=null,n.track=null,n.state=K(K({},pT),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:z.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var o=n.ssrInit();return n.state=K(K({},n.state),o),n}return Fn(t,e),nn(t,[{key:"didPropsChange",value:function(n){for(var o=!1,i=0,l=Object.keys(this.props);i1&&arguments[1]!==void 0?arguments[1]:!1;return n.innerSlider.slickGoTo(o,i)}),A(n,"slickPause",function(){return n.innerSlider.pause("paused")}),A(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return Fn(t,e),nn(t,[{key:"media",value:function(n,o){var i=window.matchMedia(n),l=function(c){var u=c.matches;u&&o()};i.addListener(l),l(i),this._responsiveMediaHandlers.push({mql:i,query:n,listener:l})}},{key:"componentDidMount",value:function(){var n=this;if(this.props.responsive){var o=this.props.responsive.map(function(l){return l.breakpoint});o.sort(function(l,s){return l-s}),o.forEach(function(l,s){var c;s===0?c=Gu({minWidth:0,maxWidth:l}):c=Gu({minWidth:o[s-1]+1,maxWidth:l}),pv()&&n.media(c,function(){n.setState({breakpoint:l})})});var i=Gu({minWidth:o.slice(-1)[0]});pv()&&this.media(i,function(){n.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(n){n.mql.removeListener(n.listener)})}},{key:"render",value:function(){var n=this,o,i;this.state.breakpoint?(i=this.props.responsive.filter(function(h){return h.breakpoint===n.state.breakpoint}),o=i[0].settings==="unslick"?"unslick":K(K(K({},Cf),this.props),i[0].settings)):o=K(K({},Cf),this.props),o.centerMode&&(o.slidesToScroll>1,o.slidesToScroll=1),o.fade&&(o.slidesToShow>1,o.slidesToScroll>1,o.slidesToShow=1,o.slidesToScroll=1);var l=z.Children.toArray(this.props.children);l=l.filter(function(h){return typeof h=="string"?!!h.trim():!!h}),o.variableWidth&&(o.rows>1||o.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),o.variableWidth=!1);for(var s=[],c=null,u=0;u=l.length));g+=1)m.push(z.cloneElement(l[g],{key:100*u+10*f+g,tabIndex:-1,style:{width:"".concat(100/o.slidesPerRow,"%"),display:"inline-block"}}));d.push(z.createElement("div",{key:10*u+f},m))}o.variableWidth?s.push(z.createElement("div",{key:u,style:{width:c}},d)):s.push(z.createElement("div",{key:u},d))}if(o==="unslick"){var v="regular slider "+(this.props.className||"");return z.createElement("div",{className:v},l)}else s.length<=o.slidesToShow&&!o.infinite&&(o.unslick=!0);return z.createElement(KT,ve({style:this.props.style,ref:this.innerSliderRefHandler},LT(o)),s)}}])}(z.Component);const eL=e=>{const{componentCls:t,antCls:r}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}})}},tL=e=>{const{componentCls:t,motionDurationSlow:r,arrowSize:n,arrowOffset:o}=e,i=e.calc(n).div(Math.SQRT2).equal();return[{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:n,height:n,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:`opacity ${r}`,"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(n).sub(i).div(2).equal(),insetInlineStart:e.calc(n).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineWidth:"2px 0",borderBlockWidth:"2px 0",borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:o,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:o,"&::after":{transform:"rotate(135deg)"}}}}]},nL=e=>{const{componentCls:t,dotOffset:r,dotWidth:n,dotHeight:o,dotGap:i,colorBgContainer:l,motionDurationSlow:s}=e;return[{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:r},"&-top":{top:r,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:n,height:o,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${s}`,button:{position:"relative",display:"block",width:"100%",height:o,padding:0,color:"transparent",fontSize:0,background:l,border:0,borderRadius:o,outline:"none",cursor:"pointer",opacity:.2,transition:`all ${s}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:l,opacity:1},"&: hover, &:focus":{opacity:1}}}}}}]},rL=e=>{const{componentCls:t,dotOffset:r,arrowOffset:n,marginXXS:o}=e,i={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:n,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:n,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:r},"&-right":{insetInlineEnd:r,insetInlineStart:"auto"},li:Object.assign(Object.assign({},i),{margin:`${B(o)} 0`,verticalAlign:"baseline",button:i,"&.slick-active":Object.assign(Object.assign({},i),{button:i})})}}}},oL=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},aL=e=>({arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24}),iL=Et("Carousel",e=>[eL(e),tL(e),nL(e),rL(e),oL(e)],aL,{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var S3=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t=S3(e,["currentSlide","slideCount"]);return a.createElement("button",Object.assign({type:"button"},t))},lL=a.forwardRef((e,t)=>{const{dots:r=!0,arrows:n=!1,prevArrow:o=a.createElement(bv,{"aria-label":"prev"}),nextArrow:i=a.createElement(bv,{"aria-label":"next"}),draggable:l=!1,waitForAnimate:s=!1,dotPosition:c="bottom",vertical:u=c==="left"||c==="right",rootClassName:d,className:f,style:m,id:g}=e,v=S3(e,["dots","arrows","prevArrow","nextArrow","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:h,direction:p,carousel:C}=a.useContext(ke),b=a.useRef(),y=function(R){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;b.current.slickGoTo(R,M)};a.useImperativeHandle(t,()=>({goTo:y,autoPlay:b.current.innerSlider.autoPlay,innerSlider:b.current.innerSlider,prev:b.current.slickPrev,next:b.current.slickNext}),[b.current]);const S=a.useRef(a.Children.count(e.children));a.useEffect(()=>{S.current!==a.Children.count(e.children)&&(y(e.initialSlide||0,!1),S.current=a.Children.count(e.children))},[e.children]);const x=Object.assign({vertical:u,className:G(f,C==null?void 0:C.className),style:Object.assign(Object.assign({},C==null?void 0:C.style),m)},v);x.effect==="fade"&&(x.fade=!0);const $=h("carousel",x.prefixCls),w=!!r,I=G(Cv,`${Cv}-${c}`,typeof r=="boolean"?!1:r==null?void 0:r.className),[E,O,N]=iL($),P=G($,{[`${$}-rtl`]:p==="rtl",[`${$}-vertical`]:x.vertical},O,N,d);return E(a.createElement("div",{className:P,id:g},a.createElement(JT,Object.assign({ref:b},x,{dots:w,dotsClass:I,arrows:n,prevArrow:o,nextArrow:i,draggable:l,verticalSwiping:u,waitForAnimate:s}))))}),sL=lL;var hi=a.createContext({}),Wa="__rc_cascader_search_mark__",cL=function(t,r,n){var o=n.label,i=o===void 0?"":o;return r.some(function(l){return String(l[i]).toLowerCase().includes(t.toLowerCase())})},uL=function(t,r,n,o){return r.map(function(i){return i[o.label]}).join(" / ")},dL=function(t,r,n,o,i,l){var s=i.filter,c=s===void 0?cL:s,u=i.render,d=u===void 0?uL:u,f=i.limit,m=f===void 0?50:f,g=i.sort;return a.useMemo(function(){var v=[];if(!t)return[];function h(p,C){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;p.forEach(function(y){if(!(!g&&m!==!1&&m>0&&v.length>=m)){var S=[].concat(ye(C),[y]),x=y[n.children],$=b||y.disabled;if((!x||x.length===0||l)&&c(t,S,{label:n.label})){var w;v.push(K(K({},y),{},(w={disabled:$},A(w,n.label,d(t,S,o,n)),A(w,Wa,S),A(w,n.children,void 0),w)))}x&&h(y[n.children],S,$)}})}return h(r,[]),g&&v.sort(function(p,C){return g(p[Wa],C[Wa],t,n)}),m!==!1&&m>0?v.slice(0,m):v},[t,r,n,o,d,l,c,g,m])},em="__RC_CASCADER_SPLIT__",x3="SHOW_PARENT",$3="SHOW_CHILD";function Mr(e){return e.join(em)}function Qa(e){return e.map(Mr)}function fL(e){return e.split(em)}function w3(e){var t=e||{},r=t.label,n=t.value,o=t.children,i=n||"value";return{label:r||"label",value:i,key:i,children:o||"children"}}function Ai(e,t){var r,n;return(r=e.isLeaf)!==null&&r!==void 0?r:!((n=e[t.children])!==null&&n!==void 0&&n.length)}function mL(e){var t=e.parentElement;if(t){var r=e.offsetTop-t.offsetTop;r-t.scrollTop<0?t.scrollTo({top:r}):r+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:r+e.offsetHeight-t.offsetHeight})}}function E3(e,t){return e.map(function(r){var n;return(n=r[Wa])===null||n===void 0?void 0:n.map(function(o){return o[t.value]})})}function gL(e){return Array.isArray(e)&&Array.isArray(e[0])}function Hs(e){return e?gL(e)?e:(e.length===0?[]:[e]).map(function(t){return Array.isArray(t)?t:[t]}):[]}function I3(e,t,r){var n=new Set(e),o=t();return e.filter(function(i){var l=o[i],s=l?l.parent:null,c=l?l.children:null;return l&&l.node.disabled?!0:r===$3?!(c&&c.some(function(u){return u.key&&n.has(u.key)})):!(s&&!s.node.disabled&&n.has(s.key))})}function Ja(e,t,r){for(var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=t,i=[],l=function(){var u,d,f,m=e[s],g=(u=o)===null||u===void 0?void 0:u.findIndex(function(h){var p=h[r.value];return n?String(p)===String(m):p===m}),v=g!==-1?(d=o)===null||d===void 0?void 0:d[g]:null;i.push({value:(f=v==null?void 0:v[r.value])!==null&&f!==void 0?f:m,index:g,option:v}),o=v==null?void 0:v[r.children]},s=0;s1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(m,g){for(var v=P3(f?f.pos:"0",g),h=Il(m[i],v),p,C=0;C1&&arguments[1]!==void 0?arguments[1]:{},r=t.initWrapper,n=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,l=t.childrenPropName,s=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,u=i||c,d={},f={},m={posEntities:d,keyEntities:f};return r&&(m=r(m)||m),CL(e,function(g){var v=g.node,h=g.index,p=g.pos,C=g.key,b=g.parentPos,y=g.level,S=g.nodes,x={node:v,nodes:S,index:h,key:C,pos:p,level:y},$=Il(C,p);d[p]=x,f[$]=x,x.parent=d[b],x.parent&&(x.parent.children=x.parent.children||[],x.parent.children.push(x)),n&&n(x,m)},{externalGetKey:u,childrenPropName:l,fieldNames:s}),o&&o(m),m}function Ui(e,t){var r=t.expandedKeys,n=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,l=t.checkedKeys,s=t.halfCheckedKeys,c=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,f=rr(d,e),m={eventKey:e,expanded:r.indexOf(e)!==-1,selected:n.indexOf(e)!==-1,loaded:o.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:l.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:c===e&&u===0,dragOverGapTop:c===e&&u===-1,dragOverGapBottom:c===e&&u===1};return m}function Pn(e){var t=e.data,r=e.expanded,n=e.selected,o=e.checked,i=e.loaded,l=e.loading,s=e.halfChecked,c=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,f=e.pos,m=e.active,g=e.eventKey,v=K(K({},t),{},{expanded:r,selected:n,checked:o,loaded:i,loading:l,halfChecked:s,dragOver:c,dragOverGapTop:u,dragOverGapBottom:d,pos:f,active:m,key:g});return"props"in v||Object.defineProperty(v,"props",{get:function(){return Jt(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),v}const bL=function(e,t){var r=a.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),n=a.useCallback(function(){return r.current.options!==e&&(r.current.options=e,r.current.info=Ol(e,{fieldNames:t,initWrapper:function(i){return K(K({},i),{},{pathKeyEntities:{}})},processEntity:function(i,l){var s=i.nodes.map(function(c){return c[t.value]}).join(em);l.pathKeyEntities[s]=i,i.key=s}})),r.current.info.pathKeyEntities},[t,e]);return n};function M3(e,t){var r=a.useMemo(function(){return t||[]},[t]),n=bL(r,e),o=a.useCallback(function(i){var l=n();return i.map(function(s){var c=l[s].nodes;return c.map(function(u){return u[e.value]})})},[n,e]);return[r,n,o]}function yL(e){return a.useMemo(function(){if(!e)return[!1,{}];var t={matchInputWidth:!0,limit:50};return e&&bt(e)==="object"&&(t=K(K({},t),e)),t.limit<=0&&delete t.limit,[!0,t]},[e])}function R3(e,t){var r=new Set;return e.forEach(function(n){t.has(n)||r.add(n)}),r}function SL(e){var t=e||{},r=t.disabled,n=t.disableCheckbox,o=t.checkable;return!!(r||n)||o===!1}function xL(e,t,r,n){for(var o=new Set(e),i=new Set,l=0;l<=r;l+=1){var s=t.get(l)||new Set;s.forEach(function(f){var m=f.key,g=f.node,v=f.children,h=v===void 0?[]:v;o.has(m)&&!n(g)&&h.filter(function(p){return!n(p.node)}).forEach(function(p){o.add(p.key)})})}for(var c=new Set,u=r;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(f){var m=f.parent,g=f.node;if(!(n(g)||!f.parent||c.has(f.parent.key))){if(n(f.parent.node)){c.add(m.key);return}var v=!0,h=!1;(m.children||[]).filter(function(p){return!n(p.node)}).forEach(function(p){var C=p.key,b=o.has(C);v&&!b&&(v=!1),!h&&(b||i.has(C))&&(h=!0)}),v&&o.add(m.key),h&&i.add(m.key),c.add(m.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(R3(i,o))}}function $L(e,t,r,n,o){for(var i=new Set(e),l=new Set(t),s=0;s<=n;s+=1){var c=r.get(s)||new Set;c.forEach(function(m){var g=m.key,v=m.node,h=m.children,p=h===void 0?[]:h;!i.has(g)&&!l.has(g)&&!o(v)&&p.filter(function(C){return!o(C.node)}).forEach(function(C){i.delete(C.key)})})}l=new Set;for(var u=new Set,d=n;d>=0;d-=1){var f=r.get(d)||new Set;f.forEach(function(m){var g=m.parent,v=m.node;if(!(o(v)||!m.parent||u.has(m.parent.key))){if(o(m.parent.node)){u.add(g.key);return}var h=!0,p=!1;(g.children||[]).filter(function(C){return!o(C.node)}).forEach(function(C){var b=C.key,y=i.has(b);h&&!y&&(h=!1),!p&&(y||l.has(b))&&(p=!0)}),h||i.delete(g.key),p&&l.add(g.key),u.add(g.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(R3(l,i))}}function xr(e,t,r,n){var o=[],i;n?i=n:i=SL;var l=new Set(e.filter(function(d){var f=!!rr(r,d);return f||o.push(d),f})),s=new Map,c=0;Object.keys(r).forEach(function(d){var f=r[d],m=f.level,g=s.get(m);g||(g=new Set,s.set(m,g)),g.add(f),c=Math.max(c,m)}),Jt(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=xL(l,s,c,i):u=$L(l,t.halfCheckedKeys,s,c,i),u}function T3(e,t,r,n,o,i,l,s){return function(c){if(!e)t(c);else{var u=Mr(c),d=Qa(r),f=Qa(n),m=d.includes(u),g=o.some(function($){return Mr($)===u}),v=r,h=o;if(g&&!m)h=o.filter(function($){return Mr($)!==u});else{var p=m?d.filter(function($){return $!==u}):[].concat(ye(d),[u]),C=i(),b;if(m){var y=xr(p,{checked:!1,halfCheckedKeys:f},C);b=y.checkedKeys}else{var S=xr(p,!0,C);b=S.checkedKeys}var x=I3(b,i,s);v=l(x)}t([].concat(ye(h),ye(v)))}}}function L3(e,t,r,n,o){return a.useMemo(function(){var i=o(t),l=ie(i,2),s=l[0],c=l[1];if(!e||!t.length)return[s,[],c];var u=Qa(s),d=r(),f=xr(u,!0,d),m=f.checkedKeys,g=f.halfCheckedKeys;return[n(m),n(g),c]},[e,t,r,n,o])}var wL=a.memo(function(e){var t=e.children;return t},function(e,t){return!t.open});function EL(e){var t,r=e.prefixCls,n=e.checked,o=e.halfChecked,i=e.disabled,l=e.onClick,s=e.disableCheckbox,c=a.useContext(hi),u=c.checkable,d=typeof u!="boolean"?u:null;return a.createElement("span",{className:G("".concat(r),(t={},A(t,"".concat(r,"-checked"),n),A(t,"".concat(r,"-indeterminate"),!n&&o),A(t,"".concat(r,"-disabled"),i||s),t)),onClick:l},d)}var D3="__cascader_fix_label__";function IL(e){var t=e.prefixCls,r=e.multiple,n=e.options,o=e.activeValue,i=e.prevValuePath,l=e.onToggleOpen,s=e.onSelect,c=e.onActive,u=e.checkedSet,d=e.halfCheckedSet,f=e.loadingKeys,m=e.isSelectable,g="".concat(t,"-menu"),v="".concat(t,"-menu-item"),h=a.useContext(hi),p=h.fieldNames,C=h.changeOnSelect,b=h.expandTrigger,y=h.expandIcon,S=h.loadingIcon,x=h.dropdownMenuColumnStyle,$=h.optionRender,w=b==="hover",I=a.useMemo(function(){return n.map(function(E){var O,N=E.disabled,P=E.disableCheckbox,R=E[Wa],M=(O=E[D3])!==null&&O!==void 0?O:E[p.label],D=E[p.value],L=Ai(E,p),T=R?R.map(function(V){return V[p.value]}):[].concat(ye(i),[D]),_=Mr(T),j=f.includes(_),H=u.has(_),k=d.has(_);return{disabled:N,label:M,value:D,isLeaf:L,isLoading:j,checked:H,halfChecked:k,option:E,disableCheckbox:P,fullPath:T,fullPathKey:_}})},[n,u,p,d,f,i]);return a.createElement("ul",{className:g,role:"menu"},I.map(function(E){var O,N=E.disabled,P=E.label,R=E.value,M=E.isLeaf,D=E.isLoading,L=E.checked,T=E.halfChecked,_=E.option,j=E.fullPath,H=E.fullPathKey,k=E.disableCheckbox,V=function(){if(!N){var J=ye(j);w&&M&&J.pop(),c(J)}},F=function(){m(_)&&s(j,M)},q;return typeof _.title=="string"?q=_.title:typeof P=="string"&&(q=P),a.createElement("li",{key:H,className:G(v,(O={},A(O,"".concat(v,"-expand"),!M),A(O,"".concat(v,"-active"),o===R||o===H),A(O,"".concat(v,"-disabled"),N),A(O,"".concat(v,"-loading"),D),O)),style:x,role:"menuitemcheckbox",title:q,"aria-checked":L,"data-path-key":H,onClick:function(){V(),!k&&(!r||M)&&F()},onDoubleClick:function(){C&&l(!1)},onMouseEnter:function(){w&&V()},onMouseDown:function(J){J.preventDefault()}},r&&a.createElement(EL,{prefixCls:"".concat(t,"-checkbox"),checked:L,halfChecked:T,disabled:N||k,disableCheckbox:k,onClick:function(J){k||(J.stopPropagation(),F())}}),a.createElement("div",{className:"".concat(v,"-content")},$?$(_):P),!D&&y&&!M&&a.createElement("div",{className:"".concat(v,"-expand-icon")},y),D&&S&&a.createElement("div",{className:"".concat(v,"-loading-icon")},S))}))}var OL=function(t,r){var n=a.useContext(hi),o=n.values,i=o[0],l=a.useState([]),s=ie(l,2),c=s[0],u=s[1];return a.useEffect(function(){t||u(i||[])},[r,i]),[c,u]};const PL=function(e,t,r,n,o,i,l){var s=l.direction,c=l.searchValue,u=l.toggleOpen,d=l.open,f=s==="rtl",m=a.useMemo(function(){for(var $=-1,w=t,I=[],E=[],O=n.length,N=E3(t,r),P=function(_){var j=w.findIndex(function(H,k){return(N[k]?Mr(N[k]):H[r.value])===n[_]});if(j===-1)return"break";$=j,I.push($),E.push(n[_]),w=w[$][r.children]},R=0;R1){var w=v.slice(0,-1);b(w)}else u(!1)},x=function(){var w,I=((w=p[h])===null||w===void 0?void 0:w[r.children])||[],E=I.find(function(N){return!N.disabled});if(E){var O=[].concat(ye(v),[E[r.value]]);b(O)}};a.useImperativeHandle(e,function(){return{onKeyDown:function(w){var I=w.which;switch(I){case we.UP:case we.DOWN:{var E=0;I===we.UP?E=-1:I===we.DOWN&&(E=1),E!==0&&y(E);break}case we.LEFT:{if(c)break;f?x():S();break}case we.RIGHT:{if(c)break;f?S():x();break}case we.BACKSPACE:{c||S();break}case we.ENTER:{if(v.length){var O=p[h],N=(O==null?void 0:O[Wa])||[];N.length?i(N.map(function(P){return P[r.value]}),N[N.length-1]):i(v,p[h])}break}case we.ESC:u(!1),d&&w.stopPropagation()}},onKeyUp:function(){}}})};var _3=a.forwardRef(function(e,t){var r,n,o,i,l=e.prefixCls,s=e.multiple,c=e.searchValue,u=e.toggleOpen,d=e.notFoundContent,f=e.direction,m=e.open,g=a.useRef(null),v=f==="rtl",h=a.useContext(hi),p=h.options,C=h.values,b=h.halfValues,y=h.fieldNames,S=h.changeOnSelect,x=h.onSelect,$=h.searchOptions,w=h.dropdownPrefixCls,I=h.loadData,E=h.expandTrigger,O=w||l,N=a.useState([]),P=ie(N,2),R=P[0],M=P[1],D=function(U){if(!(!I||c)){var ae=Ja(U,p,y),se=ae.map(function(ce){var ue=ce.option;return ue}),oe=se[se.length-1];if(oe&&!Ai(oe,y)){var re=Mr(U);M(function(ce){return[].concat(ye(ce),[re])}),I(se)}}};a.useEffect(function(){R.length&&R.forEach(function(Q){var U=fL(Q),ae=Ja(U,p,y,!0).map(function(oe){var re=oe.option;return re}),se=ae[ae.length-1];(!se||se[y.children]||Ai(se,y))&&M(function(oe){return oe.filter(function(re){return re!==Q})})})},[p,R,y]);var L=a.useMemo(function(){return new Set(Qa(C))},[C]),T=a.useMemo(function(){return new Set(Qa(b))},[b]),_=OL(s,m),j=ie(_,2),H=j[0],k=j[1],V=function(U){k(U),D(U)},F=function(U){var ae=U.disabled,se=Ai(U,y);return!ae&&(se||S||s)},q=function(U,ae){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;x(U),!s&&(ae||S&&(E==="hover"||se))&&u(!1)},W=a.useMemo(function(){return c?$:p},[c,$,p]),J=a.useMemo(function(){for(var Q=[{options:W}],U=W,ae=E3(U,y),se=function(){var ue=H[oe],fe=U.find(function(de,he){return(ae[he]?Mr(ae[he]):de[y.value])===ue}),be=fe==null?void 0:fe[y.children];if(!(be!=null&&be.length))return"break";U=be,Q.push({options:be})},oe=0;oe":C,y=r.loadingIcon,S=r.direction,x=r.notFoundContent,$=x===void 0?"Not Found":x,w=!!c,I=Ot(u,{value:d,postState:Hs}),E=ie(I,2),O=E[0],N=E[1],P=a.useMemo(function(){return w3(f)},[JSON.stringify(f)]),R=M3(P,s),M=ie(R,3),D=M[0],L=M[1],T=M[2],_=O3(D,P),j=L3(w,O,L,T,_),H=ie(j,3),k=H[0],V=H[1],F=H[2],q=$t(function(ne){if(N(ne),g){var Y=Hs(ne),te=Y.map(function(ae){return Ja(ae,D,P).map(function(se){return se.option})}),Q=w?Y:Y[0],U=w?te:te[0];g(Q,U)}}),W=T3(w,q,k,V,F,L,T,v),J=$t(function(ne){W(ne)}),X=a.useMemo(function(){return{options:D,fieldNames:P,values:k,halfValues:V,changeOnSelect:m,onSelect:J,checkable:c,searchOptions:[],dropdownPrefixCls:void 0,loadData:h,expandTrigger:p,expandIcon:b,loadingIcon:y,dropdownMenuColumnStyle:void 0}},[D,P,k,V,m,J,c,h,p,b,y]),Z="".concat(o,"-panel"),ee=!D.length;return a.createElement(hi.Provider,{value:X},a.createElement("div",{className:G(Z,(t={},A(t,"".concat(Z,"-rtl"),S==="rtl"),A(t,"".concat(Z,"-empty"),ee),t),l),style:i},ee?$:a.createElement(_3,{prefixCls:o,searchValue:"",multiple:w,toggleOpen:ML,open:!0,direction:S})))}var RL=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],Pl=a.forwardRef(function(e,t){var r=e.id,n=e.prefixCls,o=n===void 0?"rc-cascader":n,i=e.fieldNames,l=e.defaultValue,s=e.value,c=e.changeOnSelect,u=e.onChange,d=e.displayRender,f=e.checkable,m=e.autoClearSearchValue,g=m===void 0?!0:m,v=e.searchValue,h=e.onSearch,p=e.showSearch,C=e.expandTrigger,b=e.options,y=e.dropdownPrefixCls,S=e.loadData,x=e.popupVisible,$=e.open,w=e.popupClassName,I=e.dropdownClassName,E=e.dropdownMenuColumnStyle,O=e.dropdownStyle,N=e.popupPlacement,P=e.placement,R=e.onDropdownVisibleChange,M=e.onPopupVisibleChange,D=e.expandIcon,L=D===void 0?">":D,T=e.loadingIcon,_=e.children,j=e.dropdownMatchSelectWidth,H=j===void 0?!1:j,k=e.showCheckedStrategy,V=k===void 0?x3:k,F=e.optionRender,q=ut(e,RL),W=w1(r),J=!!f,X=Ot(l,{value:s,postState:Hs}),Z=ie(X,2),ee=Z[0],ne=Z[1],Y=a.useMemo(function(){return w3(i)},[JSON.stringify(i)]),te=M3(Y,b),Q=ie(te,3),U=Q[0],ae=Q[1],se=Q[2],oe=Ot("",{value:v,postState:function(We){return We||""}}),re=ie(oe,2),ce=re[0],ue=re[1],fe=function(We,He){ue(We),He.source!=="blur"&&h&&h(We)},be=yL(p),de=ie(be,2),he=de[0],Se=de[1],$e=dL(ce,U,Y,y||o,Se,c||J),Ne=O3(U,Y),xe=L3(J,ee,ae,se,Ne),Me=ie(xe,3),Ee=Me[0],Te=Me[1],Re=Me[2],Pe=a.useMemo(function(){var Xe=Qa(Ee),We=I3(Xe,ae,V);return[].concat(ye(Re),ye(se(We)))},[Ee,ae,se,Re,V]),me=vL(Pe,U,Y,J,d),Ce=$t(function(Xe){if(ne(Xe),u){var We=Hs(Xe),He=We.map(function(Ue){return Ja(Ue,U,Y).map(function(_e){return _e.option})}),at=J?We:We[0],Le=J?He:He[0];u(at,Le)}}),pe=T3(J,Ce,Ee,Te,Re,ae,se,V),ge=$t(function(Xe){(!J||g)&&ue(""),pe(Xe)}),Ie=function(We,He){if(He.type==="clear"){Ce([]);return}var at=He.values[0],Le=at.valueCells;ge(Le)},nt=$!==void 0?$:x,Ve=I||w,Ze=P||N,De=function(We){R==null||R(We),M==null||M(We)},Ke=a.useMemo(function(){return{options:U,fieldNames:Y,values:Ee,halfValues:Te,changeOnSelect:c,onSelect:ge,checkable:f,searchOptions:$e,dropdownPrefixCls:y,loadData:S,expandTrigger:C,expandIcon:L,loadingIcon:T,dropdownMenuColumnStyle:E,optionRender:F}},[U,Y,Ee,Te,c,ge,f,$e,y,S,C,L,T,E,F]),Qe=!(ce?$e:U).length,ot=ce&&Se.matchInputWidth||Qe?{}:{minWidth:"auto"};return a.createElement(hi.Provider,{value:Ke},a.createElement(S1,ve({},q,{ref:t,id:W,prefixCls:o,autoClearSearchValue:g,dropdownMatchSelectWidth:H,dropdownStyle:K(K({},ot),O),displayValues:me,onDisplayValuesChange:Ie,mode:J?"multiple":void 0,searchValue:ce,onSearch:fe,showSearch:he,OptionList:NL,emptyOptions:Qe,open:nt,dropdownClassName:Ve,placement:Ze,onDropdownVisibleChange:De,getRawInputElement:function(){return _}})))});Pl.SHOW_PARENT=x3;Pl.SHOW_CHILD=$3;Pl.Panel=k3;function j3(e,t){const{getPrefixCls:r,direction:n,renderEmpty:o}=a.useContext(ke),i=t||n,l=r("select",e),s=r("cascader",e);return[l,s,i,o]}function H3(e,t){return a.useMemo(()=>t?a.createElement("span",{className:`${e}-checkbox-inner`}):!1,[t])}const z3=(e,t,r)=>{let n=r;r||(n=t?a.createElement(ko,null):a.createElement(eo,null));const o=a.createElement("span",{className:`${e}-menu-item-loading-icon`},a.createElement(Lr,{spin:!0}));return a.useMemo(()=>[n,o],[n])},TL=e=>{const{checkboxCls:t}=e,r=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Pt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[r]:Object.assign(Object.assign({},Pt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${r}`]:{marginInlineStart:0},[`&${r}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},_o(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${B(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` ${r}:not(${r}-disabled), ${t}:not(${t}-disabled) `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${r}:not(${r}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` ${r}-checked:not(${r}-disabled), ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${r}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function Kc(e,t){const r=xt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[TL(r)]}const BC=Et("Checkbox",(e,t)=>{let{prefixCls:r}=t;return[Kc(r,e)]}),LL=e=>{const{prefixCls:t,componentCls:r}=e,n=`${r}-menu-item`,o=` + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${r}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function Kc(e,t){const r=xt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[TL(r)]}const B3=Et("Checkbox",(e,t)=>{let{prefixCls:r}=t;return[Kc(r,e)]}),LL=e=>{const{prefixCls:t,componentCls:r}=e,n=`${r}-menu-item`,o=` &${n}-expand ${n}-expand-icon, ${n}-loading-icon -`;return[Kc(`${t}-checkbox`,e),{[r]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${r}-menu-empty`]:{[`${r}-menu`]:{width:"100%",height:"auto",[n]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},Mn),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[o]:{color:e.colorTextDisabled}},[`&-active:not(${n}-disabled)`]:{"&, &:hover":{fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[o]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},AC=LL,DL=e=>{const{componentCls:t,antCls:r}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${r}-select-dropdown`]:{padding:0}},AC(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},va(e)]},FC=e=>{const t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS}},VC=Et("Cascader",e=>[DL(e)],FC),_L=e=>{const{componentCls:t}=e;return{[`${t}-panel`]:[AC(e),{display:"inline-flex",border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}},kL=zh(["Cascader","Panel"],e=>_L(e),FC);function jL(e){const{prefixCls:t,className:r,multiple:n,rootClassName:o,notFoundContent:i,direction:l,expandIcon:s}=e,[c,u,d,f]=jC(t,l),m=Ut(u),[g,v,h]=VC(u,m);kL(u);const p=d==="rtl",[C,b]=zC(c,p,s),y=i||(f==null?void 0:f("Cascader"))||a.createElement(Ao,{componentName:"Cascader"}),S=HC(u,n);return g(a.createElement(kC,Object.assign({},e,{checkable:S,prefixCls:u,className:G(r,v,o,h,m),notFoundContent:y,direction:d,expandIcon:C,loadingIcon:b})))}var HL=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oc===0?[s]:[].concat(ye(l),[t,s]),[]),o=[];let i=0;return n.forEach((l,s)=>{const c=i+l.length;let u=e.slice(i,c);i=c,s%2===1&&(u=a.createElement("span",{className:`${r}-menu-item-keyword`,key:`separator-${s}`},u)),o.push(u)}),o}const FL=(e,t,r,n)=>{const o=[],i=e.toLowerCase();return t.forEach((l,s)=>{s!==0&&o.push(" / ");let c=l[n.label];const u=typeof c;(u==="string"||u==="number")&&(c=AL(String(c),i,r)),o.push(c)}),o},yo=a.forwardRef((e,t)=>{var r;const{prefixCls:n,size:o,disabled:i,className:l,rootClassName:s,multiple:c,bordered:u=!0,transitionName:d,choiceTransitionName:f="",popupClassName:m,dropdownClassName:g,expandIcon:v,placement:h,showSearch:p,allowClear:C=!0,notFoundContent:b,direction:y,getPopupContainer:S,status:x,showArrow:$,builtinPlacements:w,style:I,variant:E}=e,O=HL(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),N=Xt(O,["suffixIcon"]),{getPopupContainer:P,getPrefixCls:R,popupOverflow:M,cascader:D}=a.useContext(ke),{status:L,hasFeedback:T,isFormItemInput:_,feedbackIcon:j}=a.useContext(dn),H=zr(L,x),[k,V,F,q]=jC(n,y),W=F==="rtl",J=R(),X=Ut(k),[Z,ee,ne]=O1(k,X),Y=Ut(V),[te]=VC(V,Y),{compactSize:Q,compactItemClassnames:U}=Hr(k,y),[ae,se]=oo("cascader",E,u),oe=b||(q==null?void 0:q("Cascader"))||a.createElement(Ao,{componentName:"Cascader"}),re=G(m||g,`${V}-dropdown`,{[`${V}-dropdown-rtl`]:F==="rtl"},s,X,Y,ee,ne),ce=a.useMemo(()=>{if(!p)return p;let me={render:FL};return typeof p=="object"&&(me=Object.assign(Object.assign({},me),p)),me},[p]),ue=un(me=>{var Ce;return(Ce=o!=null?o:Q)!==null&&Ce!==void 0?Ce:me}),fe=a.useContext(Hn),be=i!=null?i:fe,[de,he]=zC(k,W,v),Se=HC(V,c),$e=P1(e.suffixIcon,$),{suffixIcon:Ne,removeIcon:xe,clearIcon:Me}=yc(Object.assign(Object.assign({},e),{hasFeedback:T,feedbackIcon:j,showSuffixIcon:$e,multiple:c,prefixCls:k,componentName:"Cascader"})),Ee=a.useMemo(()=>h!==void 0?h:W?"bottomRight":"bottomLeft",[h,W]),Te=C===!0?{clearIcon:Me}:C,[Re]=or("SelectLike",(r=N.dropdownStyle)===null||r===void 0?void 0:r.zIndex),Pe=a.createElement(Pl,Object.assign({prefixCls:k,className:G(!n&&V,{[`${k}-lg`]:ue==="large",[`${k}-sm`]:ue==="small",[`${k}-rtl`]:W,[`${k}-${ae}`]:se,[`${k}-in-form-item`]:_},fr(k,H,T),U,D==null?void 0:D.className,l,s,X,Y,ee,ne),disabled:be,style:Object.assign(Object.assign({},D==null?void 0:D.style),I)},N,{builtinPlacements:I1(w,M),direction:F,placement:Ee,notFoundContent:oe,allowClear:Te,showSearch:ce,expandIcon:de,suffixIcon:Ne,removeIcon:xe,loadingIcon:he,checkable:Se,dropdownClassName:re,dropdownPrefixCls:n||V,dropdownStyle:Object.assign(Object.assign({},N.dropdownStyle),{zIndex:Re}),choiceTransitionName:kn(J,"",f),transitionName:kn(J,"slide-up",d),getPopupContainer:S||P,ref:t}));return te(Z(Pe))}),VL=ro(yo);yo.SHOW_PARENT=BL;yo.SHOW_CHILD=zL;yo.Panel=jL;yo._InternalPanelDoNotUseOrYouWillBeFired=VL;const WL=z.createContext(null),WC=WL;var KL=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;const{prefixCls:n,className:o,rootClassName:i,children:l,indeterminate:s=!1,style:c,onMouseEnter:u,onMouseLeave:d,skipGroup:f=!1,disabled:m}=e,g=KL(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:v,direction:h,checkbox:p}=a.useContext(ke),C=a.useContext(WC),{isFormItemInput:b}=a.useContext(dn),y=a.useContext(Hn),S=(r=(C==null?void 0:C.disabled)||m)!==null&&r!==void 0?r:y,x=a.useRef(g.value);a.useEffect(()=>{C==null||C.registerValue(g.value)},[]),a.useEffect(()=>{if(!f)return g.value!==x.current&&(C==null||C.cancelValue(x.current),C==null||C.registerValue(g.value),x.current=g.value),()=>C==null?void 0:C.cancelValue(g.value)},[g.value]);const $=v("checkbox",n),w=Ut($),[I,E,O]=BC($,w),N=Object.assign({},g);C&&!f&&(N.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),C.toggleOption&&C.toggleOption({label:l,value:g.value})},N.name=C.name,N.checked=C.value.includes(g.value));const P=G(`${$}-wrapper`,{[`${$}-rtl`]:h==="rtl",[`${$}-wrapper-checked`]:N.checked,[`${$}-wrapper-disabled`]:S,[`${$}-wrapper-in-form-item`]:b},p==null?void 0:p.className,o,i,O,w,E),R=G({[`${$}-indeterminate`]:s},ic,E),M=s?"mixed":void 0;return I(a.createElement(ul,{component:"Checkbox",disabled:S},a.createElement("label",{className:P,style:Object.assign(Object.assign({},p==null?void 0:p.style),c),onMouseEnter:u,onMouseLeave:d},a.createElement(U3,Object.assign({"aria-checked":M},N,{prefixCls:$,className:R,disabled:S,ref:t})),l!==void 0&&a.createElement("span",null,l))))},KC=a.forwardRef(qL);var GL=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{defaultValue:r,children:n,options:o=[],prefixCls:i,className:l,rootClassName:s,style:c,onChange:u}=e,d=GL(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:m}=a.useContext(ke),[g,v]=a.useState(d.value||r||[]),[h,p]=a.useState([]);a.useEffect(()=>{"value"in d&&v(d.value||[])},[d.value]);const C=a.useMemo(()=>o.map(D=>typeof D=="string"||typeof D=="number"?{label:D,value:D}:D),[o]),b=D=>{p(L=>L.filter(T=>T!==D))},y=D=>{p(L=>[].concat(ye(L),[D]))},S=D=>{const L=g.indexOf(D.value),T=ye(g);L===-1?T.push(D.value):T.splice(L,1),"value"in d||v(T),u==null||u(T.filter(_=>h.includes(_)).sort((_,j)=>{const H=C.findIndex(V=>V.value===_),k=C.findIndex(V=>V.value===j);return H-k}))},x=f("checkbox",i),$=`${x}-group`,w=Ut(x),[I,E,O]=BC(x,w),N=Xt(d,["value","disabled"]),P=o.length?C.map(D=>a.createElement(KC,{prefixCls:x,key:D.value.toString(),disabled:"disabled"in D?D.disabled:d.disabled,value:D.value,checked:g.includes(D.value),onChange:D.onChange,className:`${$}-item`,style:D.style,title:D.title,id:D.id,required:D.required},D.label)):n,R={toggleOption:S,value:g,disabled:d.disabled,name:d.name,registerValue:y,cancelValue:b},M=G($,{[`${$}-rtl`]:m==="rtl"},l,s,O,w,E);return I(a.createElement("div",Object.assign({className:M,style:c},N,{ref:t}),a.createElement(WC.Provider,{value:R},P)))}),UL=XL,to=KC;to.Group=UL;to.__ANT_CHECKBOX=!0;var qC=z.forwardRef(function(e,t){var r=e.prefixCls,n=e.forceRender,o=e.className,i=e.style,l=e.children,s=e.isActive,c=e.role,u=z.useState(s||n),d=ie(u,2),f=d[0],m=d[1];return z.useEffect(function(){(n||s)&&m(!0)},[n,s]),f?z.createElement("div",{ref:t,className:G("".concat(r,"-content"),A(A({},"".concat(r,"-content-active"),s),"".concat(r,"-content-inactive"),!s),o),style:i,role:c},z.createElement("div",{className:"".concat(r,"-content-box")},l)):null});qC.displayName="PanelContent";var YL=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],GC=z.forwardRef(function(e,t){var r=e.showArrow,n=r===void 0?!0:r,o=e.headerClass,i=e.isActive,l=e.onItemClick,s=e.forceRender,c=e.className,u=e.prefixCls,d=e.collapsible,f=e.accordion,m=e.panelKey,g=e.extra,v=e.header,h=e.expandIcon,p=e.openMotion,C=e.destroyInactivePanel,b=e.children,y=ut(e,YL),S=d==="disabled",x=d==="header",$=d==="icon",w=g!=null&&typeof g!="boolean",I=function(){l==null||l(m)},E=function(D){(D.key==="Enter"||D.keyCode===we.ENTER||D.which===we.ENTER)&&I()},O=typeof h=="function"?h(e):z.createElement("i",{className:"arrow"});O&&(O=z.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?I:void 0},O));var N=G(A(A(A({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),i),"".concat(u,"-item-disabled"),S),c),P=G(o,A(A(A({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),x),"".concat(u,"-icon-collapsible-only"),$)),R={className:P,"aria-expanded":i,"aria-disabled":S,onKeyDown:E};return!x&&!$&&(R.onClick=I,R.role=f?"tab":"button",R.tabIndex=S?-1:0),z.createElement("div",ve({},y,{ref:t,className:N}),z.createElement("div",R,n&&O,z.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?I:void 0},v),w&&z.createElement("div",{className:"".concat(u,"-extra")},g)),z.createElement(In,ve({visible:i,leavedClassName:"".concat(u,"-content-hidden")},p,{forceRender:s,removeOnLeave:C}),function(M,D){var L=M.className,T=M.style;return z.createElement(qC,{ref:D,prefixCls:u,className:L,style:T,isActive:i,forceRender:s,role:f?"tabpanel":void 0},b)}))}),ZL=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],QL=function(t,r){var n=r.prefixCls,o=r.accordion,i=r.collapsible,l=r.destroyInactivePanel,s=r.onItemClick,c=r.activeKey,u=r.openMotion,d=r.expandIcon;return t.map(function(f,m){var g=f.children,v=f.label,h=f.key,p=f.collapsible,C=f.onItemClick,b=f.destroyInactivePanel,y=ut(f,ZL),S=String(h!=null?h:m),x=p!=null?p:i,$=b!=null?b:l,w=function(O){x!=="disabled"&&(s(O),C==null||C(O))},I=!1;return o?I=c[0]===S:I=c.indexOf(S)>-1,z.createElement(GC,ve({},y,{prefixCls:n,key:S,panelKey:S,isActive:I,accordion:o,openMotion:u,expandIcon:d,header:v,collapsible:x,onItemClick:w,destroyInactivePanel:$}),g)})},JL=function(t,r,n){if(!t)return null;var o=n.prefixCls,i=n.accordion,l=n.collapsible,s=n.destroyInactivePanel,c=n.onItemClick,u=n.activeKey,d=n.openMotion,f=n.expandIcon,m=t.key||String(r),g=t.props,v=g.header,h=g.headerClass,p=g.destroyInactivePanel,C=g.collapsible,b=g.onItemClick,y=!1;i?y=u[0]===m:y=u.indexOf(m)>-1;var S=C!=null?C:l,x=function(I){S!=="disabled"&&(c(I),b==null||b(I))},$={key:m,panelKey:m,header:v,headerClass:h,isActive:y,prefixCls:o,destroyInactivePanel:p!=null?p:s,openMotion:d,accordion:i,children:t.props.children,onItemClick:x,expandIcon:f,collapsible:S};return typeof t.type=="string"?t:(Object.keys($).forEach(function(w){typeof $[w]=="undefined"&&delete $[w]}),z.cloneElement(t,$))};function eD(e,t,r){return Array.isArray(e)?QL(e,r):sn(t).map(function(n,o){return JL(n,o,r)})}function tD(e){var t=e;if(!Array.isArray(t)){var r=bt(t);t=r==="number"||r==="string"?[t]:[]}return t.map(function(n){return String(n)})}var nD=z.forwardRef(function(e,t){var r=e.prefixCls,n=r===void 0?"rc-collapse":r,o=e.destroyInactivePanel,i=o===void 0?!1:o,l=e.style,s=e.accordion,c=e.className,u=e.children,d=e.collapsible,f=e.openMotion,m=e.expandIcon,g=e.activeKey,v=e.defaultActiveKey,h=e.onChange,p=e.items,C=G(n,c),b=Ot([],{value:g,onChange:function(E){return h==null?void 0:h(E)},defaultValue:v,postState:tD}),y=ie(b,2),S=y[0],x=y[1],$=function(E){return x(function(){if(s)return S[0]===E?[]:[E];var O=S.indexOf(E),N=O>-1;return N?S.filter(function(P){return P!==E}):[].concat(ye(S),[E])})};Jt(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var w=eD(p,u,{prefixCls:n,accordion:s,openMotion:f,expandIcon:m,collapsible:d,destroyInactivePanel:i,onItemClick:$,activeKey:S});return z.createElement("div",ve({ref:t,className:C,style:l,role:s?"tablist":void 0},en(e,{aria:!0,data:!0})),w)});const tm=Object.assign(nD,{Panel:GC});tm.Panel;const rD=a.forwardRef((e,t)=>{const{getPrefixCls:r}=a.useContext(ke),{prefixCls:n,className:o,showArrow:i=!0}=e,l=r("collapse",n),s=G({[`${l}-no-arrow`]:!i},o);return a.createElement(tm.Panel,Object.assign({ref:t},e,{prefixCls:l,className:s}))}),oD=rD,aD=e=>{const{componentCls:t,contentBg:r,padding:n,headerBg:o,headerPadding:i,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:f,colorText:m,colorTextHeading:g,colorTextDisabled:v,fontSizeLG:h,lineHeight:p,lineHeightLG:C,marginSM:b,paddingSM:y,paddingLG:S,paddingXS:x,motionDurationSlow:$,fontSizeIcon:w,contentPadding:I,fontHeight:E,fontHeightLG:O}=e,N=`${B(u)} ${d} ${f}`;return{[t]:Object.assign(Object.assign({},Pt(e)),{backgroundColor:o,border:N,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:N,"&:last-child":{[` +`;return[Kc(`${t}-checkbox`,e),{[r]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${r}-menu-empty`]:{[`${r}-menu`]:{width:"100%",height:"auto",[n]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},Mn),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[o]:{color:e.colorTextDisabled}},[`&-active:not(${n}-disabled)`]:{"&, &:hover":{fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[o]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},A3=LL,DL=e=>{const{componentCls:t,antCls:r}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${r}-select-dropdown`]:{padding:0}},A3(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},va(e)]},F3=e=>{const t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS}},V3=Et("Cascader",e=>[DL(e)],F3),_L=e=>{const{componentCls:t}=e;return{[`${t}-panel`]:[A3(e),{display:"inline-flex",border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}},kL=zh(["Cascader","Panel"],e=>_L(e),F3);function jL(e){const{prefixCls:t,className:r,multiple:n,rootClassName:o,notFoundContent:i,direction:l,expandIcon:s}=e,[c,u,d,f]=j3(t,l),m=Ut(u),[g,v,h]=V3(u,m);kL(u);const p=d==="rtl",[C,b]=z3(c,p,s),y=i||(f==null?void 0:f("Cascader"))||a.createElement(Ao,{componentName:"Cascader"}),S=H3(u,n);return g(a.createElement(k3,Object.assign({},e,{checkable:S,prefixCls:u,className:G(r,v,o,h,m),notFoundContent:y,direction:d,expandIcon:C,loadingIcon:b})))}var HL=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oc===0?[s]:[].concat(ye(l),[t,s]),[]),o=[];let i=0;return n.forEach((l,s)=>{const c=i+l.length;let u=e.slice(i,c);i=c,s%2===1&&(u=a.createElement("span",{className:`${r}-menu-item-keyword`,key:`separator-${s}`},u)),o.push(u)}),o}const FL=(e,t,r,n)=>{const o=[],i=e.toLowerCase();return t.forEach((l,s)=>{s!==0&&o.push(" / ");let c=l[n.label];const u=typeof c;(u==="string"||u==="number")&&(c=AL(String(c),i,r)),o.push(c)}),o},yo=a.forwardRef((e,t)=>{var r;const{prefixCls:n,size:o,disabled:i,className:l,rootClassName:s,multiple:c,bordered:u=!0,transitionName:d,choiceTransitionName:f="",popupClassName:m,dropdownClassName:g,expandIcon:v,placement:h,showSearch:p,allowClear:C=!0,notFoundContent:b,direction:y,getPopupContainer:S,status:x,showArrow:$,builtinPlacements:w,style:I,variant:E}=e,O=HL(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),N=Xt(O,["suffixIcon"]),{getPopupContainer:P,getPrefixCls:R,popupOverflow:M,cascader:D}=a.useContext(ke),{status:L,hasFeedback:T,isFormItemInput:_,feedbackIcon:j}=a.useContext(dn),H=zr(L,x),[k,V,F,q]=j3(n,y),W=F==="rtl",J=R(),X=Ut(k),[Z,ee,ne]=O1(k,X),Y=Ut(V),[te]=V3(V,Y),{compactSize:Q,compactItemClassnames:U}=Hr(k,y),[ae,se]=oo("cascader",E,u),oe=b||(q==null?void 0:q("Cascader"))||a.createElement(Ao,{componentName:"Cascader"}),re=G(m||g,`${V}-dropdown`,{[`${V}-dropdown-rtl`]:F==="rtl"},s,X,Y,ee,ne),ce=a.useMemo(()=>{if(!p)return p;let me={render:FL};return typeof p=="object"&&(me=Object.assign(Object.assign({},me),p)),me},[p]),ue=un(me=>{var Ce;return(Ce=o!=null?o:Q)!==null&&Ce!==void 0?Ce:me}),fe=a.useContext(Hn),be=i!=null?i:fe,[de,he]=z3(k,W,v),Se=H3(V,c),$e=P1(e.suffixIcon,$),{suffixIcon:Ne,removeIcon:xe,clearIcon:Me}=yc(Object.assign(Object.assign({},e),{hasFeedback:T,feedbackIcon:j,showSuffixIcon:$e,multiple:c,prefixCls:k,componentName:"Cascader"})),Ee=a.useMemo(()=>h!==void 0?h:W?"bottomRight":"bottomLeft",[h,W]),Te=C===!0?{clearIcon:Me}:C,[Re]=or("SelectLike",(r=N.dropdownStyle)===null||r===void 0?void 0:r.zIndex),Pe=a.createElement(Pl,Object.assign({prefixCls:k,className:G(!n&&V,{[`${k}-lg`]:ue==="large",[`${k}-sm`]:ue==="small",[`${k}-rtl`]:W,[`${k}-${ae}`]:se,[`${k}-in-form-item`]:_},fr(k,H,T),U,D==null?void 0:D.className,l,s,X,Y,ee,ne),disabled:be,style:Object.assign(Object.assign({},D==null?void 0:D.style),I)},N,{builtinPlacements:I1(w,M),direction:F,placement:Ee,notFoundContent:oe,allowClear:Te,showSearch:ce,expandIcon:de,suffixIcon:Ne,removeIcon:xe,loadingIcon:he,checkable:Se,dropdownClassName:re,dropdownPrefixCls:n||V,dropdownStyle:Object.assign(Object.assign({},N.dropdownStyle),{zIndex:Re}),choiceTransitionName:kn(J,"",f),transitionName:kn(J,"slide-up",d),getPopupContainer:S||P,ref:t}));return te(Z(Pe))}),VL=ro(yo);yo.SHOW_PARENT=BL;yo.SHOW_CHILD=zL;yo.Panel=jL;yo._InternalPanelDoNotUseOrYouWillBeFired=VL;const WL=z.createContext(null),W3=WL;var KL=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r;const{prefixCls:n,className:o,rootClassName:i,children:l,indeterminate:s=!1,style:c,onMouseEnter:u,onMouseLeave:d,skipGroup:f=!1,disabled:m}=e,g=KL(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:v,direction:h,checkbox:p}=a.useContext(ke),C=a.useContext(W3),{isFormItemInput:b}=a.useContext(dn),y=a.useContext(Hn),S=(r=(C==null?void 0:C.disabled)||m)!==null&&r!==void 0?r:y,x=a.useRef(g.value);a.useEffect(()=>{C==null||C.registerValue(g.value)},[]),a.useEffect(()=>{if(!f)return g.value!==x.current&&(C==null||C.cancelValue(x.current),C==null||C.registerValue(g.value),x.current=g.value),()=>C==null?void 0:C.cancelValue(g.value)},[g.value]);const $=v("checkbox",n),w=Ut($),[I,E,O]=B3($,w),N=Object.assign({},g);C&&!f&&(N.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),C.toggleOption&&C.toggleOption({label:l,value:g.value})},N.name=C.name,N.checked=C.value.includes(g.value));const P=G(`${$}-wrapper`,{[`${$}-rtl`]:h==="rtl",[`${$}-wrapper-checked`]:N.checked,[`${$}-wrapper-disabled`]:S,[`${$}-wrapper-in-form-item`]:b},p==null?void 0:p.className,o,i,O,w,E),R=G({[`${$}-indeterminate`]:s},ic,E),M=s?"mixed":void 0;return I(a.createElement(ul,{component:"Checkbox",disabled:S},a.createElement("label",{className:P,style:Object.assign(Object.assign({},p==null?void 0:p.style),c),onMouseEnter:u,onMouseLeave:d},a.createElement(UC,Object.assign({"aria-checked":M},N,{prefixCls:$,className:R,disabled:S,ref:t})),l!==void 0&&a.createElement("span",null,l))))},K3=a.forwardRef(qL);var GL=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{defaultValue:r,children:n,options:o=[],prefixCls:i,className:l,rootClassName:s,style:c,onChange:u}=e,d=GL(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:m}=a.useContext(ke),[g,v]=a.useState(d.value||r||[]),[h,p]=a.useState([]);a.useEffect(()=>{"value"in d&&v(d.value||[])},[d.value]);const C=a.useMemo(()=>o.map(D=>typeof D=="string"||typeof D=="number"?{label:D,value:D}:D),[o]),b=D=>{p(L=>L.filter(T=>T!==D))},y=D=>{p(L=>[].concat(ye(L),[D]))},S=D=>{const L=g.indexOf(D.value),T=ye(g);L===-1?T.push(D.value):T.splice(L,1),"value"in d||v(T),u==null||u(T.filter(_=>h.includes(_)).sort((_,j)=>{const H=C.findIndex(V=>V.value===_),k=C.findIndex(V=>V.value===j);return H-k}))},x=f("checkbox",i),$=`${x}-group`,w=Ut(x),[I,E,O]=B3(x,w),N=Xt(d,["value","disabled"]),P=o.length?C.map(D=>a.createElement(K3,{prefixCls:x,key:D.value.toString(),disabled:"disabled"in D?D.disabled:d.disabled,value:D.value,checked:g.includes(D.value),onChange:D.onChange,className:`${$}-item`,style:D.style,title:D.title,id:D.id,required:D.required},D.label)):n,R={toggleOption:S,value:g,disabled:d.disabled,name:d.name,registerValue:y,cancelValue:b},M=G($,{[`${$}-rtl`]:m==="rtl"},l,s,O,w,E);return I(a.createElement("div",Object.assign({className:M,style:c},N,{ref:t}),a.createElement(W3.Provider,{value:R},P)))}),UL=XL,to=K3;to.Group=UL;to.__ANT_CHECKBOX=!0;var q3=z.forwardRef(function(e,t){var r=e.prefixCls,n=e.forceRender,o=e.className,i=e.style,l=e.children,s=e.isActive,c=e.role,u=z.useState(s||n),d=ie(u,2),f=d[0],m=d[1];return z.useEffect(function(){(n||s)&&m(!0)},[n,s]),f?z.createElement("div",{ref:t,className:G("".concat(r,"-content"),A(A({},"".concat(r,"-content-active"),s),"".concat(r,"-content-inactive"),!s),o),style:i,role:c},z.createElement("div",{className:"".concat(r,"-content-box")},l)):null});q3.displayName="PanelContent";var YL=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],G3=z.forwardRef(function(e,t){var r=e.showArrow,n=r===void 0?!0:r,o=e.headerClass,i=e.isActive,l=e.onItemClick,s=e.forceRender,c=e.className,u=e.prefixCls,d=e.collapsible,f=e.accordion,m=e.panelKey,g=e.extra,v=e.header,h=e.expandIcon,p=e.openMotion,C=e.destroyInactivePanel,b=e.children,y=ut(e,YL),S=d==="disabled",x=d==="header",$=d==="icon",w=g!=null&&typeof g!="boolean",I=function(){l==null||l(m)},E=function(D){(D.key==="Enter"||D.keyCode===we.ENTER||D.which===we.ENTER)&&I()},O=typeof h=="function"?h(e):z.createElement("i",{className:"arrow"});O&&(O=z.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?I:void 0},O));var N=G(A(A(A({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),i),"".concat(u,"-item-disabled"),S),c),P=G(o,A(A(A({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),x),"".concat(u,"-icon-collapsible-only"),$)),R={className:P,"aria-expanded":i,"aria-disabled":S,onKeyDown:E};return!x&&!$&&(R.onClick=I,R.role=f?"tab":"button",R.tabIndex=S?-1:0),z.createElement("div",ve({},y,{ref:t,className:N}),z.createElement("div",R,n&&O,z.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?I:void 0},v),w&&z.createElement("div",{className:"".concat(u,"-extra")},g)),z.createElement(In,ve({visible:i,leavedClassName:"".concat(u,"-content-hidden")},p,{forceRender:s,removeOnLeave:C}),function(M,D){var L=M.className,T=M.style;return z.createElement(q3,{ref:D,prefixCls:u,className:L,style:T,isActive:i,forceRender:s,role:f?"tabpanel":void 0},b)}))}),ZL=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],QL=function(t,r){var n=r.prefixCls,o=r.accordion,i=r.collapsible,l=r.destroyInactivePanel,s=r.onItemClick,c=r.activeKey,u=r.openMotion,d=r.expandIcon;return t.map(function(f,m){var g=f.children,v=f.label,h=f.key,p=f.collapsible,C=f.onItemClick,b=f.destroyInactivePanel,y=ut(f,ZL),S=String(h!=null?h:m),x=p!=null?p:i,$=b!=null?b:l,w=function(O){x!=="disabled"&&(s(O),C==null||C(O))},I=!1;return o?I=c[0]===S:I=c.indexOf(S)>-1,z.createElement(G3,ve({},y,{prefixCls:n,key:S,panelKey:S,isActive:I,accordion:o,openMotion:u,expandIcon:d,header:v,collapsible:x,onItemClick:w,destroyInactivePanel:$}),g)})},JL=function(t,r,n){if(!t)return null;var o=n.prefixCls,i=n.accordion,l=n.collapsible,s=n.destroyInactivePanel,c=n.onItemClick,u=n.activeKey,d=n.openMotion,f=n.expandIcon,m=t.key||String(r),g=t.props,v=g.header,h=g.headerClass,p=g.destroyInactivePanel,C=g.collapsible,b=g.onItemClick,y=!1;i?y=u[0]===m:y=u.indexOf(m)>-1;var S=C!=null?C:l,x=function(I){S!=="disabled"&&(c(I),b==null||b(I))},$={key:m,panelKey:m,header:v,headerClass:h,isActive:y,prefixCls:o,destroyInactivePanel:p!=null?p:s,openMotion:d,accordion:i,children:t.props.children,onItemClick:x,expandIcon:f,collapsible:S};return typeof t.type=="string"?t:(Object.keys($).forEach(function(w){typeof $[w]=="undefined"&&delete $[w]}),z.cloneElement(t,$))};function eD(e,t,r){return Array.isArray(e)?QL(e,r):sn(t).map(function(n,o){return JL(n,o,r)})}function tD(e){var t=e;if(!Array.isArray(t)){var r=bt(t);t=r==="number"||r==="string"?[t]:[]}return t.map(function(n){return String(n)})}var nD=z.forwardRef(function(e,t){var r=e.prefixCls,n=r===void 0?"rc-collapse":r,o=e.destroyInactivePanel,i=o===void 0?!1:o,l=e.style,s=e.accordion,c=e.className,u=e.children,d=e.collapsible,f=e.openMotion,m=e.expandIcon,g=e.activeKey,v=e.defaultActiveKey,h=e.onChange,p=e.items,C=G(n,c),b=Ot([],{value:g,onChange:function(E){return h==null?void 0:h(E)},defaultValue:v,postState:tD}),y=ie(b,2),S=y[0],x=y[1],$=function(E){return x(function(){if(s)return S[0]===E?[]:[E];var O=S.indexOf(E),N=O>-1;return N?S.filter(function(P){return P!==E}):[].concat(ye(S),[E])})};Jt(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var w=eD(p,u,{prefixCls:n,accordion:s,openMotion:f,expandIcon:m,collapsible:d,destroyInactivePanel:i,onItemClick:$,activeKey:S});return z.createElement("div",ve({ref:t,className:C,style:l,role:s?"tablist":void 0},en(e,{aria:!0,data:!0})),w)});const tm=Object.assign(nD,{Panel:G3});tm.Panel;const rD=a.forwardRef((e,t)=>{const{getPrefixCls:r}=a.useContext(ke),{prefixCls:n,className:o,showArrow:i=!0}=e,l=r("collapse",n),s=G({[`${l}-no-arrow`]:!i},o);return a.createElement(tm.Panel,Object.assign({ref:t},e,{prefixCls:l,className:s}))}),oD=rD,aD=e=>{const{componentCls:t,contentBg:r,padding:n,headerBg:o,headerPadding:i,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:f,colorText:m,colorTextHeading:g,colorTextDisabled:v,fontSizeLG:h,lineHeight:p,lineHeightLG:C,marginSM:b,paddingSM:y,paddingLG:S,paddingXS:x,motionDurationSlow:$,fontSizeIcon:w,contentPadding:I,fontHeight:E,fontHeightLG:O}=e,N=`${B(u)} ${d} ${f}`;return{[t]:Object.assign(Object.assign({},Pt(e)),{backgroundColor:o,border:N,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:N,"&:last-child":{[` &, & > ${t}-header`]:{borderRadius:`0 0 ${B(c)} ${B(c)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:g,lineHeight:p,cursor:"pointer",transition:`all ${$}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:E,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:Object.assign(Object.assign({},oi()),{fontSize:w,transition:`transform ${$}`,svg:{transition:`transform ${$}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:m,backgroundColor:r,borderTop:N,[`& > ${t}-content-box`]:{padding:I},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(y).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:C,[`> ${t}-header`]:{padding:s,paddingInlineStart:n,[`> ${t}-expand-icon`]:{height:O,marginInlineStart:e.calc(S).sub(n).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${B(c)} ${B(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:v,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},iD=e=>{const{componentCls:t}=e,r=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[r]:{transform:"rotate(180deg)"}}}},lD=e=>{const{componentCls:t,headerBg:r,paddingXXS:n,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:r,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:n}}}},sD=e=>{const{componentCls:t,paddingSM:r}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:r}}}}}},cD=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),uD=Et("Collapse",e=>{const t=xt(e,{collapseHeaderPaddingSM:`${B(e.paddingXS)} ${B(e.paddingSM)}`,collapseHeaderPaddingLG:`${B(e.padding)} ${B(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[aD(t),lD(t),sD(t),iD(t),ml(t)]},cD),dD=a.forwardRef((e,t)=>{const{getPrefixCls:r,direction:n,collapse:o}=a.useContext(ke),{prefixCls:i,className:l,rootClassName:s,style:c,bordered:u=!0,ghost:d,size:f,expandIconPosition:m="start",children:g,expandIcon:v}=e,h=un(N=>{var P;return(P=f!=null?f:N)!==null&&P!==void 0?P:"middle"}),p=r("collapse",i),C=r(),[b,y,S]=uD(p),x=a.useMemo(()=>m==="left"?"start":m==="right"?"end":m,[m]),$=v!=null?v:o==null?void 0:o.expandIcon,w=a.useCallback(function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const P=typeof $=="function"?$(N):a.createElement(eo,{rotate:N.isActive?90:void 0,"aria-label":N.isActive?"expanded":"collapsed"});return cn(P,()=>{var R;return{className:G((R=P==null?void 0:P.props)===null||R===void 0?void 0:R.className,`${p}-arrow`)}})},[$,p]),I=G(`${p}-icon-position-${x}`,{[`${p}-borderless`]:!u,[`${p}-rtl`]:n==="rtl",[`${p}-ghost`]:!!d,[`${p}-${h}`]:h!=="middle"},o==null?void 0:o.className,l,s,y,S),E=Object.assign(Object.assign({},Xa(C)),{motionAppear:!1,leavedClassName:`${p}-content-hidden`}),O=a.useMemo(()=>g?sn(g).map((N,P)=>{var R,M;if(!((R=N.props)===null||R===void 0)&&R.disabled){const D=(M=N.key)!==null&&M!==void 0?M:String(P),{disabled:L,collapsible:T}=N.props,_=Object.assign(Object.assign({},Xt(N.props,["disabled"])),{key:D,collapsible:T!=null?T:L?"disabled":void 0});return cn(N,_)}return N}):null,[g]);return b(a.createElement(tm,Object.assign({ref:t,openMotion:E},Xt(e,["rootClassName"]),{expandIcon:w,prefixCls:p,className:I,style:Object.assign(Object.assign({},o==null?void 0:o.style),c)}),O))}),nm=Object.assign(dD,{Panel:oD}),_n=Math.round;function Uu(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)n[o]=t(n[o]||0,r[o]||"",o);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const yv=(e,t,r)=>r===0?e:e/100;function Li(e,t){const r=t||255;return e>r?r:e<0?0:e}class qc{constructor(t){A(this,"isValid",!0),A(this,"r",0),A(this,"g",0),A(this,"b",0),A(this,"a",1),A(this,"_h",void 0),A(this,"_s",void 0),A(this,"_l",void 0),A(this,"_v",void 0),A(this,"_max",void 0),A(this,"_min",void 0),A(this,"_brightness",void 0);function r(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let o=function(i){return n.startsWith(i)};const n=t.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):o("rgb")?this.fromRgbString(n):o("hsl")?this.fromHslString(n):(o("hsv")||o("hsb"))&&this.fromHsvString(n)}else if(t instanceof qc)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=Li(t.r),this.g=Li(t.g),this.b=Li(t.b),this.a=typeof t.a=="number"?Li(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const l=i/255;return l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}const r=t(this.r),n=t(this.g),o=t(this.b);return .2126*r+.7152*n+.0722*o}getHue(){if(typeof this._h=="undefined"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=_n(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g1&&(o=1),this._c({h:r,s:n,l:o,a:this.a})}mix(t,r=50){const n=this._c(t),o=r/100,i=s=>(n[s]-this[s])*o+this[s],l={r:_n(i("r")),g:_n(i("g")),b:_n(i("b")),a:_n(i("a")*100)/100};return this._c(l)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),n=this.a+r.a*(1-this.a),o=i=>_n((this[i]*this.a+r[i]*r.a*(1-this.a))/n);return this._c({r:o("r"),g:o("g"),b:o("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=_n(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=_n(this.getSaturation()*100),n=_n(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${n}%,${this.a})`:`hsl(${t},${r}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,n){const o=this.clone();return o[t]=Li(r,n),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function n(o,i){return parseInt(r[o]+r[i||o],16)}r.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=r[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=r[6]?n(6,7)/255:1)}fromHsl({h:t,s:r,l:n,a:o}){if(this._h=t%360,this._s=r,this._l=n,this.a=typeof o=="number"?o:1,r<=0){const m=_n(n*255);this.r=m,this.g=m,this.b=m}let i=0,l=0,s=0;const c=t/60,u=(1-Math.abs(2*n-1))*r,d=u*(1-Math.abs(c%2-1));c>=0&&c<1?(i=u,l=d):c>=1&&c<2?(i=d,l=u):c>=2&&c<3?(l=u,s=d):c>=3&&c<4?(l=d,s=u):c>=4&&c<5?(i=d,s=u):c>=5&&c<6&&(i=u,s=d);const f=n-u/2;this.r=_n((i+f)*255),this.g=_n((l+f)*255),this.b=_n((s+f)*255)}fromHsv({h:t,s:r,v:n,a:o}){this._h=t%360,this._s=r,this._v=n,this.a=typeof o=="number"?o:1;const i=_n(n*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const l=t/60,s=Math.floor(l),c=l-s,u=_n(n*(1-r)*255),d=_n(n*(1-r*c)*255),f=_n(n*(1-r*(1-c))*255);switch(s){case 0:this.g=f,this.b=u;break;case 1:this.r=d,this.b=u;break;case 2:this.r=u,this.b=f;break;case 3:this.r=u,this.g=d;break;case 4:this.r=f,this.g=u;break;case 5:default:this.g=u,this.b=d;break}}fromHsvString(t){const r=Uu(t,yv);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=Uu(t,yv);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=Uu(t,(n,o)=>o.includes("%")?_n(n/100*255):n);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var fD=["b"],mD=["v"],Yu=function(t){return Math.round(Number(t||0))},gD=function(t){if(t instanceof qc)return t;if(t&&bt(t)==="object"&&"h"in t&&"b"in t){var r=t,n=r.b,o=ut(r,fD);return K(K({},o),{},{v:n})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},kr=function(e){Fn(r,e);var t=no(r);function r(n){return tn(this,r),t.call(this,gD(n))}return nn(r,[{key:"toHsbString",value:function(){var o=this.toHsb(),i=Yu(o.s*100),l=Yu(o.b*100),s=Yu(o.h),c=o.a,u="hsb(".concat(s,", ").concat(i,"%, ").concat(l,"%)"),d="hsba(".concat(s,", ").concat(i,"%, ").concat(l,"%, ").concat(c.toFixed(c===0?0:2),")");return c===1?u:d}},{key:"toHsb",value:function(){var o=this.toHsv(),i=o.v,l=ut(o,mD);return K(K({},l),{},{b:i,a:this.a})}}]),r}(qc),vD="rc-color-picker",Ka=function(t){return t instanceof kr?t:new kr(t)},pD=Ka("#1677ff"),XC=function(t){var r=t.offset,n=t.targetRef,o=t.containerRef,i=t.color,l=t.type,s=o.current.getBoundingClientRect(),c=s.width,u=s.height,d=n.current.getBoundingClientRect(),f=d.width,m=d.height,g=f/2,v=m/2,h=(r.x+g)/c,p=1-(r.y+v)/u,C=i.toHsb(),b=h,y=(r.x+g)/c*360;if(l)switch(l){case"hue":return Ka(K(K({},C),{},{h:y<=0?0:y}));case"alpha":return Ka(K(K({},C),{},{a:b<=0?0:b}))}return Ka({h:C.h,s:h<=0?0:h,b:p>=1?1:p,a:C.a})},UC=function(t,r){var n=t.toHsb();switch(r){case"hue":return{x:n.h/360*100,y:50};case"alpha":return{x:t.a*100,y:50};default:return{x:n.s*100,y:(1-n.b)*100}}},rm=function(t){var r=t.color,n=t.prefixCls,o=t.className,i=t.style,l=t.onClick,s="".concat(n,"-color-block");return z.createElement("div",{className:G(s,o),style:i,onClick:l},z.createElement("div",{className:"".concat(s,"-inner"),style:{background:r}}))};function hD(e){var t="touches"in e?e.touches[0]:e,r=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,n=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-r,pageY:t.pageY-n}}function YC(e){var t=e.targetRef,r=e.containerRef,n=e.direction,o=e.onDragChange,i=e.onDragChangeComplete,l=e.calculate,s=e.color,c=e.disabledDrag,u=a.useState({x:0,y:0}),d=ie(u,2),f=d[0],m=d[1],g=a.useRef(null),v=a.useRef(null);a.useEffect(function(){m(l())},[s]),a.useEffect(function(){return function(){document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",g.current),document.removeEventListener("touchend",v.current),g.current=null,v.current=null}},[]);var h=function(S){var x=hD(S),$=x.pageX,w=x.pageY,I=r.current.getBoundingClientRect(),E=I.x,O=I.y,N=I.width,P=I.height,R=t.current.getBoundingClientRect(),M=R.width,D=R.height,L=M/2,T=D/2,_=Math.max(0,Math.min($-E,N))-L,j=Math.max(0,Math.min(w-O,P))-T,H={x:_,y:n==="x"?f.y:j};if(M===0&&D===0||M!==D)return!1;o==null||o(H)},p=function(S){S.preventDefault(),h(S)},C=function(S){S.preventDefault(),document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",g.current),document.removeEventListener("touchend",v.current),g.current=null,v.current=null,i==null||i()},b=function(S){document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),!c&&(h(S),document.addEventListener("mousemove",p),document.addEventListener("mouseup",C),document.addEventListener("touchmove",p),document.addEventListener("touchend",C),g.current=p,v.current=C)};return[f,b]}var ZC=function(t){var r=t.size,n=r===void 0?"default":r,o=t.color,i=t.prefixCls;return z.createElement("div",{className:G("".concat(i,"-handler"),A({},"".concat(i,"-handler-sm"),n==="small")),style:{backgroundColor:o}})},QC=function(t){var r=t.children,n=t.style,o=t.prefixCls;return z.createElement("div",{className:"".concat(o,"-palette"),style:K({position:"relative"},n)},r)},JC=a.forwardRef(function(e,t){var r=e.children,n=e.x,o=e.y;return z.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(n,"%"),top:"".concat(o,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},r)}),CD=function(t){var r=t.color,n=t.onChange,o=t.prefixCls,i=t.onChangeComplete,l=t.disabled,s=a.useRef(),c=a.useRef(),u=a.useRef(r),d=$t(function(h){var p=XC({offset:h,targetRef:c,containerRef:s,color:r});u.current=p,n(p)}),f=YC({color:r,containerRef:s,targetRef:c,calculate:function(){return UC(r)},onDragChange:d,onDragChangeComplete:function(){return i==null?void 0:i(u.current)},disabledDrag:l}),m=ie(f,2),g=m[0],v=m[1];return z.createElement("div",{ref:s,className:"".concat(o,"-select"),onMouseDown:v,onTouchStart:v},z.createElement(QC,{prefixCls:o},z.createElement(JC,{x:g.x,y:g.y,ref:c},z.createElement(ZC,{color:r.toRgbString(),prefixCls:o})),z.createElement("div",{className:"".concat(o,"-saturation"),style:{backgroundColor:"hsl(".concat(r.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},bD=function(t,r){var n=Ot(t,{value:r}),o=ie(n,2),i=o[0],l=o[1],s=a.useMemo(function(){return Ka(i)},[i]);return[s,l]},yD=function(t){var r=t.colors,n=t.children,o=t.direction,i=o===void 0?"to right":o,l=t.type,s=t.prefixCls,c=a.useMemo(function(){return r.map(function(u,d){var f=Ka(u);return l==="alpha"&&d===r.length-1&&(f=new kr(f.setA(1))),f.toRgbString()}).join(",")},[r,l]);return z.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(c,")")}},n)},SD=function(t){var r=t.prefixCls,n=t.colors,o=t.disabled,i=t.onChange,l=t.onChangeComplete,s=t.color,c=t.type,u=a.useRef(),d=a.useRef(),f=a.useRef(s),m=function(x){return c==="hue"?x.getHue():x.a*100},g=$t(function(S){var x=XC({offset:S,targetRef:d,containerRef:u,color:s,type:c});f.current=x,i(m(x))}),v=YC({color:s,targetRef:d,containerRef:u,calculate:function(){return UC(s,c)},onDragChange:g,onDragChangeComplete:function(){l(m(f.current))},direction:"x",disabledDrag:o}),h=ie(v,2),p=h[0],C=h[1],b=z.useMemo(function(){if(c==="hue"){var S=s.toHsb();S.s=1,S.b=1,S.a=1;var x=new kr(S);return x}return s},[s,c]),y=z.useMemo(function(){return n.map(function(S){return"".concat(S.color," ").concat(S.percent,"%")})},[n]);return z.createElement("div",{ref:u,className:G("".concat(r,"-slider"),"".concat(r,"-slider-").concat(c)),onMouseDown:C,onTouchStart:C},z.createElement(QC,{prefixCls:r},z.createElement(JC,{x:p.x,y:p.y,ref:d},z.createElement(ZC,{size:"small",color:b.toHexString(),prefixCls:r})),z.createElement(yD,{colors:y,type:c,prefixCls:r})))};function xD(e){return a.useMemo(function(){var t=e||{},r=t.slider;return[r||SD]},[e])}var $D=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],wD=a.forwardRef(function(e,t){var r=e.value,n=e.defaultValue,o=e.prefixCls,i=o===void 0?vD:o,l=e.onChange,s=e.onChangeComplete,c=e.className,u=e.style,d=e.panelRender,f=e.disabledAlpha,m=f===void 0?!1:f,g=e.disabled,v=g===void 0?!1:g,h=e.components,p=xD(h),C=ie(p,1),b=C[0],y=bD(n||pD,r),S=ie(y,2),x=S[0],$=S[1],w=a.useMemo(function(){return x.setA(1).toRgbString()},[x]),I=function(j,H){r||$(j),l==null||l(j,H)},E=function(j){return new kr(x.setHue(j))},O=function(j){return new kr(x.setA(j/100))},N=function(j){I(E(j),{type:"hue",value:j})},P=function(j){I(O(j),{type:"alpha",value:j})},R=function(j){s&&s(E(j))},M=function(j){s&&s(O(j))},D=G("".concat(i,"-panel"),c,A({},"".concat(i,"-panel-disabled"),v)),L={prefixCls:i,disabled:v,color:x},T=z.createElement(z.Fragment,null,z.createElement(CD,ve({onChange:I},L,{onChangeComplete:s})),z.createElement("div",{className:"".concat(i,"-slider-container")},z.createElement("div",{className:G("".concat(i,"-slider-group"),A({},"".concat(i,"-slider-group-disabled-alpha"),m))},z.createElement(b,ve({},L,{type:"hue",colors:$D,min:0,max:359,value:x.getHue(),onChange:N,onChangeComplete:R})),!m&&z.createElement(b,ve({},L,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:w}],min:0,max:100,value:x.a*100,onChange:P,onChangeComplete:M}))),z.createElement(rm,{color:x.toRgbString(),prefixCls:i})));return z.createElement("div",{className:D,style:u,ref:t},typeof d=="function"?d(T):T)});const Fi=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/gi,"").slice(0,t?8:6))||"",ED=(e,t)=>e?Fi(e,t):"";let yr=function(){function e(t){tn(this,e);var r;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(r=t.colors)===null||r===void 0?void 0:r.map(o=>({color:new e(o.color),percent:o.percent})),this.cleared=t.cleared;return}const n=Array.isArray(t);n&&t.length?(this.colors=t.map(o=>{let{color:i,percent:l}=o;return{color:new e(i),percent:l}}),this.metaColor=new kr(this.colors[0].color.metaColor)):this.metaColor=new kr(n?"":t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return nn(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return ED(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:r}=this;return r?`linear-gradient(90deg, ${r.map(o=>`${o.color.toRgbString()} ${o.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(r){return!r||this.isGradient()!==r.isGradient()?!1:this.isGradient()?this.colors.length===r.colors.length&&this.colors.every((n,o)=>{const i=r.colors[o];return n.percent===i.percent&&n.color.equals(i.color)}):this.toHexString()===r.toHexString()}}])}();const ID=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:i,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{borderBlockStart:`${B(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${B(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${B(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${B(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${B(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${B(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${B(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}},OD=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),PD=Et("Divider",e=>{const t=xt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[ID(t)]},OD,{unitless:{orientationMargin:!0}});var ND=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:r,divider:n}=a.useContext(ke),{prefixCls:o,type:i="horizontal",orientation:l="center",orientationMargin:s,className:c,rootClassName:u,children:d,dashed:f,variant:m="solid",plain:g,style:v}=e,h=ND(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),p=t("divider",o),[C,b,y]=PD(p),S=!!d,x=l==="left"&&s!=null,$=l==="right"&&s!=null,w=G(p,n==null?void 0:n.className,b,y,`${p}-${i}`,{[`${p}-with-text`]:S,[`${p}-with-text-${l}`]:S,[`${p}-dashed`]:!!f,[`${p}-${m}`]:m!=="solid",[`${p}-plain`]:!!g,[`${p}-rtl`]:r==="rtl",[`${p}-no-default-orientation-margin-left`]:x,[`${p}-no-default-orientation-margin-right`]:$},c,u),I=a.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),E=Object.assign(Object.assign({},x&&{marginLeft:I}),$&&{marginRight:I});return C(a.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},n==null?void 0:n.style),v)},h,{role:"separator"}),d&&i!=="vertical"&&a.createElement("span",{className:`${p}-inner-text`,style:E},d)))},eb=MD;var Sv=function(t){return t?{left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth}:null},ka=function(t){return t!==void 0?"".concat(t,"px"):void 0};function RD(e){var t=e.prefixCls,r=e.containerRef,n=e.value,o=e.getValueIndex,i=e.motionName,l=e.onMotionStart,s=e.onMotionEnd,c=e.direction,u=a.useRef(null),d=a.useState(n),f=ie(d,2),m=f[0],g=f[1],v=function(R){var M,D=o(R),L=(M=r.current)===null||M===void 0?void 0:M.querySelectorAll(".".concat(t,"-item"))[D];return(L==null?void 0:L.offsetParent)&&L},h=a.useState(null),p=ie(h,2),C=p[0],b=p[1],y=a.useState(null),S=ie(y,2),x=S[0],$=S[1];_t(function(){if(m!==n){var P=v(m),R=v(n),M=Sv(P),D=Sv(R);g(n),b(M),$(D),P&&R?l():s()}},[n]);var w=a.useMemo(function(){return ka(c==="rtl"?-(C==null?void 0:C.right):C==null?void 0:C.left)},[c,C]),I=a.useMemo(function(){return ka(c==="rtl"?-(x==null?void 0:x.right):x==null?void 0:x.left)},[c,x]),E=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},O=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},N=function(){b(null),$(null),s()};return!C||!x?null:a.createElement(In,{visible:!0,motionName:i,motionAppear:!0,onAppearStart:E,onAppearActive:O,onVisibleChanged:N},function(P,R){var M=P.className,D=P.style,L=K(K({},D),{},{"--thumb-start-left":w,"--thumb-start-width":ka(C==null?void 0:C.width),"--thumb-active-left":I,"--thumb-active-width":ka(x==null?void 0:x.width)}),T={ref:yn(u,R),style:L,className:G("".concat(t,"-thumb"),M)};return a.createElement("div",T)})}var TD=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function LD(e){if(typeof e.title!="undefined")return e.title;if(bt(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function DD(e){return e.map(function(t){if(bt(t)==="object"&&t!==null){var r=LD(t);return K(K({},t),{},{title:r})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var _D=function(t){var r=t.prefixCls,n=t.className,o=t.disabled,i=t.checked,l=t.label,s=t.title,c=t.value,u=t.onChange,d=function(m){o||u(m,c)};return a.createElement("label",{className:G(n,A({},"".concat(r,"-item-disabled"),o))},a.createElement("input",{className:"".concat(r,"-item-input"),type:"radio",disabled:o,checked:i,onChange:d}),a.createElement("div",{className:"".concat(r,"-item-label"),title:s},l))},kD=a.forwardRef(function(e,t){var r,n,o=e.prefixCls,i=o===void 0?"rc-segmented":o,l=e.direction,s=e.options,c=s===void 0?[]:s,u=e.disabled,d=e.defaultValue,f=e.value,m=e.onChange,g=e.className,v=g===void 0?"":g,h=e.motionName,p=h===void 0?"thumb-motion":h,C=ut(e,TD),b=a.useRef(null),y=a.useMemo(function(){return yn(b,t)},[b,t]),S=a.useMemo(function(){return DD(c)},[c]),x=Ot((r=S[0])===null||r===void 0?void 0:r.value,{value:f,defaultValue:d}),$=ie(x,2),w=$[0],I=$[1],E=a.useState(!1),O=ie(E,2),N=O[0],P=O[1],R=function(L,T){u||(I(T),m==null||m(T))},M=Xt(C,["children"]);return a.createElement("div",ve({},M,{className:G(i,(n={},A(n,"".concat(i,"-rtl"),l==="rtl"),A(n,"".concat(i,"-disabled"),u),n),v),ref:y}),a.createElement("div",{className:"".concat(i,"-group")},a.createElement(RD,{prefixCls:i,value:w,containerRef:b,motionName:"".concat(i,"-").concat(p),direction:l,getValueIndex:function(L){return S.findIndex(function(T){return T.value===L})},onMotionStart:function(){P(!0)},onMotionEnd:function(){P(!1)}}),S.map(function(D){return a.createElement(_D,ve({},D,{key:D.value,prefixCls:i,className:G(D.className,"".concat(i,"-item"),A({},"".concat(i,"-item-selected"),D.value===w&&!N)),checked:D.value===w,onChange:R,disabled:!!u||!!D.disabled}))})))}),jD=kD;function xv(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function $v(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const HD=Object.assign({overflow:"hidden"},Mn),zD=e=>{const{componentCls:t}=e,r=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),n=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},$v(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:r,lineHeight:B(r),padding:`0 ${B(e.segmentedPaddingHorizontal)}`},HD),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},$v(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${B(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:n,lineHeight:B(n),padding:`0 ${B(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:B(o),padding:`0 ${B(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),xv(`&-disabled ${t}-item`,e)),xv(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},BD=e=>{const{colorTextLabel:t,colorText:r,colorFillSecondary:n,colorBgElevated:o,colorFill:i,lineWidthBold:l,colorBgLayout:s}=e;return{trackPadding:l,trackBg:s,itemColor:t,itemHoverColor:r,itemHoverBg:n,itemSelectedBg:o,itemActiveBg:i,itemSelectedColor:r}},AD=Et("Segmented",e=>{const{lineWidth:t,calc:r}=e,n=xt(e,{segmentedPaddingHorizontal:r(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:r(e.controlPaddingHorizontalSM).sub(t).equal()});return[zD(n)]},BD);var wv=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,rootClassName:o,block:i,options:l=[],size:s="middle",style:c}=e,u=wv(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:d,direction:f,segmented:m}=a.useContext(ke),g=d("segmented",r),[v,h,p]=AD(g),C=un(s),b=a.useMemo(()=>l.map(x=>{if(FD(x)){const{icon:$,label:w}=x,I=wv(x,["icon","label"]);return Object.assign(Object.assign({},I),{label:a.createElement(a.Fragment,null,a.createElement("span",{className:`${g}-item-icon`},$),w&&a.createElement("span",null,w))})}return x}),[l,g]),y=G(n,o,m==null?void 0:m.className,{[`${g}-block`]:i,[`${g}-sm`]:C==="small",[`${g}-lg`]:C==="large"},h,p),S=Object.assign(Object.assign({},m==null?void 0:m.style),c);return v(a.createElement(jD,Object.assign({},u,{className:y,style:S,options:b,ref:t,prefixCls:g,direction:f})))}),WD=VD,tb=WD,nb=z.createContext({}),rb=z.createContext({}),Jn=e=>e instanceof yr?e:new yr(e),ys=e=>Math.round(Number(e||0)),om=e=>ys(e.toHsb().a*100),Ss=(e,t)=>{const r=e.toHsb();return r.a=t||1,Jn(r)},ob=(e,t)=>{const r=[{percent:0,color:e[0].color}].concat(ye(e),[{percent:100,color:e[e.length-1].color}]);for(let n=0;n{let{prefixCls:t,value:r,onChange:n}=e;const o=()=>{if(n&&r&&!r.cleared){const i=r.toHsb();i.a=0;const l=Jn(i);l.cleared=!0,n(l)}};return z.createElement("div",{className:`${t}-clear`,onClick:o})},ab=KD;var Lo;(function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"})(Lo||(Lo={}));var qD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const GD=qD;var XD=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:GD}))},UD=a.forwardRef(XD);const YD=UD;function Sf(){return typeof BigInt=="function"}function ib(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function ra(e){var t=e.trim(),r=t.startsWith("-");r&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var n=t||"0",o=n.split("."),i=o[0]||"0",l=o[1]||"0";i==="0"&&l==="0"&&(r=!1);var s=r?"-":"";return{negative:r,negativeStr:s,trimStr:n,integerStr:i,decimalStr:l,fullStr:"".concat(s).concat(n)}}function am(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function ea(e){var t=String(e);if(am(e)){var r=Number(t.slice(t.indexOf("e-")+2)),n=t.match(/\.(\d+)/);return n!=null&&n[1]&&(r+=n[1].length),r}return t.includes(".")&&im(t)?t.length-t.indexOf(".")-1:0}function Gc(e){var t=String(e);if(am(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Sf()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return r?this.isInvalidate()?"":ra("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),QD=function(){function e(t){if(tn(this,e),A(this,"origin",""),A(this,"number",void 0),A(this,"empty",void 0),ib(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return nn(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(r){if(this.isInvalidate())return new e(r);var n=Number(r);if(Number.isNaN(n))return this;var o=this.number+n;if(o>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(oNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o0&&arguments[0]!==void 0?arguments[0]:!0;return r?this.isInvalidate()?"":Gc(this.number):this.origin}}]),e}();function Ir(e){return Sf()?new ZD(e):new QD(e)}function xs(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var o=ra(e),i=o.negativeStr,l=o.integerStr,s=o.decimalStr,c="".concat(t).concat(s),u="".concat(i).concat(l);if(r>=0){var d=Number(s[r]);if(d>=5&&!n){var f=Ir(e).add("".concat(i,"0.").concat("0".repeat(r)).concat(10-d));return xs(f.toString(),t,r,n)}return r===0?u:"".concat(u).concat(t).concat(s.padEnd(r,"0").slice(0,r))}return c===".0"?u:"".concat(u).concat(c)}function JD(e){return!!(e.addonBefore||e.addonAfter)}function e_(e){return!!(e.prefix||e.suffix||e.allowClear)}function Ev(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function zs(e,t,r,n){if(r){var o=t;if(t.type==="click"){o=Ev(t,e,""),r(o);return}if(e.type!=="file"&&n!==void 0){o=Ev(t,e,n),r(o);return}r(o)}}function lb(e,t){if(e){e.focus(t);var r=t||{},n=r.cursor;if(n){var o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}var Xc=z.forwardRef(function(e,t){var r,n,o=e.inputElement,i=e.children,l=e.prefixCls,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,m=e.style,g=e.disabled,v=e.readOnly,h=e.focused,p=e.triggerFocus,C=e.allowClear,b=e.value,y=e.handleReset,S=e.hidden,x=e.classes,$=e.classNames,w=e.dataAttrs,I=e.styles,E=e.components,O=e.onClear,N=i!=null?i:o,P=(E==null?void 0:E.affixWrapper)||"span",R=(E==null?void 0:E.groupWrapper)||"span",M=(E==null?void 0:E.wrapper)||"span",D=(E==null?void 0:E.groupAddon)||"span",L=a.useRef(null),T=function(U){var ae;(ae=L.current)!==null&&ae!==void 0&&ae.contains(U.target)&&(p==null||p())},_=e_(e),j=a.cloneElement(N,{value:b,className:G(N.props.className,!_&&($==null?void 0:$.variant))||null}),H=a.useRef(null);if(z.useImperativeHandle(t,function(){return{nativeElement:H.current||L.current}}),_){var k=null;if(C){var V=!g&&!v&&b,F="".concat(l,"-clear-icon"),q=bt(C)==="object"&&C!==null&&C!==void 0&&C.clearIcon?C.clearIcon:"✖";k=z.createElement("span",{onClick:function(U){y==null||y(U),O==null||O()},onMouseDown:function(U){return U.preventDefault()},className:G(F,A(A({},"".concat(F,"-hidden"),!V),"".concat(F,"-has-suffix"),!!c)),role:"button",tabIndex:-1},q)}var W="".concat(l,"-affix-wrapper"),J=G(W,A(A(A(A(A({},"".concat(l,"-disabled"),g),"".concat(W,"-disabled"),g),"".concat(W,"-focused"),h),"".concat(W,"-readonly"),v),"".concat(W,"-input-with-clear-btn"),c&&C&&b),x==null?void 0:x.affixWrapper,$==null?void 0:$.affixWrapper,$==null?void 0:$.variant),X=(c||C)&&z.createElement("span",{className:G("".concat(l,"-suffix"),$==null?void 0:$.suffix),style:I==null?void 0:I.suffix},k,c);j=z.createElement(P,ve({className:J,style:I==null?void 0:I.affixWrapper,onClick:T},w==null?void 0:w.affixWrapper,{ref:L}),s&&z.createElement("span",{className:G("".concat(l,"-prefix"),$==null?void 0:$.prefix),style:I==null?void 0:I.prefix},s),j,X)}if(JD(e)){var Z="".concat(l,"-group"),ee="".concat(Z,"-addon"),ne="".concat(Z,"-wrapper"),Y=G("".concat(l,"-wrapper"),Z,x==null?void 0:x.wrapper,$==null?void 0:$.wrapper),te=G(ne,A({},"".concat(ne,"-disabled"),g),x==null?void 0:x.group,$==null?void 0:$.groupWrapper);j=z.createElement(R,{className:te,ref:H},z.createElement(M,{className:Y},u&&z.createElement(D,{className:ee},u),j,d&&z.createElement(D,{className:ee},d)))}return z.cloneElement(j,{className:G((r=j.props)===null||r===void 0?void 0:r.className,f)||null,style:K(K({},(n=j.props)===null||n===void 0?void 0:n.style),m),hidden:S})}),t_=["show"];function sb(e,t){return a.useMemo(function(){var r={};t&&(r.show=bt(t)==="object"&&t.formatter?t.formatter:!!t),r=K(K({},r),e);var n=r,o=n.show,i=ut(n,t_);return K(K({},i),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:i.strategy||function(l){return l.length}})},[e,t])}var n_=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],r_=a.forwardRef(function(e,t){var r=e.autoComplete,n=e.onChange,o=e.onFocus,i=e.onBlur,l=e.onPressEnter,s=e.onKeyDown,c=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,f=e.disabled,m=e.htmlSize,g=e.className,v=e.maxLength,h=e.suffix,p=e.showCount,C=e.count,b=e.type,y=b===void 0?"text":b,S=e.classes,x=e.classNames,$=e.styles,w=e.onCompositionStart,I=e.onCompositionEnd,E=ut(e,n_),O=a.useState(!1),N=ie(O,2),P=N[0],R=N[1],M=a.useRef(!1),D=a.useRef(!1),L=a.useRef(null),T=a.useRef(null),_=function(he){L.current&&lb(L.current,he)},j=Ot(e.defaultValue,{value:e.value}),H=ie(j,2),k=H[0],V=H[1],F=k==null?"":String(k),q=a.useState(null),W=ie(q,2),J=W[0],X=W[1],Z=sb(C,p),ee=Z.max||v,ne=Z.strategy(F),Y=!!ee&&ne>ee;a.useImperativeHandle(t,function(){var de;return{focus:_,blur:function(){var Se;(Se=L.current)===null||Se===void 0||Se.blur()},setSelectionRange:function(Se,$e,Ne){var xe;(xe=L.current)===null||xe===void 0||xe.setSelectionRange(Se,$e,Ne)},select:function(){var Se;(Se=L.current)===null||Se===void 0||Se.select()},input:L.current,nativeElement:((de=T.current)===null||de===void 0?void 0:de.nativeElement)||L.current}}),a.useEffect(function(){R(function(de){return de&&f?!1:de})},[f]);var te=function(he,Se,$e){var Ne=Se;if(!M.current&&Z.exceedFormatter&&Z.max&&Z.strategy(Se)>Z.max){if(Ne=Z.exceedFormatter(Se,{max:Z.max}),Se!==Ne){var xe,Me;X([((xe=L.current)===null||xe===void 0?void 0:xe.selectionStart)||0,((Me=L.current)===null||Me===void 0?void 0:Me.selectionEnd)||0])}}else if($e.source==="compositionEnd")return;V(Ne),L.current&&zs(L.current,he,n,Ne)};a.useEffect(function(){if(J){var de;(de=L.current)===null||de===void 0||de.setSelectionRange.apply(de,ye(J))}},[J]);var Q=function(he){te(he,he.target.value,{source:"change"})},U=function(he){M.current=!1,te(he,he.currentTarget.value,{source:"compositionEnd"}),I==null||I(he)},ae=function(he){l&&he.key==="Enter"&&!D.current&&(D.current=!0,l(he)),s==null||s(he)},se=function(he){he.key==="Enter"&&(D.current=!1),c==null||c(he)},oe=function(he){R(!0),o==null||o(he)},re=function(he){R(!1),i==null||i(he)},ce=function(he){V(""),_(),L.current&&zs(L.current,he,n)},ue=Y&&"".concat(d,"-out-of-range"),fe=function(){var he=Xt(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return z.createElement("input",ve({autoComplete:r},he,{onChange:Q,onFocus:oe,onBlur:re,onKeyDown:ae,onKeyUp:se,className:G(d,A({},"".concat(d,"-disabled"),f),x==null?void 0:x.input),style:$==null?void 0:$.input,ref:L,size:m,type:y,onCompositionStart:function($e){M.current=!0,w==null||w($e)},onCompositionEnd:U}))},be=function(){var he=Number(ee)>0;if(h||Z.show){var Se=Z.showFormatter?Z.showFormatter({value:F,count:ne,maxLength:ee}):"".concat(ne).concat(he?" / ".concat(ee):"");return z.createElement(z.Fragment,null,Z.show&&z.createElement("span",{className:G("".concat(d,"-show-count-suffix"),A({},"".concat(d,"-show-count-has-suffix"),!!h),x==null?void 0:x.count),style:K({},$==null?void 0:$.count)},Se),h)}return null};return z.createElement(Xc,ve({},E,{prefixCls:d,className:G(g,ue),handleReset:ce,value:F,focused:P,triggerFocus:_,suffix:be(),disabled:f,classes:S,classNames:x,styles:$}),fe())});function o_(e,t){return typeof Proxy!="undefined"&&e?new Proxy(e,{get:function(n,o){if(t[o])return t[o];var i=n[o];return typeof i=="function"?i.bind(n):i}}):e}function a_(e,t){var r=a.useRef(null);function n(){try{var i=e.selectionStart,l=e.selectionEnd,s=e.value,c=s.substring(0,i),u=s.substring(l);r.current={start:i,end:l,value:s,beforeTxt:c,afterTxt:u}}catch(d){}}function o(){if(e&&r.current&&t)try{var i=e.value,l=r.current,s=l.beforeTxt,c=l.afterTxt,u=l.start,d=i.length;if(i.startsWith(s))d=s.length;else if(i.endsWith(c))d=i.length-r.current.afterTxt.length;else{var f=s[u-1],m=i.indexOf(f,u-1);m!==-1&&(d=m+1)}e.setSelectionRange(d,d)}catch(g){Jt(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(g.message))}}return[n,o]}var i_=function(){var t=a.useState(!1),r=ie(t,2),n=r[0],o=r[1];return _t(function(){o(pc())},[]),n},l_=200,s_=600;function c_(e){var t=e.prefixCls,r=e.upNode,n=e.downNode,o=e.upDisabled,i=e.downDisabled,l=e.onStep,s=a.useRef(),c=a.useRef([]),u=a.useRef();u.current=l;var d=function(){clearTimeout(s.current)},f=function(y,S){y.preventDefault(),d(),u.current(S);function x(){u.current(S),s.current=setTimeout(x,l_)}s.current=setTimeout(x,s_)};a.useEffect(function(){return function(){d(),c.current.forEach(function(b){return kt.cancel(b)})}},[]);var m=i_();if(m)return null;var g="".concat(t,"-handler"),v=G(g,"".concat(g,"-up"),A({},"".concat(g,"-up-disabled"),o)),h=G(g,"".concat(g,"-down"),A({},"".concat(g,"-down-disabled"),i)),p=function(){return c.current.push(kt(d))},C={unselectable:"on",role:"button",onMouseUp:p,onMouseLeave:p};return a.createElement("div",{className:"".concat(g,"-wrap")},a.createElement("span",ve({},C,{onMouseDown:function(y){f(y,!0)},"aria-label":"Increase Value","aria-disabled":o,className:v}),r||a.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),a.createElement("span",ve({},C,{onMouseDown:function(y){f(y,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:h}),n||a.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function Iv(e){var t=typeof e=="number"?Gc(e):ra(e).fullStr,r=t.includes(".");return r?ra(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const u_=function(){var e=a.useRef(0),t=function(){kt.cancel(e.current)};return a.useEffect(function(){return t},[]),function(r){t(),e.current=kt(function(){r()})}};var d_=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],f_=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Ov=function(t,r){return t||r.isEmpty()?r.toString():r.toNumber()},Pv=function(t){var r=Ir(t);return r.isInvalidate()?null:r},m_=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.className,o=e.style,i=e.min,l=e.max,s=e.step,c=s===void 0?1:s,u=e.defaultValue,d=e.value,f=e.disabled,m=e.readOnly,g=e.upHandler,v=e.downHandler,h=e.keyboard,p=e.changeOnWheel,C=p===void 0?!1:p,b=e.controls,y=b===void 0?!0:b;e.classNames;var S=e.stringMode,x=e.parser,$=e.formatter,w=e.precision,I=e.decimalSeparator,E=e.onChange,O=e.onInput,N=e.onPressEnter,P=e.onStep,R=e.changeOnBlur,M=R===void 0?!0:R,D=e.domRef,L=ut(e,d_),T="".concat(r,"-input"),_=a.useRef(null),j=a.useState(!1),H=ie(j,2),k=H[0],V=H[1],F=a.useRef(!1),q=a.useRef(!1),W=a.useRef(!1),J=a.useState(function(){return Ir(d!=null?d:u)}),X=ie(J,2),Z=X[0],ee=X[1];function ne(De){d===void 0&&ee(De)}var Y=a.useCallback(function(De,Ke){if(!Ke)return w>=0?w:Math.max(ea(De),ea(c))},[w,c]),te=a.useCallback(function(De){var Ke=String(De);if(x)return x(Ke);var Qe=Ke;return I&&(Qe=Qe.replace(I,".")),Qe.replace(/[^\w.-]+/g,"")},[x,I]),Q=a.useRef(""),U=a.useCallback(function(De,Ke){if($)return $(De,{userTyping:Ke,input:String(Q.current)});var Qe=typeof De=="number"?Gc(De):De;if(!Ke){var ot=Y(Qe,Ke);if(im(Qe)&&(I||ot>=0)){var Xe=I||".";Qe=xs(Qe,Xe,ot)}}return Qe},[$,Y,I]),ae=a.useState(function(){var De=u!=null?u:d;return Z.isInvalidate()&&["string","number"].includes(bt(De))?Number.isNaN(De)?"":De:U(Z.toString(),!1)}),se=ie(ae,2),oe=se[0],re=se[1];Q.current=oe;function ce(De,Ke){re(U(De.isInvalidate()?De.toString(!1):De.toString(!Ke),Ke))}var ue=a.useMemo(function(){return Pv(l)},[l,w]),fe=a.useMemo(function(){return Pv(i)},[i,w]),be=a.useMemo(function(){return!ue||!Z||Z.isInvalidate()?!1:ue.lessEquals(Z)},[ue,Z]),de=a.useMemo(function(){return!fe||!Z||Z.isInvalidate()?!1:Z.lessEquals(fe)},[fe,Z]),he=a_(_.current,k),Se=ie(he,2),$e=Se[0],Ne=Se[1],xe=function(Ke){return ue&&!Ke.lessEquals(ue)?ue:fe&&!fe.lessEquals(Ke)?fe:null},Me=function(Ke){return!xe(Ke)},Ee=function(Ke,Qe){var ot=Ke,Xe=Me(ot)||ot.isEmpty();if(!ot.isEmpty()&&!Qe&&(ot=xe(ot)||ot,Xe=!0),!m&&!f&&Xe){var We=ot.toString(),He=Y(We,Qe);return He>=0&&(ot=Ir(xs(We,".",He)),Me(ot)||(ot=Ir(xs(We,".",He,!0)))),ot.equals(Z)||(ne(ot),E==null||E(ot.isEmpty()?null:Ov(S,ot)),d===void 0&&ce(ot,Qe)),ot}return Z},Te=u_(),Re=function De(Ke){if($e(),Q.current=Ke,re(Ke),!q.current){var Qe=te(Ke),ot=Ir(Qe);ot.isNaN()||Ee(ot,!0)}O==null||O(Ke),Te(function(){var Xe=Ke;x||(Xe=Ke.replace(/。/g,".")),Xe!==Ke&&De(Xe)})},Pe=function(){q.current=!0},me=function(){q.current=!1,Re(_.current.value)},Ce=function(Ke){Re(Ke.target.value)},pe=function(Ke){var Qe;if(!(Ke&&be||!Ke&&de)){F.current=!1;var ot=Ir(W.current?Iv(c):c);Ke||(ot=ot.negate());var Xe=(Z||Ir(0)).add(ot.toString()),We=Ee(Xe,!1);P==null||P(Ov(S,We),{offset:W.current?Iv(c):c,type:Ke?"up":"down"}),(Qe=_.current)===null||Qe===void 0||Qe.focus()}},ge=function(Ke){var Qe=Ir(te(oe)),ot;Qe.isNaN()?ot=Ee(Z,Ke):ot=Ee(Qe,Ke),d!==void 0?ce(Z,!1):ot.isNaN()||ce(ot,!1)},Ie=function(){F.current=!0},nt=function(Ke){var Qe=Ke.key,ot=Ke.shiftKey;F.current=!0,W.current=ot,Qe==="Enter"&&(q.current||(F.current=!1),ge(!1),N==null||N(Ke)),h!==!1&&!q.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Qe)&&(pe(Qe==="Up"||Qe==="ArrowUp"),Ke.preventDefault())},Ve=function(){F.current=!1,W.current=!1};a.useEffect(function(){if(C&&k){var De=function(ot){pe(ot.deltaY<0),ot.preventDefault()},Ke=_.current;if(Ke)return Ke.addEventListener("wheel",De,{passive:!1}),function(){return Ke.removeEventListener("wheel",De)}}});var Ze=function(){M&&ge(!1),V(!1),F.current=!1};return na(function(){Z.isInvalidate()||ce(Z,!1)},[w,$]),na(function(){var De=Ir(d);ee(De);var Ke=Ir(te(oe));(!De.equals(Ke)||!F.current||$)&&ce(De,F.current)},[d]),na(function(){$&&Ne()},[oe]),a.createElement("div",{ref:D,className:G(r,n,A(A(A(A(A({},"".concat(r,"-focused"),k),"".concat(r,"-disabled"),f),"".concat(r,"-readonly"),m),"".concat(r,"-not-a-number"),Z.isNaN()),"".concat(r,"-out-of-range"),!Z.isInvalidate()&&!Me(Z))),style:o,onFocus:function(){V(!0)},onBlur:Ze,onKeyDown:nt,onKeyUp:Ve,onCompositionStart:Pe,onCompositionEnd:me,onBeforeInput:Ie},y&&a.createElement(c_,{prefixCls:r,upNode:g,downNode:v,upDisabled:be,downDisabled:de,onStep:pe}),a.createElement("div",{className:"".concat(T,"-wrap")},a.createElement("input",ve({autoComplete:"off",role:"spinbutton","aria-valuemin":i,"aria-valuemax":l,"aria-valuenow":Z.isInvalidate()?null:Z.toString(),step:c},L,{ref:yn(_,t),className:T,value:oe,onChange:Ce,disabled:f,readOnly:m}))))}),g_=a.forwardRef(function(e,t){var r=e.disabled,n=e.style,o=e.prefixCls,i=o===void 0?"rc-input-number":o,l=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,m=e.classNames,g=ut(e,f_),v=a.useRef(null),h=a.useRef(null),p=a.useRef(null),C=function(y){p.current&&lb(p.current,y)};return a.useImperativeHandle(t,function(){return o_(p.current,{nativeElement:v.current.nativeElement||h.current})}),a.createElement(Xc,{className:f,triggerFocus:C,prefixCls:i,value:l,disabled:r,style:n,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:v},a.createElement(m_,ve({prefixCls:i,disabled:r,ref:p,domRef:h,className:m==null?void 0:m.input},g)))});const v_=e=>{var t;const r=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},pi(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:r,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Qt(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:r===!0?1:0})},Nv=(e,t)=>{let{componentCls:r,borderRadiusSM:n,borderRadiusLG:o}=e;const i=t==="lg"?o:n;return{[`&-${t}`]:{[`${r}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${r}-handler-up`]:{borderStartEndRadius:i},[`${r}-handler-down`]:{borderEndEndRadius:i}}}},p_=e=>{const{componentCls:t,lineWidth:r,lineType:n,borderRadius:o,inputFontSizeSM:i,inputFontSizeLG:l,controlHeightLG:s,controlHeightSM:c,colorError:u,paddingInlineSM:d,paddingBlockSM:f,paddingBlockLG:m,paddingInlineLG:g,colorTextDescription:v,motionDurationMid:h,handleHoverColor:p,handleOpacity:C,paddingInline:b,paddingBlock:y,handleBg:S,handleActiveBg:x,colorTextDisabled:$,borderRadiusSM:w,borderRadiusLG:I,controlWidth:E,handleBorderColor:O,filledHandleBg:N,lineHeightLG:P,calc:R}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),ca(e)),{display:"inline-block",width:E,margin:0,padding:0,borderRadius:o}),Hc(e,{[`${t}-handler-wrap`]:{background:S,[`${t}-handler-down`]:{borderBlockStart:`${B(r)} ${n} ${O}`}}})),Bc(e,{[`${t}-handler-wrap`]:{background:N,[`${t}-handler-down`]:{borderBlockStart:`${B(r)} ${n} ${O}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:S}}})),zc(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:l,lineHeight:P,borderRadius:I,[`input${t}-input`]:{height:R(s).sub(R(r).mul(2)).equal(),padding:`${B(m)} ${B(g)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:w,[`input${t}-input`]:{height:R(c).sub(R(r).mul(2)).equal(),padding:`${B(f)} ${B(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},Pt(e)),nC(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:I,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:w}}},Q3(e)),eC(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{width:"100%",padding:`${B(y)} ${B(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${h} linear`,appearance:"textfield",fontSize:"inherit"}),Ac(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:C,height:"100%",borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${h}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:n}}}},sD=e=>{const{componentCls:t,paddingSM:r}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:r}}}}}},cD=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),uD=Et("Collapse",e=>{const t=xt(e,{collapseHeaderPaddingSM:`${B(e.paddingXS)} ${B(e.paddingSM)}`,collapseHeaderPaddingLG:`${B(e.padding)} ${B(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[aD(t),lD(t),sD(t),iD(t),ml(t)]},cD),dD=a.forwardRef((e,t)=>{const{getPrefixCls:r,direction:n,collapse:o}=a.useContext(ke),{prefixCls:i,className:l,rootClassName:s,style:c,bordered:u=!0,ghost:d,size:f,expandIconPosition:m="start",children:g,expandIcon:v}=e,h=un(N=>{var P;return(P=f!=null?f:N)!==null&&P!==void 0?P:"middle"}),p=r("collapse",i),C=r(),[b,y,S]=uD(p),x=a.useMemo(()=>m==="left"?"start":m==="right"?"end":m,[m]),$=v!=null?v:o==null?void 0:o.expandIcon,w=a.useCallback(function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const P=typeof $=="function"?$(N):a.createElement(eo,{rotate:N.isActive?90:void 0,"aria-label":N.isActive?"expanded":"collapsed"});return cn(P,()=>{var R;return{className:G((R=P==null?void 0:P.props)===null||R===void 0?void 0:R.className,`${p}-arrow`)}})},[$,p]),I=G(`${p}-icon-position-${x}`,{[`${p}-borderless`]:!u,[`${p}-rtl`]:n==="rtl",[`${p}-ghost`]:!!d,[`${p}-${h}`]:h!=="middle"},o==null?void 0:o.className,l,s,y,S),E=Object.assign(Object.assign({},Xa(C)),{motionAppear:!1,leavedClassName:`${p}-content-hidden`}),O=a.useMemo(()=>g?sn(g).map((N,P)=>{var R,M;if(!((R=N.props)===null||R===void 0)&&R.disabled){const D=(M=N.key)!==null&&M!==void 0?M:String(P),{disabled:L,collapsible:T}=N.props,_=Object.assign(Object.assign({},Xt(N.props,["disabled"])),{key:D,collapsible:T!=null?T:L?"disabled":void 0});return cn(N,_)}return N}):null,[g]);return b(a.createElement(tm,Object.assign({ref:t,openMotion:E},Xt(e,["rootClassName"]),{expandIcon:w,prefixCls:p,className:I,style:Object.assign(Object.assign({},o==null?void 0:o.style),c)}),O))}),nm=Object.assign(dD,{Panel:oD}),_n=Math.round;function Uu(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)n[o]=t(n[o]||0,r[o]||"",o);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const yv=(e,t,r)=>r===0?e:e/100;function Li(e,t){const r=t||255;return e>r?r:e<0?0:e}class qc{constructor(t){A(this,"isValid",!0),A(this,"r",0),A(this,"g",0),A(this,"b",0),A(this,"a",1),A(this,"_h",void 0),A(this,"_s",void 0),A(this,"_l",void 0),A(this,"_v",void 0),A(this,"_max",void 0),A(this,"_min",void 0),A(this,"_brightness",void 0);function r(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let o=function(i){return n.startsWith(i)};const n=t.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):o("rgb")?this.fromRgbString(n):o("hsl")?this.fromHslString(n):(o("hsv")||o("hsb"))&&this.fromHsvString(n)}else if(t instanceof qc)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=Li(t.r),this.g=Li(t.g),this.b=Li(t.b),this.a=typeof t.a=="number"?Li(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const l=i/255;return l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}const r=t(this.r),n=t(this.g),o=t(this.b);return .2126*r+.7152*n+.0722*o}getHue(){if(typeof this._h=="undefined"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=_n(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g1&&(o=1),this._c({h:r,s:n,l:o,a:this.a})}mix(t,r=50){const n=this._c(t),o=r/100,i=s=>(n[s]-this[s])*o+this[s],l={r:_n(i("r")),g:_n(i("g")),b:_n(i("b")),a:_n(i("a")*100)/100};return this._c(l)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),n=this.a+r.a*(1-this.a),o=i=>_n((this[i]*this.a+r[i]*r.a*(1-this.a))/n);return this._c({r:o("r"),g:o("g"),b:o("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=_n(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=_n(this.getSaturation()*100),n=_n(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${n}%,${this.a})`:`hsl(${t},${r}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,n){const o=this.clone();return o[t]=Li(r,n),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function n(o,i){return parseInt(r[o]+r[i||o],16)}r.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=r[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=r[6]?n(6,7)/255:1)}fromHsl({h:t,s:r,l:n,a:o}){if(this._h=t%360,this._s=r,this._l=n,this.a=typeof o=="number"?o:1,r<=0){const m=_n(n*255);this.r=m,this.g=m,this.b=m}let i=0,l=0,s=0;const c=t/60,u=(1-Math.abs(2*n-1))*r,d=u*(1-Math.abs(c%2-1));c>=0&&c<1?(i=u,l=d):c>=1&&c<2?(i=d,l=u):c>=2&&c<3?(l=u,s=d):c>=3&&c<4?(l=d,s=u):c>=4&&c<5?(i=d,s=u):c>=5&&c<6&&(i=u,s=d);const f=n-u/2;this.r=_n((i+f)*255),this.g=_n((l+f)*255),this.b=_n((s+f)*255)}fromHsv({h:t,s:r,v:n,a:o}){this._h=t%360,this._s=r,this._v=n,this.a=typeof o=="number"?o:1;const i=_n(n*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const l=t/60,s=Math.floor(l),c=l-s,u=_n(n*(1-r)*255),d=_n(n*(1-r*c)*255),f=_n(n*(1-r*(1-c))*255);switch(s){case 0:this.g=f,this.b=u;break;case 1:this.r=d,this.b=u;break;case 2:this.r=u,this.b=f;break;case 3:this.r=u,this.g=d;break;case 4:this.r=f,this.g=u;break;case 5:default:this.g=u,this.b=d;break}}fromHsvString(t){const r=Uu(t,yv);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=Uu(t,yv);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=Uu(t,(n,o)=>o.includes("%")?_n(n/100*255):n);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var fD=["b"],mD=["v"],Yu=function(t){return Math.round(Number(t||0))},gD=function(t){if(t instanceof qc)return t;if(t&&bt(t)==="object"&&"h"in t&&"b"in t){var r=t,n=r.b,o=ut(r,fD);return K(K({},o),{},{v:n})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},kr=function(e){Fn(r,e);var t=no(r);function r(n){return tn(this,r),t.call(this,gD(n))}return nn(r,[{key:"toHsbString",value:function(){var o=this.toHsb(),i=Yu(o.s*100),l=Yu(o.b*100),s=Yu(o.h),c=o.a,u="hsb(".concat(s,", ").concat(i,"%, ").concat(l,"%)"),d="hsba(".concat(s,", ").concat(i,"%, ").concat(l,"%, ").concat(c.toFixed(c===0?0:2),")");return c===1?u:d}},{key:"toHsb",value:function(){var o=this.toHsv(),i=o.v,l=ut(o,mD);return K(K({},l),{},{b:i,a:this.a})}}]),r}(qc),vD="rc-color-picker",Ka=function(t){return t instanceof kr?t:new kr(t)},pD=Ka("#1677ff"),X3=function(t){var r=t.offset,n=t.targetRef,o=t.containerRef,i=t.color,l=t.type,s=o.current.getBoundingClientRect(),c=s.width,u=s.height,d=n.current.getBoundingClientRect(),f=d.width,m=d.height,g=f/2,v=m/2,h=(r.x+g)/c,p=1-(r.y+v)/u,C=i.toHsb(),b=h,y=(r.x+g)/c*360;if(l)switch(l){case"hue":return Ka(K(K({},C),{},{h:y<=0?0:y}));case"alpha":return Ka(K(K({},C),{},{a:b<=0?0:b}))}return Ka({h:C.h,s:h<=0?0:h,b:p>=1?1:p,a:C.a})},U3=function(t,r){var n=t.toHsb();switch(r){case"hue":return{x:n.h/360*100,y:50};case"alpha":return{x:t.a*100,y:50};default:return{x:n.s*100,y:(1-n.b)*100}}},rm=function(t){var r=t.color,n=t.prefixCls,o=t.className,i=t.style,l=t.onClick,s="".concat(n,"-color-block");return z.createElement("div",{className:G(s,o),style:i,onClick:l},z.createElement("div",{className:"".concat(s,"-inner"),style:{background:r}}))};function hD(e){var t="touches"in e?e.touches[0]:e,r=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,n=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-r,pageY:t.pageY-n}}function Y3(e){var t=e.targetRef,r=e.containerRef,n=e.direction,o=e.onDragChange,i=e.onDragChangeComplete,l=e.calculate,s=e.color,c=e.disabledDrag,u=a.useState({x:0,y:0}),d=ie(u,2),f=d[0],m=d[1],g=a.useRef(null),v=a.useRef(null);a.useEffect(function(){m(l())},[s]),a.useEffect(function(){return function(){document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",g.current),document.removeEventListener("touchend",v.current),g.current=null,v.current=null}},[]);var h=function(S){var x=hD(S),$=x.pageX,w=x.pageY,I=r.current.getBoundingClientRect(),E=I.x,O=I.y,N=I.width,P=I.height,R=t.current.getBoundingClientRect(),M=R.width,D=R.height,L=M/2,T=D/2,_=Math.max(0,Math.min($-E,N))-L,j=Math.max(0,Math.min(w-O,P))-T,H={x:_,y:n==="x"?f.y:j};if(M===0&&D===0||M!==D)return!1;o==null||o(H)},p=function(S){S.preventDefault(),h(S)},C=function(S){S.preventDefault(),document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",g.current),document.removeEventListener("touchend",v.current),g.current=null,v.current=null,i==null||i()},b=function(S){document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),!c&&(h(S),document.addEventListener("mousemove",p),document.addEventListener("mouseup",C),document.addEventListener("touchmove",p),document.addEventListener("touchend",C),g.current=p,v.current=C)};return[f,b]}var Z3=function(t){var r=t.size,n=r===void 0?"default":r,o=t.color,i=t.prefixCls;return z.createElement("div",{className:G("".concat(i,"-handler"),A({},"".concat(i,"-handler-sm"),n==="small")),style:{backgroundColor:o}})},Q3=function(t){var r=t.children,n=t.style,o=t.prefixCls;return z.createElement("div",{className:"".concat(o,"-palette"),style:K({position:"relative"},n)},r)},J3=a.forwardRef(function(e,t){var r=e.children,n=e.x,o=e.y;return z.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(n,"%"),top:"".concat(o,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},r)}),CD=function(t){var r=t.color,n=t.onChange,o=t.prefixCls,i=t.onChangeComplete,l=t.disabled,s=a.useRef(),c=a.useRef(),u=a.useRef(r),d=$t(function(h){var p=X3({offset:h,targetRef:c,containerRef:s,color:r});u.current=p,n(p)}),f=Y3({color:r,containerRef:s,targetRef:c,calculate:function(){return U3(r)},onDragChange:d,onDragChangeComplete:function(){return i==null?void 0:i(u.current)},disabledDrag:l}),m=ie(f,2),g=m[0],v=m[1];return z.createElement("div",{ref:s,className:"".concat(o,"-select"),onMouseDown:v,onTouchStart:v},z.createElement(Q3,{prefixCls:o},z.createElement(J3,{x:g.x,y:g.y,ref:c},z.createElement(Z3,{color:r.toRgbString(),prefixCls:o})),z.createElement("div",{className:"".concat(o,"-saturation"),style:{backgroundColor:"hsl(".concat(r.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},bD=function(t,r){var n=Ot(t,{value:r}),o=ie(n,2),i=o[0],l=o[1],s=a.useMemo(function(){return Ka(i)},[i]);return[s,l]},yD=function(t){var r=t.colors,n=t.children,o=t.direction,i=o===void 0?"to right":o,l=t.type,s=t.prefixCls,c=a.useMemo(function(){return r.map(function(u,d){var f=Ka(u);return l==="alpha"&&d===r.length-1&&(f=new kr(f.setA(1))),f.toRgbString()}).join(",")},[r,l]);return z.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(c,")")}},n)},SD=function(t){var r=t.prefixCls,n=t.colors,o=t.disabled,i=t.onChange,l=t.onChangeComplete,s=t.color,c=t.type,u=a.useRef(),d=a.useRef(),f=a.useRef(s),m=function(x){return c==="hue"?x.getHue():x.a*100},g=$t(function(S){var x=X3({offset:S,targetRef:d,containerRef:u,color:s,type:c});f.current=x,i(m(x))}),v=Y3({color:s,targetRef:d,containerRef:u,calculate:function(){return U3(s,c)},onDragChange:g,onDragChangeComplete:function(){l(m(f.current))},direction:"x",disabledDrag:o}),h=ie(v,2),p=h[0],C=h[1],b=z.useMemo(function(){if(c==="hue"){var S=s.toHsb();S.s=1,S.b=1,S.a=1;var x=new kr(S);return x}return s},[s,c]),y=z.useMemo(function(){return n.map(function(S){return"".concat(S.color," ").concat(S.percent,"%")})},[n]);return z.createElement("div",{ref:u,className:G("".concat(r,"-slider"),"".concat(r,"-slider-").concat(c)),onMouseDown:C,onTouchStart:C},z.createElement(Q3,{prefixCls:r},z.createElement(J3,{x:p.x,y:p.y,ref:d},z.createElement(Z3,{size:"small",color:b.toHexString(),prefixCls:r})),z.createElement(yD,{colors:y,type:c,prefixCls:r})))};function xD(e){return a.useMemo(function(){var t=e||{},r=t.slider;return[r||SD]},[e])}var $D=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],wD=a.forwardRef(function(e,t){var r=e.value,n=e.defaultValue,o=e.prefixCls,i=o===void 0?vD:o,l=e.onChange,s=e.onChangeComplete,c=e.className,u=e.style,d=e.panelRender,f=e.disabledAlpha,m=f===void 0?!1:f,g=e.disabled,v=g===void 0?!1:g,h=e.components,p=xD(h),C=ie(p,1),b=C[0],y=bD(n||pD,r),S=ie(y,2),x=S[0],$=S[1],w=a.useMemo(function(){return x.setA(1).toRgbString()},[x]),I=function(j,H){r||$(j),l==null||l(j,H)},E=function(j){return new kr(x.setHue(j))},O=function(j){return new kr(x.setA(j/100))},N=function(j){I(E(j),{type:"hue",value:j})},P=function(j){I(O(j),{type:"alpha",value:j})},R=function(j){s&&s(E(j))},M=function(j){s&&s(O(j))},D=G("".concat(i,"-panel"),c,A({},"".concat(i,"-panel-disabled"),v)),L={prefixCls:i,disabled:v,color:x},T=z.createElement(z.Fragment,null,z.createElement(CD,ve({onChange:I},L,{onChangeComplete:s})),z.createElement("div",{className:"".concat(i,"-slider-container")},z.createElement("div",{className:G("".concat(i,"-slider-group"),A({},"".concat(i,"-slider-group-disabled-alpha"),m))},z.createElement(b,ve({},L,{type:"hue",colors:$D,min:0,max:359,value:x.getHue(),onChange:N,onChangeComplete:R})),!m&&z.createElement(b,ve({},L,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:w}],min:0,max:100,value:x.a*100,onChange:P,onChangeComplete:M}))),z.createElement(rm,{color:x.toRgbString(),prefixCls:i})));return z.createElement("div",{className:D,style:u,ref:t},typeof d=="function"?d(T):T)});const Fi=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/gi,"").slice(0,t?8:6))||"",ED=(e,t)=>e?Fi(e,t):"";let yr=function(){function e(t){tn(this,e);var r;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(r=t.colors)===null||r===void 0?void 0:r.map(o=>({color:new e(o.color),percent:o.percent})),this.cleared=t.cleared;return}const n=Array.isArray(t);n&&t.length?(this.colors=t.map(o=>{let{color:i,percent:l}=o;return{color:new e(i),percent:l}}),this.metaColor=new kr(this.colors[0].color.metaColor)):this.metaColor=new kr(n?"":t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return nn(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return ED(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:r}=this;return r?`linear-gradient(90deg, ${r.map(o=>`${o.color.toRgbString()} ${o.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(r){return!r||this.isGradient()!==r.isGradient()?!1:this.isGradient()?this.colors.length===r.colors.length&&this.colors.every((n,o)=>{const i=r.colors[o];return n.percent===i.percent&&n.color.equals(i.color)}):this.toHexString()===r.toHexString()}}])}();const ID=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:i,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{borderBlockStart:`${B(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${B(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${B(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${B(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${B(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${B(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${B(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}},OD=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),PD=Et("Divider",e=>{const t=xt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[ID(t)]},OD,{unitless:{orientationMargin:!0}});var ND=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:r,divider:n}=a.useContext(ke),{prefixCls:o,type:i="horizontal",orientation:l="center",orientationMargin:s,className:c,rootClassName:u,children:d,dashed:f,variant:m="solid",plain:g,style:v}=e,h=ND(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),p=t("divider",o),[C,b,y]=PD(p),S=!!d,x=l==="left"&&s!=null,$=l==="right"&&s!=null,w=G(p,n==null?void 0:n.className,b,y,`${p}-${i}`,{[`${p}-with-text`]:S,[`${p}-with-text-${l}`]:S,[`${p}-dashed`]:!!f,[`${p}-${m}`]:m!=="solid",[`${p}-plain`]:!!g,[`${p}-rtl`]:r==="rtl",[`${p}-no-default-orientation-margin-left`]:x,[`${p}-no-default-orientation-margin-right`]:$},c,u),I=a.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),E=Object.assign(Object.assign({},x&&{marginLeft:I}),$&&{marginRight:I});return C(a.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},n==null?void 0:n.style),v)},h,{role:"separator"}),d&&i!=="vertical"&&a.createElement("span",{className:`${p}-inner-text`,style:E},d)))},eb=MD;var Sv=function(t){return t?{left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth}:null},ka=function(t){return t!==void 0?"".concat(t,"px"):void 0};function RD(e){var t=e.prefixCls,r=e.containerRef,n=e.value,o=e.getValueIndex,i=e.motionName,l=e.onMotionStart,s=e.onMotionEnd,c=e.direction,u=a.useRef(null),d=a.useState(n),f=ie(d,2),m=f[0],g=f[1],v=function(R){var M,D=o(R),L=(M=r.current)===null||M===void 0?void 0:M.querySelectorAll(".".concat(t,"-item"))[D];return(L==null?void 0:L.offsetParent)&&L},h=a.useState(null),p=ie(h,2),C=p[0],b=p[1],y=a.useState(null),S=ie(y,2),x=S[0],$=S[1];_t(function(){if(m!==n){var P=v(m),R=v(n),M=Sv(P),D=Sv(R);g(n),b(M),$(D),P&&R?l():s()}},[n]);var w=a.useMemo(function(){return ka(c==="rtl"?-(C==null?void 0:C.right):C==null?void 0:C.left)},[c,C]),I=a.useMemo(function(){return ka(c==="rtl"?-(x==null?void 0:x.right):x==null?void 0:x.left)},[c,x]),E=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},O=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},N=function(){b(null),$(null),s()};return!C||!x?null:a.createElement(In,{visible:!0,motionName:i,motionAppear:!0,onAppearStart:E,onAppearActive:O,onVisibleChanged:N},function(P,R){var M=P.className,D=P.style,L=K(K({},D),{},{"--thumb-start-left":w,"--thumb-start-width":ka(C==null?void 0:C.width),"--thumb-active-left":I,"--thumb-active-width":ka(x==null?void 0:x.width)}),T={ref:yn(u,R),style:L,className:G("".concat(t,"-thumb"),M)};return a.createElement("div",T)})}var TD=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function LD(e){if(typeof e.title!="undefined")return e.title;if(bt(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function DD(e){return e.map(function(t){if(bt(t)==="object"&&t!==null){var r=LD(t);return K(K({},t),{},{title:r})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var _D=function(t){var r=t.prefixCls,n=t.className,o=t.disabled,i=t.checked,l=t.label,s=t.title,c=t.value,u=t.onChange,d=function(m){o||u(m,c)};return a.createElement("label",{className:G(n,A({},"".concat(r,"-item-disabled"),o))},a.createElement("input",{className:"".concat(r,"-item-input"),type:"radio",disabled:o,checked:i,onChange:d}),a.createElement("div",{className:"".concat(r,"-item-label"),title:s},l))},kD=a.forwardRef(function(e,t){var r,n,o=e.prefixCls,i=o===void 0?"rc-segmented":o,l=e.direction,s=e.options,c=s===void 0?[]:s,u=e.disabled,d=e.defaultValue,f=e.value,m=e.onChange,g=e.className,v=g===void 0?"":g,h=e.motionName,p=h===void 0?"thumb-motion":h,C=ut(e,TD),b=a.useRef(null),y=a.useMemo(function(){return yn(b,t)},[b,t]),S=a.useMemo(function(){return DD(c)},[c]),x=Ot((r=S[0])===null||r===void 0?void 0:r.value,{value:f,defaultValue:d}),$=ie(x,2),w=$[0],I=$[1],E=a.useState(!1),O=ie(E,2),N=O[0],P=O[1],R=function(L,T){u||(I(T),m==null||m(T))},M=Xt(C,["children"]);return a.createElement("div",ve({},M,{className:G(i,(n={},A(n,"".concat(i,"-rtl"),l==="rtl"),A(n,"".concat(i,"-disabled"),u),n),v),ref:y}),a.createElement("div",{className:"".concat(i,"-group")},a.createElement(RD,{prefixCls:i,value:w,containerRef:b,motionName:"".concat(i,"-").concat(p),direction:l,getValueIndex:function(L){return S.findIndex(function(T){return T.value===L})},onMotionStart:function(){P(!0)},onMotionEnd:function(){P(!1)}}),S.map(function(D){return a.createElement(_D,ve({},D,{key:D.value,prefixCls:i,className:G(D.className,"".concat(i,"-item"),A({},"".concat(i,"-item-selected"),D.value===w&&!N)),checked:D.value===w,onChange:R,disabled:!!u||!!D.disabled}))})))}),jD=kD;function xv(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function $v(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const HD=Object.assign({overflow:"hidden"},Mn),zD=e=>{const{componentCls:t}=e,r=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),n=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},$v(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:r,lineHeight:B(r),padding:`0 ${B(e.segmentedPaddingHorizontal)}`},HD),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},$v(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${B(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:n,lineHeight:B(n),padding:`0 ${B(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:B(o),padding:`0 ${B(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),xv(`&-disabled ${t}-item`,e)),xv(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},BD=e=>{const{colorTextLabel:t,colorText:r,colorFillSecondary:n,colorBgElevated:o,colorFill:i,lineWidthBold:l,colorBgLayout:s}=e;return{trackPadding:l,trackBg:s,itemColor:t,itemHoverColor:r,itemHoverBg:n,itemSelectedBg:o,itemActiveBg:i,itemSelectedColor:r}},AD=Et("Segmented",e=>{const{lineWidth:t,calc:r}=e,n=xt(e,{segmentedPaddingHorizontal:r(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:r(e.controlPaddingHorizontalSM).sub(t).equal()});return[zD(n)]},BD);var wv=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,rootClassName:o,block:i,options:l=[],size:s="middle",style:c}=e,u=wv(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:d,direction:f,segmented:m}=a.useContext(ke),g=d("segmented",r),[v,h,p]=AD(g),C=un(s),b=a.useMemo(()=>l.map(x=>{if(FD(x)){const{icon:$,label:w}=x,I=wv(x,["icon","label"]);return Object.assign(Object.assign({},I),{label:a.createElement(a.Fragment,null,a.createElement("span",{className:`${g}-item-icon`},$),w&&a.createElement("span",null,w))})}return x}),[l,g]),y=G(n,o,m==null?void 0:m.className,{[`${g}-block`]:i,[`${g}-sm`]:C==="small",[`${g}-lg`]:C==="large"},h,p),S=Object.assign(Object.assign({},m==null?void 0:m.style),c);return v(a.createElement(jD,Object.assign({},u,{className:y,style:S,options:b,ref:t,prefixCls:g,direction:f})))}),WD=VD,tb=WD,nb=z.createContext({}),rb=z.createContext({}),Jn=e=>e instanceof yr?e:new yr(e),ys=e=>Math.round(Number(e||0)),om=e=>ys(e.toHsb().a*100),Ss=(e,t)=>{const r=e.toHsb();return r.a=t||1,Jn(r)},ob=(e,t)=>{const r=[{percent:0,color:e[0].color}].concat(ye(e),[{percent:100,color:e[e.length-1].color}]);for(let n=0;n{let{prefixCls:t,value:r,onChange:n}=e;const o=()=>{if(n&&r&&!r.cleared){const i=r.toHsb();i.a=0;const l=Jn(i);l.cleared=!0,n(l)}};return z.createElement("div",{className:`${t}-clear`,onClick:o})},ab=KD;var Lo;(function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"})(Lo||(Lo={}));var qD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const GD=qD;var XD=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:GD}))},UD=a.forwardRef(XD);const YD=UD;function Sf(){return typeof BigInt=="function"}function ib(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function ra(e){var t=e.trim(),r=t.startsWith("-");r&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var n=t||"0",o=n.split("."),i=o[0]||"0",l=o[1]||"0";i==="0"&&l==="0"&&(r=!1);var s=r?"-":"";return{negative:r,negativeStr:s,trimStr:n,integerStr:i,decimalStr:l,fullStr:"".concat(s).concat(n)}}function am(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function ea(e){var t=String(e);if(am(e)){var r=Number(t.slice(t.indexOf("e-")+2)),n=t.match(/\.(\d+)/);return n!=null&&n[1]&&(r+=n[1].length),r}return t.includes(".")&&im(t)?t.length-t.indexOf(".")-1:0}function Gc(e){var t=String(e);if(am(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Sf()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return r?this.isInvalidate()?"":ra("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),QD=function(){function e(t){if(tn(this,e),A(this,"origin",""),A(this,"number",void 0),A(this,"empty",void 0),ib(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return nn(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(r){if(this.isInvalidate())return new e(r);var n=Number(r);if(Number.isNaN(n))return this;var o=this.number+n;if(o>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(oNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o0&&arguments[0]!==void 0?arguments[0]:!0;return r?this.isInvalidate()?"":Gc(this.number):this.origin}}]),e}();function Ir(e){return Sf()?new ZD(e):new QD(e)}function xs(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var o=ra(e),i=o.negativeStr,l=o.integerStr,s=o.decimalStr,c="".concat(t).concat(s),u="".concat(i).concat(l);if(r>=0){var d=Number(s[r]);if(d>=5&&!n){var f=Ir(e).add("".concat(i,"0.").concat("0".repeat(r)).concat(10-d));return xs(f.toString(),t,r,n)}return r===0?u:"".concat(u).concat(t).concat(s.padEnd(r,"0").slice(0,r))}return c===".0"?u:"".concat(u).concat(c)}function JD(e){return!!(e.addonBefore||e.addonAfter)}function e_(e){return!!(e.prefix||e.suffix||e.allowClear)}function Ev(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function zs(e,t,r,n){if(r){var o=t;if(t.type==="click"){o=Ev(t,e,""),r(o);return}if(e.type!=="file"&&n!==void 0){o=Ev(t,e,n),r(o);return}r(o)}}function lb(e,t){if(e){e.focus(t);var r=t||{},n=r.cursor;if(n){var o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}var Xc=z.forwardRef(function(e,t){var r,n,o=e.inputElement,i=e.children,l=e.prefixCls,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,m=e.style,g=e.disabled,v=e.readOnly,h=e.focused,p=e.triggerFocus,C=e.allowClear,b=e.value,y=e.handleReset,S=e.hidden,x=e.classes,$=e.classNames,w=e.dataAttrs,I=e.styles,E=e.components,O=e.onClear,N=i!=null?i:o,P=(E==null?void 0:E.affixWrapper)||"span",R=(E==null?void 0:E.groupWrapper)||"span",M=(E==null?void 0:E.wrapper)||"span",D=(E==null?void 0:E.groupAddon)||"span",L=a.useRef(null),T=function(U){var ae;(ae=L.current)!==null&&ae!==void 0&&ae.contains(U.target)&&(p==null||p())},_=e_(e),j=a.cloneElement(N,{value:b,className:G(N.props.className,!_&&($==null?void 0:$.variant))||null}),H=a.useRef(null);if(z.useImperativeHandle(t,function(){return{nativeElement:H.current||L.current}}),_){var k=null;if(C){var V=!g&&!v&&b,F="".concat(l,"-clear-icon"),q=bt(C)==="object"&&C!==null&&C!==void 0&&C.clearIcon?C.clearIcon:"✖";k=z.createElement("span",{onClick:function(U){y==null||y(U),O==null||O()},onMouseDown:function(U){return U.preventDefault()},className:G(F,A(A({},"".concat(F,"-hidden"),!V),"".concat(F,"-has-suffix"),!!c)),role:"button",tabIndex:-1},q)}var W="".concat(l,"-affix-wrapper"),J=G(W,A(A(A(A(A({},"".concat(l,"-disabled"),g),"".concat(W,"-disabled"),g),"".concat(W,"-focused"),h),"".concat(W,"-readonly"),v),"".concat(W,"-input-with-clear-btn"),c&&C&&b),x==null?void 0:x.affixWrapper,$==null?void 0:$.affixWrapper,$==null?void 0:$.variant),X=(c||C)&&z.createElement("span",{className:G("".concat(l,"-suffix"),$==null?void 0:$.suffix),style:I==null?void 0:I.suffix},k,c);j=z.createElement(P,ve({className:J,style:I==null?void 0:I.affixWrapper,onClick:T},w==null?void 0:w.affixWrapper,{ref:L}),s&&z.createElement("span",{className:G("".concat(l,"-prefix"),$==null?void 0:$.prefix),style:I==null?void 0:I.prefix},s),j,X)}if(JD(e)){var Z="".concat(l,"-group"),ee="".concat(Z,"-addon"),ne="".concat(Z,"-wrapper"),Y=G("".concat(l,"-wrapper"),Z,x==null?void 0:x.wrapper,$==null?void 0:$.wrapper),te=G(ne,A({},"".concat(ne,"-disabled"),g),x==null?void 0:x.group,$==null?void 0:$.groupWrapper);j=z.createElement(R,{className:te,ref:H},z.createElement(M,{className:Y},u&&z.createElement(D,{className:ee},u),j,d&&z.createElement(D,{className:ee},d)))}return z.cloneElement(j,{className:G((r=j.props)===null||r===void 0?void 0:r.className,f)||null,style:K(K({},(n=j.props)===null||n===void 0?void 0:n.style),m),hidden:S})}),t_=["show"];function sb(e,t){return a.useMemo(function(){var r={};t&&(r.show=bt(t)==="object"&&t.formatter?t.formatter:!!t),r=K(K({},r),e);var n=r,o=n.show,i=ut(n,t_);return K(K({},i),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:i.strategy||function(l){return l.length}})},[e,t])}var n_=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],r_=a.forwardRef(function(e,t){var r=e.autoComplete,n=e.onChange,o=e.onFocus,i=e.onBlur,l=e.onPressEnter,s=e.onKeyDown,c=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,f=e.disabled,m=e.htmlSize,g=e.className,v=e.maxLength,h=e.suffix,p=e.showCount,C=e.count,b=e.type,y=b===void 0?"text":b,S=e.classes,x=e.classNames,$=e.styles,w=e.onCompositionStart,I=e.onCompositionEnd,E=ut(e,n_),O=a.useState(!1),N=ie(O,2),P=N[0],R=N[1],M=a.useRef(!1),D=a.useRef(!1),L=a.useRef(null),T=a.useRef(null),_=function(he){L.current&&lb(L.current,he)},j=Ot(e.defaultValue,{value:e.value}),H=ie(j,2),k=H[0],V=H[1],F=k==null?"":String(k),q=a.useState(null),W=ie(q,2),J=W[0],X=W[1],Z=sb(C,p),ee=Z.max||v,ne=Z.strategy(F),Y=!!ee&&ne>ee;a.useImperativeHandle(t,function(){var de;return{focus:_,blur:function(){var Se;(Se=L.current)===null||Se===void 0||Se.blur()},setSelectionRange:function(Se,$e,Ne){var xe;(xe=L.current)===null||xe===void 0||xe.setSelectionRange(Se,$e,Ne)},select:function(){var Se;(Se=L.current)===null||Se===void 0||Se.select()},input:L.current,nativeElement:((de=T.current)===null||de===void 0?void 0:de.nativeElement)||L.current}}),a.useEffect(function(){R(function(de){return de&&f?!1:de})},[f]);var te=function(he,Se,$e){var Ne=Se;if(!M.current&&Z.exceedFormatter&&Z.max&&Z.strategy(Se)>Z.max){if(Ne=Z.exceedFormatter(Se,{max:Z.max}),Se!==Ne){var xe,Me;X([((xe=L.current)===null||xe===void 0?void 0:xe.selectionStart)||0,((Me=L.current)===null||Me===void 0?void 0:Me.selectionEnd)||0])}}else if($e.source==="compositionEnd")return;V(Ne),L.current&&zs(L.current,he,n,Ne)};a.useEffect(function(){if(J){var de;(de=L.current)===null||de===void 0||de.setSelectionRange.apply(de,ye(J))}},[J]);var Q=function(he){te(he,he.target.value,{source:"change"})},U=function(he){M.current=!1,te(he,he.currentTarget.value,{source:"compositionEnd"}),I==null||I(he)},ae=function(he){l&&he.key==="Enter"&&!D.current&&(D.current=!0,l(he)),s==null||s(he)},se=function(he){he.key==="Enter"&&(D.current=!1),c==null||c(he)},oe=function(he){R(!0),o==null||o(he)},re=function(he){R(!1),i==null||i(he)},ce=function(he){V(""),_(),L.current&&zs(L.current,he,n)},ue=Y&&"".concat(d,"-out-of-range"),fe=function(){var he=Xt(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return z.createElement("input",ve({autoComplete:r},he,{onChange:Q,onFocus:oe,onBlur:re,onKeyDown:ae,onKeyUp:se,className:G(d,A({},"".concat(d,"-disabled"),f),x==null?void 0:x.input),style:$==null?void 0:$.input,ref:L,size:m,type:y,onCompositionStart:function($e){M.current=!0,w==null||w($e)},onCompositionEnd:U}))},be=function(){var he=Number(ee)>0;if(h||Z.show){var Se=Z.showFormatter?Z.showFormatter({value:F,count:ne,maxLength:ee}):"".concat(ne).concat(he?" / ".concat(ee):"");return z.createElement(z.Fragment,null,Z.show&&z.createElement("span",{className:G("".concat(d,"-show-count-suffix"),A({},"".concat(d,"-show-count-has-suffix"),!!h),x==null?void 0:x.count),style:K({},$==null?void 0:$.count)},Se),h)}return null};return z.createElement(Xc,ve({},E,{prefixCls:d,className:G(g,ue),handleReset:ce,value:F,focused:P,triggerFocus:_,suffix:be(),disabled:f,classes:S,classNames:x,styles:$}),fe())});function o_(e,t){return typeof Proxy!="undefined"&&e?new Proxy(e,{get:function(n,o){if(t[o])return t[o];var i=n[o];return typeof i=="function"?i.bind(n):i}}):e}function a_(e,t){var r=a.useRef(null);function n(){try{var i=e.selectionStart,l=e.selectionEnd,s=e.value,c=s.substring(0,i),u=s.substring(l);r.current={start:i,end:l,value:s,beforeTxt:c,afterTxt:u}}catch(d){}}function o(){if(e&&r.current&&t)try{var i=e.value,l=r.current,s=l.beforeTxt,c=l.afterTxt,u=l.start,d=i.length;if(i.startsWith(s))d=s.length;else if(i.endsWith(c))d=i.length-r.current.afterTxt.length;else{var f=s[u-1],m=i.indexOf(f,u-1);m!==-1&&(d=m+1)}e.setSelectionRange(d,d)}catch(g){Jt(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(g.message))}}return[n,o]}var i_=function(){var t=a.useState(!1),r=ie(t,2),n=r[0],o=r[1];return _t(function(){o(pc())},[]),n},l_=200,s_=600;function c_(e){var t=e.prefixCls,r=e.upNode,n=e.downNode,o=e.upDisabled,i=e.downDisabled,l=e.onStep,s=a.useRef(),c=a.useRef([]),u=a.useRef();u.current=l;var d=function(){clearTimeout(s.current)},f=function(y,S){y.preventDefault(),d(),u.current(S);function x(){u.current(S),s.current=setTimeout(x,l_)}s.current=setTimeout(x,s_)};a.useEffect(function(){return function(){d(),c.current.forEach(function(b){return kt.cancel(b)})}},[]);var m=i_();if(m)return null;var g="".concat(t,"-handler"),v=G(g,"".concat(g,"-up"),A({},"".concat(g,"-up-disabled"),o)),h=G(g,"".concat(g,"-down"),A({},"".concat(g,"-down-disabled"),i)),p=function(){return c.current.push(kt(d))},C={unselectable:"on",role:"button",onMouseUp:p,onMouseLeave:p};return a.createElement("div",{className:"".concat(g,"-wrap")},a.createElement("span",ve({},C,{onMouseDown:function(y){f(y,!0)},"aria-label":"Increase Value","aria-disabled":o,className:v}),r||a.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),a.createElement("span",ve({},C,{onMouseDown:function(y){f(y,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:h}),n||a.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function Iv(e){var t=typeof e=="number"?Gc(e):ra(e).fullStr,r=t.includes(".");return r?ra(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const u_=function(){var e=a.useRef(0),t=function(){kt.cancel(e.current)};return a.useEffect(function(){return t},[]),function(r){t(),e.current=kt(function(){r()})}};var d_=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],f_=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Ov=function(t,r){return t||r.isEmpty()?r.toString():r.toNumber()},Pv=function(t){var r=Ir(t);return r.isInvalidate()?null:r},m_=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.className,o=e.style,i=e.min,l=e.max,s=e.step,c=s===void 0?1:s,u=e.defaultValue,d=e.value,f=e.disabled,m=e.readOnly,g=e.upHandler,v=e.downHandler,h=e.keyboard,p=e.changeOnWheel,C=p===void 0?!1:p,b=e.controls,y=b===void 0?!0:b;e.classNames;var S=e.stringMode,x=e.parser,$=e.formatter,w=e.precision,I=e.decimalSeparator,E=e.onChange,O=e.onInput,N=e.onPressEnter,P=e.onStep,R=e.changeOnBlur,M=R===void 0?!0:R,D=e.domRef,L=ut(e,d_),T="".concat(r,"-input"),_=a.useRef(null),j=a.useState(!1),H=ie(j,2),k=H[0],V=H[1],F=a.useRef(!1),q=a.useRef(!1),W=a.useRef(!1),J=a.useState(function(){return Ir(d!=null?d:u)}),X=ie(J,2),Z=X[0],ee=X[1];function ne(De){d===void 0&&ee(De)}var Y=a.useCallback(function(De,Ke){if(!Ke)return w>=0?w:Math.max(ea(De),ea(c))},[w,c]),te=a.useCallback(function(De){var Ke=String(De);if(x)return x(Ke);var Qe=Ke;return I&&(Qe=Qe.replace(I,".")),Qe.replace(/[^\w.-]+/g,"")},[x,I]),Q=a.useRef(""),U=a.useCallback(function(De,Ke){if($)return $(De,{userTyping:Ke,input:String(Q.current)});var Qe=typeof De=="number"?Gc(De):De;if(!Ke){var ot=Y(Qe,Ke);if(im(Qe)&&(I||ot>=0)){var Xe=I||".";Qe=xs(Qe,Xe,ot)}}return Qe},[$,Y,I]),ae=a.useState(function(){var De=u!=null?u:d;return Z.isInvalidate()&&["string","number"].includes(bt(De))?Number.isNaN(De)?"":De:U(Z.toString(),!1)}),se=ie(ae,2),oe=se[0],re=se[1];Q.current=oe;function ce(De,Ke){re(U(De.isInvalidate()?De.toString(!1):De.toString(!Ke),Ke))}var ue=a.useMemo(function(){return Pv(l)},[l,w]),fe=a.useMemo(function(){return Pv(i)},[i,w]),be=a.useMemo(function(){return!ue||!Z||Z.isInvalidate()?!1:ue.lessEquals(Z)},[ue,Z]),de=a.useMemo(function(){return!fe||!Z||Z.isInvalidate()?!1:Z.lessEquals(fe)},[fe,Z]),he=a_(_.current,k),Se=ie(he,2),$e=Se[0],Ne=Se[1],xe=function(Ke){return ue&&!Ke.lessEquals(ue)?ue:fe&&!fe.lessEquals(Ke)?fe:null},Me=function(Ke){return!xe(Ke)},Ee=function(Ke,Qe){var ot=Ke,Xe=Me(ot)||ot.isEmpty();if(!ot.isEmpty()&&!Qe&&(ot=xe(ot)||ot,Xe=!0),!m&&!f&&Xe){var We=ot.toString(),He=Y(We,Qe);return He>=0&&(ot=Ir(xs(We,".",He)),Me(ot)||(ot=Ir(xs(We,".",He,!0)))),ot.equals(Z)||(ne(ot),E==null||E(ot.isEmpty()?null:Ov(S,ot)),d===void 0&&ce(ot,Qe)),ot}return Z},Te=u_(),Re=function De(Ke){if($e(),Q.current=Ke,re(Ke),!q.current){var Qe=te(Ke),ot=Ir(Qe);ot.isNaN()||Ee(ot,!0)}O==null||O(Ke),Te(function(){var Xe=Ke;x||(Xe=Ke.replace(/。/g,".")),Xe!==Ke&&De(Xe)})},Pe=function(){q.current=!0},me=function(){q.current=!1,Re(_.current.value)},Ce=function(Ke){Re(Ke.target.value)},pe=function(Ke){var Qe;if(!(Ke&&be||!Ke&&de)){F.current=!1;var ot=Ir(W.current?Iv(c):c);Ke||(ot=ot.negate());var Xe=(Z||Ir(0)).add(ot.toString()),We=Ee(Xe,!1);P==null||P(Ov(S,We),{offset:W.current?Iv(c):c,type:Ke?"up":"down"}),(Qe=_.current)===null||Qe===void 0||Qe.focus()}},ge=function(Ke){var Qe=Ir(te(oe)),ot;Qe.isNaN()?ot=Ee(Z,Ke):ot=Ee(Qe,Ke),d!==void 0?ce(Z,!1):ot.isNaN()||ce(ot,!1)},Ie=function(){F.current=!0},nt=function(Ke){var Qe=Ke.key,ot=Ke.shiftKey;F.current=!0,W.current=ot,Qe==="Enter"&&(q.current||(F.current=!1),ge(!1),N==null||N(Ke)),h!==!1&&!q.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Qe)&&(pe(Qe==="Up"||Qe==="ArrowUp"),Ke.preventDefault())},Ve=function(){F.current=!1,W.current=!1};a.useEffect(function(){if(C&&k){var De=function(ot){pe(ot.deltaY<0),ot.preventDefault()},Ke=_.current;if(Ke)return Ke.addEventListener("wheel",De,{passive:!1}),function(){return Ke.removeEventListener("wheel",De)}}});var Ze=function(){M&&ge(!1),V(!1),F.current=!1};return na(function(){Z.isInvalidate()||ce(Z,!1)},[w,$]),na(function(){var De=Ir(d);ee(De);var Ke=Ir(te(oe));(!De.equals(Ke)||!F.current||$)&&ce(De,F.current)},[d]),na(function(){$&&Ne()},[oe]),a.createElement("div",{ref:D,className:G(r,n,A(A(A(A(A({},"".concat(r,"-focused"),k),"".concat(r,"-disabled"),f),"".concat(r,"-readonly"),m),"".concat(r,"-not-a-number"),Z.isNaN()),"".concat(r,"-out-of-range"),!Z.isInvalidate()&&!Me(Z))),style:o,onFocus:function(){V(!0)},onBlur:Ze,onKeyDown:nt,onKeyUp:Ve,onCompositionStart:Pe,onCompositionEnd:me,onBeforeInput:Ie},y&&a.createElement(c_,{prefixCls:r,upNode:g,downNode:v,upDisabled:be,downDisabled:de,onStep:pe}),a.createElement("div",{className:"".concat(T,"-wrap")},a.createElement("input",ve({autoComplete:"off",role:"spinbutton","aria-valuemin":i,"aria-valuemax":l,"aria-valuenow":Z.isInvalidate()?null:Z.toString(),step:c},L,{ref:yn(_,t),className:T,value:oe,onChange:Ce,disabled:f,readOnly:m}))))}),g_=a.forwardRef(function(e,t){var r=e.disabled,n=e.style,o=e.prefixCls,i=o===void 0?"rc-input-number":o,l=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,m=e.classNames,g=ut(e,f_),v=a.useRef(null),h=a.useRef(null),p=a.useRef(null),C=function(y){p.current&&lb(p.current,y)};return a.useImperativeHandle(t,function(){return o_(p.current,{nativeElement:v.current.nativeElement||h.current})}),a.createElement(Xc,{className:f,triggerFocus:C,prefixCls:i,value:l,disabled:r,style:n,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:v},a.createElement(m_,ve({prefixCls:i,disabled:r,ref:p,domRef:h,className:m==null?void 0:m.input},g)))});const v_=e=>{var t;const r=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},pi(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:r,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Qt(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:r===!0?1:0})},Nv=(e,t)=>{let{componentCls:r,borderRadiusSM:n,borderRadiusLG:o}=e;const i=t==="lg"?o:n;return{[`&-${t}`]:{[`${r}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${r}-handler-up`]:{borderStartEndRadius:i},[`${r}-handler-down`]:{borderEndEndRadius:i}}}},p_=e=>{const{componentCls:t,lineWidth:r,lineType:n,borderRadius:o,inputFontSizeSM:i,inputFontSizeLG:l,controlHeightLG:s,controlHeightSM:c,colorError:u,paddingInlineSM:d,paddingBlockSM:f,paddingBlockLG:m,paddingInlineLG:g,colorTextDescription:v,motionDurationMid:h,handleHoverColor:p,handleOpacity:C,paddingInline:b,paddingBlock:y,handleBg:S,handleActiveBg:x,colorTextDisabled:$,borderRadiusSM:w,borderRadiusLG:I,controlWidth:E,handleBorderColor:O,filledHandleBg:N,lineHeightLG:P,calc:R}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),ca(e)),{display:"inline-block",width:E,margin:0,padding:0,borderRadius:o}),Hc(e,{[`${t}-handler-wrap`]:{background:S,[`${t}-handler-down`]:{borderBlockStart:`${B(r)} ${n} ${O}`}}})),Bc(e,{[`${t}-handler-wrap`]:{background:N,[`${t}-handler-down`]:{borderBlockStart:`${B(r)} ${n} ${O}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:S}}})),zc(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:l,lineHeight:P,borderRadius:I,[`input${t}-input`]:{height:R(s).sub(R(r).mul(2)).equal(),padding:`${B(m)} ${B(g)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:w,[`input${t}-input`]:{height:R(c).sub(R(r).mul(2)).equal(),padding:`${B(f)} ${B(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},Pt(e)),n3(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:I,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:w}}},QC(e)),e3(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{width:"100%",padding:`${B(y)} ${B(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${h} linear`,appearance:"textfield",fontSize:"inherit"}),Ac(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:C,height:"100%",borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${h}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${t}-handler-up-inner, ${t}-handler-down-inner `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:v,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${B(r)} ${n} ${O}`,transition:`all ${h} linear`,"&:active":{background:x},"&:hover":{height:"60%",[` @@ -271,7 +271,7 @@ html body { `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${B(v)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` ${t}-mark-text, ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${r}-tooltip-inner`]:{minWidth:"unset"}})}},pb=(e,t)=>{const{componentCls:r,railSize:n,handleSize:o,dotSize:i,marginFull:l,calc:s}=e,c=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",f=t?"insetBlockStart":"insetInlineStart",m=t?"top":"insetInlineStart",g=s(n).mul(3).sub(o).div(2).equal(),v=s(o).sub(n).div(2).equal(),h=t?{borderWidth:`${B(v)} 0`,transform:`translateY(${B(s(v).mul(-1).equal())})`}:{borderWidth:`0 ${B(v)}`,transform:`translateX(${B(e.calc(v).mul(-1).equal())})`};return{[c]:n,[d]:s(n).mul(3).equal(),[`${r}-rail`]:{[u]:"100%",[d]:n},[`${r}-track,${r}-tracks`]:{[d]:n},[`${r}-track-draggable`]:Object.assign({},h),[`${r}-handle`]:{[f]:g},[`${r}-mark`]:{insetInlineStart:0,top:0,[m]:s(n).mul(3).add(t?0:l).equal(),[u]:"100%"},[`${r}-step`]:{insetInlineStart:0,top:0,[m]:n,[u]:"100%",[d]:n},[`${r}-dot`]:{position:"absolute",[f]:s(n).sub(i).div(2).equal()}}},kk=e=>{const{componentCls:t,marginPartWithMark:r}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},pb(e,!0)),{[`&${t}-with-marks`]:{marginBottom:r}})}},jk=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},pb(e,!1)),{height:"100%"})}},Hk=e=>{const r=e.controlHeightLG/4,n=e.controlHeightSM/2,o=e.lineWidth+1,i=e.lineWidth+1*1.5,l=e.colorPrimary,s=new Qt(l).setAlpha(.2).toRgbString();return{controlSize:r,railSize:4,handleSize:r,handleSizeHover:n,dotSize:8,handleLineWidth:o,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:l,handleActiveOutlineColor:s,handleColorDisabled:new Qt(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},zk=Et("Slider",e=>{const t=xt(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[_k(t),kk(t),jk(t)]},Hk),Bk=a.createContext({}),hb=Bk;function td(){const[e,t]=a.useState(!1),r=a.useRef(),n=()=>{kt.cancel(r.current)},o=i=>{n(),i?t(i):r.current=kt(()=>{t(i)})};return a.useEffect(()=>n,[]),[e,o]}var Ak=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);otypeof r=="number"?r.toString():""}const Vk=z.forwardRef((e,t)=>{const{prefixCls:r,range:n,className:o,rootClassName:i,style:l,disabled:s,tooltipPrefixCls:c,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:f,tooltipPlacement:m,tooltip:g={},onChangeComplete:v}=e,h=Ak(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:p}=e,{direction:C,slider:b,getPrefixCls:y,getPopupContainer:S}=z.useContext(ke),x=z.useContext(Hn),$=s!=null?s:x,{handleRender:w,direction:I}=z.useContext(hb),O=(I||C)==="rtl",[N,P]=td(),[R,M]=td(),D=Object.assign({},g),{open:L,placement:T,getPopupContainer:_,prefixCls:j,formatter:H}=D,k=L!=null?L:d,V=(N||R)&&k!==!1,F=Fk(H,u),[q,W]=td(),J=oe=>{v==null||v(oe),W(!1)},X=(oe,re)=>oe||(re?O?"left":"right":"top"),Z=y("slider",r),[ee,ne,Y]=zk(Z),te=G(o,b==null?void 0:b.className,i,{[`${Z}-rtl`]:O,[`${Z}-lock`]:q},ne,Y);O&&!h.vertical&&(h.reverse=!h.reverse),z.useEffect(()=>{const oe=()=>{kt(()=>{M(!1)},1)};return document.addEventListener("mouseup",oe),()=>{document.removeEventListener("mouseup",oe)}},[]);const Q=n&&!k,U=w||((oe,re)=>{const{index:ce}=re,ue=oe.props;function fe(Se,$e,Ne){var xe,Me,Ee,Te;Ne&&((Me=(xe=h)[Se])===null||Me===void 0||Me.call(xe,$e)),(Te=(Ee=ue)[Se])===null||Te===void 0||Te.call(Ee,$e)}const be=Object.assign(Object.assign({},ue),{onMouseEnter:Se=>{P(!0),fe("onMouseEnter",Se)},onMouseLeave:Se=>{P(!1),fe("onMouseLeave",Se)},onMouseDown:Se=>{M(!0),W(!0),fe("onMouseDown",Se)},onFocus:Se=>{var $e;M(!0),($e=h.onFocus)===null||$e===void 0||$e.call(h,Se),fe("onFocus",Se,!0)},onBlur:Se=>{var $e;M(!1),($e=h.onBlur)===null||$e===void 0||$e.call(h,Se),fe("onBlur",Se,!0)}}),de=z.cloneElement(oe,be),he=(!!k||V)&&F!==null;return Q?de:z.createElement(Lv,Object.assign({},D,{prefixCls:y("tooltip",j!=null?j:c),title:F?F(re.value):"",open:he,placement:X(T!=null?T:m,p),key:ce,overlayClassName:`${Z}-tooltip`,getPopupContainer:_||f||S}),de)}),ae=Q?(oe,re)=>{const ce=z.cloneElement(oe,{style:Object.assign(Object.assign({},oe.props.style),{visibility:"hidden"})});return z.createElement(Lv,Object.assign({},D,{prefixCls:y("tooltip",j!=null?j:c),title:F?F(re.value):"",open:F!==null&&V,placement:X(T!=null?T:m,p),key:"tooltip",overlayClassName:`${Z}-tooltip`,getPopupContainer:_||f||S,draggingDelete:re.draggingDelete}),ce)}:void 0,se=Object.assign(Object.assign({},b==null?void 0:b.style),l);return ee(z.createElement(Lk,Object.assign({},h,{step:h.step,range:n,className:te,style:se,disabled:$,ref:t,prefixCls:Z,handleRender:U,activeHandleRender:ae,onChangeComplete:J})))}),Cb=Vk;var Wk=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,colors:r,type:n,color:o,range:i=!1,className:l,activeIndex:s,onActive:c,onDragStart:u,onDragChange:d,onKeyDelete:f}=e,m=Wk(e,["prefixCls","colors","type","color","range","className","activeIndex","onActive","onDragStart","onDragChange","onKeyDelete"]),g=Object.assign(Object.assign({},m),{track:!1}),v=a.useMemo(()=>`linear-gradient(90deg, ${r.map($=>`${$.color} ${$.percent}%`).join(", ")})`,[r]),h=a.useMemo(()=>!o||!n?null:n==="alpha"?o.toRgbString():`hsl(${o.toHsb().h}, 100%, 50%)`,[o,n]),p=$t(u),C=$t(d),b=a.useMemo(()=>({onDragStart:p,onDragChange:C}),[]),y=$t((x,$)=>{const{onFocus:w,style:I,className:E,onKeyDown:O}=x.props,N=Object.assign({},I);return n==="gradient"&&(N.background=ob(r,$.value)),a.cloneElement(x,{onFocus:P=>{c==null||c($.index),w==null||w(P)},style:N,className:G(E,{[`${t}-slider-handle-active`]:s===$.index}),onKeyDown:P=>{(P.key==="Delete"||P.key==="Backspace")&&f&&f($.index),O==null||O(P)}})}),S=a.useMemo(()=>({direction:"ltr",handleRender:y}),[]);return a.createElement(hb.Provider,{value:S},a.createElement(vb.Provider,{value:b},a.createElement(Cb,Object.assign({},g,{className:G(l,`${t}-slider`),tooltip:{open:!1},range:{editable:i,minCount:2},styles:{rail:{background:v},handle:h?{background:h}:{}},classNames:{rail:`${t}-slider-rail`,handle:`${t}-slider-handle`}}))))},Kk=e=>{const{value:t,onChange:r,onChangeComplete:n}=e,o=l=>r(l[0]),i=l=>n(l[0]);return a.createElement(bb,Object.assign({},e,{value:[t],onChange:o,onChangeComplete:i}))},qk=Kk;function Dv(e){return ye(e).sort((t,r)=>t.percent-r.percent)}const Gk=e=>{const{prefixCls:t,mode:r,onChange:n,onChangeComplete:o,onActive:i,activeIndex:l,onGradientDragging:s,colors:c}=e,u=r==="gradient",d=a.useMemo(()=>c.map(C=>({percent:C.percent,color:C.color.toRgbString()})),[c]),f=a.useMemo(()=>d.map(C=>C.percent),[d]),m=a.useRef(d),g=C=>{let{rawValues:b,draggingIndex:y,draggingValue:S}=C;if(b.length>d.length){const x=ob(d,S),$=ye(d);$.splice(y,0,{percent:S,color:x}),m.current=$}else m.current=d;s(!0),n(new yr(Dv(m.current)),!0)},v=C=>{let{deleteIndex:b,draggingIndex:y,draggingValue:S}=C,x=ye(m.current);b!==-1?x.splice(b,1):(x[y]=Object.assign(Object.assign({},x[y]),{percent:S}),x=Dv(x)),n(new yr(x),!0)},h=C=>{const b=ye(d);b.splice(C,1);const y=new yr(b);n(y),o(y)},p=C=>{o(new yr(d)),l>=C.length&&i(C.length-1),s(!1)};return u?a.createElement(bb,{min:0,max:100,prefixCls:t,className:`${t}-gradient-slider`,colors:d,color:null,value:f,range:!0,onChangeComplete:p,disabled:!1,type:"gradient",activeIndex:l,onActive:i,onDragStart:g,onDragChange:v,onKeyDelete:h}):null},Xk=a.memo(Gk);var Uk=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const e=a.useContext(nb),{mode:t,onModeChange:r,modeOptions:n,prefixCls:o,allowClear:i,value:l,disabledAlpha:s,onChange:c,onClear:u,onChangeComplete:d,activeIndex:f,gradientDragging:m}=e,g=Uk(e,["mode","onModeChange","modeOptions","prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete","activeIndex","gradientDragging"]),v=z.useMemo(()=>l.cleared?[{percent:0,color:new yr("")},{percent:100,color:new yr("")}]:l.getColors(),[l]),h=!l.isGradient(),[p,C]=z.useState(l);_t(()=>{var I;h||C((I=v[f])===null||I===void 0?void 0:I.color)},[m,f]);const b=z.useMemo(()=>{var I;return h?l:m?p:(I=v[f])===null||I===void 0?void 0:I.color},[l,f,h,p,m]),y=(I,E)=>{let O=Jn(I);if(l.cleared){const P=O.toRgb();if(!P.r&&!P.g&&!P.b&&E){const{type:R,value:M=0}=E;O=new yr({h:R==="hue"?M:0,s:1,b:1,a:R==="alpha"?M/100:1})}else O=Ss(O)}if(t==="single")return O;const N=ye(v);return N[f]=Object.assign(Object.assign({},N[f]),{color:O}),new yr(N)},S=(I,E,O)=>{c(y(I,O),E)},x=(I,E)=>{d(y(I,E))};let $=null;const w=n.length>1;return(i||w)&&($=z.createElement("div",{className:`${o}-operation`},w&&z.createElement(tb,{size:"small",options:n,value:t,onChange:r}),z.createElement(ab,Object.assign({prefixCls:o,value:l,onChange:I=>{c(I),u==null||u()}},g)))),z.createElement(z.Fragment,null,$,z.createElement(Xk,Object.assign({},e,{colors:v})),z.createElement(wD,{prefixCls:o,value:b==null?void 0:b.toHsb(),disabledAlpha:s,onChange:(I,E)=>{S(I,!0,E)},onChangeComplete:(I,E)=>{x(I,E)},components:Yk}),z.createElement(yk,Object.assign({value:b,onChange:S,prefixCls:o,disabledAlpha:s},g)))},_v=Zk,nd=e=>e.map(t=>(t.colors=t.colors.map(Jn),t)),Qk=(e,t)=>{const{r,g:n,b:o,a:i}=e.toRgb(),l=new kr(e.toRgbString()).onBackground(t).toHsv();return i<=.5?l.v>.5:r*.299+n*.587+o*.114>192},kv=e=>{let{label:t}=e;return`panel-${t}`},Jk=e=>{let{prefixCls:t,presets:r,value:n,onChange:o}=e;const[i]=Ln("ColorPicker"),[,l]=zn(),[s]=Ot(nd(r),{value:nd(r),postState:nd}),c=`${t}-presets`,u=a.useMemo(()=>s.reduce((m,g)=>{const{defaultOpen:v=!0}=g;return v&&m.push(kv(g)),m},[]),[s]),d=m=>{o==null||o(m)},f=s.map(m=>{var g;return{key:kv(m),label:z.createElement("div",{className:`${c}-label`},m==null?void 0:m.label),children:z.createElement("div",{className:`${c}-items`},Array.isArray(m==null?void 0:m.colors)&&((g=m.colors)===null||g===void 0?void 0:g.length)>0?m.colors.map((v,h)=>z.createElement(rm,{key:`preset-${h}-${v.toHexString()}`,color:Jn(v).toRgbString(),prefixCls:t,className:G(`${c}-color`,{[`${c}-color-checked`]:v.toHexString()===(n==null?void 0:n.toHexString()),[`${c}-color-bright`]:Qk(v,l.colorBgElevated)}),onClick:()=>d(v)})):z.createElement("span",{className:`${c}-empty`},i.presetEmpty))}});return z.createElement("div",{className:c},z.createElement(nm,{defaultActiveKey:u,ghost:!0,items:f}))},ej=Jk,tj=()=>{const{prefixCls:e,value:t,presets:r,onChange:n}=a.useContext(rb);return Array.isArray(r)?z.createElement(ej,{value:t,presets:r,prefixCls:e,onChange:n}):null},jv=tj,nj=e=>{const{prefixCls:t,presets:r,panelRender:n,value:o,onChange:i,onClear:l,allowClear:s,disabledAlpha:c,mode:u,onModeChange:d,modeOptions:f,onChangeComplete:m,activeIndex:g,onActive:v,format:h,onFormatChange:p,gradientDragging:C,onGradientDragging:b}=e,y=`${t}-inner`,S=z.useMemo(()=>({prefixCls:t,value:o,onChange:i,onClear:l,allowClear:s,disabledAlpha:c,mode:u,onModeChange:d,modeOptions:f,onChangeComplete:m,activeIndex:g,onActive:v,format:h,onFormatChange:p,gradientDragging:C,onGradientDragging:b}),[t,o,i,l,s,c,u,d,f,m,g,v,h,p,C,b]),x=z.useMemo(()=>({prefixCls:t,value:o,presets:r,onChange:i}),[t,o,r,i]),$=z.createElement("div",{className:`${y}-content`},z.createElement(_v,null),Array.isArray(r)&&z.createElement(eb,null),z.createElement(jv,null));return z.createElement(nb.Provider,{value:S},z.createElement(rb.Provider,{value:x},z.createElement("div",{className:y},typeof n=="function"?n($,{components:{Picker:_v,Presets:jv}}):$)))},rj=nj;var oj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{color:r,prefixCls:n,open:o,disabled:i,format:l,className:s,showText:c,activeIndex:u}=e,d=oj(e,["color","prefixCls","open","disabled","format","className","showText","activeIndex"]),f=`${n}-trigger`,m=`${f}-text`,g=`${m}-cell`,[v]=Ln("ColorPicker"),h=z.useMemo(()=>{if(!c)return"";if(typeof c=="function")return c(r);if(r.cleared)return v.transparent;if(r.isGradient())return r.getColors().map((y,S)=>{const x=u!==-1&&u!==S;return z.createElement("span",{key:S,className:G(g,x&&`${g}-inactive`)},y.color.toRgbString()," ",y.percent,"%")});const C=r.toHexString().toUpperCase(),b=om(r);switch(l){case"rgb":return r.toRgbString();case"hsb":return r.toHsbString();default:return b<100?`${C.slice(0,7)},${b}%`:C}},[r,l,c,u]),p=a.useMemo(()=>r.cleared?z.createElement(ab,{prefixCls:n}):z.createElement(rm,{prefixCls:n,color:r.toCssString()}),[r,n]);return z.createElement("div",Object.assign({ref:t,className:G(f,s,{[`${f}-active`]:o,[`${f}-disabled`]:i})},en(d)),p,c&&z.createElement("div",{className:m},h))}),ij=aj;function lj(e,t,r){const[n]=Ln("ColorPicker"),[o,i]=Ot(e,{value:t}),[l,s]=a.useState("single"),[c,u]=a.useMemo(()=>{const h=(Array.isArray(r)?r:[r]).filter(y=>y);h.length||h.push("single");const p=new Set(h),C=[],b=(y,S)=>{p.has(y)&&C.push({label:S,value:y})};return b("single",n.singleColor),b("gradient",n.gradientColor),[C,p]},[r]),[d,f]=a.useState(null),m=$t(h=>{f(h),i(h)}),g=a.useMemo(()=>{const h=Jn(o||"");return h.equals(d)?d:h},[o,d]),v=a.useMemo(()=>{var h;return u.has(l)?l:(h=c[0])===null||h===void 0?void 0:h.value},[u,l,c]);return a.useEffect(()=>{s(g.isGradient()?"gradient":"single")},[g]),[g,m,v,s,c]}const yb=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`}),Hv=(e,t)=>{const{componentCls:r,borderRadiusSM:n,colorPickerInsetShadow:o,lineWidth:i,colorFillSecondary:l}=e;return{[`${r}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:n,width:t,height:t,boxShadow:o,flex:"none"},yb("50%",e.colorFillSecondary)),{[`${r}-color-block-inner`]:{width:"100%",height:"100%",boxShadow:`inset 0 0 0 ${B(i)} ${l}`,borderRadius:"inherit"}})}},sj=e=>{const{componentCls:t,antCls:r,fontSizeSM:n,lineHeightSM:o,colorPickerAlphaInputWidth:i,marginXXS:l,paddingXXS:s,controlHeightSM:c,marginXS:u,fontSizeIcon:d,paddingXS:f,colorTextPlaceholder:m,colorPickerInputNumberHandleWidth:g,lineWidth:v}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${r}-input-number`]:{fontSize:n,lineHeight:o,[`${r}-input-number-input`]:{paddingInlineStart:s,paddingInlineEnd:0},[`${r}-input-number-handler-wrap`]:{width:g}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${B(i)}`,marginInlineStart:l},[`${t}-format-select${r}-select`]:{marginInlineEnd:u,width:"auto","&-single":{[`${r}-select-selector`]:{padding:0,border:0},[`${r}-select-arrow`]:{insetInlineEnd:0},[`${r}-select-selection-item`]:{paddingInlineEnd:e.calc(d).add(l).equal(),fontSize:n,lineHeight:B(c)},[`${r}-select-item-option-content`]:{fontSize:n,lineHeight:o},[`${r}-select-dropdown`]:{[`${r}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:l,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:l,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${r}-input-affix-wrapper`]:{flex:1,padding:`0 ${B(f)}`,[`${r}-input`]:{fontSize:n,textTransform:"uppercase",lineHeight:B(e.calc(c).sub(e.calc(v).mul(2)).equal())},[`${r}-input-prefix`]:{color:m}}}}}},cj=e=>{const{componentCls:t,controlHeightLG:r,borderRadiusSM:n,colorPickerInsetShadow:o,marginSM:i,colorBgElevated:l,colorFillSecondary:s,lineWidthBold:c,colorPickerHandlerSize:u}=e;return{userSelect:"none",[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(r).mul(4).equal(),overflow:"hidden",borderRadius:n},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:o,inset:0},marginBottom:i},[`${t}-handler`]:{width:u,height:u,border:`${B(c)} solid ${l}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${o}, 0 0 0 1px ${s}`}}},uj=e=>{const{componentCls:t,antCls:r,colorTextQuaternary:n,paddingXXS:o,colorPickerPresetColorSize:i,fontSizeSM:l,colorText:s,lineHeightSM:c,lineWidth:u,borderRadius:d,colorFill:f,colorWhite:m,marginXXS:g,paddingXS:v,fontHeightSM:h}=e;return{[`${t}-presets`]:{[`${r}-collapse-item > ${r}-collapse-header`]:{padding:0,[`${r}-collapse-expand-icon`]:{height:h,color:n,paddingInlineEnd:o}},[`${r}-collapse`]:{display:"flex",flexDirection:"column",gap:g},[`${r}-collapse-item > ${r}-collapse-content > ${r}-collapse-content-box`]:{padding:`${B(v)} 0`},"&-label":{fontSize:l,color:s,lineHeight:c},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(g).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:i,height:i,"&::before":{content:'""',pointerEvents:"none",width:e.calc(i).add(e.calc(u).mul(4)).equal(),height:e.calc(i).add(e.calc(u).mul(4)).equal(),position:"absolute",top:e.calc(u).mul(-2).equal(),insetInlineStart:e.calc(u).mul(-2).equal(),borderRadius:d,border:`${B(u)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:f},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(i).div(13).mul(5).equal(),height:e.calc(i).div(13).mul(8).equal(),border:`${B(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:m,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:l,color:n}}}},dj=e=>{const{componentCls:t,colorPickerInsetShadow:r,colorBgElevated:n,colorFillSecondary:o,lineWidthBold:i,colorPickerHandlerSizeSM:l,colorPickerSliderHeight:s,marginSM:c,marginXS:u}=e,d=e.calc(l).sub(e.calc(i).mul(2).equal()).equal(),f=e.calc(l).add(e.calc(i).mul(2).equal()).equal(),m={"&:after":{transform:"scale(1)",boxShadow:`${r}, 0 0 0 1px ${e.colorPrimaryActive}`}};return{[`${t}-slider`]:[yb(B(s),e.colorFillSecondary),{margin:0,padding:0,height:s,borderRadius:e.calc(s).div(2).equal(),"&-rail":{height:s,borderRadius:e.calc(s).div(2).equal(),boxShadow:r},[`& ${t}-slider-handle`]:{width:d,height:d,top:0,borderRadius:"100%","&:before":{display:"block",position:"absolute",background:"transparent",left:{_skip_check_:!0,value:"50%"},top:"50%",transform:"translate(-50%, -50%)",width:f,height:f,borderRadius:"100%"},"&:after":{width:l,height:l,border:`${B(i)} solid ${n}`,boxShadow:`${r}, 0 0 0 1px ${o}`,outline:"none",insetInlineStart:e.calc(i).mul(-1).equal(),top:e.calc(i).mul(-1).equal(),background:"transparent",transition:"none"},"&:focus":m}}],[`${t}-slider-container`]:{display:"flex",gap:c,marginBottom:c,[`${t}-slider-group`]:{flex:1,flexDirection:"column",justifyContent:"space-between",display:"flex","&-disabled-alpha":{justifyContent:"center"}}},[`${t}-gradient-slider`]:{marginBottom:u,[`& ${t}-slider-handle`]:{"&:after":{transform:"scale(0.8)"},"&-active, &:focus":m}}}},$f=(e,t,r)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${B(e.controlOutlineWidth)} ${r}`,outline:0}),fj=e=>{const{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},zv=(e,t,r)=>{const{componentCls:n,borderRadiusSM:o,lineWidth:i,colorSplit:l,colorBorder:s,red6:c}=e;return{[`${n}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:o,border:`${B(i)} solid ${l}`,position:"relative",overflow:"hidden",cursor:"inherit",transition:`all ${e.motionDurationFast}`},r),{"&::after":{content:'""',position:"absolute",insetInlineEnd:e.calc(i).mul(-1).equal(),top:e.calc(i).mul(-1).equal(),display:"block",width:40,height:2,transformOrigin:"calc(100% - 1px) 1px",transform:"rotate(-45deg)",backgroundColor:c},"&:hover":{borderColor:s}})}},mj=e=>{const{componentCls:t,colorError:r,colorWarning:n,colorErrorHover:o,colorWarningHover:i,colorErrorOutline:l,colorWarningOutline:s}=e;return{[`&${t}-status-error`]:{borderColor:r,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},$f(e,r,l))},[`&${t}-status-warning`]:{borderColor:n,"&:hover":{borderColor:i},[`&${t}-trigger-active`]:Object.assign({},$f(e,n,s))}}},gj=e=>{const{componentCls:t,controlHeightLG:r,controlHeightSM:n,controlHeight:o,controlHeightXS:i,borderRadius:l,borderRadiusSM:s,borderRadiusXS:c,borderRadiusLG:u,fontSizeLG:d}=e;return{[`&${t}-lg`]:{minWidth:r,minHeight:r,borderRadius:u,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:l},[`${t}-trigger-text`]:{fontSize:d}},[`&${t}-sm`]:{minWidth:n,minHeight:n,borderRadius:s,[`${t}-color-block, ${t}-clear`]:{width:i,height:i,borderRadius:c},[`${t}-trigger-text`]:{lineHeight:B(i)}}}},vj=e=>{const{antCls:t,componentCls:r,colorPickerWidth:n,colorPrimary:o,motionDurationMid:i,colorBgElevated:l,colorTextDisabled:s,colorText:c,colorBgContainerDisabled:u,borderRadius:d,marginXS:f,marginSM:m,controlHeight:g,controlHeightSM:v,colorBgTextActive:h,colorPickerPresetColorSize:p,colorPickerPreviewSize:C,lineWidth:b,colorBorder:y,paddingXXS:S,fontSize:x,colorPrimaryHover:$,controlOutline:w}=e;return[{[r]:Object.assign({[`${r}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:n,[`& > ${t}-divider`]:{margin:`${B(m)} 0 ${B(f)}`}},[`${r}-panel`]:Object.assign({},cj(e))},dj(e)),Hv(e,C)),sj(e)),uj(e)),zv(e,p,{marginInlineStart:"auto"})),{[`${r}-operation`]:{display:"flex",justifyContent:"space-between",marginBottom:f}}),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:g,minHeight:g,borderRadius:d,border:`${B(b)} solid ${y}`,cursor:"pointer",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",transition:`all ${i}`,background:l,padding:e.calc(S).sub(b).equal(),[`${r}-trigger-text`]:{marginInlineStart:f,marginInlineEnd:e.calc(f).sub(e.calc(S).sub(b)).equal(),fontSize:x,color:c,alignSelf:"center","&-cell":{"&:not(:last-child):after":{content:'", "'},"&-inactive":{color:s}}},"&:hover":{borderColor:$},[`&${r}-trigger-active`]:Object.assign({},$f(e,o,w)),"&-disabled":{color:s,background:u,cursor:"not-allowed","&:hover":{borderColor:h},[`${r}-trigger-text`]:{color:s}}},zv(e,v)),Hv(e,v)),mj(e)),gj(e))},fj(e))},va(e,{focusElCls:`${r}-trigger-active`})]},pj=Et("ColorPicker",e=>{const{colorTextQuaternary:t,marginSM:r}=e,n=8,o=xt(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:24,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:n,colorPickerPreviewSize:e.calc(n).mul(2).add(r).equal()});return[vj(o)]});var hj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{mode:t,value:r,defaultValue:n,format:o,defaultFormat:i,allowClear:l=!1,presets:s,children:c,trigger:u="click",open:d,disabled:f,placement:m="bottomLeft",arrow:g=!0,panelRender:v,showText:h,style:p,className:C,size:b,rootClassName:y,prefixCls:S,styles:x,disabledAlpha:$=!1,onFormatChange:w,onChange:I,onClear:E,onOpenChange:O,onChangeComplete:N,getPopupContainer:P,autoAdjustOverflow:R=!0,destroyTooltipOnHide:M}=e,D=hj(e,["mode","value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:L,direction:T,colorPicker:_}=a.useContext(ke),j=a.useContext(Hn),H=f!=null?f:j,[k,V]=Ot(!1,{value:d,postState:Ce=>!H&&Ce,onChange:O}),[F,q]=Ot(o,{value:o,defaultValue:i,onChange:w}),W=L("color-picker",S),[J,X,Z,ee,ne]=lj(n,r,t),Y=a.useMemo(()=>om(J)<100,[J]),[te,Q]=z.useState(null),U=Ce=>{if(N){let pe=Jn(Ce);$&&Y&&(pe=Ss(Ce)),N(pe)}},ae=(Ce,pe)=>{let ge=Jn(Ce);$&&Y&&(ge=Ss(ge)),X(ge),Q(null),I&&I(ge,ge.toCssString()),pe||U(ge)},[se,oe]=z.useState(0),[re,ce]=z.useState(!1),ue=Ce=>{if(ee(Ce),Ce==="single"&&J.isGradient())oe(0),ae(new yr(J.getColors()[0].color)),Q(J);else if(Ce==="gradient"&&!J.isGradient()){const pe=Y?Ss(J):J;ae(new yr(te||[{percent:0,color:pe},{percent:100,color:pe}]))}},{status:fe}=z.useContext(dn),{compactSize:be,compactItemClassnames:de}=Hr(W,T),he=un(Ce=>{var pe;return(pe=b!=null?b:be)!==null&&pe!==void 0?pe:Ce}),Se=Ut(W),[$e,Ne,xe]=pj(W,Se),Me={[`${W}-rtl`]:T},Ee=G(y,xe,Se,Me),Te=G(fr(W,fe),{[`${W}-sm`]:he==="small",[`${W}-lg`]:he==="large"},de,_==null?void 0:_.className,Ee,C,Ne),Re=G(W,Ee),Pe={open:k,trigger:u,placement:m,arrow:g,rootClassName:y,getPopupContainer:P,autoAdjustOverflow:R,destroyTooltipOnHide:M},me=Object.assign(Object.assign({},_==null?void 0:_.style),p);return $e(z.createElement(Ec,Object.assign({style:x==null?void 0:x.popup,overlayInnerStyle:x==null?void 0:x.popupOverlayInner,onOpenChange:Ce=>{(!Ce||!H)&&V(Ce)},content:z.createElement(Dr,{form:!0},z.createElement(rj,{mode:Z,onModeChange:ue,modeOptions:ne,prefixCls:W,value:J,allowClear:l,disabled:H,disabledAlpha:$,presets:s,panelRender:v,format:F,onFormatChange:q,onChange:ae,onChangeComplete:U,onClear:E,activeIndex:se,onActive:oe,gradientDragging:re,onGradientDragging:ce})),overlayClassName:Re},Pe),c||z.createElement(ij,Object.assign({activeIndex:k?se:-1,open:k,className:Te,style:me,prefixCls:W,disabled:H,showText:h,format:F},D,{color:J}))))},Cj=ro(um,"color-picker",e=>e,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}));um._InternalPanelDoNotUseOrYouWillBeFired=Cj;const bj=um;var yj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const Sj=yj;var xj=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Sj}))},$j=a.forwardRef(xj);const Sb=$j;var wj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const Ej=wj;var Ij=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Ej}))},Oj=a.forwardRef(Ij);const xb=Oj;var Pj={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const Nj=Pj;var Mj=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Nj}))},Rj=a.forwardRef(Mj);const Tj=Rj;function Lj(e,t,r){return r!==void 0?r:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Dj(e,t,r){return r!==void 0?r:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function dm(e,t){const r={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:r};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:r};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:r};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:r};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:r}}}function $b(e,t){const{allowClear:r=!0}=e,{clearIcon:n,removeIcon:o}=yc(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[a.useMemo(()=>r===!1?!1:Object.assign({clearIcon:n},r===!0?{}:r),[r,n]),o]}const[_j,kj]=["week","WeekPicker"],[jj,Hj]=["month","MonthPicker"],[zj,Bj]=["year","YearPicker"],[Aj,Fj]=["quarter","QuarterPicker"],[wb,Bv]=["time","TimePicker"],Vj=e=>a.createElement(hn,Object.assign({size:"small",type:"primary"},e)),Wj=Vj;function Eb(e){return a.useMemo(()=>Object.assign({button:Wj},e),[e])}var Kj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oa.forwardRef((r,n)=>{var o;const{prefixCls:i,getPopupContainer:l,components:s,className:c,style:u,placement:d,size:f,disabled:m,bordered:g=!0,placeholder:v,popupClassName:h,dropdownClassName:p,status:C,rootClassName:b,variant:y,picker:S}=r,x=Kj(r,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),$=a.useRef(null),{getPrefixCls:w,direction:I,getPopupContainer:E,rangePicker:O}=a.useContext(ke),N=w("picker",i),{compactSize:P,compactItemClassnames:R}=Hr(N,I),M=w(),[D,L]=oo("rangePicker",y,g),T=Ut(N),[_,j,H]=iC(N,T),[k]=$b(r,N),V=Eb(s),F=un(U=>{var ae;return(ae=f!=null?f:P)!==null&&ae!==void 0?ae:U}),q=a.useContext(Hn),W=m!=null?m:q,J=a.useContext(dn),{hasFeedback:X,status:Z,feedbackIcon:ee}=J,ne=a.createElement(a.Fragment,null,S===wb?a.createElement(xb,null):a.createElement(Sb,null),X&&ee);a.useImperativeHandle(n,()=>$.current);const[Y]=Ln("Calendar",qf),te=Object.assign(Object.assign({},Y),r.locale),[Q]=or("DatePicker",(o=r.popupStyle)===null||o===void 0?void 0:o.zIndex);return _(a.createElement(Dr,{space:!0},a.createElement(SM,Object.assign({separator:a.createElement("span",{"aria-label":"to",className:`${N}-separator`},a.createElement(Tj,null)),disabled:W,ref:$,popupAlign:dm(I,d),placement:d,placeholder:Dj(te,S,v),suffixIcon:ne,prevIcon:a.createElement("span",{className:`${N}-prev-icon`}),nextIcon:a.createElement("span",{className:`${N}-next-icon`}),superPrevIcon:a.createElement("span",{className:`${N}-super-prev-icon`}),superNextIcon:a.createElement("span",{className:`${N}-super-next-icon`}),transitionName:`${M}-slide-up`,picker:S},x,{className:G({[`${N}-${F}`]:F,[`${N}-${D}`]:L},fr(N,zr(Z,C),X),j,R,c,O==null?void 0:O.className,H,T,b),style:Object.assign(Object.assign({},O==null?void 0:O.style),u),locale:te.lang,prefixCls:N,getPopupContainer:l||E,generateConfig:e,components:V,direction:I,classNames:{popup:G(j,h||p,H,T,b)},styles:{popup:Object.assign(Object.assign({},r.popupStyle),{zIndex:Q})},allowClear:k}))))});var Gj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const t=(c,u)=>{const d=u===Bv?"timePicker":"datePicker";return a.forwardRef((m,g)=>{var v;const{prefixCls:h,getPopupContainer:p,components:C,style:b,className:y,rootClassName:S,size:x,bordered:$,placement:w,placeholder:I,popupClassName:E,dropdownClassName:O,disabled:N,status:P,variant:R,onCalendarChange:M}=m,D=Gj(m,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:L,direction:T,getPopupContainer:_,[d]:j}=a.useContext(ke),H=L("picker",h),{compactSize:k,compactItemClassnames:V}=Hr(H,T),F=a.useRef(null),[q,W]=oo("datePicker",R,$),J=Ut(H),[X,Z,ee]=iC(H,J);a.useImperativeHandle(g,()=>F.current);const ne={showToday:!0},Y=c||m.picker,te=L(),{onSelect:Q,multiple:U}=D,ae=Q&&c==="time"&&!U,se=(Te,Re,Pe)=>{M==null||M(Te,Re,Pe),ae&&Q(Te)},[oe,re]=$b(m,H),ce=Eb(C),ue=un(Te=>{var Re;return(Re=x!=null?x:k)!==null&&Re!==void 0?Re:Te}),fe=a.useContext(Hn),be=N!=null?N:fe,de=a.useContext(dn),{hasFeedback:he,status:Se,feedbackIcon:$e}=de,Ne=a.createElement(a.Fragment,null,Y==="time"?a.createElement(xb,null):a.createElement(Sb,null),he&&$e),[xe]=Ln("DatePicker",qf),Me=Object.assign(Object.assign({},xe),m.locale),[Ee]=or("DatePicker",(v=m.popupStyle)===null||v===void 0?void 0:v.zIndex);return X(a.createElement(Dr,{space:!0},a.createElement(OM,Object.assign({ref:F,placeholder:Lj(Me,Y,I),suffixIcon:Ne,dropdownAlign:dm(T,w),placement:w,prevIcon:a.createElement("span",{className:`${H}-prev-icon`}),nextIcon:a.createElement("span",{className:`${H}-next-icon`}),superPrevIcon:a.createElement("span",{className:`${H}-super-prev-icon`}),superNextIcon:a.createElement("span",{className:`${H}-super-next-icon`}),transitionName:`${te}-slide-up`,picker:c,onCalendarChange:se},ne,D,{locale:Me.lang,className:G({[`${H}-${ue}`]:ue,[`${H}-${q}`]:W},fr(H,zr(Se,P),he),Z,V,j==null?void 0:j.className,y,ee,J,S),style:Object.assign(Object.assign({},j==null?void 0:j.style),b),prefixCls:H,getPopupContainer:p||_,generateConfig:e,components:ce,direction:T,disabled:be,classNames:{popup:G(Z,ee,J,S,E||O)},styles:{popup:Object.assign(Object.assign({},m.popupStyle),{zIndex:Ee})},allowClear:oe,removeIcon:re}))))})},r=t(),n=t(_j,kj),o=t(jj,Hj),i=t(zj,Bj),l=t(Aj,Fj),s=t(wb,Bv);return{DatePicker:r,WeekPicker:n,MonthPicker:o,YearPicker:i,TimePicker:s,QuarterPicker:l}},Ib=e=>{const{DatePicker:t,WeekPicker:r,MonthPicker:n,YearPicker:o,TimePicker:i,QuarterPicker:l}=Xj(e),s=qj(e),c=t;return c.WeekPicker=r,c.MonthPicker=n,c.YearPicker=o,c.RangePicker=s,c.TimePicker=i,c.QuarterPicker=l,c},ar=Ib(v3);function Ob(e){const t=dm(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Uj=ro(ar,"picker",null,Ob);ar._InternalPanelDoNotUseOrYouWillBeFired=Uj;const Yj=ro(ar.RangePicker,"picker",null,Ob);ar._InternalRangePanelDoNotUseOrYouWillBeFired=Yj;ar.generatePicker=Ib;const Zj={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Qj=Zj,Jj=z.createContext({}),Pb=Jj;var eH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);osn(e).map(t=>Object.assign(Object.assign({},t==null?void 0:t.props),{key:t.key}));function nH(e,t,r){const n=a.useMemo(()=>t||tH(r),[t,r]);return a.useMemo(()=>n.map(i=>{var{span:l}=i,s=eH(i,["span"]);return Object.assign(Object.assign({},s),{span:typeof l=="number"?l:Bh(e,l)})}),[n,e])}function Av(e,t,r){let n=e,o=!1;return(r===void 0||r>t)&&(n=Object.assign(Object.assign({},e),{span:t}),o=r!==void 0),[n,o]}function rH(e,t){const r=[];let n=[],o=t,i=!1;return e.filter(l=>l).forEach((l,s)=>{const c=l==null?void 0:l.span,u=c||1;if(s===e.length-1){const[d,f]=Av(l,o,c);i=i||f,n.push(d),r.push(n);return}if(u{const[r,n]=a.useMemo(()=>rH(t,e),[t,e]);return r},aH=e=>{let{children:t}=e;return t},iH=aH;function Fv(e){return e!=null}const lH=e=>{const{itemPrefixCls:t,component:r,span:n,className:o,style:i,labelStyle:l,contentStyle:s,bordered:c,label:u,content:d,colon:f,type:m}=e,g=r;return c?a.createElement(g,{className:G({[`${t}-item-label`]:m==="label",[`${t}-item-content`]:m==="content"},o),style:i,colSpan:n},Fv(u)&&a.createElement("span",{style:l},u),Fv(d)&&a.createElement("span",{style:s},d)):a.createElement(g,{className:G(`${t}-item`,o),style:i,colSpan:n},a.createElement("div",{className:`${t}-item-container`},(u||u===0)&&a.createElement("span",{className:G(`${t}-item-label`,{[`${t}-item-no-colon`]:!f}),style:l},u),(d||d===0)&&a.createElement("span",{className:G(`${t}-item-content`),style:s},d)))},rd=lH;function od(e,t,r){let{colon:n,prefixCls:o,bordered:i}=t,{component:l,type:s,showLabel:c,showContent:u,labelStyle:d,contentStyle:f}=r;return e.map((m,g)=>{let{label:v,children:h,prefixCls:p=o,className:C,style:b,labelStyle:y,contentStyle:S,span:x=1,key:$}=m;return typeof l=="string"?a.createElement(rd,{key:`${s}-${$||g}`,className:C,style:b,labelStyle:Object.assign(Object.assign({},d),y),contentStyle:Object.assign(Object.assign({},f),S),span:x,colon:n,component:l,itemPrefixCls:p,bordered:i,label:c?v:null,content:u?h:null,type:s}):[a.createElement(rd,{key:`label-${$||g}`,className:C,style:Object.assign(Object.assign(Object.assign({},d),b),y),span:1,colon:n,component:l[0],itemPrefixCls:p,bordered:i,label:v,type:"label"}),a.createElement(rd,{key:`content-${$||g}`,className:C,style:Object.assign(Object.assign(Object.assign({},f),b),S),span:x*2-1,component:l[1],itemPrefixCls:p,bordered:i,content:h,type:"content"})]})}const sH=e=>{const t=a.useContext(Pb),{prefixCls:r,vertical:n,row:o,index:i,bordered:l}=e;return n?a.createElement(a.Fragment,null,a.createElement("tr",{key:`label-${i}`,className:`${r}-row`},od(o,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),a.createElement("tr",{key:`content-${i}`,className:`${r}-row`},od(o,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):a.createElement("tr",{key:i,className:`${r}-row`},od(o,e,Object.assign({component:l?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},cH=sH,uH=e=>{const{componentCls:t,labelBg:r}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{overflow:"hidden",border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`${t}-row`]:{borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${B(e.padding)} ${B(e.paddingLG)}`,borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:r,"&::after":{display:"none"}}}},[`&${t}-middle`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${B(e.paddingSM)} ${B(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${B(e.paddingXS)} ${B(e.padding)}`}}}}}},dH=e=>{const{componentCls:t,extraColor:r,itemPaddingBottom:n,itemPaddingEnd:o,colonMarginRight:i,colonMarginLeft:l,titleMarginBottom:s}=e;return{[t]:Object.assign(Object.assign(Object.assign({},Pt(e)),uH(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:s},[`${t}-title`]:Object.assign(Object.assign({},Mn),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:r,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${t}-row`]:{"> th, > td":{paddingBottom:n,paddingInlineEnd:o},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${B(l)} ${B(i)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:0}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},fH=e=>({labelBg:e.colorFillAlter,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText}),mH=Et("Descriptions",e=>{const t=xt(e,{});return dH(t)},fH);var gH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,title:r,extra:n,column:o,colon:i=!0,bordered:l,layout:s,children:c,className:u,rootClassName:d,style:f,size:m,labelStyle:g,contentStyle:v,items:h}=e,p=gH(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:C,direction:b,descriptions:y}=a.useContext(ke),S=C("descriptions",t),x=di(),$=a.useMemo(()=>{var M;return typeof o=="number"?o:(M=Bh(x,Object.assign(Object.assign({},Qj),o)))!==null&&M!==void 0?M:3},[x,o]),w=nH(x,h,c),I=un(m),E=oH($,w),[O,N,P]=mH(S),R=a.useMemo(()=>({labelStyle:g,contentStyle:v}),[g,v]);return O(a.createElement(Pb.Provider,{value:R},a.createElement("div",Object.assign({className:G(S,y==null?void 0:y.className,{[`${S}-${I}`]:I&&I!=="default",[`${S}-bordered`]:!!l,[`${S}-rtl`]:b==="rtl"},u,d,N,P),style:Object.assign(Object.assign({},y==null?void 0:y.style),f)},p),(r||n)&&a.createElement("div",{className:`${S}-header`},r&&a.createElement("div",{className:`${S}-title`},r),n&&a.createElement("div",{className:`${S}-extra`},n)),a.createElement("div",{className:`${S}-view`},a.createElement("table",null,a.createElement("tbody",null,E.map((M,D)=>a.createElement(cH,{key:D,index:D,colon:i,prefixCls:S,vertical:s==="vertical",bordered:l,row:M}))))))))};fm.Item=iH;var Vv=a.createContext(null),Nb=a.createContext({}),vH=["prefixCls","className","containerRef"],pH=function(t){var r=t.prefixCls,n=t.className,o=t.containerRef,i=ut(t,vH),l=a.useContext(Nb),s=l.panel,c=Co(s,o);return a.createElement("div",ve({className:G("".concat(r,"-content"),n),role:"dialog",ref:c},en(t,{aria:!0}),{"aria-modal":"true"},i))};function Wv(e){return typeof e=="string"&&String(Number(e))===e?(Jt(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var Kv={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function hH(e,t){var r,n,o,i=e.prefixCls,l=e.open,s=e.placement,c=e.inline,u=e.push,d=e.forceRender,f=e.autoFocus,m=e.keyboard,g=e.classNames,v=e.rootClassName,h=e.rootStyle,p=e.zIndex,C=e.className,b=e.id,y=e.style,S=e.motion,x=e.width,$=e.height,w=e.children,I=e.mask,E=e.maskClosable,O=e.maskMotion,N=e.maskClassName,P=e.maskStyle,R=e.afterOpenChange,M=e.onClose,D=e.onMouseEnter,L=e.onMouseOver,T=e.onMouseLeave,_=e.onClick,j=e.onKeyDown,H=e.onKeyUp,k=e.styles,V=e.drawerRender,F=a.useRef(),q=a.useRef(),W=a.useRef();a.useImperativeHandle(t,function(){return F.current});var J=function(be){var de=be.keyCode,he=be.shiftKey;switch(de){case we.TAB:{if(de===we.TAB){if(!he&&document.activeElement===W.current){var Se;(Se=q.current)===null||Se===void 0||Se.focus({preventScroll:!0})}else if(he&&document.activeElement===q.current){var $e;($e=W.current)===null||$e===void 0||$e.focus({preventScroll:!0})}}break}case we.ESC:{M&&m&&(be.stopPropagation(),M(be));break}}};a.useEffect(function(){if(l&&f){var fe;(fe=F.current)===null||fe===void 0||fe.focus({preventScroll:!0})}},[l]);var X=a.useState(!1),Z=ie(X,2),ee=Z[0],ne=Z[1],Y=a.useContext(Vv),te;typeof u=="boolean"?te=u?{}:{distance:0}:te=u||{};var Q=(r=(n=(o=te)===null||o===void 0?void 0:o.distance)!==null&&n!==void 0?n:Y==null?void 0:Y.pushDistance)!==null&&r!==void 0?r:180,U=a.useMemo(function(){return{pushDistance:Q,push:function(){ne(!0)},pull:function(){ne(!1)}}},[Q]);a.useEffect(function(){if(l){var fe;Y==null||(fe=Y.push)===null||fe===void 0||fe.call(Y)}else{var be;Y==null||(be=Y.pull)===null||be===void 0||be.call(Y)}},[l]),a.useEffect(function(){return function(){var fe;Y==null||(fe=Y.pull)===null||fe===void 0||fe.call(Y)}},[]);var ae=I&&a.createElement(In,ve({key:"mask"},O,{visible:l}),function(fe,be){var de=fe.className,he=fe.style;return a.createElement("div",{className:G("".concat(i,"-mask"),de,g==null?void 0:g.mask,N),style:K(K(K({},he),P),k==null?void 0:k.mask),onClick:E&&l?M:void 0,ref:be})}),se=typeof S=="function"?S(s):S,oe={};if(ee&&Q)switch(s){case"top":oe.transform="translateY(".concat(Q,"px)");break;case"bottom":oe.transform="translateY(".concat(-Q,"px)");break;case"left":oe.transform="translateX(".concat(Q,"px)");break;default:oe.transform="translateX(".concat(-Q,"px)");break}s==="left"||s==="right"?oe.width=Wv(x):oe.height=Wv($);var re={onMouseEnter:D,onMouseOver:L,onMouseLeave:T,onClick:_,onKeyDown:j,onKeyUp:H},ce=a.createElement(In,ve({key:"panel"},se,{visible:l,forceRender:d,onVisibleChanged:function(be){R==null||R(be)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(fe,be){var de=fe.className,he=fe.style,Se=a.createElement(pH,ve({id:b,containerRef:be,prefixCls:i,className:G(C,g==null?void 0:g.content),style:K(K({},y),k==null?void 0:k.content)},en(e,{aria:!0}),re),w);return a.createElement("div",ve({className:G("".concat(i,"-content-wrapper"),g==null?void 0:g.wrapper,de),style:K(K(K({},oe),he),k==null?void 0:k.wrapper)},en(e,{data:!0})),V?V(Se):Se)}),ue=K({},h);return p&&(ue.zIndex=p),a.createElement(Vv.Provider,{value:U},a.createElement("div",{className:G(i,"".concat(i,"-").concat(s),v,A(A({},"".concat(i,"-open"),l),"".concat(i,"-inline"),c)),style:ue,tabIndex:-1,ref:F,onKeyDown:J},ae,a.createElement("div",{tabIndex:0,ref:q,style:Kv,"aria-hidden":"true","data-sentinel":"start"}),ce,a.createElement("div",{tabIndex:0,ref:W,style:Kv,"aria-hidden":"true","data-sentinel":"end"})))}var CH=a.forwardRef(hH),bH=function(t){var r=t.open,n=r===void 0?!1:r,o=t.prefixCls,i=o===void 0?"rc-drawer":o,l=t.placement,s=l===void 0?"right":l,c=t.autoFocus,u=c===void 0?!0:c,d=t.keyboard,f=d===void 0?!0:d,m=t.width,g=m===void 0?378:m,v=t.mask,h=v===void 0?!0:v,p=t.maskClosable,C=p===void 0?!0:p,b=t.getContainer,y=t.forceRender,S=t.afterOpenChange,x=t.destroyOnClose,$=t.onMouseEnter,w=t.onMouseOver,I=t.onMouseLeave,E=t.onClick,O=t.onKeyDown,N=t.onKeyUp,P=t.panelRef,R=a.useState(!1),M=ie(R,2),D=M[0],L=M[1],T=a.useState(!1),_=ie(T,2),j=_[0],H=_[1];_t(function(){H(!0)},[]);var k=j?n:!1,V=a.useRef(),F=a.useRef();_t(function(){k&&(F.current=document.activeElement)},[k]);var q=function(ee){var ne;if(L(ee),S==null||S(ee),!ee&&F.current&&!((ne=V.current)!==null&&ne!==void 0&&ne.contains(F.current))){var Y;(Y=F.current)===null||Y===void 0||Y.focus({preventScroll:!0})}},W=a.useMemo(function(){return{panel:P}},[P]);if(!y&&!D&&!k&&x)return null;var J={onMouseEnter:$,onMouseOver:w,onMouseLeave:I,onClick:E,onKeyDown:O,onKeyUp:N},X=K(K({},t),{},{open:k,prefixCls:i,placement:s,autoFocus:u,keyboard:f,width:g,mask:h,maskClosable:C,inline:b===!1,afterOpenChange:q,ref:V},J);return a.createElement(Nb.Provider,{value:W},a.createElement(pa,{open:k||y||D,autoDestroy:!1,getContainer:b,autoLock:h&&(k||D)},a.createElement(CH,X)))};const yH=e=>{var t,r;const{prefixCls:n,title:o,footer:i,extra:l,loading:s,onClose:c,headerStyle:u,bodyStyle:d,footerStyle:f,children:m,classNames:g,styles:v}=e,{drawer:h}=a.useContext(ke),p=a.useCallback(x=>a.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${n}-close`},x),[c]),[C,b]=sc(Ua(e),Ua(h),{closable:!0,closeIconRender:p}),y=a.useMemo(()=>{var x,$;return!o&&!C?null:a.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(x=h==null?void 0:h.styles)===null||x===void 0?void 0:x.header),u),v==null?void 0:v.header),className:G(`${n}-header`,{[`${n}-header-close-only`]:C&&!o&&!l},($=h==null?void 0:h.classNames)===null||$===void 0?void 0:$.header,g==null?void 0:g.header)},a.createElement("div",{className:`${n}-header-title`},b,o&&a.createElement("div",{className:`${n}-title`},o)),l&&a.createElement("div",{className:`${n}-extra`},l))},[C,b,l,u,n,o]),S=a.useMemo(()=>{var x,$;if(!i)return null;const w=`${n}-footer`;return a.createElement("div",{className:G(w,(x=h==null?void 0:h.classNames)===null||x===void 0?void 0:x.footer,g==null?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},($=h==null?void 0:h.styles)===null||$===void 0?void 0:$.footer),f),v==null?void 0:v.footer)},i)},[i,f,n]);return a.createElement(a.Fragment,null,y,a.createElement("div",{className:G(`${n}-body`,g==null?void 0:g.body,(t=h==null?void 0:h.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(r=h==null?void 0:h.styles)===null||r===void 0?void 0:r.body),d),v==null?void 0:v.body)},s?a.createElement(er,{active:!0,title:!1,paragraph:{rows:5},className:`${n}-body-skeleton`}):m),S)},Mb=yH,SH=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},Rb=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),Tb=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},Rb({opacity:e},{opacity:1})),xH=(e,t)=>[Tb(.7,t),Rb({transform:SH(e)},{transform:"none"})],$H=e=>{const{componentCls:t,motionDurationSlow:r}=e;return{[t]:{[`${t}-mask-motion`]:Tb(0,r),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((n,o)=>Object.assign(Object.assign({},n),{[`&-${o}`]:xH(o,r)}),{})}}},wH=e=>{const{borderRadiusSM:t,componentCls:r,zIndexPopup:n,colorBgMask:o,colorBgElevated:i,motionDurationSlow:l,motionDurationMid:s,paddingXS:c,padding:u,paddingLG:d,fontSizeLG:f,lineHeightLG:m,lineWidth:g,lineType:v,colorSplit:h,marginXS:p,colorIcon:C,colorIconHover:b,colorBgTextHover:y,colorBgTextActive:S,colorText:x,fontWeightStrong:$,footerPaddingBlock:w,footerPaddingInline:I,calc:E}=e,O=`${r}-content-wrapper`;return{[r]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${r}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${r}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${r}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${r}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${r}-mask`]:{position:"absolute",inset:0,zIndex:n,background:o,pointerEvents:"auto"},[O]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${O}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${O}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${O}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${O}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${r}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${r}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${B(u)} ${B(d)}`,fontSize:f,lineHeight:m,borderBottom:`${B(g)} ${v} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${r}-extra`]:{flex:"none"},[`${r}-close`]:Object.assign({display:"inline-flex",width:E(f).add(c).equal(),height:E(f).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:p,color:C,fontWeight:$,fontSize:f,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:b,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:S}},wr(e)),[`${r}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:f,lineHeight:m},[`${r}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${r}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${r}-footer`]:{flexShrink:0,padding:`${B(w)} ${B(I)}`,borderTop:`${B(g)} ${v} ${h}`},"&-rtl":{direction:"rtl"}}}},EH=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),Lb=Et("Drawer",e=>{const t=xt(e,{});return[wH(t),$H(t)]},EH);var Db=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{rootClassName:t,width:r,height:n,size:o="default",mask:i=!0,push:l=IH,open:s,afterOpenChange:c,onClose:u,prefixCls:d,getContainer:f,style:m,className:g,visible:v,afterVisibleChange:h,maskStyle:p,drawerStyle:C,contentWrapperStyle:b}=e,y=Db(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:x,direction:$,drawer:w}=a.useContext(ke),I=x("drawer",d),[E,O,N]=Lb(I),P=f===void 0&&S?()=>S(document.body):f,R=G({"no-mask":!i,[`${I}-rtl`]:$==="rtl"},t,O,N),M=a.useMemo(()=>r!=null?r:o==="large"?736:378,[r,o]),D=a.useMemo(()=>n!=null?n:o==="large"?736:378,[n,o]),L={motionName:kn(I,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},T=W=>({motionName:kn(I,`panel-motion-${W}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),_=z2(),[j,H]=or("Drawer",y.zIndex),{classNames:k={},styles:V={}}=y,{classNames:F={},styles:q={}}=w||{};return E(a.createElement(Dr,{form:!0,space:!0},a.createElement(ii.Provider,{value:H},a.createElement(bH,Object.assign({prefixCls:I,onClose:u,maskMotion:L,motion:T},y,{classNames:{mask:G(k.mask,F.mask),content:G(k.content,F.content),wrapper:G(k.wrapper,F.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},V.mask),p),q.mask),content:Object.assign(Object.assign(Object.assign({},V.content),C),q.content),wrapper:Object.assign(Object.assign(Object.assign({},V.wrapper),b),q.wrapper)},open:s!=null?s:v,mask:i,push:l,width:M,height:D,style:Object.assign(Object.assign({},w==null?void 0:w.style),m),className:G(w==null?void 0:w.className,g),rootClassName:R,getContainer:P,afterOpenChange:c!=null?c:h,panelRef:_,zIndex:j}),a.createElement(Mb,Object.assign({prefixCls:I},y,{onClose:u}))))))},OH=e=>{const{prefixCls:t,style:r,className:n,placement:o="right"}=e,i=Db(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=a.useContext(ke),s=l("drawer",t),[c,u,d]=Lb(s),f=G(s,`${s}-pure`,`${s}-${o}`,u,d,n);return c(a.createElement("div",{className:f,style:r},a.createElement(Mb,Object.assign({prefixCls:s},i))))};_b._InternalPanelDoNotUseOrYouWillBeFired=OH;const PH=_b;function Bs(e){return["small","middle","large"].includes(e)}function qv(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const kb=z.createContext({latestIndex:0}),NH=kb.Provider,MH=e=>{let{className:t,index:r,children:n,split:o,style:i}=e;const{latestIndex:l}=a.useContext(kb);return n==null?null:a.createElement(a.Fragment,null,a.createElement("div",{className:t,style:i},n),r{var r,n,o;const{getPrefixCls:i,space:l,direction:s}=a.useContext(ke),{size:c=(r=l==null?void 0:l.size)!==null&&r!==void 0?r:"small",align:u,className:d,rootClassName:f,children:m,direction:g="horizontal",prefixCls:v,split:h,style:p,wrap:C=!1,classNames:b,styles:y}=e,S=TH(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[x,$]=Array.isArray(c)?c:[c,c],w=Bs($),I=Bs(x),E=qv($),O=qv(x),N=sn(m,{keepEmpty:!0}),P=u===void 0&&g==="horizontal"?"center":u,R=i("space",v),[M,D,L]=m2(R),T=G(R,l==null?void 0:l.className,D,`${R}-${g}`,{[`${R}-rtl`]:s==="rtl",[`${R}-align-${P}`]:P,[`${R}-gap-row-${$}`]:w,[`${R}-gap-col-${x}`]:I},d,f,L),_=G(`${R}-item`,(n=b==null?void 0:b.item)!==null&&n!==void 0?n:(o=l==null?void 0:l.classNames)===null||o===void 0?void 0:o.item);let j=0;const H=N.map((F,q)=>{var W,J;F!=null&&(j=q);const X=(F==null?void 0:F.key)||`${_}-${q}`;return a.createElement(RH,{className:_,key:X,index:q,split:h,style:(W=y==null?void 0:y.item)!==null&&W!==void 0?W:(J=l==null?void 0:l.styles)===null||J===void 0?void 0:J.item},F)}),k=a.useMemo(()=>({latestIndex:j}),[j]);if(N.length===0)return null;const V={};return C&&(V.flexWrap="wrap"),!I&&O&&(V.columnGap=x),!w&&E&&(V.rowGap=$),M(a.createElement("div",Object.assign({ref:t,className:T,style:Object.assign(Object.assign(Object.assign({},V),l==null?void 0:l.style),p)},S),a.createElement(NH,{value:k},H)))}),Nl=LH;Nl.Compact=D9;var DH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPopupContainer:t,getPrefixCls:r,direction:n}=a.useContext(ke),{prefixCls:o,type:i="default",danger:l,disabled:s,loading:c,onClick:u,htmlType:d,children:f,className:m,menu:g,arrow:v,autoFocus:h,overlay:p,trigger:C,align:b,open:y,onOpenChange:S,placement:x,getPopupContainer:$,href:w,icon:I=a.createElement(B1,null),title:E,buttonsRender:O=Z=>Z,mouseEnterDelay:N,mouseLeaveDelay:P,overlayClassName:R,overlayStyle:M,destroyPopupOnHide:D,dropdownRender:L}=e,T=DH(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),_=r("dropdown",o),j=`${_}-button`,H={menu:g,arrow:v,autoFocus:h,align:b,disabled:s,trigger:s?[]:C,onOpenChange:S,getPopupContainer:$||t,mouseEnterDelay:N,mouseLeaveDelay:P,overlayClassName:R,overlayStyle:M,destroyPopupOnHide:D,dropdownRender:L},{compactSize:k,compactItemClassnames:V}=Hr(_,n),F=G(j,V,m);"overlay"in e&&(H.overlay=p),"open"in e&&(H.open=y),"placement"in e?H.placement=x:H.placement=n==="rtl"?"bottomLeft":"bottomRight";const q=a.createElement(hn,{type:i,danger:l,disabled:s,loading:c,onClick:u,htmlType:d,href:w,title:E},f),W=a.createElement(hn,{type:i,danger:l,icon:I}),[J,X]=O([q,W]);return a.createElement(Nl.Compact,Object.assign({className:F,size:k,block:!0},T),J,a.createElement(Sl,Object.assign({},H),X))};jb.__ANT_BUTTON=!0;const _H=jb,Ci=Sl;Ci.Button=_H;const Hb=["wrap","nowrap","wrap-reverse"],zb=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],Bb=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],kH=(e,t)=>{const r=t.wrap===!0?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&Hb.includes(r)}},jH=(e,t)=>{const r={};return Bb.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},HH=(e,t)=>{const r={};return zb.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r};function zH(e,t){return G(Object.assign(Object.assign(Object.assign({},kH(e,t)),jH(e,t)),HH(e,t)))}const BH=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},AH=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},FH=e=>{const{componentCls:t}=e,r={};return Hb.forEach(n=>{r[`${t}-wrap-${n}`]={flexWrap:n}}),r},VH=e=>{const{componentCls:t}=e,r={};return Bb.forEach(n=>{r[`${t}-align-${n}`]={alignItems:n}}),r},WH=e=>{const{componentCls:t}=e,r={};return zb.forEach(n=>{r[`${t}-justify-${n}`]={justifyContent:n}}),r},KH=()=>({}),qH=Et("Flex",e=>{const{paddingXS:t,padding:r,paddingLG:n}=e,o=xt(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[BH(o),AH(o),FH(o),VH(o),WH(o)]},KH,{resetStyle:!1});var GH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,rootClassName:n,className:o,style:i,flex:l,gap:s,children:c,vertical:u=!1,component:d="div"}=e,f=GH(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:m,direction:g,getPrefixCls:v}=z.useContext(ke),h=v("flex",r),[p,C,b]=qH(h),y=u!=null?u:m==null?void 0:m.vertical,S=G(o,n,m==null?void 0:m.className,h,C,b,zH(h,e),{[`${h}-rtl`]:g==="rtl",[`${h}-gap-${s}`]:Bs(s),[`${h}-vertical`]:y}),x=Object.assign(Object.assign({},m==null?void 0:m.style),i);return l&&(x.flex=l),s&&!Bs(s)&&(x.gap=s),p(z.createElement(d,Object.assign({ref:t,className:S,style:x},Xt(f,["justify","wrap","align"])),c))}),Ab=XH,Fb=z.createContext(void 0),{Provider:UH}=Fb,Vb=Fb;var YH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const ZH=YH;var QH=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:ZH}))},JH=a.forwardRef(QH);const Wb=JH,ez=e=>{const{icon:t,description:r,prefixCls:n,className:o}=e,i=z.createElement("div",{className:`${n}-icon`},z.createElement(Wb,null));return z.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:G(o,`${n}-content`)},t||r?z.createElement(z.Fragment,null,t&&z.createElement("div",{className:`${n}-icon`},t),r&&z.createElement("div",{className:`${n}-description`},r)):i)},tz=a.memo(ez),Gv=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),nz=e=>{const{componentCls:t,floatButtonSize:r,motionDurationSlow:n,motionEaseInOutCirc:o}=e,i=`${t}-group`,l=new Ht("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${B(r)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new Ht("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${B(r)}, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${i}-wrap`]:Object.assign({},gl(`${i}-wrap`,l,s,n,!0))},{[`${i}-wrap`]:{[` + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${r}-tooltip-inner`]:{minWidth:"unset"}})}},pb=(e,t)=>{const{componentCls:r,railSize:n,handleSize:o,dotSize:i,marginFull:l,calc:s}=e,c=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",f=t?"insetBlockStart":"insetInlineStart",m=t?"top":"insetInlineStart",g=s(n).mul(3).sub(o).div(2).equal(),v=s(o).sub(n).div(2).equal(),h=t?{borderWidth:`${B(v)} 0`,transform:`translateY(${B(s(v).mul(-1).equal())})`}:{borderWidth:`0 ${B(v)}`,transform:`translateX(${B(e.calc(v).mul(-1).equal())})`};return{[c]:n,[d]:s(n).mul(3).equal(),[`${r}-rail`]:{[u]:"100%",[d]:n},[`${r}-track,${r}-tracks`]:{[d]:n},[`${r}-track-draggable`]:Object.assign({},h),[`${r}-handle`]:{[f]:g},[`${r}-mark`]:{insetInlineStart:0,top:0,[m]:s(n).mul(3).add(t?0:l).equal(),[u]:"100%"},[`${r}-step`]:{insetInlineStart:0,top:0,[m]:n,[u]:"100%",[d]:n},[`${r}-dot`]:{position:"absolute",[f]:s(n).sub(i).div(2).equal()}}},kk=e=>{const{componentCls:t,marginPartWithMark:r}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},pb(e,!0)),{[`&${t}-with-marks`]:{marginBottom:r}})}},jk=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},pb(e,!1)),{height:"100%"})}},Hk=e=>{const r=e.controlHeightLG/4,n=e.controlHeightSM/2,o=e.lineWidth+1,i=e.lineWidth+1*1.5,l=e.colorPrimary,s=new Qt(l).setAlpha(.2).toRgbString();return{controlSize:r,railSize:4,handleSize:r,handleSizeHover:n,dotSize:8,handleLineWidth:o,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:l,handleActiveOutlineColor:s,handleColorDisabled:new Qt(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},zk=Et("Slider",e=>{const t=xt(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[_k(t),kk(t),jk(t)]},Hk),Bk=a.createContext({}),hb=Bk;function td(){const[e,t]=a.useState(!1),r=a.useRef(),n=()=>{kt.cancel(r.current)},o=i=>{n(),i?t(i):r.current=kt(()=>{t(i)})};return a.useEffect(()=>n,[]),[e,o]}var Ak=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);otypeof r=="number"?r.toString():""}const Vk=z.forwardRef((e,t)=>{const{prefixCls:r,range:n,className:o,rootClassName:i,style:l,disabled:s,tooltipPrefixCls:c,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:f,tooltipPlacement:m,tooltip:g={},onChangeComplete:v}=e,h=Ak(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:p}=e,{direction:C,slider:b,getPrefixCls:y,getPopupContainer:S}=z.useContext(ke),x=z.useContext(Hn),$=s!=null?s:x,{handleRender:w,direction:I}=z.useContext(hb),O=(I||C)==="rtl",[N,P]=td(),[R,M]=td(),D=Object.assign({},g),{open:L,placement:T,getPopupContainer:_,prefixCls:j,formatter:H}=D,k=L!=null?L:d,V=(N||R)&&k!==!1,F=Fk(H,u),[q,W]=td(),J=oe=>{v==null||v(oe),W(!1)},X=(oe,re)=>oe||(re?O?"left":"right":"top"),Z=y("slider",r),[ee,ne,Y]=zk(Z),te=G(o,b==null?void 0:b.className,i,{[`${Z}-rtl`]:O,[`${Z}-lock`]:q},ne,Y);O&&!h.vertical&&(h.reverse=!h.reverse),z.useEffect(()=>{const oe=()=>{kt(()=>{M(!1)},1)};return document.addEventListener("mouseup",oe),()=>{document.removeEventListener("mouseup",oe)}},[]);const Q=n&&!k,U=w||((oe,re)=>{const{index:ce}=re,ue=oe.props;function fe(Se,$e,Ne){var xe,Me,Ee,Te;Ne&&((Me=(xe=h)[Se])===null||Me===void 0||Me.call(xe,$e)),(Te=(Ee=ue)[Se])===null||Te===void 0||Te.call(Ee,$e)}const be=Object.assign(Object.assign({},ue),{onMouseEnter:Se=>{P(!0),fe("onMouseEnter",Se)},onMouseLeave:Se=>{P(!1),fe("onMouseLeave",Se)},onMouseDown:Se=>{M(!0),W(!0),fe("onMouseDown",Se)},onFocus:Se=>{var $e;M(!0),($e=h.onFocus)===null||$e===void 0||$e.call(h,Se),fe("onFocus",Se,!0)},onBlur:Se=>{var $e;M(!1),($e=h.onBlur)===null||$e===void 0||$e.call(h,Se),fe("onBlur",Se,!0)}}),de=z.cloneElement(oe,be),he=(!!k||V)&&F!==null;return Q?de:z.createElement(Lv,Object.assign({},D,{prefixCls:y("tooltip",j!=null?j:c),title:F?F(re.value):"",open:he,placement:X(T!=null?T:m,p),key:ce,overlayClassName:`${Z}-tooltip`,getPopupContainer:_||f||S}),de)}),ae=Q?(oe,re)=>{const ce=z.cloneElement(oe,{style:Object.assign(Object.assign({},oe.props.style),{visibility:"hidden"})});return z.createElement(Lv,Object.assign({},D,{prefixCls:y("tooltip",j!=null?j:c),title:F?F(re.value):"",open:F!==null&&V,placement:X(T!=null?T:m,p),key:"tooltip",overlayClassName:`${Z}-tooltip`,getPopupContainer:_||f||S,draggingDelete:re.draggingDelete}),ce)}:void 0,se=Object.assign(Object.assign({},b==null?void 0:b.style),l);return ee(z.createElement(Lk,Object.assign({},h,{step:h.step,range:n,className:te,style:se,disabled:$,ref:t,prefixCls:Z,handleRender:U,activeHandleRender:ae,onChangeComplete:J})))}),Cb=Vk;var Wk=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,colors:r,type:n,color:o,range:i=!1,className:l,activeIndex:s,onActive:c,onDragStart:u,onDragChange:d,onKeyDelete:f}=e,m=Wk(e,["prefixCls","colors","type","color","range","className","activeIndex","onActive","onDragStart","onDragChange","onKeyDelete"]),g=Object.assign(Object.assign({},m),{track:!1}),v=a.useMemo(()=>`linear-gradient(90deg, ${r.map($=>`${$.color} ${$.percent}%`).join(", ")})`,[r]),h=a.useMemo(()=>!o||!n?null:n==="alpha"?o.toRgbString():`hsl(${o.toHsb().h}, 100%, 50%)`,[o,n]),p=$t(u),C=$t(d),b=a.useMemo(()=>({onDragStart:p,onDragChange:C}),[]),y=$t((x,$)=>{const{onFocus:w,style:I,className:E,onKeyDown:O}=x.props,N=Object.assign({},I);return n==="gradient"&&(N.background=ob(r,$.value)),a.cloneElement(x,{onFocus:P=>{c==null||c($.index),w==null||w(P)},style:N,className:G(E,{[`${t}-slider-handle-active`]:s===$.index}),onKeyDown:P=>{(P.key==="Delete"||P.key==="Backspace")&&f&&f($.index),O==null||O(P)}})}),S=a.useMemo(()=>({direction:"ltr",handleRender:y}),[]);return a.createElement(hb.Provider,{value:S},a.createElement(vb.Provider,{value:b},a.createElement(Cb,Object.assign({},g,{className:G(l,`${t}-slider`),tooltip:{open:!1},range:{editable:i,minCount:2},styles:{rail:{background:v},handle:h?{background:h}:{}},classNames:{rail:`${t}-slider-rail`,handle:`${t}-slider-handle`}}))))},Kk=e=>{const{value:t,onChange:r,onChangeComplete:n}=e,o=l=>r(l[0]),i=l=>n(l[0]);return a.createElement(bb,Object.assign({},e,{value:[t],onChange:o,onChangeComplete:i}))},qk=Kk;function Dv(e){return ye(e).sort((t,r)=>t.percent-r.percent)}const Gk=e=>{const{prefixCls:t,mode:r,onChange:n,onChangeComplete:o,onActive:i,activeIndex:l,onGradientDragging:s,colors:c}=e,u=r==="gradient",d=a.useMemo(()=>c.map(C=>({percent:C.percent,color:C.color.toRgbString()})),[c]),f=a.useMemo(()=>d.map(C=>C.percent),[d]),m=a.useRef(d),g=C=>{let{rawValues:b,draggingIndex:y,draggingValue:S}=C;if(b.length>d.length){const x=ob(d,S),$=ye(d);$.splice(y,0,{percent:S,color:x}),m.current=$}else m.current=d;s(!0),n(new yr(Dv(m.current)),!0)},v=C=>{let{deleteIndex:b,draggingIndex:y,draggingValue:S}=C,x=ye(m.current);b!==-1?x.splice(b,1):(x[y]=Object.assign(Object.assign({},x[y]),{percent:S}),x=Dv(x)),n(new yr(x),!0)},h=C=>{const b=ye(d);b.splice(C,1);const y=new yr(b);n(y),o(y)},p=C=>{o(new yr(d)),l>=C.length&&i(C.length-1),s(!1)};return u?a.createElement(bb,{min:0,max:100,prefixCls:t,className:`${t}-gradient-slider`,colors:d,color:null,value:f,range:!0,onChangeComplete:p,disabled:!1,type:"gradient",activeIndex:l,onActive:i,onDragStart:g,onDragChange:v,onKeyDelete:h}):null},Xk=a.memo(Gk);var Uk=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const e=a.useContext(nb),{mode:t,onModeChange:r,modeOptions:n,prefixCls:o,allowClear:i,value:l,disabledAlpha:s,onChange:c,onClear:u,onChangeComplete:d,activeIndex:f,gradientDragging:m}=e,g=Uk(e,["mode","onModeChange","modeOptions","prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete","activeIndex","gradientDragging"]),v=z.useMemo(()=>l.cleared?[{percent:0,color:new yr("")},{percent:100,color:new yr("")}]:l.getColors(),[l]),h=!l.isGradient(),[p,C]=z.useState(l);_t(()=>{var I;h||C((I=v[f])===null||I===void 0?void 0:I.color)},[m,f]);const b=z.useMemo(()=>{var I;return h?l:m?p:(I=v[f])===null||I===void 0?void 0:I.color},[l,f,h,p,m]),y=(I,E)=>{let O=Jn(I);if(l.cleared){const P=O.toRgb();if(!P.r&&!P.g&&!P.b&&E){const{type:R,value:M=0}=E;O=new yr({h:R==="hue"?M:0,s:1,b:1,a:R==="alpha"?M/100:1})}else O=Ss(O)}if(t==="single")return O;const N=ye(v);return N[f]=Object.assign(Object.assign({},N[f]),{color:O}),new yr(N)},S=(I,E,O)=>{c(y(I,O),E)},x=(I,E)=>{d(y(I,E))};let $=null;const w=n.length>1;return(i||w)&&($=z.createElement("div",{className:`${o}-operation`},w&&z.createElement(tb,{size:"small",options:n,value:t,onChange:r}),z.createElement(ab,Object.assign({prefixCls:o,value:l,onChange:I=>{c(I),u==null||u()}},g)))),z.createElement(z.Fragment,null,$,z.createElement(Xk,Object.assign({},e,{colors:v})),z.createElement(wD,{prefixCls:o,value:b==null?void 0:b.toHsb(),disabledAlpha:s,onChange:(I,E)=>{S(I,!0,E)},onChangeComplete:(I,E)=>{x(I,E)},components:Yk}),z.createElement(yk,Object.assign({value:b,onChange:S,prefixCls:o,disabledAlpha:s},g)))},_v=Zk,nd=e=>e.map(t=>(t.colors=t.colors.map(Jn),t)),Qk=(e,t)=>{const{r,g:n,b:o,a:i}=e.toRgb(),l=new kr(e.toRgbString()).onBackground(t).toHsv();return i<=.5?l.v>.5:r*.299+n*.587+o*.114>192},kv=e=>{let{label:t}=e;return`panel-${t}`},Jk=e=>{let{prefixCls:t,presets:r,value:n,onChange:o}=e;const[i]=Ln("ColorPicker"),[,l]=zn(),[s]=Ot(nd(r),{value:nd(r),postState:nd}),c=`${t}-presets`,u=a.useMemo(()=>s.reduce((m,g)=>{const{defaultOpen:v=!0}=g;return v&&m.push(kv(g)),m},[]),[s]),d=m=>{o==null||o(m)},f=s.map(m=>{var g;return{key:kv(m),label:z.createElement("div",{className:`${c}-label`},m==null?void 0:m.label),children:z.createElement("div",{className:`${c}-items`},Array.isArray(m==null?void 0:m.colors)&&((g=m.colors)===null||g===void 0?void 0:g.length)>0?m.colors.map((v,h)=>z.createElement(rm,{key:`preset-${h}-${v.toHexString()}`,color:Jn(v).toRgbString(),prefixCls:t,className:G(`${c}-color`,{[`${c}-color-checked`]:v.toHexString()===(n==null?void 0:n.toHexString()),[`${c}-color-bright`]:Qk(v,l.colorBgElevated)}),onClick:()=>d(v)})):z.createElement("span",{className:`${c}-empty`},i.presetEmpty))}});return z.createElement("div",{className:c},z.createElement(nm,{defaultActiveKey:u,ghost:!0,items:f}))},ej=Jk,tj=()=>{const{prefixCls:e,value:t,presets:r,onChange:n}=a.useContext(rb);return Array.isArray(r)?z.createElement(ej,{value:t,presets:r,prefixCls:e,onChange:n}):null},jv=tj,nj=e=>{const{prefixCls:t,presets:r,panelRender:n,value:o,onChange:i,onClear:l,allowClear:s,disabledAlpha:c,mode:u,onModeChange:d,modeOptions:f,onChangeComplete:m,activeIndex:g,onActive:v,format:h,onFormatChange:p,gradientDragging:C,onGradientDragging:b}=e,y=`${t}-inner`,S=z.useMemo(()=>({prefixCls:t,value:o,onChange:i,onClear:l,allowClear:s,disabledAlpha:c,mode:u,onModeChange:d,modeOptions:f,onChangeComplete:m,activeIndex:g,onActive:v,format:h,onFormatChange:p,gradientDragging:C,onGradientDragging:b}),[t,o,i,l,s,c,u,d,f,m,g,v,h,p,C,b]),x=z.useMemo(()=>({prefixCls:t,value:o,presets:r,onChange:i}),[t,o,r,i]),$=z.createElement("div",{className:`${y}-content`},z.createElement(_v,null),Array.isArray(r)&&z.createElement(eb,null),z.createElement(jv,null));return z.createElement(nb.Provider,{value:S},z.createElement(rb.Provider,{value:x},z.createElement("div",{className:y},typeof n=="function"?n($,{components:{Picker:_v,Presets:jv}}):$)))},rj=nj;var oj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{color:r,prefixCls:n,open:o,disabled:i,format:l,className:s,showText:c,activeIndex:u}=e,d=oj(e,["color","prefixCls","open","disabled","format","className","showText","activeIndex"]),f=`${n}-trigger`,m=`${f}-text`,g=`${m}-cell`,[v]=Ln("ColorPicker"),h=z.useMemo(()=>{if(!c)return"";if(typeof c=="function")return c(r);if(r.cleared)return v.transparent;if(r.isGradient())return r.getColors().map((y,S)=>{const x=u!==-1&&u!==S;return z.createElement("span",{key:S,className:G(g,x&&`${g}-inactive`)},y.color.toRgbString()," ",y.percent,"%")});const C=r.toHexString().toUpperCase(),b=om(r);switch(l){case"rgb":return r.toRgbString();case"hsb":return r.toHsbString();default:return b<100?`${C.slice(0,7)},${b}%`:C}},[r,l,c,u]),p=a.useMemo(()=>r.cleared?z.createElement(ab,{prefixCls:n}):z.createElement(rm,{prefixCls:n,color:r.toCssString()}),[r,n]);return z.createElement("div",Object.assign({ref:t,className:G(f,s,{[`${f}-active`]:o,[`${f}-disabled`]:i})},en(d)),p,c&&z.createElement("div",{className:m},h))}),ij=aj;function lj(e,t,r){const[n]=Ln("ColorPicker"),[o,i]=Ot(e,{value:t}),[l,s]=a.useState("single"),[c,u]=a.useMemo(()=>{const h=(Array.isArray(r)?r:[r]).filter(y=>y);h.length||h.push("single");const p=new Set(h),C=[],b=(y,S)=>{p.has(y)&&C.push({label:S,value:y})};return b("single",n.singleColor),b("gradient",n.gradientColor),[C,p]},[r]),[d,f]=a.useState(null),m=$t(h=>{f(h),i(h)}),g=a.useMemo(()=>{const h=Jn(o||"");return h.equals(d)?d:h},[o,d]),v=a.useMemo(()=>{var h;return u.has(l)?l:(h=c[0])===null||h===void 0?void 0:h.value},[u,l,c]);return a.useEffect(()=>{s(g.isGradient()?"gradient":"single")},[g]),[g,m,v,s,c]}const yb=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`}),Hv=(e,t)=>{const{componentCls:r,borderRadiusSM:n,colorPickerInsetShadow:o,lineWidth:i,colorFillSecondary:l}=e;return{[`${r}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:n,width:t,height:t,boxShadow:o,flex:"none"},yb("50%",e.colorFillSecondary)),{[`${r}-color-block-inner`]:{width:"100%",height:"100%",boxShadow:`inset 0 0 0 ${B(i)} ${l}`,borderRadius:"inherit"}})}},sj=e=>{const{componentCls:t,antCls:r,fontSizeSM:n,lineHeightSM:o,colorPickerAlphaInputWidth:i,marginXXS:l,paddingXXS:s,controlHeightSM:c,marginXS:u,fontSizeIcon:d,paddingXS:f,colorTextPlaceholder:m,colorPickerInputNumberHandleWidth:g,lineWidth:v}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${r}-input-number`]:{fontSize:n,lineHeight:o,[`${r}-input-number-input`]:{paddingInlineStart:s,paddingInlineEnd:0},[`${r}-input-number-handler-wrap`]:{width:g}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${B(i)}`,marginInlineStart:l},[`${t}-format-select${r}-select`]:{marginInlineEnd:u,width:"auto","&-single":{[`${r}-select-selector`]:{padding:0,border:0},[`${r}-select-arrow`]:{insetInlineEnd:0},[`${r}-select-selection-item`]:{paddingInlineEnd:e.calc(d).add(l).equal(),fontSize:n,lineHeight:B(c)},[`${r}-select-item-option-content`]:{fontSize:n,lineHeight:o},[`${r}-select-dropdown`]:{[`${r}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:l,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:l,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${r}-input-affix-wrapper`]:{flex:1,padding:`0 ${B(f)}`,[`${r}-input`]:{fontSize:n,textTransform:"uppercase",lineHeight:B(e.calc(c).sub(e.calc(v).mul(2)).equal())},[`${r}-input-prefix`]:{color:m}}}}}},cj=e=>{const{componentCls:t,controlHeightLG:r,borderRadiusSM:n,colorPickerInsetShadow:o,marginSM:i,colorBgElevated:l,colorFillSecondary:s,lineWidthBold:c,colorPickerHandlerSize:u}=e;return{userSelect:"none",[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(r).mul(4).equal(),overflow:"hidden",borderRadius:n},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:o,inset:0},marginBottom:i},[`${t}-handler`]:{width:u,height:u,border:`${B(c)} solid ${l}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${o}, 0 0 0 1px ${s}`}}},uj=e=>{const{componentCls:t,antCls:r,colorTextQuaternary:n,paddingXXS:o,colorPickerPresetColorSize:i,fontSizeSM:l,colorText:s,lineHeightSM:c,lineWidth:u,borderRadius:d,colorFill:f,colorWhite:m,marginXXS:g,paddingXS:v,fontHeightSM:h}=e;return{[`${t}-presets`]:{[`${r}-collapse-item > ${r}-collapse-header`]:{padding:0,[`${r}-collapse-expand-icon`]:{height:h,color:n,paddingInlineEnd:o}},[`${r}-collapse`]:{display:"flex",flexDirection:"column",gap:g},[`${r}-collapse-item > ${r}-collapse-content > ${r}-collapse-content-box`]:{padding:`${B(v)} 0`},"&-label":{fontSize:l,color:s,lineHeight:c},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(g).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:i,height:i,"&::before":{content:'""',pointerEvents:"none",width:e.calc(i).add(e.calc(u).mul(4)).equal(),height:e.calc(i).add(e.calc(u).mul(4)).equal(),position:"absolute",top:e.calc(u).mul(-2).equal(),insetInlineStart:e.calc(u).mul(-2).equal(),borderRadius:d,border:`${B(u)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:f},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(i).div(13).mul(5).equal(),height:e.calc(i).div(13).mul(8).equal(),border:`${B(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:m,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:l,color:n}}}},dj=e=>{const{componentCls:t,colorPickerInsetShadow:r,colorBgElevated:n,colorFillSecondary:o,lineWidthBold:i,colorPickerHandlerSizeSM:l,colorPickerSliderHeight:s,marginSM:c,marginXS:u}=e,d=e.calc(l).sub(e.calc(i).mul(2).equal()).equal(),f=e.calc(l).add(e.calc(i).mul(2).equal()).equal(),m={"&:after":{transform:"scale(1)",boxShadow:`${r}, 0 0 0 1px ${e.colorPrimaryActive}`}};return{[`${t}-slider`]:[yb(B(s),e.colorFillSecondary),{margin:0,padding:0,height:s,borderRadius:e.calc(s).div(2).equal(),"&-rail":{height:s,borderRadius:e.calc(s).div(2).equal(),boxShadow:r},[`& ${t}-slider-handle`]:{width:d,height:d,top:0,borderRadius:"100%","&:before":{display:"block",position:"absolute",background:"transparent",left:{_skip_check_:!0,value:"50%"},top:"50%",transform:"translate(-50%, -50%)",width:f,height:f,borderRadius:"100%"},"&:after":{width:l,height:l,border:`${B(i)} solid ${n}`,boxShadow:`${r}, 0 0 0 1px ${o}`,outline:"none",insetInlineStart:e.calc(i).mul(-1).equal(),top:e.calc(i).mul(-1).equal(),background:"transparent",transition:"none"},"&:focus":m}}],[`${t}-slider-container`]:{display:"flex",gap:c,marginBottom:c,[`${t}-slider-group`]:{flex:1,flexDirection:"column",justifyContent:"space-between",display:"flex","&-disabled-alpha":{justifyContent:"center"}}},[`${t}-gradient-slider`]:{marginBottom:u,[`& ${t}-slider-handle`]:{"&:after":{transform:"scale(0.8)"},"&-active, &:focus":m}}}},$f=(e,t,r)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${B(e.controlOutlineWidth)} ${r}`,outline:0}),fj=e=>{const{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},zv=(e,t,r)=>{const{componentCls:n,borderRadiusSM:o,lineWidth:i,colorSplit:l,colorBorder:s,red6:c}=e;return{[`${n}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:o,border:`${B(i)} solid ${l}`,position:"relative",overflow:"hidden",cursor:"inherit",transition:`all ${e.motionDurationFast}`},r),{"&::after":{content:'""',position:"absolute",insetInlineEnd:e.calc(i).mul(-1).equal(),top:e.calc(i).mul(-1).equal(),display:"block",width:40,height:2,transformOrigin:"calc(100% - 1px) 1px",transform:"rotate(-45deg)",backgroundColor:c},"&:hover":{borderColor:s}})}},mj=e=>{const{componentCls:t,colorError:r,colorWarning:n,colorErrorHover:o,colorWarningHover:i,colorErrorOutline:l,colorWarningOutline:s}=e;return{[`&${t}-status-error`]:{borderColor:r,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},$f(e,r,l))},[`&${t}-status-warning`]:{borderColor:n,"&:hover":{borderColor:i},[`&${t}-trigger-active`]:Object.assign({},$f(e,n,s))}}},gj=e=>{const{componentCls:t,controlHeightLG:r,controlHeightSM:n,controlHeight:o,controlHeightXS:i,borderRadius:l,borderRadiusSM:s,borderRadiusXS:c,borderRadiusLG:u,fontSizeLG:d}=e;return{[`&${t}-lg`]:{minWidth:r,minHeight:r,borderRadius:u,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:l},[`${t}-trigger-text`]:{fontSize:d}},[`&${t}-sm`]:{minWidth:n,minHeight:n,borderRadius:s,[`${t}-color-block, ${t}-clear`]:{width:i,height:i,borderRadius:c},[`${t}-trigger-text`]:{lineHeight:B(i)}}}},vj=e=>{const{antCls:t,componentCls:r,colorPickerWidth:n,colorPrimary:o,motionDurationMid:i,colorBgElevated:l,colorTextDisabled:s,colorText:c,colorBgContainerDisabled:u,borderRadius:d,marginXS:f,marginSM:m,controlHeight:g,controlHeightSM:v,colorBgTextActive:h,colorPickerPresetColorSize:p,colorPickerPreviewSize:C,lineWidth:b,colorBorder:y,paddingXXS:S,fontSize:x,colorPrimaryHover:$,controlOutline:w}=e;return[{[r]:Object.assign({[`${r}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:n,[`& > ${t}-divider`]:{margin:`${B(m)} 0 ${B(f)}`}},[`${r}-panel`]:Object.assign({},cj(e))},dj(e)),Hv(e,C)),sj(e)),uj(e)),zv(e,p,{marginInlineStart:"auto"})),{[`${r}-operation`]:{display:"flex",justifyContent:"space-between",marginBottom:f}}),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:g,minHeight:g,borderRadius:d,border:`${B(b)} solid ${y}`,cursor:"pointer",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",transition:`all ${i}`,background:l,padding:e.calc(S).sub(b).equal(),[`${r}-trigger-text`]:{marginInlineStart:f,marginInlineEnd:e.calc(f).sub(e.calc(S).sub(b)).equal(),fontSize:x,color:c,alignSelf:"center","&-cell":{"&:not(:last-child):after":{content:'", "'},"&-inactive":{color:s}}},"&:hover":{borderColor:$},[`&${r}-trigger-active`]:Object.assign({},$f(e,o,w)),"&-disabled":{color:s,background:u,cursor:"not-allowed","&:hover":{borderColor:h},[`${r}-trigger-text`]:{color:s}}},zv(e,v)),Hv(e,v)),mj(e)),gj(e))},fj(e))},va(e,{focusElCls:`${r}-trigger-active`})]},pj=Et("ColorPicker",e=>{const{colorTextQuaternary:t,marginSM:r}=e,n=8,o=xt(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:24,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:n,colorPickerPreviewSize:e.calc(n).mul(2).add(r).equal()});return[vj(o)]});var hj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{mode:t,value:r,defaultValue:n,format:o,defaultFormat:i,allowClear:l=!1,presets:s,children:c,trigger:u="click",open:d,disabled:f,placement:m="bottomLeft",arrow:g=!0,panelRender:v,showText:h,style:p,className:C,size:b,rootClassName:y,prefixCls:S,styles:x,disabledAlpha:$=!1,onFormatChange:w,onChange:I,onClear:E,onOpenChange:O,onChangeComplete:N,getPopupContainer:P,autoAdjustOverflow:R=!0,destroyTooltipOnHide:M}=e,D=hj(e,["mode","value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:L,direction:T,colorPicker:_}=a.useContext(ke),j=a.useContext(Hn),H=f!=null?f:j,[k,V]=Ot(!1,{value:d,postState:Ce=>!H&&Ce,onChange:O}),[F,q]=Ot(o,{value:o,defaultValue:i,onChange:w}),W=L("color-picker",S),[J,X,Z,ee,ne]=lj(n,r,t),Y=a.useMemo(()=>om(J)<100,[J]),[te,Q]=z.useState(null),U=Ce=>{if(N){let pe=Jn(Ce);$&&Y&&(pe=Ss(Ce)),N(pe)}},ae=(Ce,pe)=>{let ge=Jn(Ce);$&&Y&&(ge=Ss(ge)),X(ge),Q(null),I&&I(ge,ge.toCssString()),pe||U(ge)},[se,oe]=z.useState(0),[re,ce]=z.useState(!1),ue=Ce=>{if(ee(Ce),Ce==="single"&&J.isGradient())oe(0),ae(new yr(J.getColors()[0].color)),Q(J);else if(Ce==="gradient"&&!J.isGradient()){const pe=Y?Ss(J):J;ae(new yr(te||[{percent:0,color:pe},{percent:100,color:pe}]))}},{status:fe}=z.useContext(dn),{compactSize:be,compactItemClassnames:de}=Hr(W,T),he=un(Ce=>{var pe;return(pe=b!=null?b:be)!==null&&pe!==void 0?pe:Ce}),Se=Ut(W),[$e,Ne,xe]=pj(W,Se),Me={[`${W}-rtl`]:T},Ee=G(y,xe,Se,Me),Te=G(fr(W,fe),{[`${W}-sm`]:he==="small",[`${W}-lg`]:he==="large"},de,_==null?void 0:_.className,Ee,C,Ne),Re=G(W,Ee),Pe={open:k,trigger:u,placement:m,arrow:g,rootClassName:y,getPopupContainer:P,autoAdjustOverflow:R,destroyTooltipOnHide:M},me=Object.assign(Object.assign({},_==null?void 0:_.style),p);return $e(z.createElement(Ec,Object.assign({style:x==null?void 0:x.popup,overlayInnerStyle:x==null?void 0:x.popupOverlayInner,onOpenChange:Ce=>{(!Ce||!H)&&V(Ce)},content:z.createElement(Dr,{form:!0},z.createElement(rj,{mode:Z,onModeChange:ue,modeOptions:ne,prefixCls:W,value:J,allowClear:l,disabled:H,disabledAlpha:$,presets:s,panelRender:v,format:F,onFormatChange:q,onChange:ae,onChangeComplete:U,onClear:E,activeIndex:se,onActive:oe,gradientDragging:re,onGradientDragging:ce})),overlayClassName:Re},Pe),c||z.createElement(ij,Object.assign({activeIndex:k?se:-1,open:k,className:Te,style:me,prefixCls:W,disabled:H,showText:h,format:F},D,{color:J}))))},Cj=ro(um,"color-picker",e=>e,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}));um._InternalPanelDoNotUseOrYouWillBeFired=Cj;const bj=um;var yj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const Sj=yj;var xj=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Sj}))},$j=a.forwardRef(xj);const Sb=$j;var wj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const Ej=wj;var Ij=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Ej}))},Oj=a.forwardRef(Ij);const xb=Oj;var Pj={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const Nj=Pj;var Mj=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Nj}))},Rj=a.forwardRef(Mj);const Tj=Rj;function Lj(e,t,r){return r!==void 0?r:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Dj(e,t,r){return r!==void 0?r:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function dm(e,t){const r={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:r};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:r};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:r};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:r};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:r}}}function $b(e,t){const{allowClear:r=!0}=e,{clearIcon:n,removeIcon:o}=yc(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[a.useMemo(()=>r===!1?!1:Object.assign({clearIcon:n},r===!0?{}:r),[r,n]),o]}const[_j,kj]=["week","WeekPicker"],[jj,Hj]=["month","MonthPicker"],[zj,Bj]=["year","YearPicker"],[Aj,Fj]=["quarter","QuarterPicker"],[wb,Bv]=["time","TimePicker"],Vj=e=>a.createElement(hn,Object.assign({size:"small",type:"primary"},e)),Wj=Vj;function Eb(e){return a.useMemo(()=>Object.assign({button:Wj},e),[e])}var Kj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oa.forwardRef((r,n)=>{var o;const{prefixCls:i,getPopupContainer:l,components:s,className:c,style:u,placement:d,size:f,disabled:m,bordered:g=!0,placeholder:v,popupClassName:h,dropdownClassName:p,status:C,rootClassName:b,variant:y,picker:S}=r,x=Kj(r,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),$=a.useRef(null),{getPrefixCls:w,direction:I,getPopupContainer:E,rangePicker:O}=a.useContext(ke),N=w("picker",i),{compactSize:P,compactItemClassnames:R}=Hr(N,I),M=w(),[D,L]=oo("rangePicker",y,g),T=Ut(N),[_,j,H]=i3(N,T),[k]=$b(r,N),V=Eb(s),F=un(U=>{var ae;return(ae=f!=null?f:P)!==null&&ae!==void 0?ae:U}),q=a.useContext(Hn),W=m!=null?m:q,J=a.useContext(dn),{hasFeedback:X,status:Z,feedbackIcon:ee}=J,ne=a.createElement(a.Fragment,null,S===wb?a.createElement(xb,null):a.createElement(Sb,null),X&&ee);a.useImperativeHandle(n,()=>$.current);const[Y]=Ln("Calendar",qf),te=Object.assign(Object.assign({},Y),r.locale),[Q]=or("DatePicker",(o=r.popupStyle)===null||o===void 0?void 0:o.zIndex);return _(a.createElement(Dr,{space:!0},a.createElement(SM,Object.assign({separator:a.createElement("span",{"aria-label":"to",className:`${N}-separator`},a.createElement(Tj,null)),disabled:W,ref:$,popupAlign:dm(I,d),placement:d,placeholder:Dj(te,S,v),suffixIcon:ne,prevIcon:a.createElement("span",{className:`${N}-prev-icon`}),nextIcon:a.createElement("span",{className:`${N}-next-icon`}),superPrevIcon:a.createElement("span",{className:`${N}-super-prev-icon`}),superNextIcon:a.createElement("span",{className:`${N}-super-next-icon`}),transitionName:`${M}-slide-up`,picker:S},x,{className:G({[`${N}-${F}`]:F,[`${N}-${D}`]:L},fr(N,zr(Z,C),X),j,R,c,O==null?void 0:O.className,H,T,b),style:Object.assign(Object.assign({},O==null?void 0:O.style),u),locale:te.lang,prefixCls:N,getPopupContainer:l||E,generateConfig:e,components:V,direction:I,classNames:{popup:G(j,h||p,H,T,b)},styles:{popup:Object.assign(Object.assign({},r.popupStyle),{zIndex:Q})},allowClear:k}))))});var Gj=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const t=(c,u)=>{const d=u===Bv?"timePicker":"datePicker";return a.forwardRef((m,g)=>{var v;const{prefixCls:h,getPopupContainer:p,components:C,style:b,className:y,rootClassName:S,size:x,bordered:$,placement:w,placeholder:I,popupClassName:E,dropdownClassName:O,disabled:N,status:P,variant:R,onCalendarChange:M}=m,D=Gj(m,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:L,direction:T,getPopupContainer:_,[d]:j}=a.useContext(ke),H=L("picker",h),{compactSize:k,compactItemClassnames:V}=Hr(H,T),F=a.useRef(null),[q,W]=oo("datePicker",R,$),J=Ut(H),[X,Z,ee]=i3(H,J);a.useImperativeHandle(g,()=>F.current);const ne={showToday:!0},Y=c||m.picker,te=L(),{onSelect:Q,multiple:U}=D,ae=Q&&c==="time"&&!U,se=(Te,Re,Pe)=>{M==null||M(Te,Re,Pe),ae&&Q(Te)},[oe,re]=$b(m,H),ce=Eb(C),ue=un(Te=>{var Re;return(Re=x!=null?x:k)!==null&&Re!==void 0?Re:Te}),fe=a.useContext(Hn),be=N!=null?N:fe,de=a.useContext(dn),{hasFeedback:he,status:Se,feedbackIcon:$e}=de,Ne=a.createElement(a.Fragment,null,Y==="time"?a.createElement(xb,null):a.createElement(Sb,null),he&&$e),[xe]=Ln("DatePicker",qf),Me=Object.assign(Object.assign({},xe),m.locale),[Ee]=or("DatePicker",(v=m.popupStyle)===null||v===void 0?void 0:v.zIndex);return X(a.createElement(Dr,{space:!0},a.createElement(OM,Object.assign({ref:F,placeholder:Lj(Me,Y,I),suffixIcon:Ne,dropdownAlign:dm(T,w),placement:w,prevIcon:a.createElement("span",{className:`${H}-prev-icon`}),nextIcon:a.createElement("span",{className:`${H}-next-icon`}),superPrevIcon:a.createElement("span",{className:`${H}-super-prev-icon`}),superNextIcon:a.createElement("span",{className:`${H}-super-next-icon`}),transitionName:`${te}-slide-up`,picker:c,onCalendarChange:se},ne,D,{locale:Me.lang,className:G({[`${H}-${ue}`]:ue,[`${H}-${q}`]:W},fr(H,zr(Se,P),he),Z,V,j==null?void 0:j.className,y,ee,J,S),style:Object.assign(Object.assign({},j==null?void 0:j.style),b),prefixCls:H,getPopupContainer:p||_,generateConfig:e,components:ce,direction:T,disabled:be,classNames:{popup:G(Z,ee,J,S,E||O)},styles:{popup:Object.assign(Object.assign({},m.popupStyle),{zIndex:Ee})},allowClear:oe,removeIcon:re}))))})},r=t(),n=t(_j,kj),o=t(jj,Hj),i=t(zj,Bj),l=t(Aj,Fj),s=t(wb,Bv);return{DatePicker:r,WeekPicker:n,MonthPicker:o,YearPicker:i,TimePicker:s,QuarterPicker:l}},Ib=e=>{const{DatePicker:t,WeekPicker:r,MonthPicker:n,YearPicker:o,TimePicker:i,QuarterPicker:l}=Xj(e),s=qj(e),c=t;return c.WeekPicker=r,c.MonthPicker=n,c.YearPicker=o,c.RangePicker=s,c.TimePicker=i,c.QuarterPicker=l,c},ar=Ib(vC);function Ob(e){const t=dm(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Uj=ro(ar,"picker",null,Ob);ar._InternalPanelDoNotUseOrYouWillBeFired=Uj;const Yj=ro(ar.RangePicker,"picker",null,Ob);ar._InternalRangePanelDoNotUseOrYouWillBeFired=Yj;ar.generatePicker=Ib;const Zj={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Qj=Zj,Jj=z.createContext({}),Pb=Jj;var eH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);osn(e).map(t=>Object.assign(Object.assign({},t==null?void 0:t.props),{key:t.key}));function nH(e,t,r){const n=a.useMemo(()=>t||tH(r),[t,r]);return a.useMemo(()=>n.map(i=>{var{span:l}=i,s=eH(i,["span"]);return Object.assign(Object.assign({},s),{span:typeof l=="number"?l:Bh(e,l)})}),[n,e])}function Av(e,t,r){let n=e,o=!1;return(r===void 0||r>t)&&(n=Object.assign(Object.assign({},e),{span:t}),o=r!==void 0),[n,o]}function rH(e,t){const r=[];let n=[],o=t,i=!1;return e.filter(l=>l).forEach((l,s)=>{const c=l==null?void 0:l.span,u=c||1;if(s===e.length-1){const[d,f]=Av(l,o,c);i=i||f,n.push(d),r.push(n);return}if(u{const[r,n]=a.useMemo(()=>rH(t,e),[t,e]);return r},aH=e=>{let{children:t}=e;return t},iH=aH;function Fv(e){return e!=null}const lH=e=>{const{itemPrefixCls:t,component:r,span:n,className:o,style:i,labelStyle:l,contentStyle:s,bordered:c,label:u,content:d,colon:f,type:m}=e,g=r;return c?a.createElement(g,{className:G({[`${t}-item-label`]:m==="label",[`${t}-item-content`]:m==="content"},o),style:i,colSpan:n},Fv(u)&&a.createElement("span",{style:l},u),Fv(d)&&a.createElement("span",{style:s},d)):a.createElement(g,{className:G(`${t}-item`,o),style:i,colSpan:n},a.createElement("div",{className:`${t}-item-container`},(u||u===0)&&a.createElement("span",{className:G(`${t}-item-label`,{[`${t}-item-no-colon`]:!f}),style:l},u),(d||d===0)&&a.createElement("span",{className:G(`${t}-item-content`),style:s},d)))},rd=lH;function od(e,t,r){let{colon:n,prefixCls:o,bordered:i}=t,{component:l,type:s,showLabel:c,showContent:u,labelStyle:d,contentStyle:f}=r;return e.map((m,g)=>{let{label:v,children:h,prefixCls:p=o,className:C,style:b,labelStyle:y,contentStyle:S,span:x=1,key:$}=m;return typeof l=="string"?a.createElement(rd,{key:`${s}-${$||g}`,className:C,style:b,labelStyle:Object.assign(Object.assign({},d),y),contentStyle:Object.assign(Object.assign({},f),S),span:x,colon:n,component:l,itemPrefixCls:p,bordered:i,label:c?v:null,content:u?h:null,type:s}):[a.createElement(rd,{key:`label-${$||g}`,className:C,style:Object.assign(Object.assign(Object.assign({},d),b),y),span:1,colon:n,component:l[0],itemPrefixCls:p,bordered:i,label:v,type:"label"}),a.createElement(rd,{key:`content-${$||g}`,className:C,style:Object.assign(Object.assign(Object.assign({},f),b),S),span:x*2-1,component:l[1],itemPrefixCls:p,bordered:i,content:h,type:"content"})]})}const sH=e=>{const t=a.useContext(Pb),{prefixCls:r,vertical:n,row:o,index:i,bordered:l}=e;return n?a.createElement(a.Fragment,null,a.createElement("tr",{key:`label-${i}`,className:`${r}-row`},od(o,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),a.createElement("tr",{key:`content-${i}`,className:`${r}-row`},od(o,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):a.createElement("tr",{key:i,className:`${r}-row`},od(o,e,Object.assign({component:l?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},cH=sH,uH=e=>{const{componentCls:t,labelBg:r}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{overflow:"hidden",border:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`${t}-row`]:{borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${B(e.padding)} ${B(e.paddingLG)}`,borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:r,"&::after":{display:"none"}}}},[`&${t}-middle`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${B(e.paddingSM)} ${B(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${B(e.paddingXS)} ${B(e.padding)}`}}}}}},dH=e=>{const{componentCls:t,extraColor:r,itemPaddingBottom:n,itemPaddingEnd:o,colonMarginRight:i,colonMarginLeft:l,titleMarginBottom:s}=e;return{[t]:Object.assign(Object.assign(Object.assign({},Pt(e)),uH(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:s},[`${t}-title`]:Object.assign(Object.assign({},Mn),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:r,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${t}-row`]:{"> th, > td":{paddingBottom:n,paddingInlineEnd:o},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${B(l)} ${B(i)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:0}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},fH=e=>({labelBg:e.colorFillAlter,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText}),mH=Et("Descriptions",e=>{const t=xt(e,{});return dH(t)},fH);var gH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,title:r,extra:n,column:o,colon:i=!0,bordered:l,layout:s,children:c,className:u,rootClassName:d,style:f,size:m,labelStyle:g,contentStyle:v,items:h}=e,p=gH(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:C,direction:b,descriptions:y}=a.useContext(ke),S=C("descriptions",t),x=di(),$=a.useMemo(()=>{var M;return typeof o=="number"?o:(M=Bh(x,Object.assign(Object.assign({},Qj),o)))!==null&&M!==void 0?M:3},[x,o]),w=nH(x,h,c),I=un(m),E=oH($,w),[O,N,P]=mH(S),R=a.useMemo(()=>({labelStyle:g,contentStyle:v}),[g,v]);return O(a.createElement(Pb.Provider,{value:R},a.createElement("div",Object.assign({className:G(S,y==null?void 0:y.className,{[`${S}-${I}`]:I&&I!=="default",[`${S}-bordered`]:!!l,[`${S}-rtl`]:b==="rtl"},u,d,N,P),style:Object.assign(Object.assign({},y==null?void 0:y.style),f)},p),(r||n)&&a.createElement("div",{className:`${S}-header`},r&&a.createElement("div",{className:`${S}-title`},r),n&&a.createElement("div",{className:`${S}-extra`},n)),a.createElement("div",{className:`${S}-view`},a.createElement("table",null,a.createElement("tbody",null,E.map((M,D)=>a.createElement(cH,{key:D,index:D,colon:i,prefixCls:S,vertical:s==="vertical",bordered:l,row:M}))))))))};fm.Item=iH;var Vv=a.createContext(null),Nb=a.createContext({}),vH=["prefixCls","className","containerRef"],pH=function(t){var r=t.prefixCls,n=t.className,o=t.containerRef,i=ut(t,vH),l=a.useContext(Nb),s=l.panel,c=Co(s,o);return a.createElement("div",ve({className:G("".concat(r,"-content"),n),role:"dialog",ref:c},en(t,{aria:!0}),{"aria-modal":"true"},i))};function Wv(e){return typeof e=="string"&&String(Number(e))===e?(Jt(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var Kv={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function hH(e,t){var r,n,o,i=e.prefixCls,l=e.open,s=e.placement,c=e.inline,u=e.push,d=e.forceRender,f=e.autoFocus,m=e.keyboard,g=e.classNames,v=e.rootClassName,h=e.rootStyle,p=e.zIndex,C=e.className,b=e.id,y=e.style,S=e.motion,x=e.width,$=e.height,w=e.children,I=e.mask,E=e.maskClosable,O=e.maskMotion,N=e.maskClassName,P=e.maskStyle,R=e.afterOpenChange,M=e.onClose,D=e.onMouseEnter,L=e.onMouseOver,T=e.onMouseLeave,_=e.onClick,j=e.onKeyDown,H=e.onKeyUp,k=e.styles,V=e.drawerRender,F=a.useRef(),q=a.useRef(),W=a.useRef();a.useImperativeHandle(t,function(){return F.current});var J=function(be){var de=be.keyCode,he=be.shiftKey;switch(de){case we.TAB:{if(de===we.TAB){if(!he&&document.activeElement===W.current){var Se;(Se=q.current)===null||Se===void 0||Se.focus({preventScroll:!0})}else if(he&&document.activeElement===q.current){var $e;($e=W.current)===null||$e===void 0||$e.focus({preventScroll:!0})}}break}case we.ESC:{M&&m&&(be.stopPropagation(),M(be));break}}};a.useEffect(function(){if(l&&f){var fe;(fe=F.current)===null||fe===void 0||fe.focus({preventScroll:!0})}},[l]);var X=a.useState(!1),Z=ie(X,2),ee=Z[0],ne=Z[1],Y=a.useContext(Vv),te;typeof u=="boolean"?te=u?{}:{distance:0}:te=u||{};var Q=(r=(n=(o=te)===null||o===void 0?void 0:o.distance)!==null&&n!==void 0?n:Y==null?void 0:Y.pushDistance)!==null&&r!==void 0?r:180,U=a.useMemo(function(){return{pushDistance:Q,push:function(){ne(!0)},pull:function(){ne(!1)}}},[Q]);a.useEffect(function(){if(l){var fe;Y==null||(fe=Y.push)===null||fe===void 0||fe.call(Y)}else{var be;Y==null||(be=Y.pull)===null||be===void 0||be.call(Y)}},[l]),a.useEffect(function(){return function(){var fe;Y==null||(fe=Y.pull)===null||fe===void 0||fe.call(Y)}},[]);var ae=I&&a.createElement(In,ve({key:"mask"},O,{visible:l}),function(fe,be){var de=fe.className,he=fe.style;return a.createElement("div",{className:G("".concat(i,"-mask"),de,g==null?void 0:g.mask,N),style:K(K(K({},he),P),k==null?void 0:k.mask),onClick:E&&l?M:void 0,ref:be})}),se=typeof S=="function"?S(s):S,oe={};if(ee&&Q)switch(s){case"top":oe.transform="translateY(".concat(Q,"px)");break;case"bottom":oe.transform="translateY(".concat(-Q,"px)");break;case"left":oe.transform="translateX(".concat(Q,"px)");break;default:oe.transform="translateX(".concat(-Q,"px)");break}s==="left"||s==="right"?oe.width=Wv(x):oe.height=Wv($);var re={onMouseEnter:D,onMouseOver:L,onMouseLeave:T,onClick:_,onKeyDown:j,onKeyUp:H},ce=a.createElement(In,ve({key:"panel"},se,{visible:l,forceRender:d,onVisibleChanged:function(be){R==null||R(be)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(fe,be){var de=fe.className,he=fe.style,Se=a.createElement(pH,ve({id:b,containerRef:be,prefixCls:i,className:G(C,g==null?void 0:g.content),style:K(K({},y),k==null?void 0:k.content)},en(e,{aria:!0}),re),w);return a.createElement("div",ve({className:G("".concat(i,"-content-wrapper"),g==null?void 0:g.wrapper,de),style:K(K(K({},oe),he),k==null?void 0:k.wrapper)},en(e,{data:!0})),V?V(Se):Se)}),ue=K({},h);return p&&(ue.zIndex=p),a.createElement(Vv.Provider,{value:U},a.createElement("div",{className:G(i,"".concat(i,"-").concat(s),v,A(A({},"".concat(i,"-open"),l),"".concat(i,"-inline"),c)),style:ue,tabIndex:-1,ref:F,onKeyDown:J},ae,a.createElement("div",{tabIndex:0,ref:q,style:Kv,"aria-hidden":"true","data-sentinel":"start"}),ce,a.createElement("div",{tabIndex:0,ref:W,style:Kv,"aria-hidden":"true","data-sentinel":"end"})))}var CH=a.forwardRef(hH),bH=function(t){var r=t.open,n=r===void 0?!1:r,o=t.prefixCls,i=o===void 0?"rc-drawer":o,l=t.placement,s=l===void 0?"right":l,c=t.autoFocus,u=c===void 0?!0:c,d=t.keyboard,f=d===void 0?!0:d,m=t.width,g=m===void 0?378:m,v=t.mask,h=v===void 0?!0:v,p=t.maskClosable,C=p===void 0?!0:p,b=t.getContainer,y=t.forceRender,S=t.afterOpenChange,x=t.destroyOnClose,$=t.onMouseEnter,w=t.onMouseOver,I=t.onMouseLeave,E=t.onClick,O=t.onKeyDown,N=t.onKeyUp,P=t.panelRef,R=a.useState(!1),M=ie(R,2),D=M[0],L=M[1],T=a.useState(!1),_=ie(T,2),j=_[0],H=_[1];_t(function(){H(!0)},[]);var k=j?n:!1,V=a.useRef(),F=a.useRef();_t(function(){k&&(F.current=document.activeElement)},[k]);var q=function(ee){var ne;if(L(ee),S==null||S(ee),!ee&&F.current&&!((ne=V.current)!==null&&ne!==void 0&&ne.contains(F.current))){var Y;(Y=F.current)===null||Y===void 0||Y.focus({preventScroll:!0})}},W=a.useMemo(function(){return{panel:P}},[P]);if(!y&&!D&&!k&&x)return null;var J={onMouseEnter:$,onMouseOver:w,onMouseLeave:I,onClick:E,onKeyDown:O,onKeyUp:N},X=K(K({},t),{},{open:k,prefixCls:i,placement:s,autoFocus:u,keyboard:f,width:g,mask:h,maskClosable:C,inline:b===!1,afterOpenChange:q,ref:V},J);return a.createElement(Nb.Provider,{value:W},a.createElement(pa,{open:k||y||D,autoDestroy:!1,getContainer:b,autoLock:h&&(k||D)},a.createElement(CH,X)))};const yH=e=>{var t,r;const{prefixCls:n,title:o,footer:i,extra:l,loading:s,onClose:c,headerStyle:u,bodyStyle:d,footerStyle:f,children:m,classNames:g,styles:v}=e,{drawer:h}=a.useContext(ke),p=a.useCallback(x=>a.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${n}-close`},x),[c]),[C,b]=sc(Ua(e),Ua(h),{closable:!0,closeIconRender:p}),y=a.useMemo(()=>{var x,$;return!o&&!C?null:a.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(x=h==null?void 0:h.styles)===null||x===void 0?void 0:x.header),u),v==null?void 0:v.header),className:G(`${n}-header`,{[`${n}-header-close-only`]:C&&!o&&!l},($=h==null?void 0:h.classNames)===null||$===void 0?void 0:$.header,g==null?void 0:g.header)},a.createElement("div",{className:`${n}-header-title`},b,o&&a.createElement("div",{className:`${n}-title`},o)),l&&a.createElement("div",{className:`${n}-extra`},l))},[C,b,l,u,n,o]),S=a.useMemo(()=>{var x,$;if(!i)return null;const w=`${n}-footer`;return a.createElement("div",{className:G(w,(x=h==null?void 0:h.classNames)===null||x===void 0?void 0:x.footer,g==null?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},($=h==null?void 0:h.styles)===null||$===void 0?void 0:$.footer),f),v==null?void 0:v.footer)},i)},[i,f,n]);return a.createElement(a.Fragment,null,y,a.createElement("div",{className:G(`${n}-body`,g==null?void 0:g.body,(t=h==null?void 0:h.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(r=h==null?void 0:h.styles)===null||r===void 0?void 0:r.body),d),v==null?void 0:v.body)},s?a.createElement(er,{active:!0,title:!1,paragraph:{rows:5},className:`${n}-body-skeleton`}):m),S)},Mb=yH,SH=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},Rb=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),Tb=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},Rb({opacity:e},{opacity:1})),xH=(e,t)=>[Tb(.7,t),Rb({transform:SH(e)},{transform:"none"})],$H=e=>{const{componentCls:t,motionDurationSlow:r}=e;return{[t]:{[`${t}-mask-motion`]:Tb(0,r),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((n,o)=>Object.assign(Object.assign({},n),{[`&-${o}`]:xH(o,r)}),{})}}},wH=e=>{const{borderRadiusSM:t,componentCls:r,zIndexPopup:n,colorBgMask:o,colorBgElevated:i,motionDurationSlow:l,motionDurationMid:s,paddingXS:c,padding:u,paddingLG:d,fontSizeLG:f,lineHeightLG:m,lineWidth:g,lineType:v,colorSplit:h,marginXS:p,colorIcon:C,colorIconHover:b,colorBgTextHover:y,colorBgTextActive:S,colorText:x,fontWeightStrong:$,footerPaddingBlock:w,footerPaddingInline:I,calc:E}=e,O=`${r}-content-wrapper`;return{[r]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${r}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${r}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${r}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${r}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${r}-mask`]:{position:"absolute",inset:0,zIndex:n,background:o,pointerEvents:"auto"},[O]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${O}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${O}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${O}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${O}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${r}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${r}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${B(u)} ${B(d)}`,fontSize:f,lineHeight:m,borderBottom:`${B(g)} ${v} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${r}-extra`]:{flex:"none"},[`${r}-close`]:Object.assign({display:"inline-flex",width:E(f).add(c).equal(),height:E(f).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:p,color:C,fontWeight:$,fontSize:f,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:b,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:S}},wr(e)),[`${r}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:f,lineHeight:m},[`${r}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${r}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${r}-footer`]:{flexShrink:0,padding:`${B(w)} ${B(I)}`,borderTop:`${B(g)} ${v} ${h}`},"&-rtl":{direction:"rtl"}}}},EH=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),Lb=Et("Drawer",e=>{const t=xt(e,{});return[wH(t),$H(t)]},EH);var Db=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{rootClassName:t,width:r,height:n,size:o="default",mask:i=!0,push:l=IH,open:s,afterOpenChange:c,onClose:u,prefixCls:d,getContainer:f,style:m,className:g,visible:v,afterVisibleChange:h,maskStyle:p,drawerStyle:C,contentWrapperStyle:b}=e,y=Db(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:x,direction:$,drawer:w}=a.useContext(ke),I=x("drawer",d),[E,O,N]=Lb(I),P=f===void 0&&S?()=>S(document.body):f,R=G({"no-mask":!i,[`${I}-rtl`]:$==="rtl"},t,O,N),M=a.useMemo(()=>r!=null?r:o==="large"?736:378,[r,o]),D=a.useMemo(()=>n!=null?n:o==="large"?736:378,[n,o]),L={motionName:kn(I,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},T=W=>({motionName:kn(I,`panel-motion-${W}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),_=z2(),[j,H]=or("Drawer",y.zIndex),{classNames:k={},styles:V={}}=y,{classNames:F={},styles:q={}}=w||{};return E(a.createElement(Dr,{form:!0,space:!0},a.createElement(ii.Provider,{value:H},a.createElement(bH,Object.assign({prefixCls:I,onClose:u,maskMotion:L,motion:T},y,{classNames:{mask:G(k.mask,F.mask),content:G(k.content,F.content),wrapper:G(k.wrapper,F.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},V.mask),p),q.mask),content:Object.assign(Object.assign(Object.assign({},V.content),C),q.content),wrapper:Object.assign(Object.assign(Object.assign({},V.wrapper),b),q.wrapper)},open:s!=null?s:v,mask:i,push:l,width:M,height:D,style:Object.assign(Object.assign({},w==null?void 0:w.style),m),className:G(w==null?void 0:w.className,g),rootClassName:R,getContainer:P,afterOpenChange:c!=null?c:h,panelRef:_,zIndex:j}),a.createElement(Mb,Object.assign({prefixCls:I},y,{onClose:u}))))))},OH=e=>{const{prefixCls:t,style:r,className:n,placement:o="right"}=e,i=Db(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=a.useContext(ke),s=l("drawer",t),[c,u,d]=Lb(s),f=G(s,`${s}-pure`,`${s}-${o}`,u,d,n);return c(a.createElement("div",{className:f,style:r},a.createElement(Mb,Object.assign({prefixCls:s},i))))};_b._InternalPanelDoNotUseOrYouWillBeFired=OH;const PH=_b;function Bs(e){return["small","middle","large"].includes(e)}function qv(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const kb=z.createContext({latestIndex:0}),NH=kb.Provider,MH=e=>{let{className:t,index:r,children:n,split:o,style:i}=e;const{latestIndex:l}=a.useContext(kb);return n==null?null:a.createElement(a.Fragment,null,a.createElement("div",{className:t,style:i},n),r{var r,n,o;const{getPrefixCls:i,space:l,direction:s}=a.useContext(ke),{size:c=(r=l==null?void 0:l.size)!==null&&r!==void 0?r:"small",align:u,className:d,rootClassName:f,children:m,direction:g="horizontal",prefixCls:v,split:h,style:p,wrap:C=!1,classNames:b,styles:y}=e,S=TH(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[x,$]=Array.isArray(c)?c:[c,c],w=Bs($),I=Bs(x),E=qv($),O=qv(x),N=sn(m,{keepEmpty:!0}),P=u===void 0&&g==="horizontal"?"center":u,R=i("space",v),[M,D,L]=m2(R),T=G(R,l==null?void 0:l.className,D,`${R}-${g}`,{[`${R}-rtl`]:s==="rtl",[`${R}-align-${P}`]:P,[`${R}-gap-row-${$}`]:w,[`${R}-gap-col-${x}`]:I},d,f,L),_=G(`${R}-item`,(n=b==null?void 0:b.item)!==null&&n!==void 0?n:(o=l==null?void 0:l.classNames)===null||o===void 0?void 0:o.item);let j=0;const H=N.map((F,q)=>{var W,J;F!=null&&(j=q);const X=(F==null?void 0:F.key)||`${_}-${q}`;return a.createElement(RH,{className:_,key:X,index:q,split:h,style:(W=y==null?void 0:y.item)!==null&&W!==void 0?W:(J=l==null?void 0:l.styles)===null||J===void 0?void 0:J.item},F)}),k=a.useMemo(()=>({latestIndex:j}),[j]);if(N.length===0)return null;const V={};return C&&(V.flexWrap="wrap"),!I&&O&&(V.columnGap=x),!w&&E&&(V.rowGap=$),M(a.createElement("div",Object.assign({ref:t,className:T,style:Object.assign(Object.assign(Object.assign({},V),l==null?void 0:l.style),p)},S),a.createElement(NH,{value:k},H)))}),Nl=LH;Nl.Compact=D9;var DH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{getPopupContainer:t,getPrefixCls:r,direction:n}=a.useContext(ke),{prefixCls:o,type:i="default",danger:l,disabled:s,loading:c,onClick:u,htmlType:d,children:f,className:m,menu:g,arrow:v,autoFocus:h,overlay:p,trigger:C,align:b,open:y,onOpenChange:S,placement:x,getPopupContainer:$,href:w,icon:I=a.createElement(B1,null),title:E,buttonsRender:O=Z=>Z,mouseEnterDelay:N,mouseLeaveDelay:P,overlayClassName:R,overlayStyle:M,destroyPopupOnHide:D,dropdownRender:L}=e,T=DH(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),_=r("dropdown",o),j=`${_}-button`,H={menu:g,arrow:v,autoFocus:h,align:b,disabled:s,trigger:s?[]:C,onOpenChange:S,getPopupContainer:$||t,mouseEnterDelay:N,mouseLeaveDelay:P,overlayClassName:R,overlayStyle:M,destroyPopupOnHide:D,dropdownRender:L},{compactSize:k,compactItemClassnames:V}=Hr(_,n),F=G(j,V,m);"overlay"in e&&(H.overlay=p),"open"in e&&(H.open=y),"placement"in e?H.placement=x:H.placement=n==="rtl"?"bottomLeft":"bottomRight";const q=a.createElement(hn,{type:i,danger:l,disabled:s,loading:c,onClick:u,htmlType:d,href:w,title:E},f),W=a.createElement(hn,{type:i,danger:l,icon:I}),[J,X]=O([q,W]);return a.createElement(Nl.Compact,Object.assign({className:F,size:k,block:!0},T),J,a.createElement(Sl,Object.assign({},H),X))};jb.__ANT_BUTTON=!0;const _H=jb,Ci=Sl;Ci.Button=_H;const Hb=["wrap","nowrap","wrap-reverse"],zb=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],Bb=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],kH=(e,t)=>{const r=t.wrap===!0?"wrap":t.wrap;return{[`${e}-wrap-${r}`]:r&&Hb.includes(r)}},jH=(e,t)=>{const r={};return Bb.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},HH=(e,t)=>{const r={};return zb.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r};function zH(e,t){return G(Object.assign(Object.assign(Object.assign({},kH(e,t)),jH(e,t)),HH(e,t)))}const BH=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},AH=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},FH=e=>{const{componentCls:t}=e,r={};return Hb.forEach(n=>{r[`${t}-wrap-${n}`]={flexWrap:n}}),r},VH=e=>{const{componentCls:t}=e,r={};return Bb.forEach(n=>{r[`${t}-align-${n}`]={alignItems:n}}),r},WH=e=>{const{componentCls:t}=e,r={};return zb.forEach(n=>{r[`${t}-justify-${n}`]={justifyContent:n}}),r},KH=()=>({}),qH=Et("Flex",e=>{const{paddingXS:t,padding:r,paddingLG:n}=e,o=xt(e,{flexGapSM:t,flexGap:r,flexGapLG:n});return[BH(o),AH(o),FH(o),VH(o),WH(o)]},KH,{resetStyle:!1});var GH=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,rootClassName:n,className:o,style:i,flex:l,gap:s,children:c,vertical:u=!1,component:d="div"}=e,f=GH(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:m,direction:g,getPrefixCls:v}=z.useContext(ke),h=v("flex",r),[p,C,b]=qH(h),y=u!=null?u:m==null?void 0:m.vertical,S=G(o,n,m==null?void 0:m.className,h,C,b,zH(h,e),{[`${h}-rtl`]:g==="rtl",[`${h}-gap-${s}`]:Bs(s),[`${h}-vertical`]:y}),x=Object.assign(Object.assign({},m==null?void 0:m.style),i);return l&&(x.flex=l),s&&!Bs(s)&&(x.gap=s),p(z.createElement(d,Object.assign({ref:t,className:S,style:x},Xt(f,["justify","wrap","align"])),c))}),Ab=XH,Fb=z.createContext(void 0),{Provider:UH}=Fb,Vb=Fb;var YH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const ZH=YH;var QH=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:ZH}))},JH=a.forwardRef(QH);const Wb=JH,ez=e=>{const{icon:t,description:r,prefixCls:n,className:o}=e,i=z.createElement("div",{className:`${n}-icon`},z.createElement(Wb,null));return z.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:G(o,`${n}-content`)},t||r?z.createElement(z.Fragment,null,t&&z.createElement("div",{className:`${n}-icon`},t),r&&z.createElement("div",{className:`${n}-description`},r)):i)},tz=a.memo(ez),Gv=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),nz=e=>{const{componentCls:t,floatButtonSize:r,motionDurationSlow:n,motionEaseInOutCirc:o}=e,i=`${t}-group`,l=new Ht("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${B(r)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new Ht("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${B(r)}, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${i}-wrap`]:Object.assign({},gl(`${i}-wrap`,l,s,n,!0))},{[`${i}-wrap`]:{[` &${i}-wrap-enter, &${i}-wrap-appear `]:{opacity:0,animationTimingFunction:o},[`&${i}-wrap-leave`]:{animationTimingFunction:o}}}]},rz=e=>{const{antCls:t,componentCls:r,floatButtonSize:n,margin:o,borderRadiusLG:i,borderRadiusSM:l,badgeOffset:s,floatButtonBodyPadding:c,calc:u}=e,d=`${r}-group`;return{[d]:Object.assign(Object.assign({},Pt(e)),{zIndex:e.zIndexPopupBase,display:"block",border:"none",position:"fixed",width:n,height:"auto",boxShadow:"none",minHeight:n,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:i,[`${d}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:o},[`&${d}-rtl`]:{direction:"rtl"},[r]:{position:"static"}}),[`${d}-circle`]:{[`${r}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${r}-body`]:{width:n,height:n,borderRadius:"50%"}}},[`${d}-square`]:{[`${r}-square`]:{padding:0,borderRadius:0,[`&${d}-trigger`]:{borderRadius:i},"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:u(u(c).add(s)).mul(-1).equal(),insetInlineEnd:u(u(c).add(s)).mul(-1).equal()}}},[`${d}-wrap`]:{display:"block",borderRadius:i,boxShadow:e.boxShadowSecondary,[`${r}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:c,"&:first-child":{borderStartStartRadius:i,borderStartEndRadius:i},"&:last-child":{borderEndStartRadius:i,borderEndEndRadius:i},"&:not(:last-child)":{borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${r}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${d}-circle-shadow`]:{boxShadow:"none"},[`${d}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${r}-square`]:{boxShadow:"none",padding:c,[`${r}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:l}}}}},oz=e=>{const{antCls:t,componentCls:r,floatButtonBodyPadding:n,floatButtonIconSize:o,floatButtonSize:i,borderRadiusLG:l,badgeOffset:s,dotOffsetInSquare:c,dotOffsetInCircle:u,calc:d}=e;return{[r]:Object.assign(Object.assign({},Pt(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:e.zIndexPopupBase,display:"block",width:i,height:i,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:d(s).mul(-1).equal(),insetInlineEnd:d(s).mul(-1).equal()}},[`${r}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${r}-content`]:{overflow:"hidden",textAlign:"center",minHeight:i,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${B(d(n).div(2).equal())} ${B(n)}`,[`${r}-icon`]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[`${r}-rtl`]:{direction:"rtl"},[`${r}-circle`]:{height:i,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:u,insetInlineEnd:u}},[`${r}-body`]:{borderRadius:"50%"}},[`${r}-square`]:{height:"auto",minHeight:i,borderRadius:l,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:c,insetInlineEnd:c}},[`${r}-body`]:{height:"auto",borderRadius:l}},[`${r}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${r}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${r}-content`]:{[`${r}-icon`]:{color:e.colorText},[`${r}-description`]:{display:"flex",alignItems:"center",lineHeight:B(e.fontSizeLG),color:e.colorText,fontSize:e.fontSizeSM}}}},[`${r}-primary`]:{backgroundColor:e.colorPrimary,[`${r}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${r}-content`]:{[`${r}-icon`]:{color:e.colorTextLightSolid},[`${r}-description`]:{display:"flex",alignItems:"center",lineHeight:B(e.fontSizeLG),color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}},az=e=>({dotOffsetInCircle:Gv(e.controlHeightLG/2),dotOffsetInSquare:Gv(e.borderRadiusLG)}),Kb=Et("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:r,controlHeightLG:n,marginXXL:o,marginLG:i,fontSize:l,fontSizeIcon:s,controlItemBgHover:c,paddingXXS:u,calc:d}=e,f=xt(e,{floatButtonBackgroundColor:r,floatButtonColor:t,floatButtonHoverBackgroundColor:c,floatButtonFontSize:l,floatButtonIconSize:d(s).mul(1.5).equal(),floatButtonSize:n,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i,floatButtonBodySize:d(n).sub(d(u).mul(2)).equal(),floatButtonBodyPadding:u,badgeOffset:d(u).mul(1.5).equal()});return[rz(f),oz(f),dc(e),nz(f)]},az);var iz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,rootClassName:o,type:i="default",shape:l="circle",icon:s,description:c,tooltip:u,badge:d={}}=e,f=iz(e,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:m,direction:g}=a.useContext(ke),v=a.useContext(Vb),h=m(Yc,r),p=Ut(h),[C,b,y]=Kb(h,p),S=v||l,x=G(b,y,p,h,n,o,`${h}-${i}`,`${h}-${S}`,{[`${h}-rtl`]:g==="rtl"}),$=a.useMemo(()=>Xt(d,["title","children","status","text"]),[d]),w=a.useMemo(()=>({prefixCls:h,description:c,icon:s,type:i}),[h,c,s,i]);let I=z.createElement("div",{className:`${h}-body`},z.createElement(tz,Object.assign({},w)));return"badge"in e&&(I=z.createElement(Ic,Object.assign({},$),I)),"tooltip"in e&&(I=z.createElement(Qn,{title:u,placement:g==="rtl"?"right":"left"},I)),C(e.href?z.createElement("a",Object.assign({ref:t},f,{className:x}),I):z.createElement("button",Object.assign({ref:t},f,{className:x,type:"button"}),I))}),So=lz;var sz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,type:o="default",shape:i="circle",visibilityHeight:l=400,icon:s=z.createElement(mO,null),target:c,onClick:u,duration:d=450}=e,f=sz(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[m,g]=a.useState(l===0),v=z.useRef(null);z.useImperativeHandle(t,()=>({nativeElement:v.current}));const h=()=>{var I;return((I=v.current)===null||I===void 0?void 0:I.ownerDocument)||window},p=Dd(I=>{const E=Jf(I.target);g(E>=l)});a.useEffect(()=>{const E=(c||h)();return p({target:E}),E==null||E.addEventListener("scroll",p),()=>{p.cancel(),E==null||E.removeEventListener("scroll",p)}},[c]);const C=I=>{e1(0,{getContainer:c||h,duration:d}),u==null||u(I)},{getPrefixCls:b}=a.useContext(ke),y=b(Yc,r),S=b(),$=a.useContext(Vb)||i,w=Object.assign({prefixCls:y,icon:s,type:o,shape:$},f);return z.createElement(In,{visible:m,motionName:`${S}-fade`},(I,E)=>{let{className:O}=I;return z.createElement(So,Object.assign({ref:yn(v,E)},w,{onClick:C,className:G(n,O)}))})}),qb=cz;var uz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:r,className:n,style:o,shape:i="circle",type:l="default",icon:s=z.createElement(Wb,null),closeIcon:c,description:u,trigger:d,children:f,onOpenChange:m,open:g,onClick:v}=e,h=uz(e,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open","onClick"]),{direction:p,getPrefixCls:C,floatButtonGroup:b}=a.useContext(ke),y=(t=c!=null?c:b==null?void 0:b.closeIcon)!==null&&t!==void 0?t:z.createElement(mr,null),S=C(Yc,r),x=Ut(S),[$,w,I]=Kb(S,x),E=`${S}-group`,O=G(E,w,I,x,n,{[`${E}-rtl`]:p==="rtl",[`${E}-${i}`]:i,[`${E}-${i}-shadow`]:!d}),N=G(w,`${E}-wrap`),[P,R]=Ot(!1,{value:g}),M=z.useRef(null),D=d==="hover",L=d==="click",T=$t(k=>{P!==k&&(R(k),m==null||m(k))}),_=()=>{D&&T(!0)},j=()=>{D&&T(!1)},H=k=>{L&&T(!P),v==null||v(k)};return z.useEffect(()=>{if(L){const k=V=>{var F;!((F=M.current)===null||F===void 0)&&F.contains(V.target)||T(!1)};return document.addEventListener("click",k,{capture:!0}),()=>{document.removeEventListener("click",k,{capture:!0})}}},[L]),$(z.createElement(UH,{value:i},z.createElement("div",{ref:M,className:O,style:o,onMouseEnter:_,onMouseLeave:j},d&&["click","hover"].includes(d)?z.createElement(z.Fragment,null,z.createElement(In,{visible:P,motionName:`${E}-wrap`},k=>{let{className:V}=k;return z.createElement("div",{className:G(V,N)},f)}),z.createElement(So,Object.assign({type:l,icon:P?y:s,description:u,"aria-label":e["aria-label"],className:`${E}-trigger`,onClick:H},h))):f)))},Gb=a.memo(dz);var Xb=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{backTop:t}=e,r=Xb(e,["backTop"]);return t?a.createElement(qb,Object.assign({},r,{visibilityHeight:0})):a.createElement(So,Object.assign({},r))},fz=e=>{var{className:t,items:r}=e,n=Xb(e,["className","items"]);const{prefixCls:o}=n,{getPrefixCls:i}=a.useContext(ke),s=`${i(Yc,o)}-pure`;return r?a.createElement(Gb,Object.assign({className:G(t,s)},n),r.map((c,u)=>a.createElement(Xv,Object.assign({key:u},c)))):a.createElement(Xv,Object.assign({className:G(t,s)},n))},mz=fz;So.BackTop=qb;So.Group=Gb;So._InternalPanelDoNotUseOrYouWillBeFired=mz;function As(e){const[t,r]=a.useState(e);return a.useEffect(()=>{const n=setTimeout(()=>{r(e)},e.length?0:10);return()=>{clearTimeout(n)}},[e]),t}const gz=e=>{const{componentCls:t}=e,r=`${t}-show-help`,n=`${t}-show-help-item`;return{[r]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, @@ -282,7 +282,7 @@ html body { ${n}-col-24${r}-label, ${n}-col-xl-24${r}-label`]:Pr(e)}},[`@media (max-width: ${B(e.screenXSMax)})`]:[Ub(e),{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-xs-24${r}-label`]:Pr(e)}}}],[`@media (max-width: ${B(e.screenSMMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-sm-24${r}-label`]:Pr(e)}}},[`@media (max-width: ${B(e.screenMDMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-md-24${r}-label`]:Pr(e)}}},[`@media (max-width: ${B(e.screenLGMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-lg-24${r}-label`]:Pr(e)}}}}},yz=e=>{const{formItemCls:t,antCls:r}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, ${r}-col-24${t}-label, - ${r}-col-xl-24${t}-label`]:Pr(e),[`@media (max-width: ${B(e.screenXSMax)})`]:[Ub(e),{[t]:{[`${r}-col-xs-24${t}-label`]:Pr(e)}}],[`@media (max-width: ${B(e.screenSMMax)})`]:{[t]:{[`${r}-col-sm-24${t}-label`]:Pr(e)}},[`@media (max-width: ${B(e.screenMDMax)})`]:{[t]:{[`${r}-col-md-24${t}-label`]:Pr(e)}},[`@media (max-width: ${B(e.screenLGMax)})`]:{[t]:{[`${r}-col-lg-24${t}-label`]:Pr(e)}}}},Sz=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Yb=(e,t)=>xt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),mm=Et("Form",(e,t)=>{let{rootPrefixCls:r}=t;const n=Yb(e,r);return[pz(n),hz(n),gz(n),Yv(n,n.componentCls),Yv(n,n.formItemCls),Cz(n),bz(n),yz(n),ml(n),v1]},Sz,{order:-1e3}),Zv=[];function ad(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${n}`,error:e,errorStatus:r}}const xz=e=>{let{help:t,helpStatus:r,errors:n=Zv,warnings:o=Zv,className:i,fieldId:l,onVisibleChanged:s}=e;const{prefixCls:c}=a.useContext(g1),u=`${c}-item-explain`,d=Ut(c),[f,m,g]=mm(c,d),v=a.useMemo(()=>Xa(c),[c]),h=As(n),p=As(o),C=a.useMemo(()=>t!=null?[ad(t,"help",r)]:[].concat(ye(h.map((y,S)=>ad(y,"error","error",S))),ye(p.map((y,S)=>ad(y,"warning","warning",S)))),[t,r,h,p]),b={};return l&&(b.id=`${l}_help`),f(a.createElement(In,{motionDeadline:v.motionDeadline,motionName:`${c}-show-help`,visible:!!C.length,onVisibleChanged:s},y=>{const{className:S,style:x}=y;return a.createElement("div",Object.assign({},b,{className:G(u,S,g,d,i,m),style:x,role:"alert"}),a.createElement(Wf,Object.assign({keys:C},Xa(c),{motionName:`${c}-show-help-item`,component:!1}),$=>{const{key:w,error:I,errorStatus:E,className:O,style:N}=$;return a.createElement("div",{key:w,className:G(O,{[`${u}-${E}`]:E}),style:N},I)}))}))},Zb=xz,$z=["parentNode"],wz="form_item";function Yi(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Qb(e,t){if(!e.length)return;const r=e.join("_");return t?`${t}_${r}`:$z.includes(r)?`${wz}_${r}`:r}function Jb(e,t,r,n,o,i){let l=n;return i!==void 0?l=i:r.validating?l="validating":e.length?l="error":t.length?l="warning":(r.touched||o&&r.validated)&&(l="success"),l}function Qv(e){return Yi(e).join("_")}function Ez(e,t){const r=t.getFieldInstance(e),n=H7(r);if(n)return n;const o=Qb(Yi(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function e4(e){const[t]=m1(),r=a.useRef({}),n=a.useMemo(()=>e!=null?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:o=>i=>{const l=Qv(o);i?r.current[l]=i:delete r.current[l]}},scrollToField:function(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const l=Ez(o,n);l&&t2(l,Object.assign({scrollMode:"if-needed",block:"nearest"},i))},getFieldInstance:o=>{const i=Qv(o);return r.current[i]}}),[e,t]);return[n]}var Iz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const r=a.useContext(Hn),{getPrefixCls:n,direction:o,form:i}=a.useContext(ke),{prefixCls:l,className:s,rootClassName:c,size:u,disabled:d=r,form:f,colon:m,labelAlign:g,labelWrap:v,labelCol:h,wrapperCol:p,hideRequiredMark:C,layout:b="horizontal",scrollToFirstError:y,requiredMark:S,onFinishFailed:x,name:$,style:w,feedbackIcons:I,variant:E}=e,O=Iz(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),N=un(u),P=a.useContext(z7),R=a.useMemo(()=>S!==void 0?S:C?!1:i&&i.requiredMark!==void 0?i.requiredMark:!0,[C,S,i]),M=m!=null?m:i==null?void 0:i.colon,D=n("form",l),L=Ut(D),[T,_,j]=mm(D,L),H=G(D,`${D}-${b}`,{[`${D}-hide-required-mark`]:R===!1,[`${D}-rtl`]:o==="rtl",[`${D}-${N}`]:N},j,L,_,i==null?void 0:i.className,s,c),[k]=e4(f),{__INTERNAL__:V}=k;V.name=$;const F=a.useMemo(()=>({name:$,labelAlign:g,labelCol:h,labelWrap:v,wrapperCol:p,vertical:b==="vertical",colon:M,requiredMark:R,itemRef:V.itemRef,form:k,feedbackIcons:I}),[$,g,h,p,b,M,R,k,I]),q=a.useRef(null);a.useImperativeHandle(t,()=>{var X;return Object.assign(Object.assign({},k),{nativeElement:(X=q.current)===null||X===void 0?void 0:X.nativeElement})});const W=(X,Z)=>{if(X){let ee={block:"nearest"};typeof X=="object"&&(ee=X),k.scrollToField(Z,ee)}},J=X=>{if(x==null||x(X),X.errorFields.length){const Z=X.errorFields[0].name;if(y!==void 0){W(y,Z);return}i&&i.scrollToFirstError!==void 0&&W(i.scrollToFirstError,Z)}};return T(a.createElement(k2.Provider,{value:E},a.createElement(Hh,{disabled:d},a.createElement(kh.Provider,{value:N},a.createElement(_2,{validateMessages:P},a.createElement(go.Provider,{value:F},a.createElement(si,Object.assign({id:$},O,{name:$,onFinishFailed:J,form:k,ref:q,style:Object.assign(Object.assign({},i==null?void 0:i.style),w),className:H}))))))))},Pz=a.forwardRef(Oz);function Nz(e){if(typeof e=="function")return e;const t=sn(e);return t.length<=1?t[0]:t}const t4=()=>{const{status:e,errors:t=[],warnings:r=[]}=a.useContext(dn);return{status:e,errors:t,warnings:r}};t4.Context=dn;const Mz=t4;function Rz(e){const[t,r]=a.useState(e),n=a.useRef(null),o=a.useRef([]),i=a.useRef(!1);a.useEffect(()=>(i.current=!1,()=>{i.current=!0,kt.cancel(n.current),n.current=null}),[]);function l(s){i.current||(n.current===null&&(o.current=[],n.current=kt(()=>{n.current=null,r(c=>{let u=c;return o.current.forEach(d=>{u=d(u)}),u})})),o.current.push(s))}return[t,l]}function Tz(){const{itemRef:e}=a.useContext(go),t=a.useRef({});function r(n,o){const i=o&&typeof o=="object"&&o.ref,l=n.join("_");return(t.current.name!==l||t.current.originRef!==i)&&(t.current.name=l,t.current.originRef=i,t.current.ref=yn(e(n),i)),t.current.ref}return r}const Lz=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},Dz=ma(["Form","item-item"],(e,t)=>{let{rootPrefixCls:r}=t;const n=Yb(e,r);return[Lz(n)]}),_z=e=>{const{prefixCls:t,status:r,wrapperCol:n,children:o,errors:i,warnings:l,_internalItemRender:s,extra:c,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:m}=e,g=`${t}-item`,v=a.useContext(go),h=n||v.wrapperCol||{},p=G(`${g}-control`,h.className),C=a.useMemo(()=>Object.assign({},v),[v]);delete C.labelCol,delete C.wrapperCol;const b=a.createElement("div",{className:`${g}-control-input`},a.createElement("div",{className:`${g}-control-input-content`},o)),y=a.useMemo(()=>({prefixCls:t,status:r}),[t,r]),S=f!==null||i.length||l.length?a.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},a.createElement(g1.Provider,{value:y},a.createElement(Zb,{fieldId:d,errors:i,warnings:l,help:u,helpStatus:r,className:`${g}-explain-connected`,onVisibleChanged:m})),!!f&&a.createElement("div",{style:{width:0,height:f}})):null,x={};d&&(x.id=`${d}_extra`);const $=c?a.createElement("div",Object.assign({},x,{className:`${g}-extra`}),c):null,w=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:b,errorList:S,extra:$}):a.createElement(a.Fragment,null,b,S,$);return a.createElement(go.Provider,{value:C},a.createElement(Qs,Object.assign({},h,{className:p}),w),a.createElement(Dz,{prefixCls:t}))},kz=_z;var jz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const Hz=jz;var zz=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Hz}))},Bz=a.forwardRef(zz);const Az=Bz;var Fz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,label:r,htmlFor:n,labelCol:o,labelAlign:i,colon:l,required:s,requiredMark:c,tooltip:u,vertical:d}=e;var f;const[m]=Ln("Form"),{labelAlign:g,labelCol:v,labelWrap:h,colon:p}=a.useContext(go);if(!r)return null;const C=o||v||{},b=i||g,y=`${t}-item-label`,S=G(y,b==="left"&&`${y}-left`,C.className,{[`${y}-wrap`]:!!h});let x=r;const $=l===!0||p!==!1&&l!==!1;$&&!d&&typeof r=="string"&&r.trim()&&(x=r.replace(/[:|:]\s*$/,""));const I=Vz(u);if(I){const{icon:P=a.createElement(Az,null)}=I,R=Fz(I,["icon"]),M=a.createElement(Qn,Object.assign({},R),a.cloneElement(P,{className:`${t}-item-tooltip`,title:"",onClick:D=>{D.preventDefault()},tabIndex:null}));x=a.createElement(a.Fragment,null,x,M)}const E=c==="optional",O=typeof c=="function";O?x=c(x,{required:!!s}):E&&!s&&(x=a.createElement(a.Fragment,null,x,a.createElement("span",{className:`${t}-item-optional`,title:""},(m==null?void 0:m.optional)||((f=$r.Form)===null||f===void 0?void 0:f.optional))));const N=G({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:E||O,[`${t}-item-no-colon`]:!$});return a.createElement(Qs,Object.assign({},C,{className:S}),a.createElement("label",{htmlFor:n,className:N,title:typeof r=="string"?r:""},x))},Kz=Wz,qz={success:ga,warning:Bo,error:bo,validating:Lr};function n4(e){let{children:t,errors:r,warnings:n,hasFeedback:o,validateStatus:i,prefixCls:l,meta:s,noStyle:c}=e;const u=`${l}-item`,{feedbackIcons:d}=a.useContext(go),f=Jb(r,n,s,null,!!o,i),{isFormItemInput:m,status:g,hasFeedback:v,feedbackIcon:h}=a.useContext(dn),p=a.useMemo(()=>{var C;let b;if(o){const S=o!==!0&&o.icons||d,x=f&&((C=S==null?void 0:S({status:f,errors:r,warnings:n}))===null||C===void 0?void 0:C[f]),$=f&&qz[f];b=x!==!1&&$?a.createElement("span",{className:G(`${u}-feedback-icon`,`${u}-feedback-icon-${f}`)},x||a.createElement($,null)):null}const y={status:f||"",errors:r,warnings:n,hasFeedback:!!o,feedbackIcon:b,isFormItemInput:!0};return c&&(y.status=(f!=null?f:g)||"",y.isFormItemInput=m,y.hasFeedback=!!(o!=null?o:v),y.feedbackIcon=o!==void 0?y.feedbackIcon:h),y},[f,o,c,m,g]);return a.createElement(dn.Provider,{value:p},t)}var Gz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{if(N&&w.current){const j=getComputedStyle(w.current);M(parseInt(j.marginBottom,10))}},[N,P]);const D=j=>{j||M(null)},T=function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const H=j?I:u.errors,k=j?E:u.warnings;return Jb(H,k,u,"",!!d,c)}(),_=G(y,r,n,{[`${y}-with-help`]:O||I.length||E.length,[`${y}-has-feedback`]:T&&d,[`${y}-has-success`]:T==="success",[`${y}-has-warning`]:T==="warning",[`${y}-has-error`]:T==="error",[`${y}-is-validating`]:T==="validating",[`${y}-hidden`]:f,[`${y}-${C}`]:C});return a.createElement("div",{className:_,style:o,ref:w},a.createElement(Xf,Object.assign({className:`${y}-row`},Xt(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),a.createElement(Kz,Object.assign({htmlFor:g},e,{requiredMark:S,required:v!=null?v:h,prefixCls:t,vertical:$})),a.createElement(kz,Object.assign({},e,u,{errors:I,warnings:E,prefixCls:t,status:T,help:i,marginBottom:R,onErrorVisibleChanged:D}),a.createElement(D2.Provider,{value:p},a.createElement(n4,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:T},m)))),!!R&&a.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-R}}))}const Uz="__SPLIT__";function Yz(e,t){const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>{const i=e[o],l=t[o];return i===l||typeof i=="function"||typeof l=="function"})}const Zz=a.memo(e=>{let{children:t}=e;return t},(e,t)=>Yz(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((r,n)=>r===t.childProps[n]));function Jv(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Qz(e){const{name:t,noStyle:r,className:n,dependencies:o,prefixCls:i,shouldUpdate:l,rules:s,children:c,required:u,label:d,messageVariables:f,trigger:m="onChange",validateTrigger:g,hidden:v,help:h,layout:p}=e,{getPrefixCls:C}=a.useContext(ke),{name:b}=a.useContext(go),y=Nz(c),S=typeof y=="function",x=a.useContext(D2),{validateTrigger:$}=a.useContext(ia),w=g!==void 0?g:$,I=t!=null,E=C("form",i),O=Ut(E),[N,P,R]=mm(E,O);ho();const M=a.useContext(el),D=a.useRef(),[L,T]=Rz({}),[_,j]=Es(()=>Jv()),H=X=>{const Z=M==null?void 0:M.getKey(X.name);if(j(X.destroy?Jv():X,!0),r&&h!==!1&&x){let ee=X.name;if(X.destroy)ee=D.current||ee;else if(Z!==void 0){const[ne,Y]=Z;ee=[ne].concat(ye(Y)),D.current=ee}x(X,ee)}},k=(X,Z)=>{T(ee=>{const ne=Object.assign({},ee),te=[].concat(ye(X.name.slice(0,-1)),ye(Z)).join(Uz);return X.destroy?delete ne[te]:ne[te]=X,ne})},[V,F]=a.useMemo(()=>{const X=ye(_.errors),Z=ye(_.warnings);return Object.values(L).forEach(ee=>{X.push.apply(X,ye(ee.errors||[])),Z.push.apply(Z,ye(ee.warnings||[]))}),[X,Z]},[L,_.errors,_.warnings]),q=Tz();function W(X,Z,ee){return r&&!v?a.createElement(n4,{prefixCls:E,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:_,errors:V,warnings:F,noStyle:!0},X):a.createElement(Xz,Object.assign({key:"row"},e,{className:G(n,R,O,P),prefixCls:E,fieldId:Z,isRequired:ee,errors:V,warnings:F,meta:_,onSubItemMetaChange:k,layout:p}),X)}if(!I&&!S&&!o)return N(W(y));let J={};return typeof d=="string"?J.label=d:t&&(J.label=String(t)),f&&(J=Object.assign(Object.assign({},J),f)),N(a.createElement(f1,Object.assign({},e,{messageVariables:J,trigger:m,validateTrigger:w,onMetaChange:H}),(X,Z,ee)=>{const ne=Yi(t).length&&Z?Z.name:[],Y=Qb(ne,b),te=u!==void 0?u:!!(s!=null&&s.some(ae=>{if(ae&&typeof ae=="object"&&ae.required&&!ae.warningOnly)return!0;if(typeof ae=="function"){const se=ae(ee);return(se==null?void 0:se.required)&&!(se!=null&&se.warningOnly)}return!1})),Q=Object.assign({},X);let U=null;if(Array.isArray(y)&&I)U=y;else if(!(S&&(!(l||o)||I))){if(!(o&&!S&&!I))if(a.isValidElement(y)){const ae=Object.assign(Object.assign({},y.props),Q);if(ae.id||(ae.id=Y),h||V.length>0||F.length>0||e.extra){const re=[];(h||V.length>0)&&re.push(`${Y}_help`),e.extra&&re.push(`${Y}_extra`),ae["aria-describedby"]=re.join(" ")}V.length>0&&(ae["aria-invalid"]="true"),te&&(ae["aria-required"]="true"),fo(y)&&(ae.ref=q(ne,y)),new Set([].concat(ye(Yi(m)),ye(Yi(w)))).forEach(re=>{ae[re]=function(){for(var ce,ue,fe,be,de,he=arguments.length,Se=new Array(he),$e=0;$e{var{prefixCls:t,children:r}=e,n=eB(e,["prefixCls","children"]);const{getPrefixCls:o}=a.useContext(ke),i=o("form",t),l=a.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return a.createElement(M2,Object.assign({},n),(s,c,u)=>a.createElement(g1.Provider,{value:l},r(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),c,{errors:u.errors,warnings:u.warnings})))},nB=tB;function rB(){const{form:e}=a.useContext(go);return e}const Yn=Pz;Yn.Item=Jz;Yn.List=nB;Yn.ErrorList=Zb;Yn.useForm=e4;Yn.useFormInstance=rB;Yn.useWatch=L2;Yn.Provider=_2;Yn.create=()=>{};function o4(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function wf(e){var t=e.getBoundingClientRect(),r=document.documentElement;return{left:t.left+(window.pageXOffset||r.scrollLeft)-(r.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||r.scrollTop)-(r.clientTop||document.body.clientTop||0)}}function Ur(e,t,r,n){var o=ng.unstable_batchedUpdates?function(l){ng.unstable_batchedUpdates(r,l)}:r;return e!=null&&e.addEventListener&&e.addEventListener(t,o,n),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,o,n)}}}var Ml=a.createContext(null),oB=function(t){var r=t.visible,n=t.maskTransitionName,o=t.getContainer,i=t.prefixCls,l=t.rootClassName,s=t.icons,c=t.countRender,u=t.showSwitch,d=t.showProgress,f=t.current,m=t.transform,g=t.count,v=t.scale,h=t.minScale,p=t.maxScale,C=t.closeIcon,b=t.onSwitchLeft,y=t.onSwitchRight,S=t.onClose,x=t.onZoomIn,$=t.onZoomOut,w=t.onRotateRight,I=t.onRotateLeft,E=t.onFlipX,O=t.onFlipY,N=t.onReset,P=t.toolbarRender,R=t.zIndex,M=t.image,D=a.useContext(Ml),L=s.rotateLeft,T=s.rotateRight,_=s.zoomIn,j=s.zoomOut,H=s.close,k=s.left,V=s.right,F=s.flipX,q=s.flipY,W="".concat(i,"-operations-operation");a.useEffect(function(){var ee=function(Y){Y.keyCode===we.ESC&&S()};return r&&window.addEventListener("keydown",ee),function(){window.removeEventListener("keydown",ee)}},[r]);var J=[{icon:q,onClick:O,type:"flipY"},{icon:F,onClick:E,type:"flipX"},{icon:L,onClick:I,type:"rotateLeft"},{icon:T,onClick:w,type:"rotateRight"},{icon:j,onClick:$,type:"zoomOut",disabled:v<=h},{icon:_,onClick:x,type:"zoomIn",disabled:v===p}],X=J.map(function(ee){var ne,Y=ee.icon,te=ee.onClick,Q=ee.type,U=ee.disabled;return a.createElement("div",{className:G(W,(ne={},A(ne,"".concat(i,"-operations-operation-").concat(Q),!0),A(ne,"".concat(i,"-operations-operation-disabled"),!!U),ne)),onClick:te,key:Q},Y)}),Z=a.createElement("div",{className:"".concat(i,"-operations")},X);return a.createElement(In,{visible:r,motionName:n},function(ee){var ne=ee.className,Y=ee.style;return a.createElement(pa,{open:!0,getContainer:o!=null?o:document.body},a.createElement("div",{className:G("".concat(i,"-operations-wrapper"),ne,l),style:K(K({},Y),{},{zIndex:R})},C===null?null:a.createElement("button",{className:"".concat(i,"-close"),onClick:S},C||H),u&&a.createElement(a.Fragment,null,a.createElement("div",{className:G("".concat(i,"-switch-left"),A({},"".concat(i,"-switch-left-disabled"),f===0)),onClick:b},k),a.createElement("div",{className:G("".concat(i,"-switch-right"),A({},"".concat(i,"-switch-right-disabled"),f===g-1)),onClick:y},V)),a.createElement("div",{className:"".concat(i,"-footer")},d&&a.createElement("div",{className:"".concat(i,"-progress")},c?c(f+1,g):"".concat(f+1," / ").concat(g)),P?P(Z,K(K({icons:{flipYIcon:X[0],flipXIcon:X[1],rotateLeftIcon:X[2],rotateRightIcon:X[3],zoomOutIcon:X[4],zoomInIcon:X[5]},actions:{onFlipY:O,onFlipX:E,onRotateLeft:I,onRotateRight:w,onZoomOut:$,onZoomIn:x,onReset:N,onClose:S},transform:m},D?{current:f,total:g}:{}),{},{image:M})):Z)))})},as={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function aB(e,t,r,n){var o=a.useRef(null),i=a.useRef([]),l=a.useState(as),s=ie(l,2),c=s[0],u=s[1],d=function(v){u(as),Rr(as,c)||n==null||n({transform:as,action:v})},f=function(v,h){o.current===null&&(i.current=[],o.current=kt(function(){u(function(p){var C=p;return i.current.forEach(function(b){C=K(K({},C),b)}),o.current=null,n==null||n({transform:C,action:h}),C})})),i.current.push(K(K({},c),v))},m=function(v,h,p,C,b){var y=e.current,S=y.width,x=y.height,$=y.offsetWidth,w=y.offsetHeight,I=y.offsetLeft,E=y.offsetTop,O=v,N=c.scale*v;N>r?(N=r,O=r/c.scale):Nn){if(t>0)return A({},e,i);if(t<0&&on)return A({},e,t<0?i:-i);return{}}function a4(e,t,r,n){var o=o4(),i=o.width,l=o.height,s=null;return e<=i&&t<=l?s={x:0,y:0}:(e>i||t>l)&&(s=K(K({},ep("x",r,e,i)),ep("y",n,t,l))),s}var za=1,iB=1;function lB(e,t,r,n,o,i,l){var s=o.rotate,c=o.scale,u=o.x,d=o.y,f=a.useState(!1),m=ie(f,2),g=m[0],v=m[1],h=a.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),p=function(x){!t||x.button!==0||(x.preventDefault(),x.stopPropagation(),h.current={diffX:x.pageX-u,diffY:x.pageY-d,transformX:u,transformY:d},v(!0))},C=function(x){r&&g&&i({x:x.pageX-h.current.diffX,y:x.pageY-h.current.diffY},"move")},b=function(){if(r&&g){v(!1);var x=h.current,$=x.transformX,w=x.transformY,I=u!==$&&d!==w;if(!I)return;var E=e.current.offsetWidth*c,O=e.current.offsetHeight*c,N=e.current.getBoundingClientRect(),P=N.left,R=N.top,M=s%180!==0,D=a4(M?O:E,M?E:O,P,R);D&&i(K({},D),"dragRebound")}},y=function(x){if(!(!r||x.deltaY==0)){var $=Math.abs(x.deltaY/100),w=Math.min($,iB),I=za+w*n;x.deltaY>0&&(I=za/I),l(I,"wheel",x.clientX,x.clientY)}};return a.useEffect(function(){var S,x,$,w;if(t){$=Ur(window,"mouseup",b,!1),w=Ur(window,"mousemove",C,!1);try{window.top!==window.self&&(S=Ur(window.top,"mouseup",b,!1),x=Ur(window.top,"mousemove",C,!1))}catch(I){}}return function(){var I,E,O,N;(I=$)===null||I===void 0||I.remove(),(E=w)===null||E===void 0||E.remove(),(O=S)===null||O===void 0||O.remove(),(N=x)===null||N===void 0||N.remove()}},[r,g,u,d,s,t]),{isMoving:g,onMouseDown:p,onMouseMove:C,onMouseUp:b,onWheel:y}}function sB(e){return new Promise(function(t){var r=document.createElement("img");r.onerror=function(){return t(!1)},r.onload=function(){return t(!0)},r.src=e})}function i4(e){var t=e.src,r=e.isCustomPlaceholder,n=e.fallback,o=a.useState(r?"loading":"normal"),i=ie(o,2),l=i[0],s=i[1],c=a.useRef(!1),u=l==="error";a.useEffect(function(){var g=!0;return sB(t).then(function(v){!v&&g&&s("error")}),function(){g=!1}},[t]),a.useEffect(function(){r&&!c.current?s("loading"):u&&s("normal")},[t]);var d=function(){s("normal")},f=function(v){c.current=!1,l==="loading"&&v!==null&&v!==void 0&&v.complete&&(v.naturalWidth||v.naturalHeight)&&(c.current=!0,d())},m=u&&n?{src:n}:{onLoad:d,src:t};return[f,m,l]}function Fs(e,t){var r=e.x-t.x,n=e.y-t.y;return Math.hypot(r,n)}function cB(e,t,r,n){var o=Fs(e,r),i=Fs(t,n);if(o===0&&i===0)return[e.x,e.y];var l=o/(o+i),s=e.x+l*(t.x-e.x),c=e.y+l*(t.y-e.y);return[s,c]}function uB(e,t,r,n,o,i,l){var s=o.rotate,c=o.scale,u=o.x,d=o.y,f=a.useState(!1),m=ie(f,2),g=m[0],v=m[1],h=a.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),p=function(x){h.current=K(K({},h.current),x)},C=function(x){if(t){x.stopPropagation(),v(!0);var $=x.touches,w=$===void 0?[]:$;w.length>1?p({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):p({point1:{x:w[0].clientX-u,y:w[0].clientY-d},eventType:"move"})}},b=function(x){var $=x.touches,w=$===void 0?[]:$,I=h.current,E=I.point1,O=I.point2,N=I.eventType;if(w.length>1&&N==="touchZoom"){var P={x:w[0].clientX,y:w[0].clientY},R={x:w[1].clientX,y:w[1].clientY},M=cB(E,O,P,R),D=ie(M,2),L=D[0],T=D[1],_=Fs(P,R)/Fs(E,O);l(_,"touchZoom",L,T,!0),p({point1:P,point2:R,eventType:"touchZoom"})}else N==="move"&&(i({x:w[0].clientX-E.x,y:w[0].clientY-E.y},"move"),p({eventType:"move"}))},y=function(){if(r){if(g&&v(!1),p({eventType:"none"}),n>c)return i({x:0,y:0,scale:n},"touchZoom");var x=e.current.offsetWidth*c,$=e.current.offsetHeight*c,w=e.current.getBoundingClientRect(),I=w.left,E=w.top,O=s%180!==0,N=a4(O?$:x,O?x:$,I,E);N&&i(K({},N),"dragRebound")}};return a.useEffect(function(){var S;return r&&t&&(S=Ur(window,"touchmove",function(x){return x.preventDefault()},{passive:!1})),function(){var x;(x=S)===null||x===void 0||x.remove()}},[r,t]),{isTouching:g,onTouchStart:C,onTouchMove:b,onTouchEnd:y}}var dB=["fallback","src","imgRef"],fB=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],mB=function(t){var r=t.fallback,n=t.src,o=t.imgRef,i=ut(t,dB),l=i4({src:n,fallback:r}),s=ie(l,2),c=s[0],u=s[1];return z.createElement("img",ve({ref:function(f){o.current=f,c(f)}},i,u))},l4=function(t){var r=t.prefixCls,n=t.src,o=t.alt,i=t.imageInfo,l=t.fallback,s=t.movable,c=s===void 0?!0:s,u=t.onClose,d=t.visible,f=t.icons,m=f===void 0?{}:f,g=t.rootClassName,v=t.closeIcon,h=t.getContainer,p=t.current,C=p===void 0?0:p,b=t.count,y=b===void 0?1:b,S=t.countRender,x=t.scaleStep,$=x===void 0?.5:x,w=t.minScale,I=w===void 0?1:w,E=t.maxScale,O=E===void 0?50:E,N=t.transitionName,P=N===void 0?"zoom":N,R=t.maskTransitionName,M=R===void 0?"fade":R,D=t.imageRender,L=t.imgCommonProps,T=t.toolbarRender,_=t.onTransform,j=t.onChange,H=ut(t,fB),k=a.useRef(),V=a.useContext(Ml),F=V&&y>1,q=V&&y>=1,W=a.useState(!0),J=ie(W,2),X=J[0],Z=J[1],ee=aB(k,I,O,_),ne=ee.transform,Y=ee.resetTransform,te=ee.updateTransform,Q=ee.dispatchZoomChange,U=lB(k,c,d,$,ne,te,Q),ae=U.isMoving,se=U.onMouseDown,oe=U.onWheel,re=uB(k,c,d,I,ne,te,Q),ce=re.isTouching,ue=re.onTouchStart,fe=re.onTouchMove,be=re.onTouchEnd,de=ne.rotate,he=ne.scale,Se=G(A({},"".concat(r,"-moving"),ae));a.useEffect(function(){X||Z(!0)},[X]);var $e=function(){Y("close")},Ne=function(){Q(za+$,"zoomIn")},xe=function(){Q(za/(za+$),"zoomOut")},Me=function(){te({rotate:de+90},"rotateRight")},Ee=function(){te({rotate:de-90},"rotateLeft")},Te=function(){te({flipX:!ne.flipX},"flipX")},Re=function(){te({flipY:!ne.flipY},"flipY")},Pe=function(){Y("reset")},me=function(Ze){Ze==null||Ze.preventDefault(),Ze==null||Ze.stopPropagation(),C>0&&(Z(!1),Y("prev"),j==null||j(C-1,C))},Ce=function(Ze){Ze==null||Ze.preventDefault(),Ze==null||Ze.stopPropagation(),C({position:e||"absolute",inset:0}),KB=e=>{const{iconCls:t,motionDurationSlow:r,paddingXXS:n,marginXXS:o,prefixCls:i,colorTextLightSolid:l}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:l,background:new Qt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${r}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},Mn),{padding:`0 ${B(n)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},qB=e=>{const{previewCls:t,modalMaskBg:r,paddingSM:n,marginXL:o,margin:i,paddingLG:l,previewOperationColorDisabled:s,previewOperationHoverColor:c,motionDurationSlow:u,iconCls:d,colorTextLightSolid:f}=e,m=new Qt(r).setAlpha(.1),g=m.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:f,backgroundColor:m.toRgbString(),borderRadius:"50%",padding:n,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:g.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${B(l)}`,backgroundColor:m.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:n,padding:n,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:c},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},GB=e=>{const{modalMaskBg:t,iconCls:r,previewOperationColorDisabled:n,previewCls:o,zIndexPopup:i,motionDurationSlow:l}=e,s=new Qt(t).setAlpha(.1),c=s.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${l}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:n,background:"transparent",cursor:"not-allowed",[`> ${r}`]:{cursor:"not-allowed"}}},[`> ${r}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},XB=e=>{const{motionEaseOut:t,previewCls:r,motionDurationSlow:n,componentCls:o}=e;return[{[`${o}-preview-root`]:{[r]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${r}-body`]:Object.assign(Object.assign({},If()),{overflow:"hidden"}),[`${r}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${n} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},If()),{transition:`transform ${n} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${r}-moving`]:{[`${r}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${r}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[qB(e),GB(e)]}]},UB=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},KB(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},If())}}},YB=e=>{const{previewCls:t}=e;return{[`${t}-root`]:ui(e,"zoom"),"&":dc(e,!0)}},ZB=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Qt(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Qt(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Qt(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),s4=Et("Image",e=>{const t=`${e.componentCls}-preview`,r=xt(e,{previewCls:t,modalMaskBg:new Qt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[UB(r),XB(r),F2(xt(r,{componentCls:t})),YB(r)]},ZB);var QB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{previewPrefixCls:t,preview:r}=e,n=QB(e,["previewPrefixCls","preview"]);const{getPrefixCls:o}=a.useContext(ke),i=o("image",t),l=`${i}-preview`,s=o(),c=Ut(i),[u,d,f]=s4(i,c),[m]=or("ImagePreview",typeof r=="object"?r.zIndex:void 0),g=a.useMemo(()=>{var v;if(r===!1)return r;const h=typeof r=="object"?r:{},p=G(d,f,c,(v=h.rootClassName)!==null&&v!==void 0?v:"");return Object.assign(Object.assign({},h),{transitionName:kn(s,"zoom",h.transitionName),maskTransitionName:kn(s,"fade",h.maskTransitionName),rootClassName:p,zIndex:m})},[r]);return u(a.createElement(gm.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:c4},n)))},eA=JB;var rp=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:r,preview:n,className:o,rootClassName:i,style:l}=e,s=rp(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:u=$r,getPopupContainer:d,image:f}=a.useContext(ke),m=c("image",r),g=c(),v=u.Image||$r.Image,h=Ut(m),[p,C,b]=s4(m,h),y=G(i,C,b,h),S=G(o,C,f==null?void 0:f.className),[x]=or("ImagePreview",typeof n=="object"?n.zIndex:void 0),$=a.useMemo(()=>{var I;if(n===!1)return n;const E=typeof n=="object"?n:{},{getContainer:O,closeIcon:N}=E,P=rp(E,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:a.createElement("div",{className:`${m}-mask-info`},a.createElement(sm,null),v==null?void 0:v.preview),icons:c4},P),{getContainer:O!=null?O:d,transitionName:kn(g,"zoom",E.transitionName),maskTransitionName:kn(g,"fade",E.maskTransitionName),zIndex:x,closeIcon:N!=null?N:(I=f==null?void 0:f.preview)===null||I===void 0?void 0:I.closeIcon})},[n,v,(t=f==null?void 0:f.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},f==null?void 0:f.style),l);return p(a.createElement(gm,Object.assign({prefixCls:m,preview:$,rootClassName:y,className:S,style:w},s)))};vm.PreviewGroup=eA;function tA(e,t,r){return typeof r=="boolean"?r:e.length?!0:sn(t).some(o=>o.type===n3)}const nA=e=>{const{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:o,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:i,background:o},[`${t}-sider-zero-width-trigger`]:{color:i,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}},rA=e=>{const{antCls:t,componentCls:r,colorText:n,triggerColor:o,footerBg:i,triggerBg:l,headerHeight:s,headerPadding:c,headerColor:u,footerPadding:d,triggerHeight:f,zeroTriggerHeight:m,zeroTriggerWidth:g,motionDurationMid:v,motionDurationSlow:h,fontSize:p,borderRadius:C,bodyBg:b,headerBg:y,siderBg:S}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:b,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:S,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:o,lineHeight:B(f),textAlign:"center",background:l,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(g).mul(-1).equal(),zIndex:1,width:g,height:m,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:S,borderStartStartRadius:0,borderStartEndRadius:C,borderEndEndRadius:C,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(g).mul(-1).equal(),borderStartStartRadius:C,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:C}}}}},nA(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:s,padding:c,color:u,lineHeight:B(s),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:d,color:n,fontSize:p,background:i},[`${r}-content`]:{flex:"auto",color:n,minHeight:0}}},oA=e=>{const{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:o,controlHeightSM:i,marginXXS:l,colorTextLightSolid:s,colorBgContainer:c}=e,u=n*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:r*2,headerPadding:`0 ${u}px`,headerColor:o,footerPadding:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+l*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:o}},u4=Et("Layout",e=>[rA(e)],oA,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var d4=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oa.forwardRef((l,s)=>a.createElement(o,Object.assign({ref:s,suffixCls:t,tagName:r},l)))}const pm=a.forwardRef((e,t)=>{const{prefixCls:r,suffixCls:n,className:o,tagName:i}=e,l=d4(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=a.useContext(ke),c=s("layout",r),[u,d,f]=u4(c),m=n?`${c}-${n}`:c;return u(a.createElement(i,Object.assign({className:G(r||m,o,d,f),ref:t},l)))}),aA=a.forwardRef((e,t)=>{const{direction:r}=a.useContext(ke),[n,o]=a.useState([]),{prefixCls:i,className:l,rootClassName:s,children:c,hasSider:u,tagName:d,style:f}=e,m=d4(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),g=Xt(m,["suffixCls"]),{getPrefixCls:v,layout:h}=a.useContext(ke),p=v("layout",i),C=tA(n,c,u),[b,y,S]=u4(p),x=G(p,{[`${p}-has-sider`]:C,[`${p}-rtl`]:r==="rtl"},h==null?void 0:h.className,l,s,y,S),$=a.useMemo(()=>({siderHook:{addSider:w=>{o(I=>[].concat(ye(I),[w]))},removeSider:w=>{o(I=>I.filter(E=>E!==w))}}}),[]);return b(a.createElement(t3.Provider,{value:$},a.createElement(d,Object.assign({ref:t,className:x,style:Object.assign(Object.assign({},h==null?void 0:h.style),f)},g),c)))}),iA=Zc({tagName:"div",displayName:"Layout"})(aA),lA=Zc({suffixCls:"header",tagName:"header",displayName:"Header"})(pm),sA=Zc({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(pm),cA=Zc({suffixCls:"content",tagName:"main",displayName:"Content"})(pm),ao=iA;ao.Header=lA;ao.Footer=sA;ao.Content=cA;ao.Sider=n3;ao._InternalSiderContext=Nc;const uA=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const o=r[n];o!==void 0&&(e[n]=o)})}return e},f4=uA;var dA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const fA=dA;var mA=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:fA}))},gA=a.forwardRef(mA);const op=gA;var vA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const pA=vA;var hA=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:pA}))},CA=a.forwardRef(hA);const ap=CA;var bA={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},yA=["10","20","50","100"],SA=function(t){var r=t.pageSizeOptions,n=r===void 0?yA:r,o=t.locale,i=t.changeSize,l=t.pageSize,s=t.goButton,c=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,f=t.selectPrefixCls,m=t.disabled,g=t.buildOptionText,v=z.useState(""),h=ie(v,2),p=h[0],C=h[1],b=function(){return!p||Number.isNaN(p)?void 0:Number(p)},y=typeof g=="function"?g:function(M){return"".concat(M," ").concat(o.items_per_page)},S=function(D){i==null||i(Number(D))},x=function(D){C(D.target.value)},$=function(D){s||p===""||(C(""),!(D.relatedTarget&&(D.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||D.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(b())))},w=function(D){p!==""&&(D.keyCode===we.ENTER||D.type==="click")&&(C(""),c==null||c(b()))},I=function(){return n.some(function(D){return D.toString()===l.toString()})?n:n.concat([l.toString()]).sort(function(D,L){var T=Number.isNaN(Number(D))?0:Number(D),_=Number.isNaN(Number(L))?0:Number(L);return T-_})},E="".concat(u,"-options");if(!i&&!c)return null;var O=null,N=null,P=null;if(i&&d){var R=I().map(function(M,D){return z.createElement(d.Option,{key:D,value:M.toString()},y(M))});O=z.createElement(d,{disabled:m,prefixCls:f,showSearch:!1,className:"".concat(E,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(l||n[0]).toString(),onChange:S,getPopupContainer:function(D){return D.parentNode},"aria-label":o.page_size,defaultOpen:!1},R)}return c&&(s&&(P=typeof s=="boolean"?z.createElement("button",{type:"button",onClick:w,onKeyUp:w,disabled:m,className:"".concat(E,"-quick-jumper-button")},o.jump_to_confirm):z.createElement("span",{onClick:w,onKeyUp:w},s)),N=z.createElement("div",{className:"".concat(E,"-quick-jumper")},o.jump_to,z.createElement("input",{disabled:m,type:"text",value:p,onChange:x,onKeyUp:w,onBlur:$,"aria-label":o.page}),o.page,P)),z.createElement("li",{className:E},O,N)},Di=function(t){var r,n=t.rootPrefixCls,o=t.page,i=t.active,l=t.className,s=t.showTitle,c=t.onClick,u=t.onKeyPress,d=t.itemRender,f="".concat(n,"-item"),m=G(f,"".concat(f,"-").concat(o),(r={},A(r,"".concat(f,"-active"),i),A(r,"".concat(f,"-disabled"),!o),r),l),g=function(){c(o)},v=function(C){u(C,c,o)},h=d(o,"page",z.createElement("a",{rel:"nofollow"},o));return h?z.createElement("li",{title:s?String(o):null,className:m,onClick:g,onKeyDown:v,tabIndex:0},h):null},xA=function(t,r,n){return n};function ip(){}function lp(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Yo(e,t,r){var n=typeof e=="undefined"?t:e;return Math.floor((r-1)/n)+1}var $A=function(t){var r,n=t.prefixCls,o=n===void 0?"rc-pagination":n,i=t.selectPrefixCls,l=i===void 0?"rc-select":i,s=t.className,c=t.selectComponentClass,u=t.current,d=t.defaultCurrent,f=d===void 0?1:d,m=t.total,g=m===void 0?0:m,v=t.pageSize,h=t.defaultPageSize,p=h===void 0?10:h,C=t.onChange,b=C===void 0?ip:C,y=t.hideOnSinglePage,S=t.align,x=t.showPrevNextJumpers,$=x===void 0?!0:x,w=t.showQuickJumper,I=t.showLessItems,E=t.showTitle,O=E===void 0?!0:E,N=t.onShowSizeChange,P=N===void 0?ip:N,R=t.locale,M=R===void 0?bA:R,D=t.style,L=t.totalBoundaryShowSizeChanger,T=L===void 0?50:L,_=t.disabled,j=t.simple,H=t.showTotal,k=t.showSizeChanger,V=t.pageSizeOptions,F=t.itemRender,q=F===void 0?xA:F,W=t.jumpPrevIcon,J=t.jumpNextIcon,X=t.prevIcon,Z=t.nextIcon,ee=z.useRef(null),ne=Ot(10,{value:v,defaultValue:p}),Y=ie(ne,2),te=Y[0],Q=Y[1],U=Ot(1,{value:u,defaultValue:f,postState:function(St){return Math.max(1,Math.min(St,Yo(void 0,te,g)))}}),ae=ie(U,2),se=ae[0],oe=ae[1],re=z.useState(se),ce=ie(re,2),ue=ce[0],fe=ce[1];a.useEffect(function(){fe(se)},[se]);var be=Math.max(1,se-(I?3:5)),de=Math.min(Yo(void 0,te,g),se+(I?3:5));function he(pt,St){var It=pt||z.createElement("button",{type:"button","aria-label":St,className:"".concat(o,"-item-link")});return typeof pt=="function"&&(It=z.createElement(pt,K({},t))),It}function Se(pt){var St=pt.target.value,It=Yo(void 0,te,g),rn;return St===""?rn=St:Number.isNaN(Number(St))?rn=ue:St>=It?rn=It:rn=Number(St),rn}function $e(pt){return lp(pt)&&pt!==se&&lp(g)&&g>0}var Ne=g>te?w:!1;function xe(pt){(pt.keyCode===we.UP||pt.keyCode===we.DOWN)&&pt.preventDefault()}function Me(pt){var St=Se(pt);switch(St!==ue&&fe(St),pt.keyCode){case we.ENTER:Re(St);break;case we.UP:Re(St-1);break;case we.DOWN:Re(St+1);break}}function Ee(pt){Re(Se(pt))}function Te(pt){var St=Yo(pt,te,g),It=se>St&&St!==0?St:se;Q(pt),fe(It),P==null||P(se,pt),oe(It),b==null||b(It,pt)}function Re(pt){if($e(pt)&&!_){var St=Yo(void 0,te,g),It=pt;return pt>St?It=St:pt<1&&(It=1),It!==ue&&fe(It),oe(It),b==null||b(It,te),It}return se}var Pe=se>1,me=seT;function pe(){Pe&&Re(se-1)}function ge(){me&&Re(se+1)}function Ie(){Re(be)}function nt(){Re(de)}function Ve(pt,St){if(pt.key==="Enter"||pt.charCode===we.ENTER||pt.keyCode===we.ENTER){for(var It=arguments.length,rn=new Array(It>2?It-2:0),gn=2;gng?g:se*te])),Ue=null,_e=Yo(void 0,te,g);if(y&&g<=te)return null;var Be=[],Je={rootPrefixCls:o,onClick:Re,onKeyPress:Ve,showTitle:O,itemRender:q,page:-1},dt=se-1>0?se-1:0,it=se+1<_e?se+1:_e,qe=w&&w.goButton,Ae=bt(j)==="object"?j.readOnly:!j,Ge=qe,Ye=null;j&&(qe&&(typeof qe=="boolean"?Ge=z.createElement("button",{type:"button",onClick:We,onKeyUp:We},M.jump_to_confirm):Ge=z.createElement("span",{onClick:We,onKeyUp:We},qe),Ge=z.createElement("li",{title:O?"".concat(M.jump_to).concat(se,"/").concat(_e):null,className:"".concat(o,"-simple-pager")},Ge)),Ye=z.createElement("li",{title:O?"".concat(se,"/").concat(_e):null,className:"".concat(o,"-simple-pager")},Ae?ue:z.createElement("input",{type:"text",value:ue,disabled:_,onKeyDown:xe,onKeyUp:Me,onChange:Me,onBlur:Ee,size:3}),z.createElement("span",{className:"".concat(o,"-slash")},"/"),_e));var tt=I?1:2;if(_e<=3+tt*2){_e||Be.push(z.createElement(Di,ve({},Je,{key:"noPager",page:1,className:"".concat(o,"-item-disabled")})));for(var mt=1;mt<=_e;mt+=1)Be.push(z.createElement(Di,ve({},Je,{key:mt,page:mt,active:se===mt})))}else{var lt=I?M.prev_3:M.prev_5,ft=I?M.next_3:M.next_5,gt=q(be,"jump-prev",he(W,"prev page")),et=q(de,"jump-next",he(J,"next page"));$&&(He=gt?z.createElement("li",{title:O?lt:null,key:"prev",onClick:Ie,tabIndex:0,onKeyDown:Ke,className:G("".concat(o,"-jump-prev"),A({},"".concat(o,"-jump-prev-custom-icon"),!!W))},gt):null,Ue=et?z.createElement("li",{title:O?ft:null,key:"next",onClick:nt,tabIndex:0,onKeyDown:Qe,className:G("".concat(o,"-jump-next"),A({},"".concat(o,"-jump-next-custom-icon"),!!J))},et):null);var rt=Math.max(1,se-tt),Fe=Math.min(se+tt,_e);se-1<=tt&&(Fe=1+tt*2),_e-se<=tt&&(rt=_e-tt*2);for(var je=rt;je<=Fe;je+=1)Be.push(z.createElement(Di,ve({},Je,{key:je,page:je,active:se===je})));if(se-1>=tt*2&&se!==3&&(Be[0]=z.cloneElement(Be[0],{className:G("".concat(o,"-item-after-jump-prev"),Be[0].props.className)}),Be.unshift(He)),_e-se>=tt*2&&se!==_e-2){var st=Be[Be.length-1];Be[Be.length-1]=z.cloneElement(st,{className:G("".concat(o,"-item-before-jump-next"),st.props.className)}),Be.push(Ue)}rt!==1&&Be.unshift(z.createElement(Di,ve({},Je,{key:1,page:1}))),Fe!==_e&&Be.push(z.createElement(Di,ve({},Je,{key:_e,page:_e})))}var Ct=ot(dt);if(Ct){var Nt=!Pe||!_e;Ct=z.createElement("li",{title:O?M.prev_page:null,onClick:pe,tabIndex:Nt?null:0,onKeyDown:Ze,className:G("".concat(o,"-prev"),A({},"".concat(o,"-disabled"),Nt)),"aria-disabled":Nt},Ct)}var Vt=Xe(it);if(Vt){var Kt,qt;j?(Kt=!me,qt=Pe?0:null):(Kt=!me||!_e,qt=Kt?null:0),Vt=z.createElement("li",{title:O?M.next_page:null,onClick:ge,tabIndex:qt,onKeyDown:De,className:G("".concat(o,"-next"),A({},"".concat(o,"-disabled"),Kt)),"aria-disabled":Kt},Vt)}var Gt=G(o,s,(r={},A(r,"".concat(o,"-start"),S==="start"),A(r,"".concat(o,"-center"),S==="center"),A(r,"".concat(o,"-end"),S==="end"),A(r,"".concat(o,"-simple"),j),A(r,"".concat(o,"-disabled"),_),r));return z.createElement("ul",ve({className:Gt,style:D,ref:ee},at),Le,Ct,j?Ye:Be,Vt,z.createElement(SA,{locale:M,rootPrefixCls:o,disabled:_,selectComponentClass:c,selectPrefixCls:l,changeSize:Ce?Te:null,pageSize:te,pageSizeOptions:V,quickGo:Ne?Re:null,goButton:Ge}))};const m4=e=>a.createElement(jn,Object.assign({},e,{showSearch:!0,size:"small"})),g4=e=>a.createElement(jn,Object.assign({},e,{showSearch:!0,size:"middle"}));m4.Option=jn.Option;g4.Option=jn.Option;const wA=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},EA=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:B(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:B(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:B(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + ${r}-col-xl-24${t}-label`]:Pr(e),[`@media (max-width: ${B(e.screenXSMax)})`]:[Ub(e),{[t]:{[`${r}-col-xs-24${t}-label`]:Pr(e)}}],[`@media (max-width: ${B(e.screenSMMax)})`]:{[t]:{[`${r}-col-sm-24${t}-label`]:Pr(e)}},[`@media (max-width: ${B(e.screenMDMax)})`]:{[t]:{[`${r}-col-md-24${t}-label`]:Pr(e)}},[`@media (max-width: ${B(e.screenLGMax)})`]:{[t]:{[`${r}-col-lg-24${t}-label`]:Pr(e)}}}},Sz=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Yb=(e,t)=>xt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),mm=Et("Form",(e,t)=>{let{rootPrefixCls:r}=t;const n=Yb(e,r);return[pz(n),hz(n),gz(n),Yv(n,n.componentCls),Yv(n,n.formItemCls),Cz(n),bz(n),yz(n),ml(n),v1]},Sz,{order:-1e3}),Zv=[];function ad(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${n}`,error:e,errorStatus:r}}const xz=e=>{let{help:t,helpStatus:r,errors:n=Zv,warnings:o=Zv,className:i,fieldId:l,onVisibleChanged:s}=e;const{prefixCls:c}=a.useContext(g1),u=`${c}-item-explain`,d=Ut(c),[f,m,g]=mm(c,d),v=a.useMemo(()=>Xa(c),[c]),h=As(n),p=As(o),C=a.useMemo(()=>t!=null?[ad(t,"help",r)]:[].concat(ye(h.map((y,S)=>ad(y,"error","error",S))),ye(p.map((y,S)=>ad(y,"warning","warning",S)))),[t,r,h,p]),b={};return l&&(b.id=`${l}_help`),f(a.createElement(In,{motionDeadline:v.motionDeadline,motionName:`${c}-show-help`,visible:!!C.length,onVisibleChanged:s},y=>{const{className:S,style:x}=y;return a.createElement("div",Object.assign({},b,{className:G(u,S,g,d,i,m),style:x,role:"alert"}),a.createElement(Wf,Object.assign({keys:C},Xa(c),{motionName:`${c}-show-help-item`,component:!1}),$=>{const{key:w,error:I,errorStatus:E,className:O,style:N}=$;return a.createElement("div",{key:w,className:G(O,{[`${u}-${E}`]:E}),style:N},I)}))}))},Zb=xz,$z=["parentNode"],wz="form_item";function Yi(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Qb(e,t){if(!e.length)return;const r=e.join("_");return t?`${t}_${r}`:$z.includes(r)?`${wz}_${r}`:r}function Jb(e,t,r,n,o,i){let l=n;return i!==void 0?l=i:r.validating?l="validating":e.length?l="error":t.length?l="warning":(r.touched||o&&r.validated)&&(l="success"),l}function Qv(e){return Yi(e).join("_")}function Ez(e,t){const r=t.getFieldInstance(e),n=H7(r);if(n)return n;const o=Qb(Yi(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function e4(e){const[t]=m1(),r=a.useRef({}),n=a.useMemo(()=>e!=null?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:o=>i=>{const l=Qv(o);i?r.current[l]=i:delete r.current[l]}},scrollToField:function(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const l=Ez(o,n);l&&t2(l,Object.assign({scrollMode:"if-needed",block:"nearest"},i))},getFieldInstance:o=>{const i=Qv(o);return r.current[i]}}),[e,t]);return[n]}var Iz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const r=a.useContext(Hn),{getPrefixCls:n,direction:o,form:i}=a.useContext(ke),{prefixCls:l,className:s,rootClassName:c,size:u,disabled:d=r,form:f,colon:m,labelAlign:g,labelWrap:v,labelCol:h,wrapperCol:p,hideRequiredMark:C,layout:b="horizontal",scrollToFirstError:y,requiredMark:S,onFinishFailed:x,name:$,style:w,feedbackIcons:I,variant:E}=e,O=Iz(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),N=un(u),P=a.useContext(z7),R=a.useMemo(()=>S!==void 0?S:C?!1:i&&i.requiredMark!==void 0?i.requiredMark:!0,[C,S,i]),M=m!=null?m:i==null?void 0:i.colon,D=n("form",l),L=Ut(D),[T,_,j]=mm(D,L),H=G(D,`${D}-${b}`,{[`${D}-hide-required-mark`]:R===!1,[`${D}-rtl`]:o==="rtl",[`${D}-${N}`]:N},j,L,_,i==null?void 0:i.className,s,c),[k]=e4(f),{__INTERNAL__:V}=k;V.name=$;const F=a.useMemo(()=>({name:$,labelAlign:g,labelCol:h,labelWrap:v,wrapperCol:p,vertical:b==="vertical",colon:M,requiredMark:R,itemRef:V.itemRef,form:k,feedbackIcons:I}),[$,g,h,p,b,M,R,k,I]),q=a.useRef(null);a.useImperativeHandle(t,()=>{var X;return Object.assign(Object.assign({},k),{nativeElement:(X=q.current)===null||X===void 0?void 0:X.nativeElement})});const W=(X,Z)=>{if(X){let ee={block:"nearest"};typeof X=="object"&&(ee=X),k.scrollToField(Z,ee)}},J=X=>{if(x==null||x(X),X.errorFields.length){const Z=X.errorFields[0].name;if(y!==void 0){W(y,Z);return}i&&i.scrollToFirstError!==void 0&&W(i.scrollToFirstError,Z)}};return T(a.createElement(k2.Provider,{value:E},a.createElement(Hh,{disabled:d},a.createElement(kh.Provider,{value:N},a.createElement(_2,{validateMessages:P},a.createElement(go.Provider,{value:F},a.createElement(si,Object.assign({id:$},O,{name:$,onFinishFailed:J,form:k,ref:q,style:Object.assign(Object.assign({},i==null?void 0:i.style),w),className:H}))))))))},Pz=a.forwardRef(Oz);function Nz(e){if(typeof e=="function")return e;const t=sn(e);return t.length<=1?t[0]:t}const t4=()=>{const{status:e,errors:t=[],warnings:r=[]}=a.useContext(dn);return{status:e,errors:t,warnings:r}};t4.Context=dn;const Mz=t4;function Rz(e){const[t,r]=a.useState(e),n=a.useRef(null),o=a.useRef([]),i=a.useRef(!1);a.useEffect(()=>(i.current=!1,()=>{i.current=!0,kt.cancel(n.current),n.current=null}),[]);function l(s){i.current||(n.current===null&&(o.current=[],n.current=kt(()=>{n.current=null,r(c=>{let u=c;return o.current.forEach(d=>{u=d(u)}),u})})),o.current.push(s))}return[t,l]}function Tz(){const{itemRef:e}=a.useContext(go),t=a.useRef({});function r(n,o){const i=o&&typeof o=="object"&&o.ref,l=n.join("_");return(t.current.name!==l||t.current.originRef!==i)&&(t.current.name=l,t.current.originRef=i,t.current.ref=yn(e(n),i)),t.current.ref}return r}const Lz=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},Dz=ma(["Form","item-item"],(e,t)=>{let{rootPrefixCls:r}=t;const n=Yb(e,r);return[Lz(n)]}),_z=e=>{const{prefixCls:t,status:r,wrapperCol:n,children:o,errors:i,warnings:l,_internalItemRender:s,extra:c,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:m}=e,g=`${t}-item`,v=a.useContext(go),h=n||v.wrapperCol||{},p=G(`${g}-control`,h.className),C=a.useMemo(()=>Object.assign({},v),[v]);delete C.labelCol,delete C.wrapperCol;const b=a.createElement("div",{className:`${g}-control-input`},a.createElement("div",{className:`${g}-control-input-content`},o)),y=a.useMemo(()=>({prefixCls:t,status:r}),[t,r]),S=f!==null||i.length||l.length?a.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},a.createElement(g1.Provider,{value:y},a.createElement(Zb,{fieldId:d,errors:i,warnings:l,help:u,helpStatus:r,className:`${g}-explain-connected`,onVisibleChanged:m})),!!f&&a.createElement("div",{style:{width:0,height:f}})):null,x={};d&&(x.id=`${d}_extra`);const $=c?a.createElement("div",Object.assign({},x,{className:`${g}-extra`}),c):null,w=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:b,errorList:S,extra:$}):a.createElement(a.Fragment,null,b,S,$);return a.createElement(go.Provider,{value:C},a.createElement(Qs,Object.assign({},h,{className:p}),w),a.createElement(Dz,{prefixCls:t}))},kz=_z;var jz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const Hz=jz;var zz=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:Hz}))},Bz=a.forwardRef(zz);const Az=Bz;var Fz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let{prefixCls:t,label:r,htmlFor:n,labelCol:o,labelAlign:i,colon:l,required:s,requiredMark:c,tooltip:u,vertical:d}=e;var f;const[m]=Ln("Form"),{labelAlign:g,labelCol:v,labelWrap:h,colon:p}=a.useContext(go);if(!r)return null;const C=o||v||{},b=i||g,y=`${t}-item-label`,S=G(y,b==="left"&&`${y}-left`,C.className,{[`${y}-wrap`]:!!h});let x=r;const $=l===!0||p!==!1&&l!==!1;$&&!d&&typeof r=="string"&&r.trim()&&(x=r.replace(/[:|:]\s*$/,""));const I=Vz(u);if(I){const{icon:P=a.createElement(Az,null)}=I,R=Fz(I,["icon"]),M=a.createElement(Qn,Object.assign({},R),a.cloneElement(P,{className:`${t}-item-tooltip`,title:"",onClick:D=>{D.preventDefault()},tabIndex:null}));x=a.createElement(a.Fragment,null,x,M)}const E=c==="optional",O=typeof c=="function";O?x=c(x,{required:!!s}):E&&!s&&(x=a.createElement(a.Fragment,null,x,a.createElement("span",{className:`${t}-item-optional`,title:""},(m==null?void 0:m.optional)||((f=$r.Form)===null||f===void 0?void 0:f.optional))));const N=G({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:E||O,[`${t}-item-no-colon`]:!$});return a.createElement(Qs,Object.assign({},C,{className:S}),a.createElement("label",{htmlFor:n,className:N,title:typeof r=="string"?r:""},x))},Kz=Wz,qz={success:ga,warning:Bo,error:bo,validating:Lr};function n4(e){let{children:t,errors:r,warnings:n,hasFeedback:o,validateStatus:i,prefixCls:l,meta:s,noStyle:c}=e;const u=`${l}-item`,{feedbackIcons:d}=a.useContext(go),f=Jb(r,n,s,null,!!o,i),{isFormItemInput:m,status:g,hasFeedback:v,feedbackIcon:h}=a.useContext(dn),p=a.useMemo(()=>{var C;let b;if(o){const S=o!==!0&&o.icons||d,x=f&&((C=S==null?void 0:S({status:f,errors:r,warnings:n}))===null||C===void 0?void 0:C[f]),$=f&&qz[f];b=x!==!1&&$?a.createElement("span",{className:G(`${u}-feedback-icon`,`${u}-feedback-icon-${f}`)},x||a.createElement($,null)):null}const y={status:f||"",errors:r,warnings:n,hasFeedback:!!o,feedbackIcon:b,isFormItemInput:!0};return c&&(y.status=(f!=null?f:g)||"",y.isFormItemInput=m,y.hasFeedback=!!(o!=null?o:v),y.feedbackIcon=o!==void 0?y.feedbackIcon:h),y},[f,o,c,m,g]);return a.createElement(dn.Provider,{value:p},t)}var Gz=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{if(N&&w.current){const j=getComputedStyle(w.current);M(parseInt(j.marginBottom,10))}},[N,P]);const D=j=>{j||M(null)},T=function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const H=j?I:u.errors,k=j?E:u.warnings;return Jb(H,k,u,"",!!d,c)}(),_=G(y,r,n,{[`${y}-with-help`]:O||I.length||E.length,[`${y}-has-feedback`]:T&&d,[`${y}-has-success`]:T==="success",[`${y}-has-warning`]:T==="warning",[`${y}-has-error`]:T==="error",[`${y}-is-validating`]:T==="validating",[`${y}-hidden`]:f,[`${y}-${C}`]:C});return a.createElement("div",{className:_,style:o,ref:w},a.createElement(Xf,Object.assign({className:`${y}-row`},Xt(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),a.createElement(Kz,Object.assign({htmlFor:g},e,{requiredMark:S,required:v!=null?v:h,prefixCls:t,vertical:$})),a.createElement(kz,Object.assign({},e,u,{errors:I,warnings:E,prefixCls:t,status:T,help:i,marginBottom:R,onErrorVisibleChanged:D}),a.createElement(D2.Provider,{value:p},a.createElement(n4,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:T},m)))),!!R&&a.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-R}}))}const Uz="__SPLIT__";function Yz(e,t){const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>{const i=e[o],l=t[o];return i===l||typeof i=="function"||typeof l=="function"})}const Zz=a.memo(e=>{let{children:t}=e;return t},(e,t)=>Yz(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((r,n)=>r===t.childProps[n]));function Jv(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Qz(e){const{name:t,noStyle:r,className:n,dependencies:o,prefixCls:i,shouldUpdate:l,rules:s,children:c,required:u,label:d,messageVariables:f,trigger:m="onChange",validateTrigger:g,hidden:v,help:h,layout:p}=e,{getPrefixCls:C}=a.useContext(ke),{name:b}=a.useContext(go),y=Nz(c),S=typeof y=="function",x=a.useContext(D2),{validateTrigger:$}=a.useContext(ia),w=g!==void 0?g:$,I=t!=null,E=C("form",i),O=Ut(E),[N,P,R]=mm(E,O);ho();const M=a.useContext(el),D=a.useRef(),[L,T]=Rz({}),[_,j]=Es(()=>Jv()),H=X=>{const Z=M==null?void 0:M.getKey(X.name);if(j(X.destroy?Jv():X,!0),r&&h!==!1&&x){let ee=X.name;if(X.destroy)ee=D.current||ee;else if(Z!==void 0){const[ne,Y]=Z;ee=[ne].concat(ye(Y)),D.current=ee}x(X,ee)}},k=(X,Z)=>{T(ee=>{const ne=Object.assign({},ee),te=[].concat(ye(X.name.slice(0,-1)),ye(Z)).join(Uz);return X.destroy?delete ne[te]:ne[te]=X,ne})},[V,F]=a.useMemo(()=>{const X=ye(_.errors),Z=ye(_.warnings);return Object.values(L).forEach(ee=>{X.push.apply(X,ye(ee.errors||[])),Z.push.apply(Z,ye(ee.warnings||[]))}),[X,Z]},[L,_.errors,_.warnings]),q=Tz();function W(X,Z,ee){return r&&!v?a.createElement(n4,{prefixCls:E,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:_,errors:V,warnings:F,noStyle:!0},X):a.createElement(Xz,Object.assign({key:"row"},e,{className:G(n,R,O,P),prefixCls:E,fieldId:Z,isRequired:ee,errors:V,warnings:F,meta:_,onSubItemMetaChange:k,layout:p}),X)}if(!I&&!S&&!o)return N(W(y));let J={};return typeof d=="string"?J.label=d:t&&(J.label=String(t)),f&&(J=Object.assign(Object.assign({},J),f)),N(a.createElement(f1,Object.assign({},e,{messageVariables:J,trigger:m,validateTrigger:w,onMetaChange:H}),(X,Z,ee)=>{const ne=Yi(t).length&&Z?Z.name:[],Y=Qb(ne,b),te=u!==void 0?u:!!(s!=null&&s.some(ae=>{if(ae&&typeof ae=="object"&&ae.required&&!ae.warningOnly)return!0;if(typeof ae=="function"){const se=ae(ee);return(se==null?void 0:se.required)&&!(se!=null&&se.warningOnly)}return!1})),Q=Object.assign({},X);let U=null;if(Array.isArray(y)&&I)U=y;else if(!(S&&(!(l||o)||I))){if(!(o&&!S&&!I))if(a.isValidElement(y)){const ae=Object.assign(Object.assign({},y.props),Q);if(ae.id||(ae.id=Y),h||V.length>0||F.length>0||e.extra){const re=[];(h||V.length>0)&&re.push(`${Y}_help`),e.extra&&re.push(`${Y}_extra`),ae["aria-describedby"]=re.join(" ")}V.length>0&&(ae["aria-invalid"]="true"),te&&(ae["aria-required"]="true"),fo(y)&&(ae.ref=q(ne,y)),new Set([].concat(ye(Yi(m)),ye(Yi(w)))).forEach(re=>{ae[re]=function(){for(var ce,ue,fe,be,de,he=arguments.length,Se=new Array(he),$e=0;$e{var{prefixCls:t,children:r}=e,n=eB(e,["prefixCls","children"]);const{getPrefixCls:o}=a.useContext(ke),i=o("form",t),l=a.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return a.createElement(M2,Object.assign({},n),(s,c,u)=>a.createElement(g1.Provider,{value:l},r(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),c,{errors:u.errors,warnings:u.warnings})))},nB=tB;function rB(){const{form:e}=a.useContext(go);return e}const Yn=Pz;Yn.Item=Jz;Yn.List=nB;Yn.ErrorList=Zb;Yn.useForm=e4;Yn.useFormInstance=rB;Yn.useWatch=L2;Yn.Provider=_2;Yn.create=()=>{};function o4(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function wf(e){var t=e.getBoundingClientRect(),r=document.documentElement;return{left:t.left+(window.pageXOffset||r.scrollLeft)-(r.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||r.scrollTop)-(r.clientTop||document.body.clientTop||0)}}function Ur(e,t,r,n){var o=ng.unstable_batchedUpdates?function(l){ng.unstable_batchedUpdates(r,l)}:r;return e!=null&&e.addEventListener&&e.addEventListener(t,o,n),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,o,n)}}}var Ml=a.createContext(null),oB=function(t){var r=t.visible,n=t.maskTransitionName,o=t.getContainer,i=t.prefixCls,l=t.rootClassName,s=t.icons,c=t.countRender,u=t.showSwitch,d=t.showProgress,f=t.current,m=t.transform,g=t.count,v=t.scale,h=t.minScale,p=t.maxScale,C=t.closeIcon,b=t.onSwitchLeft,y=t.onSwitchRight,S=t.onClose,x=t.onZoomIn,$=t.onZoomOut,w=t.onRotateRight,I=t.onRotateLeft,E=t.onFlipX,O=t.onFlipY,N=t.onReset,P=t.toolbarRender,R=t.zIndex,M=t.image,D=a.useContext(Ml),L=s.rotateLeft,T=s.rotateRight,_=s.zoomIn,j=s.zoomOut,H=s.close,k=s.left,V=s.right,F=s.flipX,q=s.flipY,W="".concat(i,"-operations-operation");a.useEffect(function(){var ee=function(Y){Y.keyCode===we.ESC&&S()};return r&&window.addEventListener("keydown",ee),function(){window.removeEventListener("keydown",ee)}},[r]);var J=[{icon:q,onClick:O,type:"flipY"},{icon:F,onClick:E,type:"flipX"},{icon:L,onClick:I,type:"rotateLeft"},{icon:T,onClick:w,type:"rotateRight"},{icon:j,onClick:$,type:"zoomOut",disabled:v<=h},{icon:_,onClick:x,type:"zoomIn",disabled:v===p}],X=J.map(function(ee){var ne,Y=ee.icon,te=ee.onClick,Q=ee.type,U=ee.disabled;return a.createElement("div",{className:G(W,(ne={},A(ne,"".concat(i,"-operations-operation-").concat(Q),!0),A(ne,"".concat(i,"-operations-operation-disabled"),!!U),ne)),onClick:te,key:Q},Y)}),Z=a.createElement("div",{className:"".concat(i,"-operations")},X);return a.createElement(In,{visible:r,motionName:n},function(ee){var ne=ee.className,Y=ee.style;return a.createElement(pa,{open:!0,getContainer:o!=null?o:document.body},a.createElement("div",{className:G("".concat(i,"-operations-wrapper"),ne,l),style:K(K({},Y),{},{zIndex:R})},C===null?null:a.createElement("button",{className:"".concat(i,"-close"),onClick:S},C||H),u&&a.createElement(a.Fragment,null,a.createElement("div",{className:G("".concat(i,"-switch-left"),A({},"".concat(i,"-switch-left-disabled"),f===0)),onClick:b},k),a.createElement("div",{className:G("".concat(i,"-switch-right"),A({},"".concat(i,"-switch-right-disabled"),f===g-1)),onClick:y},V)),a.createElement("div",{className:"".concat(i,"-footer")},d&&a.createElement("div",{className:"".concat(i,"-progress")},c?c(f+1,g):"".concat(f+1," / ").concat(g)),P?P(Z,K(K({icons:{flipYIcon:X[0],flipXIcon:X[1],rotateLeftIcon:X[2],rotateRightIcon:X[3],zoomOutIcon:X[4],zoomInIcon:X[5]},actions:{onFlipY:O,onFlipX:E,onRotateLeft:I,onRotateRight:w,onZoomOut:$,onZoomIn:x,onReset:N,onClose:S},transform:m},D?{current:f,total:g}:{}),{},{image:M})):Z)))})},as={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function aB(e,t,r,n){var o=a.useRef(null),i=a.useRef([]),l=a.useState(as),s=ie(l,2),c=s[0],u=s[1],d=function(v){u(as),Rr(as,c)||n==null||n({transform:as,action:v})},f=function(v,h){o.current===null&&(i.current=[],o.current=kt(function(){u(function(p){var C=p;return i.current.forEach(function(b){C=K(K({},C),b)}),o.current=null,n==null||n({transform:C,action:h}),C})})),i.current.push(K(K({},c),v))},m=function(v,h,p,C,b){var y=e.current,S=y.width,x=y.height,$=y.offsetWidth,w=y.offsetHeight,I=y.offsetLeft,E=y.offsetTop,O=v,N=c.scale*v;N>r?(N=r,O=r/c.scale):Nn){if(t>0)return A({},e,i);if(t<0&&on)return A({},e,t<0?i:-i);return{}}function a4(e,t,r,n){var o=o4(),i=o.width,l=o.height,s=null;return e<=i&&t<=l?s={x:0,y:0}:(e>i||t>l)&&(s=K(K({},ep("x",r,e,i)),ep("y",n,t,l))),s}var za=1,iB=1;function lB(e,t,r,n,o,i,l){var s=o.rotate,c=o.scale,u=o.x,d=o.y,f=a.useState(!1),m=ie(f,2),g=m[0],v=m[1],h=a.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),p=function(x){!t||x.button!==0||(x.preventDefault(),x.stopPropagation(),h.current={diffX:x.pageX-u,diffY:x.pageY-d,transformX:u,transformY:d},v(!0))},C=function(x){r&&g&&i({x:x.pageX-h.current.diffX,y:x.pageY-h.current.diffY},"move")},b=function(){if(r&&g){v(!1);var x=h.current,$=x.transformX,w=x.transformY,I=u!==$&&d!==w;if(!I)return;var E=e.current.offsetWidth*c,O=e.current.offsetHeight*c,N=e.current.getBoundingClientRect(),P=N.left,R=N.top,M=s%180!==0,D=a4(M?O:E,M?E:O,P,R);D&&i(K({},D),"dragRebound")}},y=function(x){if(!(!r||x.deltaY==0)){var $=Math.abs(x.deltaY/100),w=Math.min($,iB),I=za+w*n;x.deltaY>0&&(I=za/I),l(I,"wheel",x.clientX,x.clientY)}};return a.useEffect(function(){var S,x,$,w;if(t){$=Ur(window,"mouseup",b,!1),w=Ur(window,"mousemove",C,!1);try{window.top!==window.self&&(S=Ur(window.top,"mouseup",b,!1),x=Ur(window.top,"mousemove",C,!1))}catch(I){}}return function(){var I,E,O,N;(I=$)===null||I===void 0||I.remove(),(E=w)===null||E===void 0||E.remove(),(O=S)===null||O===void 0||O.remove(),(N=x)===null||N===void 0||N.remove()}},[r,g,u,d,s,t]),{isMoving:g,onMouseDown:p,onMouseMove:C,onMouseUp:b,onWheel:y}}function sB(e){return new Promise(function(t){var r=document.createElement("img");r.onerror=function(){return t(!1)},r.onload=function(){return t(!0)},r.src=e})}function i4(e){var t=e.src,r=e.isCustomPlaceholder,n=e.fallback,o=a.useState(r?"loading":"normal"),i=ie(o,2),l=i[0],s=i[1],c=a.useRef(!1),u=l==="error";a.useEffect(function(){var g=!0;return sB(t).then(function(v){!v&&g&&s("error")}),function(){g=!1}},[t]),a.useEffect(function(){r&&!c.current?s("loading"):u&&s("normal")},[t]);var d=function(){s("normal")},f=function(v){c.current=!1,l==="loading"&&v!==null&&v!==void 0&&v.complete&&(v.naturalWidth||v.naturalHeight)&&(c.current=!0,d())},m=u&&n?{src:n}:{onLoad:d,src:t};return[f,m,l]}function Fs(e,t){var r=e.x-t.x,n=e.y-t.y;return Math.hypot(r,n)}function cB(e,t,r,n){var o=Fs(e,r),i=Fs(t,n);if(o===0&&i===0)return[e.x,e.y];var l=o/(o+i),s=e.x+l*(t.x-e.x),c=e.y+l*(t.y-e.y);return[s,c]}function uB(e,t,r,n,o,i,l){var s=o.rotate,c=o.scale,u=o.x,d=o.y,f=a.useState(!1),m=ie(f,2),g=m[0],v=m[1],h=a.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),p=function(x){h.current=K(K({},h.current),x)},C=function(x){if(t){x.stopPropagation(),v(!0);var $=x.touches,w=$===void 0?[]:$;w.length>1?p({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):p({point1:{x:w[0].clientX-u,y:w[0].clientY-d},eventType:"move"})}},b=function(x){var $=x.touches,w=$===void 0?[]:$,I=h.current,E=I.point1,O=I.point2,N=I.eventType;if(w.length>1&&N==="touchZoom"){var P={x:w[0].clientX,y:w[0].clientY},R={x:w[1].clientX,y:w[1].clientY},M=cB(E,O,P,R),D=ie(M,2),L=D[0],T=D[1],_=Fs(P,R)/Fs(E,O);l(_,"touchZoom",L,T,!0),p({point1:P,point2:R,eventType:"touchZoom"})}else N==="move"&&(i({x:w[0].clientX-E.x,y:w[0].clientY-E.y},"move"),p({eventType:"move"}))},y=function(){if(r){if(g&&v(!1),p({eventType:"none"}),n>c)return i({x:0,y:0,scale:n},"touchZoom");var x=e.current.offsetWidth*c,$=e.current.offsetHeight*c,w=e.current.getBoundingClientRect(),I=w.left,E=w.top,O=s%180!==0,N=a4(O?$:x,O?x:$,I,E);N&&i(K({},N),"dragRebound")}};return a.useEffect(function(){var S;return r&&t&&(S=Ur(window,"touchmove",function(x){return x.preventDefault()},{passive:!1})),function(){var x;(x=S)===null||x===void 0||x.remove()}},[r,t]),{isTouching:g,onTouchStart:C,onTouchMove:b,onTouchEnd:y}}var dB=["fallback","src","imgRef"],fB=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],mB=function(t){var r=t.fallback,n=t.src,o=t.imgRef,i=ut(t,dB),l=i4({src:n,fallback:r}),s=ie(l,2),c=s[0],u=s[1];return z.createElement("img",ve({ref:function(f){o.current=f,c(f)}},i,u))},l4=function(t){var r=t.prefixCls,n=t.src,o=t.alt,i=t.imageInfo,l=t.fallback,s=t.movable,c=s===void 0?!0:s,u=t.onClose,d=t.visible,f=t.icons,m=f===void 0?{}:f,g=t.rootClassName,v=t.closeIcon,h=t.getContainer,p=t.current,C=p===void 0?0:p,b=t.count,y=b===void 0?1:b,S=t.countRender,x=t.scaleStep,$=x===void 0?.5:x,w=t.minScale,I=w===void 0?1:w,E=t.maxScale,O=E===void 0?50:E,N=t.transitionName,P=N===void 0?"zoom":N,R=t.maskTransitionName,M=R===void 0?"fade":R,D=t.imageRender,L=t.imgCommonProps,T=t.toolbarRender,_=t.onTransform,j=t.onChange,H=ut(t,fB),k=a.useRef(),V=a.useContext(Ml),F=V&&y>1,q=V&&y>=1,W=a.useState(!0),J=ie(W,2),X=J[0],Z=J[1],ee=aB(k,I,O,_),ne=ee.transform,Y=ee.resetTransform,te=ee.updateTransform,Q=ee.dispatchZoomChange,U=lB(k,c,d,$,ne,te,Q),ae=U.isMoving,se=U.onMouseDown,oe=U.onWheel,re=uB(k,c,d,I,ne,te,Q),ce=re.isTouching,ue=re.onTouchStart,fe=re.onTouchMove,be=re.onTouchEnd,de=ne.rotate,he=ne.scale,Se=G(A({},"".concat(r,"-moving"),ae));a.useEffect(function(){X||Z(!0)},[X]);var $e=function(){Y("close")},Ne=function(){Q(za+$,"zoomIn")},xe=function(){Q(za/(za+$),"zoomOut")},Me=function(){te({rotate:de+90},"rotateRight")},Ee=function(){te({rotate:de-90},"rotateLeft")},Te=function(){te({flipX:!ne.flipX},"flipX")},Re=function(){te({flipY:!ne.flipY},"flipY")},Pe=function(){Y("reset")},me=function(Ze){Ze==null||Ze.preventDefault(),Ze==null||Ze.stopPropagation(),C>0&&(Z(!1),Y("prev"),j==null||j(C-1,C))},Ce=function(Ze){Ze==null||Ze.preventDefault(),Ze==null||Ze.stopPropagation(),C({position:e||"absolute",inset:0}),KB=e=>{const{iconCls:t,motionDurationSlow:r,paddingXXS:n,marginXXS:o,prefixCls:i,colorTextLightSolid:l}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:l,background:new Qt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${r}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},Mn),{padding:`0 ${B(n)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},qB=e=>{const{previewCls:t,modalMaskBg:r,paddingSM:n,marginXL:o,margin:i,paddingLG:l,previewOperationColorDisabled:s,previewOperationHoverColor:c,motionDurationSlow:u,iconCls:d,colorTextLightSolid:f}=e,m=new Qt(r).setAlpha(.1),g=m.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:f,backgroundColor:m.toRgbString(),borderRadius:"50%",padding:n,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:g.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${B(l)}`,backgroundColor:m.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:n,padding:n,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:c},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},GB=e=>{const{modalMaskBg:t,iconCls:r,previewOperationColorDisabled:n,previewCls:o,zIndexPopup:i,motionDurationSlow:l}=e,s=new Qt(t).setAlpha(.1),c=s.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${l}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:n,background:"transparent",cursor:"not-allowed",[`> ${r}`]:{cursor:"not-allowed"}}},[`> ${r}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},XB=e=>{const{motionEaseOut:t,previewCls:r,motionDurationSlow:n,componentCls:o}=e;return[{[`${o}-preview-root`]:{[r]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${r}-body`]:Object.assign(Object.assign({},If()),{overflow:"hidden"}),[`${r}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${n} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},If()),{transition:`transform ${n} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${r}-moving`]:{[`${r}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${r}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[qB(e),GB(e)]}]},UB=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},KB(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},If())}}},YB=e=>{const{previewCls:t}=e;return{[`${t}-root`]:ui(e,"zoom"),"&":dc(e,!0)}},ZB=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Qt(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Qt(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Qt(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),s4=Et("Image",e=>{const t=`${e.componentCls}-preview`,r=xt(e,{previewCls:t,modalMaskBg:new Qt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[UB(r),XB(r),F2(xt(r,{componentCls:t})),YB(r)]},ZB);var QB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{previewPrefixCls:t,preview:r}=e,n=QB(e,["previewPrefixCls","preview"]);const{getPrefixCls:o}=a.useContext(ke),i=o("image",t),l=`${i}-preview`,s=o(),c=Ut(i),[u,d,f]=s4(i,c),[m]=or("ImagePreview",typeof r=="object"?r.zIndex:void 0),g=a.useMemo(()=>{var v;if(r===!1)return r;const h=typeof r=="object"?r:{},p=G(d,f,c,(v=h.rootClassName)!==null&&v!==void 0?v:"");return Object.assign(Object.assign({},h),{transitionName:kn(s,"zoom",h.transitionName),maskTransitionName:kn(s,"fade",h.maskTransitionName),rootClassName:p,zIndex:m})},[r]);return u(a.createElement(gm.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:c4},n)))},eA=JB;var rp=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:r,preview:n,className:o,rootClassName:i,style:l}=e,s=rp(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:u=$r,getPopupContainer:d,image:f}=a.useContext(ke),m=c("image",r),g=c(),v=u.Image||$r.Image,h=Ut(m),[p,C,b]=s4(m,h),y=G(i,C,b,h),S=G(o,C,f==null?void 0:f.className),[x]=or("ImagePreview",typeof n=="object"?n.zIndex:void 0),$=a.useMemo(()=>{var I;if(n===!1)return n;const E=typeof n=="object"?n:{},{getContainer:O,closeIcon:N}=E,P=rp(E,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:a.createElement("div",{className:`${m}-mask-info`},a.createElement(sm,null),v==null?void 0:v.preview),icons:c4},P),{getContainer:O!=null?O:d,transitionName:kn(g,"zoom",E.transitionName),maskTransitionName:kn(g,"fade",E.maskTransitionName),zIndex:x,closeIcon:N!=null?N:(I=f==null?void 0:f.preview)===null||I===void 0?void 0:I.closeIcon})},[n,v,(t=f==null?void 0:f.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},f==null?void 0:f.style),l);return p(a.createElement(gm,Object.assign({prefixCls:m,preview:$,rootClassName:y,className:S,style:w},s)))};vm.PreviewGroup=eA;function tA(e,t,r){return typeof r=="boolean"?r:e.length?!0:sn(t).some(o=>o.type===nC)}const nA=e=>{const{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:o,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:i,background:o},[`${t}-sider-zero-width-trigger`]:{color:i,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}},rA=e=>{const{antCls:t,componentCls:r,colorText:n,triggerColor:o,footerBg:i,triggerBg:l,headerHeight:s,headerPadding:c,headerColor:u,footerPadding:d,triggerHeight:f,zeroTriggerHeight:m,zeroTriggerWidth:g,motionDurationMid:v,motionDurationSlow:h,fontSize:p,borderRadius:C,bodyBg:b,headerBg:y,siderBg:S}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:b,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:S,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:o,lineHeight:B(f),textAlign:"center",background:l,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(g).mul(-1).equal(),zIndex:1,width:g,height:m,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:S,borderStartStartRadius:0,borderStartEndRadius:C,borderEndEndRadius:C,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(g).mul(-1).equal(),borderStartStartRadius:C,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:C}}}}},nA(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:s,padding:c,color:u,lineHeight:B(s),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:d,color:n,fontSize:p,background:i},[`${r}-content`]:{flex:"auto",color:n,minHeight:0}}},oA=e=>{const{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:o,controlHeightSM:i,marginXXS:l,colorTextLightSolid:s,colorBgContainer:c}=e,u=n*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:r*2,headerPadding:`0 ${u}px`,headerColor:o,footerPadding:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+l*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:o}},u4=Et("Layout",e=>[rA(e)],oA,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var d4=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oa.forwardRef((l,s)=>a.createElement(o,Object.assign({ref:s,suffixCls:t,tagName:r},l)))}const pm=a.forwardRef((e,t)=>{const{prefixCls:r,suffixCls:n,className:o,tagName:i}=e,l=d4(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=a.useContext(ke),c=s("layout",r),[u,d,f]=u4(c),m=n?`${c}-${n}`:c;return u(a.createElement(i,Object.assign({className:G(r||m,o,d,f),ref:t},l)))}),aA=a.forwardRef((e,t)=>{const{direction:r}=a.useContext(ke),[n,o]=a.useState([]),{prefixCls:i,className:l,rootClassName:s,children:c,hasSider:u,tagName:d,style:f}=e,m=d4(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),g=Xt(m,["suffixCls"]),{getPrefixCls:v,layout:h}=a.useContext(ke),p=v("layout",i),C=tA(n,c,u),[b,y,S]=u4(p),x=G(p,{[`${p}-has-sider`]:C,[`${p}-rtl`]:r==="rtl"},h==null?void 0:h.className,l,s,y,S),$=a.useMemo(()=>({siderHook:{addSider:w=>{o(I=>[].concat(ye(I),[w]))},removeSider:w=>{o(I=>I.filter(E=>E!==w))}}}),[]);return b(a.createElement(tC.Provider,{value:$},a.createElement(d,Object.assign({ref:t,className:x,style:Object.assign(Object.assign({},h==null?void 0:h.style),f)},g),c)))}),iA=Zc({tagName:"div",displayName:"Layout"})(aA),lA=Zc({suffixCls:"header",tagName:"header",displayName:"Header"})(pm),sA=Zc({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(pm),cA=Zc({suffixCls:"content",tagName:"main",displayName:"Content"})(pm),ao=iA;ao.Header=lA;ao.Footer=sA;ao.Content=cA;ao.Sider=nC;ao._InternalSiderContext=Nc;const uA=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const o=r[n];o!==void 0&&(e[n]=o)})}return e},f4=uA;var dA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const fA=dA;var mA=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:fA}))},gA=a.forwardRef(mA);const op=gA;var vA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const pA=vA;var hA=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:pA}))},CA=a.forwardRef(hA);const ap=CA;var bA={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},yA=["10","20","50","100"],SA=function(t){var r=t.pageSizeOptions,n=r===void 0?yA:r,o=t.locale,i=t.changeSize,l=t.pageSize,s=t.goButton,c=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,f=t.selectPrefixCls,m=t.disabled,g=t.buildOptionText,v=z.useState(""),h=ie(v,2),p=h[0],C=h[1],b=function(){return!p||Number.isNaN(p)?void 0:Number(p)},y=typeof g=="function"?g:function(M){return"".concat(M," ").concat(o.items_per_page)},S=function(D){i==null||i(Number(D))},x=function(D){C(D.target.value)},$=function(D){s||p===""||(C(""),!(D.relatedTarget&&(D.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||D.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(b())))},w=function(D){p!==""&&(D.keyCode===we.ENTER||D.type==="click")&&(C(""),c==null||c(b()))},I=function(){return n.some(function(D){return D.toString()===l.toString()})?n:n.concat([l.toString()]).sort(function(D,L){var T=Number.isNaN(Number(D))?0:Number(D),_=Number.isNaN(Number(L))?0:Number(L);return T-_})},E="".concat(u,"-options");if(!i&&!c)return null;var O=null,N=null,P=null;if(i&&d){var R=I().map(function(M,D){return z.createElement(d.Option,{key:D,value:M.toString()},y(M))});O=z.createElement(d,{disabled:m,prefixCls:f,showSearch:!1,className:"".concat(E,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(l||n[0]).toString(),onChange:S,getPopupContainer:function(D){return D.parentNode},"aria-label":o.page_size,defaultOpen:!1},R)}return c&&(s&&(P=typeof s=="boolean"?z.createElement("button",{type:"button",onClick:w,onKeyUp:w,disabled:m,className:"".concat(E,"-quick-jumper-button")},o.jump_to_confirm):z.createElement("span",{onClick:w,onKeyUp:w},s)),N=z.createElement("div",{className:"".concat(E,"-quick-jumper")},o.jump_to,z.createElement("input",{disabled:m,type:"text",value:p,onChange:x,onKeyUp:w,onBlur:$,"aria-label":o.page}),o.page,P)),z.createElement("li",{className:E},O,N)},Di=function(t){var r,n=t.rootPrefixCls,o=t.page,i=t.active,l=t.className,s=t.showTitle,c=t.onClick,u=t.onKeyPress,d=t.itemRender,f="".concat(n,"-item"),m=G(f,"".concat(f,"-").concat(o),(r={},A(r,"".concat(f,"-active"),i),A(r,"".concat(f,"-disabled"),!o),r),l),g=function(){c(o)},v=function(C){u(C,c,o)},h=d(o,"page",z.createElement("a",{rel:"nofollow"},o));return h?z.createElement("li",{title:s?String(o):null,className:m,onClick:g,onKeyDown:v,tabIndex:0},h):null},xA=function(t,r,n){return n};function ip(){}function lp(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Yo(e,t,r){var n=typeof e=="undefined"?t:e;return Math.floor((r-1)/n)+1}var $A=function(t){var r,n=t.prefixCls,o=n===void 0?"rc-pagination":n,i=t.selectPrefixCls,l=i===void 0?"rc-select":i,s=t.className,c=t.selectComponentClass,u=t.current,d=t.defaultCurrent,f=d===void 0?1:d,m=t.total,g=m===void 0?0:m,v=t.pageSize,h=t.defaultPageSize,p=h===void 0?10:h,C=t.onChange,b=C===void 0?ip:C,y=t.hideOnSinglePage,S=t.align,x=t.showPrevNextJumpers,$=x===void 0?!0:x,w=t.showQuickJumper,I=t.showLessItems,E=t.showTitle,O=E===void 0?!0:E,N=t.onShowSizeChange,P=N===void 0?ip:N,R=t.locale,M=R===void 0?bA:R,D=t.style,L=t.totalBoundaryShowSizeChanger,T=L===void 0?50:L,_=t.disabled,j=t.simple,H=t.showTotal,k=t.showSizeChanger,V=t.pageSizeOptions,F=t.itemRender,q=F===void 0?xA:F,W=t.jumpPrevIcon,J=t.jumpNextIcon,X=t.prevIcon,Z=t.nextIcon,ee=z.useRef(null),ne=Ot(10,{value:v,defaultValue:p}),Y=ie(ne,2),te=Y[0],Q=Y[1],U=Ot(1,{value:u,defaultValue:f,postState:function(St){return Math.max(1,Math.min(St,Yo(void 0,te,g)))}}),ae=ie(U,2),se=ae[0],oe=ae[1],re=z.useState(se),ce=ie(re,2),ue=ce[0],fe=ce[1];a.useEffect(function(){fe(se)},[se]);var be=Math.max(1,se-(I?3:5)),de=Math.min(Yo(void 0,te,g),se+(I?3:5));function he(pt,St){var It=pt||z.createElement("button",{type:"button","aria-label":St,className:"".concat(o,"-item-link")});return typeof pt=="function"&&(It=z.createElement(pt,K({},t))),It}function Se(pt){var St=pt.target.value,It=Yo(void 0,te,g),rn;return St===""?rn=St:Number.isNaN(Number(St))?rn=ue:St>=It?rn=It:rn=Number(St),rn}function $e(pt){return lp(pt)&&pt!==se&&lp(g)&&g>0}var Ne=g>te?w:!1;function xe(pt){(pt.keyCode===we.UP||pt.keyCode===we.DOWN)&&pt.preventDefault()}function Me(pt){var St=Se(pt);switch(St!==ue&&fe(St),pt.keyCode){case we.ENTER:Re(St);break;case we.UP:Re(St-1);break;case we.DOWN:Re(St+1);break}}function Ee(pt){Re(Se(pt))}function Te(pt){var St=Yo(pt,te,g),It=se>St&&St!==0?St:se;Q(pt),fe(It),P==null||P(se,pt),oe(It),b==null||b(It,pt)}function Re(pt){if($e(pt)&&!_){var St=Yo(void 0,te,g),It=pt;return pt>St?It=St:pt<1&&(It=1),It!==ue&&fe(It),oe(It),b==null||b(It,te),It}return se}var Pe=se>1,me=seT;function pe(){Pe&&Re(se-1)}function ge(){me&&Re(se+1)}function Ie(){Re(be)}function nt(){Re(de)}function Ve(pt,St){if(pt.key==="Enter"||pt.charCode===we.ENTER||pt.keyCode===we.ENTER){for(var It=arguments.length,rn=new Array(It>2?It-2:0),gn=2;gng?g:se*te])),Ue=null,_e=Yo(void 0,te,g);if(y&&g<=te)return null;var Be=[],Je={rootPrefixCls:o,onClick:Re,onKeyPress:Ve,showTitle:O,itemRender:q,page:-1},dt=se-1>0?se-1:0,it=se+1<_e?se+1:_e,qe=w&&w.goButton,Ae=bt(j)==="object"?j.readOnly:!j,Ge=qe,Ye=null;j&&(qe&&(typeof qe=="boolean"?Ge=z.createElement("button",{type:"button",onClick:We,onKeyUp:We},M.jump_to_confirm):Ge=z.createElement("span",{onClick:We,onKeyUp:We},qe),Ge=z.createElement("li",{title:O?"".concat(M.jump_to).concat(se,"/").concat(_e):null,className:"".concat(o,"-simple-pager")},Ge)),Ye=z.createElement("li",{title:O?"".concat(se,"/").concat(_e):null,className:"".concat(o,"-simple-pager")},Ae?ue:z.createElement("input",{type:"text",value:ue,disabled:_,onKeyDown:xe,onKeyUp:Me,onChange:Me,onBlur:Ee,size:3}),z.createElement("span",{className:"".concat(o,"-slash")},"/"),_e));var tt=I?1:2;if(_e<=3+tt*2){_e||Be.push(z.createElement(Di,ve({},Je,{key:"noPager",page:1,className:"".concat(o,"-item-disabled")})));for(var mt=1;mt<=_e;mt+=1)Be.push(z.createElement(Di,ve({},Je,{key:mt,page:mt,active:se===mt})))}else{var lt=I?M.prev_3:M.prev_5,ft=I?M.next_3:M.next_5,gt=q(be,"jump-prev",he(W,"prev page")),et=q(de,"jump-next",he(J,"next page"));$&&(He=gt?z.createElement("li",{title:O?lt:null,key:"prev",onClick:Ie,tabIndex:0,onKeyDown:Ke,className:G("".concat(o,"-jump-prev"),A({},"".concat(o,"-jump-prev-custom-icon"),!!W))},gt):null,Ue=et?z.createElement("li",{title:O?ft:null,key:"next",onClick:nt,tabIndex:0,onKeyDown:Qe,className:G("".concat(o,"-jump-next"),A({},"".concat(o,"-jump-next-custom-icon"),!!J))},et):null);var rt=Math.max(1,se-tt),Fe=Math.min(se+tt,_e);se-1<=tt&&(Fe=1+tt*2),_e-se<=tt&&(rt=_e-tt*2);for(var je=rt;je<=Fe;je+=1)Be.push(z.createElement(Di,ve({},Je,{key:je,page:je,active:se===je})));if(se-1>=tt*2&&se!==3&&(Be[0]=z.cloneElement(Be[0],{className:G("".concat(o,"-item-after-jump-prev"),Be[0].props.className)}),Be.unshift(He)),_e-se>=tt*2&&se!==_e-2){var st=Be[Be.length-1];Be[Be.length-1]=z.cloneElement(st,{className:G("".concat(o,"-item-before-jump-next"),st.props.className)}),Be.push(Ue)}rt!==1&&Be.unshift(z.createElement(Di,ve({},Je,{key:1,page:1}))),Fe!==_e&&Be.push(z.createElement(Di,ve({},Je,{key:_e,page:_e})))}var Ct=ot(dt);if(Ct){var Nt=!Pe||!_e;Ct=z.createElement("li",{title:O?M.prev_page:null,onClick:pe,tabIndex:Nt?null:0,onKeyDown:Ze,className:G("".concat(o,"-prev"),A({},"".concat(o,"-disabled"),Nt)),"aria-disabled":Nt},Ct)}var Vt=Xe(it);if(Vt){var Kt,qt;j?(Kt=!me,qt=Pe?0:null):(Kt=!me||!_e,qt=Kt?null:0),Vt=z.createElement("li",{title:O?M.next_page:null,onClick:ge,tabIndex:qt,onKeyDown:De,className:G("".concat(o,"-next"),A({},"".concat(o,"-disabled"),Kt)),"aria-disabled":Kt},Vt)}var Gt=G(o,s,(r={},A(r,"".concat(o,"-start"),S==="start"),A(r,"".concat(o,"-center"),S==="center"),A(r,"".concat(o,"-end"),S==="end"),A(r,"".concat(o,"-simple"),j),A(r,"".concat(o,"-disabled"),_),r));return z.createElement("ul",ve({className:Gt,style:D,ref:ee},at),Le,Ct,j?Ye:Be,Vt,z.createElement(SA,{locale:M,rootPrefixCls:o,disabled:_,selectComponentClass:c,selectPrefixCls:l,changeSize:Ce?Te:null,pageSize:te,pageSizeOptions:V,quickGo:Ne?Re:null,goButton:Ge}))};const m4=e=>a.createElement(jn,Object.assign({},e,{showSearch:!0,size:"small"})),g4=e=>a.createElement(jn,Object.assign({},e,{showSearch:!0,size:"middle"}));m4.Option=jn.Option;g4.Option=jn.Option;const wA=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},EA=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:B(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:B(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:B(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` &${t}-mini ${t}-prev ${t}-item-link, &${t}-mini ${t}-next ${t}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:B(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:B(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:B(e.itemSizeSM),input:Object.assign(Object.assign({},U1(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},IA=e=>{const{componentCls:t}=e;return{[` @@ -297,8 +297,8 @@ html body { ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:B(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${B(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:B(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},ca(e)),X1(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},wl(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},PA=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:B(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${B(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${B(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},NA=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:B(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),PA(e)),OA(e)),IA(e)),EA(e)),wA(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},MA=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},wr(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},_o(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},_o(e))}}}},v4=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},pi(e)),p4=e=>xt(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},vi(e)),RA=Et("Pagination",e=>{const t=p4(e);return[NA(t),MA(t)]},v4),TA=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},LA=ma(["Pagination","bordered"],e=>{const t=p4(e);return[TA(t)]},v4);var DA=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{align:t,prefixCls:r,selectPrefixCls:n,className:o,rootClassName:i,style:l,size:s,locale:c,selectComponentClass:u,responsive:d,showSizeChanger:f}=e,m=DA(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:g}=di(d),[,v]=zn(),{getPrefixCls:h,direction:p,pagination:C={}}=a.useContext(ke),b=h("pagination",r),[y,S,x]=RA(b),$=f!=null?f:C.showSizeChanger,w=a.useMemo(()=>{const D=a.createElement("span",{className:`${b}-item-ellipsis`},"•••"),L=a.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},p==="rtl"?a.createElement(eo,null):a.createElement(ko,null)),T=a.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},p==="rtl"?a.createElement(ko,null):a.createElement(eo,null)),_=a.createElement("a",{className:`${b}-item-link`},a.createElement("div",{className:`${b}-item-container`},p==="rtl"?a.createElement(ap,{className:`${b}-item-link-icon`}):a.createElement(op,{className:`${b}-item-link-icon`}),D)),j=a.createElement("a",{className:`${b}-item-link`},a.createElement("div",{className:`${b}-item-container`},p==="rtl"?a.createElement(op,{className:`${b}-item-link-icon`}):a.createElement(ap,{className:`${b}-item-link-icon`}),D));return{prevIcon:L,nextIcon:T,jumpPrevIcon:_,jumpNextIcon:j}},[p,b]),[I]=Ln("Pagination",B7),E=Object.assign(Object.assign({},I),c),O=un(s),N=O==="small"||!!(g&&!O&&d),P=h("select",n),R=G({[`${b}-${t}`]:!!t,[`${b}-mini`]:N,[`${b}-rtl`]:p==="rtl",[`${b}-bordered`]:v.wireframe},C==null?void 0:C.className,o,i,S,x),M=Object.assign(Object.assign({},C==null?void 0:C.style),l);return y(a.createElement(a.Fragment,null,v.wireframe&&a.createElement(LA,{prefixCls:b}),a.createElement($A,Object.assign({},w,m,{style:M,prefixCls:b,selectPrefixCls:P,className:R,selectComponentClass:u||(N?m4:g4),locale:E,showSizeChanger:$}))))},Qc=_A,Vs=100,h4=Vs/5,C4=Vs/2-h4/2,id=C4*2*Math.PI,sp=50,cp=e=>{const{dotClassName:t,style:r,hasCircleCls:n}=e;return a.createElement("circle",{className:G(`${t}-circle`,{[`${t}-circle-bg`]:n}),r:C4,cx:sp,cy:sp,strokeWidth:h4,style:r})},kA=e=>{let{percent:t,prefixCls:r}=e;const n=`${r}-dot`,o=`${n}-holder`,i=`${o}-hidden`,[l,s]=a.useState(!1);_t(()=>{t!==0&&s(!0)},[t!==0]);const c=Math.max(Math.min(t,100),0);if(!l)return null;const u={strokeDashoffset:`${id/4}`,strokeDasharray:`${id*c/100} ${id*(100-c)/100}`};return a.createElement("span",{className:G(o,`${n}-progress`,c<=0&&i)},a.createElement("svg",{viewBox:`0 0 ${Vs} ${Vs}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},a.createElement(cp,{dotClassName:n,hasCircleCls:!0}),a.createElement(cp,{dotClassName:n,style:u})))},jA=kA;function HA(e){const{prefixCls:t,percent:r=0}=e,n=`${t}-dot`,o=`${n}-holder`,i=`${o}-hidden`;return a.createElement(a.Fragment,null,a.createElement("span",{className:G(o,r>0&&i)},a.createElement("span",{className:G(n,`${t}-dot-spin`)},[1,2,3,4].map(l=>a.createElement("i",{className:`${t}-dot-item`,key:l})))),a.createElement(jA,{prefixCls:t,percent:r}))}function zA(e){const{prefixCls:t,indicator:r,percent:n}=e,o=`${t}-dot`;return r&&a.isValidElement(r)?cn(r,{className:G(r.props.className,o),percent:n}):a.createElement(HA,{prefixCls:t,percent:n})}const BA=new Ht("antSpinMove",{to:{opacity:1}}),AA=new Ht("antRotate",{to:{transform:"rotate(405deg)"}}),FA=e=>{const{componentCls:t,calc:r}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:r(r(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:r(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:r(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:r(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:r(r(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:r(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:r(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:r(r(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:r(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:r(e.dotSize).sub(r(e.marginXXS).div(2)).div(2).equal(),height:r(e.dotSize).sub(r(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:BA,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:AA,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(n=>`${n} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:r(r(e.dotSizeSM).sub(r(e.marginXXS).div(2))).div(2).equal(),height:r(r(e.dotSizeSM).sub(r(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:r(r(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:r(r(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},VA=e=>{const{controlHeightLG:t,controlHeight:r}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:r}},WA=Et("Spin",e=>{const t=xt(e,{spinDotDefault:e.colorTextDescription});return[FA(t)]},VA),KA=200,up=[[30,.05],[70,.03],[96,.01]];function qA(e,t){const[r,n]=a.useState(0),o=a.useRef(),i=t==="auto";return a.useEffect(()=>(i&&e&&(n(0),o.current=setInterval(()=>{n(l=>{const s=100-l;for(let c=0;c{clearInterval(o.current)}),[i,e]),i?r:t}var GA=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:r,spinning:n=!0,delay:o=0,className:i,rootClassName:l,size:s="default",tip:c,wrapperClassName:u,style:d,children:f,fullscreen:m=!1,indicator:g,percent:v}=e,h=GA(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:p,direction:C,spin:b}=a.useContext(ke),y=p("spin",r),[S,x,$]=WA(y),[w,I]=a.useState(()=>n&&!XA(n,o)),E=qA(w,v);a.useEffect(()=>{if(n){const L=vC(o,()=>{I(!0)});return L(),()=>{var T;(T=L==null?void 0:L.cancel)===null||T===void 0||T.call(L)}}I(!1)},[o,n]);const O=a.useMemo(()=>typeof f!="undefined"&&!m,[f,m]),N=G(y,b==null?void 0:b.className,{[`${y}-sm`]:s==="small",[`${y}-lg`]:s==="large",[`${y}-spinning`]:w,[`${y}-show-text`]:!!c,[`${y}-rtl`]:C==="rtl"},i,!m&&l,x,$),P=G(`${y}-container`,{[`${y}-blur`]:w}),R=(t=g!=null?g:b==null?void 0:b.indicator)!==null&&t!==void 0?t:b4,M=Object.assign(Object.assign({},b==null?void 0:b.style),d),D=a.createElement("div",Object.assign({},h,{style:M,className:N,"aria-live":"polite","aria-busy":w}),a.createElement(zA,{prefixCls:y,indicator:R,percent:E}),c&&(O||m)?a.createElement("div",{className:`${y}-text`},c):null);return S(O?a.createElement("div",Object.assign({},h,{className:G(`${y}-nested-loading`,u,x,$)}),w&&a.createElement("div",{key:"loading"},D),a.createElement("div",{className:P,key:"container"},f)):m?a.createElement("div",{className:G(`${y}-fullscreen`,{[`${y}-fullscreen-show`]:w},l,x,$)},D):D)};jo.setDefaultIndicator=e=>{b4=e};const hm=z.createContext({});hm.Consumer;var y4=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:r,avatar:n,title:o,description:i}=e,l=y4(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=a.useContext(ke),c=s("list",t),u=G(`${c}-item-meta`,r),d=z.createElement("div",{className:`${c}-item-meta-content`},o&&z.createElement("h4",{className:`${c}-item-meta-title`},o),i&&z.createElement("div",{className:`${c}-item-meta-description`},i));return z.createElement("div",Object.assign({},l,{className:u}),n&&z.createElement("div",{className:`${c}-item-meta-avatar`},n),(o||i)&&d)},YA=z.forwardRef((e,t)=>{const{prefixCls:r,children:n,actions:o,extra:i,styles:l,className:s,classNames:c,colStyle:u}=e,d=y4(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:m}=a.useContext(hm),{getPrefixCls:g,list:v}=a.useContext(ke),h=w=>{var I,E;return G((E=(I=v==null?void 0:v.item)===null||I===void 0?void 0:I.classNames)===null||E===void 0?void 0:E[w],c==null?void 0:c[w])},p=w=>{var I,E;return Object.assign(Object.assign({},(E=(I=v==null?void 0:v.item)===null||I===void 0?void 0:I.styles)===null||E===void 0?void 0:E[w]),l==null?void 0:l[w])},C=()=>{let w=!1;return a.Children.forEach(n,I=>{typeof I=="string"&&(w=!0)}),w&&a.Children.count(n)>1},b=()=>m==="vertical"?!!i:!C(),y=g("list",r),S=o&&o.length>0&&z.createElement("ul",{className:G(`${y}-item-action`,h("actions")),key:"actions",style:p("actions")},o.map((w,I)=>z.createElement("li",{key:`${y}-item-action-${I}`},w,I!==o.length-1&&z.createElement("em",{className:`${y}-item-action-split`})))),x=f?"div":"li",$=z.createElement(x,Object.assign({},d,f?{}:{ref:t},{className:G(`${y}-item`,{[`${y}-item-no-flex`]:!b()},s)}),m==="vertical"&&i?[z.createElement("div",{className:`${y}-item-main`,key:"content"},n,S),z.createElement("div",{className:G(`${y}-item-extra`,h("extra")),key:"extra",style:p("extra")},i)]:[n,S,cn(i,{key:"extra"})]);return f?z.createElement(Qs,{ref:t,flex:1,style:u},$):$}),S4=YA;S4.Meta=UA;const ZA=S4,QA=e=>{const{listBorderedCls:t,componentCls:r,paddingLG:n,margin:o,itemPaddingSM:i,itemPaddingLG:l,marginLG:s,borderRadiusLG:c}=e;return{[t]:{border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${r}-header,${r}-footer,${r}-item`]:{paddingInline:n},[`${r}-pagination`]:{margin:`${B(o)} ${B(s)}`}},[`${t}${r}-sm`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:i}},[`${t}${r}-lg`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:l}}}},JA=e=>{const{componentCls:t,screenSM:r,screenMD:n,marginLG:o,marginSM:i,margin:l}=e;return{[`@media screen and (max-width:${n}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${r}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${B(l)}`}}}}}},eF=e=>{const{componentCls:t,antCls:r,controlHeight:n,minHeight:o,paddingSM:i,marginLG:l,padding:s,itemPadding:c,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:f,paddingXS:m,margin:g,colorText:v,colorTextDescription:h,motionDurationSlow:p,lineWidth:C,headerBg:b,footerBg:y,emptyTextPadding:S,metaMarginBottom:x,avatarMarginRight:$,titleMarginBottom:w,descriptionFontSize:I}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:l,[`${r}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:v,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:$},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:v},[`${t}-item-meta-title`]:{margin:`0 0 ${B(e.marginXXS)} 0`,color:v,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:v,transition:`all ${p}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:h,fontSize:I,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${B(m)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:C,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${B(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:S,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${r}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:g,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:l},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:w,color:v,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${B(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:n},[`${t}-split${t}-something-after-last-item ${r}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:f},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},tF=e=>({contentWidth:220,itemPadding:`${B(e.paddingContentVertical)} 0`,itemPaddingSM:`${B(e.paddingContentVerticalSM)} ${B(e.paddingContentHorizontal)}`,itemPaddingLG:`${B(e.paddingContentVerticalLG)} ${B(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),nF=Et("List",e=>{const t=xt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[eF(t),QA(t),JA(t)]},tF);var rF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o(fe,be)=>{var de;w(fe),E(be),t&&((de=t==null?void 0:t[ue])===null||de===void 0||de.call(t,fe,be))},L=D("onChange"),T=D("onShowSizeChange"),_=(ue,fe)=>{if(!b)return null;let be;return typeof C=="function"?be=C(ue):C?be=ue[C]:be=ue.key,be||(be=`list-item-${fe}`),a.createElement(a.Fragment,{key:be},b(ue,fe))},j=()=>!!(d||t||h),H=O("list",r),[k,V,F]=nF(H);let q=p;typeof q=="boolean"&&(q={spinning:q});const W=!!(q!=null&&q.spinning),J=un(g);let X="";switch(J){case"large":X="lg";break;case"small":X="sm";break}const Z=G(H,{[`${H}-vertical`]:u==="vertical",[`${H}-${X}`]:X,[`${H}-split`]:o,[`${H}-bordered`]:n,[`${H}-loading`]:W,[`${H}-grid`]:!!f,[`${H}-something-after-last-item`]:j(),[`${H}-rtl`]:P==="rtl"},R==null?void 0:R.className,i,l,V,F),ee=f4(M,{total:m.length,current:$,pageSize:I},t||{}),ne=Math.ceil(ee.total/ee.pageSize);ee.current>ne&&(ee.current=ne);const Y=t&&a.createElement("div",{className:G(`${H}-pagination`)},a.createElement(Qc,Object.assign({align:"end"},ee,{onChange:L,onShowSizeChange:T})));let te=ye(m);t&&m.length>(ee.current-1)*ee.pageSize&&(te=ye(m).splice((ee.current-1)*ee.pageSize,ee.pageSize));const Q=Object.keys(f||{}).some(ue=>["xs","sm","md","lg","xl","xxl"].includes(ue)),U=di(Q),ae=a.useMemo(()=>{for(let ue=0;ue{if(!f)return;const ue=ae&&f[ae]?f[ae]:f.column;if(ue)return{width:`${100/ue}%`,maxWidth:`${100/ue}%`}},[JSON.stringify(f),ae]);let oe=W&&a.createElement("div",{style:{minHeight:53}});if(te.length>0){const ue=te.map((fe,be)=>_(fe,be));oe=f?a.createElement(Xf,{gutter:f.gutter},a.Children.map(ue,fe=>a.createElement("div",{key:fe==null?void 0:fe.key,style:se},fe))):a.createElement("ul",{className:`${H}-items`},ue)}else!c&&!W&&(oe=a.createElement("div",{className:`${H}-empty-text`},(y==null?void 0:y.emptyText)||(N==null?void 0:N("List"))||a.createElement(Ao,{componentName:"List"})));const re=ee.position||"bottom",ce=a.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return k(a.createElement(hm.Provider,{value:ce},a.createElement("div",Object.assign({style:Object.assign(Object.assign({},R==null?void 0:R.style),s),className:Z},S),(re==="top"||re==="both")&&Y,v&&a.createElement("div",{className:`${H}-header`},v),a.createElement(jo,Object.assign({},q),oe,c),h&&a.createElement("div",{className:`${H}-footer`},h),d||(re==="bottom"||re==="both")&&Y)))}Cm.Item=ZA;function oF(){var e=a.useState({id:0,callback:null}),t=ie(e,2),r=t[0],n=t[1],o=a.useCallback(function(i){n(function(l){var s=l.id;return{id:s+1,callback:i}})},[]);return a.useEffect(function(){var i;(i=r.callback)===null||i===void 0||i.call(r)},[r]),o}var x4=a.createContext(null);function aF(e){var t=a.useContext(x4),r=t.notFoundContent,n=t.activeIndex,o=t.setActiveIndex,i=t.selectOption,l=t.onFocus,s=t.onBlur,c=e.prefixCls,u=e.options,d=u[n]||{};return a.createElement(Ca,{prefixCls:"".concat(c,"-menu"),activeKey:d.key,onSelect:function(m){var g=m.key,v=u.find(function(h){var p=h.key;return p===g});i(v)},onFocus:l,onBlur:s},u.map(function(f,m){var g=f.key,v=f.disabled,h=f.className,p=f.style,C=f.label;return a.createElement(la,{key:g,disabled:v,className:h,style:p,onMouseEnter:function(){o(m)}},C)}),!u.length&&a.createElement(la,{disabled:!0},r))}var iF={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},lF=function(t){var r=t.prefixCls,n=t.options,o=t.children,i=t.visible,l=t.transitionName,s=t.getPopupContainer,c=t.dropdownClassName,u=t.direction,d=t.placement,f="".concat(r,"-dropdown"),m=a.createElement(aF,{prefixCls:f,options:n}),g=a.useMemo(function(){var v;return u==="rtl"?v=d==="top"?"topLeft":"bottomLeft":v=d==="top"?"topRight":"bottomRight",v},[u,d]);return a.createElement(ha,{prefixCls:f,popupVisible:i,popup:m,popupPlacement:g,popupTransitionName:l,builtinPlacements:iF,getPopupContainer:s,popupClassName:c},o)},sF=function(){return null};function cF(e){var t=e.selectionStart;return e.value.slice(0,t)}function uF(e,t){return t.reduce(function(r,n){var o=e.lastIndexOf(n);return o>r.location?{location:o,prefix:n}:r},{location:-1,prefix:""})}function dp(e){return(e||"").toLowerCase()}function dF(e,t,r){var n=e[0];if(!n||n===r)return e;for(var o=e,i=t.length,l=0;l=0)return[!0,"",qe,Ae]}return[Z,te,se,ue]},[h,Z,k,Re,te,se,ue]),Ce=ie(me,4),pe=Ce[0],ge=Ce[1],Ie=Ce[2],nt=Ce[3],Ve=z.useCallback(function(it){var qe;return v&&v.length>0?qe=v.map(function(Ae){var Ge;return K(K({},Ae),{},{key:(Ge=Ae==null?void 0:Ae.key)!==null&&Ge!==void 0?Ge:Ae.value})}):qe=sn(g).map(function(Ae){var Ge=Ae.props,Ye=Ae.key;return K(K({},Ge),{},{label:Ge.children,key:Ye||Ge.value})}),qe.filter(function(Ae){return S===!1?!0:S(it,Ae)})},[g,v,S]),Ze=z.useMemo(function(){return Ve(ge)},[Ve,ge]),De=oF(),Ke=function(qe,Ae,Ge){ee(!0),Q(qe),oe(Ae),fe(Ge),Se(0)},Qe=function(qe){ee(!1),fe(0),Q(""),De(qe)},ot=function(qe){Pe(qe),x==null||x(qe)},Xe=function(qe){var Ae=qe.target.value;ot(Ae)},We=function(qe){var Ae,Ge=qe.value,Ye=Ge===void 0?"":Ge,tt=fF(Re,{measureLocation:nt,targetText:Ye,prefix:Ie,selectionStart:(Ae=W())===null||Ae===void 0?void 0:Ae.selectionStart,split:c}),mt=tt.text,lt=tt.selectionLocation;ot(mt),Qe(function(){mF(W(),lt)}),O==null||O(qe,Ie)},He=function(qe){var Ae=qe.which;if($==null||$(qe),!!pe){if(Ae===we.UP||Ae===we.DOWN){var Ge=Ze.length,Ye=Ae===we.UP?-1:1,tt=(he+Ye+Ge)%Ge;Se(tt),qe.preventDefault()}else if(Ae===we.ESC)Qe();else if(Ae===we.ENTER){if(qe.preventDefault(),p)return;if(!Ze.length){Qe();return}var mt=Ze[he];We(mt)}}},at=function(qe){var Ae=qe.key,Ge=qe.which,Ye=qe.target,tt=cF(Ye),mt=uF(tt,k),lt=mt.location,ft=mt.prefix;if(w==null||w(qe),[we.ESC,we.UP,we.DOWN,we.ENTER].indexOf(Ge)===-1)if(lt!==-1){var gt=tt.slice(lt+ft.length),et=b(gt,c),rt=!!Ve(gt).length;et?(Ae===ft||Ae==="Shift"||pe||gt!==ge&&rt)&&Ke(gt,ft,lt):pe&&Qe(),E&&et&&E(gt,ft)}else pe&&Qe()},Le=function(qe){!pe&&I&&I(qe)},Ue=a.useRef(),_e=function(qe){window.clearTimeout(Ue.current),!xe&&qe&&N&&N(qe),Me(!0)},Be=function(qe){Ue.current=window.setTimeout(function(){Me(!1),Qe(),P==null||P(qe)},0)},Je=function(){_e()},dt=function(){Be()};return z.createElement("div",{className:G(r,n),style:o,ref:V},z.createElement(mb,ve({ref:F,value:Re},H,{rows:j,onChange:Xe,onKeyDown:He,onKeyUp:at,onPressEnter:Le,onFocus:_e,onBlur:Be})),pe&&z.createElement("div",{ref:q,className:"".concat(r,"-measure")},Re.slice(0,nt),z.createElement(x4.Provider,{value:{notFoundContent:d,activeIndex:he,setActiveIndex:Se,selectOption:We,onFocus:Je,onBlur:dt}},z.createElement(lF,{prefixCls:r,transitionName:R,placement:M,direction:D,options:Ze,visible:!0,getPopupContainer:L,dropdownClassName:T},z.createElement("span",null,Ie))),Re.slice(nt+Ie.length)))}),bm=a.forwardRef(function(e,t){var r=e.suffix,n=e.prefixCls,o=n===void 0?"rc-mentions":n,i=e.defaultValue,l=e.value,s=e.allowClear,c=e.onChange,u=e.classNames,d=e.className,f=e.disabled,m=e.onClear,g=ut(e,hF),v=a.useRef(null),h=a.useRef(null);a.useImperativeHandle(t,function(){var $,w;return K(K({},h.current),{},{nativeElement:(($=v.current)===null||$===void 0?void 0:$.nativeElement)||((w=h.current)===null||w===void 0?void 0:w.nativeElement)})});var p=Ot("",{defaultValue:i,value:l}),C=ie(p,2),b=C[0],y=C[1],S=function(w){y(w),c==null||c(w)},x=function(){S("")};return z.createElement(Xc,{suffix:r,prefixCls:o,value:b,allowClear:s,handleReset:x,className:d,classNames:u,disabled:f,ref:v,onClear:m},z.createElement(CF,ve({className:u==null?void 0:u.mentions,prefixCls:o,ref:h,onChange:S,disabled:f},g)))});bm.Option=sF;const bF=e=>{const{componentCls:t,colorTextDisabled:r,controlItemBgHover:n,controlPaddingHorizontal:o,colorText:i,motionDurationSlow:l,lineHeight:s,controlHeight:c,paddingInline:u,paddingBlock:d,fontSize:f,fontSizeIcon:m,colorTextTertiary:g,colorTextQuaternary:v,colorBgElevated:h,paddingXXS:p,paddingLG:C,borderRadius:b,borderRadiusLG:y,boxShadowSecondary:S,itemPaddingVertical:x,calc:$}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),ca(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:s,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),Hc(e)),Bc(e)),zc(e)),{"&-affix-wrapper":Object.assign(Object.assign({},ca(e)),{display:"inline-flex",padding:0,"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:u,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`&:has(${t}-suffix) > ${t} > textarea`]:{paddingInlineEnd:C},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:0,insetBlockStart:$(f).mul(s).mul(.5).add(d).equal(),transform:"translateY(-50%)",margin:0,color:v,fontSize:m,verticalAlign:-1,cursor:"pointer",transition:`color ${l}`,"&:hover":{color:g},"&:active":{color:i},"&-hidden":{visibility:"hidden"}}}),"&-disabled":{"> textarea":Object.assign({},wl(e))},[`&, &-affix-wrapper > ${t}`]:{[`> textarea, ${t}-measure`]:{color:i,boxSizing:"border-box",minHeight:e.calc(c).sub(2),margin:0,padding:`${B(d)} ${B(u)}`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":Object.assign({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"transparent"},Ac(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}}},"&-dropdown":Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:f,fontVariant:"initial",padding:p,backgroundColor:h,borderRadius:y,outline:"none",boxShadow:S,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":Object.assign(Object.assign({},Mn),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${B(x)} ${B(o)}`,color:i,borderRadius:b,fontWeight:"normal",lineHeight:s,cursor:"pointer",transition:`background ${l} ease`,"&:hover":{backgroundColor:n},"&-disabled":{color:r,cursor:"not-allowed","&:hover":{color:r,backgroundColor:n,cursor:"not-allowed"}},"&-selected":{color:i,fontWeight:e.fontWeightStrong,backgroundColor:n},"&-active":{backgroundColor:n}})}})})}},yF=e=>Object.assign(Object.assign({},pi(e)),{dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50,itemPaddingVertical:(e.controlHeight-e.fontHeight)/2}),SF=Et("Mentions",e=>{const t=xt(e,vi(e));return[bF(t)]},yF);var xF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,rootClassName:o,disabled:i,loading:l,filterOption:s,children:c,notFoundContent:u,options:d,status:f,allowClear:m=!1,popupClassName:g,style:v,variant:h}=e,p=xF(e,["prefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","allowClear","popupClassName","style","variant"]),[C,b]=a.useState(!1),y=a.useRef(null),S=yn(t,y),{getPrefixCls:x,renderEmpty:$,direction:w,mentions:I}=a.useContext(ke),{status:E,hasFeedback:O,feedbackIcon:N}=a.useContext(dn),P=zr(E,f),R=function(){p.onFocus&&p.onFocus.apply(p,arguments),b(!0)},M=function(){p.onBlur&&p.onBlur.apply(p,arguments),b(!1)},D=a.useMemo(()=>u!==void 0?u:($==null?void 0:$("Select"))||a.createElement(Ao,{componentName:"Select"}),[u,$]),L=a.useMemo(()=>l?a.createElement($4,{value:"ANTD_SEARCHING",disabled:!0},a.createElement(jo,{size:"small"})):c,[l,c]),T=l?[{value:"ANTD_SEARCHING",disabled:!0,label:a.createElement(jo,{size:"small"})}]:d,_=l?$F:s,j=x("mentions",r),H=lm(m),k=Ut(j),[V,F,q]=SF(j,k),[W,J]=oo("mentions",h),X=O&&a.createElement(a.Fragment,null,N),Z=G(I==null?void 0:I.className,n,o,q,k),ee=a.createElement(bm,Object.assign({silent:l,prefixCls:j,notFoundContent:D,className:Z,disabled:i,allowClear:H,direction:w,style:Object.assign(Object.assign({},I==null?void 0:I.style),v)},p,{filterOption:_,onFocus:R,onBlur:M,dropdownClassName:G(g,o,F,q,k),ref:S,options:T,suffix:X,classNames:{mentions:G({[`${j}-disabled`]:i,[`${j}-focused`]:C,[`${j}-rtl`]:w==="rtl"},F),variant:G({[`${j}-${W}`]:J},fr(j,P)),affixWrapper:F}}),L);return V(ee)}),xa=wF;xa.Option=$4;const EF=ro(xa,"mentions");xa._InternalPanelDoNotUseOrYouWillBeFired=EF;xa.getMentions=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:r="@",split:n=" "}=t,o=Array.isArray(r)?r:[r];return e.split(n).map(function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=null;return o.some(s=>i.slice(0,s.length)===s?(l=s,!0):!1),l!==null?{prefix:l,value:i.slice(l.length)}:null}).filter(i=>!!i&&!!i.value)};let Cr=null,ta=e=>e(),al=[],il={};function fp(){const{getContainer:e,duration:t,rtl:r,maxCount:n,top:o}=il,i=(e==null?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:r,maxCount:n,top:o}}const IF=z.forwardRef((e,t)=>{const{messageConfig:r,sync:n}=e,{getPrefixCls:o}=a.useContext(ke),i=il.prefixCls||o("message"),l=a.useContext(Rs),[s,c]=u2(Object.assign(Object.assign(Object.assign({},r),{prefixCls:i}),l.message));return z.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return n(),s[d].apply(s,arguments)}}),{instance:u,sync:n}}),c}),OF=z.forwardRef((e,t)=>{const[r,n]=z.useState(fp),o=()=>{n(fp)};z.useEffect(o,[]);const i=Kf(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=z.createElement(IF,{ref:t,sync:o,messageConfig:r});return z.createElement(fa,{prefixCls:l,iconPrefixCls:s,theme:c},i.holderRender?i.holderRender(u):u)});function Jc(){if(!Cr){const e=document.createDocumentFragment(),t={fragment:e};Cr=t,ta(()=>{ac(z.createElement(OF,{ref:r=>{const{instance:n,sync:o}=r||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=o,Jc())})}}),e)});return}Cr.instance&&(al.forEach(e=>{const{type:t,skipped:r}=e;if(!r)switch(t){case"open":{ta(()=>{const n=Cr.instance.open(Object.assign(Object.assign({},il),e.config));n==null||n.then(e.resolve),e.setCloseFn(n)});break}case"destroy":ta(()=>{Cr==null||Cr.instance.destroy(e.key)});break;default:ta(()=>{var n;const o=(n=Cr.instance)[t].apply(n,ye(e.args));o==null||o.then(e.resolve),e.setCloseFn(o)})}}),al=[])}function PF(e){il=Object.assign(Object.assign({},il),e),ta(()=>{var t;(t=Cr==null?void 0:Cr.sync)===null||t===void 0||t.call(Cr)})}function NF(e){const t=o1(r=>{let n;const o={type:"open",config:e,resolve:r,setCloseFn:i=>{n=i}};return al.push(o),()=>{n?ta(()=>{n()}):o.skipped=!0}});return Jc(),t}function MF(e,t){const r=o1(n=>{let o;const i={type:e,args:t,resolve:n,setCloseFn:l=>{o=l}};return al.push(i),()=>{o?ta(()=>{o()}):i.skipped=!0}});return Jc(),r}const RF=e=>{al.push({type:"destroy",key:e}),Jc()},TF=["success","info","warning","error","loading"],LF={open:NF,destroy:RF,config:PF,useMessage:d2,_InternalPanelDoNotUseOrYouWillBeFired:Jy},Fr=LF;TF.forEach(e=>{Fr[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n{const{prefixCls:t,className:r,closeIcon:n,closable:o,type:i,title:l,children:s,footer:c}=e,u=DF(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=a.useContext(ke),f=d(),m=t||d("modal"),g=Ut(f),[v,h,p]=K2(m,g),C=`${m}-confirm`;let b={};return i?b={closable:o!=null?o:!1,title:"",footer:"",children:a.createElement(G2,Object.assign({},e,{prefixCls:m,confirmPrefixCls:C,rootPrefixCls:f,content:s}))}:b={closable:o!=null?o:!0,title:l,footer:c!==null&&a.createElement(A2,Object.assign({},e)),children:s},v(a.createElement(E2,Object.assign({prefixCls:m,className:G(h,`${m}-pure-panel`,i&&C,i&&`${C}-${i}`,r,p,g)},u,{closeIcon:B2(m,n),closable:o},b)))},kF=C1(_F);function w4(e){return vl(Z2(e))}const Dn=q2;Dn.useModal=n5;Dn.info=function(t){return vl(Q2(t))};Dn.success=function(t){return vl(J2(t))};Dn.error=function(t){return vl(e5(t))};Dn.warning=w4;Dn.warn=w4;Dn.confirm=function(t){return vl(t5(t))};Dn.destroyAll=function(){for(;Jo.length;){const t=Jo.pop();t&&t()}};Dn.config=F$;Dn._InternalPanelDoNotUseOrYouWillBeFired=kF;let Or=null,$s=e=>e(),Ws=[],ll={};function mp(){const{getContainer:e,rtl:t,maxCount:r,top:n,bottom:o,showProgress:i,pauseOnHover:l}=ll,s=(e==null?void 0:e())||document.body;return{getContainer:()=>s,rtl:t,maxCount:r,top:n,bottom:o,showProgress:i,pauseOnHover:l}}const jF=z.forwardRef((e,t)=>{const{notificationConfig:r,sync:n}=e,{getPrefixCls:o}=a.useContext(ke),i=ll.prefixCls||o("notification"),l=a.useContext(Rs),[s,c]=s5(Object.assign(Object.assign(Object.assign({},r),{prefixCls:i}),l.notification));return z.useEffect(n,[]),z.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return n(),s[d].apply(s,arguments)}}),{instance:u,sync:n}}),c}),HF=z.forwardRef((e,t)=>{const[r,n]=z.useState(mp),o=()=>{n(mp)};z.useEffect(o,[]);const i=Kf(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=z.createElement(jF,{ref:t,sync:o,notificationConfig:r});return z.createElement(fa,{prefixCls:l,iconPrefixCls:s,theme:c},i.holderRender?i.holderRender(u):u)});function ym(){if(!Or){const e=document.createDocumentFragment(),t={fragment:e};Or=t,$s(()=>{ac(z.createElement(HF,{ref:r=>{const{instance:n,sync:o}=r||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=o,ym())})}}),e)});return}Or.instance&&(Ws.forEach(e=>{switch(e.type){case"open":{$s(()=>{Or.instance.open(Object.assign(Object.assign({},ll),e.config))});break}case"destroy":$s(()=>{Or==null||Or.instance.destroy(e.key)});break}}),Ws=[])}function zF(e){ll=Object.assign(Object.assign({},ll),e),$s(()=>{var t;(t=Or==null?void 0:Or.sync)===null||t===void 0||t.call(Or)})}function E4(e){Ws.push({type:"open",config:e}),ym()}const BF=e=>{Ws.push({type:"destroy",key:e}),ym()},AF=["success","info","warning","error"],FF={open:E4,destroy:BF,config:zF,useNotification:c5,_InternalPanelDoNotUseOrYouWillBeFired:aw},Vr=FF;AF.forEach(e=>{Vr[e]=t=>E4(Object.assign(Object.assign({},t),{type:e}))});const VF=e=>{const{componentCls:t,iconCls:r,antCls:n,zIndexPopup:o,colorText:i,colorWarning:l,marginXXS:s,marginXS:c,fontSize:u,fontWeightStrong:d,colorTextHeading:f}=e;return{[t]:{zIndex:o,[`&${n}-popover`]:{fontSize:u},[`${t}-message`]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${r}`]:{color:l,fontSize:u,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:d,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:s,color:i}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}},WF=e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},I4=Et("Popconfirm",e=>VF(e),WF,{resetStyle:!1});var KF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,okButtonProps:r,cancelButtonProps:n,title:o,description:i,cancelText:l,okText:s,okType:c="primary",icon:u=a.createElement(Bo,null),showCancel:d=!0,close:f,onConfirm:m,onCancel:g,onPopupClick:v}=e,{getPrefixCls:h}=a.useContext(ke),[p]=Ln("Popconfirm",$r.Popconfirm),C=Za(o),b=Za(i);return a.createElement("div",{className:`${t}-inner-content`,onClick:v},a.createElement("div",{className:`${t}-message`},u&&a.createElement("span",{className:`${t}-message-icon`},u),a.createElement("div",{className:`${t}-message-text`},C&&a.createElement("div",{className:`${t}-title`},C),b&&a.createElement("div",{className:`${t}-description`},b))),a.createElement("div",{className:`${t}-buttons`},d&&a.createElement(hn,Object.assign({onClick:g,size:"small"},n),l||(p==null?void 0:p.cancelText)),a.createElement(s1,{buttonProps:Object.assign(Object.assign({size:"small"},a1(c)),r),actionFn:m,close:f,prefixCls:h("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(p==null?void 0:p.okText))))},qF=e=>{const{prefixCls:t,placement:r,className:n,style:o}=e,i=KF(e,["prefixCls","placement","className","style"]),{getPrefixCls:l}=a.useContext(ke),s=l("popconfirm",t),[c]=I4(s);return c(a.createElement(z5,{placement:r,className:G(s,n),style:o,content:a.createElement(O4,Object.assign({prefixCls:s},i))}))},GF=qF;var XF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const{prefixCls:o,placement:i="top",trigger:l="click",okType:s="primary",icon:c=a.createElement(Bo,null),children:u,overlayClassName:d,onOpenChange:f,onVisibleChange:m}=e,g=XF(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:v}=a.useContext(ke),[h,p]=Ot(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),C=(E,O)=>{p(E,!0),m==null||m(E),f==null||f(E,O)},b=E=>{C(!1,E)},y=E=>{var O;return(O=e.onConfirm)===null||O===void 0?void 0:O.call(void 0,E)},S=E=>{var O;C(!1,E),(O=e.onCancel)===null||O===void 0||O.call(void 0,E)},x=(E,O)=>{const{disabled:N=!1}=e;N||C(E,O)},$=v("popconfirm",o),w=G($,d),[I]=I4($);return I(a.createElement(Ec,Object.assign({},Xt(g,["title"]),{trigger:l,placement:i,onOpenChange:x,open:h,ref:t,overlayClassName:w,content:a.createElement(O4,Object.assign({okType:s,icon:c},e,{prefixCls:$,close:b,onConfirm:y,onCancel:S})),"data-popover-inject":!0}),u))}),P4=UF;P4._InternalPanelDoNotUseOrYouWillBeFired=GF;const YF=P4;var ZF={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},QF=function(){var t=a.useRef([]),r=a.useRef(null);return a.useEffect(function(){var n=Date.now(),o=!1;t.current.forEach(function(i){if(i){o=!0;var l=i.style;l.transitionDuration=".3s, .3s, .3s, .06s",r.current&&n-r.current<100&&(l.transitionDuration="0s, 0s")}}),o&&(r.current=Date.now())}),t.current},gp=0,JF=Zr();function eV(){var e;return JF?(e=gp,gp+=1):e="TEST_OR_SSR",e}const tV=function(e){var t=a.useState(),r=ie(t,2),n=r[0],o=r[1];return a.useEffect(function(){o("rc_progress_".concat(eV()))},[]),e||n};var vp=function(t){var r=t.bg,n=t.children;return a.createElement("div",{style:{width:"100%",height:"100%",background:r}},n)};function pp(e,t){return Object.keys(e).map(function(r){var n=parseFloat(r),o="".concat(Math.floor(n*t),"%");return"".concat(e[r]," ").concat(o)})}var nV=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.color,o=e.gradientId,i=e.radius,l=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,f=e.gapDegree,m=n&&bt(n)==="object",g=m?"#FFF":void 0,v=d/2,h=a.createElement("circle",{className:"".concat(r,"-circle-path"),r:i,cx:v,cy:v,stroke:g,strokeLinecap:c,strokeWidth:u,opacity:s===0?0:1,style:l,ref:t});if(!m)return h;var p="".concat(o,"-conic"),C=f?"".concat(180+f/2,"deg"):"0deg",b=pp(n,(360-f)/360),y=pp(n,1),S="conic-gradient(from ".concat(C,", ").concat(b.join(", "),")"),x="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(y.join(", "),")");return a.createElement(a.Fragment,null,a.createElement("mask",{id:p},h),a.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(p,")")},a.createElement(vp,{bg:x},a.createElement(vp,{bg:S}))))}),Vi=100,ld=function(t,r,n,o,i,l,s,c,u,d){var f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,m=n/100*360*((360-l)/360),g=l===0?0:{bottom:0,top:180,left:90,right:-90}[s],v=(100-o)/100*r;u==="round"&&o!==100&&(v+=d/2,v>=r&&(v=r-.01));var h=Vi/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(r,"px ").concat(t),strokeDashoffset:v+f,transform:"rotate(".concat(i+m+g,"deg)"),transformOrigin:"".concat(h,"px ").concat(h,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},rV=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function hp(e){var t=e!=null?e:[];return Array.isArray(t)?t:[t]}var oV=function(t){var r=K(K({},ZF),t),n=r.id,o=r.prefixCls,i=r.steps,l=r.strokeWidth,s=r.trailWidth,c=r.gapDegree,u=c===void 0?0:c,d=r.gapPosition,f=r.trailColor,m=r.strokeLinecap,g=r.style,v=r.className,h=r.strokeColor,p=r.percent,C=ut(r,rV),b=Vi/2,y=tV(n),S="".concat(y,"-gradient"),x=b-l/2,$=Math.PI*2*x,w=u>0?90+u/2:-90,I=$*((360-u)/360),E=bt(i)==="object"?i:{count:i,gap:2},O=E.count,N=E.gap,P=hp(p),R=hp(h),M=R.find(function(k){return k&&bt(k)==="object"}),D=M&&bt(M)==="object",L=D?"butt":m,T=ld($,I,0,100,w,u,d,f,L,l),_=QF(),j=function(){var V=0;return P.map(function(F,q){var W=R[q]||R[R.length-1],J=ld($,I,V,F,w,u,d,W,L,l);return V+=F,a.createElement(nV,{key:q,color:W,ptg:F,radius:x,prefixCls:o,gradientId:S,style:J,strokeLinecap:L,strokeWidth:l,gapDegree:u,ref:function(Z){_[q]=Z},size:Vi})}).reverse()},H=function(){var V=Math.round(O*(P[0]/100)),F=100/O,q=0;return new Array(O).fill(null).map(function(W,J){var X=J<=V-1?R[0]:f,Z=X&&bt(X)==="object"?"url(#".concat(S,")"):void 0,ee=ld($,I,q,F,w,u,d,X,"butt",l,N);return q+=(I-ee.strokeDashoffset+N)*100/I,a.createElement("circle",{key:J,className:"".concat(o,"-circle-path"),r:x,cx:b,cy:b,stroke:Z,strokeWidth:l,opacity:1,style:ee,ref:function(Y){_[J]=Y}})})};return a.createElement("svg",ve({className:G("".concat(o,"-circle"),v),viewBox:"0 0 ".concat(Vi," ").concat(Vi),style:g,id:n,role:"presentation"},C),!O&&a.createElement("circle",{className:"".concat(o,"-circle-trail"),r:x,cx:b,cy:b,stroke:f,strokeLinecap:L,strokeWidth:s||l,style:T}),O?H():j())};function Do(e){return!e||e<0?0:e>100?100:e}function Ks(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}const aV=e=>{let{percent:t,success:r,successPercent:n}=e;const o=Do(Ks({success:r,successPercent:n}));return[o,Do(Do(t)-o)]},iV=e=>{let{success:t={},strokeColor:r}=e;const{strokeColor:n}=t;return[n||Md.green,r||null]},eu=(e,t,r)=>{var n,o,i,l;let s=-1,c=-1;if(t==="step"){const u=r.steps,d=r.strokeWidth;typeof e=="string"||typeof e=="undefined"?(s=e==="small"?2:14,c=d!=null?d:8):typeof e=="number"?[s,c]=[e,e]:[s=14,c=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=r==null?void 0:r.strokeWidth;typeof e=="string"||typeof e=="undefined"?c=u||(e==="small"?6:8):typeof e=="number"?[s,c]=[e,e]:[s=-1,c=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e=="undefined"?[s,c]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,c]=[e,e]:Array.isArray(e)&&(s=(o=(n=e[0])!==null&&n!==void 0?n:e[1])!==null&&o!==void 0?o:120,c=(l=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&l!==void 0?l:120));return[s,c]},lV=3,sV=e=>lV/e*100,cV=e=>{const{prefixCls:t,trailColor:r=null,strokeLinecap:n="round",gapPosition:o,gapDegree:i,width:l=120,type:s,children:c,success:u,size:d=l,steps:f}=e,[m,g]=eu(d,"circle");let{strokeWidth:v}=e;v===void 0&&(v=Math.max(sV(m),6));const h={width:m,height:g,fontSize:m*.15+6},p=a.useMemo(()=>{if(i||i===0)return i;if(s==="dashboard")return 75},[i,s]),C=aV(e),b=o||s==="dashboard"&&"bottom"||void 0,y=Object.prototype.toString.call(e.strokeColor)==="[object Object]",S=iV({success:u,strokeColor:e.strokeColor}),x=G(`${t}-inner`,{[`${t}-circle-gradient`]:y}),$=a.createElement(oV,{steps:f,percent:f?C[1]:C,strokeWidth:v,trailWidth:v,strokeColor:f?S[1]:S,strokeLinecap:n,trailColor:r,prefixCls:t,gapDegree:p,gapPosition:b}),w=m<=20,I=a.createElement("div",{className:x,style:h},$,!w&&c);return w?a.createElement(Qn,{title:c},I):I},uV=cV,qs="--progress-line-stroke-color",N4="--progress-percent",Cp=e=>{const t=e?"100%":"-100%";return new Ht(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},dV=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${qs})`]},height:"100%",width:`calc(1 / var(${N4}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${B(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:Cp(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:Cp(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},fV=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},mV=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},gV=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}},vV=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),pV=Et("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),r=xt(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[dV(r),fV(r),mV(r),gV(r)]},vV);var hV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let t=[];return Object.keys(e).forEach(r=>{const n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),t=t.sort((r,n)=>r.key-n.key),t.map(r=>{let{key:n,value:o}=r;return`${o} ${n}%`}).join(", ")},bV=(e,t)=>{const{from:r=Md.blue,to:n=Md.blue,direction:o=t==="rtl"?"to left":"to right"}=e,i=hV(e,["from","to","direction"]);if(Object.keys(i).length!==0){const s=CV(i),c=`linear-gradient(${o}, ${s})`;return{background:c,[qs]:c}}const l=`linear-gradient(${o}, ${r}, ${n})`;return{background:l,[qs]:l}},yV=e=>{const{prefixCls:t,direction:r,percent:n,size:o,strokeWidth:i,strokeColor:l,strokeLinecap:s="round",children:c,trailColor:u=null,percentPosition:d,success:f}=e,{align:m,type:g}=d,v=l&&typeof l!="string"?bV(l,r):{[qs]:l,background:l},h=s==="square"||s==="butt"?0:void 0,p=o!=null?o:[-1,i||(o==="small"?6:8)],[C,b]=eu(p,"line",{strokeWidth:i}),y={backgroundColor:u||void 0,borderRadius:h},S=Object.assign(Object.assign({width:`${Do(n)}%`,height:b,borderRadius:h},v),{[N4]:Do(n)/100}),x=Ks(e),$={width:`${Do(x)}%`,height:b,borderRadius:h,backgroundColor:f==null?void 0:f.strokeColor},w={width:C<0?"100%":C},I=a.createElement("div",{className:`${t}-inner`,style:y},a.createElement("div",{className:G(`${t}-bg`,`${t}-bg-${g}`),style:S},g==="inner"&&c),x!==void 0&&a.createElement("div",{className:`${t}-success-bg`,style:$})),E=g==="outer"&&m==="start",O=g==="outer"&&m==="end";return g==="outer"&&m==="center"?a.createElement("div",{className:`${t}-layout-bottom`},I,c):a.createElement("div",{className:`${t}-outer`,style:w},E&&c,I,O&&c)},SV=yV,xV=e=>{const{size:t,steps:r,percent:n=0,strokeWidth:o=8,strokeColor:i,trailColor:l=null,prefixCls:s,children:c}=e,u=Math.round(r*(n/100)),d=t==="small"?2:14,f=t!=null?t:[d,o],[m,g]=eu(f,"step",{steps:r,strokeWidth:o}),v=m/r,h=new Array(r);for(let p=0;p{const{prefixCls:r,className:n,rootClassName:o,steps:i,strokeColor:l,percent:s=0,size:c="default",showInfo:u=!0,type:d="line",status:f,format:m,style:g,percentPosition:v={}}=e,h=wV(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:p="end",type:C="outer"}=v,b=Array.isArray(l)?l[0]:l,y=typeof l=="string"||Array.isArray(l)?l:void 0,S=a.useMemo(()=>{if(b){const j=typeof b=="string"?b:Object.values(b)[0];return new Qt(j).isLight()}return!1},[l]),x=a.useMemo(()=>{var j,H;const k=Ks(e);return parseInt(k!==void 0?(j=k!=null?k:0)===null||j===void 0?void 0:j.toString():(H=s!=null?s:0)===null||H===void 0?void 0:H.toString(),10)},[s,e.success,e.successPercent]),$=a.useMemo(()=>!EV.includes(f)&&x>=100?"success":f||"normal",[f,x]),{getPrefixCls:w,direction:I,progress:E}=a.useContext(ke),O=w("progress",r),[N,P,R]=pV(O),M=d==="line",D=M&&!i,L=a.useMemo(()=>{if(!u)return null;const j=Ks(e);let H;const k=m||(F=>`${F}%`),V=M&&S&&C==="inner";return C==="inner"||m||$!=="exception"&&$!=="success"?H=k(Do(s),Do(j)):$==="exception"?H=M?a.createElement(bo,null):a.createElement(mr,null):$==="success"&&(H=M?a.createElement(ga,null):a.createElement(Cc,null)),a.createElement("span",{className:G(`${O}-text`,{[`${O}-text-bright`]:V,[`${O}-text-${p}`]:D,[`${O}-text-${C}`]:D}),title:typeof H=="string"?H:void 0},H)},[u,s,x,$,d,O,m]);let T;d==="line"?T=i?a.createElement($V,Object.assign({},e,{strokeColor:y,prefixCls:O,steps:typeof i=="object"?i.count:i}),L):a.createElement(SV,Object.assign({},e,{strokeColor:b,prefixCls:O,direction:I,percentPosition:{align:p,type:C}}),L):(d==="circle"||d==="dashboard")&&(T=a.createElement(uV,Object.assign({},e,{strokeColor:b,prefixCls:O,progressStatus:$}),L));const _=G(O,`${O}-status-${$}`,{[`${O}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${O}-inline-circle`]:d==="circle"&&eu(c,"circle")[0]<=20,[`${O}-line`]:D,[`${O}-line-align-${p}`]:D,[`${O}-line-position-${C}`]:D,[`${O}-steps`]:i,[`${O}-show-info`]:u,[`${O}-${c}`]:typeof c=="string",[`${O}-rtl`]:I==="rtl"},E==null?void 0:E.className,n,o,P,R);return N(a.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},E==null?void 0:E.style),g),className:_,role:"progressbar","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":100},Xt(h,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),T))}),Sm=IV;function Ba(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=q7(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,l=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return l=u.done,u},e:function(u){s=!0,i=u},f:function(){try{l||r.return==null||r.return()}finally{if(s)throw i}}}}var bi,Rl;function tr(e,t,r){if(t<0||t>31||e>>>t)throw new RangeError("Value out of range");for(var n=t-1;n>=0;n--)r.push(e>>>n&1)}function so(e,t){return(e>>>t&1)!=0}function cr(e){if(!e)throw new Error("Assertion error")}var Yr=function(){function e(t,r){tn(this,e),A(this,"modeBits",void 0),A(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=r}return nn(e,[{key:"numCharCountBits",value:function(r){return this.numBitsCharCount[Math.floor((r+7)/17)]}}]),e}();bi=Yr;A(Yr,"NUMERIC",new bi(1,[10,12,14]));A(Yr,"ALPHANUMERIC",new bi(2,[9,11,13]));A(Yr,"BYTE",new bi(4,[8,16,16]));A(Yr,"KANJI",new bi(8,[8,10,12]));A(Yr,"ECI",new bi(7,[0,0,0]));var Sr=nn(function e(t,r){tn(this,e),A(this,"ordinal",void 0),A(this,"formatBits",void 0),this.ordinal=t,this.formatBits=r});Rl=Sr;A(Sr,"LOW",new Rl(0,1));A(Sr,"MEDIUM",new Rl(1,0));A(Sr,"QUARTILE",new Rl(2,3));A(Sr,"HIGH",new Rl(3,2));var aa=function(){function e(t,r,n){if(tn(this,e),A(this,"mode",void 0),A(this,"numChars",void 0),A(this,"bitData",void 0),this.mode=t,this.numChars=r,this.bitData=n,r<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}return nn(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(r){var n=[],o=Ba(r),i;try{for(o.s();!(i=o.n()).done;){var l=i.value;tr(l,8,n)}}catch(s){o.e(s)}finally{o.f()}return new e(Yr.BYTE,r.length,n)}},{key:"makeNumeric",value:function(r){if(!e.isNumeric(r))throw new RangeError("String contains non-numeric characters");for(var n=[],o=0;o=1<e.MAX_VERSION)throw new RangeError("Version value out of range");if(i<-1||i>7)throw new RangeError("Mask value out of range");this.size=t*4+17;for(var l=[],s=0;s>>9)*1335;var l=(n<<10|o)^21522;cr(l>>>15==0);for(var s=0;s<=5;s++)this.setFunctionModule(8,s,so(l,s));this.setFunctionModule(8,7,so(l,6)),this.setFunctionModule(8,8,so(l,7)),this.setFunctionModule(7,8,so(l,8));for(var c=9;c<15;c++)this.setFunctionModule(14-c,8,so(l,c));for(var u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,so(l,u));for(var d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,so(l,d));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var r=this.version,n=0;n<12;n++)r=r<<1^(r>>>11)*7973;var o=this.version<<12|r;cr(o>>>18==0);for(var i=0;i<18;i++){var l=so(o,i),s=this.size-11+i%3,c=Math.floor(i/3);this.setFunctionModule(s,c,l),this.setFunctionModule(c,s,l)}}}},{key:"drawFinderPattern",value:function(r,n){for(var o=-4;o<=4;o++)for(var i=-4;i<=4;i++){var l=Math.max(Math.abs(i),Math.abs(o)),s=r+i,c=n+o;0<=s&&s=c)&&p.push(x[S])})},b=0;b=1;o-=2){o==6&&(o=5);for(var i=0;i>>3],7-(n&7)),n++)}}cr(n==r.length*8)}},{key:"applyMask",value:function(r){if(r<0||r>7)throw new RangeError("Mask value out of range");for(var n=0;n5&&r++):(this.finderPenaltyAddHistory(i,l),o||(r+=this.finderPenaltyCountPatterns(l)*e.PENALTY_N3),o=this.modules[n][s],i=1);r+=this.finderPenaltyTerminateAndCount(o,i,l)*e.PENALTY_N3}for(var c=0;c5&&r++):(this.finderPenaltyAddHistory(d,f),u||(r+=this.finderPenaltyCountPatterns(f)*e.PENALTY_N3),u=this.modules[m][c],d=1);r+=this.finderPenaltyTerminateAndCount(u,d,f)*e.PENALTY_N3}for(var g=0;g0&&r[2]==n&&r[3]==n*3&&r[4]==n&&r[5]==n;return(o&&r[0]>=n*4&&r[6]>=n?1:0)+(o&&r[6]>=n*4&&r[0]>=n?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(r,n,o){var i=n;return r&&(this.finderPenaltyAddHistory(i,o),i=0),i+=this.size,this.finderPenaltyAddHistory(i,o),this.finderPenaltyCountPatterns(o)}},{key:"finderPenaltyAddHistory",value:function(r,n){var o=r;n[0]==0&&(o+=this.size),n.pop(),n.unshift(o)}}],[{key:"encodeText",value:function(r,n){var o=aa.makeSegments(r);return e.encodeSegments(o,n)}},{key:"encodeBinary",value:function(r,n){var o=aa.makeBytes(r);return e.encodeSegments([o],n)}},{key:"encodeSegments",value:function(r,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(e.MIN_VERSION<=o&&o<=i&&i<=e.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");var c,u;for(c=o;;c++){var d=e.getNumDataCodewords(c,n)*8,f=aa.getTotalBits(r,c);if(f<=d){u=f;break}if(c>=i)throw new RangeError("Data too long")}for(var m=n,g=0,v=[Sr.MEDIUM,Sr.QUARTILE,Sr.HIGH];g>>3]|=O<<7-(N&7)}),new e(c,m,E,l)}},{key:"getNumRawDataModules",value:function(r){if(re.MAX_VERSION)throw new RangeError("Version number out of range");var n=(16*r+128)*r+64;if(r>=2){var o=Math.floor(r/7)+2;n-=(25*o-10)*o-55,r>=7&&(n-=36)}return cr(208<=n&&n<=29648),n}},{key:"getNumDataCodewords",value:function(r,n){return Math.floor(e.getNumRawDataModules(r)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r]}},{key:"reedSolomonComputeDivisor",value:function(r){if(r<1||r>255)throw new RangeError("Degree out of range");for(var n=[],o=0;o>>8||n>>>8)throw new RangeError("Byte out of range");for(var o=0,i=7;i>=0;i--)o=o<<1^(o>>>7)*285,o^=(n>>>i&1)*r;return cr(o>>>8==0),o}}]),e}();A(xo,"MIN_VERSION",1);A(xo,"MAX_VERSION",40);A(xo,"PENALTY_N1",3);A(xo,"PENALTY_N2",3);A(xo,"PENALTY_N3",40);A(xo,"PENALTY_N4",10);A(xo,"ECC_CODEWORDS_PER_BLOCK",[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]);A(xo,"NUM_ERROR_CORRECTION_BLOCKS",[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var OV={L:Sr.LOW,M:Sr.MEDIUM,Q:Sr.QUARTILE,H:Sr.HIGH},M4=128,R4="L",T4="#FFFFFF",L4="#000000",D4=!1,_4=1,PV=4,NV=0,MV=.1;function k4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=[];return e.forEach(function(n,o){var i=null;n.forEach(function(l,s){if(!l&&i!==null){r.push("M".concat(i+t," ").concat(o+t,"h").concat(s-i,"v1H").concat(i+t,"z")),i=null;return}if(s===n.length-1){if(!l)return;i===null?r.push("M".concat(s+t,",").concat(o+t," h1v1H").concat(s+t,"z")):r.push("M".concat(i+t,",").concat(o+t," h").concat(s+1-i,"v1H").concat(i+t,"z"));return}l&&i===null&&(i=s)})}),r.join("")}function j4(e,t){return e.slice().map(function(r,n){return n=t.y+t.h?r:r.map(function(o,i){return i=t.x+t.w?o:!1})})}function RV(e,t,r,n){if(n==null)return null;var o=e.length+r*2,i=Math.floor(t*MV),l=o/t,s=(n.width||i)*l,c=(n.height||i)*l,u=n.x==null?e.length/2-s/2:n.x*l,d=n.y==null?e.length/2-c/2:n.y*l,f=n.opacity==null?1:n.opacity,m=null;if(n.excavate){var g=Math.floor(u),v=Math.floor(d),h=Math.ceil(s+u-g),p=Math.ceil(c+d-v);m={x:g,y:v,w:h,h:p}}var C=n.crossOrigin;return{x:u,y:d,h:c,w:s,excavation:m,opacity:f,crossOrigin:C}}function TV(e,t){return t!=null?Math.floor(t):e?PV:NV}var LV=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();function H4(e){var t=e.value,r=e.level,n=e.minVersion,o=e.includeMargin,i=e.marginSize,l=e.imageSettings,s=e.size,c=a.useMemo(function(){var v=aa.makeSegments(t);return xo.encodeSegments(v,OV[r],n)},[t,r,n]),u=a.useMemo(function(){var v=c.getModules(),h=TV(o,i),p=v.length+h*2,C=RV(v,s,h,l);return{cells:v,margin:h,numCells:p,calculatedImageSettings:C}},[c,s,l,o,i]),d=u.cells,f=u.margin,m=u.numCells,g=u.calculatedImageSettings;return{qrcode:c,margin:f,cells:d,numCells:m,calculatedImageSettings:g}}var DV=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],z4=z.forwardRef(function(t,r){var n=t.value,o=t.size,i=o===void 0?M4:o,l=t.level,s=l===void 0?R4:l,c=t.bgColor,u=c===void 0?T4:c,d=t.fgColor,f=d===void 0?L4:d,m=t.includeMargin,g=m===void 0?D4:m,v=t.minVersion,h=v===void 0?_4:v,p=t.marginSize,C=t.style,b=t.imageSettings,y=ut(t,DV),S=b==null?void 0:b.src,x=a.useRef(null),$=a.useRef(null),w=a.useCallback(function(_){x.current=_,typeof r=="function"?r(_):r&&(r.current=_)},[r]),I=a.useState(!1),E=ie(I,2),O=E[1],N=H4({value:n,level:s,minVersion:h,includeMargin:g,marginSize:p,imageSettings:b,size:i}),P=N.margin,R=N.cells,M=N.numCells,D=N.calculatedImageSettings;a.useEffect(function(){if(x.current!=null){var _=x.current,j=_.getContext("2d");if(!j)return;var H=R,k=$.current,V=D!=null&&k!==null&&k.complete&&k.naturalHeight!==0&&k.naturalWidth!==0;V&&D.excavation!=null&&(H=j4(R,D.excavation));var F=window.devicePixelRatio||1;_.height=_.width=i*F;var q=i/M*F;j.scale(q,q),j.fillStyle=u,j.fillRect(0,0,M,M),j.fillStyle=f,LV?j.fill(new Path2D(k4(H,P))):R.forEach(function(W,J){W.forEach(function(X,Z){X&&j.fillRect(Z+P,J+P,1,1)})}),D&&(j.globalAlpha=D.opacity),V&&j.drawImage(k,D.x+P,D.y+P,D.w,D.h)}}),a.useEffect(function(){O(!1)},[S]);var L=K({height:i,width:i},C),T=null;return S!=null&&(T=z.createElement("img",{src:S,key:S,style:{display:"none"},onLoad:function(){O(!0)},ref:$,crossOrigin:D==null?void 0:D.crossOrigin})),z.createElement(z.Fragment,null,z.createElement("canvas",ve({style:L,height:i,width:i,ref:w,role:"img"},y)),T)});z4.displayName="QRCodeCanvas";var _V=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],B4=z.forwardRef(function(t,r){var n=t.value,o=t.size,i=o===void 0?M4:o,l=t.level,s=l===void 0?R4:l,c=t.bgColor,u=c===void 0?T4:c,d=t.fgColor,f=d===void 0?L4:d,m=t.includeMargin,g=m===void 0?D4:m,v=t.minVersion,h=v===void 0?_4:v,p=t.title,C=t.marginSize,b=t.imageSettings,y=ut(t,_V),S=H4({value:n,level:s,minVersion:h,includeMargin:g,marginSize:C,imageSettings:b,size:i}),x=S.margin,$=S.cells,w=S.numCells,I=S.calculatedImageSettings,E=$,O=null;b!=null&&I!=null&&(I.excavation!=null&&(E=j4($,I.excavation)),O=z.createElement("image",{href:b.src,height:I.h,width:I.w,x:I.x+x,y:I.y+x,preserveAspectRatio:"none",opacity:I.opacity,crossOrigin:I.crossOrigin}));var N=k4(E,x);return z.createElement("svg",ve({height:i,width:i,viewBox:"0 0 ".concat(w," ").concat(w),ref:r,role:"img"},y),!!p&&z.createElement("title",null,p),z.createElement("path",{fill:u,d:"M0,0 h".concat(w,"v").concat(w,"H0z"),shapeRendering:"crispEdges"}),z.createElement("path",{fill:f,d:N,shapeRendering:"crispEdges"}),O)});B4.displayName="QRCodeSVG";const kV=e=>{const{componentCls:t,lineWidth:r,lineType:n,colorSplit:o}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${B(r)} ${n} ${o}`,position:"relative",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}},jV=e=>({QRCodeMaskBackgroundColor:new Qt(e.colorBgContainer).setAlpha(.96).toRgbString()}),HV=Et("QRCode",e=>{const t=xt(e,{QRCodeTextColor:e.colorText});return kV(t)},jV);var zV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const BV=zV;var AV=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:BV}))},FV=a.forwardRef(AV);const VV=FV;var WV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const KV=WV;var qV=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:KV}))},GV=a.forwardRef(qV);const XV=GV;var UV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};const YV=UV;var ZV=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:YV}))},QV=a.forwardRef(ZV);const JV=QV;var eW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};const tW=eW;var nW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:tW}))},rW=a.forwardRef(nW);const oW=rW;var aW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const iW=aW;var lW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:iW}))},sW=a.forwardRef(lW);const A4=sW;var cW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const uW=cW;var dW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:uW}))},fW=a.forwardRef(dW);const mW=fW;var gW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};const vW=gW;var pW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:vW}))},hW=a.forwardRef(pW);const CW=hW;var bW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const yW=bW;var SW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:yW}))},xW=a.forwardRef(SW);const $W=xW;var wW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const EW=wW;var IW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:EW}))},OW=a.forwardRef(IW);const F4=OW;var PW={icon:function(t,r){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:r}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"};const NW=PW;var MW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:NW}))},RW=a.forwardRef(MW);const TW=RW;var LW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const DW=LW;var _W=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:DW}))},kW=a.forwardRef(_W);const jW=kW;var HW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const zW=HW;var BW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:zW}))},AW=a.forwardRef(BW);const FW=AW;var VW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};const WW=VW;var KW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:WW}))},qW=a.forwardRef(KW);const GW=qW;var XW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};const UW=XW;var YW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:UW}))},ZW=a.forwardRef(YW);const QW=ZW;var JW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const eK=JW;var tK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:eK}))},nK=a.forwardRef(tK);const rK=nK;var oK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const aK=oK;var iK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:aK}))},lK=a.forwardRef(iK);const sK=lK;var cK={icon:function(t,r){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:r}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:r}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:r}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"};const uK=cK;var dK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:uK}))},fK=a.forwardRef(dK);const mK=fK;var gK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const vK=gK;var pK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:vK}))},hK=a.forwardRef(pK);const CK=hK;var bK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const yK=bK;var SK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:yK}))},xK=a.forwardRef(SK);const $K=xK;var wK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const EK=wK;var IK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:EK}))},OK=a.forwardRef(IK);const PK=OK;var NK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const MK=NK;var RK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:MK}))},TK=a.forwardRef(RK);const LK=TK,DK=z.createElement(jo,null);function _K(e){let{prefixCls:t,locale:r,onRefresh:n,statusRender:o,status:i}=e;const l=z.createElement(z.Fragment,null,z.createElement("p",{className:`${t}-expired`},r==null?void 0:r.expired),n&&z.createElement(hn,{type:"link",icon:z.createElement($K,null),onClick:n},r==null?void 0:r.refresh)),s=z.createElement("p",{className:`${t}-scanned`},r==null?void 0:r.scanned),c={expired:l,loading:DK,scanned:s},u=f=>c[f.status];return(o!=null?o:u)({status:i,locale:r})}var kK=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t,r,n,o;const[,i]=zn(),{value:l,type:s="canvas",icon:c="",size:u=160,iconSize:d,color:f=i.colorText,errorLevel:m="M",status:g="active",bordered:v=!0,onRefresh:h,style:p,className:C,rootClassName:b,prefixCls:y,bgColor:S="transparent",statusRender:x}=e,$=kK(e,["value","type","icon","size","iconSize","color","errorLevel","status","bordered","onRefresh","style","className","rootClassName","prefixCls","bgColor","statusRender"]),{getPrefixCls:w}=a.useContext(ke),I=w("qrcode",y),[E,O,N]=HV(I),P={src:c,x:void 0,y:void 0,height:typeof d=="number"?d:(t=d==null?void 0:d.height)!==null&&t!==void 0?t:40,width:typeof d=="number"?d:(r=d==null?void 0:d.width)!==null&&r!==void 0?r:40,excavate:!0,crossOrigin:"anonymous"},R={value:l,size:u,level:m,bgColor:S,fgColor:f,style:{width:p==null?void 0:p.width,height:p==null?void 0:p.height},imageSettings:c?P:void 0},[M]=Ln("QRCode");if(!l)return null;const D=G(I,C,b,O,N,{[`${I}-borderless`]:!v}),L=Object.assign(Object.assign({backgroundColor:S},p),{width:(n=p==null?void 0:p.width)!==null&&n!==void 0?n:u,height:(o=p==null?void 0:p.height)!==null&&o!==void 0?o:u});return E(z.createElement("div",Object.assign({},$,{className:D,style:L}),g!=="active"&&z.createElement("div",{className:`${I}-mask`},z.createElement(_K,{prefixCls:I,locale:M,status:g,onRefresh:h,statusRender:x})),s==="canvas"?z.createElement(z4,Object.assign({},R)):z.createElement(B4,Object.assign({},R))))},HK=jK;function zK(e,t){var r=e.disabled,n=e.prefixCls,o=e.character,i=e.characterRender,l=e.index,s=e.count,c=e.value,u=e.allowHalf,d=e.focused,f=e.onHover,m=e.onClick,g=function(x){f(x,l)},v=function(x){m(x,l)},h=function(x){x.keyCode===we.ENTER&&m(x,l)},p=l+1,C=new Set([n]);c===0&&l===0&&d?C.add("".concat(n,"-focused")):u&&c+.5>=p&&cl?"true":"false","aria-posinset":l+1,"aria-setsize":s,tabIndex:r?-1:0},z.createElement("div",{className:"".concat(n,"-first")},b),z.createElement("div",{className:"".concat(n,"-second")},b)));return i&&(y=i(y,e)),y}const BK=z.forwardRef(zK);function AK(){var e=a.useRef({});function t(n){return e.current[n]}function r(n){return function(o){e.current[n]=o}}return[t,r]}function FK(e){var t=e.pageXOffset,r="scrollLeft";if(typeof t!="number"){var n=e.document;t=n.documentElement[r],typeof t!="number"&&(t=n.body[r])}return t}function VK(e){var t,r,n=e.ownerDocument,o=n.body,i=n&&n.documentElement,l=e.getBoundingClientRect();return t=l.left,r=l.top,t-=i.clientLeft||o.clientLeft||0,r-=i.clientTop||o.clientTop||0,{left:t,top:r}}function WK(e){var t=VK(e),r=e.ownerDocument,n=r.defaultView||r.parentWindow;return t.left+=FK(n),t.left}var KK=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function qK(e,t){var r=e.prefixCls,n=r===void 0?"rc-rate":r,o=e.className,i=e.defaultValue,l=e.value,s=e.count,c=s===void 0?5:s,u=e.allowHalf,d=u===void 0?!1:u,f=e.allowClear,m=f===void 0?!0:f,g=e.keyboard,v=g===void 0?!0:g,h=e.character,p=h===void 0?"★":h,C=e.characterRender,b=e.disabled,y=e.direction,S=y===void 0?"ltr":y,x=e.tabIndex,$=x===void 0?0:x,w=e.autoFocus,I=e.onHoverChange,E=e.onChange,O=e.onFocus,N=e.onBlur,P=e.onKeyDown,R=e.onMouseLeave,M=ut(e,KK),D=AK(),L=ie(D,2),T=L[0],_=L[1],j=z.useRef(null),H=function(){if(!b){var xe;(xe=j.current)===null||xe===void 0||xe.focus()}};z.useImperativeHandle(t,function(){return{focus:H,blur:function(){if(!b){var xe;(xe=j.current)===null||xe===void 0||xe.blur()}}}});var k=Ot(i||0,{value:l}),V=ie(k,2),F=V[0],q=V[1],W=Ot(null),J=ie(W,2),X=J[0],Z=J[1],ee=function(xe,Me){var Ee=S==="rtl",Te=xe+1;if(d){var Re=T(xe),Pe=WK(Re),me=Re.clientWidth;(Ee&&Me-Pe>me/2||!Ee&&Me-Pe0&&!Ee||Me===we.RIGHT&&F>0&&Ee?(ne(F-Te),xe.preventDefault()):Me===we.LEFT&&F{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${B(e.lineWidth)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},UK=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),YK=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),XK(e)),UK(e))}},ZK=e=>({starColor:e.yellow6,starSize:e.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:e.colorFillContent}),QK=Et("Rate",e=>{const t=xt(e,{});return[YK(t)]},ZK);var JK=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,rootClassName:o,style:i,tooltips:l,character:s=a.createElement(PK,null),disabled:c}=e,u=JK(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),d=(x,$)=>{let{index:w}=$;return l?a.createElement(Qn,{title:l[w]},x):x},{getPrefixCls:f,direction:m,rate:g}=a.useContext(ke),v=f("rate",r),[h,p,C]=QK(v),b=Object.assign(Object.assign({},g==null?void 0:g.style),i),y=a.useContext(Hn),S=c!=null?c:y;return h(a.createElement(GK,Object.assign({ref:t,character:s,characterRender:d,disabled:S},u,{className:G(n,o,p,C,g==null?void 0:g.className),style:b,prefixCls:v,direction:m})))}),tq=eq,nq=()=>a.createElement("svg",{width:"252",height:"294"},a.createElement("title",null,"No Found"),a.createElement("defs",null,a.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .012)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),a.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),a.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),a.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),a.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),a.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),a.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),a.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),a.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),a.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),a.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),a.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),a.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),a.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),a.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),a.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),a.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),a.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),a.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),a.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),a.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),a.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),a.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),a.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),a.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),a.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),a.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),a.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),a.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),a.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),a.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),a.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),a.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),a.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),a.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),rq=nq,oq=()=>a.createElement("svg",{width:"254",height:"294"},a.createElement("title",null,"Server Error"),a.createElement("defs",null,a.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),a.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .067)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),a.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),a.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),a.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),a.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),a.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),a.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),a.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),a.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),a.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),a.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),a.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),a.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),a.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),a.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),a.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),a.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),a.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),a.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),a.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),a.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),a.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),a.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),a.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),a.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),a.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),a.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),a.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),a.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),a.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),a.createElement("mask",{fill:"#fff"}),a.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),a.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),a.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),a.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),aq=oq,iq=e=>{const{componentCls:t,lineHeightHeading3:r,iconCls:n,padding:o,paddingXL:i,paddingXS:l,paddingLG:s,marginXS:c,lineHeight:u}=e;return{[t]:{padding:`${B(e.calc(s).mul(2).equal())} ${B(i)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:"center",[`& > ${n}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:r,marginBlock:c,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:u,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:s,padding:`${B(s)} ${B(e.calc(o).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:l,"&:last-child":{marginInlineEnd:0}}}}},lq=e=>{const{componentCls:t,iconCls:r}=e;return{[`${t}-success ${t}-icon > ${r}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${r}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${r}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${r}`]:{color:e.resultWarningIconColor}}},sq=e=>[iq(e),lq(e)],cq=e=>sq(e),uq=e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:e.fontSizeHeading3*3,extraMargin:`${e.paddingLG}px 0 0 0`}),dq=Et("Result",e=>{const t=e.colorInfo,r=e.colorError,n=e.colorSuccess,o=e.colorWarning,i=xt(e,{resultInfoIconColor:t,resultErrorIconColor:r,resultSuccessIconColor:n,resultWarningIconColor:o,imageWidth:250,imageHeight:295});return[cq(i)]},uq),fq=()=>a.createElement("svg",{width:"251",height:"294"},a.createElement("title",null,"Unauthorized"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),a.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),a.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),a.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),a.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),a.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),a.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),a.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),a.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),a.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),a.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),a.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),a.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),a.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),a.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),a.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),a.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),a.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),a.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),a.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),a.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),a.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),a.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),a.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),a.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),a.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),a.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),a.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),a.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),a.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),a.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),a.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),a.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),mq=fq,gq={success:ga,error:bo,info:Bo,warning:LK},Tl={404:rq,500:aq,403:mq},vq=Object.keys(Tl),pq=e=>{let{prefixCls:t,icon:r,status:n}=e;const o=G(`${t}-icon`);if(vq.includes(`${n}`)){const l=Tl[n];return a.createElement("div",{className:`${o} ${t}-image`},a.createElement(l,null))}const i=a.createElement(gq[n]);return r===null||r===!1?null:a.createElement("div",{className:o},r||i)},hq=e=>{let{prefixCls:t,extra:r}=e;return r?a.createElement("div",{className:`${t}-extra`},r):null},$a=e=>{let{prefixCls:t,className:r,rootClassName:n,subTitle:o,title:i,style:l,children:s,status:c="info",icon:u,extra:d}=e;const{getPrefixCls:f,direction:m,result:g}=a.useContext(ke),v=f("result",t),[h,p,C]=dq(v),b=G(v,`${v}-${c}`,r,g==null?void 0:g.className,n,{[`${v}-rtl`]:m==="rtl"},p,C),y=Object.assign(Object.assign({},g==null?void 0:g.style),l);return h(a.createElement("div",{className:b,style:y},a.createElement(pq,{prefixCls:v,status:c,icon:u}),a.createElement("div",{className:`${v}-title`},i),o&&a.createElement("div",{className:`${v}-subtitle`},o),a.createElement(hq,{prefixCls:v,extra:d}),s&&a.createElement("div",{className:`${v}-content`},s)))};$a.PRESENTED_IMAGE_403=Tl[403];$a.PRESENTED_IMAGE_404=Tl[404];$a.PRESENTED_IMAGE_500=Tl[500];const Cq=e=>{const{value:t,formatter:r,precision:n,decimalSeparator:o,groupSeparator:i="",prefixCls:l}=e;let s;if(typeof r=="function")s=r(t);else{const c=String(t),u=c.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u||c==="-")s=c;else{const d=u[1];let f=u[2]||"0",m=u[4]||"";f=f.replace(/\B(?=(\d{3})+(?!\d))/g,i),typeof n=="number"&&(m=m.padEnd(n,"0").slice(0,n>0?n:0)),m&&(m=`${o}${m}`),s=[a.createElement("span",{key:"int",className:`${l}-content-value-int`},d,f),m&&a.createElement("span",{key:"decimal",className:`${l}-content-value-decimal`},m)]}}return a.createElement("span",{className:`${l}-content-value`},s)},bq=Cq,yq=e=>{const{componentCls:t,marginXXS:r,padding:n,colorTextDescription:o,titleFontSize:i,colorTextHeading:l,contentFontSize:s,fontFamily:c}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{[`${t}-title`]:{marginBottom:r,color:o,fontSize:i},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:l,fontSize:s,fontFamily:c,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:r},[`${t}-content-suffix`]:{marginInlineStart:r}}})}},Sq=e=>{const{fontSizeHeading3:t,fontSize:r}=e;return{titleFontSize:r,contentFontSize:t}},xq=Et("Statistic",e=>{const t=xt(e,{});return[yq(t)]},Sq);var $q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,rootClassName:n,style:o,valueStyle:i,value:l=0,title:s,valueRender:c,prefix:u,suffix:d,loading:f=!1,formatter:m,precision:g,decimalSeparator:v=".",groupSeparator:h=",",onMouseEnter:p,onMouseLeave:C}=e,b=$q(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:y,direction:S,statistic:x}=a.useContext(ke),$=y("statistic",t),[w,I,E]=xq($),O=a.createElement(bq,{decimalSeparator:v,groupSeparator:h,prefixCls:$,formatter:m,precision:g,value:l}),N=G($,{[`${$}-rtl`]:S==="rtl"},x==null?void 0:x.className,r,n,I,E),P=en(b,{aria:!0,data:!0});return w(a.createElement("div",Object.assign({},P,{className:N,style:Object.assign(Object.assign({},x==null?void 0:x.style),o),onMouseEnter:p,onMouseLeave:C}),s&&a.createElement("div",{className:`${$}-title`},s),a.createElement(er,{paragraph:!1,loading:f,className:`${$}-skeleton`},a.createElement("div",{style:i,className:`${$}-content`},u&&a.createElement("span",{className:`${$}-content-prefix`},u),c?c(O):O,d&&a.createElement("span",{className:`${$}-content-suffix`},d)))))},wq=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function Eq(e,t){let r=e;const n=/\[[^\]]*]/g,o=(t.match(n)||[]).map(c=>c.slice(1,-1)),i=t.replace(n,"[]"),l=wq.reduce((c,u)=>{let[d,f]=u;if(c.includes(d)){const m=Math.floor(r/f);return r-=m*f,c.replace(new RegExp(`${d}+`,"g"),g=>{const v=g.length;return m.toString().padStart(v,"0")})}return c},i);let s=0;return l.replace(n,()=>{const c=o[s];return s+=1,c})}function Iq(e,t){const{format:r=""}=t,n=new Date(e).getTime(),o=Date.now(),i=Math.max(n-o,0);return Eq(i,r)}var Oq=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{value:t,format:r="HH:mm:ss",onChange:n,onFinish:o}=e,i=Oq(e,["value","format","onChange","onFinish"]),l=xc(),s=a.useRef(null),c=()=>{o==null||o(),s.current&&(clearInterval(s.current),s.current=null)},u=()=>{const m=Nq(t);m>=Date.now()&&(s.current=setInterval(()=>{l(),n==null||n(m-Date.now()),m(u(),()=>{s.current&&(clearInterval(s.current),s.current=null)}),[t]);const d=(m,g)=>Iq(m,Object.assign(Object.assign({},g),{format:r})),f=m=>cn(m,{title:void 0});return a.createElement(tu,Object.assign({},i,{value:t,valueRender:f,formatter:d}))},Rq=a.memo(Mq);tu.Countdown=Rq;var Tq=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function bp(e){return typeof e=="string"}function V4(e){var t,r=e.className,n=e.prefixCls,o=e.style,i=e.active,l=e.status,s=e.iconPrefix,c=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,f=e.description,m=e.title,g=e.subTitle,v=e.progressDot,h=e.stepIcon,p=e.tailContent,C=e.icons,b=e.stepIndex,y=e.onStepClick,S=e.onClick,x=e.render,$=ut(e,Tq),w=!!y&&!d,I={};w&&(I.role="button",I.tabIndex=0,I.onClick=function(M){S==null||S(M),y(b)},I.onKeyDown=function(M){var D=M.which;(D===we.ENTER||D===we.SPACE)&&y(b)});var E=function(){var D,L,T=G("".concat(n,"-icon"),"".concat(s,"icon"),(D={},A(D,"".concat(s,"icon-").concat(c),c&&bp(c)),A(D,"".concat(s,"icon-check"),!c&&l==="finish"&&(C&&!C.finish||!C)),A(D,"".concat(s,"icon-cross"),!c&&l==="error"&&(C&&!C.error||!C)),D)),_=a.createElement("span",{className:"".concat(n,"-icon-dot")});return v?typeof v=="function"?L=a.createElement("span",{className:"".concat(n,"-icon")},v(_,{index:u-1,status:l,title:m,description:f})):L=a.createElement("span",{className:"".concat(n,"-icon")},_):c&&!bp(c)?L=a.createElement("span",{className:"".concat(n,"-icon")},c):C&&C.finish&&l==="finish"?L=a.createElement("span",{className:"".concat(n,"-icon")},C.finish):C&&C.error&&l==="error"?L=a.createElement("span",{className:"".concat(n,"-icon")},C.error):c||l==="finish"||l==="error"?L=a.createElement("span",{className:T}):L=a.createElement("span",{className:"".concat(n,"-icon")},u),h&&(L=h({index:u-1,status:l,title:m,description:f,node:L})),L},O=l||"wait",N=G("".concat(n,"-item"),"".concat(n,"-item-").concat(O),r,(t={},A(t,"".concat(n,"-item-custom"),c),A(t,"".concat(n,"-item-active"),i),A(t,"".concat(n,"-item-disabled"),d===!0),t)),P=K({},o),R=a.createElement("div",ve({},$,{className:N,style:P}),a.createElement("div",ve({onClick:S},I,{className:"".concat(n,"-item-container")}),a.createElement("div",{className:"".concat(n,"-item-tail")},p),a.createElement("div",{className:"".concat(n,"-item-icon")},E()),a.createElement("div",{className:"".concat(n,"-item-content")},a.createElement("div",{className:"".concat(n,"-item-title")},m,g&&a.createElement("div",{title:typeof g=="string"?g:void 0,className:"".concat(n,"-item-subtitle")},g)),f&&a.createElement("div",{className:"".concat(n,"-item-description")},f))));return x&&(R=x(R)||null),R}var Lq=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function xm(e){var t,r=e.prefixCls,n=r===void 0?"rc-steps":r,o=e.style,i=o===void 0?{}:o,l=e.className;e.children;var s=e.direction,c=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,f=e.labelPlacement,m=f===void 0?"horizontal":f,g=e.iconPrefix,v=g===void 0?"rc":g,h=e.status,p=h===void 0?"process":h,C=e.size,b=e.current,y=b===void 0?0:b,S=e.progressDot,x=S===void 0?!1:S,$=e.stepIcon,w=e.initial,I=w===void 0?0:w,E=e.icons,O=e.onChange,N=e.itemRender,P=e.items,R=P===void 0?[]:P,M=ut(e,Lq),D=d==="navigation",L=d==="inline",T=L||x,_=L?"horizontal":c,j=L?void 0:C,H=T?"vertical":m,k=G(n,"".concat(n,"-").concat(_),l,(t={},A(t,"".concat(n,"-").concat(j),j),A(t,"".concat(n,"-label-").concat(H),_==="horizontal"),A(t,"".concat(n,"-dot"),!!T),A(t,"".concat(n,"-navigation"),D),A(t,"".concat(n,"-inline"),L),t)),V=function(W){O&&y!==W&&O(W)},F=function(W,J){var X=K({},W),Z=I+J;return p==="error"&&J===y-1&&(X.className="".concat(n,"-next-error")),X.status||(Z===y?X.status=p:Z{const{componentCls:t,customIconTop:r,customIconSize:n,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:r,width:n,height:n,fontSize:o,lineHeight:B(n)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},_q=e=>{const{componentCls:t}=e,r=`${t}-item`;return{[`${t}-horizontal`]:{[`${r}-tail`]:{transform:"translateY(-50%)"}}}},kq=e=>{const{componentCls:t,inlineDotSize:r,inlineTitleColor:n,inlineTailColor:o}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),l={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${B(i)} ${B(e.paddingXXS)} 0`,margin:`0 ${B(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:r,height:r,marginInlineStart:`calc(50% - ${B(e.calc(r).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:n,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(r).div(2).add(i).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${B(e.lineWidth)} ${e.lineType} ${o}`}},l),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${B(e.lineWidth)} ${e.lineType} ${o}`}},l),"&-error":l,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:r,height:r,marginInlineStart:`calc(50% - ${B(e.calc(r).div(2).equal())})`,top:0}},l),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},jq=e=>{const{componentCls:t,iconSize:r,lineHeight:n,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(r).div(2).add(e.controlHeightLG).equal(),padding:`0 ${B(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(r).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(r).sub(o).div(2).add(e.controlHeightLG).equal()}}}}}},Hq=e=>{const{componentCls:t,navContentMaxWidth:r,navArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:r},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},Mn),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${B(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${B(e.lineWidth)} ${e.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${B(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},zq=e=>{const{antCls:t,componentCls:r,iconSize:n,iconSizeSM:o,processIconColor:i,marginXXS:l,lineWidthBold:s,lineWidth:c,paddingXXS:u}=e,d=e.calc(n).add(e.calc(s).mul(4).equal()).equal(),f=e.calc(o).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${r}-with-progress`]:{[`${r}-item`]:{paddingTop:u,[`&-process ${r}-item-container ${r}-item-icon ${r}-icon`]:{color:i}},[`&${r}-vertical > ${r}-item `]:{paddingInlineStart:u,[`> ${r}-item-container > ${r}-item-tail`]:{top:l,insetInlineStart:e.calc(n).div(2).sub(c).add(u).equal()}},[`&, &${r}-small`]:{[`&${r}-horizontal ${r}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${r}-small${r}-vertical > ${r}-item > ${r}-item-container > ${r}-item-tail`]:{insetInlineStart:e.calc(o).div(2).sub(c).add(u).equal()},[`&${r}-label-vertical ${r}-item ${r}-item-tail`]:{top:e.calc(n).div(2).add(u).equal()},[`${r}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${B(d)} !important`,height:`${B(d)} !important`}}},[`&${r}-small`]:{[`&${r}-label-vertical ${r}-item ${r}-item-tail`]:{top:e.calc(o).div(2).add(u).equal()},[`${r}-item-icon ${t}-progress-inner`]:{width:`${B(f)} !important`,height:`${B(f)} !important`}}}}},Bq=e=>{const{componentCls:t,descriptionMaxWidth:r,lineHeight:n,dotCurrentSize:o,dotSize:i,motionDurationSlow:l}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${B(e.calc(r).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${B(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:B(i),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${l}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:r},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(i).sub(o).div(2).equal(),width:o,height:o,lineHeight:B(o),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:e.calc(i).sub(o).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:`${B(e.calc(i).add(e.paddingXS).equal())} 0 ${B(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(i).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},Aq=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},Fq=e=>{const{componentCls:t,iconSizeSM:r,fontSizeSM:n,fontSize:o,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:r,height:r,marginTop:0,marginBottom:0,marginInline:`0 ${B(e.marginXS)}`,fontSize:n,lineHeight:B(r),textAlign:"center",borderRadius:r},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:B(r),"&::after":{top:e.calc(r).div(2).equal()}},[`${t}-item-description`]:{color:i,fontSize:o},[`${t}-item-tail`]:{top:e.calc(r).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:r,lineHeight:B(r),transform:"none"}}}}},Vq=e=>{const{componentCls:t,iconSizeSM:r,iconSize:n}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:B(n)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${B(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${B(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),padding:`${B(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${B(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:B(r)}}}}},Wq="wait",Kq="process",qq="finish",Gq="error",is=(e,t)=>{const r=`${t.componentCls}-item`,n=`${e}IconColor`,o=`${e}TitleColor`,i=`${e}DescriptionColor`,l=`${e}TailColor`,s=`${e}IconBgColor`,c=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${r}-${e} ${r}-icon`]:{backgroundColor:t[s],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${r}-${e}${r}-custom ${r}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${r}-${e} > ${r}-container > ${r}-content > ${r}-title`]:{color:t[o],"&::after":{backgroundColor:t[l]}},[`${r}-${e} > ${r}-container > ${r}-content > ${r}-description`]:{color:t[i]},[`${r}-${e} > ${r}-container > ${r}-tail::after`]:{backgroundColor:t[l]}}},Xq=e=>{const{componentCls:t,motionDurationSlow:r}=e,n=`${t}-item`,o=`${n}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none","&:focus-visible":{[o]:Object.assign({},_o(e))}},[`${o}, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:B(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${B(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${r}, border-color ${r}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${r}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:B(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${n}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},is(Wq,e)),is(Kq,e)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:e.fontWeightStrong}}),is(qq,e)),is(Gq,e)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Uq=e=>{const{componentCls:t,motionDurationSlow:r}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${r}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},Yq=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Xq(e)),Uq(e)),Dq(e)),Fq(e)),Vq(e)),_q(e)),jq(e)),Bq(e)),Hq(e)),Aq(e)),zq(e)),kq(e))}},Zq=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),Qq=Et("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:r,colorTextLightSolid:n,colorText:o,colorPrimary:i,colorTextDescription:l,colorTextQuaternary:s,colorError:c,colorBorderSecondary:u,colorSplit:d}=e,f=xt(e,{processIconColor:n,processTitleColor:o,processDescriptionColor:o,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:d,waitTitleColor:l,waitDescriptionColor:l,waitTailColor:d,waitDotColor:t,finishIconColor:i,finishTitleColor:o,finishDescriptionColor:l,finishTailColor:i,finishDotColor:i,errorIconColor:n,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:i,stepsProgressSize:r,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[Yq(f)]},Zq);function Jq(e){return e.filter(t=>t)}function eG(e,t){if(e)return e;const r=sn(t).map(n=>{if(a.isValidElement(n)){const{props:o}=n;return Object.assign({},o)}return null});return Jq(r)}var tG=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{percent:t,size:r,className:n,rootClassName:o,direction:i,items:l,responsive:s=!0,current:c=0,children:u,style:d}=e,f=tG(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:m}=di(s),{getPrefixCls:g,direction:v,steps:h}=a.useContext(ke),p=a.useMemo(()=>s&&m?"vertical":i,[m,i]),C=un(r),b=g("steps",e.prefixCls),[y,S,x]=Qq(b),$=e.type==="inline",w=g("",e.iconPrefix),I=eG(l,u),E=$?void 0:t,O=Object.assign(Object.assign({},h==null?void 0:h.style),d),N=G(h==null?void 0:h.className,{[`${b}-rtl`]:v==="rtl",[`${b}-with-progress`]:E!==void 0},n,o,S,x),P={finish:a.createElement(Cc,{className:`${b}-finish-icon`}),error:a.createElement(mr,{className:`${b}-error-icon`})},R=D=>{let{node:L,status:T}=D;if(T==="process"&&E!==void 0){const _=C==="small"?32:40;return a.createElement("div",{className:`${b}-progress-icon`},a.createElement(Sm,{type:"circle",percent:E,size:_,strokeWidth:4,format:()=>null}),L)}return L},M=(D,L)=>D.description?a.createElement(Qn,{title:D.description},L):L;return y(a.createElement(xm,Object.assign({icons:P},f,{style:O,current:c,size:C,items:I,itemRender:$?M:void 0,stepIcon:R,direction:p,prefixCls:b,iconPrefix:w,className:N})))};W4.Step=xm.Step;const nG=W4;var rG=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],K4=a.forwardRef(function(e,t){var r,n=e.prefixCls,o=n===void 0?"rc-switch":n,i=e.className,l=e.checked,s=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,f=e.unCheckedChildren,m=e.onClick,g=e.onChange,v=e.onKeyDown,h=ut(e,rG),p=Ot(!1,{value:l,defaultValue:s}),C=ie(p,2),b=C[0],y=C[1];function S(I,E){var O=b;return c||(O=I,y(O),g==null||g(O,E)),O}function x(I){I.which===we.LEFT?S(!1,I):I.which===we.RIGHT&&S(!0,I),v==null||v(I)}function $(I){var E=S(!b,I);m==null||m(E,I)}var w=G(o,i,(r={},A(r,"".concat(o,"-checked"),b),A(r,"".concat(o,"-disabled"),c),r));return a.createElement("button",ve({},h,{type:"button",role:"switch","aria-checked":b,disabled:c,className:w,ref:t,onKeyDown:x,onClick:$}),u,a.createElement("span",{className:"".concat(o,"-inner")},a.createElement("span",{className:"".concat(o,"-inner-checked")},d),a.createElement("span",{className:"".concat(o,"-inner-unchecked")},f)))});K4.displayName="Switch";const oG=e=>{const{componentCls:t,trackHeightSM:r,trackPadding:n,trackMinWidthSM:o,innerMinMarginSM:i,innerMaxMarginSM:l,handleSizeSM:s,calc:c}=e,u=`${t}-inner`,d=B(c(s).add(c(n).mul(2)).equal()),f=B(c(l).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:r,lineHeight:B(r),[`${t}-inner`]:{paddingInlineStart:l,paddingInlineEnd:i,[`${u}-checked, ${u}-unchecked`]:{minHeight:r},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${f})`,marginInlineEnd:`calc(100% - ${d} + ${f})`},[`${u}-unchecked`]:{marginTop:c(r).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:l,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${f})`,marginInlineEnd:`calc(-100% + ${d} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${B(c(s).add(n).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},aG=e=>{const{componentCls:t,handleSize:r,calc:n}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:n(n(r).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},iG=e=>{const{componentCls:t,trackPadding:r,handleBg:n,handleShadow:o,handleSize:i,calc:l}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:r,insetInlineStart:r,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:n,borderRadius:l(i).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${B(l(i).add(r).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},lG=e=>{const{componentCls:t,trackHeight:r,trackPadding:n,innerMinMargin:o,innerMaxMargin:i,handleSize:l,calc:s}=e,c=`${t}-inner`,u=B(s(l).add(s(n).mul(2)).equal()),d=B(s(i).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:r},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:s(r).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(n).mul(2).equal(),marginInlineEnd:s(n).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(n).mul(-1).mul(2).equal(),marginInlineEnd:s(n).mul(2).equal()}}}}}},sG=e=>{const{componentCls:t,trackHeight:r,trackMinWidth:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:n,height:r,lineHeight:B(r),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),wr(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},cG=e=>{const{fontSize:t,lineHeight:r,controlHeight:n,colorWhite:o}=e,i=t*r,l=n/2,s=2,c=i-s*2,u=l-s*2;return{trackHeight:i,trackHeightSM:l,trackMinWidth:c*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:o,handleSize:c,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new Qt("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},uG=Et("Switch",e=>{const t=xt(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[sG(t),lG(t),iG(t),aG(t),oG(t)]},cG);var dG=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,size:n,disabled:o,loading:i,className:l,rootClassName:s,style:c,checked:u,value:d,defaultChecked:f,defaultValue:m,onChange:g}=e,v=dG(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[h,p]=Ot(!1,{value:u!=null?u:d,defaultValue:f!=null?f:m}),{getPrefixCls:C,direction:b,switch:y}=a.useContext(ke),S=a.useContext(Hn),x=(o!=null?o:S)||i,$=C("switch",r),w=a.createElement("div",{className:`${$}-handle`},i&&a.createElement(Lr,{className:`${$}-loading-icon`})),[I,E,O]=uG($),N=un(n),P=G(y==null?void 0:y.className,{[`${$}-small`]:N==="small",[`${$}-loading`]:i,[`${$}-rtl`]:b==="rtl"},l,s,E,O),R=Object.assign(Object.assign({},y==null?void 0:y.style),c),M=function(){p(arguments.length<=0?void 0:arguments[0]),g==null||g.apply(void 0,arguments)};return I(a.createElement(ul,{component:"Switch"},a.createElement(K4,Object.assign({},v,{checked:h,onChange:M,prefixCls:$,className:P,style:R,disabled:x,ref:t,loadingIcon:w}))))}),q4=fG;q4.__ANT_SWITCH=!0;const mG=q4;var Mo={},Ll="rc-table-internal-hook";function $m(e){var t=a.createContext(void 0),r=function(o){var i=o.value,l=o.children,s=a.useRef(i);s.current=i;var c=a.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=ie(c,1),d=u[0];return _t(function(){Qr.unstable_batchedUpdates(function(){d.listeners.forEach(function(f){f(i)})})},[i]),a.createElement(t.Provider,{value:d},l)};return{Context:t,Provider:r,defaultValue:e}}function Un(e,t){var r=$t(typeof t=="function"?t:function(f){if(t===void 0)return f;if(!Array.isArray(t))return f[t];var m={};return t.forEach(function(g){m[g]=f[g]}),m}),n=a.useContext(e==null?void 0:e.Context),o=n||{},i=o.listeners,l=o.getValue,s=a.useRef();s.current=r(n?l():e==null?void 0:e.defaultValue);var c=a.useState({}),u=ie(c,2),d=u[1];return _t(function(){if(!n)return;function f(m){var g=r(m);Rr(s.current,g,!0)||d({})}return i.add(f),function(){i.delete(f)}},[n]),s.current}function gG(){var e=a.createContext(null);function t(){return a.useContext(e)}function r(o,i){var l=fo(o),s=function(u,d){var f=l?{ref:d}:{},m=a.useRef(0),g=a.useRef(u),v=t();return v!==null?a.createElement(o,ve({},u,f)):((!i||i(g.current,u))&&(m.current+=1),g.current=u,a.createElement(e.Provider,{value:m.current},a.createElement(o,ve({},u,f))))};return l?a.forwardRef(s):s}function n(o,i){var l=fo(o),s=function(u,d){var f=l?{ref:d}:{};return t(),a.createElement(o,ve({},u,f))};return l?a.memo(a.forwardRef(s),i):a.memo(s,i)}return{makeImmutable:r,responseImmutable:n,useImmutableMark:t}}var wm=gG(),G4=wm.makeImmutable,yi=wm.responseImmutable,vG=wm.useImmutableMark,ir=$m(),X4=a.createContext({renderWithProps:!1}),pG="RC_TABLE_KEY";function hG(e){return e==null?[]:Array.isArray(e)?e:[e]}function nu(e){var t=[],r={};return e.forEach(function(n){for(var o=n||{},i=o.key,l=o.dataIndex,s=i||hG(l).join("-")||pG;r[s];)s="".concat(s,"_next");r[s]=!0,t.push(s)}),t}function Of(e){return e!=null}function CG(e){return e&&bt(e)==="object"&&!Array.isArray(e)&&!a.isValidElement(e)}function bG(e,t,r,n,o,i){var l=a.useContext(X4),s=vG(),c=sl(function(){if(Of(n))return[n];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=Xr(e,u),f=d,m=void 0;if(o){var g=o(d,e,r);CG(g)?(f=g.children,m=g.props,l.renderWithProps=!0):f=g}return[f,m]},[s,e,n,t,o,r],function(u,d){if(i){var f=ie(u,2),m=f[1],g=ie(d,2),v=g[1];return i(v,m)}return l.renderWithProps?!0:!Rr(u,d,!0)});return c}function yG(e,t,r,n){var o=e+t-1;return e<=n&&o>=r}function SG(e,t){return Un(ir,function(r){var n=yG(e,t||1,r.hoverStartRow,r.hoverEndRow);return[n,r.onHover]})}var xG=function(t){var r=t.ellipsis,n=t.rowType,o=t.children,i,l=r===!0?{showTitle:!0}:r;return l&&(l.showTitle||n==="header")&&(typeof o=="string"||typeof o=="number"?i=o.toString():a.isValidElement(o)&&typeof o.props.children=="string"&&(i=o.props.children)),i};function $G(e){var t,r,n,o,i,l,s,c,u=e.component,d=e.children,f=e.ellipsis,m=e.scope,g=e.prefixCls,v=e.className,h=e.align,p=e.record,C=e.render,b=e.dataIndex,y=e.renderIndex,S=e.shouldCellUpdate,x=e.index,$=e.rowType,w=e.colSpan,I=e.rowSpan,E=e.fixLeft,O=e.fixRight,N=e.firstFixLeft,P=e.lastFixLeft,R=e.firstFixRight,M=e.lastFixRight,D=e.appendNode,L=e.additionalProps,T=L===void 0?{}:L,_=e.isSticky,j="".concat(g,"-cell"),H=Un(ir,["supportSticky","allColumnsFixedLeft","rowHoverable"]),k=H.supportSticky,V=H.allColumnsFixedLeft,F=H.rowHoverable,q=bG(p,b,y,d,C,S),W=ie(q,2),J=W[0],X=W[1],Z={},ee=typeof E=="number"&&k,ne=typeof O=="number"&&k;ee&&(Z.position="sticky",Z.left=E),ne&&(Z.position="sticky",Z.right=O);var Y=(t=(r=(n=X==null?void 0:X.colSpan)!==null&&n!==void 0?n:T.colSpan)!==null&&r!==void 0?r:w)!==null&&t!==void 0?t:1,te=(o=(i=(l=X==null?void 0:X.rowSpan)!==null&&l!==void 0?l:T.rowSpan)!==null&&i!==void 0?i:I)!==null&&o!==void 0?o:1,Q=SG(x,te),U=ie(Q,2),ae=U[0],se=U[1],oe=$t(function(he){var Se;p&&se(x,x+te-1),T==null||(Se=T.onMouseEnter)===null||Se===void 0||Se.call(T,he)}),re=$t(function(he){var Se;p&&se(-1,-1),T==null||(Se=T.onMouseLeave)===null||Se===void 0||Se.call(T,he)});if(Y===0||te===0)return null;var ce=(s=T.title)!==null&&s!==void 0?s:xG({rowType:$,ellipsis:f,children:J}),ue=G(j,v,(c={},A(c,"".concat(j,"-fix-left"),ee&&k),A(c,"".concat(j,"-fix-left-first"),N&&k),A(c,"".concat(j,"-fix-left-last"),P&&k),A(c,"".concat(j,"-fix-left-all"),P&&V&&k),A(c,"".concat(j,"-fix-right"),ne&&k),A(c,"".concat(j,"-fix-right-first"),R&&k),A(c,"".concat(j,"-fix-right-last"),M&&k),A(c,"".concat(j,"-ellipsis"),f),A(c,"".concat(j,"-with-append"),D),A(c,"".concat(j,"-fix-sticky"),(ee||ne)&&_&&k),A(c,"".concat(j,"-row-hover"),!X&&ae),c),T.className,X==null?void 0:X.className),fe={};h&&(fe.textAlign=h);var be=K(K(K(K({},Z),T.style),fe),X==null?void 0:X.style),de=J;return bt(de)==="object"&&!Array.isArray(de)&&!a.isValidElement(de)&&(de=null),f&&(P||R)&&(de=a.createElement("span",{className:"".concat(j,"-content")},de)),a.createElement(u,ve({},X,T,{className:ue,style:be,title:ce,scope:m,onMouseEnter:F?oe:void 0,onMouseLeave:F?re:void 0,colSpan:Y!==1?Y:null,rowSpan:te!==1?te:null}),D,de)}const wa=a.memo($G);function Em(e,t,r,n,o){var i=r[e]||{},l=r[t]||{},s,c;i.fixed==="left"?s=n.left[o==="rtl"?t:e]:l.fixed==="right"&&(c=n.right[o==="rtl"?e:t]);var u=!1,d=!1,f=!1,m=!1,g=r[t+1],v=r[e-1],h=g&&!g.fixed||v&&!v.fixed||r.every(function(S){return S.fixed==="left"});if(o==="rtl"){if(s!==void 0){var p=v&&v.fixed==="left";m=!p&&h}else if(c!==void 0){var C=g&&g.fixed==="right";f=!C&&h}}else if(s!==void 0){var b=g&&g.fixed==="left";u=!b&&h}else if(c!==void 0){var y=v&&v.fixed==="right";d=!y&&h}return{fixLeft:s,fixRight:c,lastFixLeft:u,firstFixRight:d,lastFixRight:f,firstFixLeft:m,isSticky:n.isSticky}}var U4=a.createContext({});function wG(e){var t=e.className,r=e.index,n=e.children,o=e.colSpan,i=o===void 0?1:o,l=e.rowSpan,s=e.align,c=Un(ir,["prefixCls","direction"]),u=c.prefixCls,d=c.direction,f=a.useContext(U4),m=f.scrollColumnIndex,g=f.stickyOffsets,v=f.flattenColumns,h=r+i-1,p=h+1===m?i+1:i,C=Em(r,r+p-1,v,g,d);return a.createElement(wa,ve({className:t,index:r,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:p,rowSpan:l,render:function(){return n}},C))}var EG=["children"];function IG(e){var t=e.children,r=ut(e,EG);return a.createElement("tr",r,t)}function ru(e){var t=e.children;return t}ru.Row=IG;ru.Cell=wG;function OG(e){var t=e.children,r=e.stickyOffsets,n=e.flattenColumns,o=Un(ir,"prefixCls"),i=n.length-1,l=n[i],s=a.useMemo(function(){return{stickyOffsets:r,flattenColumns:n,scrollColumnIndex:l!=null&&l.scrollbar?i:null}},[l,n,i,r]);return a.createElement(U4.Provider,{value:s},a.createElement("tfoot",{className:"".concat(o,"-summary")},t))}const ls=yi(OG);var Y4=ru;function PG(e){return null}function NG(e){return null}function Z4(e,t,r,n,o,i,l){e.push({record:t,indent:r,index:l});var s=i(t),c=o==null?void 0:o.has(s);if(t&&Array.isArray(t[n])&&c)for(var u=0;u1?N-1:0),R=1;R=1?x:""),style:K(K({},r),C==null?void 0:C.style)}),v.map(function(E,O){var N=E.render,P=E.dataIndex,R=E.className,M=t6(m,E,O,c,o),D=M.key,L=M.fixedInfo,T=M.appendCellNode,_=M.additionalCellProps;return a.createElement(wa,ve({className:R,ellipsis:E.ellipsis,align:E.align,scope:E.rowScope,component:E.rowScope?f:d,prefixCls:g,key:D,record:n,index:o,renderIndex:i,dataIndex:P,render:N,shouldCellUpdate:E.shouldCellUpdate},L,{appendNode:T,additionalProps:_}))})),w;if(y&&(S.current||b)){var I=p(n,o,c+1,b);w=a.createElement(e6,{expanded:b,className:G("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(c+1),x),prefixCls:g,component:u,cellComponent:d,colSpan:v.length,isEmpty:!1},I)}return a.createElement(a.Fragment,null,$,w)}const RG=yi(MG);function TG(e){var t=e.columnKey,r=e.onColumnResize,n=a.useRef();return a.useEffect(function(){n.current&&r(t,n.current.offsetWidth)},[]),a.createElement(Nn,{data:t},a.createElement("td",{ref:n,style:{padding:0,border:0,height:0}},a.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function LG(e){var t=e.prefixCls,r=e.columnsKey,n=e.onColumnResize;return a.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},a.createElement(Nn.Collection,{onBatchResize:function(i){i.forEach(function(l){var s=l.data,c=l.size;n(s,c.offsetWidth)})}},r.map(function(o){return a.createElement(TG,{key:o,columnKey:o,onColumnResize:n})})))}function DG(e){var t=e.data,r=e.measureColumnWidth,n=Un(ir,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),o=n.prefixCls,i=n.getComponent,l=n.onColumnResize,s=n.flattenColumns,c=n.getRowKey,u=n.expandedKeys,d=n.childrenColumnName,f=n.emptyNode,m=Q4(t,d,u,c),g=a.useRef({renderWithProps:!1}),v=i(["body","wrapper"],"tbody"),h=i(["body","row"],"tr"),p=i(["body","cell"],"td"),C=i(["body","cell"],"th"),b;t.length?b=m.map(function(S,x){var $=S.record,w=S.indent,I=S.index,E=c($,x);return a.createElement(RG,{key:E,rowKey:E,record:$,index:x,renderIndex:I,rowComponent:h,cellComponent:p,scopeCellComponent:C,getRowKey:c,indent:w})}):b=a.createElement(e6,{expanded:!0,className:"".concat(o,"-placeholder"),prefixCls:o,component:h,cellComponent:p,colSpan:s.length,isEmpty:!0},f);var y=nu(s);return a.createElement(X4.Provider,{value:g.current},a.createElement(v,{className:"".concat(o,"-tbody")},r&&a.createElement(LG,{prefixCls:o,columnsKey:y,onColumnResize:l}),b))}const _G=yi(DG);var kG=["expandable"],Zi="RC_TABLE_INTERNAL_COL_DEFINE";function jG(e){var t=e.expandable,r=ut(e,kG),n;return"expandable"in e?n=K(K({},r),t):n=r,n.showExpandColumn===!1&&(n.expandIconColumnIndex=-1),n}var HG=["columnType"];function n6(e){for(var t=e.colWidths,r=e.columns,n=e.columCount,o=[],i=n||r.length,l=!1,s=i-1;s>=0;s-=1){var c=t[s],u=r&&r[s],d=u&&u[Zi];if(c||d||l){var f=d||{};f.columnType;var m=ut(f,HG);o.unshift(a.createElement("col",ve({key:s,style:{width:c}},m))),l=!0}}return a.createElement("colgroup",null,o)}var zG=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function BG(e,t){return a.useMemo(function(){for(var r=[],n=0;n1?"colgroup":"col":null,ellipsis:p.ellipsis,align:p.align,component:l,prefixCls:d,key:g[h]},C,{additionalProps:b,rowType:"header"}))}))};function VG(e){var t=[];function r(l,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[c]=t[c]||[];var u=s,d=l.filter(Boolean).map(function(f){var m={key:f.key,className:f.className||"",children:f.title,column:f,colStart:u},g=1,v=f.children;return v&&v.length>0&&(g=r(v,u,c+1).reduce(function(h,p){return h+p},0),m.hasSubColumns=!0),"colSpan"in f&&(g=f.colSpan),"rowSpan"in f&&(m.rowSpan=f.rowSpan),m.colSpan=g,m.colEnd=m.colStart+g-1,t[c].push(m),u+=g,g});return d}r(e,0);for(var n=t.length,o=function(s){t[s].forEach(function(c){!("rowSpan"in c)&&!c.hasSubColumns&&(c.rowSpan=n-s)})},i=0;i1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function KG(e,t,r){return a.useMemo(function(){if(t&&t>0){var n=0,o=0;e.forEach(function(m){var g=xp(t,m.width);g?n+=g:o+=1});var i=Math.max(t,r),l=Math.max(i-n,o),s=o,c=l/o,u=0,d=e.map(function(m){var g=K({},m),v=xp(t,g.width);if(v)g.width=v;else{var h=Math.floor(c);g.width=s===1?l:h,l-=h,s-=1}return u+=g.width,g});if(u0?K(K({},t),{},{children:r6(r)}):t})}function Pf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(r){return r&&bt(r)==="object"}).reduce(function(r,n,o){var i=n.fixed,l=i===!0?"left":i,s="".concat(t,"-").concat(o),c=n.children;return c&&c.length>0?[].concat(ye(r),ye(Pf(c,s).map(function(u){return K({fixed:l},u)}))):[].concat(ye(r),[K(K({key:s},n),{},{fixed:l})])},[])}function XG(e){return e.map(function(t){var r=t.fixed,n=ut(t,GG),o=r;return r==="left"?o="right":r==="right"&&(o="left"),K({fixed:o},n)})}function UG(e,t){var r=e.prefixCls,n=e.columns,o=e.children,i=e.expandable,l=e.expandedKeys,s=e.columnTitle,c=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,f=e.rowExpandable,m=e.expandIconColumnIndex,g=e.direction,v=e.expandRowByClick,h=e.columnWidth,p=e.fixed,C=e.scrollWidth,b=e.clientWidth,y=a.useMemo(function(){var P=n||Im(o)||[];return r6(P.slice())},[n,o]),S=a.useMemo(function(){if(i){var P,R=y.slice();if(!R.includes(Mo)){var M=m||0;M>=0&&R.splice(M,0,Mo)}var D=R.indexOf(Mo);R=R.filter(function(j,H){return j!==Mo||H===D});var L=y[D],T;(p==="left"||p)&&!m?T="left":(p==="right"||p)&&m===y.length?T="right":T=L?L.fixed:null;var _=(P={},A(P,Zi,{className:"".concat(r,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),A(P,"title",s),A(P,"fixed",T),A(P,"className","".concat(r,"-row-expand-icon-cell")),A(P,"width",h),A(P,"render",function(H,k,V){var F=c(k,V),q=l.has(F),W=f?f(k):!0,J=d({prefixCls:r,expanded:q,expandable:W,record:k,onExpand:u});return v?a.createElement("span",{onClick:function(Z){return Z.stopPropagation()}},J):J}),P);return R.map(function(j){return j===Mo?_:j})}return y.filter(function(j){return j!==Mo})},[i,y,c,l,d,g]),x=a.useMemo(function(){var P=S;return t&&(P=t(P)),P.length||(P=[{render:function(){return null}}]),P},[t,S,g]),$=a.useMemo(function(){return g==="rtl"?XG(Pf(x)):Pf(x)},[x,g,C]),w=a.useMemo(function(){for(var P=-1,R=$.length-1;R>=0;R-=1){var M=$[R].fixed;if(M==="left"||M===!0){P=R;break}}if(P>=0)for(var D=0;D<=P;D+=1){var L=$[D].fixed;if(L!=="left"&&L!==!0)return!0}var T=$.findIndex(function(H){var k=H.fixed;return k==="right"});if(T>=0)for(var _=T;_<$.length;_+=1){var j=$[_].fixed;if(j!=="right")return!0}return!1},[$]),I=KG($,C,b),E=ie(I,2),O=E[0],N=E[1];return[x,O,N,w]}function YG(e){var t,r=e.prefixCls,n=e.record,o=e.onExpand,i=e.expanded,l=e.expandable,s="".concat(r,"-row-expand-icon");if(!l)return a.createElement("span",{className:G(s,"".concat(r,"-row-spaced"))});var c=function(d){o(n,d),d.stopPropagation()};return a.createElement("span",{className:G(s,(t={},A(t,"".concat(r,"-row-expanded"),i),A(t,"".concat(r,"-row-collapsed"),!i),t)),onClick:c})}function ZG(e,t,r){var n=[];function o(i){(i||[]).forEach(function(l,s){n.push(t(l,s)),o(l[r])})}return o(e),n}function QG(e,t,r){var n=jG(e),o=n.expandIcon,i=n.expandedRowKeys,l=n.defaultExpandedRowKeys,s=n.defaultExpandAllRows,c=n.expandedRowRender,u=n.onExpand,d=n.onExpandedRowsChange,f=n.childrenColumnName,m=o||YG,g=f||"children",v=a.useMemo(function(){return c?"row":e.expandable&&e.internalHooks===Ll&&e.expandable.__PARENT_RENDER_ICON__||t.some(function(x){return x&&bt(x)==="object"&&x[g]})?"nest":!1},[!!c,t]),h=a.useState(function(){return l||(s?ZG(t,r,g):[])}),p=ie(h,2),C=p[0],b=p[1],y=a.useMemo(function(){return new Set(i||C||[])},[i,C]),S=a.useCallback(function(x){var $=r(x,t.indexOf(x)),w,I=y.has($);I?(y.delete($),w=ye(y)):w=[].concat(ye(y),[$]),b(w),u&&u(!I,x),d&&d(w)},[r,y,t,u,d]);return[n,v,y,m,g,S]}function JG(e,t,r){var n=e.map(function(o,i){return Em(i,i,e,t,r)});return sl(function(){return n},[n],function(o,i){return!Rr(o,i)})}function o6(e){var t=a.useRef(e),r=a.useState({}),n=ie(r,2),o=n[1],i=a.useRef(null),l=a.useRef([]);function s(c){l.current.push(c);var u=Promise.resolve();i.current=u,u.then(function(){if(i.current===u){var d=l.current,f=t.current;l.current=[],d.forEach(function(m){t.current=m(t.current)}),i.current=null,f!==t.current&&o({})}})}return a.useEffect(function(){return function(){i.current=null}},[]),[t.current,s]}function eX(e){var t=a.useRef(e||null),r=a.useRef();function n(){window.clearTimeout(r.current)}function o(l){t.current=l,n(),r.current=window.setTimeout(function(){t.current=null,r.current=void 0},100)}function i(){return t.current}return a.useEffect(function(){return n},[]),[o,i]}function tX(){var e=a.useState(-1),t=ie(e,2),r=t[0],n=t[1],o=a.useState(-1),i=ie(o,2),l=i[0],s=i[1],c=a.useCallback(function(u,d){n(u),s(d)},[]);return[r,l,c]}var $p=Zr()?window:null;function nX(e,t){var r=bt(e)==="object"?e:{},n=r.offsetHeader,o=n===void 0?0:n,i=r.offsetSummary,l=i===void 0?0:i,s=r.offsetScroll,c=s===void 0?0:s,u=r.getContainer,d=u===void 0?function(){return $p}:u,f=d()||$p;return a.useMemo(function(){var m=!!e;return{isSticky:m,stickyClassName:m?"".concat(t,"-sticky-holder"):"",offsetHeader:o,offsetSummary:l,offsetScroll:c,container:f}},[c,o,l,t,f])}function rX(e,t,r){var n=a.useMemo(function(){var o=t.length,i=function(u,d,f){for(var m=[],g=0,v=u;v!==d;v+=f)m.push(g),t[v].fixed&&(g+=e[v]||0);return m},l=i(0,o,1),s=i(o-1,-1,-1).reverse();return r==="rtl"?{left:s,right:l}:{left:l,right:s}},[e,t,r]);return n}function wp(e){var t=e.className,r=e.children;return a.createElement("div",{className:t},r)}var oX=function(t,r){var n,o,i=t.scrollBodyRef,l=t.onScroll,s=t.offsetScroll,c=t.container,u=Un(ir,"prefixCls"),d=((n=i.current)===null||n===void 0?void 0:n.scrollWidth)||0,f=((o=i.current)===null||o===void 0?void 0:o.clientWidth)||0,m=d&&f*(f/d),g=a.useRef(),v=o6({scrollLeft:0,isHiddenScrollBar:!1}),h=ie(v,2),p=h[0],C=h[1],b=a.useRef({delta:0,x:0}),y=a.useState(!1),S=ie(y,2),x=S[0],$=S[1],w=a.useRef(null);a.useEffect(function(){return function(){kt.cancel(w.current)}},[]);var I=function(){$(!1)},E=function(M){M.persist(),b.current.delta=M.pageX-p.scrollLeft,b.current.x=0,$(!0),M.preventDefault()},O=function(M){var D,L=M||((D=window)===null||D===void 0?void 0:D.event),T=L.buttons;if(!x||T===0){x&&$(!1);return}var _=b.current.x+M.pageX-b.current.x-b.current.delta;_<=0&&(_=0),_+m>=f&&(_=f-m),l({scrollLeft:_/f*(d+2)}),b.current.x=M.pageX},N=function(){w.current=kt(function(){if(i.current){var M=wf(i.current).top,D=M+i.current.offsetHeight,L=c===window?document.documentElement.scrollTop+window.innerHeight:wf(c).top+c.clientHeight;D-Lg()<=L||M>=L-s?C(function(T){return K(K({},T),{},{isHiddenScrollBar:!0})}):C(function(T){return K(K({},T),{},{isHiddenScrollBar:!1})})}})},P=function(M){C(function(D){return K(K({},D),{},{scrollLeft:M/d*f||0})})};return a.useImperativeHandle(r,function(){return{setScrollLeft:P,checkScrollBarVisible:N}}),a.useEffect(function(){var R=Ur(document.body,"mouseup",I,!1),M=Ur(document.body,"mousemove",O,!1);return N(),function(){R.remove(),M.remove()}},[m,x]),a.useEffect(function(){var R=Ur(c,"scroll",N,!1),M=Ur(window,"resize",N,!1);return function(){R.remove(),M.remove()}},[c]),a.useEffect(function(){p.isHiddenScrollBar||C(function(R){var M=i.current;return M?K(K({},R),{},{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):R})},[p.isHiddenScrollBar]),d<=f||!m||p.isHiddenScrollBar?null:a.createElement("div",{style:{height:Lg(),width:f,bottom:s},className:"".concat(u,"-sticky-scroll")},a.createElement("div",{onMouseDown:E,ref:g,className:G("".concat(u,"-sticky-scroll-bar"),A({},"".concat(u,"-sticky-scroll-bar-active"),x)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(p.scrollLeft,"px, 0, 0)")}}))};const aX=a.forwardRef(oX);var a6="rc-table",iX=[],lX={};function sX(){return"No Data"}function cX(e,t){var r,n=K({rowKey:"key",prefixCls:a6,emptyText:sX},e),o=n.prefixCls,i=n.className,l=n.rowClassName,s=n.style,c=n.data,u=n.rowKey,d=n.scroll,f=n.tableLayout,m=n.direction,g=n.title,v=n.footer,h=n.summary,p=n.caption,C=n.id,b=n.showHeader,y=n.components,S=n.emptyText,x=n.onRow,$=n.onHeaderRow,w=n.onScroll,I=n.internalHooks,E=n.transformColumns,O=n.internalRefs,N=n.tailor,P=n.getContainerWidth,R=n.sticky,M=n.rowHoverable,D=M===void 0?!0:M,L=c||iX,T=!!L.length,_=I===Ll,j=a.useCallback(function(ct,Mt){return Xr(y,ct)||Mt},[y]),H=a.useMemo(function(){return typeof u=="function"?u:function(ct){var Mt=ct&&ct[u];return Mt}},[u]),k=j(["body"]),V=tX(),F=ie(V,3),q=F[0],W=F[1],J=F[2],X=QG(n,L,H),Z=ie(X,6),ee=Z[0],ne=Z[1],Y=Z[2],te=Z[3],Q=Z[4],U=Z[5],ae=d==null?void 0:d.x,se=a.useState(0),oe=ie(se,2),re=oe[0],ce=oe[1],ue=UG(K(K(K({},n),ee),{},{expandable:!!ee.expandedRowRender,columnTitle:ee.columnTitle,expandedKeys:Y,getRowKey:H,onTriggerExpand:U,expandIcon:te,expandIconColumnIndex:ee.expandIconColumnIndex,direction:m,scrollWidth:_&&N&&typeof ae=="number"?ae:null,clientWidth:re}),_?E:null),fe=ie(ue,4),be=fe[0],de=fe[1],he=fe[2],Se=fe[3],$e=he!=null?he:ae,Ne=a.useMemo(function(){return{columns:be,flattenColumns:de}},[be,de]),xe=a.useRef(),Me=a.useRef(),Ee=a.useRef(),Te=a.useRef();a.useImperativeHandle(t,function(){return{nativeElement:xe.current,scrollTo:function(Mt){var Wt;if(Ee.current instanceof HTMLElement){var $n=Mt.index,pn=Mt.top,Kn=Mt.key;if(pn){var Zn;(Zn=Ee.current)===null||Zn===void 0||Zn.scrollTo({top:pn})}else{var vr,qr=Kn!=null?Kn:H(L[$n]);(vr=Ee.current.querySelector('[data-row-key="'.concat(qr,'"]')))===null||vr===void 0||vr.scrollIntoView()}}else(Wt=Ee.current)!==null&&Wt!==void 0&&Wt.scrollTo&&Ee.current.scrollTo(Mt)}}});var Re=a.useRef(),Pe=a.useState(!1),me=ie(Pe,2),Ce=me[0],pe=me[1],ge=a.useState(!1),Ie=ie(ge,2),nt=Ie[0],Ve=Ie[1],Ze=o6(new Map),De=ie(Ze,2),Ke=De[0],Qe=De[1],ot=nu(de),Xe=ot.map(function(ct){return Ke.get(ct)}),We=a.useMemo(function(){return Xe},[Xe.join("_")]),He=rX(We,de,m),at=d&&Of(d.y),Le=d&&Of($e)||!!ee.fixed,Ue=Le&&de.some(function(ct){var Mt=ct.fixed;return Mt}),_e=a.useRef(),Be=nX(R,o),Je=Be.isSticky,dt=Be.offsetHeader,it=Be.offsetSummary,qe=Be.offsetScroll,Ae=Be.stickyClassName,Ge=Be.container,Ye=a.useMemo(function(){return h==null?void 0:h(L)},[h,L]),tt=(at||Je)&&a.isValidElement(Ye)&&Ye.type===ru&&Ye.props.fixed,mt,lt,ft;at&&(lt={overflowY:"scroll",maxHeight:d.y}),Le&&(mt={overflowX:"auto"},at||(lt={overflowY:"hidden"}),ft={width:$e===!0?"auto":$e,minWidth:"100%"});var gt=a.useCallback(function(ct,Mt){li(xe.current)&&Qe(function(Wt){if(Wt.get(ct)!==Mt){var $n=new Map(Wt);return $n.set(ct,Mt),$n}return Wt})},[]),et=eX(null),rt=ie(et,2),Fe=rt[0],je=rt[1];function st(ct,Mt){Mt&&(typeof Mt=="function"?Mt(ct):Mt.scrollLeft!==ct&&(Mt.scrollLeft=ct,Mt.scrollLeft!==ct&&setTimeout(function(){Mt.scrollLeft=ct},0)))}var Ct=$t(function(ct){var Mt=ct.currentTarget,Wt=ct.scrollLeft,$n=m==="rtl",pn=typeof Wt=="number"?Wt:Mt.scrollLeft,Kn=Mt||lX;if(!je()||je()===Kn){var Zn;Fe(Kn),st(pn,Me.current),st(pn,Ee.current),st(pn,Re.current),st(pn,(Zn=_e.current)===null||Zn===void 0?void 0:Zn.setScrollLeft)}var vr=Mt||Me.current;if(vr){var qr=vr.scrollWidth,qo=vr.clientWidth;if(qr===qo){pe(!1),Ve(!1);return}$n?(pe(-pn0)):(pe(pn>0),Ve(pn1?p-M:0,L=K(K(K({},I),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:D,pointerEvents:"auto"}),T=a.useMemo(function(){return f?P<=1:O===0||P===0||P>1},[P,O,f]);T?L.visibility="hidden":f&&(L.height=m==null?void 0:m(P));var _=T?function(){return null}:g,j={};return(P===0||O===0)&&(j.rowSpan=1,j.colSpan=1),a.createElement(wa,ve({className:G(h,d),ellipsis:r.ellipsis,align:r.align,scope:r.rowScope,component:l,prefixCls:t.prefixCls,key:S,record:c,index:i,renderIndex:s,dataIndex:v,render:_,shouldCellUpdate:r.shouldCellUpdate},x,{appendNode:$,additionalProps:K(K({},w),{},{style:L},j)}))}var mX=["data","index","className","rowKey","style","extra","getHeight"],gX=a.forwardRef(function(e,t){var r=e.data,n=e.index,o=e.className,i=e.rowKey,l=e.style,s=e.extra,c=e.getHeight,u=ut(e,mX),d=r.record,f=r.indent,m=r.index,g=Un(ir,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,h=g.flattenColumns,p=g.prefixCls,C=g.fixColumn,b=g.componentWidth,y=Un(Om,["getComponent"]),S=y.getComponent,x=J4(d,i,n,f),$=S(["body","row"],"div"),w=S(["body","cell"],"div"),I=x.rowSupportExpand,E=x.expanded,O=x.rowProps,N=x.expandedRowRender,P=x.expandedRowClassName,R;if(I&&E){var M=N(d,n,f+1,E),D=P==null?void 0:P(d,n,f),L={};C&&(L={style:A({},"--virtual-width","".concat(b,"px"))});var T="".concat(p,"-expanded-row-cell");R=a.createElement($,{className:G("".concat(p,"-expanded-row"),"".concat(p,"-expanded-row-level-").concat(f+1),D)},a.createElement(wa,{component:w,prefixCls:p,className:G(T,A({},"".concat(T,"-fixed"),C)),additionalProps:L},M))}var _=K(K({},l),{},{width:v});s&&(_.position="absolute",_.pointerEvents="none");var j=a.createElement($,ve({},O,u,{"data-row-key":i,ref:I?null:t,className:G(o,"".concat(p,"-row"),O==null?void 0:O.className,A({},"".concat(p,"-row-extra"),s)),style:K(K({},_),O==null?void 0:O.style)}),h.map(function(H,k){return a.createElement(fX,{key:k,component:w,rowInfo:x,column:H,colIndex:k,indent:f,index:n,renderIndex:m,record:d,inverse:s,getHeight:c})}));return I?a.createElement("div",{ref:t},j,R):j}),Ep=yi(gX),vX=a.forwardRef(function(e,t){var r=e.data,n=e.onScroll,o=Un(ir,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),i=o.flattenColumns,l=o.onColumnResize,s=o.getRowKey,c=o.expandedKeys,u=o.prefixCls,d=o.childrenColumnName,f=o.emptyNode,m=o.scrollX,g=Un(Om),v=g.sticky,h=g.scrollY,p=g.listItemHeight,C=g.getComponent,b=g.onScroll,y=a.useRef(),S=Q4(r,d,c,s),x=a.useMemo(function(){var L=0;return i.map(function(T){var _=T.width,j=T.key;return L+=_,[j,_,L]})},[i]),$=a.useMemo(function(){return x.map(function(L){return L[2]})},[x]);a.useEffect(function(){x.forEach(function(L){var T=ie(L,2),_=T[0],j=T[1];l(_,j)})},[x]),a.useImperativeHandle(t,function(){var L={scrollTo:function(_){var j;(j=y.current)===null||j===void 0||j.scrollTo(_)}};return Object.defineProperty(L,"scrollLeft",{get:function(){var _;return((_=y.current)===null||_===void 0?void 0:_.getScrollInfo().x)||0},set:function(_){var j;(j=y.current)===null||j===void 0||j.scrollTo({left:_})}}),L});var w=function(T,_){var j,H=(j=S[_])===null||j===void 0?void 0:j.record,k=T.onCell;if(k){var V,F=k(H,_);return(V=F==null?void 0:F.rowSpan)!==null&&V!==void 0?V:1}return 1},I=function(T){var _=T.start,j=T.end,H=T.getSize,k=T.offsetY;if(j<0)return null;for(var V=i.filter(function(U){return w(U,_)===0}),F=_,q=function(ae){if(V=V.filter(function(se){return w(se,ae)===0}),!V.length)return F=ae,1},W=_;W>=0&&!q(W);W-=1);for(var J=i.filter(function(U){return w(U,j)!==1}),X=j,Z=function(ae){if(J=J.filter(function(se){return w(se,ae)!==1}),!J.length)return X=Math.max(ae-1,j),1},ee=j;ee1})&&ne.push(ae)},te=F;te<=X;te+=1)Y(te);var Q=ne.map(function(U){var ae=S[U],se=s(ae.record,U),oe=function(ue){var fe=U+ue-1,be=s(S[fe].record,fe),de=H(se,be);return de.bottom-de.top},re=H(se);return a.createElement(Ep,{key:U,data:ae,rowKey:se,index:U,style:{top:-k+re.top},extra:!0,getHeight:oe})});return Q},E=a.useMemo(function(){return{columnsOffset:$}},[$]),O="".concat(u,"-tbody"),N=C(["body","wrapper"]),P=C(["body","row"],"div"),R=C(["body","cell"],"div"),M;if(S.length){var D={};v&&(D.position="sticky",D.bottom=0,bt(v)==="object"&&v.offsetScroll&&(D.bottom=v.offsetScroll)),M=a.createElement(hl,{fullHeight:!1,ref:y,prefixCls:"".concat(O,"-virtual"),styles:{horizontalScrollBar:D},className:O,height:h,itemHeight:p||24,data:S,itemKey:function(T){return s(T.record)},component:N,scrollWidth:m,onVirtualScroll:function(T){var _=T.x;n({scrollLeft:_})},onScroll:b,extraRender:I},function(L,T,_){var j=s(L.record,T);return a.createElement(Ep,{data:L,rowKey:j,index:T,style:_.style})})}else M=a.createElement(P,{className:G("".concat(u,"-placeholder"))},a.createElement(wa,{component:R,prefixCls:u},f));return a.createElement(l6.Provider,{value:E},M)}),pX=yi(vX),hX=function(t,r){var n=r.ref,o=r.onScroll;return a.createElement(pX,{ref:n,data:t,onScroll:o})};function CX(e,t){var r=e.columns,n=e.scroll,o=e.sticky,i=e.prefixCls,l=i===void 0?a6:i,s=e.className,c=e.listItemHeight,u=e.components,d=e.onScroll,f=n||{},m=f.x,g=f.y;typeof m!="number"&&(m=1),typeof g!="number"&&(g=500);var v=$t(function(C,b){return Xr(u,C)||b}),h=$t(d),p=a.useMemo(function(){return{sticky:o,scrollY:g,listItemHeight:c,getComponent:v,onScroll:h}},[o,g,c,v,h]);return a.createElement(Om.Provider,{value:p},a.createElement(Si,ve({},e,{className:G(s,"".concat(l,"-virtual")),scroll:K(K({},n),{},{x:m}),components:K(K({},u),{},{body:hX}),columns:r,internalHooks:Ll,tailor:!0,ref:t})))}var bX=a.forwardRef(CX);function s6(e){return G4(bX,e)}s6();const yX=e=>null,SX=yX,xX=e=>null,$X=xX;var Pm=a.createContext(null),wX=function(t){for(var r=t.prefixCls,n=t.level,o=t.isStart,i=t.isEnd,l="".concat(r,"-indent-unit"),s=[],c=0;c=0&&r.splice(n,1),r}function co(e,t){var r=(e||[]).slice();return r.indexOf(t)===-1&&r.push(t),r}function Nm(e){return e.split("-")}function NX(e,t){var r=[],n=rr(t,e);function o(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.forEach(function(l){var s=l.key,c=l.children;r.push(s),o(c)})}return o(n.children),r}function MX(e){if(e.parent){var t=Nm(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function RX(e){var t=Nm(e.pos);return Number(t[t.length-1])===0}function Pp(e,t,r,n,o,i,l,s,c,u){var d,f=e.clientX,m=e.clientY,g=e.target.getBoundingClientRect(),v=g.top,h=g.height,p=(u==="rtl"?-1:1)*(((o==null?void 0:o.x)||0)-f),C=(p-12)/n,b=c.filter(function(L){var T;return(T=s[L])===null||T===void 0||(T=T.children)===null||T===void 0?void 0:T.length}),y=rr(s,r.props.eventKey);if(m-1.5?i({dragNode:R,dropNode:M,dropPosition:1})?O=1:D=!1:i({dragNode:R,dropNode:M,dropPosition:0})?O=0:i({dragNode:R,dropNode:M,dropPosition:1})?O=1:D=!1:i({dragNode:R,dropNode:M,dropPosition:1})?O=1:D=!1,{dropPosition:O,dropLevelOffset:N,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:E,dropContainerKey:O===0?null:((d=y.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:D}}function Np(e,t){if(e){var r=t.multiple;return r?e.slice():e.length?[e[0]]:e}}function sd(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(bt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Jt(!1,"`checkedKeys` is not an array or an object"),null;return t}function Nf(e,t){var r=new Set;function n(o){if(!r.has(o)){var i=rr(t,o);if(i){r.add(o);var l=i.parent,s=i.node;s.disabled||l&&n(l.key)}}}return(e||[]).forEach(function(o){n(o)}),ye(r)}function Mf(e){const[t,r]=a.useState(null);return[a.useCallback((i,l,s)=>{const c=t!=null?t:i,u=Math.min(c||0,i),d=Math.max(c||0,i),f=l.slice(u,d+1).map(v=>e(v)),m=f.some(v=>!s.has(v)),g=[];return f.forEach(v=>{m?(s.has(v)||g.push(v),s.add(v)):(s.delete(v),g.push(v))}),r(m?d:null),g},[t]),i=>{r(i)}]}const No={},Rf="SELECT_ALL",Tf="SELECT_INVERT",Lf="SELECT_NONE",Mp=[],c6=(e,t)=>{let r=[];return(t||[]).forEach(n=>{r.push(n),n&&typeof n=="object"&&e in n&&(r=[].concat(ye(r),ye(c6(e,n[e]))))}),r},TX=(e,t)=>{const{preserveSelectedRowKeys:r,selectedRowKeys:n,defaultSelectedRowKeys:o,getCheckboxProps:i,onChange:l,onSelect:s,onSelectAll:c,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:m,type:g,selections:v,fixed:h,renderCell:p,hideSelectAll:C,checkStrictly:b=!0}=t||{},{prefixCls:y,data:S,pageData:x,getRecordByKey:$,getRowKey:w,expandType:I,childrenColumnName:E,locale:O,getPopupContainer:N}=e,P=ho(),[R,M]=Mf(Y=>Y),[D,L]=Ot(n||o||Mp,{value:n}),T=a.useRef(new Map),_=a.useCallback(Y=>{if(r){const te=new Map;Y.forEach(Q=>{let U=$(Q);!U&&T.current.has(Q)&&(U=T.current.get(Q)),te.set(Q,U)}),T.current=te}},[$,r]);a.useEffect(()=>{_(D)},[D]);const{keyEntities:j}=a.useMemo(()=>{if(b)return{keyEntities:null};let Y=S;if(r){const te=new Set(S.map((U,ae)=>w(U,ae))),Q=Array.from(T.current).reduce((U,ae)=>{let[se,oe]=ae;return te.has(se)?U:U.concat(oe)},[]);Y=[].concat(ye(Y),ye(Q))}return Ol(Y,{externalGetKey:w,childrenPropName:E})},[S,w,b,E,r]),H=a.useMemo(()=>c6(E,x),[E,x]),k=a.useMemo(()=>{const Y=new Map;return H.forEach((te,Q)=>{const U=w(te,Q),ae=(i?i(te):null)||{};Y.set(U,ae)}),Y},[H,w,i]),V=a.useCallback(Y=>{var te;return!!(!((te=k.get(w(Y)))===null||te===void 0)&&te.disabled)},[k,w]),[F,q]=a.useMemo(()=>{if(b)return[D||[],[]];const{checkedKeys:Y,halfCheckedKeys:te}=xr(D,!0,j,V);return[Y||[],te]},[D,b,j,V]),W=a.useMemo(()=>{const Y=g==="radio"?F.slice(0,1):F;return new Set(Y)},[F,g]),J=a.useMemo(()=>g==="radio"?new Set:new Set(q),[q,g]);a.useEffect(()=>{t||L(Mp)},[!!t]);const X=a.useCallback((Y,te)=>{let Q,U;_(Y),r?(Q=Y,U=Y.map(ae=>T.current.get(ae))):(Q=[],U=[],Y.forEach(ae=>{const se=$(ae);se!==void 0&&(Q.push(ae),U.push(se))})),L(Q),l==null||l(Q,U,{type:te})},[L,$,l,r]),Z=a.useCallback((Y,te,Q,U)=>{if(s){const ae=Q.map(se=>$(se));s($(Y),te,ae,U)}X(Q,"single")},[s,$,X]),ee=a.useMemo(()=>!v||C?null:(v===!0?[Rf,Tf,Lf]:v).map(te=>te===Rf?{key:"all",text:O.selectionAll,onSelect(){X(S.map((Q,U)=>w(Q,U)).filter(Q=>{const U=k.get(Q);return!(U!=null&&U.disabled)||W.has(Q)}),"all")}}:te===Tf?{key:"invert",text:O.selectInvert,onSelect(){const Q=new Set(W);x.forEach((ae,se)=>{const oe=w(ae,se),re=k.get(oe);re!=null&&re.disabled||(Q.has(oe)?Q.delete(oe):Q.add(oe))});const U=Array.from(Q);u&&(P.deprecated(!1,"onSelectInvert","onChange"),u(U)),X(U,"invert")}}:te===Lf?{key:"none",text:O.selectNone,onSelect(){d==null||d(),X(Array.from(W).filter(Q=>{const U=k.get(Q);return U==null?void 0:U.disabled}),"none")}}:te).map(te=>Object.assign(Object.assign({},te),{onSelect:function(){for(var Q,U,ae=arguments.length,se=new Array(ae),oe=0;oe{var te;if(!t)return Y.filter(Ee=>Ee!==No);let Q=ye(Y);const U=new Set(W),ae=H.map(w).filter(Ee=>!k.get(Ee).disabled),se=ae.every(Ee=>U.has(Ee)),oe=ae.some(Ee=>U.has(Ee)),re=()=>{const Ee=[];se?ae.forEach(Re=>{U.delete(Re),Ee.push(Re)}):ae.forEach(Re=>{U.has(Re)||(U.add(Re),Ee.push(Re))});const Te=Array.from(U);c==null||c(!se,Te.map(Re=>$(Re)),Ee.map(Re=>$(Re))),X(Te,"all"),M(null)};let ce,ue;if(g!=="radio"){let Ee;if(ee){const Ce={getPopupContainer:N,items:ee.map((pe,ge)=>{const{key:Ie,text:nt,onSelect:Ve}=pe;return{key:Ie!=null?Ie:ge,onClick:()=>{Ve==null||Ve(ae)},label:nt}})};Ee=a.createElement("div",{className:`${y}-selection-extra`},a.createElement(Ci,{menu:Ce,getPopupContainer:N},a.createElement("span",null,a.createElement(Cl,null))))}const Te=H.map((Ce,pe)=>{const ge=w(Ce,pe),Ie=k.get(ge)||{};return Object.assign({checked:U.has(ge)},Ie)}).filter(Ce=>{let{disabled:pe}=Ce;return pe}),Re=!!Te.length&&Te.length===H.length,Pe=Re&&Te.every(Ce=>{let{checked:pe}=Ce;return pe}),me=Re&&Te.some(Ce=>{let{checked:pe}=Ce;return pe});ue=a.createElement(to,{checked:Re?Pe:!!H.length&&se,indeterminate:Re?!Pe&&me:!se&&oe,onChange:re,disabled:H.length===0||Re,"aria-label":Ee?"Custom selection":"Select all",skipGroup:!0}),ce=!C&&a.createElement("div",{className:`${y}-selection`},ue,Ee)}let fe;g==="radio"?fe=(Ee,Te,Re)=>{const Pe=w(Te,Re),me=U.has(Pe);return{node:a.createElement($l,Object.assign({},k.get(Pe),{checked:me,onClick:Ce=>Ce.stopPropagation(),onChange:Ce=>{U.has(Pe)||Z(Pe,!0,[Pe],Ce.nativeEvent)}})),checked:me}}:fe=(Ee,Te,Re)=>{var Pe;const me=w(Te,Re),Ce=U.has(me),pe=J.has(me),ge=k.get(me);let Ie;return I==="nest"?Ie=pe:Ie=(Pe=ge==null?void 0:ge.indeterminate)!==null&&Pe!==void 0?Pe:pe,{node:a.createElement(to,Object.assign({},ge,{indeterminate:Ie,checked:Ce,skipGroup:!0,onClick:nt=>nt.stopPropagation(),onChange:nt=>{let{nativeEvent:Ve}=nt;const{shiftKey:Ze}=Ve,De=ae.findIndex(Qe=>Qe===me),Ke=F.some(Qe=>ae.includes(Qe));if(Ze&&b&&Ke){const Qe=R(De,ae,U),ot=Array.from(U);f==null||f(!Ce,ot.map(Xe=>$(Xe)),Qe.map(Xe=>$(Xe))),X(ot,"multiple")}else{const Qe=F;if(b){const ot=Ce?Gr(Qe,me):co(Qe,me);Z(me,!Ce,ot,Ve)}else{const ot=xr([].concat(ye(Qe),[me]),!0,j,V),{checkedKeys:Xe,halfCheckedKeys:We}=ot;let He=Xe;if(Ce){const at=new Set(Xe);at.delete(me),He=xr(Array.from(at),{checked:!1,halfCheckedKeys:We},j,V).checkedKeys}Z(me,!Ce,He,Ve)}}M(Ce?null:De)}})),checked:Ce}};const be=(Ee,Te,Re)=>{const{node:Pe,checked:me}=fe(Ee,Te,Re);return p?p(me,Te,Re,Pe):Pe};if(!Q.includes(No))if(Q.findIndex(Ee=>{var Te;return((Te=Ee[Zi])===null||Te===void 0?void 0:Te.columnType)==="EXPAND_COLUMN"})===0){const[Ee,...Te]=Q;Q=[Ee,No].concat(ye(Te))}else Q=[No].concat(ye(Q));const de=Q.indexOf(No);Q=Q.filter((Ee,Te)=>Ee!==No||Te===de);const he=Q[de-1],Se=Q[de+1];let $e=h;$e===void 0&&((Se==null?void 0:Se.fixed)!==void 0?$e=Se.fixed:(he==null?void 0:he.fixed)!==void 0&&($e=he.fixed)),$e&&he&&((te=he[Zi])===null||te===void 0?void 0:te.columnType)==="EXPAND_COLUMN"&&he.fixed===void 0&&(he.fixed=$e);const Ne=G(`${y}-selection-col`,{[`${y}-selection-col-with-dropdown`]:v&&g==="checkbox"}),xe=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(ue):t.columnTitle:ce,Me={fixed:$e,width:m,className:`${y}-selection-column`,title:xe(),render:be,onCell:t.onCell,[Zi]:{className:Ne}};return Q.map(Ee=>Ee===No?Me:Ee)},[w,H,t,F,W,J,m,ee,I,k,f,Z,V]),W]};function LX(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(r=>{if(!(r in e._antProxy)){const n=e[r];e._antProxy[r]=n,e[r]=t[r]}}),e}function DX(e,t){return a.useImperativeHandle(e,()=>{const r=t(),{nativeElement:n}=r;return typeof Proxy!="undefined"?new Proxy(n,{get(o,i){return r[i]?r[i]:Reflect.get(o,i)}}):LX(n,r)})}function _X(e){return t=>{const{prefixCls:r,onExpand:n,record:o,expanded:i,expandable:l}=t,s=`${r}-row-expand-icon`;return a.createElement("button",{type:"button",onClick:c=>{n(o,c),c.stopPropagation()},className:G(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&i,[`${s}-collapsed`]:l&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}function kX(e){return(r,n)=>{const o=r.querySelector(`.${e}-container`);let i=n;if(o){const l=getComputedStyle(o),s=parseInt(l.borderLeftWidth,10),c=parseInt(l.borderRightWidth,10);i=n-s-c}return i}}const Ho=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function xi(e,t){return t?`${t}-${e}`:`${e}`}const ou=(e,t)=>typeof e=="function"?e(t):e,jX=(e,t)=>{const r=ou(e,t);return Object.prototype.toString.call(r)==="[object Object]"?"":r};function HX(e){const t=a.useRef(e),r=xc();return[()=>t.current,n=>{t.current=n,r()}]}function zX(e){var t=e.dropPosition,r=e.dropLevelOffset,n=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:o.top=0,o.left=-r*n;break;case 1:o.bottom=0,o.left=-r*n;break;case 0:o.bottom=0,o.left=n;break}return a.createElement("div",{style:o})}function u6(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function BX(e,t){var r=a.useState(!1),n=ie(r,2),o=n[0],i=n[1];_t(function(){if(o)return e(),function(){t()}},[o]),_t(function(){return i(!0),function(){i(!1)}},[])}var AX=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],d6=function(t,r){var n=t.className,o=t.style,i=t.motion,l=t.motionNodes,s=t.motionType,c=t.onMotionStart,u=t.onMotionEnd,d=t.active,f=t.treeNodeRequiredProps,m=ut(t,AX),g=a.useState(!0),v=ie(g,2),h=v[0],p=v[1],C=a.useContext(Pm),b=C.prefixCls,y=l&&s!=="hide";_t(function(){l&&y!==h&&p(y)},[l]);var S=function(){l&&c()},x=a.useRef(!1),$=function(){l&&!x.current&&(x.current=!0,u())};BX(S,$);var w=function(E){y===E&&$()};return l?a.createElement(In,ve({ref:r,visible:h},i,{motionAppear:s==="show",onVisibleChanged:w}),function(I,E){var O=I.className,N=I.style;return a.createElement("div",{ref:E,className:G("".concat(b,"-treenode-motion"),O),style:N},l.map(function(P){var R=Object.assign({},(u6(P.data),P.data)),M=P.title,D=P.key,L=P.isStart,T=P.isEnd;delete R.children;var _=Ui(D,f);return a.createElement(ti,ve({},R,_,{title:M,active:d,data:P.data,key:D,isStart:L,isEnd:T}))}))}):a.createElement(ti,ve({domRef:r,className:n,style:o},m,{active:d}))};d6.displayName="MotionTreeNode";var FX=a.forwardRef(d6);function VX(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=e.length,n=t.length;if(Math.abs(r-n)!==1)return{add:!1,key:null};function o(i,l){var s=new Map;i.forEach(function(u){s.set(u,!0)});var c=l.filter(function(u){return!s.has(u)});return c.length===1?c[0]:null}return r ").concat(t);return t}var m6=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.data;e.selectable,e.checkable;var o=e.expandedKeys,i=e.selectedKeys,l=e.checkedKeys,s=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,f=e.disabled,m=e.dragging,g=e.dragOverNodeKey,v=e.dropPosition,h=e.motion,p=e.height,C=e.itemHeight,b=e.virtual,y=e.focusable,S=e.activeItem,x=e.focused,$=e.tabIndex,w=e.onKeyDown,I=e.onFocus,E=e.onBlur,O=e.onActiveChange,N=e.onListChangeStart,P=e.onListChangeEnd,R=ut(e,WX),M=a.useRef(null),D=a.useRef(null);a.useImperativeHandle(t,function(){return{scrollTo:function(fe){M.current.scrollTo(fe)},getIndentWidth:function(){return D.current.offsetWidth}}});var L=a.useState(o),T=ie(L,2),_=T[0],j=T[1],H=a.useState(n),k=ie(H,2),V=k[0],F=k[1],q=a.useState(n),W=ie(q,2),J=W[0],X=W[1],Z=a.useState([]),ee=ie(Z,2),ne=ee[0],Y=ee[1],te=a.useState(null),Q=ie(te,2),U=Q[0],ae=Q[1],se=a.useRef(n);se.current=n;function oe(){var ue=se.current;F(ue),X(ue),Y([]),ae(null),P()}_t(function(){j(o);var ue=VX(_,o);if(ue.key!==null)if(ue.add){var fe=V.findIndex(function(Ne){var xe=Ne.key;return xe===ue.key}),be=Dp(Rp(V,n,ue.key),b,p,C),de=V.slice();de.splice(fe+1,0,Lp),X(de),Y(be),ae("show")}else{var he=n.findIndex(function(Ne){var xe=Ne.key;return xe===ue.key}),Se=Dp(Rp(n,V,ue.key),b,p,C),$e=n.slice();$e.splice(he+1,0,Lp),X($e),Y(Se),ae("hide")}else V!==n&&(F(n),X(n))},[o,n]),a.useEffect(function(){m||oe()},[m]);var re=h?J:n,ce={expandedKeys:o,selectedKeys:i,loadedKeys:s,loadingKeys:c,checkedKeys:l,halfCheckedKeys:u,dragOverNodeKey:g,dropPosition:v,keyEntities:d};return a.createElement(a.Fragment,null,x&&S&&a.createElement("span",{style:Tp,"aria-live":"assertive"},qX(S)),a.createElement("div",null,a.createElement("input",{style:Tp,disabled:y===!1||f,tabIndex:y!==!1?$:null,onKeyDown:w,onFocus:I,onBlur:E,value:"",onChange:KX,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(r,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(r,"-indent")},a.createElement("div",{ref:D,className:"".concat(r,"-indent-unit")}))),a.createElement(hl,ve({},R,{data:re,itemKey:_p,height:p,fullHeight:!1,virtual:b,itemHeight:C,prefixCls:"".concat(r,"-list"),ref:M,onVisibleChange:function(fe){fe.every(function(be){return _p(be)!==ua})&&oe()}}),function(ue){var fe=ue.pos,be=Object.assign({},(u6(ue.data),ue.data)),de=ue.title,he=ue.key,Se=ue.isStart,$e=ue.isEnd,Ne=Il(he,fe);delete be.key,delete be.children;var xe=Ui(Ne,ce);return a.createElement(FX,ve({},be,xe,{title:de,active:!!S&&he===S.key,pos:fe,data:ue.data,isStart:Se,isEnd:$e,motion:h,motionNodes:he===ua?ne:null,motionType:U,onMotionStart:N,onMotionEnd:oe,treeNodeRequiredProps:ce,onMouseMove:function(){O(null)}}))}))});m6.displayName="NodeList";var GX=10,au=function(e){Fn(r,e);var t=no(r);function r(){var n;tn(this,r);for(var o=arguments.length,i=new Array(o),l=0;l2&&arguments[2]!==void 0?arguments[2]:!1,f=n.state,m=f.dragChildrenKeys,g=f.dropPosition,v=f.dropTargetKey,h=f.dropTargetPos,p=f.dropAllowed;if(p){var C=n.props.onDrop;if(n.setState({dragOverNodeKey:null}),n.cleanDragState(),v!==null){var b=K(K({},Ui(v,n.getTreeNodeRequiredProps())),{},{active:((u=n.getActiveItem())===null||u===void 0?void 0:u.key)===v,data:rr(n.state.keyEntities,v).node}),y=m.indexOf(v)!==-1;Jt(!y,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var S=Nm(h),x={event:s,node:Pn(b),dragNode:n.dragNode?Pn(n.dragNode.props):null,dragNodesKeys:[n.dragNode.props.eventKey].concat(m),dropToGap:g!==0,dropPosition:g+Number(S[S.length-1])};d||C==null||C(x),n.dragNode=null}}}),A(ze(n),"cleanDragState",function(){var s=n.state.draggingNodeKey;s!==null&&n.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),n.dragStartMousePosition=null,n.currentMouseOverDroppableNodeKey=null}),A(ze(n),"triggerExpandActionExpand",function(s,c){var u=n.state,d=u.expandedKeys,f=u.flattenNodes,m=c.expanded,g=c.key,v=c.isLeaf;if(!(v||s.shiftKey||s.metaKey||s.ctrlKey)){var h=f.filter(function(C){return C.key===g})[0],p=Pn(K(K({},Ui(g,n.getTreeNodeRequiredProps())),{},{data:h.data}));n.setExpandedKeys(m?Gr(d,g):co(d,g)),n.onNodeExpand(s,p)}}),A(ze(n),"onNodeClick",function(s,c){var u=n.props,d=u.onClick,f=u.expandAction;f==="click"&&n.triggerExpandActionExpand(s,c),d==null||d(s,c)}),A(ze(n),"onNodeDoubleClick",function(s,c){var u=n.props,d=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&n.triggerExpandActionExpand(s,c),d==null||d(s,c)}),A(ze(n),"onNodeSelect",function(s,c){var u=n.state.selectedKeys,d=n.state,f=d.keyEntities,m=d.fieldNames,g=n.props,v=g.onSelect,h=g.multiple,p=c.selected,C=c[m.key],b=!p;b?h?u=co(u,C):u=[C]:u=Gr(u,C);var y=u.map(function(S){var x=rr(f,S);return x?x.node:null}).filter(function(S){return S});n.setUncontrolledState({selectedKeys:u}),v==null||v(u,{event:"select",selected:b,node:c,selectedNodes:y,nativeEvent:s.nativeEvent})}),A(ze(n),"onNodeCheck",function(s,c,u){var d=n.state,f=d.keyEntities,m=d.checkedKeys,g=d.halfCheckedKeys,v=n.props,h=v.checkStrictly,p=v.onCheck,C=c.key,b,y={event:"check",node:c,checked:u,nativeEvent:s.nativeEvent};if(h){var S=u?co(m,C):Gr(m,C),x=Gr(g,C);b={checked:S,halfChecked:x},y.checkedNodes=S.map(function(N){return rr(f,N)}).filter(function(N){return N}).map(function(N){return N.node}),n.setUncontrolledState({checkedKeys:S})}else{var $=xr([].concat(ye(m),[C]),!0,f),w=$.checkedKeys,I=$.halfCheckedKeys;if(!u){var E=new Set(w);E.delete(C);var O=xr(Array.from(E),{checked:!1,halfCheckedKeys:I},f);w=O.checkedKeys,I=O.halfCheckedKeys}b=w,y.checkedNodes=[],y.checkedNodesPositions=[],y.halfCheckedKeys=I,w.forEach(function(N){var P=rr(f,N);if(P){var R=P.node,M=P.pos;y.checkedNodes.push(R),y.checkedNodesPositions.push({node:R,pos:M})}}),n.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:I})}p==null||p(b,y)}),A(ze(n),"onNodeLoad",function(s){var c,u=s.key,d=n.state.keyEntities,f=rr(d,u);if(!(f!=null&&(c=f.children)!==null&&c!==void 0&&c.length)){var m=new Promise(function(g,v){n.setState(function(h){var p=h.loadedKeys,C=p===void 0?[]:p,b=h.loadingKeys,y=b===void 0?[]:b,S=n.props,x=S.loadData,$=S.onLoad;if(!x||C.indexOf(u)!==-1||y.indexOf(u)!==-1)return null;var w=x(s);return w.then(function(){var I=n.state.loadedKeys,E=co(I,u);$==null||$(E,{event:"load",node:s}),n.setUncontrolledState({loadedKeys:E}),n.setState(function(O){return{loadingKeys:Gr(O.loadingKeys,u)}}),g()}).catch(function(I){if(n.setState(function(O){return{loadingKeys:Gr(O.loadingKeys,u)}}),n.loadingRetryTimes[u]=(n.loadingRetryTimes[u]||0)+1,n.loadingRetryTimes[u]>=GX){var E=n.state.loadedKeys;Jt(!1,"Retry for `loadData` many times but still failed. No more retry."),n.setUncontrolledState({loadedKeys:co(E,u)}),g()}v(I)}),{loadingKeys:co(y,u)}})});return m.catch(function(){}),m}}),A(ze(n),"onNodeMouseEnter",function(s,c){var u=n.props.onMouseEnter;u==null||u({event:s,node:c})}),A(ze(n),"onNodeMouseLeave",function(s,c){var u=n.props.onMouseLeave;u==null||u({event:s,node:c})}),A(ze(n),"onNodeContextMenu",function(s,c){var u=n.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:c}))}),A(ze(n),"onFocus",function(){var s=n.props.onFocus;n.setState({focused:!0});for(var c=arguments.length,u=new Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n.destroyed){var d=!1,f=!0,m={};Object.keys(s).forEach(function(g){if(g in n.props){f=!1;return}d=!0,m[g]=s[g]}),d&&(!c||f)&&n.setState(K(K({},m),u))}}),A(ze(n),"scrollTo",function(s){n.listRef.current.scrollTo(s)}),n}return nn(r,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var o=this.props,i=o.activeKey,l=o.itemScrollOffset,s=l===void 0?0:l;i!==void 0&&i!==this.state.activeKey&&(this.setState({activeKey:i}),i!==null&&this.scrollTo({key:i,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var o=this.state,i=o.focused,l=o.flattenNodes,s=o.keyEntities,c=o.draggingNodeKey,u=o.activeKey,d=o.dropLevelOffset,f=o.dropContainerKey,m=o.dropTargetKey,g=o.dropPosition,v=o.dragOverNodeKey,h=o.indent,p=this.props,C=p.prefixCls,b=p.className,y=p.style,S=p.showLine,x=p.focusable,$=p.tabIndex,w=$===void 0?0:$,I=p.selectable,E=p.showIcon,O=p.icon,N=p.switcherIcon,P=p.draggable,R=p.checkable,M=p.checkStrictly,D=p.disabled,L=p.motion,T=p.loadData,_=p.filterTreeNode,j=p.height,H=p.itemHeight,k=p.virtual,V=p.titleRender,F=p.dropIndicatorRender,q=p.onContextMenu,W=p.onScroll,J=p.direction,X=p.rootClassName,Z=p.rootStyle,ee=en(this.props,{aria:!0,data:!0}),ne;return P&&(bt(P)==="object"?ne=P:typeof P=="function"?ne={nodeDraggable:P}:ne={}),a.createElement(Pm.Provider,{value:{prefixCls:C,selectable:I,showIcon:E,icon:O,switcherIcon:N,draggable:ne,draggingNodeKey:c,checkable:R,checkStrictly:M,disabled:D,keyEntities:s,dropLevelOffset:d,dropContainerKey:f,dropTargetKey:m,dropPosition:g,dragOverNodeKey:v,indent:h,direction:J,dropIndicatorRender:F,loadData:T,filterTreeNode:_,titleRender:V,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:G(C,b,X,A(A(A({},"".concat(C,"-show-line"),S),"".concat(C,"-focused"),i),"".concat(C,"-active-focused"),u!==null)),style:Z},a.createElement(m6,ve({ref:this.listRef,prefixCls:C,style:y,data:l,disabled:D,selectable:I,checkable:!!R,motion:L,dragging:c!==null,height:j,itemHeight:H,virtual:k,focusable:x,focused:i,tabIndex:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:q,onScroll:W},this.getTreeNodeRequiredProps(),ee))))}}],[{key:"getDerivedStateFromProps",value:function(o,i){var l=i.prevProps,s={prevProps:o};function c(w){return!l&&w in o||l&&l[w]!==o[w]}var u,d=i.fieldNames;if(c("fieldNames")&&(d=ei(o.fieldNames),s.fieldNames=d),c("treeData")?u=o.treeData:c("children")&&(Jt(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=NC(o.children)),u){s.treeData=u;var f=Ol(u,{fieldNames:d});s.keyEntities=K(A({},ua,f6),f.keyEntities)}var m=s.keyEntities||i.keyEntities;if(c("expandedKeys")||l&&c("autoExpandParent"))s.expandedKeys=o.autoExpandParent||!l&&o.defaultExpandParent?Nf(o.expandedKeys,m):o.expandedKeys;else if(!l&&o.defaultExpandAll){var g=K({},m);delete g[ua];var v=[];Object.keys(g).forEach(function(w){var I=g[w];I.children&&I.children.length&&v.push(I.key)}),s.expandedKeys=v}else!l&&o.defaultExpandedKeys&&(s.expandedKeys=o.autoExpandParent||o.defaultExpandParent?Nf(o.defaultExpandedKeys,m):o.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var h=Xu(u||i.treeData,s.expandedKeys||i.expandedKeys,d);s.flattenNodes=h}if(o.selectable&&(c("selectedKeys")?s.selectedKeys=Np(o.selectedKeys,o):!l&&o.defaultSelectedKeys&&(s.selectedKeys=Np(o.defaultSelectedKeys,o))),o.checkable){var p;if(c("checkedKeys")?p=sd(o.checkedKeys)||{}:!l&&o.defaultCheckedKeys?p=sd(o.defaultCheckedKeys)||{}:u&&(p=sd(o.checkedKeys)||{checkedKeys:i.checkedKeys,halfCheckedKeys:i.halfCheckedKeys}),p){var C=p,b=C.checkedKeys,y=b===void 0?[]:b,S=C.halfCheckedKeys,x=S===void 0?[]:S;if(!o.checkStrictly){var $=xr(y,!0,m);y=$.checkedKeys,x=$.halfCheckedKeys}s.checkedKeys=y,s.halfCheckedKeys=x}}return c("loadedKeys")&&(s.loadedKeys=o.loadedKeys),s}}]),r}(a.Component);A(au,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:zX,allowDrop:function(){return!0},expandAction:!1});A(au,"TreeNode",ti);const XX=new Ht("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),UX=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),YX=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${B(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ZX=(e,t)=>{const{treeCls:r,treeNodeCls:n,treeNodePadding:o,titleHeight:i,nodeSelectedBg:l,nodeHoverBg:s}=t,c=t.paddingXS;return{[r]:Object.assign(Object.assign({},Pt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${r}-rtl`]:{[`${r}-switcher`]:{"&_close":{[`${r}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${r}-active-focused)`]:Object.assign({},_o(t)),[`${r}-list-holder-inner`]:{alignItems:"flex-start"},[`&${r}-block-node`]:{[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-node-content-wrapper`]:{flex:"auto"},[`${n}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:XX,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[n]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${B(o)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${r}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${r}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${n}-disabled).filter-node ${r}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${r}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:B(i),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${n}:hover &`]:{opacity:.45}},[`&${n}-disabled`]:{[`${r}-draggable-icon`]:{visibility:"hidden"}}}},[`${r}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${r}-draggable-icon`]:{visibility:"hidden"},[`${r}-switcher`]:Object.assign(Object.assign({},UX(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:B(i),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${r}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${r}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${r}-checkbox`]:{top:"initial",marginInlineEnd:c,alignSelf:"flex-start",marginTop:t.marginXXS},[`${r}-node-content-wrapper, ${r}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${B(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:B(i),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:s},[`&${r}-node-selected`]:{backgroundColor:l},[`${r}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:B(i),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${r}-unselectable ${r}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}-node-content-wrapper`]:Object.assign({lineHeight:B(i),userSelect:"none"},YX(e,t)),[`${n}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${r}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${r}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${n}-leaf-last`]:{[`${r}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${B(t.calc(i).div(2).equal())} !important`}}}}})}},QX=e=>{const{treeCls:t,treeNodeCls:r,treeNodePadding:n,directoryNodeSelectedBg:o,directoryNodeSelectedColor:i}=e;return{[`${t}${t}-directory`]:{[r]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:n,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:o},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},g6=(e,t)=>{const r=`.${e}`,n=`${r}-treenode`,o=t.calc(t.paddingXS).div(2).equal(),i=xt(t,{treeCls:r,treeNodeCls:n,treeNodePadding:o});return[ZX(e,i),QX(i)]},v6=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},JX=e=>{const{colorTextLightSolid:t,colorPrimary:r}=e;return Object.assign(Object.assign({},v6(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:r})},eU=Et("Tree",(e,t)=>{let{prefixCls:r}=t;return[{[e.componentCls]:Kc(`${r}-checkbox`,e)},g6(r,e),ml(e)]},JX),kp=4;function tU(e){const{dropPosition:t,dropLevelOffset:r,prefixCls:n,indent:o,direction:i="ltr"}=e,l=i==="ltr"?"left":"right",s=i==="ltr"?"right":"left",c={[l]:-r*o+kp,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[l]=o+kp;break}return z.createElement("div",{style:c,className:`${n}-drop-indicator`})}const nU=e=>{const{prefixCls:t,switcherIcon:r,treeNodeProps:n,showLine:o,switcherLoadingIcon:i}=e,{isLeaf:l,expanded:s,loading:c}=n;if(c)return a.isValidElement(i)?i:a.createElement(Lr,{className:`${t}-switcher-loading-icon`});let u;if(o&&typeof o=="object"&&(u=o.showLeafIcon),l){if(!o)return null;if(typeof u!="boolean"&&u){const m=typeof u=="function"?u(n):u,g=`${t}-switcher-line-custom-icon`;return a.isValidElement(m)?cn(m,{className:G(m.props.className||"",g)}):m}return u?a.createElement(F4,{className:`${t}-switcher-line-icon`}):a.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,f=typeof r=="function"?r(n):r;return a.isValidElement(f)?cn(f,{className:G(f.props.className||"",d)}):f!==void 0?f:o?s?a.createElement(rK,{className:`${t}-switcher-line-icon`}):a.createElement(CK,{className:`${t}-switcher-line-icon`}):a.createElement(VV,{className:d})},p6=nU,h6=z.forwardRef((e,t)=>{var r;const{getPrefixCls:n,direction:o,virtual:i,tree:l}=z.useContext(ke),{prefixCls:s,className:c,showIcon:u=!1,showLine:d,switcherIcon:f,switcherLoadingIcon:m,blockNode:g=!1,children:v,checkable:h=!1,selectable:p=!0,draggable:C,motion:b,style:y}=e,S=n("tree",s),x=n(),$=b!=null?b:Object.assign(Object.assign({},Xa(x)),{motionAppear:!1}),w=Object.assign(Object.assign({},e),{checkable:h,selectable:p,showIcon:u,motion:$,blockNode:g,showLine:!!d,dropIndicatorRender:tU}),[I,E,O]=eU(S),[,N]=zn(),P=N.paddingXS/2+(((r=N.Tree)===null||r===void 0?void 0:r.titleHeight)||N.controlHeightSM),R=z.useMemo(()=>{if(!C)return!1;let D={};switch(typeof C){case"function":D.nodeDraggable=C;break;case"object":D=Object.assign({},C);break}return D.icon!==!1&&(D.icon=D.icon||z.createElement(QW,null)),D},[C]),M=D=>z.createElement(p6,{prefixCls:S,switcherIcon:f,switcherLoadingIcon:m,treeNodeProps:D,showLine:d});return I(z.createElement(au,Object.assign({itemHeight:P,ref:t,virtual:i},w,{style:Object.assign(Object.assign({},l==null?void 0:l.style),y),prefixCls:S,className:G({[`${S}-icon-hide`]:!u,[`${S}-block-node`]:g,[`${S}-unselectable`]:!p,[`${S}-rtl`]:o==="rtl"},l==null?void 0:l.className,c,E,O),direction:o,checkable:h&&z.createElement("span",{className:`${S}-checkbox-inner`}),selectable:p,switcherIcon:M,draggable:R}),v))}),jp=0,cd=1,Hp=2;function Mm(e,t,r){const{key:n,children:o}=r;function i(l){const s=l[n],c=l[o];t(s,l)!==!1&&Mm(c||[],t,r)}e.forEach(i)}function rU(e){let{treeData:t,expandedKeys:r,startKey:n,endKey:o,fieldNames:i}=e;const l=[];let s=jp;if(n&&n===o)return[n];if(!n||!o)return[];function c(u){return u===n||u===o}return Mm(t,u=>{if(s===Hp)return!1;if(c(u)){if(l.push(u),s===jp)s=cd;else if(s===cd)return s=Hp,!1}else s===cd&&l.push(u);return r.includes(u)},ei(i)),l}function ud(e,t,r){const n=ye(t),o=[];return Mm(e,(i,l)=>{const s=n.indexOf(i);return s!==-1&&(o.push(l),n.splice(s,1)),!!n.length},ei(r)),o}var zp=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{defaultExpandAll:r,defaultExpandParent:n,defaultExpandedKeys:o}=e,i=zp(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const l=a.useRef(),s=a.useRef(),c=()=>{const{keyEntities:I}=Ol(Bp(i));let E;return r?E=Object.keys(I):n?E=Nf(i.expandedKeys||o||[],I):E=i.expandedKeys||o||[],E},[u,d]=a.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[f,m]=a.useState(()=>c());a.useEffect(()=>{"selectedKeys"in i&&d(i.selectedKeys)},[i.selectedKeys]),a.useEffect(()=>{"expandedKeys"in i&&m(i.expandedKeys)},[i.expandedKeys]);const g=(I,E)=>{var O;return"expandedKeys"in i||m(I),(O=i.onExpand)===null||O===void 0?void 0:O.call(i,I,E)},v=(I,E)=>{var O;const{multiple:N,fieldNames:P}=i,{node:R,nativeEvent:M}=E,{key:D=""}=R,L=Bp(i),T=Object.assign(Object.assign({},E),{selected:!0}),_=(M==null?void 0:M.ctrlKey)||(M==null?void 0:M.metaKey),j=M==null?void 0:M.shiftKey;let H;N&&_?(H=I,l.current=D,s.current=H,T.selectedNodes=ud(L,H,P)):N&&j?(H=Array.from(new Set([].concat(ye(s.current||[]),ye(rU({treeData:L,expandedKeys:f,startKey:D,endKey:l.current,fieldNames:P}))))),T.selectedNodes=ud(L,H,P)):(H=[D],l.current=D,s.current=H,T.selectedNodes=ud(L,H,P)),(O=i.onSelect)===null||O===void 0||O.call(i,H,T),"selectedKeys"in i||d(H)},{getPrefixCls:h,direction:p}=a.useContext(ke),{prefixCls:C,className:b,showIcon:y=!0,expandAction:S="click"}=i,x=zp(i,["prefixCls","className","showIcon","expandAction"]),$=h("tree",C),w=G(`${$}-directory`,{[`${$}-directory-rtl`]:p==="rtl"},b);return a.createElement(h6,Object.assign({icon:oU,ref:t,blockNode:!0},x,{showIcon:y,expandAction:S,prefixCls:$,className:w,expandedKeys:f,selectedKeys:u,onSelect:v,onExpand:g}))},iU=a.forwardRef(aU),lU=iU,$i=h6;$i.DirectoryTree=lU;$i.TreeNode=ti;const sU=e=>{const{value:t,filterSearch:r,tablePrefixCls:n,locale:o,onChange:i}=e;return r?a.createElement("div",{className:`${n}-filter-dropdown-search`},a.createElement(gr,{prefix:a.createElement(bc,null),placeholder:o.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${n}-filter-dropdown-search-input`})):null},Ap=sU,cU=e=>{const{keyCode:t}=e;t===we.ENTER&&e.stopPropagation()},uU=a.forwardRef((e,t)=>a.createElement("div",{className:e.className,onClick:r=>r.stopPropagation(),onKeyDown:cU,ref:t},e.children)),dU=uU;function qa(e){let t=[];return(e||[]).forEach(r=>{let{value:n,children:o}=r;t.push(n),o&&(t=[].concat(ye(t),ye(qa(o))))}),t}function fU(e){return e.some(t=>{let{children:r}=t;return r})}function C6(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function b6(e){let{filters:t,prefixCls:r,filteredKeys:n,filterMultiple:o,searchValue:i,filterSearch:l}=e;return t.map((s,c)=>{const u=String(s.value);if(s.children)return{key:u||c,label:s.text,popupClassName:`${r}-dropdown-submenu`,children:b6({filters:s.children,prefixCls:r,filteredKeys:n,filterMultiple:o,searchValue:i,filterSearch:l})};const d=o?to:$l,f={key:s.value!==void 0?u:c,label:a.createElement(a.Fragment,null,a.createElement(d,{checked:n.includes(u)}),a.createElement("span",null,s.text))};return i.trim()?typeof l=="function"?l(i,s)?f:null:C6(i,s.text)?f:null:f})}function dd(e){return e||[]}const mU=e=>{var t,r;const{tablePrefixCls:n,prefixCls:o,column:i,dropdownPrefixCls:l,columnKey:s,filterOnClose:c,filterMultiple:u,filterMode:d="menu",filterSearch:f=!1,filterState:m,triggerFilter:g,locale:v,children:h,getPopupContainer:p,rootClassName:C}=e,{filterDropdownOpen:b,onFilterDropdownOpenChange:y,filterResetToDefaultFilteredValue:S,defaultFilteredValue:x,filterDropdownVisible:$,onFilterDropdownVisibleChange:w}=i,[I,E]=a.useState(!1),O=!!(m&&(!((t=m.filteredKeys)===null||t===void 0)&&t.length||m.forceFiltered)),N=re=>{E(re),y==null||y(re),w==null||w(re)},P=(r=b!=null?b:$)!==null&&r!==void 0?r:I,R=m==null?void 0:m.filteredKeys,[M,D]=HX(dd(R)),L=re=>{let{selectedKeys:ce}=re;D(ce)},T=(re,ce)=>{let{node:ue,checked:fe}=ce;L(u?{selectedKeys:re}:{selectedKeys:fe&&ue.key?[ue.key]:[]})};a.useEffect(()=>{I&&L({selectedKeys:dd(R)})},[R]);const[_,j]=a.useState([]),H=re=>{j(re)},[k,V]=a.useState(""),F=re=>{const{value:ce}=re.target;V(ce)};a.useEffect(()=>{I||V("")},[I]);const q=re=>{const ce=re!=null&&re.length?re:null;if(ce===null&&(!m||!m.filteredKeys)||Rr(ce,m==null?void 0:m.filteredKeys,!0))return null;g({column:i,key:s,filteredKeys:ce})},W=()=>{N(!1),q(M())},J=function(){let{confirm:re,closeDropdown:ce}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};re&&q([]),ce&&N(!1),V(""),D(S?(x||[]).map(ue=>String(ue)):[])},X=function(){let{closeDropdown:re}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};re&&N(!1),q(M())},Z=(re,ce)=>{ce.source==="trigger"&&(re&&R!==void 0&&D(dd(R)),N(re),!re&&!i.filterDropdown&&c&&W())},ee=G({[`${l}-menu-without-submenu`]:!fU(i.filters||[])}),ne=re=>{if(re.target.checked){const ce=qa(i==null?void 0:i.filters).map(ue=>String(ue));D(ce)}else D([])},Y=re=>{let{filters:ce}=re;return(ce||[]).map((ue,fe)=>{const be=String(ue.value),de={title:ue.text,key:ue.value!==void 0?be:String(fe)};return ue.children&&(de.children=Y({filters:ue.children})),de})},te=re=>{var ce;return Object.assign(Object.assign({},re),{text:re.title,value:re.key,children:((ce=re.children)===null||ce===void 0?void 0:ce.map(ue=>te(ue)))||[]})};let Q;const{direction:U,renderEmpty:ae}=a.useContext(ke);if(typeof i.filterDropdown=="function")Q=i.filterDropdown({prefixCls:`${l}-custom`,setSelectedKeys:re=>L({selectedKeys:re}),selectedKeys:M(),confirm:X,clearFilters:J,filters:i.filters,visible:P,close:()=>{N(!1)}});else if(i.filterDropdown)Q=i.filterDropdown;else{const re=M()||[],ce=()=>{var fe;const be=(fe=ae==null?void 0:ae("Table.filter"))!==null&&fe!==void 0?fe:a.createElement(br,{image:br.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((i.filters||[]).length===0)return be;if(d==="tree")return a.createElement(a.Fragment,null,a.createElement(Ap,{filterSearch:f,value:k,onChange:F,tablePrefixCls:n,locale:v}),a.createElement("div",{className:`${n}-filter-dropdown-tree`},u?a.createElement(to,{checked:re.length===qa(i.filters).length,indeterminate:re.length>0&&re.lengthtypeof f=="function"?f(k,te(Se)):C6(k,Se.title):void 0})));const de=b6({filters:i.filters||[],filterSearch:f,prefixCls:o,filteredKeys:M(),filterMultiple:u,searchValue:k}),he=de.every(Se=>Se===null);return a.createElement(a.Fragment,null,a.createElement(Ap,{filterSearch:f,value:k,onChange:F,tablePrefixCls:n,locale:v}),he?be:a.createElement(Br,{selectable:!0,multiple:u,prefixCls:`${l}-menu`,className:ee,onSelect:L,onDeselect:L,selectedKeys:re,getPopupContainer:p,openKeys:_,onOpenChange:H,items:de}))},ue=()=>S?Rr((x||[]).map(fe=>String(fe)),re,!0):re.length===0;Q=a.createElement(a.Fragment,null,ce(),a.createElement("div",{className:`${o}-dropdown-btns`},a.createElement(hn,{type:"link",size:"small",disabled:ue(),onClick:()=>J()},v.filterReset),a.createElement(hn,{type:"primary",size:"small",onClick:W},v.filterConfirm)))}i.filterDropdown&&(Q=a.createElement(a3,{selectable:void 0},Q));const se=()=>a.createElement(dU,{className:`${o}-dropdown`},Q);let oe;return typeof i.filterIcon=="function"?oe=i.filterIcon(O):i.filterIcon?oe=i.filterIcon:oe=a.createElement(jW,null),a.createElement("div",{className:`${o}-column`},a.createElement("span",{className:`${n}-column-title`},h),a.createElement(Ci,{dropdownRender:se,trigger:["click"],open:P,onOpenChange:Z,getPopupContainer:p,placement:U==="rtl"?"bottomLeft":"bottomRight",rootClassName:C},a.createElement("span",{role:"button",tabIndex:-1,className:G(`${o}-trigger`,{active:O}),onClick:re=>{re.stopPropagation()}},oe)))},_f=(e,t,r)=>{let n=[];return(e||[]).forEach((o,i)=>{var l;const s=xi(i,r);if(o.filters||"filterDropdown"in o||"onFilter"in o)if("filteredValue"in o){let c=o.filteredValue;"filterDropdown"in o||(c=(l=c==null?void 0:c.map(String))!==null&&l!==void 0?l:c),n.push({column:o,key:Ho(o,s),filteredKeys:c,forceFiltered:o.filtered})}else n.push({column:o,key:Ho(o,s),filteredKeys:t&&o.defaultFilteredValue?o.defaultFilteredValue:void 0,forceFiltered:o.filtered});"children"in o&&(n=[].concat(ye(n),ye(_f(o.children,t,s))))}),n};function y6(e,t,r,n,o,i,l,s,c){return r.map((u,d)=>{const f=xi(d,s),{filterOnClose:m=!0,filterMultiple:g=!0,filterMode:v,filterSearch:h}=u;let p=u;if(p.filters||p.filterDropdown){const C=Ho(p,f),b=n.find(y=>{let{key:S}=y;return C===S});p=Object.assign(Object.assign({},p),{title:y=>a.createElement(mU,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:p,columnKey:C,filterState:b,filterOnClose:m,filterMultiple:g,filterMode:v,filterSearch:h,triggerFilter:i,locale:o,getPopupContainer:l,rootClassName:c},ou(u.title,y))})}return"children"in p&&(p=Object.assign(Object.assign({},p),{children:y6(e,t,p.children,n,o,i,l,f,c)})),p})}const Fp=e=>{const t={};return e.forEach(r=>{let{key:n,filteredKeys:o,column:i}=r;const l=n,{filters:s,filterDropdown:c}=i;if(c)t[l]=o||null;else if(Array.isArray(o)){const u=qa(s);t[l]=u.filter(d=>o.includes(String(d)))}else t[l]=null}),t},kf=(e,t,r)=>t.reduce((o,i)=>{const{column:{onFilter:l,filters:s},filteredKeys:c}=i;return l&&c&&c.length?o.map(u=>Object.assign({},u)).filter(u=>c.some(d=>{const f=qa(s),m=f.findIndex(v=>String(v)===String(d)),g=m!==-1?f[m]:d;return u[r]&&(u[r]=kf(u[r],t,r)),l(g,u)})):o},e),S6=e=>e.flatMap(t=>"children"in t?[t].concat(ye(S6(t.children||[]))):[t]),gU=e=>{const{prefixCls:t,dropdownPrefixCls:r,mergedColumns:n,onFilterChange:o,getPopupContainer:i,locale:l,rootClassName:s}=e;ho();const c=a.useMemo(()=>S6(n||[]),[n]),[u,d]=a.useState(()=>_f(c,!0)),f=a.useMemo(()=>{const h=_f(c,!1);if(h.length===0)return h;let p=!0;if(h.forEach(C=>{let{filteredKeys:b}=C;b!==void 0&&(p=!1)}),p){const C=(c||[]).map((b,y)=>Ho(b,xi(y)));return u.filter(b=>{let{key:y}=b;return C.includes(y)}).map(b=>{const y=c[C.findIndex(S=>S===b.key)];return Object.assign(Object.assign({},b),{column:Object.assign(Object.assign({},b.column),y),forceFiltered:y.filtered})})}return h},[c,u]),m=a.useMemo(()=>Fp(f),[f]),g=h=>{const p=f.filter(C=>{let{key:b}=C;return b!==h.key});p.push(h),d(p),o(Fp(p),p)};return[h=>y6(t,r,h,f,l,g,i,void 0,s),f,m]},vU=gU,pU=(e,t,r)=>{const n=a.useRef({});function o(i){var l;if(!n.current||n.current.data!==e||n.current.childrenColumnName!==t||n.current.getRowKey!==r){let c=function(u){u.forEach((d,f)=>{const m=r(d,f);s.set(m,d),d&&typeof d=="object"&&t in d&&c(d[t]||[])})};const s=new Map;c(e),n.current={data:e,childrenColumnName:t,kvMap:s,getRowKey:r}}return(l=n.current.kvMap)===null||l===void 0?void 0:l.get(i)}return[o]};var hU=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const i=e[o];typeof i!="function"&&(r[o]=i)}),r}function bU(e,t,r){const n=r&&typeof r=="object"?r:{},{total:o=0}=n,i=hU(n,["total"]),[l,s]=a.useState(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:x6})),c=f4(l,i,{total:o>0?o:e}),u=Math.ceil((o||e)/c.pageSize);c.current>u&&(c.current=u||1);const d=(m,g)=>{s({current:m!=null?m:1,pageSize:g||c.pageSize})},f=(m,g)=>{var v;r&&((v=r.onChange)===null||v===void 0||v.call(r,m,g)),d(m,g),t(m,g||(c==null?void 0:c.pageSize))};return r===!1?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:f}),d]}const ws="ascend",fd="descend",Gs=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,Vp=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,yU=(e,t)=>t?e[e.indexOf(t)+1]:e[0],jf=(e,t,r)=>{let n=[];const o=(i,l)=>{n.push({column:i,key:Ho(i,l),multiplePriority:Gs(i),sortOrder:i.sortOrder})};return(e||[]).forEach((i,l)=>{const s=xi(l,r);i.children?("sortOrder"in i&&o(i,s),n=[].concat(ye(n),ye(jf(i.children,t,s)))):i.sorter&&("sortOrder"in i?o(i,s):t&&i.defaultSortOrder&&n.push({column:i,key:Ho(i,s),multiplePriority:Gs(i),sortOrder:i.defaultSortOrder}))}),n},$6=(e,t,r,n,o,i,l,s)=>(t||[]).map((u,d)=>{const f=xi(d,s);let m=u;if(m.sorter){const g=m.sortDirections||o,v=m.showSorterTooltip===void 0?l:m.showSorterTooltip,h=Ho(m,f),p=r.find(E=>{let{key:O}=E;return O===h}),C=p?p.sortOrder:null,b=yU(g,C);let y;if(u.sortIcon)y=u.sortIcon({sortOrder:C});else{const E=g.includes(ws)&&a.createElement(JV,{className:G(`${e}-column-sorter-up`,{active:C===ws})}),O=g.includes(fd)&&a.createElement(XV,{className:G(`${e}-column-sorter-down`,{active:C===fd})});y=a.createElement("span",{className:G(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(E&&O)})},a.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},E,O))}const{cancelSort:S,triggerAsc:x,triggerDesc:$}=i||{};let w=S;b===fd?w=$:b===ws&&(w=x);const I=typeof v=="object"?Object.assign({title:w},v):{title:w};m=Object.assign(Object.assign({},m),{className:G(m.className,{[`${e}-column-sort`]:C}),title:E=>{const O=`${e}-column-sorters`,N=a.createElement("span",{className:`${e}-column-title`},ou(u.title,E)),P=a.createElement("div",{className:O},N,y);return v?typeof v!="boolean"&&(v==null?void 0:v.target)==="sorter-icon"?a.createElement("div",{className:`${O} ${e}-column-sorters-tooltip-target-sorter`},N,a.createElement(Qn,Object.assign({},I),y)):a.createElement(Qn,Object.assign({},I),P):P},onHeaderCell:E=>{var O;const N=((O=u.onHeaderCell)===null||O===void 0?void 0:O.call(u,E))||{},P=N.onClick,R=N.onKeyDown;N.onClick=L=>{n({column:u,key:h,sortOrder:b,multiplePriority:Gs(u)}),P==null||P(L)},N.onKeyDown=L=>{L.keyCode===we.ENTER&&(n({column:u,key:h,sortOrder:b,multiplePriority:Gs(u)}),R==null||R(L))};const M=jX(u.title,{}),D=M==null?void 0:M.toString();return C?N["aria-sort"]=C==="ascend"?"ascending":"descending":N["aria-label"]=D||"",N.className=G(N.className,`${e}-column-has-sorters`),N.tabIndex=0,u.ellipsis&&(N.title=(M!=null?M:"").toString()),N}})}return"children"in m&&(m=Object.assign(Object.assign({},m),{children:$6(e,m.children,r,n,o,i,l,f)})),m}),Wp=e=>{const{column:t,sortOrder:r}=e;return{column:t,order:r,field:t.dataIndex,columnKey:t.key}},Kp=e=>{const t=e.filter(r=>{let{sortOrder:n}=r;return n}).map(Wp);if(t.length===0&&e.length){const r=e.length-1;return Object.assign(Object.assign({},Wp(e[r])),{column:void 0})}return t.length<=1?t[0]||{}:t},Hf=(e,t,r)=>{const n=t.slice().sort((l,s)=>s.multiplePriority-l.multiplePriority),o=e.slice(),i=n.filter(l=>{let{column:{sorter:s},sortOrder:c}=l;return Vp(s)&&c});return i.length?o.sort((l,s)=>{for(let c=0;c{const s=l[r];return s?Object.assign(Object.assign({},l),{[r]:Hf(s,t,r)}):l}):o},SU=e=>{const{prefixCls:t,mergedColumns:r,sortDirections:n,tableLocale:o,showSorterTooltip:i,onSorterChange:l}=e,[s,c]=a.useState(jf(r,!0)),u=(h,p)=>{const C=[];return h.forEach((b,y)=>{const S=xi(y,p);if(C.push(Ho(b,S)),Array.isArray(b.children)){const x=u(b.children,S);C.push.apply(C,ye(x))}}),C},d=a.useMemo(()=>{let h=!0;const p=jf(r,!1);if(!p.length){const S=u(r);return s.filter(x=>{let{key:$}=x;return S.includes($)})}const C=[];function b(S){h?C.push(S):C.push(Object.assign(Object.assign({},S),{sortOrder:null}))}let y=null;return p.forEach(S=>{y===null?(b(S),S.sortOrder&&(S.multiplePriority===!1?h=!1:y=!0)):(y&&S.multiplePriority!==!1||(h=!1),b(S))}),C},[r,s]),f=a.useMemo(()=>{var h,p;const C=d.map(b=>{let{column:y,sortOrder:S}=b;return{column:y,order:S}});return{sortColumns:C,sortColumn:(h=C[0])===null||h===void 0?void 0:h.column,sortOrder:(p=C[0])===null||p===void 0?void 0:p.order}},[d]),m=h=>{let p;h.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?p=[h]:p=[].concat(ye(d.filter(C=>{let{key:b}=C;return b!==h.key})),[h]),c(p),l(Kp(p),p)};return[h=>$6(t,h,d,m,n,o,i),d,f,()=>Kp(d)]},w6=(e,t)=>e.map(n=>{const o=Object.assign({},n);return o.title=ou(n.title,t),"children"in o&&(o.children=w6(o.children,t)),o}),xU=e=>[a.useCallback(r=>w6(r,e),[e])],$U=i6((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n}),wU=$U,EU=s6((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n}),IU=EU,OU=e=>{const{componentCls:t,lineWidth:r,lineType:n,tableBorderColor:o,tableHeaderBg:i,tablePaddingVertical:l,tablePaddingHorizontal:s,calc:c}=e,u=`${B(r)} ${n} ${o}`,d=(f,m,g)=>({[`&${t}-${f}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${B(c(m).mul(-1).equal())} + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:B(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${B(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:B(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},ca(e)),X1(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},wl(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},PA=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:B(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${B(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${B(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},NA=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:B(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),PA(e)),OA(e)),IA(e)),EA(e)),wA(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},MA=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},wr(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},_o(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},_o(e))}}}},v4=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},pi(e)),p4=e=>xt(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},vi(e)),RA=Et("Pagination",e=>{const t=p4(e);return[NA(t),MA(t)]},v4),TA=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},LA=ma(["Pagination","bordered"],e=>{const t=p4(e);return[TA(t)]},v4);var DA=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{align:t,prefixCls:r,selectPrefixCls:n,className:o,rootClassName:i,style:l,size:s,locale:c,selectComponentClass:u,responsive:d,showSizeChanger:f}=e,m=DA(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:g}=di(d),[,v]=zn(),{getPrefixCls:h,direction:p,pagination:C={}}=a.useContext(ke),b=h("pagination",r),[y,S,x]=RA(b),$=f!=null?f:C.showSizeChanger,w=a.useMemo(()=>{const D=a.createElement("span",{className:`${b}-item-ellipsis`},"•••"),L=a.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},p==="rtl"?a.createElement(eo,null):a.createElement(ko,null)),T=a.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},p==="rtl"?a.createElement(ko,null):a.createElement(eo,null)),_=a.createElement("a",{className:`${b}-item-link`},a.createElement("div",{className:`${b}-item-container`},p==="rtl"?a.createElement(ap,{className:`${b}-item-link-icon`}):a.createElement(op,{className:`${b}-item-link-icon`}),D)),j=a.createElement("a",{className:`${b}-item-link`},a.createElement("div",{className:`${b}-item-container`},p==="rtl"?a.createElement(op,{className:`${b}-item-link-icon`}):a.createElement(ap,{className:`${b}-item-link-icon`}),D));return{prevIcon:L,nextIcon:T,jumpPrevIcon:_,jumpNextIcon:j}},[p,b]),[I]=Ln("Pagination",B7),E=Object.assign(Object.assign({},I),c),O=un(s),N=O==="small"||!!(g&&!O&&d),P=h("select",n),R=G({[`${b}-${t}`]:!!t,[`${b}-mini`]:N,[`${b}-rtl`]:p==="rtl",[`${b}-bordered`]:v.wireframe},C==null?void 0:C.className,o,i,S,x),M=Object.assign(Object.assign({},C==null?void 0:C.style),l);return y(a.createElement(a.Fragment,null,v.wireframe&&a.createElement(LA,{prefixCls:b}),a.createElement($A,Object.assign({},w,m,{style:M,prefixCls:b,selectPrefixCls:P,className:R,selectComponentClass:u||(N?m4:g4),locale:E,showSizeChanger:$}))))},Qc=_A,Vs=100,h4=Vs/5,C4=Vs/2-h4/2,id=C4*2*Math.PI,sp=50,cp=e=>{const{dotClassName:t,style:r,hasCircleCls:n}=e;return a.createElement("circle",{className:G(`${t}-circle`,{[`${t}-circle-bg`]:n}),r:C4,cx:sp,cy:sp,strokeWidth:h4,style:r})},kA=e=>{let{percent:t,prefixCls:r}=e;const n=`${r}-dot`,o=`${n}-holder`,i=`${o}-hidden`,[l,s]=a.useState(!1);_t(()=>{t!==0&&s(!0)},[t!==0]);const c=Math.max(Math.min(t,100),0);if(!l)return null;const u={strokeDashoffset:`${id/4}`,strokeDasharray:`${id*c/100} ${id*(100-c)/100}`};return a.createElement("span",{className:G(o,`${n}-progress`,c<=0&&i)},a.createElement("svg",{viewBox:`0 0 ${Vs} ${Vs}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},a.createElement(cp,{dotClassName:n,hasCircleCls:!0}),a.createElement(cp,{dotClassName:n,style:u})))},jA=kA;function HA(e){const{prefixCls:t,percent:r=0}=e,n=`${t}-dot`,o=`${n}-holder`,i=`${o}-hidden`;return a.createElement(a.Fragment,null,a.createElement("span",{className:G(o,r>0&&i)},a.createElement("span",{className:G(n,`${t}-dot-spin`)},[1,2,3,4].map(l=>a.createElement("i",{className:`${t}-dot-item`,key:l})))),a.createElement(jA,{prefixCls:t,percent:r}))}function zA(e){const{prefixCls:t,indicator:r,percent:n}=e,o=`${t}-dot`;return r&&a.isValidElement(r)?cn(r,{className:G(r.props.className,o),percent:n}):a.createElement(HA,{prefixCls:t,percent:n})}const BA=new Ht("antSpinMove",{to:{opacity:1}}),AA=new Ht("antRotate",{to:{transform:"rotate(405deg)"}}),FA=e=>{const{componentCls:t,calc:r}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:r(r(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:r(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:r(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:r(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:r(r(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:r(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:r(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:r(r(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:r(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:r(e.dotSize).sub(r(e.marginXXS).div(2)).div(2).equal(),height:r(e.dotSize).sub(r(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:BA,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:AA,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(n=>`${n} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:r(r(e.dotSizeSM).sub(r(e.marginXXS).div(2))).div(2).equal(),height:r(r(e.dotSizeSM).sub(r(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:r(r(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:r(r(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},VA=e=>{const{controlHeightLG:t,controlHeight:r}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:r}},WA=Et("Spin",e=>{const t=xt(e,{spinDotDefault:e.colorTextDescription});return[FA(t)]},VA),KA=200,up=[[30,.05],[70,.03],[96,.01]];function qA(e,t){const[r,n]=a.useState(0),o=a.useRef(),i=t==="auto";return a.useEffect(()=>(i&&e&&(n(0),o.current=setInterval(()=>{n(l=>{const s=100-l;for(let c=0;c{clearInterval(o.current)}),[i,e]),i?r:t}var GA=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:r,spinning:n=!0,delay:o=0,className:i,rootClassName:l,size:s="default",tip:c,wrapperClassName:u,style:d,children:f,fullscreen:m=!1,indicator:g,percent:v}=e,h=GA(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:p,direction:C,spin:b}=a.useContext(ke),y=p("spin",r),[S,x,$]=WA(y),[w,I]=a.useState(()=>n&&!XA(n,o)),E=qA(w,v);a.useEffect(()=>{if(n){const L=v3(o,()=>{I(!0)});return L(),()=>{var T;(T=L==null?void 0:L.cancel)===null||T===void 0||T.call(L)}}I(!1)},[o,n]);const O=a.useMemo(()=>typeof f!="undefined"&&!m,[f,m]),N=G(y,b==null?void 0:b.className,{[`${y}-sm`]:s==="small",[`${y}-lg`]:s==="large",[`${y}-spinning`]:w,[`${y}-show-text`]:!!c,[`${y}-rtl`]:C==="rtl"},i,!m&&l,x,$),P=G(`${y}-container`,{[`${y}-blur`]:w}),R=(t=g!=null?g:b==null?void 0:b.indicator)!==null&&t!==void 0?t:b4,M=Object.assign(Object.assign({},b==null?void 0:b.style),d),D=a.createElement("div",Object.assign({},h,{style:M,className:N,"aria-live":"polite","aria-busy":w}),a.createElement(zA,{prefixCls:y,indicator:R,percent:E}),c&&(O||m)?a.createElement("div",{className:`${y}-text`},c):null);return S(O?a.createElement("div",Object.assign({},h,{className:G(`${y}-nested-loading`,u,x,$)}),w&&a.createElement("div",{key:"loading"},D),a.createElement("div",{className:P,key:"container"},f)):m?a.createElement("div",{className:G(`${y}-fullscreen`,{[`${y}-fullscreen-show`]:w},l,x,$)},D):D)};jo.setDefaultIndicator=e=>{b4=e};const hm=z.createContext({});hm.Consumer;var y4=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:r,avatar:n,title:o,description:i}=e,l=y4(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=a.useContext(ke),c=s("list",t),u=G(`${c}-item-meta`,r),d=z.createElement("div",{className:`${c}-item-meta-content`},o&&z.createElement("h4",{className:`${c}-item-meta-title`},o),i&&z.createElement("div",{className:`${c}-item-meta-description`},i));return z.createElement("div",Object.assign({},l,{className:u}),n&&z.createElement("div",{className:`${c}-item-meta-avatar`},n),(o||i)&&d)},YA=z.forwardRef((e,t)=>{const{prefixCls:r,children:n,actions:o,extra:i,styles:l,className:s,classNames:c,colStyle:u}=e,d=y4(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:m}=a.useContext(hm),{getPrefixCls:g,list:v}=a.useContext(ke),h=w=>{var I,E;return G((E=(I=v==null?void 0:v.item)===null||I===void 0?void 0:I.classNames)===null||E===void 0?void 0:E[w],c==null?void 0:c[w])},p=w=>{var I,E;return Object.assign(Object.assign({},(E=(I=v==null?void 0:v.item)===null||I===void 0?void 0:I.styles)===null||E===void 0?void 0:E[w]),l==null?void 0:l[w])},C=()=>{let w=!1;return a.Children.forEach(n,I=>{typeof I=="string"&&(w=!0)}),w&&a.Children.count(n)>1},b=()=>m==="vertical"?!!i:!C(),y=g("list",r),S=o&&o.length>0&&z.createElement("ul",{className:G(`${y}-item-action`,h("actions")),key:"actions",style:p("actions")},o.map((w,I)=>z.createElement("li",{key:`${y}-item-action-${I}`},w,I!==o.length-1&&z.createElement("em",{className:`${y}-item-action-split`})))),x=f?"div":"li",$=z.createElement(x,Object.assign({},d,f?{}:{ref:t},{className:G(`${y}-item`,{[`${y}-item-no-flex`]:!b()},s)}),m==="vertical"&&i?[z.createElement("div",{className:`${y}-item-main`,key:"content"},n,S),z.createElement("div",{className:G(`${y}-item-extra`,h("extra")),key:"extra",style:p("extra")},i)]:[n,S,cn(i,{key:"extra"})]);return f?z.createElement(Qs,{ref:t,flex:1,style:u},$):$}),S4=YA;S4.Meta=UA;const ZA=S4,QA=e=>{const{listBorderedCls:t,componentCls:r,paddingLG:n,margin:o,itemPaddingSM:i,itemPaddingLG:l,marginLG:s,borderRadiusLG:c}=e;return{[t]:{border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${r}-header,${r}-footer,${r}-item`]:{paddingInline:n},[`${r}-pagination`]:{margin:`${B(o)} ${B(s)}`}},[`${t}${r}-sm`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:i}},[`${t}${r}-lg`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:l}}}},JA=e=>{const{componentCls:t,screenSM:r,screenMD:n,marginLG:o,marginSM:i,margin:l}=e;return{[`@media screen and (max-width:${n}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${r}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${B(l)}`}}}}}},eF=e=>{const{componentCls:t,antCls:r,controlHeight:n,minHeight:o,paddingSM:i,marginLG:l,padding:s,itemPadding:c,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:f,paddingXS:m,margin:g,colorText:v,colorTextDescription:h,motionDurationSlow:p,lineWidth:C,headerBg:b,footerBg:y,emptyTextPadding:S,metaMarginBottom:x,avatarMarginRight:$,titleMarginBottom:w,descriptionFontSize:I}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:l,[`${r}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:v,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:$},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:v},[`${t}-item-meta-title`]:{margin:`0 0 ${B(e.marginXXS)} 0`,color:v,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:v,transition:`all ${p}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:h,fontSize:I,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${B(m)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:C,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${B(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:S,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${r}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:g,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:l},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:w,color:v,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${B(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:n},[`${t}-split${t}-something-after-last-item ${r}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:f},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},tF=e=>({contentWidth:220,itemPadding:`${B(e.paddingContentVertical)} 0`,itemPaddingSM:`${B(e.paddingContentVerticalSM)} ${B(e.paddingContentHorizontal)}`,itemPaddingLG:`${B(e.paddingContentVerticalLG)} ${B(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),nF=Et("List",e=>{const t=xt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[eF(t),QA(t),JA(t)]},tF);var rF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o(fe,be)=>{var de;w(fe),E(be),t&&((de=t==null?void 0:t[ue])===null||de===void 0||de.call(t,fe,be))},L=D("onChange"),T=D("onShowSizeChange"),_=(ue,fe)=>{if(!b)return null;let be;return typeof C=="function"?be=C(ue):C?be=ue[C]:be=ue.key,be||(be=`list-item-${fe}`),a.createElement(a.Fragment,{key:be},b(ue,fe))},j=()=>!!(d||t||h),H=O("list",r),[k,V,F]=nF(H);let q=p;typeof q=="boolean"&&(q={spinning:q});const W=!!(q!=null&&q.spinning),J=un(g);let X="";switch(J){case"large":X="lg";break;case"small":X="sm";break}const Z=G(H,{[`${H}-vertical`]:u==="vertical",[`${H}-${X}`]:X,[`${H}-split`]:o,[`${H}-bordered`]:n,[`${H}-loading`]:W,[`${H}-grid`]:!!f,[`${H}-something-after-last-item`]:j(),[`${H}-rtl`]:P==="rtl"},R==null?void 0:R.className,i,l,V,F),ee=f4(M,{total:m.length,current:$,pageSize:I},t||{}),ne=Math.ceil(ee.total/ee.pageSize);ee.current>ne&&(ee.current=ne);const Y=t&&a.createElement("div",{className:G(`${H}-pagination`)},a.createElement(Qc,Object.assign({align:"end"},ee,{onChange:L,onShowSizeChange:T})));let te=ye(m);t&&m.length>(ee.current-1)*ee.pageSize&&(te=ye(m).splice((ee.current-1)*ee.pageSize,ee.pageSize));const Q=Object.keys(f||{}).some(ue=>["xs","sm","md","lg","xl","xxl"].includes(ue)),U=di(Q),ae=a.useMemo(()=>{for(let ue=0;ue{if(!f)return;const ue=ae&&f[ae]?f[ae]:f.column;if(ue)return{width:`${100/ue}%`,maxWidth:`${100/ue}%`}},[JSON.stringify(f),ae]);let oe=W&&a.createElement("div",{style:{minHeight:53}});if(te.length>0){const ue=te.map((fe,be)=>_(fe,be));oe=f?a.createElement(Xf,{gutter:f.gutter},a.Children.map(ue,fe=>a.createElement("div",{key:fe==null?void 0:fe.key,style:se},fe))):a.createElement("ul",{className:`${H}-items`},ue)}else!c&&!W&&(oe=a.createElement("div",{className:`${H}-empty-text`},(y==null?void 0:y.emptyText)||(N==null?void 0:N("List"))||a.createElement(Ao,{componentName:"List"})));const re=ee.position||"bottom",ce=a.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return k(a.createElement(hm.Provider,{value:ce},a.createElement("div",Object.assign({style:Object.assign(Object.assign({},R==null?void 0:R.style),s),className:Z},S),(re==="top"||re==="both")&&Y,v&&a.createElement("div",{className:`${H}-header`},v),a.createElement(jo,Object.assign({},q),oe,c),h&&a.createElement("div",{className:`${H}-footer`},h),d||(re==="bottom"||re==="both")&&Y)))}Cm.Item=ZA;function oF(){var e=a.useState({id:0,callback:null}),t=ie(e,2),r=t[0],n=t[1],o=a.useCallback(function(i){n(function(l){var s=l.id;return{id:s+1,callback:i}})},[]);return a.useEffect(function(){var i;(i=r.callback)===null||i===void 0||i.call(r)},[r]),o}var x4=a.createContext(null);function aF(e){var t=a.useContext(x4),r=t.notFoundContent,n=t.activeIndex,o=t.setActiveIndex,i=t.selectOption,l=t.onFocus,s=t.onBlur,c=e.prefixCls,u=e.options,d=u[n]||{};return a.createElement(Ca,{prefixCls:"".concat(c,"-menu"),activeKey:d.key,onSelect:function(m){var g=m.key,v=u.find(function(h){var p=h.key;return p===g});i(v)},onFocus:l,onBlur:s},u.map(function(f,m){var g=f.key,v=f.disabled,h=f.className,p=f.style,C=f.label;return a.createElement(la,{key:g,disabled:v,className:h,style:p,onMouseEnter:function(){o(m)}},C)}),!u.length&&a.createElement(la,{disabled:!0},r))}var iF={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},lF=function(t){var r=t.prefixCls,n=t.options,o=t.children,i=t.visible,l=t.transitionName,s=t.getPopupContainer,c=t.dropdownClassName,u=t.direction,d=t.placement,f="".concat(r,"-dropdown"),m=a.createElement(aF,{prefixCls:f,options:n}),g=a.useMemo(function(){var v;return u==="rtl"?v=d==="top"?"topLeft":"bottomLeft":v=d==="top"?"topRight":"bottomRight",v},[u,d]);return a.createElement(ha,{prefixCls:f,popupVisible:i,popup:m,popupPlacement:g,popupTransitionName:l,builtinPlacements:iF,getPopupContainer:s,popupClassName:c},o)},sF=function(){return null};function cF(e){var t=e.selectionStart;return e.value.slice(0,t)}function uF(e,t){return t.reduce(function(r,n){var o=e.lastIndexOf(n);return o>r.location?{location:o,prefix:n}:r},{location:-1,prefix:""})}function dp(e){return(e||"").toLowerCase()}function dF(e,t,r){var n=e[0];if(!n||n===r)return e;for(var o=e,i=t.length,l=0;l=0)return[!0,"",qe,Ae]}return[Z,te,se,ue]},[h,Z,k,Re,te,se,ue]),Ce=ie(me,4),pe=Ce[0],ge=Ce[1],Ie=Ce[2],nt=Ce[3],Ve=z.useCallback(function(it){var qe;return v&&v.length>0?qe=v.map(function(Ae){var Ge;return K(K({},Ae),{},{key:(Ge=Ae==null?void 0:Ae.key)!==null&&Ge!==void 0?Ge:Ae.value})}):qe=sn(g).map(function(Ae){var Ge=Ae.props,Ye=Ae.key;return K(K({},Ge),{},{label:Ge.children,key:Ye||Ge.value})}),qe.filter(function(Ae){return S===!1?!0:S(it,Ae)})},[g,v,S]),Ze=z.useMemo(function(){return Ve(ge)},[Ve,ge]),De=oF(),Ke=function(qe,Ae,Ge){ee(!0),Q(qe),oe(Ae),fe(Ge),Se(0)},Qe=function(qe){ee(!1),fe(0),Q(""),De(qe)},ot=function(qe){Pe(qe),x==null||x(qe)},Xe=function(qe){var Ae=qe.target.value;ot(Ae)},We=function(qe){var Ae,Ge=qe.value,Ye=Ge===void 0?"":Ge,tt=fF(Re,{measureLocation:nt,targetText:Ye,prefix:Ie,selectionStart:(Ae=W())===null||Ae===void 0?void 0:Ae.selectionStart,split:c}),mt=tt.text,lt=tt.selectionLocation;ot(mt),Qe(function(){mF(W(),lt)}),O==null||O(qe,Ie)},He=function(qe){var Ae=qe.which;if($==null||$(qe),!!pe){if(Ae===we.UP||Ae===we.DOWN){var Ge=Ze.length,Ye=Ae===we.UP?-1:1,tt=(he+Ye+Ge)%Ge;Se(tt),qe.preventDefault()}else if(Ae===we.ESC)Qe();else if(Ae===we.ENTER){if(qe.preventDefault(),p)return;if(!Ze.length){Qe();return}var mt=Ze[he];We(mt)}}},at=function(qe){var Ae=qe.key,Ge=qe.which,Ye=qe.target,tt=cF(Ye),mt=uF(tt,k),lt=mt.location,ft=mt.prefix;if(w==null||w(qe),[we.ESC,we.UP,we.DOWN,we.ENTER].indexOf(Ge)===-1)if(lt!==-1){var gt=tt.slice(lt+ft.length),et=b(gt,c),rt=!!Ve(gt).length;et?(Ae===ft||Ae==="Shift"||pe||gt!==ge&&rt)&&Ke(gt,ft,lt):pe&&Qe(),E&&et&&E(gt,ft)}else pe&&Qe()},Le=function(qe){!pe&&I&&I(qe)},Ue=a.useRef(),_e=function(qe){window.clearTimeout(Ue.current),!xe&&qe&&N&&N(qe),Me(!0)},Be=function(qe){Ue.current=window.setTimeout(function(){Me(!1),Qe(),P==null||P(qe)},0)},Je=function(){_e()},dt=function(){Be()};return z.createElement("div",{className:G(r,n),style:o,ref:V},z.createElement(mb,ve({ref:F,value:Re},H,{rows:j,onChange:Xe,onKeyDown:He,onKeyUp:at,onPressEnter:Le,onFocus:_e,onBlur:Be})),pe&&z.createElement("div",{ref:q,className:"".concat(r,"-measure")},Re.slice(0,nt),z.createElement(x4.Provider,{value:{notFoundContent:d,activeIndex:he,setActiveIndex:Se,selectOption:We,onFocus:Je,onBlur:dt}},z.createElement(lF,{prefixCls:r,transitionName:R,placement:M,direction:D,options:Ze,visible:!0,getPopupContainer:L,dropdownClassName:T},z.createElement("span",null,Ie))),Re.slice(nt+Ie.length)))}),bm=a.forwardRef(function(e,t){var r=e.suffix,n=e.prefixCls,o=n===void 0?"rc-mentions":n,i=e.defaultValue,l=e.value,s=e.allowClear,c=e.onChange,u=e.classNames,d=e.className,f=e.disabled,m=e.onClear,g=ut(e,hF),v=a.useRef(null),h=a.useRef(null);a.useImperativeHandle(t,function(){var $,w;return K(K({},h.current),{},{nativeElement:(($=v.current)===null||$===void 0?void 0:$.nativeElement)||((w=h.current)===null||w===void 0?void 0:w.nativeElement)})});var p=Ot("",{defaultValue:i,value:l}),C=ie(p,2),b=C[0],y=C[1],S=function(w){y(w),c==null||c(w)},x=function(){S("")};return z.createElement(Xc,{suffix:r,prefixCls:o,value:b,allowClear:s,handleReset:x,className:d,classNames:u,disabled:f,ref:v,onClear:m},z.createElement(CF,ve({className:u==null?void 0:u.mentions,prefixCls:o,ref:h,onChange:S,disabled:f},g)))});bm.Option=sF;const bF=e=>{const{componentCls:t,colorTextDisabled:r,controlItemBgHover:n,controlPaddingHorizontal:o,colorText:i,motionDurationSlow:l,lineHeight:s,controlHeight:c,paddingInline:u,paddingBlock:d,fontSize:f,fontSizeIcon:m,colorTextTertiary:g,colorTextQuaternary:v,colorBgElevated:h,paddingXXS:p,paddingLG:C,borderRadius:b,borderRadiusLG:y,boxShadowSecondary:S,itemPaddingVertical:x,calc:$}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),ca(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:s,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),Hc(e)),Bc(e)),zc(e)),{"&-affix-wrapper":Object.assign(Object.assign({},ca(e)),{display:"inline-flex",padding:0,"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:u,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`&:has(${t}-suffix) > ${t} > textarea`]:{paddingInlineEnd:C},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:0,insetBlockStart:$(f).mul(s).mul(.5).add(d).equal(),transform:"translateY(-50%)",margin:0,color:v,fontSize:m,verticalAlign:-1,cursor:"pointer",transition:`color ${l}`,"&:hover":{color:g},"&:active":{color:i},"&-hidden":{visibility:"hidden"}}}),"&-disabled":{"> textarea":Object.assign({},wl(e))},[`&, &-affix-wrapper > ${t}`]:{[`> textarea, ${t}-measure`]:{color:i,boxSizing:"border-box",minHeight:e.calc(c).sub(2),margin:0,padding:`${B(d)} ${B(u)}`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":Object.assign({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"transparent"},Ac(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}}},"&-dropdown":Object.assign(Object.assign({},Pt(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:f,fontVariant:"initial",padding:p,backgroundColor:h,borderRadius:y,outline:"none",boxShadow:S,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":Object.assign(Object.assign({},Mn),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${B(x)} ${B(o)}`,color:i,borderRadius:b,fontWeight:"normal",lineHeight:s,cursor:"pointer",transition:`background ${l} ease`,"&:hover":{backgroundColor:n},"&-disabled":{color:r,cursor:"not-allowed","&:hover":{color:r,backgroundColor:n,cursor:"not-allowed"}},"&-selected":{color:i,fontWeight:e.fontWeightStrong,backgroundColor:n},"&-active":{backgroundColor:n}})}})})}},yF=e=>Object.assign(Object.assign({},pi(e)),{dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50,itemPaddingVertical:(e.controlHeight-e.fontHeight)/2}),SF=Et("Mentions",e=>{const t=xt(e,vi(e));return[bF(t)]},yF);var xF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,rootClassName:o,disabled:i,loading:l,filterOption:s,children:c,notFoundContent:u,options:d,status:f,allowClear:m=!1,popupClassName:g,style:v,variant:h}=e,p=xF(e,["prefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","allowClear","popupClassName","style","variant"]),[C,b]=a.useState(!1),y=a.useRef(null),S=yn(t,y),{getPrefixCls:x,renderEmpty:$,direction:w,mentions:I}=a.useContext(ke),{status:E,hasFeedback:O,feedbackIcon:N}=a.useContext(dn),P=zr(E,f),R=function(){p.onFocus&&p.onFocus.apply(p,arguments),b(!0)},M=function(){p.onBlur&&p.onBlur.apply(p,arguments),b(!1)},D=a.useMemo(()=>u!==void 0?u:($==null?void 0:$("Select"))||a.createElement(Ao,{componentName:"Select"}),[u,$]),L=a.useMemo(()=>l?a.createElement($4,{value:"ANTD_SEARCHING",disabled:!0},a.createElement(jo,{size:"small"})):c,[l,c]),T=l?[{value:"ANTD_SEARCHING",disabled:!0,label:a.createElement(jo,{size:"small"})}]:d,_=l?$F:s,j=x("mentions",r),H=lm(m),k=Ut(j),[V,F,q]=SF(j,k),[W,J]=oo("mentions",h),X=O&&a.createElement(a.Fragment,null,N),Z=G(I==null?void 0:I.className,n,o,q,k),ee=a.createElement(bm,Object.assign({silent:l,prefixCls:j,notFoundContent:D,className:Z,disabled:i,allowClear:H,direction:w,style:Object.assign(Object.assign({},I==null?void 0:I.style),v)},p,{filterOption:_,onFocus:R,onBlur:M,dropdownClassName:G(g,o,F,q,k),ref:S,options:T,suffix:X,classNames:{mentions:G({[`${j}-disabled`]:i,[`${j}-focused`]:C,[`${j}-rtl`]:w==="rtl"},F),variant:G({[`${j}-${W}`]:J},fr(j,P)),affixWrapper:F}}),L);return V(ee)}),xa=wF;xa.Option=$4;const EF=ro(xa,"mentions");xa._InternalPanelDoNotUseOrYouWillBeFired=EF;xa.getMentions=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:r="@",split:n=" "}=t,o=Array.isArray(r)?r:[r];return e.split(n).map(function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=null;return o.some(s=>i.slice(0,s.length)===s?(l=s,!0):!1),l!==null?{prefix:l,value:i.slice(l.length)}:null}).filter(i=>!!i&&!!i.value)};let Cr=null,ta=e=>e(),al=[],il={};function fp(){const{getContainer:e,duration:t,rtl:r,maxCount:n,top:o}=il,i=(e==null?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:r,maxCount:n,top:o}}const IF=z.forwardRef((e,t)=>{const{messageConfig:r,sync:n}=e,{getPrefixCls:o}=a.useContext(ke),i=il.prefixCls||o("message"),l=a.useContext(Rs),[s,c]=u2(Object.assign(Object.assign(Object.assign({},r),{prefixCls:i}),l.message));return z.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return n(),s[d].apply(s,arguments)}}),{instance:u,sync:n}}),c}),OF=z.forwardRef((e,t)=>{const[r,n]=z.useState(fp),o=()=>{n(fp)};z.useEffect(o,[]);const i=Kf(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=z.createElement(IF,{ref:t,sync:o,messageConfig:r});return z.createElement(fa,{prefixCls:l,iconPrefixCls:s,theme:c},i.holderRender?i.holderRender(u):u)});function Jc(){if(!Cr){const e=document.createDocumentFragment(),t={fragment:e};Cr=t,ta(()=>{ac(z.createElement(OF,{ref:r=>{const{instance:n,sync:o}=r||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=o,Jc())})}}),e)});return}Cr.instance&&(al.forEach(e=>{const{type:t,skipped:r}=e;if(!r)switch(t){case"open":{ta(()=>{const n=Cr.instance.open(Object.assign(Object.assign({},il),e.config));n==null||n.then(e.resolve),e.setCloseFn(n)});break}case"destroy":ta(()=>{Cr==null||Cr.instance.destroy(e.key)});break;default:ta(()=>{var n;const o=(n=Cr.instance)[t].apply(n,ye(e.args));o==null||o.then(e.resolve),e.setCloseFn(o)})}}),al=[])}function PF(e){il=Object.assign(Object.assign({},il),e),ta(()=>{var t;(t=Cr==null?void 0:Cr.sync)===null||t===void 0||t.call(Cr)})}function NF(e){const t=o1(r=>{let n;const o={type:"open",config:e,resolve:r,setCloseFn:i=>{n=i}};return al.push(o),()=>{n?ta(()=>{n()}):o.skipped=!0}});return Jc(),t}function MF(e,t){const r=o1(n=>{let o;const i={type:e,args:t,resolve:n,setCloseFn:l=>{o=l}};return al.push(i),()=>{o?ta(()=>{o()}):i.skipped=!0}});return Jc(),r}const RF=e=>{al.push({type:"destroy",key:e}),Jc()},TF=["success","info","warning","error","loading"],LF={open:NF,destroy:RF,config:PF,useMessage:d2,_InternalPanelDoNotUseOrYouWillBeFired:Jy},Fr=LF;TF.forEach(e=>{Fr[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n{const{prefixCls:t,className:r,closeIcon:n,closable:o,type:i,title:l,children:s,footer:c}=e,u=DF(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=a.useContext(ke),f=d(),m=t||d("modal"),g=Ut(f),[v,h,p]=K2(m,g),C=`${m}-confirm`;let b={};return i?b={closable:o!=null?o:!1,title:"",footer:"",children:a.createElement(G2,Object.assign({},e,{prefixCls:m,confirmPrefixCls:C,rootPrefixCls:f,content:s}))}:b={closable:o!=null?o:!0,title:l,footer:c!==null&&a.createElement(A2,Object.assign({},e)),children:s},v(a.createElement(E2,Object.assign({prefixCls:m,className:G(h,`${m}-pure-panel`,i&&C,i&&`${C}-${i}`,r,p,g)},u,{closeIcon:B2(m,n),closable:o},b)))},kF=C1(_F);function w4(e){return vl(Z2(e))}const Dn=q2;Dn.useModal=n5;Dn.info=function(t){return vl(Q2(t))};Dn.success=function(t){return vl(J2(t))};Dn.error=function(t){return vl(e5(t))};Dn.warning=w4;Dn.warn=w4;Dn.confirm=function(t){return vl(t5(t))};Dn.destroyAll=function(){for(;Jo.length;){const t=Jo.pop();t&&t()}};Dn.config=F$;Dn._InternalPanelDoNotUseOrYouWillBeFired=kF;let Or=null,$s=e=>e(),Ws=[],ll={};function mp(){const{getContainer:e,rtl:t,maxCount:r,top:n,bottom:o,showProgress:i,pauseOnHover:l}=ll,s=(e==null?void 0:e())||document.body;return{getContainer:()=>s,rtl:t,maxCount:r,top:n,bottom:o,showProgress:i,pauseOnHover:l}}const jF=z.forwardRef((e,t)=>{const{notificationConfig:r,sync:n}=e,{getPrefixCls:o}=a.useContext(ke),i=ll.prefixCls||o("notification"),l=a.useContext(Rs),[s,c]=s5(Object.assign(Object.assign(Object.assign({},r),{prefixCls:i}),l.notification));return z.useEffect(n,[]),z.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return n(),s[d].apply(s,arguments)}}),{instance:u,sync:n}}),c}),HF=z.forwardRef((e,t)=>{const[r,n]=z.useState(mp),o=()=>{n(mp)};z.useEffect(o,[]);const i=Kf(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=z.createElement(jF,{ref:t,sync:o,notificationConfig:r});return z.createElement(fa,{prefixCls:l,iconPrefixCls:s,theme:c},i.holderRender?i.holderRender(u):u)});function ym(){if(!Or){const e=document.createDocumentFragment(),t={fragment:e};Or=t,$s(()=>{ac(z.createElement(HF,{ref:r=>{const{instance:n,sync:o}=r||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=o,ym())})}}),e)});return}Or.instance&&(Ws.forEach(e=>{switch(e.type){case"open":{$s(()=>{Or.instance.open(Object.assign(Object.assign({},ll),e.config))});break}case"destroy":$s(()=>{Or==null||Or.instance.destroy(e.key)});break}}),Ws=[])}function zF(e){ll=Object.assign(Object.assign({},ll),e),$s(()=>{var t;(t=Or==null?void 0:Or.sync)===null||t===void 0||t.call(Or)})}function E4(e){Ws.push({type:"open",config:e}),ym()}const BF=e=>{Ws.push({type:"destroy",key:e}),ym()},AF=["success","info","warning","error"],FF={open:E4,destroy:BF,config:zF,useNotification:c5,_InternalPanelDoNotUseOrYouWillBeFired:aw},Vr=FF;AF.forEach(e=>{Vr[e]=t=>E4(Object.assign(Object.assign({},t),{type:e}))});const VF=e=>{const{componentCls:t,iconCls:r,antCls:n,zIndexPopup:o,colorText:i,colorWarning:l,marginXXS:s,marginXS:c,fontSize:u,fontWeightStrong:d,colorTextHeading:f}=e;return{[t]:{zIndex:o,[`&${n}-popover`]:{fontSize:u},[`${t}-message`]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${r}`]:{color:l,fontSize:u,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:d,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:s,color:i}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}},WF=e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},I4=Et("Popconfirm",e=>VF(e),WF,{resetStyle:!1});var KF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,okButtonProps:r,cancelButtonProps:n,title:o,description:i,cancelText:l,okText:s,okType:c="primary",icon:u=a.createElement(Bo,null),showCancel:d=!0,close:f,onConfirm:m,onCancel:g,onPopupClick:v}=e,{getPrefixCls:h}=a.useContext(ke),[p]=Ln("Popconfirm",$r.Popconfirm),C=Za(o),b=Za(i);return a.createElement("div",{className:`${t}-inner-content`,onClick:v},a.createElement("div",{className:`${t}-message`},u&&a.createElement("span",{className:`${t}-message-icon`},u),a.createElement("div",{className:`${t}-message-text`},C&&a.createElement("div",{className:`${t}-title`},C),b&&a.createElement("div",{className:`${t}-description`},b))),a.createElement("div",{className:`${t}-buttons`},d&&a.createElement(hn,Object.assign({onClick:g,size:"small"},n),l||(p==null?void 0:p.cancelText)),a.createElement(s1,{buttonProps:Object.assign(Object.assign({size:"small"},a1(c)),r),actionFn:m,close:f,prefixCls:h("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(p==null?void 0:p.okText))))},qF=e=>{const{prefixCls:t,placement:r,className:n,style:o}=e,i=KF(e,["prefixCls","placement","className","style"]),{getPrefixCls:l}=a.useContext(ke),s=l("popconfirm",t),[c]=I4(s);return c(a.createElement(z5,{placement:r,className:G(s,n),style:o,content:a.createElement(O4,Object.assign({prefixCls:s},i))}))},GF=qF;var XF=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var r,n;const{prefixCls:o,placement:i="top",trigger:l="click",okType:s="primary",icon:c=a.createElement(Bo,null),children:u,overlayClassName:d,onOpenChange:f,onVisibleChange:m}=e,g=XF(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:v}=a.useContext(ke),[h,p]=Ot(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),C=(E,O)=>{p(E,!0),m==null||m(E),f==null||f(E,O)},b=E=>{C(!1,E)},y=E=>{var O;return(O=e.onConfirm)===null||O===void 0?void 0:O.call(void 0,E)},S=E=>{var O;C(!1,E),(O=e.onCancel)===null||O===void 0||O.call(void 0,E)},x=(E,O)=>{const{disabled:N=!1}=e;N||C(E,O)},$=v("popconfirm",o),w=G($,d),[I]=I4($);return I(a.createElement(Ec,Object.assign({},Xt(g,["title"]),{trigger:l,placement:i,onOpenChange:x,open:h,ref:t,overlayClassName:w,content:a.createElement(O4,Object.assign({okType:s,icon:c},e,{prefixCls:$,close:b,onConfirm:y,onCancel:S})),"data-popover-inject":!0}),u))}),P4=UF;P4._InternalPanelDoNotUseOrYouWillBeFired=GF;const YF=P4;var ZF={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},QF=function(){var t=a.useRef([]),r=a.useRef(null);return a.useEffect(function(){var n=Date.now(),o=!1;t.current.forEach(function(i){if(i){o=!0;var l=i.style;l.transitionDuration=".3s, .3s, .3s, .06s",r.current&&n-r.current<100&&(l.transitionDuration="0s, 0s")}}),o&&(r.current=Date.now())}),t.current},gp=0,JF=Zr();function eV(){var e;return JF?(e=gp,gp+=1):e="TEST_OR_SSR",e}const tV=function(e){var t=a.useState(),r=ie(t,2),n=r[0],o=r[1];return a.useEffect(function(){o("rc_progress_".concat(eV()))},[]),e||n};var vp=function(t){var r=t.bg,n=t.children;return a.createElement("div",{style:{width:"100%",height:"100%",background:r}},n)};function pp(e,t){return Object.keys(e).map(function(r){var n=parseFloat(r),o="".concat(Math.floor(n*t),"%");return"".concat(e[r]," ").concat(o)})}var nV=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.color,o=e.gradientId,i=e.radius,l=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,f=e.gapDegree,m=n&&bt(n)==="object",g=m?"#FFF":void 0,v=d/2,h=a.createElement("circle",{className:"".concat(r,"-circle-path"),r:i,cx:v,cy:v,stroke:g,strokeLinecap:c,strokeWidth:u,opacity:s===0?0:1,style:l,ref:t});if(!m)return h;var p="".concat(o,"-conic"),C=f?"".concat(180+f/2,"deg"):"0deg",b=pp(n,(360-f)/360),y=pp(n,1),S="conic-gradient(from ".concat(C,", ").concat(b.join(", "),")"),x="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(y.join(", "),")");return a.createElement(a.Fragment,null,a.createElement("mask",{id:p},h),a.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(p,")")},a.createElement(vp,{bg:x},a.createElement(vp,{bg:S}))))}),Vi=100,ld=function(t,r,n,o,i,l,s,c,u,d){var f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,m=n/100*360*((360-l)/360),g=l===0?0:{bottom:0,top:180,left:90,right:-90}[s],v=(100-o)/100*r;u==="round"&&o!==100&&(v+=d/2,v>=r&&(v=r-.01));var h=Vi/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(r,"px ").concat(t),strokeDashoffset:v+f,transform:"rotate(".concat(i+m+g,"deg)"),transformOrigin:"".concat(h,"px ").concat(h,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},rV=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function hp(e){var t=e!=null?e:[];return Array.isArray(t)?t:[t]}var oV=function(t){var r=K(K({},ZF),t),n=r.id,o=r.prefixCls,i=r.steps,l=r.strokeWidth,s=r.trailWidth,c=r.gapDegree,u=c===void 0?0:c,d=r.gapPosition,f=r.trailColor,m=r.strokeLinecap,g=r.style,v=r.className,h=r.strokeColor,p=r.percent,C=ut(r,rV),b=Vi/2,y=tV(n),S="".concat(y,"-gradient"),x=b-l/2,$=Math.PI*2*x,w=u>0?90+u/2:-90,I=$*((360-u)/360),E=bt(i)==="object"?i:{count:i,gap:2},O=E.count,N=E.gap,P=hp(p),R=hp(h),M=R.find(function(k){return k&&bt(k)==="object"}),D=M&&bt(M)==="object",L=D?"butt":m,T=ld($,I,0,100,w,u,d,f,L,l),_=QF(),j=function(){var V=0;return P.map(function(F,q){var W=R[q]||R[R.length-1],J=ld($,I,V,F,w,u,d,W,L,l);return V+=F,a.createElement(nV,{key:q,color:W,ptg:F,radius:x,prefixCls:o,gradientId:S,style:J,strokeLinecap:L,strokeWidth:l,gapDegree:u,ref:function(Z){_[q]=Z},size:Vi})}).reverse()},H=function(){var V=Math.round(O*(P[0]/100)),F=100/O,q=0;return new Array(O).fill(null).map(function(W,J){var X=J<=V-1?R[0]:f,Z=X&&bt(X)==="object"?"url(#".concat(S,")"):void 0,ee=ld($,I,q,F,w,u,d,X,"butt",l,N);return q+=(I-ee.strokeDashoffset+N)*100/I,a.createElement("circle",{key:J,className:"".concat(o,"-circle-path"),r:x,cx:b,cy:b,stroke:Z,strokeWidth:l,opacity:1,style:ee,ref:function(Y){_[J]=Y}})})};return a.createElement("svg",ve({className:G("".concat(o,"-circle"),v),viewBox:"0 0 ".concat(Vi," ").concat(Vi),style:g,id:n,role:"presentation"},C),!O&&a.createElement("circle",{className:"".concat(o,"-circle-trail"),r:x,cx:b,cy:b,stroke:f,strokeLinecap:L,strokeWidth:s||l,style:T}),O?H():j())};function Do(e){return!e||e<0?0:e>100?100:e}function Ks(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}const aV=e=>{let{percent:t,success:r,successPercent:n}=e;const o=Do(Ks({success:r,successPercent:n}));return[o,Do(Do(t)-o)]},iV=e=>{let{success:t={},strokeColor:r}=e;const{strokeColor:n}=t;return[n||Md.green,r||null]},eu=(e,t,r)=>{var n,o,i,l;let s=-1,c=-1;if(t==="step"){const u=r.steps,d=r.strokeWidth;typeof e=="string"||typeof e=="undefined"?(s=e==="small"?2:14,c=d!=null?d:8):typeof e=="number"?[s,c]=[e,e]:[s=14,c=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=r==null?void 0:r.strokeWidth;typeof e=="string"||typeof e=="undefined"?c=u||(e==="small"?6:8):typeof e=="number"?[s,c]=[e,e]:[s=-1,c=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e=="undefined"?[s,c]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,c]=[e,e]:Array.isArray(e)&&(s=(o=(n=e[0])!==null&&n!==void 0?n:e[1])!==null&&o!==void 0?o:120,c=(l=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&l!==void 0?l:120));return[s,c]},lV=3,sV=e=>lV/e*100,cV=e=>{const{prefixCls:t,trailColor:r=null,strokeLinecap:n="round",gapPosition:o,gapDegree:i,width:l=120,type:s,children:c,success:u,size:d=l,steps:f}=e,[m,g]=eu(d,"circle");let{strokeWidth:v}=e;v===void 0&&(v=Math.max(sV(m),6));const h={width:m,height:g,fontSize:m*.15+6},p=a.useMemo(()=>{if(i||i===0)return i;if(s==="dashboard")return 75},[i,s]),C=aV(e),b=o||s==="dashboard"&&"bottom"||void 0,y=Object.prototype.toString.call(e.strokeColor)==="[object Object]",S=iV({success:u,strokeColor:e.strokeColor}),x=G(`${t}-inner`,{[`${t}-circle-gradient`]:y}),$=a.createElement(oV,{steps:f,percent:f?C[1]:C,strokeWidth:v,trailWidth:v,strokeColor:f?S[1]:S,strokeLinecap:n,trailColor:r,prefixCls:t,gapDegree:p,gapPosition:b}),w=m<=20,I=a.createElement("div",{className:x,style:h},$,!w&&c);return w?a.createElement(Qn,{title:c},I):I},uV=cV,qs="--progress-line-stroke-color",N4="--progress-percent",Cp=e=>{const t=e?"100%":"-100%";return new Ht(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},dV=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${qs})`]},height:"100%",width:`calc(1 / var(${N4}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${B(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:Cp(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:Cp(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},fV=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},mV=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},gV=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}},vV=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),pV=Et("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),r=xt(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[dV(r),fV(r),mV(r),gV(r)]},vV);var hV=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{let t=[];return Object.keys(e).forEach(r=>{const n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),t=t.sort((r,n)=>r.key-n.key),t.map(r=>{let{key:n,value:o}=r;return`${o} ${n}%`}).join(", ")},bV=(e,t)=>{const{from:r=Md.blue,to:n=Md.blue,direction:o=t==="rtl"?"to left":"to right"}=e,i=hV(e,["from","to","direction"]);if(Object.keys(i).length!==0){const s=CV(i),c=`linear-gradient(${o}, ${s})`;return{background:c,[qs]:c}}const l=`linear-gradient(${o}, ${r}, ${n})`;return{background:l,[qs]:l}},yV=e=>{const{prefixCls:t,direction:r,percent:n,size:o,strokeWidth:i,strokeColor:l,strokeLinecap:s="round",children:c,trailColor:u=null,percentPosition:d,success:f}=e,{align:m,type:g}=d,v=l&&typeof l!="string"?bV(l,r):{[qs]:l,background:l},h=s==="square"||s==="butt"?0:void 0,p=o!=null?o:[-1,i||(o==="small"?6:8)],[C,b]=eu(p,"line",{strokeWidth:i}),y={backgroundColor:u||void 0,borderRadius:h},S=Object.assign(Object.assign({width:`${Do(n)}%`,height:b,borderRadius:h},v),{[N4]:Do(n)/100}),x=Ks(e),$={width:`${Do(x)}%`,height:b,borderRadius:h,backgroundColor:f==null?void 0:f.strokeColor},w={width:C<0?"100%":C},I=a.createElement("div",{className:`${t}-inner`,style:y},a.createElement("div",{className:G(`${t}-bg`,`${t}-bg-${g}`),style:S},g==="inner"&&c),x!==void 0&&a.createElement("div",{className:`${t}-success-bg`,style:$})),E=g==="outer"&&m==="start",O=g==="outer"&&m==="end";return g==="outer"&&m==="center"?a.createElement("div",{className:`${t}-layout-bottom`},I,c):a.createElement("div",{className:`${t}-outer`,style:w},E&&c,I,O&&c)},SV=yV,xV=e=>{const{size:t,steps:r,percent:n=0,strokeWidth:o=8,strokeColor:i,trailColor:l=null,prefixCls:s,children:c}=e,u=Math.round(r*(n/100)),d=t==="small"?2:14,f=t!=null?t:[d,o],[m,g]=eu(f,"step",{steps:r,strokeWidth:o}),v=m/r,h=new Array(r);for(let p=0;p{const{prefixCls:r,className:n,rootClassName:o,steps:i,strokeColor:l,percent:s=0,size:c="default",showInfo:u=!0,type:d="line",status:f,format:m,style:g,percentPosition:v={}}=e,h=wV(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:p="end",type:C="outer"}=v,b=Array.isArray(l)?l[0]:l,y=typeof l=="string"||Array.isArray(l)?l:void 0,S=a.useMemo(()=>{if(b){const j=typeof b=="string"?b:Object.values(b)[0];return new Qt(j).isLight()}return!1},[l]),x=a.useMemo(()=>{var j,H;const k=Ks(e);return parseInt(k!==void 0?(j=k!=null?k:0)===null||j===void 0?void 0:j.toString():(H=s!=null?s:0)===null||H===void 0?void 0:H.toString(),10)},[s,e.success,e.successPercent]),$=a.useMemo(()=>!EV.includes(f)&&x>=100?"success":f||"normal",[f,x]),{getPrefixCls:w,direction:I,progress:E}=a.useContext(ke),O=w("progress",r),[N,P,R]=pV(O),M=d==="line",D=M&&!i,L=a.useMemo(()=>{if(!u)return null;const j=Ks(e);let H;const k=m||(F=>`${F}%`),V=M&&S&&C==="inner";return C==="inner"||m||$!=="exception"&&$!=="success"?H=k(Do(s),Do(j)):$==="exception"?H=M?a.createElement(bo,null):a.createElement(mr,null):$==="success"&&(H=M?a.createElement(ga,null):a.createElement(Cc,null)),a.createElement("span",{className:G(`${O}-text`,{[`${O}-text-bright`]:V,[`${O}-text-${p}`]:D,[`${O}-text-${C}`]:D}),title:typeof H=="string"?H:void 0},H)},[u,s,x,$,d,O,m]);let T;d==="line"?T=i?a.createElement($V,Object.assign({},e,{strokeColor:y,prefixCls:O,steps:typeof i=="object"?i.count:i}),L):a.createElement(SV,Object.assign({},e,{strokeColor:b,prefixCls:O,direction:I,percentPosition:{align:p,type:C}}),L):(d==="circle"||d==="dashboard")&&(T=a.createElement(uV,Object.assign({},e,{strokeColor:b,prefixCls:O,progressStatus:$}),L));const _=G(O,`${O}-status-${$}`,{[`${O}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${O}-inline-circle`]:d==="circle"&&eu(c,"circle")[0]<=20,[`${O}-line`]:D,[`${O}-line-align-${p}`]:D,[`${O}-line-position-${C}`]:D,[`${O}-steps`]:i,[`${O}-show-info`]:u,[`${O}-${c}`]:typeof c=="string",[`${O}-rtl`]:I==="rtl"},E==null?void 0:E.className,n,o,P,R);return N(a.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},E==null?void 0:E.style),g),className:_,role:"progressbar","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":100},Xt(h,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),T))}),Sm=IV;function Ba(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=q7(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,l=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return l=u.done,u},e:function(u){s=!0,i=u},f:function(){try{l||r.return==null||r.return()}finally{if(s)throw i}}}}var bi,Rl;function tr(e,t,r){if(t<0||t>31||e>>>t)throw new RangeError("Value out of range");for(var n=t-1;n>=0;n--)r.push(e>>>n&1)}function so(e,t){return(e>>>t&1)!=0}function cr(e){if(!e)throw new Error("Assertion error")}var Yr=function(){function e(t,r){tn(this,e),A(this,"modeBits",void 0),A(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=r}return nn(e,[{key:"numCharCountBits",value:function(r){return this.numBitsCharCount[Math.floor((r+7)/17)]}}]),e}();bi=Yr;A(Yr,"NUMERIC",new bi(1,[10,12,14]));A(Yr,"ALPHANUMERIC",new bi(2,[9,11,13]));A(Yr,"BYTE",new bi(4,[8,16,16]));A(Yr,"KANJI",new bi(8,[8,10,12]));A(Yr,"ECI",new bi(7,[0,0,0]));var Sr=nn(function e(t,r){tn(this,e),A(this,"ordinal",void 0),A(this,"formatBits",void 0),this.ordinal=t,this.formatBits=r});Rl=Sr;A(Sr,"LOW",new Rl(0,1));A(Sr,"MEDIUM",new Rl(1,0));A(Sr,"QUARTILE",new Rl(2,3));A(Sr,"HIGH",new Rl(3,2));var aa=function(){function e(t,r,n){if(tn(this,e),A(this,"mode",void 0),A(this,"numChars",void 0),A(this,"bitData",void 0),this.mode=t,this.numChars=r,this.bitData=n,r<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}return nn(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(r){var n=[],o=Ba(r),i;try{for(o.s();!(i=o.n()).done;){var l=i.value;tr(l,8,n)}}catch(s){o.e(s)}finally{o.f()}return new e(Yr.BYTE,r.length,n)}},{key:"makeNumeric",value:function(r){if(!e.isNumeric(r))throw new RangeError("String contains non-numeric characters");for(var n=[],o=0;o=1<e.MAX_VERSION)throw new RangeError("Version value out of range");if(i<-1||i>7)throw new RangeError("Mask value out of range");this.size=t*4+17;for(var l=[],s=0;s>>9)*1335;var l=(n<<10|o)^21522;cr(l>>>15==0);for(var s=0;s<=5;s++)this.setFunctionModule(8,s,so(l,s));this.setFunctionModule(8,7,so(l,6)),this.setFunctionModule(8,8,so(l,7)),this.setFunctionModule(7,8,so(l,8));for(var c=9;c<15;c++)this.setFunctionModule(14-c,8,so(l,c));for(var u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,so(l,u));for(var d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,so(l,d));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var r=this.version,n=0;n<12;n++)r=r<<1^(r>>>11)*7973;var o=this.version<<12|r;cr(o>>>18==0);for(var i=0;i<18;i++){var l=so(o,i),s=this.size-11+i%3,c=Math.floor(i/3);this.setFunctionModule(s,c,l),this.setFunctionModule(c,s,l)}}}},{key:"drawFinderPattern",value:function(r,n){for(var o=-4;o<=4;o++)for(var i=-4;i<=4;i++){var l=Math.max(Math.abs(i),Math.abs(o)),s=r+i,c=n+o;0<=s&&s=c)&&p.push(x[S])})},b=0;b=1;o-=2){o==6&&(o=5);for(var i=0;i>>3],7-(n&7)),n++)}}cr(n==r.length*8)}},{key:"applyMask",value:function(r){if(r<0||r>7)throw new RangeError("Mask value out of range");for(var n=0;n5&&r++):(this.finderPenaltyAddHistory(i,l),o||(r+=this.finderPenaltyCountPatterns(l)*e.PENALTY_N3),o=this.modules[n][s],i=1);r+=this.finderPenaltyTerminateAndCount(o,i,l)*e.PENALTY_N3}for(var c=0;c5&&r++):(this.finderPenaltyAddHistory(d,f),u||(r+=this.finderPenaltyCountPatterns(f)*e.PENALTY_N3),u=this.modules[m][c],d=1);r+=this.finderPenaltyTerminateAndCount(u,d,f)*e.PENALTY_N3}for(var g=0;g0&&r[2]==n&&r[3]==n*3&&r[4]==n&&r[5]==n;return(o&&r[0]>=n*4&&r[6]>=n?1:0)+(o&&r[6]>=n*4&&r[0]>=n?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(r,n,o){var i=n;return r&&(this.finderPenaltyAddHistory(i,o),i=0),i+=this.size,this.finderPenaltyAddHistory(i,o),this.finderPenaltyCountPatterns(o)}},{key:"finderPenaltyAddHistory",value:function(r,n){var o=r;n[0]==0&&(o+=this.size),n.pop(),n.unshift(o)}}],[{key:"encodeText",value:function(r,n){var o=aa.makeSegments(r);return e.encodeSegments(o,n)}},{key:"encodeBinary",value:function(r,n){var o=aa.makeBytes(r);return e.encodeSegments([o],n)}},{key:"encodeSegments",value:function(r,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(e.MIN_VERSION<=o&&o<=i&&i<=e.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");var c,u;for(c=o;;c++){var d=e.getNumDataCodewords(c,n)*8,f=aa.getTotalBits(r,c);if(f<=d){u=f;break}if(c>=i)throw new RangeError("Data too long")}for(var m=n,g=0,v=[Sr.MEDIUM,Sr.QUARTILE,Sr.HIGH];g>>3]|=O<<7-(N&7)}),new e(c,m,E,l)}},{key:"getNumRawDataModules",value:function(r){if(re.MAX_VERSION)throw new RangeError("Version number out of range");var n=(16*r+128)*r+64;if(r>=2){var o=Math.floor(r/7)+2;n-=(25*o-10)*o-55,r>=7&&(n-=36)}return cr(208<=n&&n<=29648),n}},{key:"getNumDataCodewords",value:function(r,n){return Math.floor(e.getNumRawDataModules(r)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r]}},{key:"reedSolomonComputeDivisor",value:function(r){if(r<1||r>255)throw new RangeError("Degree out of range");for(var n=[],o=0;o>>8||n>>>8)throw new RangeError("Byte out of range");for(var o=0,i=7;i>=0;i--)o=o<<1^(o>>>7)*285,o^=(n>>>i&1)*r;return cr(o>>>8==0),o}}]),e}();A(xo,"MIN_VERSION",1);A(xo,"MAX_VERSION",40);A(xo,"PENALTY_N1",3);A(xo,"PENALTY_N2",3);A(xo,"PENALTY_N3",40);A(xo,"PENALTY_N4",10);A(xo,"ECC_CODEWORDS_PER_BLOCK",[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]);A(xo,"NUM_ERROR_CORRECTION_BLOCKS",[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var OV={L:Sr.LOW,M:Sr.MEDIUM,Q:Sr.QUARTILE,H:Sr.HIGH},M4=128,R4="L",T4="#FFFFFF",L4="#000000",D4=!1,_4=1,PV=4,NV=0,MV=.1;function k4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=[];return e.forEach(function(n,o){var i=null;n.forEach(function(l,s){if(!l&&i!==null){r.push("M".concat(i+t," ").concat(o+t,"h").concat(s-i,"v1H").concat(i+t,"z")),i=null;return}if(s===n.length-1){if(!l)return;i===null?r.push("M".concat(s+t,",").concat(o+t," h1v1H").concat(s+t,"z")):r.push("M".concat(i+t,",").concat(o+t," h").concat(s+1-i,"v1H").concat(i+t,"z"));return}l&&i===null&&(i=s)})}),r.join("")}function j4(e,t){return e.slice().map(function(r,n){return n=t.y+t.h?r:r.map(function(o,i){return i=t.x+t.w?o:!1})})}function RV(e,t,r,n){if(n==null)return null;var o=e.length+r*2,i=Math.floor(t*MV),l=o/t,s=(n.width||i)*l,c=(n.height||i)*l,u=n.x==null?e.length/2-s/2:n.x*l,d=n.y==null?e.length/2-c/2:n.y*l,f=n.opacity==null?1:n.opacity,m=null;if(n.excavate){var g=Math.floor(u),v=Math.floor(d),h=Math.ceil(s+u-g),p=Math.ceil(c+d-v);m={x:g,y:v,w:h,h:p}}var C=n.crossOrigin;return{x:u,y:d,h:c,w:s,excavation:m,opacity:f,crossOrigin:C}}function TV(e,t){return t!=null?Math.floor(t):e?PV:NV}var LV=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();function H4(e){var t=e.value,r=e.level,n=e.minVersion,o=e.includeMargin,i=e.marginSize,l=e.imageSettings,s=e.size,c=a.useMemo(function(){var v=aa.makeSegments(t);return xo.encodeSegments(v,OV[r],n)},[t,r,n]),u=a.useMemo(function(){var v=c.getModules(),h=TV(o,i),p=v.length+h*2,C=RV(v,s,h,l);return{cells:v,margin:h,numCells:p,calculatedImageSettings:C}},[c,s,l,o,i]),d=u.cells,f=u.margin,m=u.numCells,g=u.calculatedImageSettings;return{qrcode:c,margin:f,cells:d,numCells:m,calculatedImageSettings:g}}var DV=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],z4=z.forwardRef(function(t,r){var n=t.value,o=t.size,i=o===void 0?M4:o,l=t.level,s=l===void 0?R4:l,c=t.bgColor,u=c===void 0?T4:c,d=t.fgColor,f=d===void 0?L4:d,m=t.includeMargin,g=m===void 0?D4:m,v=t.minVersion,h=v===void 0?_4:v,p=t.marginSize,C=t.style,b=t.imageSettings,y=ut(t,DV),S=b==null?void 0:b.src,x=a.useRef(null),$=a.useRef(null),w=a.useCallback(function(_){x.current=_,typeof r=="function"?r(_):r&&(r.current=_)},[r]),I=a.useState(!1),E=ie(I,2),O=E[1],N=H4({value:n,level:s,minVersion:h,includeMargin:g,marginSize:p,imageSettings:b,size:i}),P=N.margin,R=N.cells,M=N.numCells,D=N.calculatedImageSettings;a.useEffect(function(){if(x.current!=null){var _=x.current,j=_.getContext("2d");if(!j)return;var H=R,k=$.current,V=D!=null&&k!==null&&k.complete&&k.naturalHeight!==0&&k.naturalWidth!==0;V&&D.excavation!=null&&(H=j4(R,D.excavation));var F=window.devicePixelRatio||1;_.height=_.width=i*F;var q=i/M*F;j.scale(q,q),j.fillStyle=u,j.fillRect(0,0,M,M),j.fillStyle=f,LV?j.fill(new Path2D(k4(H,P))):R.forEach(function(W,J){W.forEach(function(X,Z){X&&j.fillRect(Z+P,J+P,1,1)})}),D&&(j.globalAlpha=D.opacity),V&&j.drawImage(k,D.x+P,D.y+P,D.w,D.h)}}),a.useEffect(function(){O(!1)},[S]);var L=K({height:i,width:i},C),T=null;return S!=null&&(T=z.createElement("img",{src:S,key:S,style:{display:"none"},onLoad:function(){O(!0)},ref:$,crossOrigin:D==null?void 0:D.crossOrigin})),z.createElement(z.Fragment,null,z.createElement("canvas",ve({style:L,height:i,width:i,ref:w,role:"img"},y)),T)});z4.displayName="QRCodeCanvas";var _V=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],B4=z.forwardRef(function(t,r){var n=t.value,o=t.size,i=o===void 0?M4:o,l=t.level,s=l===void 0?R4:l,c=t.bgColor,u=c===void 0?T4:c,d=t.fgColor,f=d===void 0?L4:d,m=t.includeMargin,g=m===void 0?D4:m,v=t.minVersion,h=v===void 0?_4:v,p=t.title,C=t.marginSize,b=t.imageSettings,y=ut(t,_V),S=H4({value:n,level:s,minVersion:h,includeMargin:g,marginSize:C,imageSettings:b,size:i}),x=S.margin,$=S.cells,w=S.numCells,I=S.calculatedImageSettings,E=$,O=null;b!=null&&I!=null&&(I.excavation!=null&&(E=j4($,I.excavation)),O=z.createElement("image",{href:b.src,height:I.h,width:I.w,x:I.x+x,y:I.y+x,preserveAspectRatio:"none",opacity:I.opacity,crossOrigin:I.crossOrigin}));var N=k4(E,x);return z.createElement("svg",ve({height:i,width:i,viewBox:"0 0 ".concat(w," ").concat(w),ref:r,role:"img"},y),!!p&&z.createElement("title",null,p),z.createElement("path",{fill:u,d:"M0,0 h".concat(w,"v").concat(w,"H0z"),shapeRendering:"crispEdges"}),z.createElement("path",{fill:f,d:N,shapeRendering:"crispEdges"}),O)});B4.displayName="QRCodeSVG";const kV=e=>{const{componentCls:t,lineWidth:r,lineType:n,colorSplit:o}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${B(r)} ${n} ${o}`,position:"relative",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}},jV=e=>({QRCodeMaskBackgroundColor:new Qt(e.colorBgContainer).setAlpha(.96).toRgbString()}),HV=Et("QRCode",e=>{const t=xt(e,{QRCodeTextColor:e.colorText});return kV(t)},jV);var zV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const BV=zV;var AV=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:BV}))},FV=a.forwardRef(AV);const VV=FV;var WV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const KV=WV;var qV=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:KV}))},GV=a.forwardRef(qV);const XV=GV;var UV={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};const YV=UV;var ZV=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:YV}))},QV=a.forwardRef(ZV);const JV=QV;var eW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};const tW=eW;var nW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:tW}))},rW=a.forwardRef(nW);const oW=rW;var aW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const iW=aW;var lW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:iW}))},sW=a.forwardRef(lW);const A4=sW;var cW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const uW=cW;var dW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:uW}))},fW=a.forwardRef(dW);const mW=fW;var gW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};const vW=gW;var pW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:vW}))},hW=a.forwardRef(pW);const CW=hW;var bW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const yW=bW;var SW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:yW}))},xW=a.forwardRef(SW);const $W=xW;var wW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const EW=wW;var IW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:EW}))},OW=a.forwardRef(IW);const F4=OW;var PW={icon:function(t,r){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:r}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"};const NW=PW;var MW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:NW}))},RW=a.forwardRef(MW);const TW=RW;var LW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const DW=LW;var _W=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:DW}))},kW=a.forwardRef(_W);const jW=kW;var HW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const zW=HW;var BW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:zW}))},AW=a.forwardRef(BW);const FW=AW;var VW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};const WW=VW;var KW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:WW}))},qW=a.forwardRef(KW);const GW=qW;var XW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};const UW=XW;var YW=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:UW}))},ZW=a.forwardRef(YW);const QW=ZW;var JW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const eK=JW;var tK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:eK}))},nK=a.forwardRef(tK);const rK=nK;var oK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const aK=oK;var iK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:aK}))},lK=a.forwardRef(iK);const sK=lK;var cK={icon:function(t,r){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:r}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:r}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:r}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"};const uK=cK;var dK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:uK}))},fK=a.forwardRef(dK);const mK=fK;var gK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const vK=gK;var pK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:vK}))},hK=a.forwardRef(pK);const CK=hK;var bK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const yK=bK;var SK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:yK}))},xK=a.forwardRef(SK);const $K=xK;var wK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const EK=wK;var IK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:EK}))},OK=a.forwardRef(IK);const PK=OK;var NK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};const MK=NK;var RK=function(t,r){return a.createElement(zt,ve({},t,{ref:r,icon:MK}))},TK=a.forwardRef(RK);const LK=TK,DK=z.createElement(jo,null);function _K(e){let{prefixCls:t,locale:r,onRefresh:n,statusRender:o,status:i}=e;const l=z.createElement(z.Fragment,null,z.createElement("p",{className:`${t}-expired`},r==null?void 0:r.expired),n&&z.createElement(hn,{type:"link",icon:z.createElement($K,null),onClick:n},r==null?void 0:r.refresh)),s=z.createElement("p",{className:`${t}-scanned`},r==null?void 0:r.scanned),c={expired:l,loading:DK,scanned:s},u=f=>c[f.status];return(o!=null?o:u)({status:i,locale:r})}var kK=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var t,r,n,o;const[,i]=zn(),{value:l,type:s="canvas",icon:c="",size:u=160,iconSize:d,color:f=i.colorText,errorLevel:m="M",status:g="active",bordered:v=!0,onRefresh:h,style:p,className:C,rootClassName:b,prefixCls:y,bgColor:S="transparent",statusRender:x}=e,$=kK(e,["value","type","icon","size","iconSize","color","errorLevel","status","bordered","onRefresh","style","className","rootClassName","prefixCls","bgColor","statusRender"]),{getPrefixCls:w}=a.useContext(ke),I=w("qrcode",y),[E,O,N]=HV(I),P={src:c,x:void 0,y:void 0,height:typeof d=="number"?d:(t=d==null?void 0:d.height)!==null&&t!==void 0?t:40,width:typeof d=="number"?d:(r=d==null?void 0:d.width)!==null&&r!==void 0?r:40,excavate:!0,crossOrigin:"anonymous"},R={value:l,size:u,level:m,bgColor:S,fgColor:f,style:{width:p==null?void 0:p.width,height:p==null?void 0:p.height},imageSettings:c?P:void 0},[M]=Ln("QRCode");if(!l)return null;const D=G(I,C,b,O,N,{[`${I}-borderless`]:!v}),L=Object.assign(Object.assign({backgroundColor:S},p),{width:(n=p==null?void 0:p.width)!==null&&n!==void 0?n:u,height:(o=p==null?void 0:p.height)!==null&&o!==void 0?o:u});return E(z.createElement("div",Object.assign({},$,{className:D,style:L}),g!=="active"&&z.createElement("div",{className:`${I}-mask`},z.createElement(_K,{prefixCls:I,locale:M,status:g,onRefresh:h,statusRender:x})),s==="canvas"?z.createElement(z4,Object.assign({},R)):z.createElement(B4,Object.assign({},R))))},HK=jK;function zK(e,t){var r=e.disabled,n=e.prefixCls,o=e.character,i=e.characterRender,l=e.index,s=e.count,c=e.value,u=e.allowHalf,d=e.focused,f=e.onHover,m=e.onClick,g=function(x){f(x,l)},v=function(x){m(x,l)},h=function(x){x.keyCode===we.ENTER&&m(x,l)},p=l+1,C=new Set([n]);c===0&&l===0&&d?C.add("".concat(n,"-focused")):u&&c+.5>=p&&cl?"true":"false","aria-posinset":l+1,"aria-setsize":s,tabIndex:r?-1:0},z.createElement("div",{className:"".concat(n,"-first")},b),z.createElement("div",{className:"".concat(n,"-second")},b)));return i&&(y=i(y,e)),y}const BK=z.forwardRef(zK);function AK(){var e=a.useRef({});function t(n){return e.current[n]}function r(n){return function(o){e.current[n]=o}}return[t,r]}function FK(e){var t=e.pageXOffset,r="scrollLeft";if(typeof t!="number"){var n=e.document;t=n.documentElement[r],typeof t!="number"&&(t=n.body[r])}return t}function VK(e){var t,r,n=e.ownerDocument,o=n.body,i=n&&n.documentElement,l=e.getBoundingClientRect();return t=l.left,r=l.top,t-=i.clientLeft||o.clientLeft||0,r-=i.clientTop||o.clientTop||0,{left:t,top:r}}function WK(e){var t=VK(e),r=e.ownerDocument,n=r.defaultView||r.parentWindow;return t.left+=FK(n),t.left}var KK=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function qK(e,t){var r=e.prefixCls,n=r===void 0?"rc-rate":r,o=e.className,i=e.defaultValue,l=e.value,s=e.count,c=s===void 0?5:s,u=e.allowHalf,d=u===void 0?!1:u,f=e.allowClear,m=f===void 0?!0:f,g=e.keyboard,v=g===void 0?!0:g,h=e.character,p=h===void 0?"★":h,C=e.characterRender,b=e.disabled,y=e.direction,S=y===void 0?"ltr":y,x=e.tabIndex,$=x===void 0?0:x,w=e.autoFocus,I=e.onHoverChange,E=e.onChange,O=e.onFocus,N=e.onBlur,P=e.onKeyDown,R=e.onMouseLeave,M=ut(e,KK),D=AK(),L=ie(D,2),T=L[0],_=L[1],j=z.useRef(null),H=function(){if(!b){var xe;(xe=j.current)===null||xe===void 0||xe.focus()}};z.useImperativeHandle(t,function(){return{focus:H,blur:function(){if(!b){var xe;(xe=j.current)===null||xe===void 0||xe.blur()}}}});var k=Ot(i||0,{value:l}),V=ie(k,2),F=V[0],q=V[1],W=Ot(null),J=ie(W,2),X=J[0],Z=J[1],ee=function(xe,Me){var Ee=S==="rtl",Te=xe+1;if(d){var Re=T(xe),Pe=WK(Re),me=Re.clientWidth;(Ee&&Me-Pe>me/2||!Ee&&Me-Pe0&&!Ee||Me===we.RIGHT&&F>0&&Ee?(ne(F-Te),xe.preventDefault()):Me===we.LEFT&&F{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${B(e.lineWidth)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},UK=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),YK=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),XK(e)),UK(e))}},ZK=e=>({starColor:e.yellow6,starSize:e.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:e.colorFillContent}),QK=Et("Rate",e=>{const t=xt(e,{});return[YK(t)]},ZK);var JK=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,rootClassName:o,style:i,tooltips:l,character:s=a.createElement(PK,null),disabled:c}=e,u=JK(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),d=(x,$)=>{let{index:w}=$;return l?a.createElement(Qn,{title:l[w]},x):x},{getPrefixCls:f,direction:m,rate:g}=a.useContext(ke),v=f("rate",r),[h,p,C]=QK(v),b=Object.assign(Object.assign({},g==null?void 0:g.style),i),y=a.useContext(Hn),S=c!=null?c:y;return h(a.createElement(GK,Object.assign({ref:t,character:s,characterRender:d,disabled:S},u,{className:G(n,o,p,C,g==null?void 0:g.className),style:b,prefixCls:v,direction:m})))}),tq=eq,nq=()=>a.createElement("svg",{width:"252",height:"294"},a.createElement("title",null,"No Found"),a.createElement("defs",null,a.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .012)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),a.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),a.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),a.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),a.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),a.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),a.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),a.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),a.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),a.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),a.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),a.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),a.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),a.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),a.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),a.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),a.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),a.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),a.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),a.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),a.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),a.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),a.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),a.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),a.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),a.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),a.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),a.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),a.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),a.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),a.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),a.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),a.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),a.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),a.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),rq=nq,oq=()=>a.createElement("svg",{width:"254",height:"294"},a.createElement("title",null,"Server Error"),a.createElement("defs",null,a.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),a.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .067)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),a.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),a.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),a.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),a.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),a.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),a.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),a.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),a.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),a.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),a.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),a.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),a.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),a.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),a.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),a.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),a.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),a.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),a.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),a.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),a.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),a.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),a.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),a.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),a.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),a.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),a.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),a.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),a.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),a.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),a.createElement("mask",{fill:"#fff"}),a.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),a.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),a.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),a.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),aq=oq,iq=e=>{const{componentCls:t,lineHeightHeading3:r,iconCls:n,padding:o,paddingXL:i,paddingXS:l,paddingLG:s,marginXS:c,lineHeight:u}=e;return{[t]:{padding:`${B(e.calc(s).mul(2).equal())} ${B(i)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:"center",[`& > ${n}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:r,marginBlock:c,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:u,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:s,padding:`${B(s)} ${B(e.calc(o).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:l,"&:last-child":{marginInlineEnd:0}}}}},lq=e=>{const{componentCls:t,iconCls:r}=e;return{[`${t}-success ${t}-icon > ${r}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${r}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${r}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${r}`]:{color:e.resultWarningIconColor}}},sq=e=>[iq(e),lq(e)],cq=e=>sq(e),uq=e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:e.fontSizeHeading3*3,extraMargin:`${e.paddingLG}px 0 0 0`}),dq=Et("Result",e=>{const t=e.colorInfo,r=e.colorError,n=e.colorSuccess,o=e.colorWarning,i=xt(e,{resultInfoIconColor:t,resultErrorIconColor:r,resultSuccessIconColor:n,resultWarningIconColor:o,imageWidth:250,imageHeight:295});return[cq(i)]},uq),fq=()=>a.createElement("svg",{width:"251",height:"294"},a.createElement("title",null,"Unauthorized"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),a.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),a.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),a.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),a.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),a.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),a.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),a.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),a.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),a.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),a.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),a.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),a.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),a.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),a.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),a.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),a.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),a.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),a.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),a.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),a.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),a.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),a.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),a.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),a.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),a.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),a.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),a.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),a.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),a.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),a.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),a.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),a.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),mq=fq,gq={success:ga,error:bo,info:Bo,warning:LK},Tl={404:rq,500:aq,403:mq},vq=Object.keys(Tl),pq=e=>{let{prefixCls:t,icon:r,status:n}=e;const o=G(`${t}-icon`);if(vq.includes(`${n}`)){const l=Tl[n];return a.createElement("div",{className:`${o} ${t}-image`},a.createElement(l,null))}const i=a.createElement(gq[n]);return r===null||r===!1?null:a.createElement("div",{className:o},r||i)},hq=e=>{let{prefixCls:t,extra:r}=e;return r?a.createElement("div",{className:`${t}-extra`},r):null},$a=e=>{let{prefixCls:t,className:r,rootClassName:n,subTitle:o,title:i,style:l,children:s,status:c="info",icon:u,extra:d}=e;const{getPrefixCls:f,direction:m,result:g}=a.useContext(ke),v=f("result",t),[h,p,C]=dq(v),b=G(v,`${v}-${c}`,r,g==null?void 0:g.className,n,{[`${v}-rtl`]:m==="rtl"},p,C),y=Object.assign(Object.assign({},g==null?void 0:g.style),l);return h(a.createElement("div",{className:b,style:y},a.createElement(pq,{prefixCls:v,status:c,icon:u}),a.createElement("div",{className:`${v}-title`},i),o&&a.createElement("div",{className:`${v}-subtitle`},o),a.createElement(hq,{prefixCls:v,extra:d}),s&&a.createElement("div",{className:`${v}-content`},s)))};$a.PRESENTED_IMAGE_403=Tl[403];$a.PRESENTED_IMAGE_404=Tl[404];$a.PRESENTED_IMAGE_500=Tl[500];const Cq=e=>{const{value:t,formatter:r,precision:n,decimalSeparator:o,groupSeparator:i="",prefixCls:l}=e;let s;if(typeof r=="function")s=r(t);else{const c=String(t),u=c.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u||c==="-")s=c;else{const d=u[1];let f=u[2]||"0",m=u[4]||"";f=f.replace(/\B(?=(\d{3})+(?!\d))/g,i),typeof n=="number"&&(m=m.padEnd(n,"0").slice(0,n>0?n:0)),m&&(m=`${o}${m}`),s=[a.createElement("span",{key:"int",className:`${l}-content-value-int`},d,f),m&&a.createElement("span",{key:"decimal",className:`${l}-content-value-decimal`},m)]}}return a.createElement("span",{className:`${l}-content-value`},s)},bq=Cq,yq=e=>{const{componentCls:t,marginXXS:r,padding:n,colorTextDescription:o,titleFontSize:i,colorTextHeading:l,contentFontSize:s,fontFamily:c}=e;return{[t]:Object.assign(Object.assign({},Pt(e)),{[`${t}-title`]:{marginBottom:r,color:o,fontSize:i},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:l,fontSize:s,fontFamily:c,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:r},[`${t}-content-suffix`]:{marginInlineStart:r}}})}},Sq=e=>{const{fontSizeHeading3:t,fontSize:r}=e;return{titleFontSize:r,contentFontSize:t}},xq=Et("Statistic",e=>{const t=xt(e,{});return[yq(t)]},Sq);var $q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,rootClassName:n,style:o,valueStyle:i,value:l=0,title:s,valueRender:c,prefix:u,suffix:d,loading:f=!1,formatter:m,precision:g,decimalSeparator:v=".",groupSeparator:h=",",onMouseEnter:p,onMouseLeave:C}=e,b=$q(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:y,direction:S,statistic:x}=a.useContext(ke),$=y("statistic",t),[w,I,E]=xq($),O=a.createElement(bq,{decimalSeparator:v,groupSeparator:h,prefixCls:$,formatter:m,precision:g,value:l}),N=G($,{[`${$}-rtl`]:S==="rtl"},x==null?void 0:x.className,r,n,I,E),P=en(b,{aria:!0,data:!0});return w(a.createElement("div",Object.assign({},P,{className:N,style:Object.assign(Object.assign({},x==null?void 0:x.style),o),onMouseEnter:p,onMouseLeave:C}),s&&a.createElement("div",{className:`${$}-title`},s),a.createElement(er,{paragraph:!1,loading:f,className:`${$}-skeleton`},a.createElement("div",{style:i,className:`${$}-content`},u&&a.createElement("span",{className:`${$}-content-prefix`},u),c?c(O):O,d&&a.createElement("span",{className:`${$}-content-suffix`},d)))))},wq=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function Eq(e,t){let r=e;const n=/\[[^\]]*]/g,o=(t.match(n)||[]).map(c=>c.slice(1,-1)),i=t.replace(n,"[]"),l=wq.reduce((c,u)=>{let[d,f]=u;if(c.includes(d)){const m=Math.floor(r/f);return r-=m*f,c.replace(new RegExp(`${d}+`,"g"),g=>{const v=g.length;return m.toString().padStart(v,"0")})}return c},i);let s=0;return l.replace(n,()=>{const c=o[s];return s+=1,c})}function Iq(e,t){const{format:r=""}=t,n=new Date(e).getTime(),o=Date.now(),i=Math.max(n-o,0);return Eq(i,r)}var Oq=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{value:t,format:r="HH:mm:ss",onChange:n,onFinish:o}=e,i=Oq(e,["value","format","onChange","onFinish"]),l=xc(),s=a.useRef(null),c=()=>{o==null||o(),s.current&&(clearInterval(s.current),s.current=null)},u=()=>{const m=Nq(t);m>=Date.now()&&(s.current=setInterval(()=>{l(),n==null||n(m-Date.now()),m(u(),()=>{s.current&&(clearInterval(s.current),s.current=null)}),[t]);const d=(m,g)=>Iq(m,Object.assign(Object.assign({},g),{format:r})),f=m=>cn(m,{title:void 0});return a.createElement(tu,Object.assign({},i,{value:t,valueRender:f,formatter:d}))},Rq=a.memo(Mq);tu.Countdown=Rq;var Tq=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function bp(e){return typeof e=="string"}function V4(e){var t,r=e.className,n=e.prefixCls,o=e.style,i=e.active,l=e.status,s=e.iconPrefix,c=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,f=e.description,m=e.title,g=e.subTitle,v=e.progressDot,h=e.stepIcon,p=e.tailContent,C=e.icons,b=e.stepIndex,y=e.onStepClick,S=e.onClick,x=e.render,$=ut(e,Tq),w=!!y&&!d,I={};w&&(I.role="button",I.tabIndex=0,I.onClick=function(M){S==null||S(M),y(b)},I.onKeyDown=function(M){var D=M.which;(D===we.ENTER||D===we.SPACE)&&y(b)});var E=function(){var D,L,T=G("".concat(n,"-icon"),"".concat(s,"icon"),(D={},A(D,"".concat(s,"icon-").concat(c),c&&bp(c)),A(D,"".concat(s,"icon-check"),!c&&l==="finish"&&(C&&!C.finish||!C)),A(D,"".concat(s,"icon-cross"),!c&&l==="error"&&(C&&!C.error||!C)),D)),_=a.createElement("span",{className:"".concat(n,"-icon-dot")});return v?typeof v=="function"?L=a.createElement("span",{className:"".concat(n,"-icon")},v(_,{index:u-1,status:l,title:m,description:f})):L=a.createElement("span",{className:"".concat(n,"-icon")},_):c&&!bp(c)?L=a.createElement("span",{className:"".concat(n,"-icon")},c):C&&C.finish&&l==="finish"?L=a.createElement("span",{className:"".concat(n,"-icon")},C.finish):C&&C.error&&l==="error"?L=a.createElement("span",{className:"".concat(n,"-icon")},C.error):c||l==="finish"||l==="error"?L=a.createElement("span",{className:T}):L=a.createElement("span",{className:"".concat(n,"-icon")},u),h&&(L=h({index:u-1,status:l,title:m,description:f,node:L})),L},O=l||"wait",N=G("".concat(n,"-item"),"".concat(n,"-item-").concat(O),r,(t={},A(t,"".concat(n,"-item-custom"),c),A(t,"".concat(n,"-item-active"),i),A(t,"".concat(n,"-item-disabled"),d===!0),t)),P=K({},o),R=a.createElement("div",ve({},$,{className:N,style:P}),a.createElement("div",ve({onClick:S},I,{className:"".concat(n,"-item-container")}),a.createElement("div",{className:"".concat(n,"-item-tail")},p),a.createElement("div",{className:"".concat(n,"-item-icon")},E()),a.createElement("div",{className:"".concat(n,"-item-content")},a.createElement("div",{className:"".concat(n,"-item-title")},m,g&&a.createElement("div",{title:typeof g=="string"?g:void 0,className:"".concat(n,"-item-subtitle")},g)),f&&a.createElement("div",{className:"".concat(n,"-item-description")},f))));return x&&(R=x(R)||null),R}var Lq=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function xm(e){var t,r=e.prefixCls,n=r===void 0?"rc-steps":r,o=e.style,i=o===void 0?{}:o,l=e.className;e.children;var s=e.direction,c=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,f=e.labelPlacement,m=f===void 0?"horizontal":f,g=e.iconPrefix,v=g===void 0?"rc":g,h=e.status,p=h===void 0?"process":h,C=e.size,b=e.current,y=b===void 0?0:b,S=e.progressDot,x=S===void 0?!1:S,$=e.stepIcon,w=e.initial,I=w===void 0?0:w,E=e.icons,O=e.onChange,N=e.itemRender,P=e.items,R=P===void 0?[]:P,M=ut(e,Lq),D=d==="navigation",L=d==="inline",T=L||x,_=L?"horizontal":c,j=L?void 0:C,H=T?"vertical":m,k=G(n,"".concat(n,"-").concat(_),l,(t={},A(t,"".concat(n,"-").concat(j),j),A(t,"".concat(n,"-label-").concat(H),_==="horizontal"),A(t,"".concat(n,"-dot"),!!T),A(t,"".concat(n,"-navigation"),D),A(t,"".concat(n,"-inline"),L),t)),V=function(W){O&&y!==W&&O(W)},F=function(W,J){var X=K({},W),Z=I+J;return p==="error"&&J===y-1&&(X.className="".concat(n,"-next-error")),X.status||(Z===y?X.status=p:Z{const{componentCls:t,customIconTop:r,customIconSize:n,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:r,width:n,height:n,fontSize:o,lineHeight:B(n)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},_q=e=>{const{componentCls:t}=e,r=`${t}-item`;return{[`${t}-horizontal`]:{[`${r}-tail`]:{transform:"translateY(-50%)"}}}},kq=e=>{const{componentCls:t,inlineDotSize:r,inlineTitleColor:n,inlineTailColor:o}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),l={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:n}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${B(i)} ${B(e.paddingXXS)} 0`,margin:`0 ${B(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:r,height:r,marginInlineStart:`calc(50% - ${B(e.calc(r).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:n,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(r).div(2).add(i).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${B(e.lineWidth)} ${e.lineType} ${o}`}},l),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${B(e.lineWidth)} ${e.lineType} ${o}`}},l),"&-error":l,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:r,height:r,marginInlineStart:`calc(50% - ${B(e.calc(r).div(2).equal())})`,top:0}},l),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:n}}}}}},jq=e=>{const{componentCls:t,iconSize:r,lineHeight:n,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(r).div(2).add(e.controlHeightLG).equal(),padding:`0 ${B(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(r).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:n}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(r).sub(o).div(2).add(e.controlHeightLG).equal()}}}}}},Hq=e=>{const{componentCls:t,navContentMaxWidth:r,navArrowColor:n,stepsNavActiveColor:o,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:r},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},Mn),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${B(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${B(e.lineWidth)} ${e.lineType} ${n}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${n}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${B(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},zq=e=>{const{antCls:t,componentCls:r,iconSize:n,iconSizeSM:o,processIconColor:i,marginXXS:l,lineWidthBold:s,lineWidth:c,paddingXXS:u}=e,d=e.calc(n).add(e.calc(s).mul(4).equal()).equal(),f=e.calc(o).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${r}-with-progress`]:{[`${r}-item`]:{paddingTop:u,[`&-process ${r}-item-container ${r}-item-icon ${r}-icon`]:{color:i}},[`&${r}-vertical > ${r}-item `]:{paddingInlineStart:u,[`> ${r}-item-container > ${r}-item-tail`]:{top:l,insetInlineStart:e.calc(n).div(2).sub(c).add(u).equal()}},[`&, &${r}-small`]:{[`&${r}-horizontal ${r}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${r}-small${r}-vertical > ${r}-item > ${r}-item-container > ${r}-item-tail`]:{insetInlineStart:e.calc(o).div(2).sub(c).add(u).equal()},[`&${r}-label-vertical ${r}-item ${r}-item-tail`]:{top:e.calc(n).div(2).add(u).equal()},[`${r}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${B(d)} !important`,height:`${B(d)} !important`}}},[`&${r}-small`]:{[`&${r}-label-vertical ${r}-item ${r}-item-tail`]:{top:e.calc(o).div(2).add(u).equal()},[`${r}-item-icon ${t}-progress-inner`]:{width:`${B(f)} !important`,height:`${B(f)} !important`}}}}},Bq=e=>{const{componentCls:t,descriptionMaxWidth:r,lineHeight:n,dotCurrentSize:o,dotSize:i,motionDurationSlow:l}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:n},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${B(e.calc(r).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${B(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:B(i),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${l}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:r},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(i).sub(o).div(2).equal(),width:o,height:o,lineHeight:B(o),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:e.calc(i).sub(o).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:`${B(e.calc(i).add(e.paddingXS).equal())} 0 ${B(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(i).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},Aq=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},Fq=e=>{const{componentCls:t,iconSizeSM:r,fontSizeSM:n,fontSize:o,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:r,height:r,marginTop:0,marginBottom:0,marginInline:`0 ${B(e.marginXS)}`,fontSize:n,lineHeight:B(r),textAlign:"center",borderRadius:r},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:B(r),"&::after":{top:e.calc(r).div(2).equal()}},[`${t}-item-description`]:{color:i,fontSize:o},[`${t}-item-tail`]:{top:e.calc(r).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:r,lineHeight:B(r),transform:"none"}}}}},Vq=e=>{const{componentCls:t,iconSizeSM:r,iconSize:n}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:B(n)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${B(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${B(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),padding:`${B(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${B(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:B(r)}}}}},Wq="wait",Kq="process",qq="finish",Gq="error",is=(e,t)=>{const r=`${t.componentCls}-item`,n=`${e}IconColor`,o=`${e}TitleColor`,i=`${e}DescriptionColor`,l=`${e}TailColor`,s=`${e}IconBgColor`,c=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${r}-${e} ${r}-icon`]:{backgroundColor:t[s],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[n],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${r}-${e}${r}-custom ${r}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${r}-${e} > ${r}-container > ${r}-content > ${r}-title`]:{color:t[o],"&::after":{backgroundColor:t[l]}},[`${r}-${e} > ${r}-container > ${r}-content > ${r}-description`]:{color:t[i]},[`${r}-${e} > ${r}-container > ${r}-tail::after`]:{backgroundColor:t[l]}}},Xq=e=>{const{componentCls:t,motionDurationSlow:r}=e,n=`${t}-item`,o=`${n}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${n}-container > ${n}-tail, > ${n}-container > ${n}-content > ${n}-title::after`]:{display:"none"}}},[`${n}-container`]:{outline:"none","&:focus-visible":{[o]:Object.assign({},_o(e))}},[`${o}, ${n}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:B(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${B(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${r}, border-color ${r}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${n}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${r}`,content:'""'}},[`${n}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:B(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${n}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${n}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},is(Wq,e)),is(Kq,e)),{[`${n}-process > ${n}-container > ${n}-title`]:{fontWeight:e.fontWeightStrong}}),is(qq,e)),is(Gq,e)),{[`${n}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${n}-disabled`]:{cursor:"not-allowed"}})},Uq=e=>{const{componentCls:t,motionDurationSlow:r}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${r}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},Yq=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Xq(e)),Uq(e)),Dq(e)),Fq(e)),Vq(e)),_q(e)),jq(e)),Bq(e)),Hq(e)),Aq(e)),zq(e)),kq(e))}},Zq=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),Qq=Et("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:r,colorTextLightSolid:n,colorText:o,colorPrimary:i,colorTextDescription:l,colorTextQuaternary:s,colorError:c,colorBorderSecondary:u,colorSplit:d}=e,f=xt(e,{processIconColor:n,processTitleColor:o,processDescriptionColor:o,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:d,waitTitleColor:l,waitDescriptionColor:l,waitTailColor:d,waitDotColor:t,finishIconColor:i,finishTitleColor:o,finishDescriptionColor:l,finishTailColor:i,finishDotColor:i,errorIconColor:n,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:i,stepsProgressSize:r,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[Yq(f)]},Zq);function Jq(e){return e.filter(t=>t)}function eG(e,t){if(e)return e;const r=sn(t).map(n=>{if(a.isValidElement(n)){const{props:o}=n;return Object.assign({},o)}return null});return Jq(r)}var tG=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{percent:t,size:r,className:n,rootClassName:o,direction:i,items:l,responsive:s=!0,current:c=0,children:u,style:d}=e,f=tG(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:m}=di(s),{getPrefixCls:g,direction:v,steps:h}=a.useContext(ke),p=a.useMemo(()=>s&&m?"vertical":i,[m,i]),C=un(r),b=g("steps",e.prefixCls),[y,S,x]=Qq(b),$=e.type==="inline",w=g("",e.iconPrefix),I=eG(l,u),E=$?void 0:t,O=Object.assign(Object.assign({},h==null?void 0:h.style),d),N=G(h==null?void 0:h.className,{[`${b}-rtl`]:v==="rtl",[`${b}-with-progress`]:E!==void 0},n,o,S,x),P={finish:a.createElement(Cc,{className:`${b}-finish-icon`}),error:a.createElement(mr,{className:`${b}-error-icon`})},R=D=>{let{node:L,status:T}=D;if(T==="process"&&E!==void 0){const _=C==="small"?32:40;return a.createElement("div",{className:`${b}-progress-icon`},a.createElement(Sm,{type:"circle",percent:E,size:_,strokeWidth:4,format:()=>null}),L)}return L},M=(D,L)=>D.description?a.createElement(Qn,{title:D.description},L):L;return y(a.createElement(xm,Object.assign({icons:P},f,{style:O,current:c,size:C,items:I,itemRender:$?M:void 0,stepIcon:R,direction:p,prefixCls:b,iconPrefix:w,className:N})))};W4.Step=xm.Step;const nG=W4;var rG=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],K4=a.forwardRef(function(e,t){var r,n=e.prefixCls,o=n===void 0?"rc-switch":n,i=e.className,l=e.checked,s=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,f=e.unCheckedChildren,m=e.onClick,g=e.onChange,v=e.onKeyDown,h=ut(e,rG),p=Ot(!1,{value:l,defaultValue:s}),C=ie(p,2),b=C[0],y=C[1];function S(I,E){var O=b;return c||(O=I,y(O),g==null||g(O,E)),O}function x(I){I.which===we.LEFT?S(!1,I):I.which===we.RIGHT&&S(!0,I),v==null||v(I)}function $(I){var E=S(!b,I);m==null||m(E,I)}var w=G(o,i,(r={},A(r,"".concat(o,"-checked"),b),A(r,"".concat(o,"-disabled"),c),r));return a.createElement("button",ve({},h,{type:"button",role:"switch","aria-checked":b,disabled:c,className:w,ref:t,onKeyDown:x,onClick:$}),u,a.createElement("span",{className:"".concat(o,"-inner")},a.createElement("span",{className:"".concat(o,"-inner-checked")},d),a.createElement("span",{className:"".concat(o,"-inner-unchecked")},f)))});K4.displayName="Switch";const oG=e=>{const{componentCls:t,trackHeightSM:r,trackPadding:n,trackMinWidthSM:o,innerMinMarginSM:i,innerMaxMarginSM:l,handleSizeSM:s,calc:c}=e,u=`${t}-inner`,d=B(c(s).add(c(n).mul(2)).equal()),f=B(c(l).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:r,lineHeight:B(r),[`${t}-inner`]:{paddingInlineStart:l,paddingInlineEnd:i,[`${u}-checked, ${u}-unchecked`]:{minHeight:r},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${f})`,marginInlineEnd:`calc(100% - ${d} + ${f})`},[`${u}-unchecked`]:{marginTop:c(r).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:l,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${f})`,marginInlineEnd:`calc(-100% + ${d} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${B(c(s).add(n).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},aG=e=>{const{componentCls:t,handleSize:r,calc:n}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:n(n(r).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},iG=e=>{const{componentCls:t,trackPadding:r,handleBg:n,handleShadow:o,handleSize:i,calc:l}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:r,insetInlineStart:r,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:n,borderRadius:l(i).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${B(l(i).add(r).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},lG=e=>{const{componentCls:t,trackHeight:r,trackPadding:n,innerMinMargin:o,innerMaxMargin:i,handleSize:l,calc:s}=e,c=`${t}-inner`,u=B(s(l).add(s(n).mul(2)).equal()),d=B(s(i).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:r},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:s(r).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(n).mul(2).equal(),marginInlineEnd:s(n).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(n).mul(-1).mul(2).equal(),marginInlineEnd:s(n).mul(2).equal()}}}}}},sG=e=>{const{componentCls:t,trackHeight:r,trackMinWidth:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Pt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:n,height:r,lineHeight:B(r),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),wr(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},cG=e=>{const{fontSize:t,lineHeight:r,controlHeight:n,colorWhite:o}=e,i=t*r,l=n/2,s=2,c=i-s*2,u=l-s*2;return{trackHeight:i,trackHeightSM:l,trackMinWidth:c*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:o,handleSize:c,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new Qt("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},uG=Et("Switch",e=>{const t=xt(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[sG(t),lG(t),iG(t),aG(t),oG(t)]},cG);var dG=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,size:n,disabled:o,loading:i,className:l,rootClassName:s,style:c,checked:u,value:d,defaultChecked:f,defaultValue:m,onChange:g}=e,v=dG(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[h,p]=Ot(!1,{value:u!=null?u:d,defaultValue:f!=null?f:m}),{getPrefixCls:C,direction:b,switch:y}=a.useContext(ke),S=a.useContext(Hn),x=(o!=null?o:S)||i,$=C("switch",r),w=a.createElement("div",{className:`${$}-handle`},i&&a.createElement(Lr,{className:`${$}-loading-icon`})),[I,E,O]=uG($),N=un(n),P=G(y==null?void 0:y.className,{[`${$}-small`]:N==="small",[`${$}-loading`]:i,[`${$}-rtl`]:b==="rtl"},l,s,E,O),R=Object.assign(Object.assign({},y==null?void 0:y.style),c),M=function(){p(arguments.length<=0?void 0:arguments[0]),g==null||g.apply(void 0,arguments)};return I(a.createElement(ul,{component:"Switch"},a.createElement(K4,Object.assign({},v,{checked:h,onChange:M,prefixCls:$,className:P,style:R,disabled:x,ref:t,loadingIcon:w}))))}),q4=fG;q4.__ANT_SWITCH=!0;const mG=q4;var Mo={},Ll="rc-table-internal-hook";function $m(e){var t=a.createContext(void 0),r=function(o){var i=o.value,l=o.children,s=a.useRef(i);s.current=i;var c=a.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=ie(c,1),d=u[0];return _t(function(){Qr.unstable_batchedUpdates(function(){d.listeners.forEach(function(f){f(i)})})},[i]),a.createElement(t.Provider,{value:d},l)};return{Context:t,Provider:r,defaultValue:e}}function Un(e,t){var r=$t(typeof t=="function"?t:function(f){if(t===void 0)return f;if(!Array.isArray(t))return f[t];var m={};return t.forEach(function(g){m[g]=f[g]}),m}),n=a.useContext(e==null?void 0:e.Context),o=n||{},i=o.listeners,l=o.getValue,s=a.useRef();s.current=r(n?l():e==null?void 0:e.defaultValue);var c=a.useState({}),u=ie(c,2),d=u[1];return _t(function(){if(!n)return;function f(m){var g=r(m);Rr(s.current,g,!0)||d({})}return i.add(f),function(){i.delete(f)}},[n]),s.current}function gG(){var e=a.createContext(null);function t(){return a.useContext(e)}function r(o,i){var l=fo(o),s=function(u,d){var f=l?{ref:d}:{},m=a.useRef(0),g=a.useRef(u),v=t();return v!==null?a.createElement(o,ve({},u,f)):((!i||i(g.current,u))&&(m.current+=1),g.current=u,a.createElement(e.Provider,{value:m.current},a.createElement(o,ve({},u,f))))};return l?a.forwardRef(s):s}function n(o,i){var l=fo(o),s=function(u,d){var f=l?{ref:d}:{};return t(),a.createElement(o,ve({},u,f))};return l?a.memo(a.forwardRef(s),i):a.memo(s,i)}return{makeImmutable:r,responseImmutable:n,useImmutableMark:t}}var wm=gG(),G4=wm.makeImmutable,yi=wm.responseImmutable,vG=wm.useImmutableMark,ir=$m(),X4=a.createContext({renderWithProps:!1}),pG="RC_TABLE_KEY";function hG(e){return e==null?[]:Array.isArray(e)?e:[e]}function nu(e){var t=[],r={};return e.forEach(function(n){for(var o=n||{},i=o.key,l=o.dataIndex,s=i||hG(l).join("-")||pG;r[s];)s="".concat(s,"_next");r[s]=!0,t.push(s)}),t}function Of(e){return e!=null}function CG(e){return e&&bt(e)==="object"&&!Array.isArray(e)&&!a.isValidElement(e)}function bG(e,t,r,n,o,i){var l=a.useContext(X4),s=vG(),c=sl(function(){if(Of(n))return[n];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=Xr(e,u),f=d,m=void 0;if(o){var g=o(d,e,r);CG(g)?(f=g.children,m=g.props,l.renderWithProps=!0):f=g}return[f,m]},[s,e,n,t,o,r],function(u,d){if(i){var f=ie(u,2),m=f[1],g=ie(d,2),v=g[1];return i(v,m)}return l.renderWithProps?!0:!Rr(u,d,!0)});return c}function yG(e,t,r,n){var o=e+t-1;return e<=n&&o>=r}function SG(e,t){return Un(ir,function(r){var n=yG(e,t||1,r.hoverStartRow,r.hoverEndRow);return[n,r.onHover]})}var xG=function(t){var r=t.ellipsis,n=t.rowType,o=t.children,i,l=r===!0?{showTitle:!0}:r;return l&&(l.showTitle||n==="header")&&(typeof o=="string"||typeof o=="number"?i=o.toString():a.isValidElement(o)&&typeof o.props.children=="string"&&(i=o.props.children)),i};function $G(e){var t,r,n,o,i,l,s,c,u=e.component,d=e.children,f=e.ellipsis,m=e.scope,g=e.prefixCls,v=e.className,h=e.align,p=e.record,C=e.render,b=e.dataIndex,y=e.renderIndex,S=e.shouldCellUpdate,x=e.index,$=e.rowType,w=e.colSpan,I=e.rowSpan,E=e.fixLeft,O=e.fixRight,N=e.firstFixLeft,P=e.lastFixLeft,R=e.firstFixRight,M=e.lastFixRight,D=e.appendNode,L=e.additionalProps,T=L===void 0?{}:L,_=e.isSticky,j="".concat(g,"-cell"),H=Un(ir,["supportSticky","allColumnsFixedLeft","rowHoverable"]),k=H.supportSticky,V=H.allColumnsFixedLeft,F=H.rowHoverable,q=bG(p,b,y,d,C,S),W=ie(q,2),J=W[0],X=W[1],Z={},ee=typeof E=="number"&&k,ne=typeof O=="number"&&k;ee&&(Z.position="sticky",Z.left=E),ne&&(Z.position="sticky",Z.right=O);var Y=(t=(r=(n=X==null?void 0:X.colSpan)!==null&&n!==void 0?n:T.colSpan)!==null&&r!==void 0?r:w)!==null&&t!==void 0?t:1,te=(o=(i=(l=X==null?void 0:X.rowSpan)!==null&&l!==void 0?l:T.rowSpan)!==null&&i!==void 0?i:I)!==null&&o!==void 0?o:1,Q=SG(x,te),U=ie(Q,2),ae=U[0],se=U[1],oe=$t(function(he){var Se;p&&se(x,x+te-1),T==null||(Se=T.onMouseEnter)===null||Se===void 0||Se.call(T,he)}),re=$t(function(he){var Se;p&&se(-1,-1),T==null||(Se=T.onMouseLeave)===null||Se===void 0||Se.call(T,he)});if(Y===0||te===0)return null;var ce=(s=T.title)!==null&&s!==void 0?s:xG({rowType:$,ellipsis:f,children:J}),ue=G(j,v,(c={},A(c,"".concat(j,"-fix-left"),ee&&k),A(c,"".concat(j,"-fix-left-first"),N&&k),A(c,"".concat(j,"-fix-left-last"),P&&k),A(c,"".concat(j,"-fix-left-all"),P&&V&&k),A(c,"".concat(j,"-fix-right"),ne&&k),A(c,"".concat(j,"-fix-right-first"),R&&k),A(c,"".concat(j,"-fix-right-last"),M&&k),A(c,"".concat(j,"-ellipsis"),f),A(c,"".concat(j,"-with-append"),D),A(c,"".concat(j,"-fix-sticky"),(ee||ne)&&_&&k),A(c,"".concat(j,"-row-hover"),!X&&ae),c),T.className,X==null?void 0:X.className),fe={};h&&(fe.textAlign=h);var be=K(K(K(K({},Z),T.style),fe),X==null?void 0:X.style),de=J;return bt(de)==="object"&&!Array.isArray(de)&&!a.isValidElement(de)&&(de=null),f&&(P||R)&&(de=a.createElement("span",{className:"".concat(j,"-content")},de)),a.createElement(u,ve({},X,T,{className:ue,style:be,title:ce,scope:m,onMouseEnter:F?oe:void 0,onMouseLeave:F?re:void 0,colSpan:Y!==1?Y:null,rowSpan:te!==1?te:null}),D,de)}const wa=a.memo($G);function Em(e,t,r,n,o){var i=r[e]||{},l=r[t]||{},s,c;i.fixed==="left"?s=n.left[o==="rtl"?t:e]:l.fixed==="right"&&(c=n.right[o==="rtl"?e:t]);var u=!1,d=!1,f=!1,m=!1,g=r[t+1],v=r[e-1],h=g&&!g.fixed||v&&!v.fixed||r.every(function(S){return S.fixed==="left"});if(o==="rtl"){if(s!==void 0){var p=v&&v.fixed==="left";m=!p&&h}else if(c!==void 0){var C=g&&g.fixed==="right";f=!C&&h}}else if(s!==void 0){var b=g&&g.fixed==="left";u=!b&&h}else if(c!==void 0){var y=v&&v.fixed==="right";d=!y&&h}return{fixLeft:s,fixRight:c,lastFixLeft:u,firstFixRight:d,lastFixRight:f,firstFixLeft:m,isSticky:n.isSticky}}var U4=a.createContext({});function wG(e){var t=e.className,r=e.index,n=e.children,o=e.colSpan,i=o===void 0?1:o,l=e.rowSpan,s=e.align,c=Un(ir,["prefixCls","direction"]),u=c.prefixCls,d=c.direction,f=a.useContext(U4),m=f.scrollColumnIndex,g=f.stickyOffsets,v=f.flattenColumns,h=r+i-1,p=h+1===m?i+1:i,C=Em(r,r+p-1,v,g,d);return a.createElement(wa,ve({className:t,index:r,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:p,rowSpan:l,render:function(){return n}},C))}var EG=["children"];function IG(e){var t=e.children,r=ut(e,EG);return a.createElement("tr",r,t)}function ru(e){var t=e.children;return t}ru.Row=IG;ru.Cell=wG;function OG(e){var t=e.children,r=e.stickyOffsets,n=e.flattenColumns,o=Un(ir,"prefixCls"),i=n.length-1,l=n[i],s=a.useMemo(function(){return{stickyOffsets:r,flattenColumns:n,scrollColumnIndex:l!=null&&l.scrollbar?i:null}},[l,n,i,r]);return a.createElement(U4.Provider,{value:s},a.createElement("tfoot",{className:"".concat(o,"-summary")},t))}const ls=yi(OG);var Y4=ru;function PG(e){return null}function NG(e){return null}function Z4(e,t,r,n,o,i,l){e.push({record:t,indent:r,index:l});var s=i(t),c=o==null?void 0:o.has(s);if(t&&Array.isArray(t[n])&&c)for(var u=0;u1?N-1:0),R=1;R=1?x:""),style:K(K({},r),C==null?void 0:C.style)}),v.map(function(E,O){var N=E.render,P=E.dataIndex,R=E.className,M=t6(m,E,O,c,o),D=M.key,L=M.fixedInfo,T=M.appendCellNode,_=M.additionalCellProps;return a.createElement(wa,ve({className:R,ellipsis:E.ellipsis,align:E.align,scope:E.rowScope,component:E.rowScope?f:d,prefixCls:g,key:D,record:n,index:o,renderIndex:i,dataIndex:P,render:N,shouldCellUpdate:E.shouldCellUpdate},L,{appendNode:T,additionalProps:_}))})),w;if(y&&(S.current||b)){var I=p(n,o,c+1,b);w=a.createElement(e6,{expanded:b,className:G("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(c+1),x),prefixCls:g,component:u,cellComponent:d,colSpan:v.length,isEmpty:!1},I)}return a.createElement(a.Fragment,null,$,w)}const RG=yi(MG);function TG(e){var t=e.columnKey,r=e.onColumnResize,n=a.useRef();return a.useEffect(function(){n.current&&r(t,n.current.offsetWidth)},[]),a.createElement(Nn,{data:t},a.createElement("td",{ref:n,style:{padding:0,border:0,height:0}},a.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function LG(e){var t=e.prefixCls,r=e.columnsKey,n=e.onColumnResize;return a.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},a.createElement(Nn.Collection,{onBatchResize:function(i){i.forEach(function(l){var s=l.data,c=l.size;n(s,c.offsetWidth)})}},r.map(function(o){return a.createElement(TG,{key:o,columnKey:o,onColumnResize:n})})))}function DG(e){var t=e.data,r=e.measureColumnWidth,n=Un(ir,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),o=n.prefixCls,i=n.getComponent,l=n.onColumnResize,s=n.flattenColumns,c=n.getRowKey,u=n.expandedKeys,d=n.childrenColumnName,f=n.emptyNode,m=Q4(t,d,u,c),g=a.useRef({renderWithProps:!1}),v=i(["body","wrapper"],"tbody"),h=i(["body","row"],"tr"),p=i(["body","cell"],"td"),C=i(["body","cell"],"th"),b;t.length?b=m.map(function(S,x){var $=S.record,w=S.indent,I=S.index,E=c($,x);return a.createElement(RG,{key:E,rowKey:E,record:$,index:x,renderIndex:I,rowComponent:h,cellComponent:p,scopeCellComponent:C,getRowKey:c,indent:w})}):b=a.createElement(e6,{expanded:!0,className:"".concat(o,"-placeholder"),prefixCls:o,component:h,cellComponent:p,colSpan:s.length,isEmpty:!0},f);var y=nu(s);return a.createElement(X4.Provider,{value:g.current},a.createElement(v,{className:"".concat(o,"-tbody")},r&&a.createElement(LG,{prefixCls:o,columnsKey:y,onColumnResize:l}),b))}const _G=yi(DG);var kG=["expandable"],Zi="RC_TABLE_INTERNAL_COL_DEFINE";function jG(e){var t=e.expandable,r=ut(e,kG),n;return"expandable"in e?n=K(K({},r),t):n=r,n.showExpandColumn===!1&&(n.expandIconColumnIndex=-1),n}var HG=["columnType"];function n6(e){for(var t=e.colWidths,r=e.columns,n=e.columCount,o=[],i=n||r.length,l=!1,s=i-1;s>=0;s-=1){var c=t[s],u=r&&r[s],d=u&&u[Zi];if(c||d||l){var f=d||{};f.columnType;var m=ut(f,HG);o.unshift(a.createElement("col",ve({key:s,style:{width:c}},m))),l=!0}}return a.createElement("colgroup",null,o)}var zG=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function BG(e,t){return a.useMemo(function(){for(var r=[],n=0;n1?"colgroup":"col":null,ellipsis:p.ellipsis,align:p.align,component:l,prefixCls:d,key:g[h]},C,{additionalProps:b,rowType:"header"}))}))};function VG(e){var t=[];function r(l,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[c]=t[c]||[];var u=s,d=l.filter(Boolean).map(function(f){var m={key:f.key,className:f.className||"",children:f.title,column:f,colStart:u},g=1,v=f.children;return v&&v.length>0&&(g=r(v,u,c+1).reduce(function(h,p){return h+p},0),m.hasSubColumns=!0),"colSpan"in f&&(g=f.colSpan),"rowSpan"in f&&(m.rowSpan=f.rowSpan),m.colSpan=g,m.colEnd=m.colStart+g-1,t[c].push(m),u+=g,g});return d}r(e,0);for(var n=t.length,o=function(s){t[s].forEach(function(c){!("rowSpan"in c)&&!c.hasSubColumns&&(c.rowSpan=n-s)})},i=0;i1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function KG(e,t,r){return a.useMemo(function(){if(t&&t>0){var n=0,o=0;e.forEach(function(m){var g=xp(t,m.width);g?n+=g:o+=1});var i=Math.max(t,r),l=Math.max(i-n,o),s=o,c=l/o,u=0,d=e.map(function(m){var g=K({},m),v=xp(t,g.width);if(v)g.width=v;else{var h=Math.floor(c);g.width=s===1?l:h,l-=h,s-=1}return u+=g.width,g});if(u0?K(K({},t),{},{children:r6(r)}):t})}function Pf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(r){return r&&bt(r)==="object"}).reduce(function(r,n,o){var i=n.fixed,l=i===!0?"left":i,s="".concat(t,"-").concat(o),c=n.children;return c&&c.length>0?[].concat(ye(r),ye(Pf(c,s).map(function(u){return K({fixed:l},u)}))):[].concat(ye(r),[K(K({key:s},n),{},{fixed:l})])},[])}function XG(e){return e.map(function(t){var r=t.fixed,n=ut(t,GG),o=r;return r==="left"?o="right":r==="right"&&(o="left"),K({fixed:o},n)})}function UG(e,t){var r=e.prefixCls,n=e.columns,o=e.children,i=e.expandable,l=e.expandedKeys,s=e.columnTitle,c=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,f=e.rowExpandable,m=e.expandIconColumnIndex,g=e.direction,v=e.expandRowByClick,h=e.columnWidth,p=e.fixed,C=e.scrollWidth,b=e.clientWidth,y=a.useMemo(function(){var P=n||Im(o)||[];return r6(P.slice())},[n,o]),S=a.useMemo(function(){if(i){var P,R=y.slice();if(!R.includes(Mo)){var M=m||0;M>=0&&R.splice(M,0,Mo)}var D=R.indexOf(Mo);R=R.filter(function(j,H){return j!==Mo||H===D});var L=y[D],T;(p==="left"||p)&&!m?T="left":(p==="right"||p)&&m===y.length?T="right":T=L?L.fixed:null;var _=(P={},A(P,Zi,{className:"".concat(r,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),A(P,"title",s),A(P,"fixed",T),A(P,"className","".concat(r,"-row-expand-icon-cell")),A(P,"width",h),A(P,"render",function(H,k,V){var F=c(k,V),q=l.has(F),W=f?f(k):!0,J=d({prefixCls:r,expanded:q,expandable:W,record:k,onExpand:u});return v?a.createElement("span",{onClick:function(Z){return Z.stopPropagation()}},J):J}),P);return R.map(function(j){return j===Mo?_:j})}return y.filter(function(j){return j!==Mo})},[i,y,c,l,d,g]),x=a.useMemo(function(){var P=S;return t&&(P=t(P)),P.length||(P=[{render:function(){return null}}]),P},[t,S,g]),$=a.useMemo(function(){return g==="rtl"?XG(Pf(x)):Pf(x)},[x,g,C]),w=a.useMemo(function(){for(var P=-1,R=$.length-1;R>=0;R-=1){var M=$[R].fixed;if(M==="left"||M===!0){P=R;break}}if(P>=0)for(var D=0;D<=P;D+=1){var L=$[D].fixed;if(L!=="left"&&L!==!0)return!0}var T=$.findIndex(function(H){var k=H.fixed;return k==="right"});if(T>=0)for(var _=T;_<$.length;_+=1){var j=$[_].fixed;if(j!=="right")return!0}return!1},[$]),I=KG($,C,b),E=ie(I,2),O=E[0],N=E[1];return[x,O,N,w]}function YG(e){var t,r=e.prefixCls,n=e.record,o=e.onExpand,i=e.expanded,l=e.expandable,s="".concat(r,"-row-expand-icon");if(!l)return a.createElement("span",{className:G(s,"".concat(r,"-row-spaced"))});var c=function(d){o(n,d),d.stopPropagation()};return a.createElement("span",{className:G(s,(t={},A(t,"".concat(r,"-row-expanded"),i),A(t,"".concat(r,"-row-collapsed"),!i),t)),onClick:c})}function ZG(e,t,r){var n=[];function o(i){(i||[]).forEach(function(l,s){n.push(t(l,s)),o(l[r])})}return o(e),n}function QG(e,t,r){var n=jG(e),o=n.expandIcon,i=n.expandedRowKeys,l=n.defaultExpandedRowKeys,s=n.defaultExpandAllRows,c=n.expandedRowRender,u=n.onExpand,d=n.onExpandedRowsChange,f=n.childrenColumnName,m=o||YG,g=f||"children",v=a.useMemo(function(){return c?"row":e.expandable&&e.internalHooks===Ll&&e.expandable.__PARENT_RENDER_ICON__||t.some(function(x){return x&&bt(x)==="object"&&x[g]})?"nest":!1},[!!c,t]),h=a.useState(function(){return l||(s?ZG(t,r,g):[])}),p=ie(h,2),C=p[0],b=p[1],y=a.useMemo(function(){return new Set(i||C||[])},[i,C]),S=a.useCallback(function(x){var $=r(x,t.indexOf(x)),w,I=y.has($);I?(y.delete($),w=ye(y)):w=[].concat(ye(y),[$]),b(w),u&&u(!I,x),d&&d(w)},[r,y,t,u,d]);return[n,v,y,m,g,S]}function JG(e,t,r){var n=e.map(function(o,i){return Em(i,i,e,t,r)});return sl(function(){return n},[n],function(o,i){return!Rr(o,i)})}function o6(e){var t=a.useRef(e),r=a.useState({}),n=ie(r,2),o=n[1],i=a.useRef(null),l=a.useRef([]);function s(c){l.current.push(c);var u=Promise.resolve();i.current=u,u.then(function(){if(i.current===u){var d=l.current,f=t.current;l.current=[],d.forEach(function(m){t.current=m(t.current)}),i.current=null,f!==t.current&&o({})}})}return a.useEffect(function(){return function(){i.current=null}},[]),[t.current,s]}function eX(e){var t=a.useRef(e||null),r=a.useRef();function n(){window.clearTimeout(r.current)}function o(l){t.current=l,n(),r.current=window.setTimeout(function(){t.current=null,r.current=void 0},100)}function i(){return t.current}return a.useEffect(function(){return n},[]),[o,i]}function tX(){var e=a.useState(-1),t=ie(e,2),r=t[0],n=t[1],o=a.useState(-1),i=ie(o,2),l=i[0],s=i[1],c=a.useCallback(function(u,d){n(u),s(d)},[]);return[r,l,c]}var $p=Zr()?window:null;function nX(e,t){var r=bt(e)==="object"?e:{},n=r.offsetHeader,o=n===void 0?0:n,i=r.offsetSummary,l=i===void 0?0:i,s=r.offsetScroll,c=s===void 0?0:s,u=r.getContainer,d=u===void 0?function(){return $p}:u,f=d()||$p;return a.useMemo(function(){var m=!!e;return{isSticky:m,stickyClassName:m?"".concat(t,"-sticky-holder"):"",offsetHeader:o,offsetSummary:l,offsetScroll:c,container:f}},[c,o,l,t,f])}function rX(e,t,r){var n=a.useMemo(function(){var o=t.length,i=function(u,d,f){for(var m=[],g=0,v=u;v!==d;v+=f)m.push(g),t[v].fixed&&(g+=e[v]||0);return m},l=i(0,o,1),s=i(o-1,-1,-1).reverse();return r==="rtl"?{left:s,right:l}:{left:l,right:s}},[e,t,r]);return n}function wp(e){var t=e.className,r=e.children;return a.createElement("div",{className:t},r)}var oX=function(t,r){var n,o,i=t.scrollBodyRef,l=t.onScroll,s=t.offsetScroll,c=t.container,u=Un(ir,"prefixCls"),d=((n=i.current)===null||n===void 0?void 0:n.scrollWidth)||0,f=((o=i.current)===null||o===void 0?void 0:o.clientWidth)||0,m=d&&f*(f/d),g=a.useRef(),v=o6({scrollLeft:0,isHiddenScrollBar:!1}),h=ie(v,2),p=h[0],C=h[1],b=a.useRef({delta:0,x:0}),y=a.useState(!1),S=ie(y,2),x=S[0],$=S[1],w=a.useRef(null);a.useEffect(function(){return function(){kt.cancel(w.current)}},[]);var I=function(){$(!1)},E=function(M){M.persist(),b.current.delta=M.pageX-p.scrollLeft,b.current.x=0,$(!0),M.preventDefault()},O=function(M){var D,L=M||((D=window)===null||D===void 0?void 0:D.event),T=L.buttons;if(!x||T===0){x&&$(!1);return}var _=b.current.x+M.pageX-b.current.x-b.current.delta;_<=0&&(_=0),_+m>=f&&(_=f-m),l({scrollLeft:_/f*(d+2)}),b.current.x=M.pageX},N=function(){w.current=kt(function(){if(i.current){var M=wf(i.current).top,D=M+i.current.offsetHeight,L=c===window?document.documentElement.scrollTop+window.innerHeight:wf(c).top+c.clientHeight;D-Lg()<=L||M>=L-s?C(function(T){return K(K({},T),{},{isHiddenScrollBar:!0})}):C(function(T){return K(K({},T),{},{isHiddenScrollBar:!1})})}})},P=function(M){C(function(D){return K(K({},D),{},{scrollLeft:M/d*f||0})})};return a.useImperativeHandle(r,function(){return{setScrollLeft:P,checkScrollBarVisible:N}}),a.useEffect(function(){var R=Ur(document.body,"mouseup",I,!1),M=Ur(document.body,"mousemove",O,!1);return N(),function(){R.remove(),M.remove()}},[m,x]),a.useEffect(function(){var R=Ur(c,"scroll",N,!1),M=Ur(window,"resize",N,!1);return function(){R.remove(),M.remove()}},[c]),a.useEffect(function(){p.isHiddenScrollBar||C(function(R){var M=i.current;return M?K(K({},R),{},{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):R})},[p.isHiddenScrollBar]),d<=f||!m||p.isHiddenScrollBar?null:a.createElement("div",{style:{height:Lg(),width:f,bottom:s},className:"".concat(u,"-sticky-scroll")},a.createElement("div",{onMouseDown:E,ref:g,className:G("".concat(u,"-sticky-scroll-bar"),A({},"".concat(u,"-sticky-scroll-bar-active"),x)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(p.scrollLeft,"px, 0, 0)")}}))};const aX=a.forwardRef(oX);var a6="rc-table",iX=[],lX={};function sX(){return"No Data"}function cX(e,t){var r,n=K({rowKey:"key",prefixCls:a6,emptyText:sX},e),o=n.prefixCls,i=n.className,l=n.rowClassName,s=n.style,c=n.data,u=n.rowKey,d=n.scroll,f=n.tableLayout,m=n.direction,g=n.title,v=n.footer,h=n.summary,p=n.caption,C=n.id,b=n.showHeader,y=n.components,S=n.emptyText,x=n.onRow,$=n.onHeaderRow,w=n.onScroll,I=n.internalHooks,E=n.transformColumns,O=n.internalRefs,N=n.tailor,P=n.getContainerWidth,R=n.sticky,M=n.rowHoverable,D=M===void 0?!0:M,L=c||iX,T=!!L.length,_=I===Ll,j=a.useCallback(function(ct,Mt){return Xr(y,ct)||Mt},[y]),H=a.useMemo(function(){return typeof u=="function"?u:function(ct){var Mt=ct&&ct[u];return Mt}},[u]),k=j(["body"]),V=tX(),F=ie(V,3),q=F[0],W=F[1],J=F[2],X=QG(n,L,H),Z=ie(X,6),ee=Z[0],ne=Z[1],Y=Z[2],te=Z[3],Q=Z[4],U=Z[5],ae=d==null?void 0:d.x,se=a.useState(0),oe=ie(se,2),re=oe[0],ce=oe[1],ue=UG(K(K(K({},n),ee),{},{expandable:!!ee.expandedRowRender,columnTitle:ee.columnTitle,expandedKeys:Y,getRowKey:H,onTriggerExpand:U,expandIcon:te,expandIconColumnIndex:ee.expandIconColumnIndex,direction:m,scrollWidth:_&&N&&typeof ae=="number"?ae:null,clientWidth:re}),_?E:null),fe=ie(ue,4),be=fe[0],de=fe[1],he=fe[2],Se=fe[3],$e=he!=null?he:ae,Ne=a.useMemo(function(){return{columns:be,flattenColumns:de}},[be,de]),xe=a.useRef(),Me=a.useRef(),Ee=a.useRef(),Te=a.useRef();a.useImperativeHandle(t,function(){return{nativeElement:xe.current,scrollTo:function(Mt){var Wt;if(Ee.current instanceof HTMLElement){var $n=Mt.index,pn=Mt.top,Kn=Mt.key;if(pn){var Zn;(Zn=Ee.current)===null||Zn===void 0||Zn.scrollTo({top:pn})}else{var vr,qr=Kn!=null?Kn:H(L[$n]);(vr=Ee.current.querySelector('[data-row-key="'.concat(qr,'"]')))===null||vr===void 0||vr.scrollIntoView()}}else(Wt=Ee.current)!==null&&Wt!==void 0&&Wt.scrollTo&&Ee.current.scrollTo(Mt)}}});var Re=a.useRef(),Pe=a.useState(!1),me=ie(Pe,2),Ce=me[0],pe=me[1],ge=a.useState(!1),Ie=ie(ge,2),nt=Ie[0],Ve=Ie[1],Ze=o6(new Map),De=ie(Ze,2),Ke=De[0],Qe=De[1],ot=nu(de),Xe=ot.map(function(ct){return Ke.get(ct)}),We=a.useMemo(function(){return Xe},[Xe.join("_")]),He=rX(We,de,m),at=d&&Of(d.y),Le=d&&Of($e)||!!ee.fixed,Ue=Le&&de.some(function(ct){var Mt=ct.fixed;return Mt}),_e=a.useRef(),Be=nX(R,o),Je=Be.isSticky,dt=Be.offsetHeader,it=Be.offsetSummary,qe=Be.offsetScroll,Ae=Be.stickyClassName,Ge=Be.container,Ye=a.useMemo(function(){return h==null?void 0:h(L)},[h,L]),tt=(at||Je)&&a.isValidElement(Ye)&&Ye.type===ru&&Ye.props.fixed,mt,lt,ft;at&&(lt={overflowY:"scroll",maxHeight:d.y}),Le&&(mt={overflowX:"auto"},at||(lt={overflowY:"hidden"}),ft={width:$e===!0?"auto":$e,minWidth:"100%"});var gt=a.useCallback(function(ct,Mt){li(xe.current)&&Qe(function(Wt){if(Wt.get(ct)!==Mt){var $n=new Map(Wt);return $n.set(ct,Mt),$n}return Wt})},[]),et=eX(null),rt=ie(et,2),Fe=rt[0],je=rt[1];function st(ct,Mt){Mt&&(typeof Mt=="function"?Mt(ct):Mt.scrollLeft!==ct&&(Mt.scrollLeft=ct,Mt.scrollLeft!==ct&&setTimeout(function(){Mt.scrollLeft=ct},0)))}var Ct=$t(function(ct){var Mt=ct.currentTarget,Wt=ct.scrollLeft,$n=m==="rtl",pn=typeof Wt=="number"?Wt:Mt.scrollLeft,Kn=Mt||lX;if(!je()||je()===Kn){var Zn;Fe(Kn),st(pn,Me.current),st(pn,Ee.current),st(pn,Re.current),st(pn,(Zn=_e.current)===null||Zn===void 0?void 0:Zn.setScrollLeft)}var vr=Mt||Me.current;if(vr){var qr=vr.scrollWidth,qo=vr.clientWidth;if(qr===qo){pe(!1),Ve(!1);return}$n?(pe(-pn0)):(pe(pn>0),Ve(pn1?p-M:0,L=K(K(K({},I),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:D,pointerEvents:"auto"}),T=a.useMemo(function(){return f?P<=1:O===0||P===0||P>1},[P,O,f]);T?L.visibility="hidden":f&&(L.height=m==null?void 0:m(P));var _=T?function(){return null}:g,j={};return(P===0||O===0)&&(j.rowSpan=1,j.colSpan=1),a.createElement(wa,ve({className:G(h,d),ellipsis:r.ellipsis,align:r.align,scope:r.rowScope,component:l,prefixCls:t.prefixCls,key:S,record:c,index:i,renderIndex:s,dataIndex:v,render:_,shouldCellUpdate:r.shouldCellUpdate},x,{appendNode:$,additionalProps:K(K({},w),{},{style:L},j)}))}var mX=["data","index","className","rowKey","style","extra","getHeight"],gX=a.forwardRef(function(e,t){var r=e.data,n=e.index,o=e.className,i=e.rowKey,l=e.style,s=e.extra,c=e.getHeight,u=ut(e,mX),d=r.record,f=r.indent,m=r.index,g=Un(ir,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,h=g.flattenColumns,p=g.prefixCls,C=g.fixColumn,b=g.componentWidth,y=Un(Om,["getComponent"]),S=y.getComponent,x=J4(d,i,n,f),$=S(["body","row"],"div"),w=S(["body","cell"],"div"),I=x.rowSupportExpand,E=x.expanded,O=x.rowProps,N=x.expandedRowRender,P=x.expandedRowClassName,R;if(I&&E){var M=N(d,n,f+1,E),D=P==null?void 0:P(d,n,f),L={};C&&(L={style:A({},"--virtual-width","".concat(b,"px"))});var T="".concat(p,"-expanded-row-cell");R=a.createElement($,{className:G("".concat(p,"-expanded-row"),"".concat(p,"-expanded-row-level-").concat(f+1),D)},a.createElement(wa,{component:w,prefixCls:p,className:G(T,A({},"".concat(T,"-fixed"),C)),additionalProps:L},M))}var _=K(K({},l),{},{width:v});s&&(_.position="absolute",_.pointerEvents="none");var j=a.createElement($,ve({},O,u,{"data-row-key":i,ref:I?null:t,className:G(o,"".concat(p,"-row"),O==null?void 0:O.className,A({},"".concat(p,"-row-extra"),s)),style:K(K({},_),O==null?void 0:O.style)}),h.map(function(H,k){return a.createElement(fX,{key:k,component:w,rowInfo:x,column:H,colIndex:k,indent:f,index:n,renderIndex:m,record:d,inverse:s,getHeight:c})}));return I?a.createElement("div",{ref:t},j,R):j}),Ep=yi(gX),vX=a.forwardRef(function(e,t){var r=e.data,n=e.onScroll,o=Un(ir,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),i=o.flattenColumns,l=o.onColumnResize,s=o.getRowKey,c=o.expandedKeys,u=o.prefixCls,d=o.childrenColumnName,f=o.emptyNode,m=o.scrollX,g=Un(Om),v=g.sticky,h=g.scrollY,p=g.listItemHeight,C=g.getComponent,b=g.onScroll,y=a.useRef(),S=Q4(r,d,c,s),x=a.useMemo(function(){var L=0;return i.map(function(T){var _=T.width,j=T.key;return L+=_,[j,_,L]})},[i]),$=a.useMemo(function(){return x.map(function(L){return L[2]})},[x]);a.useEffect(function(){x.forEach(function(L){var T=ie(L,2),_=T[0],j=T[1];l(_,j)})},[x]),a.useImperativeHandle(t,function(){var L={scrollTo:function(_){var j;(j=y.current)===null||j===void 0||j.scrollTo(_)}};return Object.defineProperty(L,"scrollLeft",{get:function(){var _;return((_=y.current)===null||_===void 0?void 0:_.getScrollInfo().x)||0},set:function(_){var j;(j=y.current)===null||j===void 0||j.scrollTo({left:_})}}),L});var w=function(T,_){var j,H=(j=S[_])===null||j===void 0?void 0:j.record,k=T.onCell;if(k){var V,F=k(H,_);return(V=F==null?void 0:F.rowSpan)!==null&&V!==void 0?V:1}return 1},I=function(T){var _=T.start,j=T.end,H=T.getSize,k=T.offsetY;if(j<0)return null;for(var V=i.filter(function(U){return w(U,_)===0}),F=_,q=function(ae){if(V=V.filter(function(se){return w(se,ae)===0}),!V.length)return F=ae,1},W=_;W>=0&&!q(W);W-=1);for(var J=i.filter(function(U){return w(U,j)!==1}),X=j,Z=function(ae){if(J=J.filter(function(se){return w(se,ae)!==1}),!J.length)return X=Math.max(ae-1,j),1},ee=j;ee1})&&ne.push(ae)},te=F;te<=X;te+=1)Y(te);var Q=ne.map(function(U){var ae=S[U],se=s(ae.record,U),oe=function(ue){var fe=U+ue-1,be=s(S[fe].record,fe),de=H(se,be);return de.bottom-de.top},re=H(se);return a.createElement(Ep,{key:U,data:ae,rowKey:se,index:U,style:{top:-k+re.top},extra:!0,getHeight:oe})});return Q},E=a.useMemo(function(){return{columnsOffset:$}},[$]),O="".concat(u,"-tbody"),N=C(["body","wrapper"]),P=C(["body","row"],"div"),R=C(["body","cell"],"div"),M;if(S.length){var D={};v&&(D.position="sticky",D.bottom=0,bt(v)==="object"&&v.offsetScroll&&(D.bottom=v.offsetScroll)),M=a.createElement(hl,{fullHeight:!1,ref:y,prefixCls:"".concat(O,"-virtual"),styles:{horizontalScrollBar:D},className:O,height:h,itemHeight:p||24,data:S,itemKey:function(T){return s(T.record)},component:N,scrollWidth:m,onVirtualScroll:function(T){var _=T.x;n({scrollLeft:_})},onScroll:b,extraRender:I},function(L,T,_){var j=s(L.record,T);return a.createElement(Ep,{data:L,rowKey:j,index:T,style:_.style})})}else M=a.createElement(P,{className:G("".concat(u,"-placeholder"))},a.createElement(wa,{component:R,prefixCls:u},f));return a.createElement(l6.Provider,{value:E},M)}),pX=yi(vX),hX=function(t,r){var n=r.ref,o=r.onScroll;return a.createElement(pX,{ref:n,data:t,onScroll:o})};function CX(e,t){var r=e.columns,n=e.scroll,o=e.sticky,i=e.prefixCls,l=i===void 0?a6:i,s=e.className,c=e.listItemHeight,u=e.components,d=e.onScroll,f=n||{},m=f.x,g=f.y;typeof m!="number"&&(m=1),typeof g!="number"&&(g=500);var v=$t(function(C,b){return Xr(u,C)||b}),h=$t(d),p=a.useMemo(function(){return{sticky:o,scrollY:g,listItemHeight:c,getComponent:v,onScroll:h}},[o,g,c,v,h]);return a.createElement(Om.Provider,{value:p},a.createElement(Si,ve({},e,{className:G(s,"".concat(l,"-virtual")),scroll:K(K({},n),{},{x:m}),components:K(K({},u),{},{body:hX}),columns:r,internalHooks:Ll,tailor:!0,ref:t})))}var bX=a.forwardRef(CX);function s6(e){return G4(bX,e)}s6();const yX=e=>null,SX=yX,xX=e=>null,$X=xX;var Pm=a.createContext(null),wX=function(t){for(var r=t.prefixCls,n=t.level,o=t.isStart,i=t.isEnd,l="".concat(r,"-indent-unit"),s=[],c=0;c=0&&r.splice(n,1),r}function co(e,t){var r=(e||[]).slice();return r.indexOf(t)===-1&&r.push(t),r}function Nm(e){return e.split("-")}function NX(e,t){var r=[],n=rr(t,e);function o(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.forEach(function(l){var s=l.key,c=l.children;r.push(s),o(c)})}return o(n.children),r}function MX(e){if(e.parent){var t=Nm(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function RX(e){var t=Nm(e.pos);return Number(t[t.length-1])===0}function Pp(e,t,r,n,o,i,l,s,c,u){var d,f=e.clientX,m=e.clientY,g=e.target.getBoundingClientRect(),v=g.top,h=g.height,p=(u==="rtl"?-1:1)*(((o==null?void 0:o.x)||0)-f),C=(p-12)/n,b=c.filter(function(L){var T;return(T=s[L])===null||T===void 0||(T=T.children)===null||T===void 0?void 0:T.length}),y=rr(s,r.props.eventKey);if(m-1.5?i({dragNode:R,dropNode:M,dropPosition:1})?O=1:D=!1:i({dragNode:R,dropNode:M,dropPosition:0})?O=0:i({dragNode:R,dropNode:M,dropPosition:1})?O=1:D=!1:i({dragNode:R,dropNode:M,dropPosition:1})?O=1:D=!1,{dropPosition:O,dropLevelOffset:N,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:E,dropContainerKey:O===0?null:((d=y.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:D}}function Np(e,t){if(e){var r=t.multiple;return r?e.slice():e.length?[e[0]]:e}}function sd(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(bt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Jt(!1,"`checkedKeys` is not an array or an object"),null;return t}function Nf(e,t){var r=new Set;function n(o){if(!r.has(o)){var i=rr(t,o);if(i){r.add(o);var l=i.parent,s=i.node;s.disabled||l&&n(l.key)}}}return(e||[]).forEach(function(o){n(o)}),ye(r)}function Mf(e){const[t,r]=a.useState(null);return[a.useCallback((i,l,s)=>{const c=t!=null?t:i,u=Math.min(c||0,i),d=Math.max(c||0,i),f=l.slice(u,d+1).map(v=>e(v)),m=f.some(v=>!s.has(v)),g=[];return f.forEach(v=>{m?(s.has(v)||g.push(v),s.add(v)):(s.delete(v),g.push(v))}),r(m?d:null),g},[t]),i=>{r(i)}]}const No={},Rf="SELECT_ALL",Tf="SELECT_INVERT",Lf="SELECT_NONE",Mp=[],c6=(e,t)=>{let r=[];return(t||[]).forEach(n=>{r.push(n),n&&typeof n=="object"&&e in n&&(r=[].concat(ye(r),ye(c6(e,n[e]))))}),r},TX=(e,t)=>{const{preserveSelectedRowKeys:r,selectedRowKeys:n,defaultSelectedRowKeys:o,getCheckboxProps:i,onChange:l,onSelect:s,onSelectAll:c,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:m,type:g,selections:v,fixed:h,renderCell:p,hideSelectAll:C,checkStrictly:b=!0}=t||{},{prefixCls:y,data:S,pageData:x,getRecordByKey:$,getRowKey:w,expandType:I,childrenColumnName:E,locale:O,getPopupContainer:N}=e,P=ho(),[R,M]=Mf(Y=>Y),[D,L]=Ot(n||o||Mp,{value:n}),T=a.useRef(new Map),_=a.useCallback(Y=>{if(r){const te=new Map;Y.forEach(Q=>{let U=$(Q);!U&&T.current.has(Q)&&(U=T.current.get(Q)),te.set(Q,U)}),T.current=te}},[$,r]);a.useEffect(()=>{_(D)},[D]);const{keyEntities:j}=a.useMemo(()=>{if(b)return{keyEntities:null};let Y=S;if(r){const te=new Set(S.map((U,ae)=>w(U,ae))),Q=Array.from(T.current).reduce((U,ae)=>{let[se,oe]=ae;return te.has(se)?U:U.concat(oe)},[]);Y=[].concat(ye(Y),ye(Q))}return Ol(Y,{externalGetKey:w,childrenPropName:E})},[S,w,b,E,r]),H=a.useMemo(()=>c6(E,x),[E,x]),k=a.useMemo(()=>{const Y=new Map;return H.forEach((te,Q)=>{const U=w(te,Q),ae=(i?i(te):null)||{};Y.set(U,ae)}),Y},[H,w,i]),V=a.useCallback(Y=>{var te;return!!(!((te=k.get(w(Y)))===null||te===void 0)&&te.disabled)},[k,w]),[F,q]=a.useMemo(()=>{if(b)return[D||[],[]];const{checkedKeys:Y,halfCheckedKeys:te}=xr(D,!0,j,V);return[Y||[],te]},[D,b,j,V]),W=a.useMemo(()=>{const Y=g==="radio"?F.slice(0,1):F;return new Set(Y)},[F,g]),J=a.useMemo(()=>g==="radio"?new Set:new Set(q),[q,g]);a.useEffect(()=>{t||L(Mp)},[!!t]);const X=a.useCallback((Y,te)=>{let Q,U;_(Y),r?(Q=Y,U=Y.map(ae=>T.current.get(ae))):(Q=[],U=[],Y.forEach(ae=>{const se=$(ae);se!==void 0&&(Q.push(ae),U.push(se))})),L(Q),l==null||l(Q,U,{type:te})},[L,$,l,r]),Z=a.useCallback((Y,te,Q,U)=>{if(s){const ae=Q.map(se=>$(se));s($(Y),te,ae,U)}X(Q,"single")},[s,$,X]),ee=a.useMemo(()=>!v||C?null:(v===!0?[Rf,Tf,Lf]:v).map(te=>te===Rf?{key:"all",text:O.selectionAll,onSelect(){X(S.map((Q,U)=>w(Q,U)).filter(Q=>{const U=k.get(Q);return!(U!=null&&U.disabled)||W.has(Q)}),"all")}}:te===Tf?{key:"invert",text:O.selectInvert,onSelect(){const Q=new Set(W);x.forEach((ae,se)=>{const oe=w(ae,se),re=k.get(oe);re!=null&&re.disabled||(Q.has(oe)?Q.delete(oe):Q.add(oe))});const U=Array.from(Q);u&&(P.deprecated(!1,"onSelectInvert","onChange"),u(U)),X(U,"invert")}}:te===Lf?{key:"none",text:O.selectNone,onSelect(){d==null||d(),X(Array.from(W).filter(Q=>{const U=k.get(Q);return U==null?void 0:U.disabled}),"none")}}:te).map(te=>Object.assign(Object.assign({},te),{onSelect:function(){for(var Q,U,ae=arguments.length,se=new Array(ae),oe=0;oe{var te;if(!t)return Y.filter(Ee=>Ee!==No);let Q=ye(Y);const U=new Set(W),ae=H.map(w).filter(Ee=>!k.get(Ee).disabled),se=ae.every(Ee=>U.has(Ee)),oe=ae.some(Ee=>U.has(Ee)),re=()=>{const Ee=[];se?ae.forEach(Re=>{U.delete(Re),Ee.push(Re)}):ae.forEach(Re=>{U.has(Re)||(U.add(Re),Ee.push(Re))});const Te=Array.from(U);c==null||c(!se,Te.map(Re=>$(Re)),Ee.map(Re=>$(Re))),X(Te,"all"),M(null)};let ce,ue;if(g!=="radio"){let Ee;if(ee){const Ce={getPopupContainer:N,items:ee.map((pe,ge)=>{const{key:Ie,text:nt,onSelect:Ve}=pe;return{key:Ie!=null?Ie:ge,onClick:()=>{Ve==null||Ve(ae)},label:nt}})};Ee=a.createElement("div",{className:`${y}-selection-extra`},a.createElement(Ci,{menu:Ce,getPopupContainer:N},a.createElement("span",null,a.createElement(Cl,null))))}const Te=H.map((Ce,pe)=>{const ge=w(Ce,pe),Ie=k.get(ge)||{};return Object.assign({checked:U.has(ge)},Ie)}).filter(Ce=>{let{disabled:pe}=Ce;return pe}),Re=!!Te.length&&Te.length===H.length,Pe=Re&&Te.every(Ce=>{let{checked:pe}=Ce;return pe}),me=Re&&Te.some(Ce=>{let{checked:pe}=Ce;return pe});ue=a.createElement(to,{checked:Re?Pe:!!H.length&&se,indeterminate:Re?!Pe&&me:!se&&oe,onChange:re,disabled:H.length===0||Re,"aria-label":Ee?"Custom selection":"Select all",skipGroup:!0}),ce=!C&&a.createElement("div",{className:`${y}-selection`},ue,Ee)}let fe;g==="radio"?fe=(Ee,Te,Re)=>{const Pe=w(Te,Re),me=U.has(Pe);return{node:a.createElement($l,Object.assign({},k.get(Pe),{checked:me,onClick:Ce=>Ce.stopPropagation(),onChange:Ce=>{U.has(Pe)||Z(Pe,!0,[Pe],Ce.nativeEvent)}})),checked:me}}:fe=(Ee,Te,Re)=>{var Pe;const me=w(Te,Re),Ce=U.has(me),pe=J.has(me),ge=k.get(me);let Ie;return I==="nest"?Ie=pe:Ie=(Pe=ge==null?void 0:ge.indeterminate)!==null&&Pe!==void 0?Pe:pe,{node:a.createElement(to,Object.assign({},ge,{indeterminate:Ie,checked:Ce,skipGroup:!0,onClick:nt=>nt.stopPropagation(),onChange:nt=>{let{nativeEvent:Ve}=nt;const{shiftKey:Ze}=Ve,De=ae.findIndex(Qe=>Qe===me),Ke=F.some(Qe=>ae.includes(Qe));if(Ze&&b&&Ke){const Qe=R(De,ae,U),ot=Array.from(U);f==null||f(!Ce,ot.map(Xe=>$(Xe)),Qe.map(Xe=>$(Xe))),X(ot,"multiple")}else{const Qe=F;if(b){const ot=Ce?Gr(Qe,me):co(Qe,me);Z(me,!Ce,ot,Ve)}else{const ot=xr([].concat(ye(Qe),[me]),!0,j,V),{checkedKeys:Xe,halfCheckedKeys:We}=ot;let He=Xe;if(Ce){const at=new Set(Xe);at.delete(me),He=xr(Array.from(at),{checked:!1,halfCheckedKeys:We},j,V).checkedKeys}Z(me,!Ce,He,Ve)}}M(Ce?null:De)}})),checked:Ce}};const be=(Ee,Te,Re)=>{const{node:Pe,checked:me}=fe(Ee,Te,Re);return p?p(me,Te,Re,Pe):Pe};if(!Q.includes(No))if(Q.findIndex(Ee=>{var Te;return((Te=Ee[Zi])===null||Te===void 0?void 0:Te.columnType)==="EXPAND_COLUMN"})===0){const[Ee,...Te]=Q;Q=[Ee,No].concat(ye(Te))}else Q=[No].concat(ye(Q));const de=Q.indexOf(No);Q=Q.filter((Ee,Te)=>Ee!==No||Te===de);const he=Q[de-1],Se=Q[de+1];let $e=h;$e===void 0&&((Se==null?void 0:Se.fixed)!==void 0?$e=Se.fixed:(he==null?void 0:he.fixed)!==void 0&&($e=he.fixed)),$e&&he&&((te=he[Zi])===null||te===void 0?void 0:te.columnType)==="EXPAND_COLUMN"&&he.fixed===void 0&&(he.fixed=$e);const Ne=G(`${y}-selection-col`,{[`${y}-selection-col-with-dropdown`]:v&&g==="checkbox"}),xe=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(ue):t.columnTitle:ce,Me={fixed:$e,width:m,className:`${y}-selection-column`,title:xe(),render:be,onCell:t.onCell,[Zi]:{className:Ne}};return Q.map(Ee=>Ee===No?Me:Ee)},[w,H,t,F,W,J,m,ee,I,k,f,Z,V]),W]};function LX(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(r=>{if(!(r in e._antProxy)){const n=e[r];e._antProxy[r]=n,e[r]=t[r]}}),e}function DX(e,t){return a.useImperativeHandle(e,()=>{const r=t(),{nativeElement:n}=r;return typeof Proxy!="undefined"?new Proxy(n,{get(o,i){return r[i]?r[i]:Reflect.get(o,i)}}):LX(n,r)})}function _X(e){return t=>{const{prefixCls:r,onExpand:n,record:o,expanded:i,expandable:l}=t,s=`${r}-row-expand-icon`;return a.createElement("button",{type:"button",onClick:c=>{n(o,c),c.stopPropagation()},className:G(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&i,[`${s}-collapsed`]:l&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}function kX(e){return(r,n)=>{const o=r.querySelector(`.${e}-container`);let i=n;if(o){const l=getComputedStyle(o),s=parseInt(l.borderLeftWidth,10),c=parseInt(l.borderRightWidth,10);i=n-s-c}return i}}const Ho=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function xi(e,t){return t?`${t}-${e}`:`${e}`}const ou=(e,t)=>typeof e=="function"?e(t):e,jX=(e,t)=>{const r=ou(e,t);return Object.prototype.toString.call(r)==="[object Object]"?"":r};function HX(e){const t=a.useRef(e),r=xc();return[()=>t.current,n=>{t.current=n,r()}]}function zX(e){var t=e.dropPosition,r=e.dropLevelOffset,n=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:o.top=0,o.left=-r*n;break;case 1:o.bottom=0,o.left=-r*n;break;case 0:o.bottom=0,o.left=n;break}return a.createElement("div",{style:o})}function u6(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function BX(e,t){var r=a.useState(!1),n=ie(r,2),o=n[0],i=n[1];_t(function(){if(o)return e(),function(){t()}},[o]),_t(function(){return i(!0),function(){i(!1)}},[])}var AX=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],d6=function(t,r){var n=t.className,o=t.style,i=t.motion,l=t.motionNodes,s=t.motionType,c=t.onMotionStart,u=t.onMotionEnd,d=t.active,f=t.treeNodeRequiredProps,m=ut(t,AX),g=a.useState(!0),v=ie(g,2),h=v[0],p=v[1],C=a.useContext(Pm),b=C.prefixCls,y=l&&s!=="hide";_t(function(){l&&y!==h&&p(y)},[l]);var S=function(){l&&c()},x=a.useRef(!1),$=function(){l&&!x.current&&(x.current=!0,u())};BX(S,$);var w=function(E){y===E&&$()};return l?a.createElement(In,ve({ref:r,visible:h},i,{motionAppear:s==="show",onVisibleChanged:w}),function(I,E){var O=I.className,N=I.style;return a.createElement("div",{ref:E,className:G("".concat(b,"-treenode-motion"),O),style:N},l.map(function(P){var R=Object.assign({},(u6(P.data),P.data)),M=P.title,D=P.key,L=P.isStart,T=P.isEnd;delete R.children;var _=Ui(D,f);return a.createElement(ti,ve({},R,_,{title:M,active:d,data:P.data,key:D,isStart:L,isEnd:T}))}))}):a.createElement(ti,ve({domRef:r,className:n,style:o},m,{active:d}))};d6.displayName="MotionTreeNode";var FX=a.forwardRef(d6);function VX(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=e.length,n=t.length;if(Math.abs(r-n)!==1)return{add:!1,key:null};function o(i,l){var s=new Map;i.forEach(function(u){s.set(u,!0)});var c=l.filter(function(u){return!s.has(u)});return c.length===1?c[0]:null}return r ").concat(t);return t}var m6=a.forwardRef(function(e,t){var r=e.prefixCls,n=e.data;e.selectable,e.checkable;var o=e.expandedKeys,i=e.selectedKeys,l=e.checkedKeys,s=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,f=e.disabled,m=e.dragging,g=e.dragOverNodeKey,v=e.dropPosition,h=e.motion,p=e.height,C=e.itemHeight,b=e.virtual,y=e.focusable,S=e.activeItem,x=e.focused,$=e.tabIndex,w=e.onKeyDown,I=e.onFocus,E=e.onBlur,O=e.onActiveChange,N=e.onListChangeStart,P=e.onListChangeEnd,R=ut(e,WX),M=a.useRef(null),D=a.useRef(null);a.useImperativeHandle(t,function(){return{scrollTo:function(fe){M.current.scrollTo(fe)},getIndentWidth:function(){return D.current.offsetWidth}}});var L=a.useState(o),T=ie(L,2),_=T[0],j=T[1],H=a.useState(n),k=ie(H,2),V=k[0],F=k[1],q=a.useState(n),W=ie(q,2),J=W[0],X=W[1],Z=a.useState([]),ee=ie(Z,2),ne=ee[0],Y=ee[1],te=a.useState(null),Q=ie(te,2),U=Q[0],ae=Q[1],se=a.useRef(n);se.current=n;function oe(){var ue=se.current;F(ue),X(ue),Y([]),ae(null),P()}_t(function(){j(o);var ue=VX(_,o);if(ue.key!==null)if(ue.add){var fe=V.findIndex(function(Ne){var xe=Ne.key;return xe===ue.key}),be=Dp(Rp(V,n,ue.key),b,p,C),de=V.slice();de.splice(fe+1,0,Lp),X(de),Y(be),ae("show")}else{var he=n.findIndex(function(Ne){var xe=Ne.key;return xe===ue.key}),Se=Dp(Rp(n,V,ue.key),b,p,C),$e=n.slice();$e.splice(he+1,0,Lp),X($e),Y(Se),ae("hide")}else V!==n&&(F(n),X(n))},[o,n]),a.useEffect(function(){m||oe()},[m]);var re=h?J:n,ce={expandedKeys:o,selectedKeys:i,loadedKeys:s,loadingKeys:c,checkedKeys:l,halfCheckedKeys:u,dragOverNodeKey:g,dropPosition:v,keyEntities:d};return a.createElement(a.Fragment,null,x&&S&&a.createElement("span",{style:Tp,"aria-live":"assertive"},qX(S)),a.createElement("div",null,a.createElement("input",{style:Tp,disabled:y===!1||f,tabIndex:y!==!1?$:null,onKeyDown:w,onFocus:I,onBlur:E,value:"",onChange:KX,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(r,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(r,"-indent")},a.createElement("div",{ref:D,className:"".concat(r,"-indent-unit")}))),a.createElement(hl,ve({},R,{data:re,itemKey:_p,height:p,fullHeight:!1,virtual:b,itemHeight:C,prefixCls:"".concat(r,"-list"),ref:M,onVisibleChange:function(fe){fe.every(function(be){return _p(be)!==ua})&&oe()}}),function(ue){var fe=ue.pos,be=Object.assign({},(u6(ue.data),ue.data)),de=ue.title,he=ue.key,Se=ue.isStart,$e=ue.isEnd,Ne=Il(he,fe);delete be.key,delete be.children;var xe=Ui(Ne,ce);return a.createElement(FX,ve({},be,xe,{title:de,active:!!S&&he===S.key,pos:fe,data:ue.data,isStart:Se,isEnd:$e,motion:h,motionNodes:he===ua?ne:null,motionType:U,onMotionStart:N,onMotionEnd:oe,treeNodeRequiredProps:ce,onMouseMove:function(){O(null)}}))}))});m6.displayName="NodeList";var GX=10,au=function(e){Fn(r,e);var t=no(r);function r(){var n;tn(this,r);for(var o=arguments.length,i=new Array(o),l=0;l2&&arguments[2]!==void 0?arguments[2]:!1,f=n.state,m=f.dragChildrenKeys,g=f.dropPosition,v=f.dropTargetKey,h=f.dropTargetPos,p=f.dropAllowed;if(p){var C=n.props.onDrop;if(n.setState({dragOverNodeKey:null}),n.cleanDragState(),v!==null){var b=K(K({},Ui(v,n.getTreeNodeRequiredProps())),{},{active:((u=n.getActiveItem())===null||u===void 0?void 0:u.key)===v,data:rr(n.state.keyEntities,v).node}),y=m.indexOf(v)!==-1;Jt(!y,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var S=Nm(h),x={event:s,node:Pn(b),dragNode:n.dragNode?Pn(n.dragNode.props):null,dragNodesKeys:[n.dragNode.props.eventKey].concat(m),dropToGap:g!==0,dropPosition:g+Number(S[S.length-1])};d||C==null||C(x),n.dragNode=null}}}),A(ze(n),"cleanDragState",function(){var s=n.state.draggingNodeKey;s!==null&&n.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),n.dragStartMousePosition=null,n.currentMouseOverDroppableNodeKey=null}),A(ze(n),"triggerExpandActionExpand",function(s,c){var u=n.state,d=u.expandedKeys,f=u.flattenNodes,m=c.expanded,g=c.key,v=c.isLeaf;if(!(v||s.shiftKey||s.metaKey||s.ctrlKey)){var h=f.filter(function(C){return C.key===g})[0],p=Pn(K(K({},Ui(g,n.getTreeNodeRequiredProps())),{},{data:h.data}));n.setExpandedKeys(m?Gr(d,g):co(d,g)),n.onNodeExpand(s,p)}}),A(ze(n),"onNodeClick",function(s,c){var u=n.props,d=u.onClick,f=u.expandAction;f==="click"&&n.triggerExpandActionExpand(s,c),d==null||d(s,c)}),A(ze(n),"onNodeDoubleClick",function(s,c){var u=n.props,d=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&n.triggerExpandActionExpand(s,c),d==null||d(s,c)}),A(ze(n),"onNodeSelect",function(s,c){var u=n.state.selectedKeys,d=n.state,f=d.keyEntities,m=d.fieldNames,g=n.props,v=g.onSelect,h=g.multiple,p=c.selected,C=c[m.key],b=!p;b?h?u=co(u,C):u=[C]:u=Gr(u,C);var y=u.map(function(S){var x=rr(f,S);return x?x.node:null}).filter(function(S){return S});n.setUncontrolledState({selectedKeys:u}),v==null||v(u,{event:"select",selected:b,node:c,selectedNodes:y,nativeEvent:s.nativeEvent})}),A(ze(n),"onNodeCheck",function(s,c,u){var d=n.state,f=d.keyEntities,m=d.checkedKeys,g=d.halfCheckedKeys,v=n.props,h=v.checkStrictly,p=v.onCheck,C=c.key,b,y={event:"check",node:c,checked:u,nativeEvent:s.nativeEvent};if(h){var S=u?co(m,C):Gr(m,C),x=Gr(g,C);b={checked:S,halfChecked:x},y.checkedNodes=S.map(function(N){return rr(f,N)}).filter(function(N){return N}).map(function(N){return N.node}),n.setUncontrolledState({checkedKeys:S})}else{var $=xr([].concat(ye(m),[C]),!0,f),w=$.checkedKeys,I=$.halfCheckedKeys;if(!u){var E=new Set(w);E.delete(C);var O=xr(Array.from(E),{checked:!1,halfCheckedKeys:I},f);w=O.checkedKeys,I=O.halfCheckedKeys}b=w,y.checkedNodes=[],y.checkedNodesPositions=[],y.halfCheckedKeys=I,w.forEach(function(N){var P=rr(f,N);if(P){var R=P.node,M=P.pos;y.checkedNodes.push(R),y.checkedNodesPositions.push({node:R,pos:M})}}),n.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:I})}p==null||p(b,y)}),A(ze(n),"onNodeLoad",function(s){var c,u=s.key,d=n.state.keyEntities,f=rr(d,u);if(!(f!=null&&(c=f.children)!==null&&c!==void 0&&c.length)){var m=new Promise(function(g,v){n.setState(function(h){var p=h.loadedKeys,C=p===void 0?[]:p,b=h.loadingKeys,y=b===void 0?[]:b,S=n.props,x=S.loadData,$=S.onLoad;if(!x||C.indexOf(u)!==-1||y.indexOf(u)!==-1)return null;var w=x(s);return w.then(function(){var I=n.state.loadedKeys,E=co(I,u);$==null||$(E,{event:"load",node:s}),n.setUncontrolledState({loadedKeys:E}),n.setState(function(O){return{loadingKeys:Gr(O.loadingKeys,u)}}),g()}).catch(function(I){if(n.setState(function(O){return{loadingKeys:Gr(O.loadingKeys,u)}}),n.loadingRetryTimes[u]=(n.loadingRetryTimes[u]||0)+1,n.loadingRetryTimes[u]>=GX){var E=n.state.loadedKeys;Jt(!1,"Retry for `loadData` many times but still failed. No more retry."),n.setUncontrolledState({loadedKeys:co(E,u)}),g()}v(I)}),{loadingKeys:co(y,u)}})});return m.catch(function(){}),m}}),A(ze(n),"onNodeMouseEnter",function(s,c){var u=n.props.onMouseEnter;u==null||u({event:s,node:c})}),A(ze(n),"onNodeMouseLeave",function(s,c){var u=n.props.onMouseLeave;u==null||u({event:s,node:c})}),A(ze(n),"onNodeContextMenu",function(s,c){var u=n.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:c}))}),A(ze(n),"onFocus",function(){var s=n.props.onFocus;n.setState({focused:!0});for(var c=arguments.length,u=new Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n.destroyed){var d=!1,f=!0,m={};Object.keys(s).forEach(function(g){if(g in n.props){f=!1;return}d=!0,m[g]=s[g]}),d&&(!c||f)&&n.setState(K(K({},m),u))}}),A(ze(n),"scrollTo",function(s){n.listRef.current.scrollTo(s)}),n}return nn(r,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var o=this.props,i=o.activeKey,l=o.itemScrollOffset,s=l===void 0?0:l;i!==void 0&&i!==this.state.activeKey&&(this.setState({activeKey:i}),i!==null&&this.scrollTo({key:i,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var o=this.state,i=o.focused,l=o.flattenNodes,s=o.keyEntities,c=o.draggingNodeKey,u=o.activeKey,d=o.dropLevelOffset,f=o.dropContainerKey,m=o.dropTargetKey,g=o.dropPosition,v=o.dragOverNodeKey,h=o.indent,p=this.props,C=p.prefixCls,b=p.className,y=p.style,S=p.showLine,x=p.focusable,$=p.tabIndex,w=$===void 0?0:$,I=p.selectable,E=p.showIcon,O=p.icon,N=p.switcherIcon,P=p.draggable,R=p.checkable,M=p.checkStrictly,D=p.disabled,L=p.motion,T=p.loadData,_=p.filterTreeNode,j=p.height,H=p.itemHeight,k=p.virtual,V=p.titleRender,F=p.dropIndicatorRender,q=p.onContextMenu,W=p.onScroll,J=p.direction,X=p.rootClassName,Z=p.rootStyle,ee=en(this.props,{aria:!0,data:!0}),ne;return P&&(bt(P)==="object"?ne=P:typeof P=="function"?ne={nodeDraggable:P}:ne={}),a.createElement(Pm.Provider,{value:{prefixCls:C,selectable:I,showIcon:E,icon:O,switcherIcon:N,draggable:ne,draggingNodeKey:c,checkable:R,checkStrictly:M,disabled:D,keyEntities:s,dropLevelOffset:d,dropContainerKey:f,dropTargetKey:m,dropPosition:g,dragOverNodeKey:v,indent:h,direction:J,dropIndicatorRender:F,loadData:T,filterTreeNode:_,titleRender:V,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:G(C,b,X,A(A(A({},"".concat(C,"-show-line"),S),"".concat(C,"-focused"),i),"".concat(C,"-active-focused"),u!==null)),style:Z},a.createElement(m6,ve({ref:this.listRef,prefixCls:C,style:y,data:l,disabled:D,selectable:I,checkable:!!R,motion:L,dragging:c!==null,height:j,itemHeight:H,virtual:k,focusable:x,focused:i,tabIndex:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:q,onScroll:W},this.getTreeNodeRequiredProps(),ee))))}}],[{key:"getDerivedStateFromProps",value:function(o,i){var l=i.prevProps,s={prevProps:o};function c(w){return!l&&w in o||l&&l[w]!==o[w]}var u,d=i.fieldNames;if(c("fieldNames")&&(d=ei(o.fieldNames),s.fieldNames=d),c("treeData")?u=o.treeData:c("children")&&(Jt(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=N3(o.children)),u){s.treeData=u;var f=Ol(u,{fieldNames:d});s.keyEntities=K(A({},ua,f6),f.keyEntities)}var m=s.keyEntities||i.keyEntities;if(c("expandedKeys")||l&&c("autoExpandParent"))s.expandedKeys=o.autoExpandParent||!l&&o.defaultExpandParent?Nf(o.expandedKeys,m):o.expandedKeys;else if(!l&&o.defaultExpandAll){var g=K({},m);delete g[ua];var v=[];Object.keys(g).forEach(function(w){var I=g[w];I.children&&I.children.length&&v.push(I.key)}),s.expandedKeys=v}else!l&&o.defaultExpandedKeys&&(s.expandedKeys=o.autoExpandParent||o.defaultExpandParent?Nf(o.defaultExpandedKeys,m):o.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var h=Xu(u||i.treeData,s.expandedKeys||i.expandedKeys,d);s.flattenNodes=h}if(o.selectable&&(c("selectedKeys")?s.selectedKeys=Np(o.selectedKeys,o):!l&&o.defaultSelectedKeys&&(s.selectedKeys=Np(o.defaultSelectedKeys,o))),o.checkable){var p;if(c("checkedKeys")?p=sd(o.checkedKeys)||{}:!l&&o.defaultCheckedKeys?p=sd(o.defaultCheckedKeys)||{}:u&&(p=sd(o.checkedKeys)||{checkedKeys:i.checkedKeys,halfCheckedKeys:i.halfCheckedKeys}),p){var C=p,b=C.checkedKeys,y=b===void 0?[]:b,S=C.halfCheckedKeys,x=S===void 0?[]:S;if(!o.checkStrictly){var $=xr(y,!0,m);y=$.checkedKeys,x=$.halfCheckedKeys}s.checkedKeys=y,s.halfCheckedKeys=x}}return c("loadedKeys")&&(s.loadedKeys=o.loadedKeys),s}}]),r}(a.Component);A(au,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:zX,allowDrop:function(){return!0},expandAction:!1});A(au,"TreeNode",ti);const XX=new Ht("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),UX=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),YX=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${B(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ZX=(e,t)=>{const{treeCls:r,treeNodeCls:n,treeNodePadding:o,titleHeight:i,nodeSelectedBg:l,nodeHoverBg:s}=t,c=t.paddingXS;return{[r]:Object.assign(Object.assign({},Pt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${r}-rtl`]:{[`${r}-switcher`]:{"&_close":{[`${r}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${r}-active-focused)`]:Object.assign({},_o(t)),[`${r}-list-holder-inner`]:{alignItems:"flex-start"},[`&${r}-block-node`]:{[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-node-content-wrapper`]:{flex:"auto"},[`${n}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:XX,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[n]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${B(o)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${r}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${r}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${n}-disabled).filter-node ${r}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${r}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:B(i),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${n}:hover &`]:{opacity:.45}},[`&${n}-disabled`]:{[`${r}-draggable-icon`]:{visibility:"hidden"}}}},[`${r}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${r}-draggable-icon`]:{visibility:"hidden"},[`${r}-switcher`]:Object.assign(Object.assign({},UX(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:B(i),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${r}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${r}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${r}-checkbox`]:{top:"initial",marginInlineEnd:c,alignSelf:"flex-start",marginTop:t.marginXXS},[`${r}-node-content-wrapper, ${r}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${B(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:B(i),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:s},[`&${r}-node-selected`]:{backgroundColor:l},[`${r}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:B(i),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${r}-unselectable ${r}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}-node-content-wrapper`]:Object.assign({lineHeight:B(i),userSelect:"none"},YX(e,t)),[`${n}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${r}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${r}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${n}-leaf-last`]:{[`${r}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${B(t.calc(i).div(2).equal())} !important`}}}}})}},QX=e=>{const{treeCls:t,treeNodeCls:r,treeNodePadding:n,directoryNodeSelectedBg:o,directoryNodeSelectedColor:i}=e;return{[`${t}${t}-directory`]:{[r]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:n,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:o},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},g6=(e,t)=>{const r=`.${e}`,n=`${r}-treenode`,o=t.calc(t.paddingXS).div(2).equal(),i=xt(t,{treeCls:r,treeNodeCls:n,treeNodePadding:o});return[ZX(e,i),QX(i)]},v6=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},JX=e=>{const{colorTextLightSolid:t,colorPrimary:r}=e;return Object.assign(Object.assign({},v6(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:r})},eU=Et("Tree",(e,t)=>{let{prefixCls:r}=t;return[{[e.componentCls]:Kc(`${r}-checkbox`,e)},g6(r,e),ml(e)]},JX),kp=4;function tU(e){const{dropPosition:t,dropLevelOffset:r,prefixCls:n,indent:o,direction:i="ltr"}=e,l=i==="ltr"?"left":"right",s=i==="ltr"?"right":"left",c={[l]:-r*o+kp,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[l]=o+kp;break}return z.createElement("div",{style:c,className:`${n}-drop-indicator`})}const nU=e=>{const{prefixCls:t,switcherIcon:r,treeNodeProps:n,showLine:o,switcherLoadingIcon:i}=e,{isLeaf:l,expanded:s,loading:c}=n;if(c)return a.isValidElement(i)?i:a.createElement(Lr,{className:`${t}-switcher-loading-icon`});let u;if(o&&typeof o=="object"&&(u=o.showLeafIcon),l){if(!o)return null;if(typeof u!="boolean"&&u){const m=typeof u=="function"?u(n):u,g=`${t}-switcher-line-custom-icon`;return a.isValidElement(m)?cn(m,{className:G(m.props.className||"",g)}):m}return u?a.createElement(F4,{className:`${t}-switcher-line-icon`}):a.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,f=typeof r=="function"?r(n):r;return a.isValidElement(f)?cn(f,{className:G(f.props.className||"",d)}):f!==void 0?f:o?s?a.createElement(rK,{className:`${t}-switcher-line-icon`}):a.createElement(CK,{className:`${t}-switcher-line-icon`}):a.createElement(VV,{className:d})},p6=nU,h6=z.forwardRef((e,t)=>{var r;const{getPrefixCls:n,direction:o,virtual:i,tree:l}=z.useContext(ke),{prefixCls:s,className:c,showIcon:u=!1,showLine:d,switcherIcon:f,switcherLoadingIcon:m,blockNode:g=!1,children:v,checkable:h=!1,selectable:p=!0,draggable:C,motion:b,style:y}=e,S=n("tree",s),x=n(),$=b!=null?b:Object.assign(Object.assign({},Xa(x)),{motionAppear:!1}),w=Object.assign(Object.assign({},e),{checkable:h,selectable:p,showIcon:u,motion:$,blockNode:g,showLine:!!d,dropIndicatorRender:tU}),[I,E,O]=eU(S),[,N]=zn(),P=N.paddingXS/2+(((r=N.Tree)===null||r===void 0?void 0:r.titleHeight)||N.controlHeightSM),R=z.useMemo(()=>{if(!C)return!1;let D={};switch(typeof C){case"function":D.nodeDraggable=C;break;case"object":D=Object.assign({},C);break}return D.icon!==!1&&(D.icon=D.icon||z.createElement(QW,null)),D},[C]),M=D=>z.createElement(p6,{prefixCls:S,switcherIcon:f,switcherLoadingIcon:m,treeNodeProps:D,showLine:d});return I(z.createElement(au,Object.assign({itemHeight:P,ref:t,virtual:i},w,{style:Object.assign(Object.assign({},l==null?void 0:l.style),y),prefixCls:S,className:G({[`${S}-icon-hide`]:!u,[`${S}-block-node`]:g,[`${S}-unselectable`]:!p,[`${S}-rtl`]:o==="rtl"},l==null?void 0:l.className,c,E,O),direction:o,checkable:h&&z.createElement("span",{className:`${S}-checkbox-inner`}),selectable:p,switcherIcon:M,draggable:R}),v))}),jp=0,cd=1,Hp=2;function Mm(e,t,r){const{key:n,children:o}=r;function i(l){const s=l[n],c=l[o];t(s,l)!==!1&&Mm(c||[],t,r)}e.forEach(i)}function rU(e){let{treeData:t,expandedKeys:r,startKey:n,endKey:o,fieldNames:i}=e;const l=[];let s=jp;if(n&&n===o)return[n];if(!n||!o)return[];function c(u){return u===n||u===o}return Mm(t,u=>{if(s===Hp)return!1;if(c(u)){if(l.push(u),s===jp)s=cd;else if(s===cd)return s=Hp,!1}else s===cd&&l.push(u);return r.includes(u)},ei(i)),l}function ud(e,t,r){const n=ye(t),o=[];return Mm(e,(i,l)=>{const s=n.indexOf(i);return s!==-1&&(o.push(l),n.splice(s,1)),!!n.length},ei(r)),o}var zp=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{defaultExpandAll:r,defaultExpandParent:n,defaultExpandedKeys:o}=e,i=zp(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const l=a.useRef(),s=a.useRef(),c=()=>{const{keyEntities:I}=Ol(Bp(i));let E;return r?E=Object.keys(I):n?E=Nf(i.expandedKeys||o||[],I):E=i.expandedKeys||o||[],E},[u,d]=a.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[f,m]=a.useState(()=>c());a.useEffect(()=>{"selectedKeys"in i&&d(i.selectedKeys)},[i.selectedKeys]),a.useEffect(()=>{"expandedKeys"in i&&m(i.expandedKeys)},[i.expandedKeys]);const g=(I,E)=>{var O;return"expandedKeys"in i||m(I),(O=i.onExpand)===null||O===void 0?void 0:O.call(i,I,E)},v=(I,E)=>{var O;const{multiple:N,fieldNames:P}=i,{node:R,nativeEvent:M}=E,{key:D=""}=R,L=Bp(i),T=Object.assign(Object.assign({},E),{selected:!0}),_=(M==null?void 0:M.ctrlKey)||(M==null?void 0:M.metaKey),j=M==null?void 0:M.shiftKey;let H;N&&_?(H=I,l.current=D,s.current=H,T.selectedNodes=ud(L,H,P)):N&&j?(H=Array.from(new Set([].concat(ye(s.current||[]),ye(rU({treeData:L,expandedKeys:f,startKey:D,endKey:l.current,fieldNames:P}))))),T.selectedNodes=ud(L,H,P)):(H=[D],l.current=D,s.current=H,T.selectedNodes=ud(L,H,P)),(O=i.onSelect)===null||O===void 0||O.call(i,H,T),"selectedKeys"in i||d(H)},{getPrefixCls:h,direction:p}=a.useContext(ke),{prefixCls:C,className:b,showIcon:y=!0,expandAction:S="click"}=i,x=zp(i,["prefixCls","className","showIcon","expandAction"]),$=h("tree",C),w=G(`${$}-directory`,{[`${$}-directory-rtl`]:p==="rtl"},b);return a.createElement(h6,Object.assign({icon:oU,ref:t,blockNode:!0},x,{showIcon:y,expandAction:S,prefixCls:$,className:w,expandedKeys:f,selectedKeys:u,onSelect:v,onExpand:g}))},iU=a.forwardRef(aU),lU=iU,$i=h6;$i.DirectoryTree=lU;$i.TreeNode=ti;const sU=e=>{const{value:t,filterSearch:r,tablePrefixCls:n,locale:o,onChange:i}=e;return r?a.createElement("div",{className:`${n}-filter-dropdown-search`},a.createElement(gr,{prefix:a.createElement(bc,null),placeholder:o.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${n}-filter-dropdown-search-input`})):null},Ap=sU,cU=e=>{const{keyCode:t}=e;t===we.ENTER&&e.stopPropagation()},uU=a.forwardRef((e,t)=>a.createElement("div",{className:e.className,onClick:r=>r.stopPropagation(),onKeyDown:cU,ref:t},e.children)),dU=uU;function qa(e){let t=[];return(e||[]).forEach(r=>{let{value:n,children:o}=r;t.push(n),o&&(t=[].concat(ye(t),ye(qa(o))))}),t}function fU(e){return e.some(t=>{let{children:r}=t;return r})}function C6(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function b6(e){let{filters:t,prefixCls:r,filteredKeys:n,filterMultiple:o,searchValue:i,filterSearch:l}=e;return t.map((s,c)=>{const u=String(s.value);if(s.children)return{key:u||c,label:s.text,popupClassName:`${r}-dropdown-submenu`,children:b6({filters:s.children,prefixCls:r,filteredKeys:n,filterMultiple:o,searchValue:i,filterSearch:l})};const d=o?to:$l,f={key:s.value!==void 0?u:c,label:a.createElement(a.Fragment,null,a.createElement(d,{checked:n.includes(u)}),a.createElement("span",null,s.text))};return i.trim()?typeof l=="function"?l(i,s)?f:null:C6(i,s.text)?f:null:f})}function dd(e){return e||[]}const mU=e=>{var t,r;const{tablePrefixCls:n,prefixCls:o,column:i,dropdownPrefixCls:l,columnKey:s,filterOnClose:c,filterMultiple:u,filterMode:d="menu",filterSearch:f=!1,filterState:m,triggerFilter:g,locale:v,children:h,getPopupContainer:p,rootClassName:C}=e,{filterDropdownOpen:b,onFilterDropdownOpenChange:y,filterResetToDefaultFilteredValue:S,defaultFilteredValue:x,filterDropdownVisible:$,onFilterDropdownVisibleChange:w}=i,[I,E]=a.useState(!1),O=!!(m&&(!((t=m.filteredKeys)===null||t===void 0)&&t.length||m.forceFiltered)),N=re=>{E(re),y==null||y(re),w==null||w(re)},P=(r=b!=null?b:$)!==null&&r!==void 0?r:I,R=m==null?void 0:m.filteredKeys,[M,D]=HX(dd(R)),L=re=>{let{selectedKeys:ce}=re;D(ce)},T=(re,ce)=>{let{node:ue,checked:fe}=ce;L(u?{selectedKeys:re}:{selectedKeys:fe&&ue.key?[ue.key]:[]})};a.useEffect(()=>{I&&L({selectedKeys:dd(R)})},[R]);const[_,j]=a.useState([]),H=re=>{j(re)},[k,V]=a.useState(""),F=re=>{const{value:ce}=re.target;V(ce)};a.useEffect(()=>{I||V("")},[I]);const q=re=>{const ce=re!=null&&re.length?re:null;if(ce===null&&(!m||!m.filteredKeys)||Rr(ce,m==null?void 0:m.filteredKeys,!0))return null;g({column:i,key:s,filteredKeys:ce})},W=()=>{N(!1),q(M())},J=function(){let{confirm:re,closeDropdown:ce}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};re&&q([]),ce&&N(!1),V(""),D(S?(x||[]).map(ue=>String(ue)):[])},X=function(){let{closeDropdown:re}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};re&&N(!1),q(M())},Z=(re,ce)=>{ce.source==="trigger"&&(re&&R!==void 0&&D(dd(R)),N(re),!re&&!i.filterDropdown&&c&&W())},ee=G({[`${l}-menu-without-submenu`]:!fU(i.filters||[])}),ne=re=>{if(re.target.checked){const ce=qa(i==null?void 0:i.filters).map(ue=>String(ue));D(ce)}else D([])},Y=re=>{let{filters:ce}=re;return(ce||[]).map((ue,fe)=>{const be=String(ue.value),de={title:ue.text,key:ue.value!==void 0?be:String(fe)};return ue.children&&(de.children=Y({filters:ue.children})),de})},te=re=>{var ce;return Object.assign(Object.assign({},re),{text:re.title,value:re.key,children:((ce=re.children)===null||ce===void 0?void 0:ce.map(ue=>te(ue)))||[]})};let Q;const{direction:U,renderEmpty:ae}=a.useContext(ke);if(typeof i.filterDropdown=="function")Q=i.filterDropdown({prefixCls:`${l}-custom`,setSelectedKeys:re=>L({selectedKeys:re}),selectedKeys:M(),confirm:X,clearFilters:J,filters:i.filters,visible:P,close:()=>{N(!1)}});else if(i.filterDropdown)Q=i.filterDropdown;else{const re=M()||[],ce=()=>{var fe;const be=(fe=ae==null?void 0:ae("Table.filter"))!==null&&fe!==void 0?fe:a.createElement(br,{image:br.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((i.filters||[]).length===0)return be;if(d==="tree")return a.createElement(a.Fragment,null,a.createElement(Ap,{filterSearch:f,value:k,onChange:F,tablePrefixCls:n,locale:v}),a.createElement("div",{className:`${n}-filter-dropdown-tree`},u?a.createElement(to,{checked:re.length===qa(i.filters).length,indeterminate:re.length>0&&re.lengthtypeof f=="function"?f(k,te(Se)):C6(k,Se.title):void 0})));const de=b6({filters:i.filters||[],filterSearch:f,prefixCls:o,filteredKeys:M(),filterMultiple:u,searchValue:k}),he=de.every(Se=>Se===null);return a.createElement(a.Fragment,null,a.createElement(Ap,{filterSearch:f,value:k,onChange:F,tablePrefixCls:n,locale:v}),he?be:a.createElement(Br,{selectable:!0,multiple:u,prefixCls:`${l}-menu`,className:ee,onSelect:L,onDeselect:L,selectedKeys:re,getPopupContainer:p,openKeys:_,onOpenChange:H,items:de}))},ue=()=>S?Rr((x||[]).map(fe=>String(fe)),re,!0):re.length===0;Q=a.createElement(a.Fragment,null,ce(),a.createElement("div",{className:`${o}-dropdown-btns`},a.createElement(hn,{type:"link",size:"small",disabled:ue(),onClick:()=>J()},v.filterReset),a.createElement(hn,{type:"primary",size:"small",onClick:W},v.filterConfirm)))}i.filterDropdown&&(Q=a.createElement(aC,{selectable:void 0},Q));const se=()=>a.createElement(dU,{className:`${o}-dropdown`},Q);let oe;return typeof i.filterIcon=="function"?oe=i.filterIcon(O):i.filterIcon?oe=i.filterIcon:oe=a.createElement(jW,null),a.createElement("div",{className:`${o}-column`},a.createElement("span",{className:`${n}-column-title`},h),a.createElement(Ci,{dropdownRender:se,trigger:["click"],open:P,onOpenChange:Z,getPopupContainer:p,placement:U==="rtl"?"bottomLeft":"bottomRight",rootClassName:C},a.createElement("span",{role:"button",tabIndex:-1,className:G(`${o}-trigger`,{active:O}),onClick:re=>{re.stopPropagation()}},oe)))},_f=(e,t,r)=>{let n=[];return(e||[]).forEach((o,i)=>{var l;const s=xi(i,r);if(o.filters||"filterDropdown"in o||"onFilter"in o)if("filteredValue"in o){let c=o.filteredValue;"filterDropdown"in o||(c=(l=c==null?void 0:c.map(String))!==null&&l!==void 0?l:c),n.push({column:o,key:Ho(o,s),filteredKeys:c,forceFiltered:o.filtered})}else n.push({column:o,key:Ho(o,s),filteredKeys:t&&o.defaultFilteredValue?o.defaultFilteredValue:void 0,forceFiltered:o.filtered});"children"in o&&(n=[].concat(ye(n),ye(_f(o.children,t,s))))}),n};function y6(e,t,r,n,o,i,l,s,c){return r.map((u,d)=>{const f=xi(d,s),{filterOnClose:m=!0,filterMultiple:g=!0,filterMode:v,filterSearch:h}=u;let p=u;if(p.filters||p.filterDropdown){const C=Ho(p,f),b=n.find(y=>{let{key:S}=y;return C===S});p=Object.assign(Object.assign({},p),{title:y=>a.createElement(mU,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:p,columnKey:C,filterState:b,filterOnClose:m,filterMultiple:g,filterMode:v,filterSearch:h,triggerFilter:i,locale:o,getPopupContainer:l,rootClassName:c},ou(u.title,y))})}return"children"in p&&(p=Object.assign(Object.assign({},p),{children:y6(e,t,p.children,n,o,i,l,f,c)})),p})}const Fp=e=>{const t={};return e.forEach(r=>{let{key:n,filteredKeys:o,column:i}=r;const l=n,{filters:s,filterDropdown:c}=i;if(c)t[l]=o||null;else if(Array.isArray(o)){const u=qa(s);t[l]=u.filter(d=>o.includes(String(d)))}else t[l]=null}),t},kf=(e,t,r)=>t.reduce((o,i)=>{const{column:{onFilter:l,filters:s},filteredKeys:c}=i;return l&&c&&c.length?o.map(u=>Object.assign({},u)).filter(u=>c.some(d=>{const f=qa(s),m=f.findIndex(v=>String(v)===String(d)),g=m!==-1?f[m]:d;return u[r]&&(u[r]=kf(u[r],t,r)),l(g,u)})):o},e),S6=e=>e.flatMap(t=>"children"in t?[t].concat(ye(S6(t.children||[]))):[t]),gU=e=>{const{prefixCls:t,dropdownPrefixCls:r,mergedColumns:n,onFilterChange:o,getPopupContainer:i,locale:l,rootClassName:s}=e;ho();const c=a.useMemo(()=>S6(n||[]),[n]),[u,d]=a.useState(()=>_f(c,!0)),f=a.useMemo(()=>{const h=_f(c,!1);if(h.length===0)return h;let p=!0;if(h.forEach(C=>{let{filteredKeys:b}=C;b!==void 0&&(p=!1)}),p){const C=(c||[]).map((b,y)=>Ho(b,xi(y)));return u.filter(b=>{let{key:y}=b;return C.includes(y)}).map(b=>{const y=c[C.findIndex(S=>S===b.key)];return Object.assign(Object.assign({},b),{column:Object.assign(Object.assign({},b.column),y),forceFiltered:y.filtered})})}return h},[c,u]),m=a.useMemo(()=>Fp(f),[f]),g=h=>{const p=f.filter(C=>{let{key:b}=C;return b!==h.key});p.push(h),d(p),o(Fp(p),p)};return[h=>y6(t,r,h,f,l,g,i,void 0,s),f,m]},vU=gU,pU=(e,t,r)=>{const n=a.useRef({});function o(i){var l;if(!n.current||n.current.data!==e||n.current.childrenColumnName!==t||n.current.getRowKey!==r){let c=function(u){u.forEach((d,f)=>{const m=r(d,f);s.set(m,d),d&&typeof d=="object"&&t in d&&c(d[t]||[])})};const s=new Map;c(e),n.current={data:e,childrenColumnName:t,kvMap:s,getRowKey:r}}return(l=n.current.kvMap)===null||l===void 0?void 0:l.get(i)}return[o]};var hU=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const i=e[o];typeof i!="function"&&(r[o]=i)}),r}function bU(e,t,r){const n=r&&typeof r=="object"?r:{},{total:o=0}=n,i=hU(n,["total"]),[l,s]=a.useState(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:x6})),c=f4(l,i,{total:o>0?o:e}),u=Math.ceil((o||e)/c.pageSize);c.current>u&&(c.current=u||1);const d=(m,g)=>{s({current:m!=null?m:1,pageSize:g||c.pageSize})},f=(m,g)=>{var v;r&&((v=r.onChange)===null||v===void 0||v.call(r,m,g)),d(m,g),t(m,g||(c==null?void 0:c.pageSize))};return r===!1?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:f}),d]}const ws="ascend",fd="descend",Gs=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,Vp=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,yU=(e,t)=>t?e[e.indexOf(t)+1]:e[0],jf=(e,t,r)=>{let n=[];const o=(i,l)=>{n.push({column:i,key:Ho(i,l),multiplePriority:Gs(i),sortOrder:i.sortOrder})};return(e||[]).forEach((i,l)=>{const s=xi(l,r);i.children?("sortOrder"in i&&o(i,s),n=[].concat(ye(n),ye(jf(i.children,t,s)))):i.sorter&&("sortOrder"in i?o(i,s):t&&i.defaultSortOrder&&n.push({column:i,key:Ho(i,s),multiplePriority:Gs(i),sortOrder:i.defaultSortOrder}))}),n},$6=(e,t,r,n,o,i,l,s)=>(t||[]).map((u,d)=>{const f=xi(d,s);let m=u;if(m.sorter){const g=m.sortDirections||o,v=m.showSorterTooltip===void 0?l:m.showSorterTooltip,h=Ho(m,f),p=r.find(E=>{let{key:O}=E;return O===h}),C=p?p.sortOrder:null,b=yU(g,C);let y;if(u.sortIcon)y=u.sortIcon({sortOrder:C});else{const E=g.includes(ws)&&a.createElement(JV,{className:G(`${e}-column-sorter-up`,{active:C===ws})}),O=g.includes(fd)&&a.createElement(XV,{className:G(`${e}-column-sorter-down`,{active:C===fd})});y=a.createElement("span",{className:G(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(E&&O)})},a.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},E,O))}const{cancelSort:S,triggerAsc:x,triggerDesc:$}=i||{};let w=S;b===fd?w=$:b===ws&&(w=x);const I=typeof v=="object"?Object.assign({title:w},v):{title:w};m=Object.assign(Object.assign({},m),{className:G(m.className,{[`${e}-column-sort`]:C}),title:E=>{const O=`${e}-column-sorters`,N=a.createElement("span",{className:`${e}-column-title`},ou(u.title,E)),P=a.createElement("div",{className:O},N,y);return v?typeof v!="boolean"&&(v==null?void 0:v.target)==="sorter-icon"?a.createElement("div",{className:`${O} ${e}-column-sorters-tooltip-target-sorter`},N,a.createElement(Qn,Object.assign({},I),y)):a.createElement(Qn,Object.assign({},I),P):P},onHeaderCell:E=>{var O;const N=((O=u.onHeaderCell)===null||O===void 0?void 0:O.call(u,E))||{},P=N.onClick,R=N.onKeyDown;N.onClick=L=>{n({column:u,key:h,sortOrder:b,multiplePriority:Gs(u)}),P==null||P(L)},N.onKeyDown=L=>{L.keyCode===we.ENTER&&(n({column:u,key:h,sortOrder:b,multiplePriority:Gs(u)}),R==null||R(L))};const M=jX(u.title,{}),D=M==null?void 0:M.toString();return C?N["aria-sort"]=C==="ascend"?"ascending":"descending":N["aria-label"]=D||"",N.className=G(N.className,`${e}-column-has-sorters`),N.tabIndex=0,u.ellipsis&&(N.title=(M!=null?M:"").toString()),N}})}return"children"in m&&(m=Object.assign(Object.assign({},m),{children:$6(e,m.children,r,n,o,i,l,f)})),m}),Wp=e=>{const{column:t,sortOrder:r}=e;return{column:t,order:r,field:t.dataIndex,columnKey:t.key}},Kp=e=>{const t=e.filter(r=>{let{sortOrder:n}=r;return n}).map(Wp);if(t.length===0&&e.length){const r=e.length-1;return Object.assign(Object.assign({},Wp(e[r])),{column:void 0})}return t.length<=1?t[0]||{}:t},Hf=(e,t,r)=>{const n=t.slice().sort((l,s)=>s.multiplePriority-l.multiplePriority),o=e.slice(),i=n.filter(l=>{let{column:{sorter:s},sortOrder:c}=l;return Vp(s)&&c});return i.length?o.sort((l,s)=>{for(let c=0;c{const s=l[r];return s?Object.assign(Object.assign({},l),{[r]:Hf(s,t,r)}):l}):o},SU=e=>{const{prefixCls:t,mergedColumns:r,sortDirections:n,tableLocale:o,showSorterTooltip:i,onSorterChange:l}=e,[s,c]=a.useState(jf(r,!0)),u=(h,p)=>{const C=[];return h.forEach((b,y)=>{const S=xi(y,p);if(C.push(Ho(b,S)),Array.isArray(b.children)){const x=u(b.children,S);C.push.apply(C,ye(x))}}),C},d=a.useMemo(()=>{let h=!0;const p=jf(r,!1);if(!p.length){const S=u(r);return s.filter(x=>{let{key:$}=x;return S.includes($)})}const C=[];function b(S){h?C.push(S):C.push(Object.assign(Object.assign({},S),{sortOrder:null}))}let y=null;return p.forEach(S=>{y===null?(b(S),S.sortOrder&&(S.multiplePriority===!1?h=!1:y=!0)):(y&&S.multiplePriority!==!1||(h=!1),b(S))}),C},[r,s]),f=a.useMemo(()=>{var h,p;const C=d.map(b=>{let{column:y,sortOrder:S}=b;return{column:y,order:S}});return{sortColumns:C,sortColumn:(h=C[0])===null||h===void 0?void 0:h.column,sortOrder:(p=C[0])===null||p===void 0?void 0:p.order}},[d]),m=h=>{let p;h.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?p=[h]:p=[].concat(ye(d.filter(C=>{let{key:b}=C;return b!==h.key})),[h]),c(p),l(Kp(p),p)};return[h=>$6(t,h,d,m,n,o,i),d,f,()=>Kp(d)]},w6=(e,t)=>e.map(n=>{const o=Object.assign({},n);return o.title=ou(n.title,t),"children"in o&&(o.children=w6(o.children,t)),o}),xU=e=>[a.useCallback(r=>w6(r,e),[e])],$U=i6((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n}),wU=$U,EU=s6((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n}),IU=EU,OU=e=>{const{componentCls:t,lineWidth:r,lineType:n,tableBorderColor:o,tableHeaderBg:i,tablePaddingVertical:l,tablePaddingHorizontal:s,calc:c}=e,u=`${B(r)} ${n} ${o}`,d=(f,m,g)=>({[`&${t}-${f}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${B(c(m).mul(-1).equal())} ${B(c(c(g).add(r)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` > ${t}-content, > ${t}-header, @@ -526,7 +526,7 @@ https://mparticle.github.io/aquarium/?path=/docs/components-data-entry-select--d label: string onClick: () => void withoutContainer?: boolean -}`,signature:{properties:[{key:"label",value:{name:"string",required:!0}},{key:"onClick",value:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}},required:!0}},{key:"withoutContainer",value:{name:"boolean",required:!1}}]}},description:""}}};const Hte="#52c41a",zte="#ff4d4f",Bte="#f8f6fb",fte=500,mte="4px",Ate="8px",Fte="32px",Vte="16px";function Ed(e,t){return[e[t],...e.slice(0,t),...e.slice(t+1)]}function gte(e){const t=e.findIndex(r=>r.accounts.find(n=>n.workspaces.find(o=>o.isActive)));if(t>=0){const r=e[t],n=r.accounts.findIndex(o=>o.workspaces.find(i=>i.isActive));if(n>=0){const o=r.accounts[n];r.accounts=Ed(r.accounts,n);const i=o.workspaces.findIndex(l=>l.isActive);return o.workspaces=Ed(o.workspaces,i),Ed(e,t)}}return e}const vte=8;function O7(e){const[t,r]=a.useState(""),n=a.useRef(null),o=a.useMemo(()=>gte(e.orgs),[e.orgs]),[i,l]=a.useState(o),[s,c]=a.useState(!1);a.useEffect(()=>{l(o)},[o]),Fm(()=>{var x,$,w;const S=(w=(x=e.avatarOptions)==null?void 0:x.src)!=null?w:($=e.avatarOptions)==null?void 0:$.srcSet;typeof S=="string"&&jee(S,c)});const u=a.useCallback(Y6(l,200),[]),d=!!t&&!i.length,f=a.useMemo(()=>b(),[i]),m=a.useMemo(()=>o.flatMap(S=>{let x=[];const{accounts:$}=S;if($){const w=$.flatMap(({workspaces:I})=>I);x=x.concat(w)}return x}).find(S=>S.isActive),[o]),g=_ee(m==null?void 0:m.label),v=Hee(m==null?void 0:m.label)?zee(m==null?void 0:m.label,vte):void 0,h=!!t||f.filter(S=>!!S.label).length>5,p=S=>{setTimeout(S?()=>{var x;(x=n.current)==null||x.focus({cursor:"all"})}:()=>{var x;(x=n.current)==null||x.blur()},0)};return le.jsx(du,{arrow:!1,placement:"right",overlayInnerStyle:{padding:mte},overlayClassName:"workspaceSelector__popover",onOpenChange:p,afterOpenChange:p,content:le.jsx(I7,{onSearch:y,searchTerm:t,hasSearchInput:h,inputRef:n,hasNoResults:d,navigationButtonItemOptions:e.navigationButtonItemOptions,menuItems:f}),children:le.jsx("div",{className:"globalNavigation__item workspaceSelector__menuItem",onClick:S=>{p(!0)},children:le.jsxs(po,{vertical:!0,align:"center",justify:"center",children:[le.jsx(qm,mn(Oe({},e.avatarOptions),{className:"workspaceSelector__avatar",children:C(s,g)})),v&&le.jsx(Kr.Text,{className:"workspaceSelector__label",children:v})]})})});function C(S,x){return S?"":x}function b(){return i.reduce((S,x)=>(S.push({type:"org",className:"workspaceSelector__orgName"+(x.label?"":" u-display-none"),label:x.label,id:x.id,key:`${x.id}_${x.label}`,accounts:x.accounts,workspaces:x.accounts.flatMap($=>$.workspaces)}),x.accounts.forEach($=>{S.push({type:"account",className:"workspaceSelector__accountName"+($.label?"":" u-display-none"),label:$.label,id:$.id,key:`${$.id}_${$.label}`,workspaces:$.workspaces}),$.workspaces.forEach(w=>{S.push({type:"workspace",className:"workspaceSelector__workspaceName"+(w.isActive?" workspaceSelector__workspaceName--active":""),label:le.jsxs(po,{justify:"space-between",align:"center",gap:"small",children:[w.label,w.isActive&&le.jsx(Xn,{name:"selected",size:"xs",color:"text"})]}),id:w.id,key:`${w.id}_${w.label}`,onClick:w.onClick,isActive:w.isActive})})}),S),[])}function y(S){const x=S.target.value.toLowerCase();if(r(x),x){const w=$();u(w)}else l(o);function $(){return o.reduce((I,E)=>{if(w(E))I.push(E);else{const O=Oe({},E);O.accounts=[],E.accounts.forEach(N=>{const P=Oe({},N);P.workspaces=[],w(N)?O.accounts.push(N):(N.workspaces.forEach(R=>{w(R)&&P.workspaces.push(R)}),P.workspaces.length&&O.accounts.push(P))}),O.accounts.length&&I.push(O)}return I},[]);function w(I){return!!I.label&&I.label.toString().toLowerCase().includes(x)||!!I.id&&I.id.toString().toLowerCase().includes(x)}}}}O7.__docgenInfo={description:"",methods:[],displayName:"WorkspaceSelector",props:{orgs:{required:!0,tsType:{name:"Array",elements:[{name:"INavigationOrg"}],raw:"INavigationOrg[]"},description:""},avatarOptions:{required:!1,tsType:{name:"IAvatarProps"},description:""},navigationButtonItemOptions:{required:!1,tsType:{name:"signature",type:"object",raw:`{ +}`,signature:{properties:[{key:"label",value:{name:"string",required:!0}},{key:"onClick",value:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}},required:!0}},{key:"withoutContainer",value:{name:"boolean",required:!1}}]}},description:""}}};const Hte="#3600d1",zte="#52c41a",Bte="#ff4d4f",Ate="#f8f6fb",fte=500,Fte="rgba(0, 0, 0, 0.4)",mte="4px",Vte="8px",Wte="32px",Kte="16px";function Ed(e,t){return[e[t],...e.slice(0,t),...e.slice(t+1)]}function gte(e){const t=e.findIndex(r=>r.accounts.find(n=>n.workspaces.find(o=>o.isActive)));if(t>=0){const r=e[t],n=r.accounts.findIndex(o=>o.workspaces.find(i=>i.isActive));if(n>=0){const o=r.accounts[n];r.accounts=Ed(r.accounts,n);const i=o.workspaces.findIndex(l=>l.isActive);return o.workspaces=Ed(o.workspaces,i),Ed(e,t)}}return e}const vte=8;function O7(e){const[t,r]=a.useState(""),n=a.useRef(null),o=a.useMemo(()=>gte(e.orgs),[e.orgs]),[i,l]=a.useState(o),[s,c]=a.useState(!1);a.useEffect(()=>{l(o)},[o]),Fm(()=>{var x,$,w;const S=(w=(x=e.avatarOptions)==null?void 0:x.src)!=null?w:($=e.avatarOptions)==null?void 0:$.srcSet;typeof S=="string"&&jee(S,c)});const u=a.useCallback(Y6(l,200),[]),d=!!t&&!i.length,f=a.useMemo(()=>b(),[i]),m=a.useMemo(()=>o.flatMap(S=>{let x=[];const{accounts:$}=S;if($){const w=$.flatMap(({workspaces:I})=>I);x=x.concat(w)}return x}).find(S=>S.isActive),[o]),g=_ee(m==null?void 0:m.label),v=Hee(m==null?void 0:m.label)?zee(m==null?void 0:m.label,vte):void 0,h=!!t||f.filter(S=>!!S.label).length>5,p=S=>{setTimeout(S?()=>{var x;(x=n.current)==null||x.focus({cursor:"all"})}:()=>{var x;(x=n.current)==null||x.blur()},0)};return le.jsx(du,{arrow:!1,placement:"right",overlayInnerStyle:{padding:mte},overlayClassName:"workspaceSelector__popover",onOpenChange:p,afterOpenChange:p,content:le.jsx(I7,{onSearch:y,searchTerm:t,hasSearchInput:h,inputRef:n,hasNoResults:d,navigationButtonItemOptions:e.navigationButtonItemOptions,menuItems:f}),children:le.jsx("div",{className:"globalNavigation__item workspaceSelector__menuItem",onClick:S=>{p(!0)},children:le.jsxs(po,{vertical:!0,align:"center",justify:"center",children:[le.jsx(qm,mn(Oe({},e.avatarOptions),{className:"workspaceSelector__avatar",children:C(s,g)})),v&&le.jsx(Kr.Text,{className:"workspaceSelector__label",children:v})]})})});function C(S,x){return S?"":x}function b(){return i.reduce((S,x)=>(S.push({type:"org",className:"workspaceSelector__orgName"+(x.label?"":" u-display-none"),label:x.label,id:x.id,key:`${x.id}_${x.label}`,accounts:x.accounts,workspaces:x.accounts.flatMap($=>$.workspaces)}),x.accounts.forEach($=>{S.push({type:"account",className:"workspaceSelector__accountName"+($.label?"":" u-display-none"),label:$.label,id:$.id,key:`${$.id}_${$.label}`,workspaces:$.workspaces}),$.workspaces.forEach(w=>{S.push({type:"workspace",className:"workspaceSelector__workspaceName"+(w.isActive?" workspaceSelector__workspaceName--active":""),label:le.jsxs(po,{justify:"space-between",align:"center",gap:"small",children:[w.label,w.isActive&&le.jsx(Xn,{name:"selected",size:"xs",color:"text"})]}),id:w.id,key:`${w.id}_${w.label}`,onClick:w.onClick,isActive:w.isActive})})}),S),[])}function y(S){const x=S.target.value.toLowerCase();if(r(x),x){const w=$();u(w)}else l(o);function $(){return o.reduce((I,E)=>{if(w(E))I.push(E);else{const O=Oe({},E);O.accounts=[],E.accounts.forEach(N=>{const P=Oe({},N);P.workspaces=[],w(N)?O.accounts.push(N):(N.workspaces.forEach(R=>{w(R)&&P.workspaces.push(R)}),P.workspaces.length&&O.accounts.push(P))}),O.accounts.length&&I.push(O)}return I},[]);function w(I){return!!I.label&&I.label.toString().toLowerCase().includes(x)||!!I.id&&I.id.toString().toLowerCase().includes(x)}}}}O7.__docgenInfo={description:"",methods:[],displayName:"WorkspaceSelector",props:{orgs:{required:!0,tsType:{name:"Array",elements:[{name:"INavigationOrg"}],raw:"INavigationOrg[]"},description:""},avatarOptions:{required:!1,tsType:{name:"IAvatarProps"},description:""},navigationButtonItemOptions:{required:!1,tsType:{name:"signature",type:"object",raw:`{ label: string onClick: () => void withoutContainer?: boolean @@ -535,4 +535,4 @@ https://mparticle.github.io/aquarium/?path=/docs/components-data-entry-select--d onClick: () => void withoutContainer?: boolean }`,signature:{properties:[{key:"label",value:{name:"string",required:!0}},{key:"onClick",value:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}},required:!0}},{key:"withoutContainer",value:{name:"boolean",required:!1}}]}},description:""},suiteSelectorOptions:{required:!1,tsType:{name:"ISuiteSelectorOptions"},description:""},minimapOptions:{required:!1,tsType:{name:"ISuiteSelectorOptions"},description:`@deprecated This variant is a temporary fix for new component. -This will be removed once all the apps updated.`},notificationCenter:{required:!1,tsType:{name:"INotificationCenterProps"},description:""}}};export{Jee as $,qm as A,d7 as B,oW as C,Wo as D,uu as E,po as F,o7 as G,s7 as H,Xn as I,S7 as J,Wm as K,Gm as L,io as M,Dee as N,Vo as O,du as P,X6 as Q,Bm as R,Ko as S,$o as T,zm as U,Nl as V,zl as W,Pee as X,U6 as Y,Am as Z,m7 as _,Eee as a,tte as a0,lo as a1,wo as a2,Qee as a3,Yee as a4,Al as a5,Cm as a6,Xm as a7,Vte as a8,Hm as a9,jr as aa,da as ab,g7 as ac,p7 as ad,Ate as ae,v7 as af,mu as ag,Ia as ah,ote as ai,rte as aj,Fr as ak,ate as al,h7 as am,a7 as an,Xee as ao,Oee as ap,Uee as aq,Iee as ar,Zee as as,jn as at,M7 as au,bte as av,xte as aw,jte as ax,fu as b,zo as c,Kr as d,Bl as e,l7 as f,su as g,nte as h,vo as i,qee as j,q6 as k,Lee as l,Km as m,r7 as n,f7 as o,jl as p,Hl as q,cu as r,u7 as s,c7 as t,Hte as u,hn as v,Bte as w,Fte as x,zte as y,i7 as z}; +This will be removed once all the apps updated.`},notificationCenter:{required:!1,tsType:{name:"INotificationCenterProps"},description:""}}};export{Am as $,qm as A,d7 as B,oW as C,Wo as D,uu as E,po as F,Bte as G,i7 as H,Xn as I,o7 as J,s7 as K,Gm as L,io as M,S7 as N,Wm as O,du as P,Dee as Q,Bm as R,Ko as S,$o as T,Vo as U,X6 as V,zm as W,Nl as X,zl as Y,Pee as Z,U6 as _,Eee as a,m7 as a0,Jee as a1,tte as a2,lo as a3,wo as a4,Qee as a5,Yee as a6,Al as a7,Cm as a8,Xm as a9,Kte as aa,Hm as ab,jr as ac,da as ad,g7 as ae,p7 as af,Vte as ag,v7 as ah,mu as ai,Ia as aj,ote as ak,rte as al,Fr as am,ate as an,h7 as ao,a7 as ap,Xee as aq,Oee as ar,Uee as as,Iee as at,Zee as au,jn as av,M7 as aw,bte as ax,xte as ay,jte as az,fu as b,zo as c,Kr as d,Bl as e,l7 as f,su as g,Fte as h,Hte as i,zte as j,nte as k,vo as l,qee as m,q6 as n,Lee as o,Km as p,r7 as q,f7 as r,jl as s,Hl as t,cu as u,u7 as v,c7 as w,hn as x,Ate as y,Wte as z}; diff --git a/pr-preview/pr-459/assets/GlobalNavigation.stories-CpyFqYcf.js b/pr-preview/pr-459/assets/GlobalNavigation.stories-CEaMqFO0.js similarity index 99% rename from pr-preview/pr-459/assets/GlobalNavigation.stories-CpyFqYcf.js rename to pr-preview/pr-459/assets/GlobalNavigation.stories-CEaMqFO0.js index a510d191b..dfa75ceb5 100644 --- a/pr-preview/pr-459/assets/GlobalNavigation.stories-CpyFqYcf.js +++ b/pr-preview/pr-459/assets/GlobalNavigation.stories-CEaMqFO0.js @@ -1,4 +1,4 @@ -var Ve=Object.defineProperty,Xe=Object.defineProperties;var Ye=Object.getOwnPropertyDescriptors;var U=Object.getOwnPropertySymbols;var en=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable;var G=(n,a,i)=>a in n?Ve(n,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[a]=i,t=(n,a)=>{for(var i in a||(a={}))en.call(a,i)&&G(n,i,a[i]);if(U)for(var i of U(a))nn.call(a,i)&&G(n,i,a[i]);return n},o=(n,a)=>Xe(n,Ye(a));var I=(n,a,i)=>new Promise((r,s)=>{var h=p=>{try{d(i.next(p))}catch(D){s(D)}},c=p=>{try{d(i.throw(p))}catch(D){s(D)}},d=p=>p.done?r(p.value):Promise.resolve(p.value).then(h,c);d((i=i.apply(n,a)).next())});import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{e as v,s as b,u as k,f as tn}from"./index-C7MMNn6a.js";import{r as C}from"./index-CNk6hRaE.js";import{aa as on,au as m,av as an,F as rn,i as _e,aw as q,M as ln,I as l,b as De,B as Ue}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-TL6_15PV.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";function sn(n,a,i){const r=[];for(let s=0;s{alert(`Selected Workspace ${s}-${c}-${p}`)}})}r.push(h)}return r}const O={label:"Aqua",icon:e.jsx(l,{name:"alicorn",size:"xxl",color:"brand"}),type:"custom-size",onSuiteLogoClick:()=>{alert("Going to Aqua Home!")}},S=[{label:"Tool 1",isActive:!0,icon:e.jsx(l,{name:"privacy"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Tool 2",icon:e.jsx(l,{name:"favorite"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Tool 3",icon:e.jsx(l,{name:"connections"}),hrefOptions:{href:"/"}}],w=[{label:"Notifications",hideLabel:!0,icon:e.jsx(l,{name:"api"}),hrefOptions:{href:"/"}},{label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}},{label:"button",type:"button",buttonOptions:{onClick:()=>{alert("go")}}},{type:"button",label:"go",buttonOptions:{href:"/",target:"_blank"}}]}],x=[{id:"org1",label:"Org 1",accounts:[{id:"account1",label:"account 1",workspaces:[{id:"workspace1",label:"Workspace 111111111",isActive:!0,onClick:()=>{alert("Selected Workspace 1")}}]}]}],cn={open:!1,content:()=>e.jsx("div",{}),onClose:()=>{},onPreferencesClick:()=>{}},Hn={title:"Components/Navigation/GlobalNavigation",component:n=>e.jsx(on,{style:{minHeight:"800px"},children:e.jsx(m,t({},n))}),args:{logo:O,tools:S,management:w,orgs:x,notificationCenter:cn,navigationButtonItemOptions:{label:"Sign Out of mParticle",onClick:()=>{alert("signing out!")}},onMpHomeClick:()=>{alert("Going to mP!")}},argTypes:{notificationCenter:{content:{control:"string",table:{type:{summary:"ReactNode or RenderFunction to render the content"}}}}}},y={play:a=>I(void 0,[a],function*({canvasElement:n}){var c;const i=n.querySelector("li.globalNavigation__item");if(!i)throw new Error("Menu item not found");const r=i.querySelector("a");yield v(r).toBeNull();const s=n.querySelector(".globalNavigation__link");if(!s)throw new Error("Link item not found");yield v((c=s.computedStyleMap().get("cursor"))==null?void 0:c.toString()).toBe("pointer");const h=s.parentElement;yield v(h).toBeTruthy(),yield v(h).toHaveProperty("href")})},Ge={label:"Data Platform",icon:e.jsx(l,{name:"dataPlatform"})},qe={label:"Overview",icon:"overview",type:"background-solid",onSuiteLogoClick:()=>{alert("Going to mP Home!")}},dn={label:"Data Platform",icon:"catalog",type:"default",onSuiteLogoClick:()=>{alert("Going to mP Home!")}};function F(n){return e.jsxs(De,{children:[n,e.jsx(Ue,{color:"blue",count:"Beta",className:"globalNavigation__badge"})]})}const g=[{label:"Activity",icon:e.jsx(l,{name:"trends"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Platform Trends"},{hrefOptions:{href:"/"},label:e.jsxs(De,{children:["System Alerts",e.jsx(Ue,{color:"red"})]})},{hrefOptions:{href:"/"},label:"Event Forwarding"},{hrefOptions:{href:"/"},label:F("Observability")}]},{label:"Data Master",icon:e.jsx(l,{name:"database"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Catalog"},{hrefOptions:{href:"/"},label:"Plans"},{hrefOptions:{href:"/"},label:"Live Stream"},{hrefOptions:{href:"/"},label:F("User Groups")},{hrefOptions:{href:"/"},label:"Calculated Attributes"},{hrefOptions:{href:"/"},label:"Rules"}]},{label:"Audiences",icon:e.jsx(l,{name:"users"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Real-time"},{hrefOptions:{href:"/"},label:"Standard"},{hrefOptions:{href:"/"},label:"Journeys"}]},{label:"Connections",icon:e.jsx(l,{name:"connections"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Connect"},{hrefOptions:{href:"/"},label:"Platform Filters"},{hrefOptions:{href:"/"},label:"Feed Filters"}]},{label:"Setup",icon:e.jsx(l,{name:"setup"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Inputs"},{hrefOptions:{href:"/"},label:"Outputs"},{hrefOptions:{href:"/"},label:"Data Warehouse"},{hrefOptions:{href:"/"},label:"CRM"}]},{label:"Directory",icon:e.jsx(l,{name:"myHub"}),hrefOptions:{href:"/"}}],u=[{isActive:!0,label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Platform Settings"},{hrefOptions:{href:"/"},label:"User Settings"},{hrefOptions:{href:"/"},label:e.jsx(_e,{type:"primary",children:"Switch to Legacy UI"})}]}],f=[{id:"org1",label:"Org 1",accounts:[{id:"account1",label:"Account 1",workspaces:[{id:"workspace1",label:"Workspace 1",isActive:!1,onClick:()=>{alert("Selected workspace 1")}},{id:"workspace1a",label:"Workspace 1a",isActive:!1,onClick:()=>{alert("Selected workspace 1a")}},{id:"workspace1b",label:"Workspace 1b",isActive:!1,onClick:()=>{alert("Selected workspace 1b")}}]}]},{id:"org2",label:"Org 2",accounts:[{id:"account2",label:"Account 2",workspaces:[{id:"workspace2",label:"Workspace 2",isActive:!1,onClick:()=>{alert("Selected workspace 2")}}]},{id:"account2a",label:"Account 2a",workspaces:[{id:"workspace2a",label:"Workspace 2a",isActive:!1,onClick:()=>{alert("Selected workspace 2")}},{id:"workspace2ab",label:"_Workspace 2ab",isActive:!0,onClick:()=>{alert("Selected workspace 2")}}]}]},{id:"org3",label:"Org 3",accounts:[{id:"account3",label:"Account 3",workspaces:[{id:"workspace3",label:"Workspace 3",isActive:!1,onClick:()=>{alert("Selected workspace 3")}}]}]},{id:"org4",label:"Org 4",accounts:[{id:"account4",label:"Account 4",workspaces:[{id:"workspace4",label:"Workspace 4",isActive:!1,onClick:()=>{alert("Selected workspace 4")}}]}]},{id:"org5",label:"Org 5",accounts:[{id:"account5",label:"Account 5",workspaces:[{id:"workspace5",label:"Workspace 5",isActive:!1,onClick:()=>{alert("Selected workspace 5")}}]}]},{id:"org6",label:"Org 6",accounts:[{id:"account6",label:"Account 6",workspaces:[{id:"workspace6",label:"Workspace 6",isActive:!1,onClick:()=>{alert("Selected workspace 6")}}]}]},{id:"org7",label:"Org 7",accounts:[{id:"account7",label:"Account 7",workspaces:[{id:"workspace7",label:"Workspace 7",isActive:!1,onClick:()=>{alert("Selected workspace 7")}}]}]}],j={args:{onSearchClick:()=>{alert("Searching!")},logo:Ge,tools:g,management:u,orgs:f,minimapOptions:{overviewHref:"/",onLinkClick:n=>{alert(n.href)},onUnauthorizedClick:n=>{alert(`unauthorized ${n==null?void 0:n.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]},onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"}}},pn=sn(1e3,4,4),L={render:n=>e.jsx("div",{style:{width:800},children:e.jsx(m,o(t({},n),{onSearchClick:()=>{alert("Searching!")},logo:Ge,tools:g,management:u,orgs:pn,onMpHomeClick:()=>{alert("going to overview map")}}))})},Fe={label:"Analytics",icon:e.jsx(l,{name:"analytics"}),onSuiteLogoClick:()=>{alert("Going to Analytics Home!")}},Ze=[{label:"My Hub",icon:e.jsx(l,{name:"myHub"}),isActive:!0,hrefOptions:{href:"/"}},{label:"Saved",icon:e.jsx(l,{name:"savedProjects"}),hrefOptions:{href:"/"}},{label:"Manage Data",icon:e.jsx(l,{name:"database"}),hrefOptions:{href:"/"}}],Je=[{label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]}],Ke=[{type:"group",label:"Dashboard"},{title:"Dashboard",description:"Create a new dashboard to organize your saved analysis.",onClick:()=>{alert("Opening New Dashboard Modal")}},{label:"Segmentation",type:"group"},{onClick:()=>{alert("clicked")},title:"Event Segmentation",description:"Measure engagement based on behaviors and attributes."},{disabled:!0,tooltip:"is disabled",onClick:()=>{alert("clicked disabled")},title:"User Segmentation",description:"Measure unique users based on behaviors and attributes."},{title:"Revenue Analysis",description:"Track revenue over time."},{title:"Frequency",description:"Analyze how many distinct times an event is performed within a given interval.",tooltip:"This feature is currently locked",onClick:()=>{alert("Opening paywall modal.")},isLocked:!0},{label:"Funnel",type:"group"},{title:"Conversion and Drop Off",description:"Identify points of friction between funnel steps."},{title:"Multipath Funnel",description:"Analyze multiple customer paths to identify the optimal path to conversion."},{title:"Conversion Over Time",description:"Track key conversion metrics over time."},{title:"Contribution",description:"Reverse the funnel to measure each step's contribution to the target action."},{label:"Journeys",type:"group"},{isLoading:!0,tooltip:"Journeys data is loading, please check back later.",title:"Journeys From an Event",description:"Discover the most common paths users take from a starting point."},{title:"Journeys To an Event",description:"Discover the most common paths users take towards a target action."},{label:"Cohort",type:"group"},{title:"Retention",description:"Analyze how often user cohorts return to engage with a target action."},{title:"Activation",description:"Analyze when user cohorts engage with a target action for the first time."},{label:"Users",type:"group"},{title:"User Lookup by ID",description:"Find a user by searching for their User ID."},{title:"User Lookup by Event",description:"Display a list of users who performed an event."},{title:"User Lookup by Segment",description:"Display a list of users who are in a particular User Segment."}],Qe=[{id:"org1",label:"Org 1",accounts:[{id:"",label:"",workspaces:[{id:"project 1",label:"Project 1",isActive:!1,onClick:()=>{alert("Selected project 1")}}]}]},{id:"org2",label:"Org 2",accounts:[{id:"",label:"",workspaces:[{id:"project 2",label:"Project2Project2Project2Project2Project2Project2",isActive:!0,onClick:()=>{alert("Selected project 2")}}]}]},{id:"org3",label:"Org 3",accounts:[{id:"",label:"",workspaces:[{id:"project 3",label:"Project 3",isActive:!1,onClick:()=>{alert("Selected project 3")}}]}]},{id:"org4",label:"Org 4",accounts:[{id:"",label:"",workspaces:[{id:"project 4",label:"Project 4",isActive:!1,onClick:()=>{alert("Selected project 4")}}]}]},{id:"org5",label:"Org 5",accounts:[{id:"",label:"",workspaces:[{id:"project 5",label:"Project 5",isActive:!1,onClick:()=>{alert("Selected project 5")}}]}]},{id:"org6",label:"Org 6",accounts:[{id:"",label:"",workspaces:[{id:"project 6",label:"Project 6",isActive:!1,onClick:()=>{alert("Selected project 6")}}]}]},{id:"org7",label:"Org 7",accounts:[{id:"",label:"",workspaces:[{id:"project 7",label:"Project 7",isActive:!1,onClick:()=>{alert("Selected project 7")}}]}]}],M={args:{logo:Fe,tools:Ze,management:Je,createItems:Ke,orgs:Qe,navigationButtonItemOptions:{label:"Custom Signout Label",onClick:()=>{alert("Signout!")}},onMpHomeClick:()=>{alert("going to overview map")}}},P={args:{logo:Fe,tools:Ze,management:Je,createItems:Ke,orgs:Qe,minimapOptions:{overviewHref:"/",onLinkClick:n=>{n.linkId!=="analytics"&&alert(n.href)},links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}],activeLink:"analytics"},navigationButtonItemOptions:{label:"Custom Signout Label",onClick:()=>{alert("Signout!")}},onMpHomeClick:()=>{alert("going to overview map")}}},hn={label:"Predictions",icon:"predictions",type:"background-solid",onSuiteLogoClick:()=>{alert("Going to Predictions Home!")}},mn=[{label:"Pipelines",icon:e.jsx(l,{name:"predictions",variant:"duo-tone"}),hrefOptions:{href:"/"}},{label:"Projects",icon:e.jsx(l,{name:"journeys"}),hrefOptions:{href:"/"},isActive:!0},{label:"Data",icon:e.jsx(l,{name:"database"}),hrefOptions:{href:"/"}},{label:"API",icon:e.jsx(l,{name:"predictions",variant:"duo-tone"}),hrefOptions:{href:"/"}},{label:"Insights",icon:e.jsx(l,{name:"insights"}),hrefOptions:{href:"/"}}],gn=[{label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]}],un=[{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 1",label:"Account 1",onClick:()=>{alert("Selected Account 1")},isActive:!1}]}]},{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 2",label:"Account 2",onClick:()=>{alert("Selected Account 2")},isActive:!0}]}]},{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 3",label:"Account 3",onClick:()=>{alert("Selected Account 3")},isActive:!1}]}]},{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 4",label:"Account 4",onClick:()=>{alert("Selected Account 4")},isActive:!1}]}]}],N={args:{logo:hn,tools:mn,management:gn,orgs:un,onMpHomeClick:()=>{alert("going to overview map")},navigationButtonItemOptions:{label:"Sign Out of mParticle",onClick:()=>{alert("onSignout click")}},minimapOptions:{overviewHref:"/",onLinkClick:n=>{n.linkId!=="predictions"&&alert(n.href)},links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}],activeLink:"predictions"}}},A={args:{orgs:f},play:()=>I(void 0,null,function*(){const n=b.getByText("_W2");yield k.hover(n);const a=yield b.findByPlaceholderText("Search");yield k.type(a,"123{enter}")})},T={play:()=>I(void 0,null,function*(){const n=tn().mockImplementation(()=>{});global.alert=n;const a=b.getByText("Show Notification");yield k.click(a);const i=yield b.findByText("Remind me later");yield k.click(i),yield v(n).toBeCalledWith("Remind me later"),yield k.click(a);const r=yield b.findByText("Take me there");yield k.click(r),yield v(n).toBeCalledWith("Take me there")}),render:n=>{const[a,i]=an({onClose:()=>{alert("Notification closed")},onRemindMeLater:()=>{alert("Remind me later")},onTakeMeThere:()=>{alert("Take me there")}});return e.jsxs(rn,{style:{minHeight:800,width:600,border:"1px solid black"},justify:"space-between",vertical:!1,children:[i,e.jsx("div",{children:e.jsx(m,t({},n))}),e.jsx(_e,{onClick:a,children:"Show Notification"})]})},args:{logo:O,tools:S,management:w,orgs:x,navigationButtonItemOptions:{label:"Sign Out of mParticle",onClick:()=>{alert("signing out!")}},onMpHomeClick:()=>{alert("Going to mP!")}}},B={args:{onSearchClick:()=>{alert("Searching!")},logo:{onSuiteLogoClick:()=>{},label:""},tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!1}},H={args:{onSearchClick:()=>{alert("Searching!")},logo:qe,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!0}},W={args:{onSearchClick:()=>{alert("Searching!")},logo:dn,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!0}},z={render:()=>{const[n,a]=C.useState(!1),i={label:"Sign Out of mParticle",onClick:()=>{alert("Signout!")}},r={label:"Data Platform",icon:"catalog",type:"background-solid",onSuiteLogoClick:()=>{a(s=>!s)},navSwitcherTourOptions:{open:n,onClose:()=>{a(!1)}}};return e.jsx("div",{style:{width:800},children:e.jsx(m,{onSearchClick:()=>{alert("Searching!")},logo:r,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},navigationButtonItemOptions:i})})}},E={args:{onSearchClick:()=>{alert("Searching!")},logo:qe,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!0,suiteSelectorOptions:{overviewHref:"/",onLinkClick:n=>{alert(n.href)},onUnauthorizedClick:n=>{alert(`unauthorized ${n==null?void 0:n.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}},$={render:n=>{const[a,i]=C.useState(!1);return e.jsx("div",{children:e.jsx(m,o(t({},n),{notificationCenter:{open:a,onOpenChange:r=>{i(r)},content:()=>e.jsxs("div",{children:[e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"})]})},logo:O,tools:S,management:w,orgs:x,showSuiteLogo:!0,onSearchClick:()=>{alert("Searching!")},suiteSelectorOptions:{overviewHref:"/",onLinkClick:r=>{alert(r.href)},onUnauthorizedClick:r=>{alert(`unauthorized ${r==null?void 0:r.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}))})}},R={render:n=>{const[a,i]=C.useState(!1);return e.jsx("div",{children:e.jsx(m,o(t({},n),{notificationCenter:{open:a,onOpenChange:r=>{i(r)},content:()=>e.jsxs("div",{children:[e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content End"})]})},logo:O,tools:S,management:w,orgs:x,showSuiteLogo:!0,onSearchClick:()=>{alert("Searching!")},suiteSelectorOptions:{overviewHref:"/",onLinkClick:r=>{alert(r.href)},onUnauthorizedClick:r=>{alert(`unauthorized ${r==null?void 0:r.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}))})}},_={render:n=>{const[a,i]=C.useState(!1),[r,s]=C.useState(!1),[h,c]=C.useState(q);return e.jsxs("div",{children:[e.jsx(ln,{open:r,maskClosable:!1,destroyOnClose:!0,onCancel:()=>{s(!1)},onOk:()=>{s(!1)},afterClose:()=>{c(q)},centered:!0,children:e.jsxs("div",{children:[e.jsx("p",{children:"Message Title"}),e.jsx("p",{children:"Message Description"})]})}),e.jsx(m,o(t({},n),{notificationCenter:{open:a,zIndex:h,onOpenChange:d=>{r||i(d)},content:()=>e.jsxs("div",{children:[e.jsx("div",{onClick:()=>{c(0),s(!0)},children:"Open Modal"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"})]}),onClose:()=>{i(!1)},onPreferencesClick:()=>{i(!1)}},logo:O,tools:S,management:w,orgs:x,showSuiteLogo:!0,onSearchClick:()=>{alert("Searching!")},suiteSelectorOptions:{overviewHref:"/",onLinkClick:d=>{alert(d.href)},onUnauthorizedClick:d=>{alert(`unauthorized ${d==null?void 0:d.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}))]})}};var Z,J,K;y.parameters=o(t({},y.parameters),{docs:o(t({},(Z=y.parameters)==null?void 0:Z.docs),{source:t({originalSource:`{ +var Ve=Object.defineProperty,Xe=Object.defineProperties;var Ye=Object.getOwnPropertyDescriptors;var U=Object.getOwnPropertySymbols;var en=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable;var G=(n,a,i)=>a in n?Ve(n,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[a]=i,t=(n,a)=>{for(var i in a||(a={}))en.call(a,i)&&G(n,i,a[i]);if(U)for(var i of U(a))nn.call(a,i)&&G(n,i,a[i]);return n},o=(n,a)=>Xe(n,Ye(a));var I=(n,a,i)=>new Promise((r,s)=>{var h=p=>{try{d(i.next(p))}catch(D){s(D)}},c=p=>{try{d(i.throw(p))}catch(D){s(D)}},d=p=>p.done?r(p.value):Promise.resolve(p.value).then(h,c);d((i=i.apply(n,a)).next())});import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{e as v,s as b,u as k,f as tn}from"./index-C7MMNn6a.js";import{r as C}from"./index-CNk6hRaE.js";import{ac as on,aw as m,ax as an,F as rn,l as _e,ay as q,M as ln,I as l,b as De,B as Ue}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-TL6_15PV.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";function sn(n,a,i){const r=[];for(let s=0;s{alert(`Selected Workspace ${s}-${c}-${p}`)}})}r.push(h)}return r}const O={label:"Aqua",icon:e.jsx(l,{name:"alicorn",size:"xxl",color:"brand"}),type:"custom-size",onSuiteLogoClick:()=>{alert("Going to Aqua Home!")}},S=[{label:"Tool 1",isActive:!0,icon:e.jsx(l,{name:"privacy"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Tool 2",icon:e.jsx(l,{name:"favorite"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Tool 3",icon:e.jsx(l,{name:"connections"}),hrefOptions:{href:"/"}}],w=[{label:"Notifications",hideLabel:!0,icon:e.jsx(l,{name:"api"}),hrefOptions:{href:"/"}},{label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}},{label:"button",type:"button",buttonOptions:{onClick:()=>{alert("go")}}},{type:"button",label:"go",buttonOptions:{href:"/",target:"_blank"}}]}],x=[{id:"org1",label:"Org 1",accounts:[{id:"account1",label:"account 1",workspaces:[{id:"workspace1",label:"Workspace 111111111",isActive:!0,onClick:()=>{alert("Selected Workspace 1")}}]}]}],cn={open:!1,content:()=>e.jsx("div",{}),onClose:()=>{},onPreferencesClick:()=>{}},Hn={title:"Components/Navigation/GlobalNavigation",component:n=>e.jsx(on,{style:{minHeight:"800px"},children:e.jsx(m,t({},n))}),args:{logo:O,tools:S,management:w,orgs:x,notificationCenter:cn,navigationButtonItemOptions:{label:"Sign Out of mParticle",onClick:()=>{alert("signing out!")}},onMpHomeClick:()=>{alert("Going to mP!")}},argTypes:{notificationCenter:{content:{control:"string",table:{type:{summary:"ReactNode or RenderFunction to render the content"}}}}}},y={play:a=>I(void 0,[a],function*({canvasElement:n}){var c;const i=n.querySelector("li.globalNavigation__item");if(!i)throw new Error("Menu item not found");const r=i.querySelector("a");yield v(r).toBeNull();const s=n.querySelector(".globalNavigation__link");if(!s)throw new Error("Link item not found");yield v((c=s.computedStyleMap().get("cursor"))==null?void 0:c.toString()).toBe("pointer");const h=s.parentElement;yield v(h).toBeTruthy(),yield v(h).toHaveProperty("href")})},Ge={label:"Data Platform",icon:e.jsx(l,{name:"dataPlatform"})},qe={label:"Overview",icon:"overview",type:"background-solid",onSuiteLogoClick:()=>{alert("Going to mP Home!")}},dn={label:"Data Platform",icon:"catalog",type:"default",onSuiteLogoClick:()=>{alert("Going to mP Home!")}};function F(n){return e.jsxs(De,{children:[n,e.jsx(Ue,{color:"blue",count:"Beta",className:"globalNavigation__badge"})]})}const g=[{label:"Activity",icon:e.jsx(l,{name:"trends"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Platform Trends"},{hrefOptions:{href:"/"},label:e.jsxs(De,{children:["System Alerts",e.jsx(Ue,{color:"red"})]})},{hrefOptions:{href:"/"},label:"Event Forwarding"},{hrefOptions:{href:"/"},label:F("Observability")}]},{label:"Data Master",icon:e.jsx(l,{name:"database"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Catalog"},{hrefOptions:{href:"/"},label:"Plans"},{hrefOptions:{href:"/"},label:"Live Stream"},{hrefOptions:{href:"/"},label:F("User Groups")},{hrefOptions:{href:"/"},label:"Calculated Attributes"},{hrefOptions:{href:"/"},label:"Rules"}]},{label:"Audiences",icon:e.jsx(l,{name:"users"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Real-time"},{hrefOptions:{href:"/"},label:"Standard"},{hrefOptions:{href:"/"},label:"Journeys"}]},{label:"Connections",icon:e.jsx(l,{name:"connections"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Connect"},{hrefOptions:{href:"/"},label:"Platform Filters"},{hrefOptions:{href:"/"},label:"Feed Filters"}]},{label:"Setup",icon:e.jsx(l,{name:"setup"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Inputs"},{hrefOptions:{href:"/"},label:"Outputs"},{hrefOptions:{href:"/"},label:"Data Warehouse"},{hrefOptions:{href:"/"},label:"CRM"}]},{label:"Directory",icon:e.jsx(l,{name:"myHub"}),hrefOptions:{href:"/"}}],u=[{isActive:!0,label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{hrefOptions:{href:"/"},label:"Platform Settings"},{hrefOptions:{href:"/"},label:"User Settings"},{hrefOptions:{href:"/"},label:e.jsx(_e,{type:"primary",children:"Switch to Legacy UI"})}]}],f=[{id:"org1",label:"Org 1",accounts:[{id:"account1",label:"Account 1",workspaces:[{id:"workspace1",label:"Workspace 1",isActive:!1,onClick:()=>{alert("Selected workspace 1")}},{id:"workspace1a",label:"Workspace 1a",isActive:!1,onClick:()=>{alert("Selected workspace 1a")}},{id:"workspace1b",label:"Workspace 1b",isActive:!1,onClick:()=>{alert("Selected workspace 1b")}}]}]},{id:"org2",label:"Org 2",accounts:[{id:"account2",label:"Account 2",workspaces:[{id:"workspace2",label:"Workspace 2",isActive:!1,onClick:()=>{alert("Selected workspace 2")}}]},{id:"account2a",label:"Account 2a",workspaces:[{id:"workspace2a",label:"Workspace 2a",isActive:!1,onClick:()=>{alert("Selected workspace 2")}},{id:"workspace2ab",label:"_Workspace 2ab",isActive:!0,onClick:()=>{alert("Selected workspace 2")}}]}]},{id:"org3",label:"Org 3",accounts:[{id:"account3",label:"Account 3",workspaces:[{id:"workspace3",label:"Workspace 3",isActive:!1,onClick:()=>{alert("Selected workspace 3")}}]}]},{id:"org4",label:"Org 4",accounts:[{id:"account4",label:"Account 4",workspaces:[{id:"workspace4",label:"Workspace 4",isActive:!1,onClick:()=>{alert("Selected workspace 4")}}]}]},{id:"org5",label:"Org 5",accounts:[{id:"account5",label:"Account 5",workspaces:[{id:"workspace5",label:"Workspace 5",isActive:!1,onClick:()=>{alert("Selected workspace 5")}}]}]},{id:"org6",label:"Org 6",accounts:[{id:"account6",label:"Account 6",workspaces:[{id:"workspace6",label:"Workspace 6",isActive:!1,onClick:()=>{alert("Selected workspace 6")}}]}]},{id:"org7",label:"Org 7",accounts:[{id:"account7",label:"Account 7",workspaces:[{id:"workspace7",label:"Workspace 7",isActive:!1,onClick:()=>{alert("Selected workspace 7")}}]}]}],j={args:{onSearchClick:()=>{alert("Searching!")},logo:Ge,tools:g,management:u,orgs:f,minimapOptions:{overviewHref:"/",onLinkClick:n=>{alert(n.href)},onUnauthorizedClick:n=>{alert(`unauthorized ${n==null?void 0:n.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]},onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"}}},pn=sn(1e3,4,4),L={render:n=>e.jsx("div",{style:{width:800},children:e.jsx(m,o(t({},n),{onSearchClick:()=>{alert("Searching!")},logo:Ge,tools:g,management:u,orgs:pn,onMpHomeClick:()=>{alert("going to overview map")}}))})},Fe={label:"Analytics",icon:e.jsx(l,{name:"analytics"}),onSuiteLogoClick:()=>{alert("Going to Analytics Home!")}},Ze=[{label:"My Hub",icon:e.jsx(l,{name:"myHub"}),isActive:!0,hrefOptions:{href:"/"}},{label:"Saved",icon:e.jsx(l,{name:"savedProjects"}),hrefOptions:{href:"/"}},{label:"Manage Data",icon:e.jsx(l,{name:"database"}),hrefOptions:{href:"/"}}],Je=[{label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]}],Ke=[{type:"group",label:"Dashboard"},{title:"Dashboard",description:"Create a new dashboard to organize your saved analysis.",onClick:()=>{alert("Opening New Dashboard Modal")}},{label:"Segmentation",type:"group"},{onClick:()=>{alert("clicked")},title:"Event Segmentation",description:"Measure engagement based on behaviors and attributes."},{disabled:!0,tooltip:"is disabled",onClick:()=>{alert("clicked disabled")},title:"User Segmentation",description:"Measure unique users based on behaviors and attributes."},{title:"Revenue Analysis",description:"Track revenue over time."},{title:"Frequency",description:"Analyze how many distinct times an event is performed within a given interval.",tooltip:"This feature is currently locked",onClick:()=>{alert("Opening paywall modal.")},isLocked:!0},{label:"Funnel",type:"group"},{title:"Conversion and Drop Off",description:"Identify points of friction between funnel steps."},{title:"Multipath Funnel",description:"Analyze multiple customer paths to identify the optimal path to conversion."},{title:"Conversion Over Time",description:"Track key conversion metrics over time."},{title:"Contribution",description:"Reverse the funnel to measure each step's contribution to the target action."},{label:"Journeys",type:"group"},{isLoading:!0,tooltip:"Journeys data is loading, please check back later.",title:"Journeys From an Event",description:"Discover the most common paths users take from a starting point."},{title:"Journeys To an Event",description:"Discover the most common paths users take towards a target action."},{label:"Cohort",type:"group"},{title:"Retention",description:"Analyze how often user cohorts return to engage with a target action."},{title:"Activation",description:"Analyze when user cohorts engage with a target action for the first time."},{label:"Users",type:"group"},{title:"User Lookup by ID",description:"Find a user by searching for their User ID."},{title:"User Lookup by Event",description:"Display a list of users who performed an event."},{title:"User Lookup by Segment",description:"Display a list of users who are in a particular User Segment."}],Qe=[{id:"org1",label:"Org 1",accounts:[{id:"",label:"",workspaces:[{id:"project 1",label:"Project 1",isActive:!1,onClick:()=>{alert("Selected project 1")}}]}]},{id:"org2",label:"Org 2",accounts:[{id:"",label:"",workspaces:[{id:"project 2",label:"Project2Project2Project2Project2Project2Project2",isActive:!0,onClick:()=>{alert("Selected project 2")}}]}]},{id:"org3",label:"Org 3",accounts:[{id:"",label:"",workspaces:[{id:"project 3",label:"Project 3",isActive:!1,onClick:()=>{alert("Selected project 3")}}]}]},{id:"org4",label:"Org 4",accounts:[{id:"",label:"",workspaces:[{id:"project 4",label:"Project 4",isActive:!1,onClick:()=>{alert("Selected project 4")}}]}]},{id:"org5",label:"Org 5",accounts:[{id:"",label:"",workspaces:[{id:"project 5",label:"Project 5",isActive:!1,onClick:()=>{alert("Selected project 5")}}]}]},{id:"org6",label:"Org 6",accounts:[{id:"",label:"",workspaces:[{id:"project 6",label:"Project 6",isActive:!1,onClick:()=>{alert("Selected project 6")}}]}]},{id:"org7",label:"Org 7",accounts:[{id:"",label:"",workspaces:[{id:"project 7",label:"Project 7",isActive:!1,onClick:()=>{alert("Selected project 7")}}]}]}],M={args:{logo:Fe,tools:Ze,management:Je,createItems:Ke,orgs:Qe,navigationButtonItemOptions:{label:"Custom Signout Label",onClick:()=>{alert("Signout!")}},onMpHomeClick:()=>{alert("going to overview map")}}},P={args:{logo:Fe,tools:Ze,management:Je,createItems:Ke,orgs:Qe,minimapOptions:{overviewHref:"/",onLinkClick:n=>{n.linkId!=="analytics"&&alert(n.href)},links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}],activeLink:"analytics"},navigationButtonItemOptions:{label:"Custom Signout Label",onClick:()=>{alert("Signout!")}},onMpHomeClick:()=>{alert("going to overview map")}}},hn={label:"Predictions",icon:"predictions",type:"background-solid",onSuiteLogoClick:()=>{alert("Going to Predictions Home!")}},mn=[{label:"Pipelines",icon:e.jsx(l,{name:"predictions",variant:"duo-tone"}),hrefOptions:{href:"/"}},{label:"Projects",icon:e.jsx(l,{name:"journeys"}),hrefOptions:{href:"/"},isActive:!0},{label:"Data",icon:e.jsx(l,{name:"database"}),hrefOptions:{href:"/"}},{label:"API",icon:e.jsx(l,{name:"predictions",variant:"duo-tone"}),hrefOptions:{href:"/"}},{label:"Insights",icon:e.jsx(l,{name:"insights"}),hrefOptions:{href:"/"}}],gn=[{label:"Support",hideLabel:!0,icon:e.jsx(l,{name:"support"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]},{label:"Settings",hideLabel:!0,icon:e.jsx(l,{name:"settings"}),type:"menu",children:[{label:"option 1",hrefOptions:{href:"/"}},{label:"option 2",hrefOptions:{href:"/"}},{label:"option 3",hrefOptions:{href:"/"}}]}],un=[{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 1",label:"Account 1",onClick:()=>{alert("Selected Account 1")},isActive:!1}]}]},{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 2",label:"Account 2",onClick:()=>{alert("Selected Account 2")},isActive:!0}]}]},{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 3",label:"Account 3",onClick:()=>{alert("Selected Account 3")},isActive:!1}]}]},{id:"",label:"",accounts:[{id:"",label:"",workspaces:[{id:"Account 4",label:"Account 4",onClick:()=>{alert("Selected Account 4")},isActive:!1}]}]}],N={args:{logo:hn,tools:mn,management:gn,orgs:un,onMpHomeClick:()=>{alert("going to overview map")},navigationButtonItemOptions:{label:"Sign Out of mParticle",onClick:()=>{alert("onSignout click")}},minimapOptions:{overviewHref:"/",onLinkClick:n=>{n.linkId!=="predictions"&&alert(n.href)},links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}],activeLink:"predictions"}}},A={args:{orgs:f},play:()=>I(void 0,null,function*(){const n=b.getByText("_W2");yield k.hover(n);const a=yield b.findByPlaceholderText("Search");yield k.type(a,"123{enter}")})},T={play:()=>I(void 0,null,function*(){const n=tn().mockImplementation(()=>{});global.alert=n;const a=b.getByText("Show Notification");yield k.click(a);const i=yield b.findByText("Remind me later");yield k.click(i),yield v(n).toBeCalledWith("Remind me later"),yield k.click(a);const r=yield b.findByText("Take me there");yield k.click(r),yield v(n).toBeCalledWith("Take me there")}),render:n=>{const[a,i]=an({onClose:()=>{alert("Notification closed")},onRemindMeLater:()=>{alert("Remind me later")},onTakeMeThere:()=>{alert("Take me there")}});return e.jsxs(rn,{style:{minHeight:800,width:600,border:"1px solid black"},justify:"space-between",vertical:!1,children:[i,e.jsx("div",{children:e.jsx(m,t({},n))}),e.jsx(_e,{onClick:a,children:"Show Notification"})]})},args:{logo:O,tools:S,management:w,orgs:x,navigationButtonItemOptions:{label:"Sign Out of mParticle",onClick:()=>{alert("signing out!")}},onMpHomeClick:()=>{alert("Going to mP!")}}},B={args:{onSearchClick:()=>{alert("Searching!")},logo:{onSuiteLogoClick:()=>{},label:""},tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!1}},H={args:{onSearchClick:()=>{alert("Searching!")},logo:qe,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!0}},W={args:{onSearchClick:()=>{alert("Searching!")},logo:dn,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!0}},z={render:()=>{const[n,a]=C.useState(!1),i={label:"Sign Out of mParticle",onClick:()=>{alert("Signout!")}},r={label:"Data Platform",icon:"catalog",type:"background-solid",onSuiteLogoClick:()=>{a(s=>!s)},navSwitcherTourOptions:{open:n,onClose:()=>{a(!1)}}};return e.jsx("div",{style:{width:800},children:e.jsx(m,{onSearchClick:()=>{alert("Searching!")},logo:r,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},navigationButtonItemOptions:i})})}},E={args:{onSearchClick:()=>{alert("Searching!")},logo:qe,tools:g,management:u,orgs:f,onMpHomeClick:()=>{alert("going to overview map")},avatarOptions:{alt:"avatar"},showSuiteLogo:!0,suiteSelectorOptions:{overviewHref:"/",onLinkClick:n=>{alert(n.href)},onUnauthorizedClick:n=>{alert(`unauthorized ${n==null?void 0:n.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}},$={render:n=>{const[a,i]=C.useState(!1);return e.jsx("div",{children:e.jsx(m,o(t({},n),{notificationCenter:{open:a,onOpenChange:r=>{i(r)},content:()=>e.jsxs("div",{children:[e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"})]})},logo:O,tools:S,management:w,orgs:x,showSuiteLogo:!0,onSearchClick:()=>{alert("Searching!")},suiteSelectorOptions:{overviewHref:"/",onLinkClick:r=>{alert(r.href)},onUnauthorizedClick:r=>{alert(`unauthorized ${r==null?void 0:r.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}))})}},R={render:n=>{const[a,i]=C.useState(!1);return e.jsx("div",{children:e.jsx(m,o(t({},n),{notificationCenter:{open:a,onOpenChange:r=>{i(r)},content:()=>e.jsxs("div",{children:[e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content End"})]})},logo:O,tools:S,management:w,orgs:x,showSuiteLogo:!0,onSearchClick:()=>{alert("Searching!")},suiteSelectorOptions:{overviewHref:"/",onLinkClick:r=>{alert(r.href)},onUnauthorizedClick:r=>{alert(`unauthorized ${r==null?void 0:r.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}))})}},_={render:n=>{const[a,i]=C.useState(!1),[r,s]=C.useState(!1),[h,c]=C.useState(q);return e.jsxs("div",{children:[e.jsx(ln,{open:r,maskClosable:!1,destroyOnClose:!0,onCancel:()=>{s(!1)},onOk:()=>{s(!1)},afterClose:()=>{c(q)},centered:!0,children:e.jsxs("div",{children:[e.jsx("p",{children:"Message Title"}),e.jsx("p",{children:"Message Description"})]})}),e.jsx(m,o(t({},n),{notificationCenter:{open:a,zIndex:h,onOpenChange:d=>{r||i(d)},content:()=>e.jsxs("div",{children:[e.jsx("div",{onClick:()=>{c(0),s(!0)},children:"Open Modal"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"}),e.jsx("div",{children:"Content"})]}),onClose:()=>{i(!1)},onPreferencesClick:()=>{i(!1)}},logo:O,tools:S,management:w,orgs:x,showSuiteLogo:!0,onSearchClick:()=>{alert("Searching!")},suiteSelectorOptions:{overviewHref:"/",onLinkClick:d=>{alert(d.href)},onUnauthorizedClick:d=>{alert(`unauthorized ${d==null?void 0:d.href} `)},unauthorizedLinks:["dataPlatform"],activeLink:"oversight",links:[{linkId:"oversight",href:"/oversight"},{linkId:"dataPlatform",href:"/data-platform"},{linkId:"customer360",href:"/customer-360"},{linkId:"predictions",href:"/predictions"},{linkId:"analytics",href:"/analytics"},{linkId:"segmentation",href:"/segmentation"}]}}))]})}};var Z,J,K;y.parameters=o(t({},y.parameters),{docs:o(t({},(Z=y.parameters)==null?void 0:Z.docs),{source:t({originalSource:`{ // This would benefit from test IDs, we have a future task to do that. play: async ({ canvasElement diff --git a/pr-preview/pr-459/assets/Icon Library-CKUnTy6V.js b/pr-preview/pr-459/assets/Icon Library-B1RMFPdH.js similarity index 87% rename from pr-preview/pr-459/assets/Icon Library-CKUnTy6V.js rename to pr-preview/pr-459/assets/Icon Library-B1RMFPdH.js index e6b713f3e..9aa9d0498 100644 --- a/pr-preview/pr-459/assets/Icon Library-CKUnTy6V.js +++ b/pr-preview/pr-459/assets/Icon Library-B1RMFPdH.js @@ -1,4 +1,4 @@ -var p=Object.defineProperty,l=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var s=(t,o,e)=>o in t?p(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,r=(t,o)=>{for(var e in o||(o={}))h.call(o,e)&&s(t,e,o[e]);if(n)for(var e of n(o))f.call(o,e)&&s(t,e,o[e]);return t},m=(t,o)=>l(t,d(o));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{d as u}from"./index-ZtHH_h5v.js";import{IconTable as x}from"./Icon.stories-B0A7KFbl.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function c(t){const o=r(r({a:"a",h1:"h1",h3:"h3",p:"p"},a()),t.components);return i.jsxs(i.Fragment,{children:[i.jsx(o.h1,{id:"icons",children:"Icons"}),` +var p=Object.defineProperty,l=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var s=(t,o,e)=>o in t?p(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,r=(t,o)=>{for(var e in o||(o={}))h.call(o,e)&&s(t,e,o[e]);if(n)for(var e of n(o))f.call(o,e)&&s(t,e,o[e]);return t},m=(t,o)=>l(t,d(o));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as a}from"./index-BI4Okn8T.js";import{d as u}from"./index-Bf2yN5NY.js";import{IconTable as x}from"./Icon.stories-BL9fFQUO.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";function c(t){const o=r(r({a:"a",h1:"h1",h3:"h3",p:"p"},a()),t.components);return i.jsxs(i.Fragment,{children:[i.jsx(o.h1,{id:"icons",children:"Icons"}),` `,i.jsx(o.h3,{id:"overview",children:"Overview"}),` `,i.jsxs(o.p,{children:["mParticle icon library is mP icons, a carefully curated collection based on ",i.jsx(o.a,{href:"https://fontawesome.com/search?o=r&s=light",rel:"nofollow",children:"FontAwesome"}),". Our design team has selected icons specifically for mParticle use cases, defined the semantic layer, and applied customizations as needed."]}),` `,i.jsx(o.h3,{id:"available-icons",children:"Available Icons"}),` diff --git a/pr-preview/pr-459/assets/Icon.stories-B0A7KFbl.js b/pr-preview/pr-459/assets/Icon.stories-BL9fFQUO.js similarity index 99% rename from pr-preview/pr-459/assets/Icon.stories-B0A7KFbl.js rename to pr-preview/pr-459/assets/Icon.stories-BL9fFQUO.js index 40c3a8213..ef5d8da2b 100644 --- a/pr-preview/pr-459/assets/Icon.stories-B0A7KFbl.js +++ b/pr-preview/pr-459/assets/Icon.stories-BL9fFQUO.js @@ -1,4 +1,4 @@ -var b=Object.defineProperty,I=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var c=(n,e,a)=>e in n?b(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,t=(n,e)=>{for(var a in e||(e={}))T.call(e,a)&&c(n,a,e[a]);if(u)for(var a of u(e))k.call(e,a)&&c(n,a,e[a]);return n},o=(n,e)=>I(n,w(e));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{F as j,I as A,a as v}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const l=({color:n="black",size:e="lg",name:a,variant:g})=>{const x=Object.keys(v),y={display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"10px",alignItems:"center",justifyItems:"center"};return i.jsx("div",{style:y,children:a?s(a):x.map(s)});function s(r){const m=v[r].deprecated,f=m?{textDecoration:"line-through"}:{};return i.jsxs(j,{vertical:!0,align:"center",children:[i.jsx(A,{name:r,size:e,color:n,variant:g}),i.jsxs("p",{style:t({fontFamily:"monospace",textAlign:"center"},f),children:[m?"deprecated ":"",r]})]},r)}},z='\n### Icon Component Documentation\n\nThe `IconTable` component is used to display a table of all available icons in the project. \n\n#### Props\n- `name`: The name of the icon \n- `color`: The color of the icon. Available options are `default`, `primary`, `success`, `warning`, `error`, `info`, `white`, `black`, `text`, `strong`, `brand`.\n- `size`: The size of the icon. Available options are `xxxxl`, `xxxl`, `xxl`, `xl`, `lg`, `md`, `sm`, `xs`.\n- `variant`: The variant of the icon. Available options are `light` and `duo-tone`.\n\n#### Updating Icons\n\nThe icon SVG and icon name are provided by the Design team. and the svg must be minified.\n\n1. **Add New Icons**: Add the new icon SVGs to the `src/constants/Icons` directory. The icons should be curated by Design and the svg must be minified. \n2. **Update Icon Constants**: Update the `Icons` object in `src/constants/Icons` to include the new icons.\n3. **Use Icons**: Use the updated icons in your components by referencing their names.\n\n#### Example Usage\n```jsx\n\n```\n\nThis will render the new icon with the specified size, color, and variant.\n',M={title:"Components/General/Icons",component:l,argTypes:{size:{control:"select",options:["xxxxl","xxxl","xxl","xl","lg","md","sm","xs"]},color:{control:"select",options:["default","primary","success","warning","error","info","white","black","text","strong","brand"]},variant:{control:"select",options:["light","duo-tone"]}},parameters:{docs:{description:{component:z}}}};l.__docgenInfo={description:"",methods:[],displayName:"IconTable",props:{name:{required:!0,tsType:{name:"union",raw:`| 'add' +var b=Object.defineProperty,I=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var c=(n,e,a)=>e in n?b(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,t=(n,e)=>{for(var a in e||(e={}))T.call(e,a)&&c(n,a,e[a]);if(u)for(var a of u(e))k.call(e,a)&&c(n,a,e[a]);return n},o=(n,e)=>I(n,w(e));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{F as j,I as A,a as v}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const l=({color:n="black",size:e="lg",name:a,variant:g})=>{const x=Object.keys(v),y={display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"10px",alignItems:"center",justifyItems:"center"};return i.jsx("div",{style:y,children:a?s(a):x.map(s)});function s(r){const m=v[r].deprecated,f=m?{textDecoration:"line-through"}:{};return i.jsxs(j,{vertical:!0,align:"center",children:[i.jsx(A,{name:r,size:e,color:n,variant:g}),i.jsxs("p",{style:t({fontFamily:"monospace",textAlign:"center"},f),children:[m?"deprecated ":"",r]})]},r)}},z='\n### Icon Component Documentation\n\nThe `IconTable` component is used to display a table of all available icons in the project. \n\n#### Props\n- `name`: The name of the icon \n- `color`: The color of the icon. Available options are `default`, `primary`, `success`, `warning`, `error`, `info`, `white`, `black`, `text`, `strong`, `brand`.\n- `size`: The size of the icon. Available options are `xxxxl`, `xxxl`, `xxl`, `xl`, `lg`, `md`, `sm`, `xs`.\n- `variant`: The variant of the icon. Available options are `light` and `duo-tone`.\n\n#### Updating Icons\n\nThe icon SVG and icon name are provided by the Design team. and the svg must be minified.\n\n1. **Add New Icons**: Add the new icon SVGs to the `src/constants/Icons` directory. The icons should be curated by Design and the svg must be minified. \n2. **Update Icon Constants**: Update the `Icons` object in `src/constants/Icons` to include the new icons.\n3. **Use Icons**: Use the updated icons in your components by referencing their names.\n\n#### Example Usage\n```jsx\n\n```\n\nThis will render the new icon with the specified size, color, and variant.\n',M={title:"Components/General/Icons",component:l,argTypes:{size:{control:"select",options:["xxxxl","xxxl","xxl","xl","lg","md","sm","xs"]},color:{control:"select",options:["default","primary","success","warning","error","info","white","black","text","strong","brand"]},variant:{control:"select",options:["light","duo-tone"]}},parameters:{docs:{description:{component:z}}}};l.__docgenInfo={description:"",methods:[],displayName:"IconTable",props:{name:{required:!0,tsType:{name:"union",raw:`| 'add' | 'alicorn' | 'analytics' | 'C360' diff --git a/pr-preview/pr-459/assets/Image.stories-B9oDv-Yq.js b/pr-preview/pr-459/assets/Image.stories-CtYG9i4D.js similarity index 90% rename from pr-preview/pr-459/assets/Image.stories-B9oDv-Yq.js rename to pr-preview/pr-459/assets/Image.stories-CtYG9i4D.js index f831534e9..7ed88ccce 100644 --- a/pr-preview/pr-459/assets/Image.stories-B9oDv-Yq.js +++ b/pr-preview/pr-459/assets/Image.stories-CtYG9i4D.js @@ -1 +1 @@ -var d=Object.defineProperty,g=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var e=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))u.call(r,o)&&e(t,o,r[o]);if(i)for(var o of i(r))y.call(r,o)&&e(t,o,r[o]);return t},a=(t,r)=>g(t,l(r));import{s as f}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Display/Image",component:f,args:{}},p={};var s,c,n;p.parameters=a(m({},p.parameters),{docs:a(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; +var d=Object.defineProperty,g=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var e=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))u.call(r,o)&&e(t,o,r[o]);if(i)for(var o of i(r))y.call(r,o)&&e(t,o,r[o]);return t},a=(t,r)=>g(t,l(r));import{v as f}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Display/Image",component:f,args:{}},p={};var s,c,n;p.parameters=a(m({},p.parameters),{docs:a(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/Input.stories-C65PbRkX.js b/pr-preview/pr-459/assets/Input.stories-Dh3sCG79.js similarity index 98% rename from pr-preview/pr-459/assets/Input.stories-C65PbRkX.js rename to pr-preview/pr-459/assets/Input.stories-Dh3sCG79.js index 51df233f3..3a4f32e92 100644 --- a/pr-preview/pr-459/assets/Input.stories-C65PbRkX.js +++ b/pr-preview/pr-459/assets/Input.stories-Dh3sCG79.js @@ -1,4 +1,4 @@ -var Se=Object.defineProperty,be=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var j=(s,a,t)=>a in s?Se(s,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[a]=t,e=(s,a)=>{for(var t in a||(a={}))ye.call(a,t)&&j(s,t,a[t]);if(W)for(var t of W(a))Ee.call(a,t)&&j(s,t,a[t]);return s},r=(s,a)=>be(s,ve(a));var F=(s,a,t)=>new Promise((n,l)=>{var i=c=>{try{w(t.next(c))}catch(C){l(C)}},xe=c=>{try{w(t.throw(c))}catch(C){l(C)}},w=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,xe);w((t=t.apply(s,a)).next())});import{j as o}from"./jsx-runtime-BcCOBRXo.js";import{c as he,b as I,i as B}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as we}from"./ExampleStory-DvwdaA9H.js";import{r as Ce}from"./index-CNk6hRaE.js";import{e as A,u as Be}from"./index-C7MMNn6a.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";import"./index-TL6_15PV.js";const Ge={title:"Components/Data Entry/Input",component:he,args:{placeholder:"Input Placeholder",addonAfter:void 0,addonBefore:void 0,allowClear:!1,bordered:!0,classNames:{},count:void 0,defaultValue:"",disabled:!1,id:void 0,maxLength:void 0,prefix:void 0,showCount:!1,status:void 0,styles:{},size:"middle",suffix:void 0,type:"text",value:"",onChange:s=>{console.log("Input changed: "+s.target.value)},onPressEnter:s=>{console.log("Enter key pressed: "+String(s))}},argTypes:{status:{control:"select",options:["warning","error"]},size:{control:"select",options:["small","medium","large"]}}},u={args:{status:"error"}},p={args:{type:"textarea"}},m={args:{size:"large"}},d={args:{size:"middle"}},g={args:{size:"small"}},f={},h={args:{addonBefore:"https://",placeholder:"Enter URL"}},x={args:{addonAfter:".com",placeholder:"Domain"}},S={args:{allowClear:!0,placeholder:"Clearable Input"}},b={args:{disabled:!0}},v={args:{maxLength:10,placeholder:"Max 10 characters"}},y={args:{prefix:"@",suffix:".com",placeholder:"Email"}},E={args:{value:"Test value"},render:(s,a)=>{const t=Ce.useRef(null),n=(l="start")=>{var i;(i=t.current)==null||i.focus({cursor:l})};return o.jsx(we,{title:a.name,children:o.jsxs(I,{direction:"vertical",style:{width:"100%"},children:[o.jsxs(I,{wrap:!0,children:[o.jsx(B,{onClick:()=>{n("start")},children:"Focus at start"}),o.jsx(B,{onClick:()=>{n("end")},children:"Focus at last"}),o.jsx(B,{onClick:()=>{n("all")},children:"Focus to select all"})]}),o.jsx("br",{}),o.jsx(he,r(e({},s),{defaultValue:"Welcome to the Aquarium",ref:t}))]})})},play:s=>F(void 0,null,function*(){const a=s.canvasElement.querySelector("input");yield A(a).toBeInTheDocument();const t=s.canvasElement.querySelectorAll("button");yield A(t.length).toBe(3);for(const n of t)a==null||a.blur(),yield Be.click(n),yield A(a).toHaveFocus(),a==null||a.blur()})};var R,k,D;u.parameters=r(e({},u.parameters),{docs:r(e({},(R=u.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ +var Se=Object.defineProperty,be=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var j=(s,a,t)=>a in s?Se(s,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[a]=t,e=(s,a)=>{for(var t in a||(a={}))ye.call(a,t)&&j(s,t,a[t]);if(W)for(var t of W(a))Ee.call(a,t)&&j(s,t,a[t]);return s},r=(s,a)=>be(s,ve(a));var F=(s,a,t)=>new Promise((n,l)=>{var i=c=>{try{w(t.next(c))}catch(C){l(C)}},xe=c=>{try{w(t.throw(c))}catch(C){l(C)}},w=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,xe);w((t=t.apply(s,a)).next())});import{j as o}from"./jsx-runtime-BcCOBRXo.js";import{c as he,b as I,l as B}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as we}from"./ExampleStory-B-ilaOpY.js";import{r as Ce}from"./index-CNk6hRaE.js";import{e as A,u as Be}from"./index-C7MMNn6a.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";import"./index-TL6_15PV.js";const Ge={title:"Components/Data Entry/Input",component:he,args:{placeholder:"Input Placeholder",addonAfter:void 0,addonBefore:void 0,allowClear:!1,bordered:!0,classNames:{},count:void 0,defaultValue:"",disabled:!1,id:void 0,maxLength:void 0,prefix:void 0,showCount:!1,status:void 0,styles:{},size:"middle",suffix:void 0,type:"text",value:"",onChange:s=>{console.log("Input changed: "+s.target.value)},onPressEnter:s=>{console.log("Enter key pressed: "+String(s))}},argTypes:{status:{control:"select",options:["warning","error"]},size:{control:"select",options:["small","medium","large"]}}},u={args:{status:"error"}},p={args:{type:"textarea"}},m={args:{size:"large"}},d={args:{size:"middle"}},g={args:{size:"small"}},f={},h={args:{addonBefore:"https://",placeholder:"Enter URL"}},x={args:{addonAfter:".com",placeholder:"Domain"}},S={args:{allowClear:!0,placeholder:"Clearable Input"}},b={args:{disabled:!0}},v={args:{maxLength:10,placeholder:"Max 10 characters"}},y={args:{prefix:"@",suffix:".com",placeholder:"Email"}},E={args:{value:"Test value"},render:(s,a)=>{const t=Ce.useRef(null),n=(l="start")=>{var i;(i=t.current)==null||i.focus({cursor:l})};return o.jsx(we,{title:a.name,children:o.jsxs(I,{direction:"vertical",style:{width:"100%"},children:[o.jsxs(I,{wrap:!0,children:[o.jsx(B,{onClick:()=>{n("start")},children:"Focus at start"}),o.jsx(B,{onClick:()=>{n("end")},children:"Focus at last"}),o.jsx(B,{onClick:()=>{n("all")},children:"Focus to select all"})]}),o.jsx("br",{}),o.jsx(he,r(e({},s),{defaultValue:"Welcome to the Aquarium",ref:t}))]})})},play:s=>F(void 0,null,function*(){const a=s.canvasElement.querySelector("input");yield A(a).toBeInTheDocument();const t=s.canvasElement.querySelectorAll("button");yield A(t.length).toBe(3);for(const n of t)a==null||a.blur(),yield Be.click(n),yield A(a).toHaveFocus(),a==null||a.blur()})};var R,k,D;u.parameters=r(e({},u.parameters),{docs:r(e({},(R=u.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ args: { status: 'error' } diff --git a/pr-preview/pr-459/assets/InputNumber.stories-CHAAtKvv.js b/pr-preview/pr-459/assets/InputNumber.stories-Cgpg6lXy.js similarity index 89% rename from pr-preview/pr-459/assets/InputNumber.stories-CHAAtKvv.js rename to pr-preview/pr-459/assets/InputNumber.stories-Cgpg6lXy.js index 5ceb8b579..e1d058d18 100644 --- a/pr-preview/pr-459/assets/InputNumber.stories-CHAAtKvv.js +++ b/pr-preview/pr-459/assets/InputNumber.stories-Cgpg6lXy.js @@ -1,4 +1,4 @@ -var mr=Object.defineProperty,pr=Object.defineProperties;var dr=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var ur=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable;var x=(a,s,o)=>s in a?mr(a,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[s]=o,r=(a,s)=>{for(var o in s||(s={}))ur.call(s,o)&&x(a,o,s[o]);if(E)for(var o of E(s))lr.call(s,o)&&x(a,o,s[o]);return a},e=(a,s)=>pr(a,dr(s));import{Q as gr}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const Wr={title:"Components/Data Entry/InputNumber",component:gr,args:{addonAfter:void 0,addonBefore:void 0,autoFocus:!1,bordered:!0,changeOnBlur:!0,controls:!0,decimalSeparator:".",placeholder:"Enter a number",defaultValue:void 0,disabled:!1,formatter:void 0,keyboard:!0,max:Number.MAX_SAFE_INTEGER,min:Number.MIN_SAFE_INTEGER,parser:void 0,precision:void 0,readOnly:!1,status:void 0,prefix:void 0,size:"middle",step:1,stringMode:!1,value:void 0,onChange:a=>{alert("InputNumber changed: "+a)},onPressEnter:a=>{console.log("Enter key pressed:",a)},onStep:(a,s)=>{console.log("Step:",a,s)}},argTypes:{size:{control:"select",options:["large","middle","small"]},status:{control:"select",options:["error","warning"]}}},t={},n={args:{size:"small"}},c={args:{size:"large"}},i={args:{status:"warning"}},m={args:{status:"error"}},p={args:{disabled:!0,value:42}},d={args:{readOnly:!0,value:123}},u={args:{prefix:"$"}},l={args:{stringMode:!0,value:"42.50"}},g={args:{controls:!0,precision:2}},S={args:{decimalSeparator:","}},f={args:{formatter:(a,s)=>`$${a}`}},v={args:{min:10,max:100}},b={args:{step:.5}};var y,M,h;t.parameters=e(r({},t.parameters),{docs:e(r({},(y=t.parameters)==null?void 0:y.docs),{source:r({originalSource:"{}"},(h=(M=t.parameters)==null?void 0:M.docs)==null?void 0:h.source)})});var C,N,$;n.parameters=e(r({},n.parameters),{docs:e(r({},(C=n.parameters)==null?void 0:C.docs),{source:r({originalSource:`{ +var mr=Object.defineProperty,pr=Object.defineProperties;var dr=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var ur=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable;var x=(a,s,o)=>s in a?mr(a,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[s]=o,r=(a,s)=>{for(var o in s||(s={}))ur.call(s,o)&&x(a,o,s[o]);if(E)for(var o of E(s))lr.call(s,o)&&x(a,o,s[o]);return a},e=(a,s)=>pr(a,dr(s));import{V as gr}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const Wr={title:"Components/Data Entry/InputNumber",component:gr,args:{addonAfter:void 0,addonBefore:void 0,autoFocus:!1,bordered:!0,changeOnBlur:!0,controls:!0,decimalSeparator:".",placeholder:"Enter a number",defaultValue:void 0,disabled:!1,formatter:void 0,keyboard:!0,max:Number.MAX_SAFE_INTEGER,min:Number.MIN_SAFE_INTEGER,parser:void 0,precision:void 0,readOnly:!1,status:void 0,prefix:void 0,size:"middle",step:1,stringMode:!1,value:void 0,onChange:a=>{alert("InputNumber changed: "+a)},onPressEnter:a=>{console.log("Enter key pressed:",a)},onStep:(a,s)=>{console.log("Step:",a,s)}},argTypes:{size:{control:"select",options:["large","middle","small"]},status:{control:"select",options:["error","warning"]}}},t={},n={args:{size:"small"}},c={args:{size:"large"}},i={args:{status:"warning"}},m={args:{status:"error"}},p={args:{disabled:!0,value:42}},d={args:{readOnly:!0,value:123}},u={args:{prefix:"$"}},l={args:{stringMode:!0,value:"42.50"}},g={args:{controls:!0,precision:2}},S={args:{decimalSeparator:","}},f={args:{formatter:(a,s)=>`$${a}`}},v={args:{min:10,max:100}},b={args:{step:.5}};var y,M,h;t.parameters=e(r({},t.parameters),{docs:e(r({},(y=t.parameters)==null?void 0:y.docs),{source:r({originalSource:"{}"},(h=(M=t.parameters)==null?void 0:M.docs)==null?void 0:h.source)})});var C,N,$;n.parameters=e(r({},n.parameters),{docs:e(r({},(C=n.parameters)==null?void 0:C.docs),{source:r({originalSource:`{ args: { size: 'small' } @@ -24,21 +24,21 @@ var mr=Object.defineProperty,pr=Object.defineProperties;var dr=Object.getOwnProp readOnly: true, value: 123 } -}`},(G=(B=d.parameters)==null?void 0:B.docs)==null?void 0:G.source)})});var L,Q,V;u.parameters=e(r({},u.parameters),{docs:e(r({},(L=u.parameters)==null?void 0:L.docs),{source:r({originalSource:`{ +}`},(G=(B=d.parameters)==null?void 0:B.docs)==null?void 0:G.source)})});var L,V,X;u.parameters=e(r({},u.parameters),{docs:e(r({},(L=u.parameters)==null?void 0:L.docs),{source:r({originalSource:`{ args: { prefix: '$' } -}`},(V=(Q=u.parameters)==null?void 0:Q.docs)==null?void 0:V.source)})});var X,j,q;l.parameters=e(r({},l.parameters),{docs:e(r({},(X=l.parameters)==null?void 0:X.docs),{source:r({originalSource:`{ +}`},(X=(V=u.parameters)==null?void 0:V.docs)==null?void 0:X.source)})});var j,q,H;l.parameters=e(r({},l.parameters),{docs:e(r({},(j=l.parameters)==null?void 0:j.docs),{source:r({originalSource:`{ args: { stringMode: true, value: '42.50' } -}`},(q=(j=l.parameters)==null?void 0:j.docs)==null?void 0:q.source)})});var H,J,K;g.parameters=e(r({},g.parameters),{docs:e(r({},(H=g.parameters)==null?void 0:H.docs),{source:r({originalSource:`{ +}`},(H=(q=l.parameters)==null?void 0:q.docs)==null?void 0:H.source)})});var J,K,Q;g.parameters=e(r({},g.parameters),{docs:e(r({},(J=g.parameters)==null?void 0:J.docs),{source:r({originalSource:`{ args: { controls: true, precision: 2 } -}`},(K=(J=g.parameters)==null?void 0:J.docs)==null?void 0:K.source)})});var U,Y,Z;S.parameters=e(r({},S.parameters),{docs:e(r({},(U=S.parameters)==null?void 0:U.docs),{source:r({originalSource:`{ +}`},(Q=(K=g.parameters)==null?void 0:K.docs)==null?void 0:Q.source)})});var U,Y,Z;S.parameters=e(r({},S.parameters),{docs:e(r({},(U=S.parameters)==null?void 0:U.docs),{source:r({originalSource:`{ args: { decimalSeparator: ',' } diff --git a/pr-preview/pr-459/assets/Layout.stories-DR6-_7W5.js b/pr-preview/pr-459/assets/Layout.stories-x5If_0Ol.js similarity index 97% rename from pr-preview/pr-459/assets/Layout.stories-DR6-_7W5.js rename to pr-preview/pr-459/assets/Layout.stories-x5If_0Ol.js index 481bd7744..f622450e6 100644 --- a/pr-preview/pr-459/assets/Layout.stories-DR6-_7W5.js +++ b/pr-preview/pr-459/assets/Layout.stories-x5If_0Ol.js @@ -1,4 +1,4 @@ -var N=Object.defineProperty,E=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var p=(a,o,n)=>o in a?N(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,r=(a,o)=>{for(var n in o||(o={}))_.call(o,n)&&p(a,n,o[n]);if(L)for(var n of L(o))v.call(o,n)&&p(a,n,o[n]);return a},s=(a,o)=>E(a,P(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{ab as t}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const c={textAlign:"center",color:"#fff",height:64,paddingInline:48,lineHeight:"64px",backgroundColor:"#4096ff"},u={textAlign:"center",minHeight:120,lineHeight:"120px",color:"#fff",backgroundColor:"#0958d9"},h={textAlign:"center",lineHeight:"120px",color:"#fff",backgroundColor:"#1677ff"},m={textAlign:"center",color:"#fff",backgroundColor:"#4096ff"},S={borderRadius:8,overflow:"hidden",width:"1000px"},Z={title:"Components/Layout/Layout",component:t,args:{className:"",hasSider:!1,style:{}}},d={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Sider,{width:"25%",style:h,children:"Sider"}),e.jsxs(t,{children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsx(t.Content,{style:u,children:"Content"}),e.jsx(t.Footer,{style:m,children:"Footer"})]})]})})},l={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsx(t.Content,{style:u,children:"Content"}),e.jsx(t.Footer,{style:m,children:"Footer"})]})})},y={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsxs(t,{children:[e.jsx(t.Content,{style:u,children:"Content"}),e.jsx(t.Sider,{width:"25%",style:h,children:"Sider"})]})]})})},i={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsxs(t,{children:[e.jsx(t.Sider,{width:"25%",style:h,children:"Sider"}),e.jsx(t.Content,{style:u,children:"Content"})]}),e.jsx(t.Footer,{style:m,children:"Footer"})]})})};var x,f,j;d.parameters=s(r({},d.parameters),{docs:s(r({},(x=d.parameters)==null?void 0:x.docs),{source:r({originalSource:`{ +var N=Object.defineProperty,E=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var p=(a,o,n)=>o in a?N(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,r=(a,o)=>{for(var n in o||(o={}))_.call(o,n)&&p(a,n,o[n]);if(L)for(var n of L(o))v.call(o,n)&&p(a,n,o[n]);return a},s=(a,o)=>E(a,P(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{ad as t}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const c={textAlign:"center",color:"#fff",height:64,paddingInline:48,lineHeight:"64px",backgroundColor:"#4096ff"},u={textAlign:"center",minHeight:120,lineHeight:"120px",color:"#fff",backgroundColor:"#0958d9"},h={textAlign:"center",lineHeight:"120px",color:"#fff",backgroundColor:"#1677ff"},m={textAlign:"center",color:"#fff",backgroundColor:"#4096ff"},S={borderRadius:8,overflow:"hidden",width:"1000px"},Z={title:"Components/Layout/Layout",component:t,args:{className:"",hasSider:!1,style:{}}},d={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Sider,{width:"25%",style:h,children:"Sider"}),e.jsxs(t,{children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsx(t.Content,{style:u,children:"Content"}),e.jsx(t.Footer,{style:m,children:"Footer"})]})]})})},l={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsx(t.Content,{style:u,children:"Content"}),e.jsx(t.Footer,{style:m,children:"Footer"})]})})},y={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsxs(t,{children:[e.jsx(t.Content,{style:u,children:"Content"}),e.jsx(t.Sider,{width:"25%",style:h,children:"Sider"})]})]})})},i={render:()=>e.jsx(e.Fragment,{children:e.jsxs(t,{style:S,children:[e.jsx(t.Header,{style:c,children:"Header"}),e.jsxs(t,{children:[e.jsx(t.Sider,{width:"25%",style:h,children:"Sider"}),e.jsx(t.Content,{style:u,children:"Content"})]}),e.jsx(t.Footer,{style:m,children:"Footer"})]})})};var x,f,j;d.parameters=s(r({},d.parameters),{docs:s(r({},(x=d.parameters)==null?void 0:x.docs),{source:r({originalSource:`{ render: () => <> diff --git a/pr-preview/pr-459/assets/Link.stories-D1omitEr.js b/pr-preview/pr-459/assets/Link.stories-RizhoV5o.js similarity index 98% rename from pr-preview/pr-459/assets/Link.stories-D1omitEr.js rename to pr-preview/pr-459/assets/Link.stories-RizhoV5o.js index f396c7cfc..2141483ab 100644 --- a/pr-preview/pr-459/assets/Link.stories-D1omitEr.js +++ b/pr-preview/pr-459/assets/Link.stories-RizhoV5o.js @@ -1,4 +1,4 @@ -var xe=Object.defineProperty,Ae=Object.defineProperties;var je=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var j=(n,o,t)=>o in n?xe(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,e=(n,o)=>{for(var t in o||(o={}))fe.call(o,t)&&j(n,t,o[t]);if(A)for(var t of A(o))Ce.call(o,t)&&j(n,t,o[t]);return n},r=(n,o)=>Ae(n,je(o));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{d as a,b as Ee}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as we}from"./ExampleStory-DvwdaA9H.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Qe={title:"Components/General/Link",component:n=>s.jsx(a.Link,r(e({},n),{children:"Example Link"})),args:{code:!1,copyable:!1,delete:!1,disabled:!1,editable:!1,ellipsis:!1,keyboard:!1,mark:!1,strong:!1,italic:!1,type:void 0,underline:!1,onClick:n=>{console.log("Link Clicked")}},argTypes:{type:{control:"select",options:["secondary","success","warning","danger"]}}},i={},c={args:{code:!0}},p={args:{copyable:!0}},d={args:{delete:!0}},g={args:{disabled:!0}},l={args:{editable:!0}},m={args:{keyboard:!0}},u={args:{mark:!0}},y={args:{strong:!0}},k={args:{italic:!0}},L={args:{type:"success"}},h={args:{type:"secondary"}},D={args:{type:"warning"}},b={args:{type:"danger"}},S={args:{underline:!0}},T={args:{onClick:n=>{alert("Custom Click Handler")}}},x={render:()=>s.jsx(we,{title:s.jsx(s.Fragment,{children:" "}),children:s.jsxs(Ee,{direction:"vertical",children:[s.jsx(a.Link,{children:"Ant Design (default)"}),s.jsx(a.Link,{type:"secondary",children:"Ant Design (secondary)"}),s.jsx(a.Link,{type:"success",children:"Ant Design (success)"}),s.jsx(a.Link,{type:"warning",children:"Ant Design (warning)"}),s.jsx(a.Link,{type:"danger",children:"Ant Design (danger)"}),s.jsx(a.Link,{disabled:!0,children:"Ant Design (disabled)"}),s.jsx(a.Link,{mark:!0,children:"Ant Design (mark)"}),s.jsx(a.Link,{code:!0,children:"Ant Design (code)"}),s.jsx(a.Link,{keyboard:!0,children:"Ant Design (keyboard)"}),s.jsx(a.Link,{underline:!0,children:"Ant Design (underline)"}),s.jsx(a.Link,{delete:!0,children:"Ant Design (delete)"}),s.jsx(a.Link,{strong:!0,children:"Ant Design (strong)"}),s.jsx(a.Link,{italic:!0,children:"Ant Design (italic)"})]})})};var f,C,E;i.parameters=r(e({},i.parameters),{docs:r(e({},(f=i.parameters)==null?void 0:f.docs),{source:e({originalSource:"{}"},(E=(C=i.parameters)==null?void 0:C.docs)==null?void 0:E.source)})});var w,v,O;c.parameters=r(e({},c.parameters),{docs:r(e({},(w=c.parameters)==null?void 0:w.docs),{source:e({originalSource:`{ +var xe=Object.defineProperty,Ae=Object.defineProperties;var je=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var j=(n,o,t)=>o in n?xe(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,e=(n,o)=>{for(var t in o||(o={}))fe.call(o,t)&&j(n,t,o[t]);if(A)for(var t of A(o))Ce.call(o,t)&&j(n,t,o[t]);return n},r=(n,o)=>Ae(n,je(o));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{d as a,b as Ee}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as we}from"./ExampleStory-B-ilaOpY.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Qe={title:"Components/General/Link",component:n=>s.jsx(a.Link,r(e({},n),{children:"Example Link"})),args:{code:!1,copyable:!1,delete:!1,disabled:!1,editable:!1,ellipsis:!1,keyboard:!1,mark:!1,strong:!1,italic:!1,type:void 0,underline:!1,onClick:n=>{console.log("Link Clicked")}},argTypes:{type:{control:"select",options:["secondary","success","warning","danger"]}}},i={},c={args:{code:!0}},p={args:{copyable:!0}},d={args:{delete:!0}},g={args:{disabled:!0}},l={args:{editable:!0}},m={args:{keyboard:!0}},u={args:{mark:!0}},y={args:{strong:!0}},k={args:{italic:!0}},L={args:{type:"success"}},h={args:{type:"secondary"}},D={args:{type:"warning"}},b={args:{type:"danger"}},S={args:{underline:!0}},T={args:{onClick:n=>{alert("Custom Click Handler")}}},x={render:()=>s.jsx(we,{title:s.jsx(s.Fragment,{children:" "}),children:s.jsxs(Ee,{direction:"vertical",children:[s.jsx(a.Link,{children:"Ant Design (default)"}),s.jsx(a.Link,{type:"secondary",children:"Ant Design (secondary)"}),s.jsx(a.Link,{type:"success",children:"Ant Design (success)"}),s.jsx(a.Link,{type:"warning",children:"Ant Design (warning)"}),s.jsx(a.Link,{type:"danger",children:"Ant Design (danger)"}),s.jsx(a.Link,{disabled:!0,children:"Ant Design (disabled)"}),s.jsx(a.Link,{mark:!0,children:"Ant Design (mark)"}),s.jsx(a.Link,{code:!0,children:"Ant Design (code)"}),s.jsx(a.Link,{keyboard:!0,children:"Ant Design (keyboard)"}),s.jsx(a.Link,{underline:!0,children:"Ant Design (underline)"}),s.jsx(a.Link,{delete:!0,children:"Ant Design (delete)"}),s.jsx(a.Link,{strong:!0,children:"Ant Design (strong)"}),s.jsx(a.Link,{italic:!0,children:"Ant Design (italic)"})]})})};var f,C,E;i.parameters=r(e({},i.parameters),{docs:r(e({},(f=i.parameters)==null?void 0:f.docs),{source:e({originalSource:"{}"},(E=(C=i.parameters)==null?void 0:C.docs)==null?void 0:E.source)})});var w,v,O;c.parameters=r(e({},c.parameters),{docs:r(e({},(w=c.parameters)==null?void 0:w.docs),{source:e({originalSource:`{ args: { code: true } diff --git a/pr-preview/pr-459/assets/List.stories-iwCzlPd4.js b/pr-preview/pr-459/assets/List.stories-DYmJ7gF8.js similarity index 98% rename from pr-preview/pr-459/assets/List.stories-iwCzlPd4.js rename to pr-preview/pr-459/assets/List.stories-DYmJ7gF8.js index 6763f64d0..80f91dfa8 100644 --- a/pr-preview/pr-459/assets/List.stories-iwCzlPd4.js +++ b/pr-preview/pr-459/assets/List.stories-DYmJ7gF8.js @@ -1,4 +1,4 @@ -var J=Object.defineProperty,K=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var S=(o,a,t)=>a in o?J(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,r=(o,a)=>{for(var t in a||(a={}))Q.call(a,t)&&S(o,t,a[t]);if(L)for(var t of L(a))W.call(a,t)&&S(o,t,a[t]);return o},e=(o,a)=>K(o,M(a));import{j as g}from"./jsx-runtime-BcCOBRXo.js";import{L as f}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const lr={title:"Components/Data Display/List",component:o=>g.jsx(f,r({},o)),args:{dataSource:["item1","item2","item3"],renderItem:o=>g.jsx(f.Item,{children:o}),bordered:!1,footer:void 0,grid:void 0,header:void 0,itemLayout:"horizontal",loading:!1,locale:{emptyText:"No Data"},pagination:!1,size:"default",split:!0},argTypes:{itemLayout:{control:"select",options:["horizontal","vertical"]},size:{control:"select",options:["default","large","small"]}}},s={},i={args:{bordered:!0}},n={args:{itemLayout:"vertical"}},c={args:{loading:!0}},m={args:{pagination:{current:1,total:50,pageSize:10}}},p={args:{grid:{gutter:16,column:4}}},d={args:{size:"large"}},u={args:{footer:g.jsx(g.Fragment,{children:"Custom Footer"})}},l={args:{split:!1}};var y,z,C;s.parameters=e(r({},s.parameters),{docs:e(r({},(y=s.parameters)==null?void 0:y.docs),{source:r({originalSource:"{}"},(C=(z=s.parameters)==null?void 0:z.docs)==null?void 0:C.source)})});var x,v,I;i.parameters=e(r({},i.parameters),{docs:e(r({},(x=i.parameters)==null?void 0:x.docs),{source:r({originalSource:`{ +var J=Object.defineProperty,K=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var S=(o,a,t)=>a in o?J(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,r=(o,a)=>{for(var t in a||(a={}))Q.call(a,t)&&S(o,t,a[t]);if(L)for(var t of L(a))W.call(a,t)&&S(o,t,a[t]);return o},e=(o,a)=>K(o,M(a));import{j as g}from"./jsx-runtime-BcCOBRXo.js";import{L as f}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const lr={title:"Components/Data Display/List",component:o=>g.jsx(f,r({},o)),args:{dataSource:["item1","item2","item3"],renderItem:o=>g.jsx(f.Item,{children:o}),bordered:!1,footer:void 0,grid:void 0,header:void 0,itemLayout:"horizontal",loading:!1,locale:{emptyText:"No Data"},pagination:!1,size:"default",split:!0},argTypes:{itemLayout:{control:"select",options:["horizontal","vertical"]},size:{control:"select",options:["default","large","small"]}}},s={},i={args:{bordered:!0}},n={args:{itemLayout:"vertical"}},c={args:{loading:!0}},m={args:{pagination:{current:1,total:50,pageSize:10}}},p={args:{grid:{gutter:16,column:4}}},d={args:{size:"large"}},u={args:{footer:g.jsx(g.Fragment,{children:"Custom Footer"})}},l={args:{split:!1}};var y,z,C;s.parameters=e(r({},s.parameters),{docs:e(r({},(y=s.parameters)==null?void 0:y.docs),{source:r({originalSource:"{}"},(C=(z=s.parameters)==null?void 0:z.docs)==null?void 0:C.source)})});var x,v,I;i.parameters=e(r({},i.parameters),{docs:e(r({},(x=i.parameters)==null?void 0:x.docs),{source:r({originalSource:`{ args: { bordered: true } diff --git a/pr-preview/pr-459/assets/Loading-BeeLkhhk.js b/pr-preview/pr-459/assets/Loading-NC2mhu7a.js similarity index 95% rename from pr-preview/pr-459/assets/Loading-BeeLkhhk.js rename to pr-preview/pr-459/assets/Loading-NC2mhu7a.js index eb1c9dbd4..6ce55086a 100644 --- a/pr-preview/pr-459/assets/Loading-BeeLkhhk.js +++ b/pr-preview/pr-459/assets/Loading-NC2mhu7a.js @@ -1,3 +1,3 @@ -var a=Object.defineProperty,x=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var e=(o,t,n)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[t]=n,r=(o,t)=>{for(var n in t||(t={}))j.call(t,n)&&e(o,n,t[n]);if(m)for(var n of m(t))u.call(t,n)&&e(o,n,t[n]);return o},p=(o,t)=>x(o,d(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{S as h}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";function s(o){const t=r(r({h1:"h1",p:"p"},c()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(t.h1,{id:"loading",children:"Loading"}),` +var a=Object.defineProperty,x=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var e=(o,t,n)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[t]=n,r=(o,t)=>{for(var n in t||(t={}))j.call(t,n)&&e(o,n,t[n]);if(m)for(var n of m(t))u.call(t,n)&&e(o,n,t[n]);return o},p=(o,t)=>x(o,d(t));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as c}from"./index-BI4Okn8T.js";import{S as h}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";function s(o){const t=r(r({h1:"h1",p:"p"},c()),o.components);return i.jsxs(i.Fragment,{children:[i.jsx(t.h1,{id:"loading",children:"Loading"}),` `,i.jsx(h,{}),` `,i.jsx(t.p,{children:"TBD"})]})}function b(o={}){const{wrapper:t}=r(r({},c()),o.components);return t?i.jsx(t,p(r({},o),{children:i.jsx(s,r({},o))})):s(o)}export{b as default}; diff --git a/pr-preview/pr-459/assets/LoadingModal.stories-DiE23ved.js b/pr-preview/pr-459/assets/LoadingModal.stories-WN7TvNGX.js similarity index 94% rename from pr-preview/pr-459/assets/LoadingModal.stories-DiE23ved.js rename to pr-preview/pr-459/assets/LoadingModal.stories-WN7TvNGX.js index 59c14916e..4ad616483 100644 --- a/pr-preview/pr-459/assets/LoadingModal.stories-DiE23ved.js +++ b/pr-preview/pr-459/assets/LoadingModal.stories-WN7TvNGX.js @@ -1,4 +1,4 @@ -var S=Object.defineProperty,k=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var h=(o,e,r)=>e in o?S(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,a=(o,e)=>{for(var r in e||(e={}))L.call(e,r)&&h(o,r,e[r]);if(x)for(var r of x(e))F.call(e,r)&&h(o,r,e[r]);return o},i=(o,e)=>k(o,C(e));var y=(o,e,r)=>new Promise((n,p)=>{var l=t=>{try{m(r.next(t))}catch(g){p(g)}},u=t=>{try{m(r.throw(t))}catch(g){p(g)}},m=t=>t.done?n(t.value):Promise.resolve(t.value).then(l,u);m((r=r.apply(o,e)).next())});import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{r as v}from"./index-CNk6hRaE.js";import{a0 as O,i as B}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const Z={title:"Components/Feedback/Loading Modal",component:O,args:{}},P=(o,e)=>{const[r,n]=v.useState(!1),p=()=>{n(!0)},l=()=>{n(!1)},u=()=>{n(!1)};return s.jsxs(s.Fragment,{children:[s.jsx(B,{type:"primary",onClick:p,children:"Open Loading Modal"}),r&&s.jsx(O,{fetchData:e,title:"Loading Modal",open:!0,onOk:l,onCancel:u,children:m=>s.jsxs(s.Fragment,{children:["Data resolved with - ",m+""]})})]})},_=o=>P(o,()=>y(void 0,null,function*(){return yield new Promise((e,r)=>{setTimeout(()=>{e(!0)},1e3)})})),b=o=>P(o,()=>y(void 0,null,function*(){return yield new Promise((e,r)=>{setTimeout(()=>{r(new Error)},1e3)})})),c={render:_},d={render:b};var E,f,j;c.parameters=i(a({},c.parameters),{docs:i(a({},(E=c.parameters)==null?void 0:E.docs),{source:a({originalSource:`{ +var S=Object.defineProperty,k=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var h=(o,e,r)=>e in o?S(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,a=(o,e)=>{for(var r in e||(e={}))L.call(e,r)&&h(o,r,e[r]);if(x)for(var r of x(e))F.call(e,r)&&h(o,r,e[r]);return o},i=(o,e)=>k(o,C(e));var y=(o,e,r)=>new Promise((n,p)=>{var l=t=>{try{m(r.next(t))}catch(g){p(g)}},u=t=>{try{m(r.throw(t))}catch(g){p(g)}},m=t=>t.done?n(t.value):Promise.resolve(t.value).then(l,u);m((r=r.apply(o,e)).next())});import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{r as v}from"./index-CNk6hRaE.js";import{a2 as O,l as B}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const Z={title:"Components/Feedback/Loading Modal",component:O,args:{}},P=(o,e)=>{const[r,n]=v.useState(!1),p=()=>{n(!0)},l=()=>{n(!1)},u=()=>{n(!1)};return s.jsxs(s.Fragment,{children:[s.jsx(B,{type:"primary",onClick:p,children:"Open Loading Modal"}),r&&s.jsx(O,{fetchData:e,title:"Loading Modal",open:!0,onOk:l,onCancel:u,children:m=>s.jsxs(s.Fragment,{children:["Data resolved with - ",m+""]})})]})},_=o=>P(o,()=>y(void 0,null,function*(){return yield new Promise((e,r)=>{setTimeout(()=>{e(!0)},1e3)})})),b=o=>P(o,()=>y(void 0,null,function*(){return yield new Promise((e,r)=>{setTimeout(()=>{r(new Error)},1e3)})})),c={render:_},d={render:b};var E,f,j;c.parameters=i(a({},c.parameters),{docs:i(a({},(E=c.parameters)==null?void 0:E.docs),{source:a({originalSource:`{ render: PrimaryTemplate }`},(j=(f=c.parameters)==null?void 0:f.docs)==null?void 0:j.source)})});var w,M,T;d.parameters=i(a({},d.parameters),{docs:i(a({},(w=d.parameters)==null?void 0:w.docs),{source:a({originalSource:`{ render: ErrorTemplate diff --git a/pr-preview/pr-459/assets/Mentions.stories-CWDXyJpe.js b/pr-preview/pr-459/assets/Mentions.stories-CEaAW57W.js similarity index 94% rename from pr-preview/pr-459/assets/Mentions.stories-CWDXyJpe.js rename to pr-preview/pr-459/assets/Mentions.stories-CEaAW57W.js index fe1f3b1a3..db462f82d 100644 --- a/pr-preview/pr-459/assets/Mentions.stories-CWDXyJpe.js +++ b/pr-preview/pr-459/assets/Mentions.stories-CEaAW57W.js @@ -1,4 +1,4 @@ -var ze=Object.defineProperty,Je=Object.defineProperties;var Be=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var Ie=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable;var V=(o,a,t)=>a in o?ze(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,e=(o,a)=>{for(var t in a||(a={}))Ie.call(a,t)&&V(o,t,a[t]);if(T)for(var t of T(a))Oe.call(a,t)&&V(o,t,a[t]);return o},r=(o,a)=>Je(o,Be(a));var f=(o,a,t)=>new Promise((u,i)=>{var d=s=>{try{p(t.next(s))}catch(c){i(c)}},b=s=>{try{p(t.throw(s))}catch(c){i(c)}},p=s=>s.done?u(s.value):Promise.resolve(s.value).then(d,b);p((t=t.apply(o,a)).next())});import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{U as l,F as Te,O as h,V as ke,i as $,I as Ve}from"./GlobalNavigation-CPQMp-rl.js";import{E as m}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as g}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const en={title:"Components/Data Entry/Mentions",component:l,args:{}},x={args:{allowClear:!1,autoFocus:!1,autoSize:!1,defaultValue:"",filterOption:!1,notFoundContent:"Not Found",placement:"bottom",prefix:"@",split:" ",status:void 0,validateSearch:void 0,value:"",variant:"outlined",options:[{value:"JohnDoe",label:"John Doe"},{value:"JaneDoe",label:"Jane Doe"},{value:"BobSmith",label:"Bob Smith"}],getPopupContainer:()=>document.body,onBlur:()=>{},onChange:o=>{console.log(`Text Changed: ${o}`)},onFocus:()=>{},onResize:({width:o,height:a})=>{console.log(`Textarea Resized: Width - ${o}, Height - ${a}`)},onSearch:(o,a)=>{alert(`Search Triggered: Text - ${o}, Prefix - ${a}`)},onSelect:(o,a)=>{alert(`Option Selected: ${o.value}, Prefix - ${a}`)}},argTypes:{variant:{control:"select",options:["outlined","borderless","filled"]},status:{control:"select",options:["error","warning"]},placement:{control:"select",options:["top","bottom"]}}},y={args:{allowClear:!0}},v={args:{autoFocus:!0}},S={args:{autoSize:!0}},C={args:{notFoundContent:"No Matches Found"}},w={args:{variant:"borderless"}},F={args:{status:"warning"}},j={args:{placeholder:"Custom Placeholder..."}},E={render:()=>n.jsx(m,{title:"Basic Usage",children:n.jsx(l,{style:{width:"100%"},onChange:o=>{console.log("Change:",o)},onSelect:console.log,defaultValue:"@afc163",options:[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}]})})},M={render:()=>n.jsx(m,{title:"Variants of Mentions",children:n.jsxs(Te,{vertical:!0,gap:12,children:[n.jsx(l,{placeholder:"Outlined"}),n.jsx(l,{placeholder:"Filled",variant:"filled"}),n.jsx(l,{placeholder:"Borderless",variant:"borderless"})]})})},k={render:()=>{const[o,a]=g.useState(!1),[t,u]=g.useState([]),i=g.useRef(),d=s=>{if(!s){u([]);return}fetch(`https://api.github.com/search/users?q=${s}`).then(c=>f(void 0,null,function*(){return yield c.json()})).then(({items:c=[]})=>{var O;i.current===s&&(a(!1),u((O=c.slice(0,10))!=null?O:[]))})},b=g.useCallback(d,[]),p=s=>{console.log("Search:",s),i.current=s,a(!!s),u([]),b(s)};return n.jsx(m,{title:"Async loading from github [begin with @] ",children:n.jsx(l,{style:{width:"100%"},loading:o,onSearch:p,options:t.map(({login:s,avatar_url:c})=>({key:s,value:s,className:"antd-demo-dynamic-option",label:n.jsxs(n.Fragment,{children:[n.jsx("img",{src:c,alt:s}),n.jsx("span",{children:s})]})}))})})}},z={render:()=>{const[o]=h.useForm(),a=()=>{o.resetFields()},t=()=>f(void 0,null,function*(){try{const i=yield o.validateFields();console.log("Submit:",i)}catch(i){console.log("Error:",i)}}),u=(i,d)=>f(void 0,null,function*(){if(l.getMentions(d).length<2)throw new Error("More than one must be selected!")});return n.jsx(m,{title:"Controlled mode, for example, to work with Form.",children:n.jsxs(h,{form:o,layout:"horizontal",onFinish:()=>{t()},children:[n.jsx(h.Item,{name:"coders",label:"Top coders",labelCol:{span:6},wrapperCol:{span:16},rules:[{validator:u}],children:n.jsx(l,{rows:1,options:[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}]})}),n.jsx(h.Item,{name:"bio",label:"Bio",labelCol:{span:6},wrapperCol:{span:16},rules:[{required:!0}],children:n.jsx(l,{rows:3,placeholder:"You can use @ to ref user here",options:[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}]})}),n.jsx(h.Item,{wrapperCol:{span:14,offset:6},children:n.jsxs(ke,{wrap:!0,children:[n.jsx($,{htmlType:"submit",type:"primary",children:"Submit"}),n.jsx($,{htmlType:"button",onClick:a,children:"Reset"})]})})]})})}},J={render:()=>{const o=["afc163","zombiej","yesmeck"].map(a=>({value:a,key:a,label:a}));return n.jsx(m,{title:"Configure disabled and readOnly.",children:n.jsxs(n.Fragment,{children:[n.jsx("div",{style:{marginBottom:10},children:n.jsx(l,{style:{width:"100%"},placeholder:"this is disabled Mentions",disabled:!0,options:o})}),n.jsx(l,{style:{width:"100%"},placeholder:"this is readOnly Mentions",readOnly:!0,options:o})]})})}},B={render:()=>{const[o,a]=g.useState("hello world");return n.jsx(m,{title:"Customize clear button.",children:n.jsxs(n.Fragment,{children:[n.jsx(l,{value:o,onChange:a,allowClear:!0}),n.jsx("br",{}),n.jsx("br",{}),n.jsx(l,{value:o,onChange:a,allowClear:{clearIcon:n.jsx(Ve,{name:"mpLogo"})}}),n.jsx("br",{}),n.jsx("br",{}),n.jsx(l,{value:o,onChange:a,allowClear:!0,rows:3})]})})}},I={render:()=>{const o=t=>{console.log("Change:",t)},a=[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}];return n.jsx(m,{title:"Add status to Mentions with status, which could be error or warning。",children:n.jsxs(ke,{direction:"vertical",children:[n.jsx(l,{onChange:o,onSelect:console.log,defaultValue:"@afc163",status:"error",options:a}),n.jsx(l,{onChange:o,onSelect:console.log,defaultValue:"@afc163",status:"warning",options:a})]})})}};var R,U,P;x.parameters=r(e({},x.parameters),{docs:r(e({},(R=x.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ +var ze=Object.defineProperty,Je=Object.defineProperties;var Be=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var Ie=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable;var V=(o,a,t)=>a in o?ze(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,e=(o,a)=>{for(var t in a||(a={}))Ie.call(a,t)&&V(o,t,a[t]);if(O)for(var t of O(a))Te.call(a,t)&&V(o,t,a[t]);return o},r=(o,a)=>Je(o,Be(a));var f=(o,a,t)=>new Promise((u,i)=>{var d=s=>{try{p(t.next(s))}catch(c){i(c)}},b=s=>{try{p(t.throw(s))}catch(c){i(c)}},p=s=>s.done?u(s.value):Promise.resolve(s.value).then(d,b);p((t=t.apply(o,a)).next())});import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{W as l,F as Oe,U as h,X as ke,l as $,I as Ve}from"./GlobalNavigation-DT_tPK9g.js";import{E as m}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as g}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const en={title:"Components/Data Entry/Mentions",component:l,args:{}},x={args:{allowClear:!1,autoFocus:!1,autoSize:!1,defaultValue:"",filterOption:!1,notFoundContent:"Not Found",placement:"bottom",prefix:"@",split:" ",status:void 0,validateSearch:void 0,value:"",variant:"outlined",options:[{value:"JohnDoe",label:"John Doe"},{value:"JaneDoe",label:"Jane Doe"},{value:"BobSmith",label:"Bob Smith"}],getPopupContainer:()=>document.body,onBlur:()=>{},onChange:o=>{console.log(`Text Changed: ${o}`)},onFocus:()=>{},onResize:({width:o,height:a})=>{console.log(`Textarea Resized: Width - ${o}, Height - ${a}`)},onSearch:(o,a)=>{alert(`Search Triggered: Text - ${o}, Prefix - ${a}`)},onSelect:(o,a)=>{alert(`Option Selected: ${o.value}, Prefix - ${a}`)}},argTypes:{variant:{control:"select",options:["outlined","borderless","filled"]},status:{control:"select",options:["error","warning"]},placement:{control:"select",options:["top","bottom"]}}},y={args:{allowClear:!0}},v={args:{autoFocus:!0}},S={args:{autoSize:!0}},C={args:{notFoundContent:"No Matches Found"}},w={args:{variant:"borderless"}},F={args:{status:"warning"}},j={args:{placeholder:"Custom Placeholder..."}},E={render:()=>n.jsx(m,{title:"Basic Usage",children:n.jsx(l,{style:{width:"100%"},onChange:o=>{console.log("Change:",o)},onSelect:console.log,defaultValue:"@afc163",options:[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}]})})},M={render:()=>n.jsx(m,{title:"Variants of Mentions",children:n.jsxs(Oe,{vertical:!0,gap:12,children:[n.jsx(l,{placeholder:"Outlined"}),n.jsx(l,{placeholder:"Filled",variant:"filled"}),n.jsx(l,{placeholder:"Borderless",variant:"borderless"})]})})},k={render:()=>{const[o,a]=g.useState(!1),[t,u]=g.useState([]),i=g.useRef(),d=s=>{if(!s){u([]);return}fetch(`https://api.github.com/search/users?q=${s}`).then(c=>f(void 0,null,function*(){return yield c.json()})).then(({items:c=[]})=>{var T;i.current===s&&(a(!1),u((T=c.slice(0,10))!=null?T:[]))})},b=g.useCallback(d,[]),p=s=>{console.log("Search:",s),i.current=s,a(!!s),u([]),b(s)};return n.jsx(m,{title:"Async loading from github [begin with @] ",children:n.jsx(l,{style:{width:"100%"},loading:o,onSearch:p,options:t.map(({login:s,avatar_url:c})=>({key:s,value:s,className:"antd-demo-dynamic-option",label:n.jsxs(n.Fragment,{children:[n.jsx("img",{src:c,alt:s}),n.jsx("span",{children:s})]})}))})})}},z={render:()=>{const[o]=h.useForm(),a=()=>{o.resetFields()},t=()=>f(void 0,null,function*(){try{const i=yield o.validateFields();console.log("Submit:",i)}catch(i){console.log("Error:",i)}}),u=(i,d)=>f(void 0,null,function*(){if(l.getMentions(d).length<2)throw new Error("More than one must be selected!")});return n.jsx(m,{title:"Controlled mode, for example, to work with Form.",children:n.jsxs(h,{form:o,layout:"horizontal",onFinish:()=>{t()},children:[n.jsx(h.Item,{name:"coders",label:"Top coders",labelCol:{span:6},wrapperCol:{span:16},rules:[{validator:u}],children:n.jsx(l,{rows:1,options:[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}]})}),n.jsx(h.Item,{name:"bio",label:"Bio",labelCol:{span:6},wrapperCol:{span:16},rules:[{required:!0}],children:n.jsx(l,{rows:3,placeholder:"You can use @ to ref user here",options:[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}]})}),n.jsx(h.Item,{wrapperCol:{span:14,offset:6},children:n.jsxs(ke,{wrap:!0,children:[n.jsx($,{htmlType:"submit",type:"primary",children:"Submit"}),n.jsx($,{htmlType:"button",onClick:a,children:"Reset"})]})})]})})}},J={render:()=>{const o=["afc163","zombiej","yesmeck"].map(a=>({value:a,key:a,label:a}));return n.jsx(m,{title:"Configure disabled and readOnly.",children:n.jsxs(n.Fragment,{children:[n.jsx("div",{style:{marginBottom:10},children:n.jsx(l,{style:{width:"100%"},placeholder:"this is disabled Mentions",disabled:!0,options:o})}),n.jsx(l,{style:{width:"100%"},placeholder:"this is readOnly Mentions",readOnly:!0,options:o})]})})}},B={render:()=>{const[o,a]=g.useState("hello world");return n.jsx(m,{title:"Customize clear button.",children:n.jsxs(n.Fragment,{children:[n.jsx(l,{value:o,onChange:a,allowClear:!0}),n.jsx("br",{}),n.jsx("br",{}),n.jsx(l,{value:o,onChange:a,allowClear:{clearIcon:n.jsx(Ve,{name:"mpLogo"})}}),n.jsx("br",{}),n.jsx("br",{}),n.jsx(l,{value:o,onChange:a,allowClear:!0,rows:3})]})})}},I={render:()=>{const o=t=>{console.log("Change:",t)},a=[{value:"afc163",label:"afc163"},{value:"zombieJ",label:"zombieJ"},{value:"yesmeck",label:"yesmeck"}];return n.jsx(m,{title:"Add status to Mentions with status, which could be error or warning。",children:n.jsxs(ke,{direction:"vertical",children:[n.jsx(l,{onChange:o,onSelect:console.log,defaultValue:"@afc163",status:"error",options:a}),n.jsx(l,{onChange:o,onSelect:console.log,defaultValue:"@afc163",status:"warning",options:a})]})})}};var R,U,P;x.parameters=r(e({},x.parameters),{docs:r(e({},(R=x.parameters)==null?void 0:R.docs),{source:e({originalSource:`{ args: { allowClear: false, autoFocus: false, @@ -64,15 +64,15 @@ var ze=Object.defineProperty,Je=Object.defineProperties;var Be=Object.getOwnProp args: { autoFocus: true } -}`},(_=(G=v.parameters)==null?void 0:G.docs)==null?void 0:_.source)})});var q,W,H;S.parameters=r(e({},S.parameters),{docs:r(e({},(q=S.parameters)==null?void 0:q.docs),{source:e({originalSource:`{ +}`},(_=(G=v.parameters)==null?void 0:G.docs)==null?void 0:_.source)})});var W,q,H;S.parameters=r(e({},S.parameters),{docs:r(e({},(W=S.parameters)==null?void 0:W.docs),{source:e({originalSource:`{ args: { autoSize: true } -}`},(H=(W=S.parameters)==null?void 0:W.docs)==null?void 0:H.source)})});var Y,K,Q;C.parameters=r(e({},C.parameters),{docs:r(e({},(Y=C.parameters)==null?void 0:Y.docs),{source:e({originalSource:`{ +}`},(H=(q=S.parameters)==null?void 0:q.docs)==null?void 0:H.source)})});var Y,X,K;C.parameters=r(e({},C.parameters),{docs:r(e({},(Y=C.parameters)==null?void 0:Y.docs),{source:e({originalSource:`{ args: { notFoundContent: 'No Matches Found' } -}`},(Q=(K=C.parameters)==null?void 0:K.docs)==null?void 0:Q.source)})});var X,Z,ee;w.parameters=r(e({},w.parameters),{docs:r(e({},(X=w.parameters)==null?void 0:X.docs),{source:e({originalSource:`{ +}`},(K=(X=C.parameters)==null?void 0:X.docs)==null?void 0:K.source)})});var Q,Z,ee;w.parameters=r(e({},w.parameters),{docs:r(e({},(Q=w.parameters)==null?void 0:Q.docs),{source:e({originalSource:`{ args: { variant: 'borderless' } diff --git a/pr-preview/pr-459/assets/Menu.stories-D4VQxD1N.js b/pr-preview/pr-459/assets/Menu.stories-BkolQIB5.js similarity index 99% rename from pr-preview/pr-459/assets/Menu.stories-D4VQxD1N.js rename to pr-preview/pr-459/assets/Menu.stories-BkolQIB5.js index 95438c61b..da474d72f 100644 --- a/pr-preview/pr-459/assets/Menu.stories-D4VQxD1N.js +++ b/pr-preview/pr-459/assets/Menu.stories-BkolQIB5.js @@ -1,4 +1,4 @@ -var xe=Object.defineProperty,Se=Object.defineProperties;var Ce=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var M=(l,a,t)=>a in l?xe(l,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[a]=t,n=(l,a)=>{for(var t in a||(a={}))Ie.call(a,t)&&M(l,t,a[t]);if(E)for(var t of E(a))ve.call(a,t)&&M(l,t,a[t]);return l},o=(l,a)=>Se(l,Ce(a));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as K}from"./index-CNk6hRaE.js";import{ah as s,I as i,i as je}from"./GlobalNavigation-CPQMp-rl.js";import{E as c}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ge=[{label:"Navigation One",key:"mail"},{label:"Navigation Two",key:"app",disabled:!0},{label:"Navigation Three - Submenu",key:"SubMenu",children:[{type:"group",label:"Item 1",children:[{label:"Option 1",key:"setting:1"},{label:"Option 2",key:"setting:2"}]},{type:"group",label:"Item 2",children:[{label:"Option 3",key:"setting:3"},{label:"Option 4",key:"setting:4"}]}]},{label:"Navigation Four - Link",key:"alipay"}],Re={title:"Components/Navigation/Menu",component:l=>e.jsxs(e.Fragment,{children:[" ",e.jsxs(s,o(n({},l),{children:[" ",l.children," "]}))]}),args:{children:e.jsx(e.Fragment,{children:"Button"}),items:ge,defaultOpenKeys:[],defaultSelectedKeys:[],expandIcon:void 0,forceSubMenuRender:!1,inlineCollapsed:!1,inlineIndent:24,mode:"vertical",multiple:!1,overflowedIndicator:e.jsx(e.Fragment,{children:"..."}),selectable:!0,selectedKeys:["mail"],style:void 0,subMenuCloseDelay:.1,subMenuOpenDelay:0,theme:"light",triggerSubMenuAction:"hover",onClick:({item:l,key:a,keyPath:t,domEvent:r})=>{alert(`Clicked on ${String(l)}`)},onDeselect:({item:l,key:a,keyPath:t,selectedKeys:r,domEvent:j})=>{alert(`Deselected ${String(l)}`)},onOpenChange:l=>{console.log(`Opened or Closed Sub-menus: ${l.join(", ")}`)},onSelect:({item:l,key:a,keyPath:t,selectedKeys:r,domEvent:j})=>{alert(`Selected ${String(l)}`)}},argTypes:{mode:{control:"select",options:["vertical","horizontal","inline"]},theme:{control:"select",options:["light","dark"]},triggerSubMenuAction:{control:"select",options:["hover","click"]}}},m={},u={args:{mode:"inline"}},y={args:{mode:"horizontal"}},d={args:{multiple:!0}},b={args:{expandIcon:l=>e.jsx(i,{name:"alicorn"})}},k={args:{inlineCollapsed:!0}},O={args:{theme:"dark"}},g={args:{style:{backgroundColor:"#f0f0f0"}}},h={args:{subMenuOpenDelay:.2,subMenuCloseDelay:.2}},x={render:()=>{const[l,a]=K.useState("mail"),t=r=>{console.log("clicked: ",r),a(r.key)};return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Horizontal top navigation menu",children:e.jsx(s,{onClick:t,selectedKeys:[l],mode:"horizontal",items:ge})})})}},S={render:()=>{const l=[{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Item 1",key:"g1",children:[{label:"Option 1",key:"1"},{label:"Option 2",key:"2"}],type:"group"},{label:"Item 2",key:"g2",children:[{label:"Option 3",key:"3"},{label:"Option 4",key:"4"}],type:"group"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Submenu",key:"sub3",icon:null,children:[{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]}]},{type:"divider"},{label:"Navigation Three",key:"sub4",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]},{label:"Group",key:"grp",children:[{label:"Option 13",key:"13"},{label:"Option 14",key:"14"}],type:"group"}];return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Vertical menu with inline submenus",children:e.jsx(s,{onClick:a=>{console.log("click ",a)},style:{width:256},defaultSelectedKeys:["1"],defaultOpenKeys:["sub1"],mode:"inline",items:l})})})}},C={render:()=>{const l=[{label:"Option 1",key:"1",icon:e.jsx(i,{name:"alicorn"})},{label:"Option 2",key:"2",icon:e.jsx(i,{name:"alicorn"})},{label:"Option 3",key:"3",icon:e.jsx(i,{name:"alicorn"})},{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Submenu",key:"sub3",icon:null,children:[{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]}]}],[a,t]=K.useState(!1),r=()=>{t(!a)};return e.jsx(e.Fragment,{children:e.jsx(c,{title:e.jsxs(e.Fragment,{children:["Inline menu could be collapsed. Here is a"," ",e.jsx("a",{href:"https://ant.design/components/layout#components-layout-demo-side",target:"_blank",rel:"noreferrer",children:"complete demo"})," ","with sider layout"," "]}),children:e.jsxs("div",{style:{width:256},children:[e.jsx(je,{type:"primary",onClick:r,style:{marginBottom:16},children:a?"Expand":"Collapse"}),e.jsx(s,{defaultSelectedKeys:["1"],defaultOpenKeys:["sub1"],mode:"inline",inlineCollapsed:a,items:l})]})})})}},I={render:()=>{const l=[{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 1",key:"1"},{label:"Option 2",key:"2"},{label:"Option 3",key:"3"},{label:"Option 4",key:"4"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Submenu",key:"sub3",icon:null,children:[{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]}]},{label:"Navigation Three",key:"sub4",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]}],a=["sub1","sub2","sub4"],[t,r]=K.useState(["sub1"]),j=f=>{const p=f.find(he=>!t.includes(he));p&&!a.includes(p)?r(f):r(p?[p]:[])};return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Click the menu and you will see that all the other menus gets collapsed to keep the entire menu compact",children:e.jsx(s,{mode:"inline",openKeys:t,onOpenChange:j,style:{width:256},items:l})})})}},v={render:()=>{const l=[{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Item 1",key:"Item 1 Key",children:[{label:"Option 1",key:"1"},{label:"Option 2",key:"2"}],type:"group"},{label:"Item 2",key:"Item 2 Key",children:[{label:"Option 3",key:"3"},{label:"Option 4",key:"4"}],type:"group"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Submenu",key:"sub3",children:[{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]}]},{label:"Navigation Three",key:"sub4",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]}];return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Submenus open as pop-ups",children:e.jsx(s,{onClick:a=>{console.log("click",a)},style:{width:256},mode:"vertical",items:l})})})}};var N,w,T;m.parameters=o(n({},m.parameters),{docs:o(n({},(N=m.parameters)==null?void 0:N.docs),{source:n({originalSource:"{}"},(T=(w=m.parameters)==null?void 0:w.docs)==null?void 0:T.source)})});var D,z,P;u.parameters=o(n({},u.parameters),{docs:o(n({},(D=u.parameters)==null?void 0:D.docs),{source:n({originalSource:`{ +var xe=Object.defineProperty,Se=Object.defineProperties;var Ce=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var M=(l,a,t)=>a in l?xe(l,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[a]=t,n=(l,a)=>{for(var t in a||(a={}))Ie.call(a,t)&&M(l,t,a[t]);if(E)for(var t of E(a))ve.call(a,t)&&M(l,t,a[t]);return l},o=(l,a)=>Se(l,Ce(a));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as K}from"./index-CNk6hRaE.js";import{aj as s,I as i,l as je}from"./GlobalNavigation-DT_tPK9g.js";import{E as c}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ge=[{label:"Navigation One",key:"mail"},{label:"Navigation Two",key:"app",disabled:!0},{label:"Navigation Three - Submenu",key:"SubMenu",children:[{type:"group",label:"Item 1",children:[{label:"Option 1",key:"setting:1"},{label:"Option 2",key:"setting:2"}]},{type:"group",label:"Item 2",children:[{label:"Option 3",key:"setting:3"},{label:"Option 4",key:"setting:4"}]}]},{label:"Navigation Four - Link",key:"alipay"}],Re={title:"Components/Navigation/Menu",component:l=>e.jsxs(e.Fragment,{children:[" ",e.jsxs(s,o(n({},l),{children:[" ",l.children," "]}))]}),args:{children:e.jsx(e.Fragment,{children:"Button"}),items:ge,defaultOpenKeys:[],defaultSelectedKeys:[],expandIcon:void 0,forceSubMenuRender:!1,inlineCollapsed:!1,inlineIndent:24,mode:"vertical",multiple:!1,overflowedIndicator:e.jsx(e.Fragment,{children:"..."}),selectable:!0,selectedKeys:["mail"],style:void 0,subMenuCloseDelay:.1,subMenuOpenDelay:0,theme:"light",triggerSubMenuAction:"hover",onClick:({item:l,key:a,keyPath:t,domEvent:r})=>{alert(`Clicked on ${String(l)}`)},onDeselect:({item:l,key:a,keyPath:t,selectedKeys:r,domEvent:j})=>{alert(`Deselected ${String(l)}`)},onOpenChange:l=>{console.log(`Opened or Closed Sub-menus: ${l.join(", ")}`)},onSelect:({item:l,key:a,keyPath:t,selectedKeys:r,domEvent:j})=>{alert(`Selected ${String(l)}`)}},argTypes:{mode:{control:"select",options:["vertical","horizontal","inline"]},theme:{control:"select",options:["light","dark"]},triggerSubMenuAction:{control:"select",options:["hover","click"]}}},m={},u={args:{mode:"inline"}},y={args:{mode:"horizontal"}},d={args:{multiple:!0}},b={args:{expandIcon:l=>e.jsx(i,{name:"alicorn"})}},k={args:{inlineCollapsed:!0}},O={args:{theme:"dark"}},g={args:{style:{backgroundColor:"#f0f0f0"}}},h={args:{subMenuOpenDelay:.2,subMenuCloseDelay:.2}},x={render:()=>{const[l,a]=K.useState("mail"),t=r=>{console.log("clicked: ",r),a(r.key)};return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Horizontal top navigation menu",children:e.jsx(s,{onClick:t,selectedKeys:[l],mode:"horizontal",items:ge})})})}},S={render:()=>{const l=[{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Item 1",key:"g1",children:[{label:"Option 1",key:"1"},{label:"Option 2",key:"2"}],type:"group"},{label:"Item 2",key:"g2",children:[{label:"Option 3",key:"3"},{label:"Option 4",key:"4"}],type:"group"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Submenu",key:"sub3",icon:null,children:[{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]}]},{type:"divider"},{label:"Navigation Three",key:"sub4",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]},{label:"Group",key:"grp",children:[{label:"Option 13",key:"13"},{label:"Option 14",key:"14"}],type:"group"}];return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Vertical menu with inline submenus",children:e.jsx(s,{onClick:a=>{console.log("click ",a)},style:{width:256},defaultSelectedKeys:["1"],defaultOpenKeys:["sub1"],mode:"inline",items:l})})})}},C={render:()=>{const l=[{label:"Option 1",key:"1",icon:e.jsx(i,{name:"alicorn"})},{label:"Option 2",key:"2",icon:e.jsx(i,{name:"alicorn"})},{label:"Option 3",key:"3",icon:e.jsx(i,{name:"alicorn"})},{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Submenu",key:"sub3",icon:null,children:[{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]}]}],[a,t]=K.useState(!1),r=()=>{t(!a)};return e.jsx(e.Fragment,{children:e.jsx(c,{title:e.jsxs(e.Fragment,{children:["Inline menu could be collapsed. Here is a"," ",e.jsx("a",{href:"https://ant.design/components/layout#components-layout-demo-side",target:"_blank",rel:"noreferrer",children:"complete demo"})," ","with sider layout"," "]}),children:e.jsxs("div",{style:{width:256},children:[e.jsx(je,{type:"primary",onClick:r,style:{marginBottom:16},children:a?"Expand":"Collapse"}),e.jsx(s,{defaultSelectedKeys:["1"],defaultOpenKeys:["sub1"],mode:"inline",inlineCollapsed:a,items:l})]})})})}},I={render:()=>{const l=[{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 1",key:"1"},{label:"Option 2",key:"2"},{label:"Option 3",key:"3"},{label:"Option 4",key:"4"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Submenu",key:"sub3",icon:null,children:[{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]}]},{label:"Navigation Three",key:"sub4",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]}],a=["sub1","sub2","sub4"],[t,r]=K.useState(["sub1"]),j=f=>{const p=f.find(he=>!t.includes(he));p&&!a.includes(p)?r(f):r(p?[p]:[])};return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Click the menu and you will see that all the other menus gets collapsed to keep the entire menu compact",children:e.jsx(s,{mode:"inline",openKeys:t,onOpenChange:j,style:{width:256},items:l})})})}},v={render:()=>{const l=[{label:"Navigation One",key:"sub1",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Item 1",key:"Item 1 Key",children:[{label:"Option 1",key:"1"},{label:"Option 2",key:"2"}],type:"group"},{label:"Item 2",key:"Item 2 Key",children:[{label:"Option 3",key:"3"},{label:"Option 4",key:"4"}],type:"group"}]},{label:"Navigation Two",key:"sub2",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 5",key:"5"},{label:"Option 6",key:"6"},{label:"Submenu",key:"sub3",children:[{label:"Option 7",key:"7"},{label:"Option 8",key:"8"}]}]},{label:"Navigation Three",key:"sub4",icon:e.jsx(i,{name:"alicorn"}),children:[{label:"Option 9",key:"9"},{label:"Option 10",key:"10"},{label:"Option 11",key:"11"},{label:"Option 12",key:"12"}]}];return e.jsx(e.Fragment,{children:e.jsx(c,{title:"Submenus open as pop-ups",children:e.jsx(s,{onClick:a=>{console.log("click",a)},style:{width:256},mode:"vertical",items:l})})})}};var N,w,T;m.parameters=o(n({},m.parameters),{docs:o(n({},(N=m.parameters)==null?void 0:N.docs),{source:n({originalSource:"{}"},(T=(w=m.parameters)==null?void 0:w.docs)==null?void 0:T.source)})});var D,z,P;u.parameters=o(n({},u.parameters),{docs:o(n({},(D=u.parameters)==null?void 0:D.docs),{source:n({originalSource:`{ args: { mode: 'inline' } diff --git a/pr-preview/pr-459/assets/Message.stories-BtArmjQU.js b/pr-preview/pr-459/assets/Message.stories-CWUpoYNg.js similarity index 63% rename from pr-preview/pr-459/assets/Message.stories-BtArmjQU.js rename to pr-preview/pr-459/assets/Message.stories-CWUpoYNg.js index 1fcbff4ec..452d9f7aa 100644 --- a/pr-preview/pr-459/assets/Message.stories-BtArmjQU.js +++ b/pr-preview/pr-459/assets/Message.stories-CWUpoYNg.js @@ -1,18 +1,18 @@ -var h=Object.defineProperty,b=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var p=(s,e,o)=>e in s?h(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o,r=(s,e)=>{for(var o in e||(e={}))z.call(e,o)&&p(s,o,e[o]);if(m)for(var o of m(e))E.call(e,o)&&p(s,o,e[o]);return s},t=(s,e)=>b(s,j(e));import{j as P}from"./jsx-runtime-BcCOBRXo.js";import{a1 as _,i as w}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const V={title:"Components/Feedback/Message",component:_,args:{children:P.jsx(w,{children:"Show Message"}),className:void 0,content:"Message content",duration:3,icon:void 0,key:void 0,style:void 0,onClick:void 0,onClose:void 0}},a={},i={args:{duration:1}},n={args:{style:{fontSize:"24px",color:"#959ee6"}}},c={args:{onClick:()=>{alert("Message clicked")}}};var d,l,u;a.parameters=t(r({},a.parameters),{docs:t(r({},(d=a.parameters)==null?void 0:d.docs),{source:r({originalSource:"{}"},(u=(l=a.parameters)==null?void 0:l.docs)==null?void 0:u.source)})});var g,S,k;i.parameters=t(r({},i.parameters),{docs:t(r({},(g=i.parameters)==null?void 0:g.docs),{source:r({originalSource:`{ +var h=Object.defineProperty,b=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var p=(s,e,o)=>e in s?h(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o,r=(s,e)=>{for(var o in e||(e={}))z.call(e,o)&&p(s,o,e[o]);if(m)for(var o of m(e))E.call(e,o)&&p(s,o,e[o]);return s},t=(s,e)=>b(s,j(e));import{j as P}from"./jsx-runtime-BcCOBRXo.js";import{a3 as _,l as w}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const V={title:"Components/Feedback/Message",component:_,args:{children:P.jsx(w,{children:"Show Message"}),className:void 0,content:"Message content",duration:3,icon:void 0,key:void 0,style:void 0,onClick:void 0,onClose:void 0}},a={},n={args:{duration:1}},c={args:{style:{fontSize:"24px",color:"#959ee6"}}},i={args:{onClick:()=>{alert("Message clicked")}}};var d,l,u;a.parameters=t(r({},a.parameters),{docs:t(r({},(d=a.parameters)==null?void 0:d.docs),{source:r({originalSource:"{}"},(u=(l=a.parameters)==null?void 0:l.docs)==null?void 0:u.source)})});var g,S,k;n.parameters=t(r({},n.parameters),{docs:t(r({},(g=n.parameters)==null?void 0:g.docs),{source:r({originalSource:`{ args: { duration: 1 } -}`},(k=(S=i.parameters)==null?void 0:S.docs)==null?void 0:k.source)})});var C,y,x;n.parameters=t(r({},n.parameters),{docs:t(r({},(C=n.parameters)==null?void 0:C.docs),{source:r({originalSource:`{ +}`},(k=(S=n.parameters)==null?void 0:S.docs)==null?void 0:k.source)})});var C,y,x;c.parameters=t(r({},c.parameters),{docs:t(r({},(C=c.parameters)==null?void 0:C.docs),{source:r({originalSource:`{ args: { style: { fontSize: '24px', color: '#959ee6' } } -}`},(x=(y=n.parameters)==null?void 0:y.docs)==null?void 0:x.source)})});var v,M,f;c.parameters=t(r({},c.parameters),{docs:t(r({},(v=c.parameters)==null?void 0:v.docs),{source:r({originalSource:`{ +}`},(x=(y=c.parameters)==null?void 0:y.docs)==null?void 0:x.source)})});var v,M,f;i.parameters=t(r({},i.parameters),{docs:t(r({},(v=i.parameters)==null?void 0:v.docs),{source:r({originalSource:`{ args: { onClick: () => { alert('Message clicked'); } } -}`},(f=(M=c.parameters)==null?void 0:M.docs)==null?void 0:f.source)})});const W=["Primary","Short","CustomStyle","Clickable"];export{c as Clickable,n as CustomStyle,a as Primary,i as Short,W as __namedExportsOrder,V as default}; +}`},(f=(M=i.parameters)==null?void 0:M.docs)==null?void 0:f.source)})});const W=["Primary","Short","CustomStyle","Clickable"];export{i as Clickable,c as CustomStyle,a as Primary,n as Short,W as __namedExportsOrder,V as default}; diff --git a/pr-preview/pr-459/assets/Modal.stories-BVK542WL.js b/pr-preview/pr-459/assets/Modal.stories-CXPurOPr.js similarity index 59% rename from pr-preview/pr-459/assets/Modal.stories-BVK542WL.js rename to pr-preview/pr-459/assets/Modal.stories-CXPurOPr.js index 7c8617a6a..9509b330c 100644 --- a/pr-preview/pr-459/assets/Modal.stories-BVK542WL.js +++ b/pr-preview/pr-459/assets/Modal.stories-CXPurOPr.js @@ -1,3 +1,3 @@ -var j=Object.defineProperty,f=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var l=(o,e,r)=>e in o?j(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,a=(o,e)=>{for(var r in e||(e={}))y.call(e,r)&&l(o,r,e[r]);if(c)for(var r of c(e))O.call(e,r)&&l(o,r,e[r]);return o},n=(o,e)=>f(o,h(e));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{r as S}from"./index-CNk6hRaE.js";import{M as p,i as g}from"./GlobalNavigation-CPQMp-rl.js";const _={title:"Components/Feedback/Modal",component:p,args:{}},P=o=>{const[e,r]=S.useState(!1),u=()=>{r(!0)},x=()=>{r(!1)},M=()=>{r(!1)};return t.jsxs(t.Fragment,{children:[t.jsx(g,{type:"primary",onClick:u,children:"Open Modal"}),t.jsxs(p,{title:"Basic Modal",open:e,onOk:x,onCancel:M,children:[t.jsx("p",{children:"Some contents..."}),t.jsx("p",{children:"Some contents..."}),t.jsx("p",{children:"Some contents..."})]})]})},s={render:P};var m,d,i;s.parameters=n(a({},s.parameters),{docs:n(a({},(m=s.parameters)==null?void 0:m.docs),{source:a({originalSource:`{ +var j=Object.defineProperty,f=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var c=(o,e,r)=>e in o?j(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,a=(o,e)=>{for(var r in e||(e={}))y.call(e,r)&&c(o,r,e[r]);if(l)for(var r of l(e))O.call(e,r)&&c(o,r,e[r]);return o},n=(o,e)=>f(o,h(e));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{r as S}from"./index-CNk6hRaE.js";import{M as i,l as g}from"./GlobalNavigation-DT_tPK9g.js";const _={title:"Components/Feedback/Modal",component:i,args:{}},P=o=>{const[e,r]=S.useState(!1),u=()=>{r(!0)},x=()=>{r(!1)},M=()=>{r(!1)};return t.jsxs(t.Fragment,{children:[t.jsx(g,{type:"primary",onClick:u,children:"Open Modal"}),t.jsxs(i,{title:"Basic Modal",open:e,onOk:x,onCancel:M,children:[t.jsx("p",{children:"Some contents..."}),t.jsx("p",{children:"Some contents..."}),t.jsx("p",{children:"Some contents..."})]})]})},s={render:P};var m,d,p;s.parameters=n(a({},s.parameters),{docs:n(a({},(m=s.parameters)==null?void 0:m.docs),{source:a({originalSource:`{ render: PrimaryTemplate -}`},(i=(d=s.parameters)==null?void 0:d.docs)==null?void 0:i.source)})});const b=["Primary"],B=Object.freeze(Object.defineProperty({__proto__:null,Primary:s,__namedExportsOrder:b,default:_},Symbol.toStringTag,{value:"Module"}));export{B as M,_ as m}; +}`},(p=(d=s.parameters)==null?void 0:d.docs)==null?void 0:p.source)})});const b=["Primary"],B=Object.freeze(Object.defineProperty({__proto__:null,Primary:s,__namedExportsOrder:b,default:_},Symbol.toStringTag,{value:"Module"}));export{B as M,_ as m}; diff --git a/pr-preview/pr-459/assets/NavigationItem.stories-Dwy8y42r.js b/pr-preview/pr-459/assets/NavigationItem.stories-DXu57zIH.js similarity index 95% rename from pr-preview/pr-459/assets/NavigationItem.stories-Dwy8y42r.js rename to pr-preview/pr-459/assets/NavigationItem.stories-DXu57zIH.js index ca7149aa6..1e99db36d 100644 --- a/pr-preview/pr-459/assets/NavigationItem.stories-Dwy8y42r.js +++ b/pr-preview/pr-459/assets/NavigationItem.stories-DXu57zIH.js @@ -1,4 +1,4 @@ -var k=Object.defineProperty,x=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var p=(a,e,o)=>e in a?k(a,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[e]=o,n=(a,e)=>{for(var o in e||(e={}))f.call(e,o)&&p(a,o,e[o]);if(l)for(var o of l(e))C.call(e,o)&&p(a,o,e[o]);return a},r=(a,e)=>x(a,j(e));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{ag as R,I as N}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const K={title:"Components/Navigation/NavigationItem",component:a=>s.jsx(R,n({},a)),args:{label:"Label"}},t={},i={args:{icon:s.jsx(N,{name:"mpLogo"}),label:"Icon Label",type:"link",onClick:()=>{alert("Redirection!")}}},m={args:{label:"List Label",type:"menu",icon:s.jsx(N,{name:"mpLogo"}),items:[{label:"Nav Item - Menu",type:"menu",children:[{label:"a",type:"link"},{label:"b",type:"link"},{label:"c"}]}]}};var c,b,u;t.parameters=r(n({},t.parameters),{docs:r(n({},(c=t.parameters)==null?void 0:c.docs),{source:n({originalSource:"{}"},(u=(b=t.parameters)==null?void 0:b.docs)==null?void 0:u.source)})});var d,g,L;i.parameters=r(n({},i.parameters),{docs:r(n({},(d=i.parameters)==null?void 0:d.docs),{source:n({originalSource:`{ +var k=Object.defineProperty,x=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var p=(a,e,o)=>e in a?k(a,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[e]=o,n=(a,e)=>{for(var o in e||(e={}))f.call(e,o)&&p(a,o,e[o]);if(l)for(var o of l(e))C.call(e,o)&&p(a,o,e[o]);return a},r=(a,e)=>x(a,j(e));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{ai as R,I as N}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const K={title:"Components/Navigation/NavigationItem",component:a=>s.jsx(R,n({},a)),args:{label:"Label"}},t={},i={args:{icon:s.jsx(N,{name:"mpLogo"}),label:"Icon Label",type:"link",onClick:()=>{alert("Redirection!")}}},m={args:{label:"List Label",type:"menu",icon:s.jsx(N,{name:"mpLogo"}),items:[{label:"Nav Item - Menu",type:"menu",children:[{label:"a",type:"link"},{label:"b",type:"link"},{label:"c"}]}]}};var c,b,u;t.parameters=r(n({},t.parameters),{docs:r(n({},(c=t.parameters)==null?void 0:c.docs),{source:n({originalSource:"{}"},(u=(b=t.parameters)==null?void 0:b.docs)==null?void 0:u.source)})});var d,g,L;i.parameters=r(n({},i.parameters),{docs:r(n({},(d=i.parameters)==null?void 0:d.docs),{source:n({originalSource:`{ args: { icon: , label: 'Icon Label', diff --git a/pr-preview/pr-459/assets/Notification.stories-CGs-sIPv.js b/pr-preview/pr-459/assets/Notification.stories-DQwijqRP.js similarity index 95% rename from pr-preview/pr-459/assets/Notification.stories-CGs-sIPv.js rename to pr-preview/pr-459/assets/Notification.stories-DQwijqRP.js index 2ccf48382..c83aad5b7 100644 --- a/pr-preview/pr-459/assets/Notification.stories-CGs-sIPv.js +++ b/pr-preview/pr-459/assets/Notification.stories-DQwijqRP.js @@ -1,4 +1,4 @@ -var W=Object.defineProperty,_=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var u=(t,e,s)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,r=(t,e)=>{for(var s in e||(e={}))D.call(e,s)&&u(t,s,e[s]);if(d)for(var s of d(e))F.call(e,s)&&u(t,s,e[s]);return t},o=(t,e)=>_(t,B(e));import{j as M}from"./jsx-runtime-BcCOBRXo.js";import{a2 as O,i as T}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const er={title:"Components/Feedback/Notification",component:O,args:{type:"info",children:M.jsx(T,{type:"primary",children:"Show Notification"}),message:"Message",description:"Description goes here",duration:0,btn:void 0,className:void 0,closeIcon:!0,icon:void 0,key:void 0,placement:"topRight",style:void 0,role:"alert",onClick:function(){alert("Notification Clicked")},onClose:function(){alert("Notification Closed")}},argTypes:{role:{control:"select",options:["alert","status"]},type:{control:"select",options:["info","warning","success","error"]}}},a={},n={args:{duration:1}},i={args:{type:"info"}},c={args:{type:"warning"}},p={args:{type:"success"}},m={args:{type:"error"}};var l,g,y;a.parameters=o(r({},a.parameters),{docs:o(r({},(l=a.parameters)==null?void 0:l.docs),{source:r({originalSource:"{}"},(y=(g=a.parameters)==null?void 0:g.docs)==null?void 0:y.source)})});var f,S,h;n.parameters=o(r({},n.parameters),{docs:o(r({},(f=n.parameters)==null?void 0:f.docs),{source:r({originalSource:`{ +var W=Object.defineProperty,_=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var u=(t,e,s)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,r=(t,e)=>{for(var s in e||(e={}))D.call(e,s)&&u(t,s,e[s]);if(d)for(var s of d(e))F.call(e,s)&&u(t,s,e[s]);return t},o=(t,e)=>_(t,B(e));import{j as M}from"./jsx-runtime-BcCOBRXo.js";import{a4 as O,l as T}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const er={title:"Components/Feedback/Notification",component:O,args:{type:"info",children:M.jsx(T,{type:"primary",children:"Show Notification"}),message:"Message",description:"Description goes here",duration:0,btn:void 0,className:void 0,closeIcon:!0,icon:void 0,key:void 0,placement:"topRight",style:void 0,role:"alert",onClick:function(){alert("Notification Clicked")},onClose:function(){alert("Notification Closed")}},argTypes:{role:{control:"select",options:["alert","status"]},type:{control:"select",options:["info","warning","success","error"]}}},a={},n={args:{duration:1}},i={args:{type:"info"}},c={args:{type:"warning"}},p={args:{type:"success"}},m={args:{type:"error"}};var l,g,y;a.parameters=o(r({},a.parameters),{docs:o(r({},(l=a.parameters)==null?void 0:l.docs),{source:r({originalSource:"{}"},(y=(g=a.parameters)==null?void 0:g.docs)==null?void 0:y.source)})});var f,S,h;n.parameters=o(r({},n.parameters),{docs:o(r({},(f=n.parameters)==null?void 0:f.docs),{source:r({originalSource:`{ args: { duration: 1 } diff --git a/pr-preview/pr-459/assets/NumberInput.stories-q-zuoNLZ.js b/pr-preview/pr-459/assets/NumberInput.stories-CH45hDNV.js similarity index 92% rename from pr-preview/pr-459/assets/NumberInput.stories-q-zuoNLZ.js rename to pr-preview/pr-459/assets/NumberInput.stories-CH45hDNV.js index 56ddbb50d..079ef63c7 100644 --- a/pr-preview/pr-459/assets/NumberInput.stories-q-zuoNLZ.js +++ b/pr-preview/pr-459/assets/NumberInput.stories-CH45hDNV.js @@ -1,4 +1,4 @@ -var j=Object.defineProperty,k=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var g=(s,a,o)=>a in s?j(s,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[a]=o,r=(s,a)=>{for(var o in a||(a={}))z.call(a,o)&&g(s,o,a[o]);if(l)for(var o of l(a))B.call(a,o)&&g(s,o,a[o]);return s},e=(s,a)=>k(s,w(a));import{W as G}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const mr={title:"Components/Data Entry/QueryItem/ValueSelector/NumberInput",component:G.ValueSelector.NumberInput,parameters:{docs:{description:{component:'This is the "Number Input" component of the QueryItem/ValueSelector component group.'}}},args:{onChange:s=>{console.log(s)}}},t={},c={args:{value:2}},n={args:{placeholder:"Enter a Number"}},m={args:{errorMessage:"Required field!"}},p={args:{disabled:!0,placeholder:"Disabled"}},u={args:{min:0}},i={args:{max:100}},d={args:{autoFocus:!0}};var b,S,h;t.parameters=e(r({},t.parameters),{docs:e(r({},(b=t.parameters)==null?void 0:b.docs),{source:r({originalSource:"{}"},(h=(S=t.parameters)==null?void 0:S.docs)==null?void 0:h.source)})});var M,f,D;c.parameters=e(r({},c.parameters),{docs:e(r({},(M=c.parameters)==null?void 0:M.docs),{source:r({originalSource:`{ +var j=Object.defineProperty,k=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var g=(s,a,o)=>a in s?j(s,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[a]=o,r=(s,a)=>{for(var o in a||(a={}))z.call(a,o)&&g(s,o,a[o]);if(l)for(var o of l(a))B.call(a,o)&&g(s,o,a[o]);return s},e=(s,a)=>k(s,w(a));import{Y as G}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const mr={title:"Components/Data Entry/QueryItem/ValueSelector/NumberInput",component:G.ValueSelector.NumberInput,parameters:{docs:{description:{component:'This is the "Number Input" component of the QueryItem/ValueSelector component group.'}}},args:{onChange:s=>{console.log(s)}}},t={},c={args:{value:2}},n={args:{placeholder:"Enter a Number"}},m={args:{errorMessage:"Required field!"}},p={args:{disabled:!0,placeholder:"Disabled"}},u={args:{min:0}},i={args:{max:100}},d={args:{autoFocus:!0}};var b,S,h;t.parameters=e(r({},t.parameters),{docs:e(r({},(b=t.parameters)==null?void 0:b.docs),{source:r({originalSource:"{}"},(h=(S=t.parameters)==null?void 0:S.docs)==null?void 0:h.source)})});var M,f,D;c.parameters=e(r({},c.parameters),{docs:e(r({},(M=c.parameters)==null?void 0:M.docs),{source:r({originalSource:`{ args: { value: 2 } @@ -23,8 +23,8 @@ var j=Object.defineProperty,k=Object.defineProperties;var w=Object.getOwnPropert args: { max: 100 } -}`},(_=(R=i.parameters)==null?void 0:R.docs)==null?void 0:_.source)})});var O,T,W;d.parameters=e(r({},d.parameters),{docs:e(r({},(O=d.parameters)==null?void 0:O.docs),{source:r({originalSource:`{ +}`},(_=(R=i.parameters)==null?void 0:R.docs)==null?void 0:_.source)})});var O,T,Y;d.parameters=e(r({},d.parameters),{docs:e(r({},(O=d.parameters)==null?void 0:O.docs),{source:r({originalSource:`{ args: { autoFocus: true } -}`},(W=(T=d.parameters)==null?void 0:T.docs)==null?void 0:W.source)})});const pr=["Primary","Default","Placeholder","ErrorMessage","Disabled","Min","Max","AutoFocus"];export{d as AutoFocus,c as Default,p as Disabled,m as ErrorMessage,i as Max,u as Min,n as Placeholder,t as Primary,pr as __namedExportsOrder,mr as default}; +}`},(Y=(T=d.parameters)==null?void 0:T.docs)==null?void 0:Y.source)})});const pr=["Primary","Default","Placeholder","ErrorMessage","Disabled","Min","Max","AutoFocus"];export{d as AutoFocus,c as Default,p as Disabled,m as ErrorMessage,i as Max,u as Min,n as Placeholder,t as Primary,pr as __namedExportsOrder,mr as default}; diff --git a/pr-preview/pr-459/assets/Pagination.stories-CxwsKsYN.js b/pr-preview/pr-459/assets/Pagination.stories-Dq1wDfCp.js similarity index 98% rename from pr-preview/pr-459/assets/Pagination.stories-CxwsKsYN.js rename to pr-preview/pr-459/assets/Pagination.stories-Dq1wDfCp.js index 773b86695..73be60cdb 100644 --- a/pr-preview/pr-459/assets/Pagination.stories-CxwsKsYN.js +++ b/pr-preview/pr-459/assets/Pagination.stories-Dq1wDfCp.js @@ -1,4 +1,4 @@ -var Je=Object.defineProperty,ke=Object.defineProperties;var Qe=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var $=(r,o,n)=>o in r?Je(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n,e=(r,o)=>{for(var n in o||(o={}))ve.call(o,n)&&$(r,n,o[n]);if(b)for(var n of b(o))Ie.call(o,n)&&$(r,n,o[n]);return r},t=(r,o)=>ke(r,Qe(o));import{j as a}from"./jsx-runtime-BcCOBRXo.js";import{ai as s,I as Ne}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as i}from"./ExampleStory-DvwdaA9H.js";import{r as Re}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const er={title:"Components/Navigation/Pagination",component:s,args:{current:1,defaultCurrent:1,defaultPageSize:10,disabled:!1,hideOnSinglePage:!1,itemRender:(r,o,n)=>o==="page"?a.jsx("a",{children:r}):n,pageSize:10,pageSizeOptions:[10,20,50,100],responsive:!1,showLessItems:!1,showQuickJumper:!1,showSizeChanger:!1,showTitle:!0,showTotal:(r,o)=>`Total ${r} items`,simple:!1,size:"default",total:27,onChange:(r,o)=>{alert(`Page changed to ${r}, Page Size: ${o}`)},onShowSizeChange:(r,o)=>{alert(`Page Size changed to ${o}, Current Page: ${r}`)}}},m={},u={args:{size:"small"}},p={args:{responsive:!0}},c={args:{showQuickJumper:{goButton:a.jsx(Ne,{name:"alicorn"})}}},g={args:{showSizeChanger:!0,total:60}},d={args:{simple:!0}},h={args:{showLessItems:!0}},S={args:{showTotal:(r,o)=>`Showing ${o[0]}-${o[1]} of ${r} items`}},x={render:()=>a.jsx(i,{title:"Basic pagination.",children:a.jsx(s,{defaultCurrent:1,total:50})})},C={render:()=>a.jsx(i,{title:"More Pages.",children:a.jsx(s,{defaultCurrent:6,total:500})})},w={render:()=>{const r=(o,n)=>{console.log(o,n)};return a.jsxs(i,{title:"Change pageSize.",children:[a.jsx(s,{showSizeChanger:!0,onShowSizeChange:r,defaultCurrent:3,total:500}),a.jsx("br",{}),a.jsx(s,{showSizeChanger:!0,onShowSizeChange:r,defaultCurrent:3,total:500,disabled:!0})]})}},P={render:()=>{const r=o=>{console.log("Page: ",o)};return a.jsxs(i,{title:"Jump to a page directly.",children:[a.jsx(s,{showQuickJumper:!0,defaultCurrent:2,total:500,onChange:r}),a.jsx("br",{}),a.jsx(s,{showQuickJumper:!0,defaultCurrent:2,total:500,onChange:r,disabled:!0})]})}},f={render:()=>{const r=o=>`Total ${o} items`;return a.jsxs(i,{title:"Mini size pagination.",children:[a.jsx(s,{size:"small",total:50}),a.jsx(s,{size:"small",total:50,showSizeChanger:!0,showQuickJumper:!0}),a.jsx(s,{size:"small",total:50,showTotal:r}),a.jsx(s,{size:"small",total:50,disabled:!0,showTotal:r,showSizeChanger:!0,showQuickJumper:!0})]})}},z={render:()=>a.jsxs(i,{title:"Simple mode.",children:[a.jsx(s,{simple:!0,defaultCurrent:2,total:50}),a.jsx("br",{}),a.jsx(s,{disabled:!0,simple:!0,defaultCurrent:2,total:50})]})},E={render:()=>{const[r,o]=Re.useState(3),n=l=>{console.log(l),o(l)};return a.jsx(i,{title:"Controlled page number.",children:a.jsx(s,{current:r,onChange:n,total:50})})}},j={render:()=>a.jsxs(i,{title:"You can show the total number of data by setting showTotal.",children:[a.jsx(s,{total:85,showTotal:r=>`Total ${r} items`,defaultPageSize:20,defaultCurrent:1}),a.jsx("br",{}),a.jsx(s,{total:85,showTotal:(r,o)=>`${o[0]}-${o[1]} of ${r} items`,defaultPageSize:20,defaultCurrent:1})]})},T={render:()=>a.jsx(i,{title:"Show all configured prop.",children:a.jsx(s,{total:85,showSizeChanger:!0,showQuickJumper:!0,showTotal:r=>`Total ${r} items`})})},y={render:()=>{const r=(o,n,l)=>n==="prev"?a.jsx("a",{children:"Previous"}):n==="next"?a.jsx("a",{children:"Next"}):l;return a.jsx(i,{title:"Use text link for prev and next button.",children:a.jsx(s,{total:500,itemRender:r})})}};var J,k,Q;m.parameters=t(e({},m.parameters),{docs:t(e({},(J=m.parameters)==null?void 0:J.docs),{source:e({originalSource:"{}"},(Q=(k=m.parameters)==null?void 0:k.docs)==null?void 0:Q.source)})});var v,I,N;u.parameters=t(e({},u.parameters),{docs:t(e({},(v=u.parameters)==null?void 0:v.docs),{source:e({originalSource:`{ +var Je=Object.defineProperty,ke=Object.defineProperties;var Qe=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var $=(r,o,n)=>o in r?Je(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n,e=(r,o)=>{for(var n in o||(o={}))ve.call(o,n)&&$(r,n,o[n]);if(b)for(var n of b(o))Ie.call(o,n)&&$(r,n,o[n]);return r},t=(r,o)=>ke(r,Qe(o));import{j as a}from"./jsx-runtime-BcCOBRXo.js";import{ak as s,I as Ne}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as i}from"./ExampleStory-B-ilaOpY.js";import{r as Re}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const er={title:"Components/Navigation/Pagination",component:s,args:{current:1,defaultCurrent:1,defaultPageSize:10,disabled:!1,hideOnSinglePage:!1,itemRender:(r,o,n)=>o==="page"?a.jsx("a",{children:r}):n,pageSize:10,pageSizeOptions:[10,20,50,100],responsive:!1,showLessItems:!1,showQuickJumper:!1,showSizeChanger:!1,showTitle:!0,showTotal:(r,o)=>`Total ${r} items`,simple:!1,size:"default",total:27,onChange:(r,o)=>{alert(`Page changed to ${r}, Page Size: ${o}`)},onShowSizeChange:(r,o)=>{alert(`Page Size changed to ${o}, Current Page: ${r}`)}}},m={},u={args:{size:"small"}},p={args:{responsive:!0}},c={args:{showQuickJumper:{goButton:a.jsx(Ne,{name:"alicorn"})}}},g={args:{showSizeChanger:!0,total:60}},d={args:{simple:!0}},h={args:{showLessItems:!0}},S={args:{showTotal:(r,o)=>`Showing ${o[0]}-${o[1]} of ${r} items`}},x={render:()=>a.jsx(i,{title:"Basic pagination.",children:a.jsx(s,{defaultCurrent:1,total:50})})},C={render:()=>a.jsx(i,{title:"More Pages.",children:a.jsx(s,{defaultCurrent:6,total:500})})},w={render:()=>{const r=(o,n)=>{console.log(o,n)};return a.jsxs(i,{title:"Change pageSize.",children:[a.jsx(s,{showSizeChanger:!0,onShowSizeChange:r,defaultCurrent:3,total:500}),a.jsx("br",{}),a.jsx(s,{showSizeChanger:!0,onShowSizeChange:r,defaultCurrent:3,total:500,disabled:!0})]})}},P={render:()=>{const r=o=>{console.log("Page: ",o)};return a.jsxs(i,{title:"Jump to a page directly.",children:[a.jsx(s,{showQuickJumper:!0,defaultCurrent:2,total:500,onChange:r}),a.jsx("br",{}),a.jsx(s,{showQuickJumper:!0,defaultCurrent:2,total:500,onChange:r,disabled:!0})]})}},f={render:()=>{const r=o=>`Total ${o} items`;return a.jsxs(i,{title:"Mini size pagination.",children:[a.jsx(s,{size:"small",total:50}),a.jsx(s,{size:"small",total:50,showSizeChanger:!0,showQuickJumper:!0}),a.jsx(s,{size:"small",total:50,showTotal:r}),a.jsx(s,{size:"small",total:50,disabled:!0,showTotal:r,showSizeChanger:!0,showQuickJumper:!0})]})}},z={render:()=>a.jsxs(i,{title:"Simple mode.",children:[a.jsx(s,{simple:!0,defaultCurrent:2,total:50}),a.jsx("br",{}),a.jsx(s,{disabled:!0,simple:!0,defaultCurrent:2,total:50})]})},E={render:()=>{const[r,o]=Re.useState(3),n=l=>{console.log(l),o(l)};return a.jsx(i,{title:"Controlled page number.",children:a.jsx(s,{current:r,onChange:n,total:50})})}},j={render:()=>a.jsxs(i,{title:"You can show the total number of data by setting showTotal.",children:[a.jsx(s,{total:85,showTotal:r=>`Total ${r} items`,defaultPageSize:20,defaultCurrent:1}),a.jsx("br",{}),a.jsx(s,{total:85,showTotal:(r,o)=>`${o[0]}-${o[1]} of ${r} items`,defaultPageSize:20,defaultCurrent:1})]})},T={render:()=>a.jsx(i,{title:"Show all configured prop.",children:a.jsx(s,{total:85,showSizeChanger:!0,showQuickJumper:!0,showTotal:r=>`Total ${r} items`})})},y={render:()=>{const r=(o,n,l)=>n==="prev"?a.jsx("a",{children:"Previous"}):n==="next"?a.jsx("a",{children:"Next"}):l;return a.jsx(i,{title:"Use text link for prev and next button.",children:a.jsx(s,{total:500,itemRender:r})})}};var J,k,Q;m.parameters=t(e({},m.parameters),{docs:t(e({},(J=m.parameters)==null?void 0:J.docs),{source:e({originalSource:"{}"},(Q=(k=m.parameters)==null?void 0:k.docs)==null?void 0:Q.source)})});var v,I,N;u.parameters=t(e({},u.parameters),{docs:t(e({},(v=u.parameters)==null?void 0:v.docs),{source:e({originalSource:`{ args: { size: 'small' } diff --git a/pr-preview/pr-459/assets/Paragraph.stories-B3anNNrV.js b/pr-preview/pr-459/assets/Paragraph.stories-DF8DB0s4.js similarity index 96% rename from pr-preview/pr-459/assets/Paragraph.stories-B3anNNrV.js rename to pr-preview/pr-459/assets/Paragraph.stories-DF8DB0s4.js index 2d23f3a22..4f26461c5 100644 --- a/pr-preview/pr-459/assets/Paragraph.stories-B3anNNrV.js +++ b/pr-preview/pr-459/assets/Paragraph.stories-DF8DB0s4.js @@ -1,4 +1,4 @@ -var na=Object.defineProperty,sa=Object.defineProperties;var ia=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var la=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable;var v=(r,o,n)=>o in r?na(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n,e=(r,o)=>{for(var n in o||(o={}))la.call(o,n)&&v(r,n,o[n]);if(W)for(var n of W(o))ca.call(o,n)&&v(r,n,o[n]);return r},a=(r,o)=>sa(r,ia(o));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{d as s,I as l,R as p,l as pa,X as ga}from"./GlobalNavigation-CPQMp-rl.js";import{E as U}from"./ExampleStory-DvwdaA9H.js";import{r as i}from"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Ia={title:"Components/General/Typography.Paragraph",component:r=>t.jsx(s.Paragraph,a(e({},r),{children:"Paragraph text goes here"})),args:{code:!1,copyable:!1,delete:!1,disabled:!1,editable:!1,ellipsis:!1,mark:!1,strong:!1,italic:!1,type:void 0,underline:!1,onClick:r=>{console.log("Paragraph Clicked")}},argTypes:{type:{control:"select",options:["secondary","success","warning","danger"]}}},g={},d={args:{code:!0}},u={args:{copyable:!0}},h={args:{delete:!0}},m={args:{disabled:!0}},y={args:{editable:!0}},f={args:{ellipsis:!0}},b={args:{mark:!0}},S={args:{strong:!0}},x={args:{italic:!0}},T={args:{type:"success"}},E={args:{type:"secondary"}},k={args:{type:"warning"}},C={args:{type:"danger"}},D={args:{underline:!0}},P={args:{onClick:r=>{alert("Custom Click Handler")}}},A={render:()=>{const[r,o]=i.useState("This is an editable text."),[n,L]=i.useState("This is a loooooooooooooooooooooooooooooooong editable text with suffix."),[ze,Fe]=i.useMemo(()=>[n.slice(0,-12),n.slice(-12)],[n]),[Ye,_e]=i.useState("Custom Edit icon and replace tooltip text."),[$e,Xe]=i.useState("Text or icon as trigger - click to start editing."),[c,Be]=i.useState(["icon"]),[Je,Ke]=i.useState("Editable text with a custom enter icon in edit field."),[Qe,Ve]=i.useState("Editable text with no enter icon in edit field."),[Ze,ea]=i.useState("Hide Edit tooltip."),[aa,ta]=i.useState("This is an editable text with limited length."),ra=R=>{switch(R){case"text":return["text"];case"both":return["icon","text"];case"icon":default:return["icon"]}},oa=i.useMemo(()=>c.includes("text")?c.includes("icon")?"both":"text":"icon",[c]);return t.jsxs(U,{title:"Make Typography editable.",children:[t.jsx(s.Paragraph,{editable:{onChange:o},children:r}),t.jsx(s.Paragraph,{editable:{onChange:L,text:n},ellipsis:{suffix:Fe},children:ze}),t.jsx(s.Paragraph,{editable:{icon:t.jsx(l,{name:"mpLogo"}),tooltip:"click to edit text",onChange:_e},children:Ye}),"Trigger edit with:"," ",t.jsxs(p.Group,{onChange:R=>{Be(ra(R.target.value))},value:oa,children:[t.jsx(p,{value:"icon",children:"icon"}),t.jsx(p,{value:"text",children:"text"}),t.jsx(p,{value:"both",children:"both"})]}),t.jsx(s.Paragraph,{editable:{tooltip:"click to edit text",onChange:Xe,triggerType:c},children:$e}),t.jsx(s.Paragraph,{editable:{icon:t.jsx(l,{name:"mpLogo"}),tooltip:"click to edit text",onChange:Ke,enterIcon:t.jsx(l,{name:"mpLogo"})},children:Je}),t.jsx(s.Paragraph,{editable:{icon:t.jsx(l,{name:"mpLogo"}),tooltip:"click to edit text",onChange:Ve,enterIcon:null},children:Qe}),t.jsx(s.Paragraph,{editable:{tooltip:!1,onChange:ea},children:Ze}),t.jsx(s.Paragraph,{editable:{onChange:ta,maxLength:50,autoSize:{maxRows:5,minRows:3}},children:aa})]})}},w={render:()=>t.jsxs(U,{title:"Make Typography copyable.",children:[t.jsx(s.Paragraph,{copyable:!0,children:"This is a copyable text."}),t.jsx(s.Paragraph,{copyable:{text:"Hello, Ant Design!"},children:"Replace copy text."}),t.jsx(s.Paragraph,{copyable:{icon:[t.jsx(l,{name:"mpLogo"},1),t.jsx(l,{name:"mpLogo"},2)],tooltips:["click here","you clicked!!"]},children:"Custom Copy icon and replace tooltips text."}),t.jsx(s.Paragraph,{copyable:{tooltips:!1},children:"Hide Copy tooltips."})]})},j={render:()=>{const[r,o]=i.useState(!0);return t.jsxs(U,{title:"Multiple line ellipsis support. You can use tooltip to config ellipsis tooltip. Recommend expandable when have lots of content.",children:[t.jsx(pa,{checked:r,onChange:()=>{o(!r)}}),t.jsx(s.Paragraph,{ellipsis:r,children:"Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team."}),t.jsx(s.Paragraph,{ellipsis:r?{rows:2,expandable:!0,symbol:"more"}:!1,children:"Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team."})]})}},I={render:()=>{const[r,o]=i.useState(1),n="To be, or not to be, that is a question: Whether it is nobler in the mind to suffer. The slings and arrows of outrageous fortune Or to take arms against a sea of troubles, And by opposing end them? To die: to sleep; No more; and by a sleep to say we end The heart-ache and the thousand natural shocks That flesh is heir to, 'tis a consummation Devoutly to be wish'd. To die, to sleep To sleep- perchance to dream: ay, there's the rub! For in that sleep of death what dreams may come When we have shuffled off this mortal coil, Must give us pause. There 's the respect That makes calamity of so long life";return t.jsxs(U,{title:"Add suffix ellipsis support.",children:[t.jsx(ga,{value:r,min:1,max:10,onChange:o}),t.jsx(s.Paragraph,{ellipsis:{rows:r,expandable:!0,suffix:"--William Shakespeare",onEllipsis:L=>{console.log("Ellipsis changed:",L)}},title:`${n}--William Shakespeare`,children:n})]})}};var M,H,N;g.parameters=a(e({},g.parameters),{docs:a(e({},(M=g.parameters)==null?void 0:M.docs),{source:e({originalSource:"{}"},(N=(H=g.parameters)==null?void 0:H.docs)==null?void 0:N.source)})});var O,G,q;d.parameters=a(e({},d.parameters),{docs:a(e({},(O=d.parameters)==null?void 0:O.docs),{source:e({originalSource:`{ +var na=Object.defineProperty,sa=Object.defineProperties;var ia=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var la=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable;var v=(r,o,n)=>o in r?na(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n,e=(r,o)=>{for(var n in o||(o={}))la.call(o,n)&&v(r,n,o[n]);if(W)for(var n of W(o))ca.call(o,n)&&v(r,n,o[n]);return r},a=(r,o)=>sa(r,ia(o));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{d as s,I as l,R as p,o as pa,Z as ga}from"./GlobalNavigation-DT_tPK9g.js";import{E as U}from"./ExampleStory-B-ilaOpY.js";import{r as i}from"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const Ia={title:"Components/General/Typography.Paragraph",component:r=>t.jsx(s.Paragraph,a(e({},r),{children:"Paragraph text goes here"})),args:{code:!1,copyable:!1,delete:!1,disabled:!1,editable:!1,ellipsis:!1,mark:!1,strong:!1,italic:!1,type:void 0,underline:!1,onClick:r=>{console.log("Paragraph Clicked")}},argTypes:{type:{control:"select",options:["secondary","success","warning","danger"]}}},g={},d={args:{code:!0}},u={args:{copyable:!0}},h={args:{delete:!0}},m={args:{disabled:!0}},y={args:{editable:!0}},f={args:{ellipsis:!0}},b={args:{mark:!0}},S={args:{strong:!0}},x={args:{italic:!0}},T={args:{type:"success"}},E={args:{type:"secondary"}},k={args:{type:"warning"}},C={args:{type:"danger"}},D={args:{underline:!0}},P={args:{onClick:r=>{alert("Custom Click Handler")}}},A={render:()=>{const[r,o]=i.useState("This is an editable text."),[n,L]=i.useState("This is a loooooooooooooooooooooooooooooooong editable text with suffix."),[ze,Fe]=i.useMemo(()=>[n.slice(0,-12),n.slice(-12)],[n]),[Ye,_e]=i.useState("Custom Edit icon and replace tooltip text."),[$e,Ze]=i.useState("Text or icon as trigger - click to start editing."),[c,Be]=i.useState(["icon"]),[Je,Ke]=i.useState("Editable text with a custom enter icon in edit field."),[Qe,Ve]=i.useState("Editable text with no enter icon in edit field."),[Xe,ea]=i.useState("Hide Edit tooltip."),[aa,ta]=i.useState("This is an editable text with limited length."),ra=R=>{switch(R){case"text":return["text"];case"both":return["icon","text"];case"icon":default:return["icon"]}},oa=i.useMemo(()=>c.includes("text")?c.includes("icon")?"both":"text":"icon",[c]);return t.jsxs(U,{title:"Make Typography editable.",children:[t.jsx(s.Paragraph,{editable:{onChange:o},children:r}),t.jsx(s.Paragraph,{editable:{onChange:L,text:n},ellipsis:{suffix:Fe},children:ze}),t.jsx(s.Paragraph,{editable:{icon:t.jsx(l,{name:"mpLogo"}),tooltip:"click to edit text",onChange:_e},children:Ye}),"Trigger edit with:"," ",t.jsxs(p.Group,{onChange:R=>{Be(ra(R.target.value))},value:oa,children:[t.jsx(p,{value:"icon",children:"icon"}),t.jsx(p,{value:"text",children:"text"}),t.jsx(p,{value:"both",children:"both"})]}),t.jsx(s.Paragraph,{editable:{tooltip:"click to edit text",onChange:Ze,triggerType:c},children:$e}),t.jsx(s.Paragraph,{editable:{icon:t.jsx(l,{name:"mpLogo"}),tooltip:"click to edit text",onChange:Ke,enterIcon:t.jsx(l,{name:"mpLogo"})},children:Je}),t.jsx(s.Paragraph,{editable:{icon:t.jsx(l,{name:"mpLogo"}),tooltip:"click to edit text",onChange:Ve,enterIcon:null},children:Qe}),t.jsx(s.Paragraph,{editable:{tooltip:!1,onChange:ea},children:Xe}),t.jsx(s.Paragraph,{editable:{onChange:ta,maxLength:50,autoSize:{maxRows:5,minRows:3}},children:aa})]})}},w={render:()=>t.jsxs(U,{title:"Make Typography copyable.",children:[t.jsx(s.Paragraph,{copyable:!0,children:"This is a copyable text."}),t.jsx(s.Paragraph,{copyable:{text:"Hello, Ant Design!"},children:"Replace copy text."}),t.jsx(s.Paragraph,{copyable:{icon:[t.jsx(l,{name:"mpLogo"},1),t.jsx(l,{name:"mpLogo"},2)],tooltips:["click here","you clicked!!"]},children:"Custom Copy icon and replace tooltips text."}),t.jsx(s.Paragraph,{copyable:{tooltips:!1},children:"Hide Copy tooltips."})]})},j={render:()=>{const[r,o]=i.useState(!0);return t.jsxs(U,{title:"Multiple line ellipsis support. You can use tooltip to config ellipsis tooltip. Recommend expandable when have lots of content.",children:[t.jsx(pa,{checked:r,onChange:()=>{o(!r)}}),t.jsx(s.Paragraph,{ellipsis:r,children:"Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team."}),t.jsx(s.Paragraph,{ellipsis:r?{rows:2,expandable:!0,symbol:"more"}:!1,children:"Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team."})]})}},I={render:()=>{const[r,o]=i.useState(1),n="To be, or not to be, that is a question: Whether it is nobler in the mind to suffer. The slings and arrows of outrageous fortune Or to take arms against a sea of troubles, And by opposing end them? To die: to sleep; No more; and by a sleep to say we end The heart-ache and the thousand natural shocks That flesh is heir to, 'tis a consummation Devoutly to be wish'd. To die, to sleep To sleep- perchance to dream: ay, there's the rub! For in that sleep of death what dreams may come When we have shuffled off this mortal coil, Must give us pause. There 's the respect That makes calamity of so long life";return t.jsxs(U,{title:"Add suffix ellipsis support.",children:[t.jsx(ga,{value:r,min:1,max:10,onChange:o}),t.jsx(s.Paragraph,{ellipsis:{rows:r,expandable:!0,suffix:"--William Shakespeare",onEllipsis:L=>{console.log("Ellipsis changed:",L)}},title:`${n}--William Shakespeare`,children:n})]})}};var M,H,N;g.parameters=a(e({},g.parameters),{docs:a(e({},(M=g.parameters)==null?void 0:M.docs),{source:e({originalSource:"{}"},(N=(H=g.parameters)==null?void 0:H.docs)==null?void 0:N.source)})});var O,G,q;d.parameters=a(e({},d.parameters),{docs:a(e({},(O=d.parameters)==null?void 0:O.docs),{source:e({originalSource:`{ args: { code: true } @@ -6,19 +6,19 @@ var na=Object.defineProperty,sa=Object.defineProperties;var ia=Object.getOwnProp args: { copyable: true } -}`},(Y=(F=u.parameters)==null?void 0:F.docs)==null?void 0:Y.source)})});var _,$,X;h.parameters=a(e({},h.parameters),{docs:a(e({},(_=h.parameters)==null?void 0:_.docs),{source:e({originalSource:`{ +}`},(Y=(F=u.parameters)==null?void 0:F.docs)==null?void 0:Y.source)})});var _,$,Z;h.parameters=a(e({},h.parameters),{docs:a(e({},(_=h.parameters)==null?void 0:_.docs),{source:e({originalSource:`{ args: { delete: true } -}`},(X=($=h.parameters)==null?void 0:$.docs)==null?void 0:X.source)})});var B,J,K;m.parameters=a(e({},m.parameters),{docs:a(e({},(B=m.parameters)==null?void 0:B.docs),{source:e({originalSource:`{ +}`},(Z=($=h.parameters)==null?void 0:$.docs)==null?void 0:Z.source)})});var B,J,K;m.parameters=a(e({},m.parameters),{docs:a(e({},(B=m.parameters)==null?void 0:B.docs),{source:e({originalSource:`{ args: { disabled: true } -}`},(K=(J=m.parameters)==null?void 0:J.docs)==null?void 0:K.source)})});var Q,V,Z;y.parameters=a(e({},y.parameters),{docs:a(e({},(Q=y.parameters)==null?void 0:Q.docs),{source:e({originalSource:`{ +}`},(K=(J=m.parameters)==null?void 0:J.docs)==null?void 0:K.source)})});var Q,V,X;y.parameters=a(e({},y.parameters),{docs:a(e({},(Q=y.parameters)==null?void 0:Q.docs),{source:e({originalSource:`{ args: { editable: true } -}`},(Z=(V=y.parameters)==null?void 0:V.docs)==null?void 0:Z.source)})});var ee,ae,te;f.parameters=a(e({},f.parameters),{docs:a(e({},(ee=f.parameters)==null?void 0:ee.docs),{source:e({originalSource:`{ +}`},(X=(V=y.parameters)==null?void 0:V.docs)==null?void 0:X.source)})});var ee,ae,te;f.parameters=a(e({},f.parameters),{docs:a(e({},(ee=f.parameters)==null?void 0:ee.docs),{source:e({originalSource:`{ args: { ellipsis: true } diff --git a/pr-preview/pr-459/assets/Popconfirm.stories-Cb_19r2Z.js b/pr-preview/pr-459/assets/Popconfirm.stories-BJwQURQg.js similarity index 90% rename from pr-preview/pr-459/assets/Popconfirm.stories-Cb_19r2Z.js rename to pr-preview/pr-459/assets/Popconfirm.stories-BJwQURQg.js index 88702e8c6..263997ac4 100644 --- a/pr-preview/pr-459/assets/Popconfirm.stories-Cb_19r2Z.js +++ b/pr-preview/pr-459/assets/Popconfirm.stories-BJwQURQg.js @@ -1 +1 @@ -var d=Object.defineProperty,f=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))P.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))l.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>f(t,u(r));import{a3 as g}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Feedback/Popconfirm",component:g,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const D=["Primary"];export{p as Primary,D as __namedExportsOrder,B as default}; +var d=Object.defineProperty,f=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))P.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))l.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>f(t,u(r));import{a5 as g}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Feedback/Popconfirm",component:g,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const D=["Primary"];export{p as Primary,D as __namedExportsOrder,B as default}; diff --git a/pr-preview/pr-459/assets/Popover.stories-CjVORZgh.js b/pr-preview/pr-459/assets/Popover.stories-CKBmOYL2.js similarity index 70% rename from pr-preview/pr-459/assets/Popover.stories-CjVORZgh.js rename to pr-preview/pr-459/assets/Popover.stories-CKBmOYL2.js index 706e9e973..a7503c9b9 100644 --- a/pr-preview/pr-459/assets/Popover.stories-CjVORZgh.js +++ b/pr-preview/pr-459/assets/Popover.stories-CKBmOYL2.js @@ -1,10 +1,10 @@ -var f=Object.defineProperty,F=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var d=(e,r,o)=>r in e?f(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,t=(e,r)=>{for(var o in r||(r={}))k.call(r,o)&&d(e,o,r[o]);if(p)for(var o of p(r))C.call(r,o)&&d(e,o,r[o]);return e},s=(e,r)=>F(e,T(r));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{P as M,i as H}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const N={title:"Components/Data Display/Popover",component:M,args:{}},m=e=>{const r=i.jsx("div",{children:i.jsx("p",{children:"Content"})});return i.jsx(i.Fragment,{children:i.jsx(M,{content:r,title:"Title",trigger:e.trigger,children:i.jsx(H,{children:e.children})})})},n={args:{trigger:"click",children:"Click Me"},render:m},a={args:{trigger:"hover",children:"Hover Me"},render:m},c={args:{trigger:"focus",children:"Focus Me"},render:m};var l,g,u;n.parameters=s(t({},n.parameters),{docs:s(t({},(l=n.parameters)==null?void 0:l.docs),{source:t({originalSource:`{ +var f=Object.defineProperty,F=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var d=(e,r,o)=>r in e?f(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,t=(e,r)=>{for(var o in r||(r={}))k.call(r,o)&&d(e,o,r[o]);if(p)for(var o of p(r))C.call(r,o)&&d(e,o,r[o]);return e},s=(e,r)=>F(e,T(r));import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{P as M,l as H}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const N={title:"Components/Data Display/Popover",component:M,args:{}},m=e=>{const r=n.jsx("div",{children:n.jsx("p",{children:"Content"})});return n.jsx(n.Fragment,{children:n.jsx(M,{content:r,title:"Title",trigger:e.trigger,children:n.jsx(H,{children:e.children})})})},i={args:{trigger:"click",children:"Click Me"},render:m},a={args:{trigger:"hover",children:"Hover Me"},render:m},c={args:{trigger:"focus",children:"Focus Me"},render:m};var l,g,u;i.parameters=s(t({},i.parameters),{docs:s(t({},(l=i.parameters)==null?void 0:l.docs),{source:t({originalSource:`{ args: { trigger: 'click', children: 'Click Me' }, render: PrimaryTemplate -}`},(u=(g=n.parameters)==null?void 0:g.docs)==null?void 0:u.source)})});var h,v,x;a.parameters=s(t({},a.parameters),{docs:s(t({},(h=a.parameters)==null?void 0:h.docs),{source:t({originalSource:`{ +}`},(u=(g=i.parameters)==null?void 0:g.docs)==null?void 0:u.source)})});var h,v,x;a.parameters=s(t({},a.parameters),{docs:s(t({},(h=a.parameters)==null?void 0:h.docs),{source:t({originalSource:`{ args: { trigger: 'hover', children: 'Hover Me' @@ -16,4 +16,4 @@ var f=Object.defineProperty,F=Object.defineProperties;var T=Object.getOwnPropert children: 'Focus Me' }, render: PrimaryTemplate -}`},(y=(j=c.parameters)==null?void 0:j.docs)==null?void 0:y.source)})});const Q=["Primary","Hover","Focus"];export{c as Focus,a as Hover,n as Primary,Q as __namedExportsOrder,N as default}; +}`},(y=(j=c.parameters)==null?void 0:j.docs)==null?void 0:y.source)})});const Q=["Primary","Hover","Focus"];export{c as Focus,a as Hover,i as Primary,Q as __namedExportsOrder,N as default}; diff --git a/pr-preview/pr-459/assets/Progress.stories-BPmYDI-v.js b/pr-preview/pr-459/assets/Progress.stories-CHuf-8Rr.js similarity index 98% rename from pr-preview/pr-459/assets/Progress.stories-BPmYDI-v.js rename to pr-preview/pr-459/assets/Progress.stories-CHuf-8Rr.js index aaccbf64b..4124db9c6 100644 --- a/pr-preview/pr-459/assets/Progress.stories-BPmYDI-v.js +++ b/pr-preview/pr-459/assets/Progress.stories-CHuf-8Rr.js @@ -1,4 +1,4 @@ -var $e=Object.defineProperty,De=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var Re=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable;var B=(n,o,c)=>o in n?$e(n,o,{enumerable:!0,configurable:!0,writable:!0,value:c}):n[o]=c,r=(n,o)=>{for(var c in o||(o={}))Re.call(o,c)&&B(n,c,o[c]);if(W)for(var c of W(o))Le.call(o,c)&&B(n,c,o[c]);return n},t=(n,o)=>De(n,Fe(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{a4 as s,b as a,i as T,I as G,e as A}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as p}from"./ExampleStory-DvwdaA9H.js";import{r as He}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const or={title:"Components/Feedback/Progress",component:s,args:{percent:0,showInfo:!0,status:void 0,strokeColor:void 0,strokeLinecap:"round",success:void 0,trailColor:void 0,style:{width:"100px"},type:"line",size:"default",format:n=>`${n}%`}},l={},d={args:{percent:50}},m={args:{percent:50,status:"success"}},u={args:{percent:30,status:"exception"}},x={args:{percent:50,status:"active"}},g={args:{percent:70,strokeColor:"#1890ff",trailColor:"#f0f0f0"}},y={args:{percent:50,type:"circle"}},j={args:{percent:50,type:"dashboard"}},S={args:{percent:50,size:"small"}},f={args:{percent:50,format:(n,o)=>`Progress: ${n}% (Success: ${o}%)`}},h={render:()=>e.jsx(p,{title:"A standard progress bar.",children:e.jsxs(e.Fragment,{children:[e.jsx(s,{percent:30}),e.jsx(s,{percent:50,status:"active"}),e.jsx(s,{percent:70,status:"exception"}),e.jsx(s,{percent:100}),e.jsx(s,{percent:50,showInfo:!1})]})})},P={render:()=>e.jsx(p,{title:"A circular progress bar.",children:e.jsxs(a,{wrap:!0,children:[e.jsx(s,{type:"circle",percent:75}),e.jsx(s,{type:"circle",percent:70,status:"exception"}),e.jsx(s,{type:"circle",percent:100})]})})},C={render:()=>e.jsx(p,{title:"Appropriate for a narrow area.",children:e.jsxs("div",{style:{width:170},children:[e.jsx(s,{percent:30,size:"small"}),e.jsx(s,{percent:50,size:"small",status:"active"}),e.jsx(s,{percent:70,size:"small",status:"exception"}),e.jsx(s,{percent:100,size:"small"})]})})},b={render:()=>e.jsx(p,{title:"Responsive circular progress bar. When width is smaller than 20, progress information will be displayed in Tooltip.",children:e.jsx(s,{type:"circle",trailColor:"#e6f4ff",percent:60,strokeWidth:20,size:14,format:n=>`Tooltip with percent info - ${n}%`})})},w={render:()=>{const[n,o]=He.useState(0),c=()=>{o(k=>{const i=k+10;return i>100?100:i})},Ie=()=>{o(k=>{const i=k-10;return i<0?0:i})};return e.jsxs(p,{title:"A dynamic progress bar is better.",children:[e.jsxs("div",{style:{marginBottom:10},children:[e.jsx(s,{percent:n}),e.jsx(s,{type:"circle",percent:n})]}),e.jsxs(T.Group,{children:[e.jsx(T,{onClick:Ie,icon:e.jsx(G,{name:"add"})}),e.jsx(T,{onClick:c,icon:e.jsx(G,{name:"mpLogo"})})]})]})}},z={render:()=>e.jsxs(p,{title:"Show several parts of progress with different status.",children:[e.jsx(A,{title:"3 done / 3 in progress / 4 to do",children:e.jsx(s,{percent:60,success:{percent:30}})}),e.jsxs(a,{wrap:!0,children:[e.jsx(A,{title:"3 done / 3 in progress / 4 to do",children:e.jsx(s,{percent:60,success:{percent:30},type:"circle"})}),e.jsx(A,{title:"3 done / 3 in progress / 4 to do",children:e.jsx(s,{percent:60,success:{percent:30},type:"dashboard"})})]})]})},E={render:()=>{const n={"0%":"#108ee9","100%":"#87d068"},o={"0%":"#87d068","50%":"#ffe58f","100%":"#ffccc7"};return e.jsx(p,{title:e.jsx(e.Fragment,{children:" "}),children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",rowGap:16},children:[e.jsx(s,{percent:99.9,strokeColor:n}),e.jsx(s,{percent:50,status:"active",strokeColor:{from:"#108ee9",to:"#87d068"}}),e.jsxs(a,{wrap:!0,children:[e.jsx(s,{type:"circle",percent:90,strokeColor:n}),e.jsx(s,{type:"circle",percent:100,strokeColor:n}),e.jsx(s,{type:"circle",percent:93,strokeColor:o})]}),e.jsxs(a,{wrap:!0,children:[e.jsx(s,{type:"dashboard",percent:90,strokeColor:n}),e.jsx(s,{type:"dashboard",percent:100,strokeColor:n}),e.jsx(s,{type:"dashboard",percent:93,strokeColor:o})]})]})})}},v={render:()=>e.jsxs(p,{title:"The size of progress.",children:[e.jsxs(a,{direction:"vertical",children:[e.jsx(s,{percent:50}),e.jsx(s,{percent:50,size:"small"}),e.jsx(s,{percent:50,size:[300,20]})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(a,{size:30,children:[e.jsx(s,{type:"circle",percent:50}),e.jsx(s,{type:"circle",percent:50,size:"small"}),e.jsx(s,{type:"circle",percent:50,size:20})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(a,{size:30,children:[e.jsx(s,{type:"dashboard",percent:50}),e.jsx(s,{type:"dashboard",percent:50,size:"small"}),e.jsx(s,{type:"dashboard",percent:50,size:20})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(a,{size:30,wrap:!0,children:[e.jsx(s,{steps:3,percent:50}),e.jsx(s,{steps:3,percent:50,size:"small"}),e.jsx(s,{steps:3,percent:50,size:20}),e.jsx(s,{steps:3,percent:50,size:[20,30]})]})]})};var I,$,D;l.parameters=t(r({},l.parameters),{docs:t(r({},(I=l.parameters)==null?void 0:I.docs),{source:r({originalSource:"{}"},(D=($=l.parameters)==null?void 0:$.docs)==null?void 0:D.source)})});var F,R,L;d.parameters=t(r({},d.parameters),{docs:t(r({},(F=d.parameters)==null?void 0:F.docs),{source:r({originalSource:`{ +var $e=Object.defineProperty,De=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var Re=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable;var B=(n,o,c)=>o in n?$e(n,o,{enumerable:!0,configurable:!0,writable:!0,value:c}):n[o]=c,r=(n,o)=>{for(var c in o||(o={}))Re.call(o,c)&&B(n,c,o[c]);if(W)for(var c of W(o))Le.call(o,c)&&B(n,c,o[c]);return n},t=(n,o)=>De(n,Fe(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{a6 as s,b as a,l as T,I as G,e as A}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as p}from"./ExampleStory-B-ilaOpY.js";import{r as He}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const or={title:"Components/Feedback/Progress",component:s,args:{percent:0,showInfo:!0,status:void 0,strokeColor:void 0,strokeLinecap:"round",success:void 0,trailColor:void 0,style:{width:"100px"},type:"line",size:"default",format:n=>`${n}%`}},l={},d={args:{percent:50}},m={args:{percent:50,status:"success"}},u={args:{percent:30,status:"exception"}},x={args:{percent:50,status:"active"}},g={args:{percent:70,strokeColor:"#1890ff",trailColor:"#f0f0f0"}},y={args:{percent:50,type:"circle"}},j={args:{percent:50,type:"dashboard"}},S={args:{percent:50,size:"small"}},f={args:{percent:50,format:(n,o)=>`Progress: ${n}% (Success: ${o}%)`}},h={render:()=>e.jsx(p,{title:"A standard progress bar.",children:e.jsxs(e.Fragment,{children:[e.jsx(s,{percent:30}),e.jsx(s,{percent:50,status:"active"}),e.jsx(s,{percent:70,status:"exception"}),e.jsx(s,{percent:100}),e.jsx(s,{percent:50,showInfo:!1})]})})},P={render:()=>e.jsx(p,{title:"A circular progress bar.",children:e.jsxs(a,{wrap:!0,children:[e.jsx(s,{type:"circle",percent:75}),e.jsx(s,{type:"circle",percent:70,status:"exception"}),e.jsx(s,{type:"circle",percent:100})]})})},C={render:()=>e.jsx(p,{title:"Appropriate for a narrow area.",children:e.jsxs("div",{style:{width:170},children:[e.jsx(s,{percent:30,size:"small"}),e.jsx(s,{percent:50,size:"small",status:"active"}),e.jsx(s,{percent:70,size:"small",status:"exception"}),e.jsx(s,{percent:100,size:"small"})]})})},b={render:()=>e.jsx(p,{title:"Responsive circular progress bar. When width is smaller than 20, progress information will be displayed in Tooltip.",children:e.jsx(s,{type:"circle",trailColor:"#e6f4ff",percent:60,strokeWidth:20,size:14,format:n=>`Tooltip with percent info - ${n}%`})})},w={render:()=>{const[n,o]=He.useState(0),c=()=>{o(k=>{const i=k+10;return i>100?100:i})},Ie=()=>{o(k=>{const i=k-10;return i<0?0:i})};return e.jsxs(p,{title:"A dynamic progress bar is better.",children:[e.jsxs("div",{style:{marginBottom:10},children:[e.jsx(s,{percent:n}),e.jsx(s,{type:"circle",percent:n})]}),e.jsxs(T.Group,{children:[e.jsx(T,{onClick:Ie,icon:e.jsx(G,{name:"add"})}),e.jsx(T,{onClick:c,icon:e.jsx(G,{name:"mpLogo"})})]})]})}},z={render:()=>e.jsxs(p,{title:"Show several parts of progress with different status.",children:[e.jsx(A,{title:"3 done / 3 in progress / 4 to do",children:e.jsx(s,{percent:60,success:{percent:30}})}),e.jsxs(a,{wrap:!0,children:[e.jsx(A,{title:"3 done / 3 in progress / 4 to do",children:e.jsx(s,{percent:60,success:{percent:30},type:"circle"})}),e.jsx(A,{title:"3 done / 3 in progress / 4 to do",children:e.jsx(s,{percent:60,success:{percent:30},type:"dashboard"})})]})]})},E={render:()=>{const n={"0%":"#108ee9","100%":"#87d068"},o={"0%":"#87d068","50%":"#ffe58f","100%":"#ffccc7"};return e.jsx(p,{title:e.jsx(e.Fragment,{children:" "}),children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",rowGap:16},children:[e.jsx(s,{percent:99.9,strokeColor:n}),e.jsx(s,{percent:50,status:"active",strokeColor:{from:"#108ee9",to:"#87d068"}}),e.jsxs(a,{wrap:!0,children:[e.jsx(s,{type:"circle",percent:90,strokeColor:n}),e.jsx(s,{type:"circle",percent:100,strokeColor:n}),e.jsx(s,{type:"circle",percent:93,strokeColor:o})]}),e.jsxs(a,{wrap:!0,children:[e.jsx(s,{type:"dashboard",percent:90,strokeColor:n}),e.jsx(s,{type:"dashboard",percent:100,strokeColor:n}),e.jsx(s,{type:"dashboard",percent:93,strokeColor:o})]})]})})}},v={render:()=>e.jsxs(p,{title:"The size of progress.",children:[e.jsxs(a,{direction:"vertical",children:[e.jsx(s,{percent:50}),e.jsx(s,{percent:50,size:"small"}),e.jsx(s,{percent:50,size:[300,20]})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(a,{size:30,children:[e.jsx(s,{type:"circle",percent:50}),e.jsx(s,{type:"circle",percent:50,size:"small"}),e.jsx(s,{type:"circle",percent:50,size:20})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(a,{size:30,children:[e.jsx(s,{type:"dashboard",percent:50}),e.jsx(s,{type:"dashboard",percent:50,size:"small"}),e.jsx(s,{type:"dashboard",percent:50,size:20})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(a,{size:30,wrap:!0,children:[e.jsx(s,{steps:3,percent:50}),e.jsx(s,{steps:3,percent:50,size:"small"}),e.jsx(s,{steps:3,percent:50,size:20}),e.jsx(s,{steps:3,percent:50,size:[20,30]})]})]})};var I,$,D;l.parameters=t(r({},l.parameters),{docs:t(r({},(I=l.parameters)==null?void 0:I.docs),{source:r({originalSource:"{}"},(D=($=l.parameters)==null?void 0:$.docs)==null?void 0:D.source)})});var F,R,L;d.parameters=t(r({},d.parameters),{docs:t(r({},(F=d.parameters)==null?void 0:F.docs),{source:r({originalSource:`{ args: { percent: 50 } diff --git a/pr-preview/pr-459/assets/QRCode.stories-JCBdRriI.js b/pr-preview/pr-459/assets/QRCode.stories-CWeUF9MR.js similarity index 70% rename from pr-preview/pr-459/assets/QRCode.stories-JCBdRriI.js rename to pr-preview/pr-459/assets/QRCode.stories-CWeUF9MR.js index 1c3cced1e..286296d27 100644 --- a/pr-preview/pr-459/assets/QRCode.stories-JCBdRriI.js +++ b/pr-preview/pr-459/assets/QRCode.stories-CWeUF9MR.js @@ -1 +1 @@ -var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))C.call(r,o)&&a(t,o,r[o]);if(i)for(var o of i(r))f.call(r,o)&&a(t,o,r[o]);return t},e=(t,r)=>u(t,l(r));import{aq as g}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Unused/QRCode",component:g,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const A=["Primary"];export{p as Primary,A as __namedExportsOrder,z as default}; +var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var s=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))C.call(r,o)&&s(t,o,r[o]);if(i)for(var o of i(r))f.call(r,o)&&s(t,o,r[o]);return t},e=(t,r)=>u(t,l(r));import{as as g}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Unused/QRCode",component:g,args:{}},p={};var a,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(a=p.parameters)==null?void 0:a.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const A=["Primary"];export{p as Primary,A as __namedExportsOrder,z as default}; diff --git a/pr-preview/pr-459/assets/Qualifier.stories-n0qNHlpG.js b/pr-preview/pr-459/assets/Qualifier.stories-B8ZQYHAg.js similarity index 89% rename from pr-preview/pr-459/assets/Qualifier.stories-n0qNHlpG.js rename to pr-preview/pr-459/assets/Qualifier.stories-B8ZQYHAg.js index 98e1f0bd6..c03cb1e57 100644 --- a/pr-preview/pr-459/assets/Qualifier.stories-n0qNHlpG.js +++ b/pr-preview/pr-459/assets/Qualifier.stories-B8ZQYHAg.js @@ -1,4 +1,4 @@ -var M=Object.defineProperty,P=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var u=(o,r,s)=>r in o?M(o,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[r]=s,e=(o,r)=>{for(var s in r||(r={}))_.call(r,s)&&u(o,s,r[s]);if(c)for(var s of c(r))C.call(r,s)&&u(o,s,r[s]);return o},a=(o,r)=>P(o,T(r));import{W}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const Y={title:"Components/Data Entry/QueryItem/Qualifier",component:W.Qualifier,args:{}},m=[{value:"0",label:"is equal to"},{value:"1",label:"is not equal to"},{value:"2",label:"is greater than"},{value:"3",label:"is greater or equal to"},{value:"4",label:"is less than"},{value:"5",label:"is less or equal to"}],t={},i={args:{options:m}},n={args:{errorMessage:"This is an error message for the Qualifier component",options:m}},p={args:{disabled:!0,options:m}},l={args:{options:m,value:{value:"2",label:"is greater than"}}};var d,g,f;t.parameters=a(e({},t.parameters),{docs:a(e({},(d=t.parameters)==null?void 0:d.docs),{source:e({originalSource:"{}"},(f=(g=t.parameters)==null?void 0:g.docs)==null?void 0:f.source)})});var b,v,S;i.parameters=a(e({},i.parameters),{docs:a(e({},(b=i.parameters)==null?void 0:b.docs),{source:e({originalSource:`{ +var M=Object.defineProperty,P=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var u=(o,r,s)=>r in o?M(o,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[r]=s,e=(o,r)=>{for(var s in r||(r={}))_.call(r,s)&&u(o,s,r[s]);if(c)for(var s of c(r))C.call(r,s)&&u(o,s,r[s]);return o},a=(o,r)=>P(o,T(r));import{Y}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const X={title:"Components/Data Entry/QueryItem/Qualifier",component:Y.Qualifier,args:{}},m=[{value:"0",label:"is equal to"},{value:"1",label:"is not equal to"},{value:"2",label:"is greater than"},{value:"3",label:"is greater or equal to"},{value:"4",label:"is less than"},{value:"5",label:"is less or equal to"}],t={},i={args:{options:m}},n={args:{errorMessage:"This is an error message for the Qualifier component",options:m}},p={args:{disabled:!0,options:m}},l={args:{options:m,value:{value:"2",label:"is greater than"}}};var d,g,f;t.parameters=a(e({},t.parameters),{docs:a(e({},(d=t.parameters)==null?void 0:d.docs),{source:e({originalSource:"{}"},(f=(g=t.parameters)==null?void 0:g.docs)==null?void 0:f.source)})});var b,v,S;i.parameters=a(e({},i.parameters),{docs:a(e({},(b=i.parameters)==null?void 0:b.docs),{source:e({originalSource:`{ args: { options: defaultOptions } @@ -20,4 +20,4 @@ var M=Object.defineProperty,P=Object.defineProperties;var T=Object.getOwnPropert label: 'is greater than' } } -}`},(I=(x=l.parameters)==null?void 0:x.docs)==null?void 0:I.source)})});const Z=["Empty","Simple","Error","Disabled","PreSelected"];export{p as Disabled,t as Empty,n as Error,l as PreSelected,i as Simple,Z as __namedExportsOrder,Y as default}; +}`},(I=(x=l.parameters)==null?void 0:x.docs)==null?void 0:I.source)})});const Z=["Empty","Simple","Error","Disabled","PreSelected"];export{p as Disabled,t as Empty,n as Error,l as PreSelected,i as Simple,Z as __namedExportsOrder,X as default}; diff --git a/pr-preview/pr-459/assets/QueryItem.stories-rg-DXSSQ.js b/pr-preview/pr-459/assets/QueryItem.stories-D6IoXJyC.js similarity index 91% rename from pr-preview/pr-459/assets/QueryItem.stories-rg-DXSSQ.js rename to pr-preview/pr-459/assets/QueryItem.stories-D6IoXJyC.js index 9e0cfd62f..76316fdd3 100644 --- a/pr-preview/pr-459/assets/QueryItem.stories-rg-DXSSQ.js +++ b/pr-preview/pr-459/assets/QueryItem.stories-D6IoXJyC.js @@ -1 +1 @@ -var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var m=(r,o,t)=>o in r?d(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t,e=(r,o)=>{for(var t in o||(o={}))O.call(o,t)&&m(r,t,o[t]);if(s)for(var t of s(o))D.call(o,t)&&m(r,t,o[t]);return r},i=(r,o)=>u(r,l(o));import{W as E}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const b={title:"Components/Data Entry/QueryItem",component:E,parameters:{docs:{description:{component:"DO NOT USE THIS OR YOU WILL BE FIRED! This is a parent component of this component group, and is not supposed to be used on its own."}}},args:{}},p={};var n,a,c;p.parameters=i(e({},p.parameters),{docs:i(e({},(n=p.parameters)==null?void 0:n.docs),{source:e({originalSource:"{}"},(c=(a=p.parameters)==null?void 0:a.docs)==null?void 0:c.source)})});const w=["DontUseThisOrYouWillBeFired"];export{p as DontUseThisOrYouWillBeFired,w as __namedExportsOrder,b as default}; +var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var m=(r,o,t)=>o in r?d(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t,e=(r,o)=>{for(var t in o||(o={}))O.call(o,t)&&m(r,t,o[t]);if(s)for(var t of s(o))D.call(o,t)&&m(r,t,o[t]);return r},i=(r,o)=>u(r,l(o));import{Y as E}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const b={title:"Components/Data Entry/QueryItem",component:E,parameters:{docs:{description:{component:"DO NOT USE THIS OR YOU WILL BE FIRED! This is a parent component of this component group, and is not supposed to be used on its own."}}},args:{}},p={};var n,a,c;p.parameters=i(e({},p.parameters),{docs:i(e({},(n=p.parameters)==null?void 0:n.docs),{source:e({originalSource:"{}"},(c=(a=p.parameters)==null?void 0:a.docs)==null?void 0:c.source)})});const w=["DontUseThisOrYouWillBeFired"];export{p as DontUseThisOrYouWillBeFired,w as __namedExportsOrder,b as default}; diff --git a/pr-preview/pr-459/assets/Radio.stories-BACDehYK.js b/pr-preview/pr-459/assets/Radio.stories-DAo5gjxq.js similarity index 97% rename from pr-preview/pr-459/assets/Radio.stories-BACDehYK.js rename to pr-preview/pr-459/assets/Radio.stories-DAo5gjxq.js index 0a62838ad..16e8340af 100644 --- a/pr-preview/pr-459/assets/Radio.stories-BACDehYK.js +++ b/pr-preview/pr-459/assets/Radio.stories-DAo5gjxq.js @@ -1,4 +1,4 @@ -var P=Object.defineProperty,_=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var u=(s,a,o)=>a in s?P(s,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[a]=o,e=(s,a)=>{for(var o in a||(a={}))q.call(a,o)&&u(s,o,a[o]);if(p)for(var o of p(a))w.call(a,o)&&u(s,o,a[o]);return s},r=(s,a)=>_(s,j(a));import{R as z}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const ee={title:"Components/Data Entry/Radio",component:z,args:{autoFocus:!1,checked:!1,defaultChecked:!1,disabled:!1,value:void 0,onChange:void 0}},t={},c={args:{autoFocus:!0}},n={args:{checked:!0}},d={args:{defaultChecked:!0}},m={args:{disabled:!0}},i={args:{onChange:()=>{alert("Radio Changed")}}};var l,g,h;t.parameters=r(e({},t.parameters),{docs:r(e({},(l=t.parameters)==null?void 0:l.docs),{source:e({originalSource:"{}"},(h=(g=t.parameters)==null?void 0:g.docs)==null?void 0:h.source)})});var C,f,k;c.parameters=r(e({},c.parameters),{docs:r(e({},(C=c.parameters)==null?void 0:C.docs),{source:e({originalSource:`{ +var P=Object.defineProperty,_=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var u=(s,a,o)=>a in s?P(s,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[a]=o,e=(s,a)=>{for(var o in a||(a={}))q.call(a,o)&&u(s,o,a[o]);if(p)for(var o of p(a))w.call(a,o)&&u(s,o,a[o]);return s},r=(s,a)=>_(s,j(a));import{R as z}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const ee={title:"Components/Data Entry/Radio",component:z,args:{autoFocus:!1,checked:!1,defaultChecked:!1,disabled:!1,value:void 0,onChange:void 0}},t={},c={args:{autoFocus:!0}},n={args:{checked:!0}},d={args:{defaultChecked:!0}},m={args:{disabled:!0}},i={args:{onChange:()=>{alert("Radio Changed")}}};var l,g,h;t.parameters=r(e({},t.parameters),{docs:r(e({},(l=t.parameters)==null?void 0:l.docs),{source:e({originalSource:"{}"},(h=(g=t.parameters)==null?void 0:g.docs)==null?void 0:h.source)})});var C,f,k;c.parameters=r(e({},c.parameters),{docs:r(e({},(C=c.parameters)==null?void 0:C.docs),{source:e({originalSource:`{ args: { autoFocus: true } diff --git a/pr-preview/pr-459/assets/RadioButton.stories-66FFn5LP.js b/pr-preview/pr-459/assets/RadioButton.stories-CVwrUrhB.js similarity index 95% rename from pr-preview/pr-459/assets/RadioButton.stories-66FFn5LP.js rename to pr-preview/pr-459/assets/RadioButton.stories-CVwrUrhB.js index d9d8c34ef..13c06031c 100644 --- a/pr-preview/pr-459/assets/RadioButton.stories-66FFn5LP.js +++ b/pr-preview/pr-459/assets/RadioButton.stories-CVwrUrhB.js @@ -1 +1 @@ -var n=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var p=(r,o,t)=>o in r?n(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t,a=(r,o)=>{for(var t in o||(o={}))f.call(o,t)&&p(r,t,o[t]);if(m)for(var t of m(o))R.call(o,t)&&p(r,t,o[t]);return r},i=(r,o)=>l(r,u(o));import{R as h}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const w={title:"Components/Data Entry/Radio/RadioButton",component:h.Button,args:{autoFocus:!1,checked:!1,defaultChecked:!1,disabled:!1,value:void 0,children:"Radio Button"}},e={};var s,d,c;e.parameters=i(a({},e.parameters),{docs:i(a({},(s=e.parameters)==null?void 0:s.docs),{source:a({originalSource:"{}"},(c=(d=e.parameters)==null?void 0:d.docs)==null?void 0:c.source)})});const z=["Primary"];export{e as Primary,z as __namedExportsOrder,w as default}; +var n=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var p=(r,o,t)=>o in r?n(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t,a=(r,o)=>{for(var t in o||(o={}))f.call(o,t)&&p(r,t,o[t]);if(m)for(var t of m(o))R.call(o,t)&&p(r,t,o[t]);return r},i=(r,o)=>l(r,u(o));import{R as h}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const w={title:"Components/Data Entry/Radio/RadioButton",component:h.Button,args:{autoFocus:!1,checked:!1,defaultChecked:!1,disabled:!1,value:void 0,children:"Radio Button"}},e={};var s,d,c;e.parameters=i(a({},e.parameters),{docs:i(a({},(s=e.parameters)==null?void 0:s.docs),{source:a({originalSource:"{}"},(c=(d=e.parameters)==null?void 0:d.docs)==null?void 0:c.source)})});const z=["Primary"];export{e as Primary,z as __namedExportsOrder,w as default}; diff --git a/pr-preview/pr-459/assets/RadioGroup.stories-DHzw5BRZ.js b/pr-preview/pr-459/assets/RadioGroup.stories-DFTnE1Sf.js similarity index 97% rename from pr-preview/pr-459/assets/RadioGroup.stories-DHzw5BRZ.js rename to pr-preview/pr-459/assets/RadioGroup.stories-DFTnE1Sf.js index 8eefd748a..bb0206704 100644 --- a/pr-preview/pr-459/assets/RadioGroup.stories-DHzw5BRZ.js +++ b/pr-preview/pr-459/assets/RadioGroup.stories-DFTnE1Sf.js @@ -1,4 +1,4 @@ -var B=Object.defineProperty,R=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var u=(a,e,o)=>e in a?B(a,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[e]=o,t=(a,e)=>{for(var o in e||(e={}))y.call(e,o)&&u(a,o,e[o]);if(p)for(var o of p(e))O.call(e,o)&&u(a,o,e[o]);return a},n=(a,e)=>R(a,b(e));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{R as i}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const q={title:"Components/Data Entry/Radio/RadioGroup",component:i.Group,args:{buttonStyle:void 0,defaultValue:void 0,disabled:!1,name:void 0,options:void 0,optionType:void 0,size:"middle",value:void 0,onChange:void 0,children:void 0}},l={args:{options:[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange",title:"Orange"}],optionType:"default"}},d={args:{defaultValue:"a",children:[r.jsx(i.Button,{value:"a",children:"Hangzhou"},"a"),r.jsx(i.Button,{value:"b",children:"Shanghai"},"b"),r.jsx(i.Button,{value:"c",children:"Beijing"},"c"),r.jsx(i.Button,{value:"d",children:"Chengdu"},"d")]}};var s,m,c;l.parameters=n(t({},l.parameters),{docs:n(t({},(s=l.parameters)==null?void 0:s.docs),{source:t({originalSource:`{ +var B=Object.defineProperty,R=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var u=(a,e,o)=>e in a?B(a,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[e]=o,t=(a,e)=>{for(var o in e||(e={}))y.call(e,o)&&u(a,o,e[o]);if(p)for(var o of p(e))O.call(e,o)&&u(a,o,e[o]);return a},n=(a,e)=>R(a,b(e));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{R as i}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const q={title:"Components/Data Entry/Radio/RadioGroup",component:i.Group,args:{buttonStyle:void 0,defaultValue:void 0,disabled:!1,name:void 0,options:void 0,optionType:void 0,size:"middle",value:void 0,onChange:void 0,children:void 0}},l={args:{options:[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange",title:"Orange"}],optionType:"default"}},d={args:{defaultValue:"a",children:[r.jsx(i.Button,{value:"a",children:"Hangzhou"},"a"),r.jsx(i.Button,{value:"b",children:"Shanghai"},"b"),r.jsx(i.Button,{value:"c",children:"Beijing"},"c"),r.jsx(i.Button,{value:"d",children:"Chengdu"},"d")]}};var s,m,c;l.parameters=n(t({},l.parameters),{docs:n(t({},(s=l.parameters)==null?void 0:s.docs),{source:t({originalSource:`{ args: { options: [{ label: 'Apple', diff --git a/pr-preview/pr-459/assets/Rate.stories-Dm0XvBGN.js b/pr-preview/pr-459/assets/Rate.stories-BsS9ZdLg.js similarity index 75% rename from pr-preview/pr-459/assets/Rate.stories-Dm0XvBGN.js rename to pr-preview/pr-459/assets/Rate.stories-BsS9ZdLg.js index 1f3362f30..f8cfd1696 100644 --- a/pr-preview/pr-459/assets/Rate.stories-Dm0XvBGN.js +++ b/pr-preview/pr-459/assets/Rate.stories-BsS9ZdLg.js @@ -1 +1 @@ -var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))f.call(r,o)&&a(t,o,r[o]);if(i)for(var o of i(r))g.call(r,o)&&a(t,o,r[o]);return t},e=(t,r)=>u(t,l(r));import{ar as x}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Unused/Rate",component:x,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; +var d=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var a=(o,r,t)=>r in o?d(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,m=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&a(o,t,r[t]);if(i)for(var t of i(r))g.call(r,t)&&a(o,t,r[t]);return o},e=(o,r)=>u(o,l(r));import{at as x}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Unused/Rate",component:x,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/Result.stories-CUCCEoSK.js b/pr-preview/pr-459/assets/Result.stories-BWses7_d.js similarity index 94% rename from pr-preview/pr-459/assets/Result.stories-CUCCEoSK.js rename to pr-preview/pr-459/assets/Result.stories-BWses7_d.js index ccffafb07..67127bdd6 100644 --- a/pr-preview/pr-459/assets/Result.stories-CUCCEoSK.js +++ b/pr-preview/pr-459/assets/Result.stories-BWses7_d.js @@ -1,4 +1,4 @@ -var R=Object.defineProperty,W=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var i=(o,s,a)=>s in o?R(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a,r=(o,s)=>{for(var a in s||(s={}))b.call(s,a)&&i(o,a,s[a]);if(p)for(var a of p(s))k.call(s,a)&&i(o,a,s[a]);return o},t=(o,s)=>W(o,_(s));import{a5 as C}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const Q={title:"Components/Feedback/Result",component:C,args:{}},e={args:{status:"success"}},n={args:{status:"error"}},m={args:{status:"warning"}},c={args:{status:"info"}};var u,g,d;e.parameters=t(r({},e.parameters),{docs:t(r({},(u=e.parameters)==null?void 0:u.docs),{source:r({originalSource:`{ +var R=Object.defineProperty,W=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var i=(o,s,a)=>s in o?R(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a,r=(o,s)=>{for(var a in s||(s={}))b.call(s,a)&&i(o,a,s[a]);if(p)for(var a of p(s))k.call(s,a)&&i(o,a,s[a]);return o},t=(o,s)=>W(o,_(s));import{a7 as C}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const Q={title:"Components/Feedback/Result",component:C,args:{}},e={args:{status:"success"}},n={args:{status:"error"}},m={args:{status:"warning"}},c={args:{status:"info"}};var u,g,d;e.parameters=t(r({},e.parameters),{docs:t(r({},(u=e.parameters)==null?void 0:u.docs),{source:r({originalSource:`{ args: { status: 'success' } diff --git a/pr-preview/pr-459/assets/Segmented.stories-ClMoMFla.js b/pr-preview/pr-459/assets/Segmented.stories-By4-JUVt.js similarity index 90% rename from pr-preview/pr-459/assets/Segmented.stories-ClMoMFla.js rename to pr-preview/pr-459/assets/Segmented.stories-By4-JUVt.js index 4a62ede5a..c405361b1 100644 --- a/pr-preview/pr-459/assets/Segmented.stories-ClMoMFla.js +++ b/pr-preview/pr-459/assets/Segmented.stories-By4-JUVt.js @@ -1 +1 @@ -var d=Object.defineProperty,g=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var a=(o,r,t)=>r in o?d(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,m=(o,r)=>{for(var t in r||(r={}))u.call(r,t)&&a(o,t,r[t]);if(i)for(var t of i(r))y.call(r,t)&&a(o,t,r[t]);return o},p=(o,r)=>g(o,l(r));import{j as S}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Data Display/Segmented",component:S,args:{}},e={};var s,n,c;e.parameters=p(m({},e.parameters),{docs:p(m({},(s=e.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(c=(n=e.parameters)==null?void 0:n.docs)==null?void 0:c.source)})});const F=["Primary"];export{e as Primary,F as __namedExportsOrder,B as default}; +var d=Object.defineProperty,g=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var a=(o,r,t)=>r in o?d(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,m=(o,r)=>{for(var t in r||(r={}))u.call(r,t)&&a(o,t,r[t]);if(i)for(var t of i(r))y.call(r,t)&&a(o,t,r[t]);return o},p=(o,r)=>g(o,l(r));import{m as S}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const B={title:"Components/Data Display/Segmented",component:S,args:{}},e={};var s,n,c;e.parameters=p(m({},e.parameters),{docs:p(m({},(s=e.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(c=(n=e.parameters)==null?void 0:n.docs)==null?void 0:c.source)})});const F=["Primary"];export{e as Primary,F as __namedExportsOrder,B as default}; diff --git a/pr-preview/pr-459/assets/Select.stories-DiBrDQ-h.js b/pr-preview/pr-459/assets/Select.stories-CHNRuGV7.js similarity index 93% rename from pr-preview/pr-459/assets/Select.stories-DiBrDQ-h.js rename to pr-preview/pr-459/assets/Select.stories-CHNRuGV7.js index 9d4e33857..188fac02b 100644 --- a/pr-preview/pr-459/assets/Select.stories-DiBrDQ-h.js +++ b/pr-preview/pr-459/assets/Select.stories-CHNRuGV7.js @@ -1 +1 @@ -var i=Object.defineProperty,d=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var m=(t,e,r)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,a=(t,e)=>{for(var r in e||(e={}))u.call(e,r)&&m(t,r,e[r]);if(c)for(var r of c(e))_.call(e,r)&&m(t,r,e[r]);return t},s=(t,e)=>d(t,S(e));import{g}from"./GlobalNavigation-CPQMp-rl.js";const y={title:"Components/Data Entry/Select",component:g,args:{}},o={};var n,l,p;o.parameters=s(a({},o.parameters),{docs:s(a({},(n=o.parameters)==null?void 0:n.docs),{source:a({originalSource:"{}"},(p=(l=o.parameters)==null?void 0:l.docs)==null?void 0:p.source)})});const f=["Primary"],P=Object.freeze(Object.defineProperty({__proto__:null,Primary:o,__namedExportsOrder:f,default:y},Symbol.toStringTag,{value:"Module"}));export{P as S,y as m}; +var i=Object.defineProperty,d=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var m=(t,e,r)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,a=(t,e)=>{for(var r in e||(e={}))u.call(e,r)&&m(t,r,e[r]);if(c)for(var r of c(e))_.call(e,r)&&m(t,r,e[r]);return t},s=(t,e)=>d(t,S(e));import{g}from"./GlobalNavigation-DT_tPK9g.js";const y={title:"Components/Data Entry/Select",component:g,args:{}},o={};var n,l,p;o.parameters=s(a({},o.parameters),{docs:s(a({},(n=o.parameters)==null?void 0:n.docs),{source:a({originalSource:"{}"},(p=(l=o.parameters)==null?void 0:l.docs)==null?void 0:p.source)})});const f=["Primary"],P=Object.freeze(Object.defineProperty({__proto__:null,Primary:o,__namedExportsOrder:f,default:y},Symbol.toStringTag,{value:"Module"}));export{P as S,y as m}; diff --git a/pr-preview/pr-459/assets/SelectWithRangePicker-Ce7dTWwR.js b/pr-preview/pr-459/assets/SelectWithRangePicker-CdqsmbpZ.js similarity index 96% rename from pr-preview/pr-459/assets/SelectWithRangePicker-Ce7dTWwR.js rename to pr-preview/pr-459/assets/SelectWithRangePicker-CdqsmbpZ.js index 460634eee..57588825d 100644 --- a/pr-preview/pr-459/assets/SelectWithRangePicker-Ce7dTWwR.js +++ b/pr-preview/pr-459/assets/SelectWithRangePicker-CdqsmbpZ.js @@ -1,4 +1,4 @@ -var S=Object.defineProperty;var m=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var g=(e,t,a)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,p=(e,t)=>{for(var a in t||(t={}))y.call(t,a)&&g(e,a,t[a]);if(m)for(var a of m(t))h.call(t,a)&&g(e,a,t[a]);return e};var f=(e,t)=>{var a={};for(var n in e)y.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&m)for(var n of m(e))t.indexOf(n)<0&&h.call(e,n)&&(a[n]=e[n]);return a};import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{r as x}from"./index-CNk6hRaE.js";import{d as j}from"./dayjs.min-KGLNs1IR.js";import{at as v,h as w,F as O,D as C,d as F}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";const I={month:"short",day:"numeric",year:"numeric"},T=({start:e,end:t,formatOptions:a=I})=>r.jsx(r.Fragment,{children:new Intl.DateTimeFormat("en-US",p({},a)).formatRange(e,t)});T.__docgenInfo={description:"",methods:[],displayName:"DateRangeString",props:{start:{required:!0,tsType:{name:"Date"},description:""},end:{required:!0,tsType:{name:"Date"},description:""},formatOptions:{required:!1,tsType:{name:"Intl.DateTimeFormatOptions"},description:"",defaultValue:{value:`{ +var S=Object.defineProperty;var m=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var g=(e,t,a)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,p=(e,t)=>{for(var a in t||(t={}))y.call(t,a)&&g(e,a,t[a]);if(m)for(var a of m(t))h.call(t,a)&&g(e,a,t[a]);return e};var f=(e,t)=>{var a={};for(var n in e)y.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&m)for(var n of m(e))t.indexOf(n)<0&&h.call(e,n)&&(a[n]=e[n]);return a};import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{r as x}from"./index-CNk6hRaE.js";import{d as j}from"./dayjs.min-KGLNs1IR.js";import{av as v,k as w,F as O,D as C,d as F}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";const I={month:"short",day:"numeric",year:"numeric"},T=({start:e,end:t,formatOptions:a=I})=>r.jsx(r.Fragment,{children:new Intl.DateTimeFormat("en-US",p({},a)).formatRange(e,t)});T.__docgenInfo={description:"",methods:[],displayName:"DateRangeString",props:{start:{required:!0,tsType:{name:"Date"},description:""},end:{required:!0,tsType:{name:"Date"},description:""},formatOptions:{required:!1,tsType:{name:"Intl.DateTimeFormatOptions"},description:"",defaultValue:{value:`{ month: 'short', day: 'numeric', year: 'numeric', diff --git a/pr-preview/pr-459/assets/SelectWithRangePicker.stories-TBdBX_XP.js b/pr-preview/pr-459/assets/SelectWithRangePicker.stories-zZF_fmuw.js similarity index 96% rename from pr-preview/pr-459/assets/SelectWithRangePicker.stories-TBdBX_XP.js rename to pr-preview/pr-459/assets/SelectWithRangePicker.stories-zZF_fmuw.js index a02724efa..371b65ac5 100644 --- a/pr-preview/pr-459/assets/SelectWithRangePicker.stories-TBdBX_XP.js +++ b/pr-preview/pr-459/assets/SelectWithRangePicker.stories-zZF_fmuw.js @@ -1,4 +1,4 @@ -var m=Object.defineProperty,v=Object.defineProperties;var y=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var l=(n,e,a)=>e in n?m(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,t=(n,e)=>{for(var a in e||(e={}))_.call(e,a)&&l(n,a,e[a]);if(o)for(var a of o(e))f.call(e,a)&&l(n,a,e[a]);return n},r=(n,e)=>v(n,y(e));import{j as S}from"./jsx-runtime-BcCOBRXo.js";import{S as i}from"./SelectWithRangePicker-Ce7dTWwR.js";import{f as R}from"./index-C7MMNn6a.js";const{useArgs:b}=__STORYBOOK_MODULE_PREVIEW_API__,h={title:"Candidate Components/Directory/Date Range Filter",component:i},s={args:{value:"last30days",onSelect:R(),options:[{value:"last24hours",label:"Last 24 hours"},{value:"last7days",label:"Last 7 days"},{value:"last30days",label:"Last 30 days"}]},render:function(e){const[{value:a},p]=b();return S.jsx(i,r(t({},e),{value:a,onChange:g=>{p({value:g})}}))}};var u,d,c;s.parameters=r(t({},s.parameters),{docs:r(t({},(u=s.parameters)==null?void 0:u.docs),{source:t({originalSource:`{ +var m=Object.defineProperty,v=Object.defineProperties;var y=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var l=(n,e,a)=>e in n?m(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,t=(n,e)=>{for(var a in e||(e={}))_.call(e,a)&&l(n,a,e[a]);if(o)for(var a of o(e))f.call(e,a)&&l(n,a,e[a]);return n},r=(n,e)=>v(n,y(e));import{j as S}from"./jsx-runtime-BcCOBRXo.js";import{S as i}from"./SelectWithRangePicker-CdqsmbpZ.js";import{f as R}from"./index-C7MMNn6a.js";const{useArgs:b}=__STORYBOOK_MODULE_PREVIEW_API__,h={title:"Candidate Components/Directory/Date Range Filter",component:i},s={args:{value:"last30days",onSelect:R(),options:[{value:"last24hours",label:"Last 24 hours"},{value:"last7days",label:"Last 7 days"},{value:"last30days",label:"Last 30 days"}]},render:function(e){const[{value:a},p]=b();return S.jsx(i,r(t({},e),{value:a,onChange:g=>{p({value:g})}}))}};var u,d,c;s.parameters=r(t({},s.parameters),{docs:r(t({},(u=s.parameters)==null?void 0:u.docs),{source:t({originalSource:`{ args: { value: 'last30days', onSelect: fn(), diff --git a/pr-preview/pr-459/assets/Skeleton.stories-BvLd5bJJ.js b/pr-preview/pr-459/assets/Skeleton.stories-D8-yRkQF.js similarity index 96% rename from pr-preview/pr-459/assets/Skeleton.stories-BvLd5bJJ.js rename to pr-preview/pr-459/assets/Skeleton.stories-D8-yRkQF.js index 8837aae21..fe7c606d5 100644 --- a/pr-preview/pr-459/assets/Skeleton.stories-BvLd5bJJ.js +++ b/pr-preview/pr-459/assets/Skeleton.stories-D8-yRkQF.js @@ -1,4 +1,4 @@ -var Se=Object.defineProperty,xe=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable;var L=(a,o,n)=>o in a?Se(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,t=(a,o)=>{for(var n in o||(o={}))ye.call(o,n)&&L(a,n,o[n]);if(w)for(var n of w(o))ke.call(o,n)&&L(a,n,o[n]);return a},r=(a,o)=>xe(a,ve(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{S as l,b as I,I as C,h as je,O as h,l as z,R as i,i as fe,a6 as R,A as be}from"./GlobalNavigation-CPQMp-rl.js";import{E as m}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as u}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const _e={title:"Components/Feedback/Skeleton",component:a=>e.jsx(l,r(t({},a),{style:{height:"200px",width:"200px"}})),args:{avatar:!1,loading:!0,paragraph:!1,round:!1,title:!1}},g={args:{paragraph:!0}},S={args:{avatar:{shape:"circle",size:"large"}}},x={args:{paragraph:{rows:7}}},v={args:{round:!0,paragraph:!0}},y={args:{title:{width:70}}},k={render:()=>e.jsx(m,{title:"Simplest Skeleton usage.",children:e.jsx(l,{})})},j={render:()=>e.jsx(m,{title:"Complex combination with avatar and multiple paragraphs.",children:e.jsx(l,{avatar:!0,paragraph:{rows:4}})})},f={render:()=>{const[a,o]=u.useState(!1),[n,A]=u.useState(!1),[p,s]=u.useState("default"),[d,ce]=u.useState("default"),[E,pe]=u.useState("circle"),de=c=>{o(c)},ue=c=>{A(c)},he=c=>{s(c.target.value)},me=c=>{ce(c.target.value)},ge=c=>{pe(c.target.value)};return e.jsxs(m,{title:"Skeleton Button, Avatar, Input, Image and Node.",children:[e.jsxs(I,{children:[e.jsx(l.Button,{active:a,size:p,shape:d,block:n}),e.jsx(l.Avatar,{active:a,size:p,shape:E}),e.jsx(l.Input,{active:a,size:p})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l.Button,{active:a,size:p,shape:d,block:n}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l.Input,{active:a,size:p,block:n}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(I,{children:[e.jsx(l.Image,{active:a}),e.jsx(l.Node,{active:a,children:e.jsx(C,{name:"mpLogo",size:"xxxxl",color:"success"})})]}),e.jsx(je,{}),e.jsx(h,{layout:"inline",style:{margin:"16px 0"},children:e.jsxs(I,{size:16,wrap:!0,children:[e.jsx(h.Item,{label:"Active",children:e.jsx(z,{checked:a,onChange:de})}),e.jsx(h.Item,{label:"Button and Input Block",children:e.jsx(z,{checked:n,onChange:ue})}),e.jsx(h.Item,{label:"Size",children:e.jsxs(i.Group,{value:p,onChange:he,children:[e.jsx(i.Button,{value:"default",children:"Default"}),e.jsx(i.Button,{value:"large",children:"Large"}),e.jsx(i.Button,{value:"small",children:"Small"})]})}),e.jsx(h.Item,{label:"Button Shape",children:e.jsxs(i.Group,{value:d,onChange:me,children:[e.jsx(i.Button,{value:"default",children:"Default"}),e.jsx(i.Button,{value:"square",children:"Square"}),e.jsx(i.Button,{value:"round",children:"Round"}),e.jsx(i.Button,{value:"circle",children:"Circle"})]})}),e.jsx(h.Item,{label:"Avatar Shape",children:e.jsxs(i.Group,{value:E,onChange:ge,children:[e.jsx(i.Button,{value:"square",children:"Square"}),e.jsx(i.Button,{value:"circle",children:"Circle"})]})})]})})]})}},b={render:()=>{const[a,o]=u.useState(!1),n=()=>{o(!0),setTimeout(()=>{o(!1)},3e3)};return e.jsx(m,{title:"Skeleton contains sub component.",children:e.jsxs(I,{direction:"vertical",style:{width:"100%"},size:16,children:[e.jsxs(l,{loading:a,children:[e.jsx("h4",{style:{marginBottom:16},children:"Ant Design, a design language"}),e.jsx("p",{children:"We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently."})]}),e.jsx(fe,{onClick:n,disabled:a,children:"Show Skeleton"})]})})}},B={render:()=>{const a=Array.from({length:3}).map((s,d)=>({href:"https://ant.design",title:`ant design part ${d+1}`,avatar:`https://api.dicebear.com/7.x/miniavs/svg?seed=${d}`,description:"Ant Design, a design language for background applications, is refined by Ant UED Team.",content:"We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently."})),o=({icon:s,text:d})=>e.jsxs(e.Fragment,{children:[u.createElement(s,{style:{marginRight:8}}),d]}),[n,A]=u.useState(!0),p=s=>{A(!s)};return e.jsxs(m,{title:"Use skeleton in list component.",children:[e.jsx(z,{checked:!n,onChange:p,style:{marginBottom:16}}),e.jsx(R,{itemLayout:"vertical",size:"large",dataSource:a,renderItem:s=>e.jsx(R.Item,{actions:n?void 0:[e.jsx(o,{icon:e.jsx(C,{name:"alicorn"}),text:"156"},"list-vertical-star-o"),e.jsx(o,{icon:e.jsx(C,{name:"users"}),text:"156"},"list-vertical-like-o"),e.jsx(o,{icon:e.jsx(C,{name:"setup"}),text:"2"},"list-vertical-message")],extra:!n&&e.jsx("img",{width:272,alt:"logo",src:"https://gw.alipayobjects.com/zos/rmsportal/mqaQswcyDLcXyDKnZfES.png"}),children:e.jsxs(l,{loading:n,avatar:!0,children:[e.jsx(R.Item.Meta,{avatar:e.jsx(be,{src:s.avatar}),title:e.jsx("a",{href:s.href,children:s.title}),description:s.description}),s.content]})},s.title)})]})}};var T,D,q;g.parameters=r(t({},g.parameters),{docs:r(t({},(T=g.parameters)==null?void 0:T.docs),{source:t({originalSource:`{ +var Se=Object.defineProperty,xe=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable;var L=(a,o,n)=>o in a?Se(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,t=(a,o)=>{for(var n in o||(o={}))ye.call(o,n)&&L(a,n,o[n]);if(w)for(var n of w(o))ke.call(o,n)&&L(a,n,o[n]);return a},r=(a,o)=>xe(a,ve(o));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{S as l,b as I,I as C,k as je,U as h,o as z,R as i,l as fe,a8 as R,A as be}from"./GlobalNavigation-DT_tPK9g.js";import{E as m}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as u}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const _e={title:"Components/Feedback/Skeleton",component:a=>e.jsx(l,r(t({},a),{style:{height:"200px",width:"200px"}})),args:{avatar:!1,loading:!0,paragraph:!1,round:!1,title:!1}},g={args:{paragraph:!0}},S={args:{avatar:{shape:"circle",size:"large"}}},x={args:{paragraph:{rows:7}}},v={args:{round:!0,paragraph:!0}},y={args:{title:{width:70}}},k={render:()=>e.jsx(m,{title:"Simplest Skeleton usage.",children:e.jsx(l,{})})},j={render:()=>e.jsx(m,{title:"Complex combination with avatar and multiple paragraphs.",children:e.jsx(l,{avatar:!0,paragraph:{rows:4}})})},f={render:()=>{const[a,o]=u.useState(!1),[n,A]=u.useState(!1),[p,s]=u.useState("default"),[d,ce]=u.useState("default"),[E,pe]=u.useState("circle"),de=c=>{o(c)},ue=c=>{A(c)},he=c=>{s(c.target.value)},me=c=>{ce(c.target.value)},ge=c=>{pe(c.target.value)};return e.jsxs(m,{title:"Skeleton Button, Avatar, Input, Image and Node.",children:[e.jsxs(I,{children:[e.jsx(l.Button,{active:a,size:p,shape:d,block:n}),e.jsx(l.Avatar,{active:a,size:p,shape:E}),e.jsx(l.Input,{active:a,size:p})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l.Button,{active:a,size:p,shape:d,block:n}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(l.Input,{active:a,size:p,block:n}),e.jsx("br",{}),e.jsx("br",{}),e.jsxs(I,{children:[e.jsx(l.Image,{active:a}),e.jsx(l.Node,{active:a,children:e.jsx(C,{name:"mpLogo",size:"xxxxl",color:"success"})})]}),e.jsx(je,{}),e.jsx(h,{layout:"inline",style:{margin:"16px 0"},children:e.jsxs(I,{size:16,wrap:!0,children:[e.jsx(h.Item,{label:"Active",children:e.jsx(z,{checked:a,onChange:de})}),e.jsx(h.Item,{label:"Button and Input Block",children:e.jsx(z,{checked:n,onChange:ue})}),e.jsx(h.Item,{label:"Size",children:e.jsxs(i.Group,{value:p,onChange:he,children:[e.jsx(i.Button,{value:"default",children:"Default"}),e.jsx(i.Button,{value:"large",children:"Large"}),e.jsx(i.Button,{value:"small",children:"Small"})]})}),e.jsx(h.Item,{label:"Button Shape",children:e.jsxs(i.Group,{value:d,onChange:me,children:[e.jsx(i.Button,{value:"default",children:"Default"}),e.jsx(i.Button,{value:"square",children:"Square"}),e.jsx(i.Button,{value:"round",children:"Round"}),e.jsx(i.Button,{value:"circle",children:"Circle"})]})}),e.jsx(h.Item,{label:"Avatar Shape",children:e.jsxs(i.Group,{value:E,onChange:ge,children:[e.jsx(i.Button,{value:"square",children:"Square"}),e.jsx(i.Button,{value:"circle",children:"Circle"})]})})]})})]})}},b={render:()=>{const[a,o]=u.useState(!1),n=()=>{o(!0),setTimeout(()=>{o(!1)},3e3)};return e.jsx(m,{title:"Skeleton contains sub component.",children:e.jsxs(I,{direction:"vertical",style:{width:"100%"},size:16,children:[e.jsxs(l,{loading:a,children:[e.jsx("h4",{style:{marginBottom:16},children:"Ant Design, a design language"}),e.jsx("p",{children:"We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently."})]}),e.jsx(fe,{onClick:n,disabled:a,children:"Show Skeleton"})]})})}},B={render:()=>{const a=Array.from({length:3}).map((s,d)=>({href:"https://ant.design",title:`ant design part ${d+1}`,avatar:`https://api.dicebear.com/7.x/miniavs/svg?seed=${d}`,description:"Ant Design, a design language for background applications, is refined by Ant UED Team.",content:"We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently."})),o=({icon:s,text:d})=>e.jsxs(e.Fragment,{children:[u.createElement(s,{style:{marginRight:8}}),d]}),[n,A]=u.useState(!0),p=s=>{A(!s)};return e.jsxs(m,{title:"Use skeleton in list component.",children:[e.jsx(z,{checked:!n,onChange:p,style:{marginBottom:16}}),e.jsx(R,{itemLayout:"vertical",size:"large",dataSource:a,renderItem:s=>e.jsx(R.Item,{actions:n?void 0:[e.jsx(o,{icon:e.jsx(C,{name:"alicorn"}),text:"156"},"list-vertical-star-o"),e.jsx(o,{icon:e.jsx(C,{name:"users"}),text:"156"},"list-vertical-like-o"),e.jsx(o,{icon:e.jsx(C,{name:"setup"}),text:"2"},"list-vertical-message")],extra:!n&&e.jsx("img",{width:272,alt:"logo",src:"https://gw.alipayobjects.com/zos/rmsportal/mqaQswcyDLcXyDKnZfES.png"}),children:e.jsxs(l,{loading:n,avatar:!0,children:[e.jsx(R.Item.Meta,{avatar:e.jsx(be,{src:s.avatar}),title:e.jsx("a",{href:s.href,children:s.title}),description:s.description}),s.content]})},s.title)})]})}};var T,D,q;g.parameters=r(t({},g.parameters),{docs:r(t({},(T=g.parameters)==null?void 0:T.docs),{source:t({originalSource:`{ args: { paragraph: true } @@ -20,19 +20,19 @@ var Se=Object.defineProperty,xe=Object.defineProperties;var ve=Object.getOwnProp round: true, paragraph: true } -}`},(K=($=v.parameters)==null?void 0:$.docs)==null?void 0:K.source)})});var M,O,Q;y.parameters=r(t({},y.parameters),{docs:r(t({},(M=y.parameters)==null?void 0:M.docs),{source:t({originalSource:`{ +}`},(K=($=v.parameters)==null?void 0:$.docs)==null?void 0:K.source)})});var M,Q,X;y.parameters=r(t({},y.parameters),{docs:r(t({},(M=y.parameters)==null?void 0:M.docs),{source:t({originalSource:`{ args: { title: { width: 70 } } -}`},(Q=(O=y.parameters)==null?void 0:O.docs)==null?void 0:Q.source)})});var X,Z,H;k.parameters=r(t({},k.parameters),{docs:r(t({},(X=k.parameters)==null?void 0:X.docs),{source:t({originalSource:`{ +}`},(X=(Q=y.parameters)==null?void 0:Q.docs)==null?void 0:X.source)})});var Z,O,H;k.parameters=r(t({},k.parameters),{docs:r(t({},(Z=k.parameters)==null?void 0:Z.docs),{source:t({originalSource:`{ render: () => { return ; } -}`},(H=(Z=k.parameters)==null?void 0:Z.docs)==null?void 0:H.source)})});var J,V,Y;j.parameters=r(t({},j.parameters),{docs:r(t({},(J=j.parameters)==null?void 0:J.docs),{source:t({originalSource:`{ +}`},(H=(O=k.parameters)==null?void 0:O.docs)==null?void 0:H.source)})});var J,V,Y;j.parameters=r(t({},j.parameters),{docs:r(t({},(J=j.parameters)==null?void 0:J.docs),{source:t({originalSource:`{ render: () => { return r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))S.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>l(t,u(r));import{X as f}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/Slider",component:f,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; +var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))S.call(r,o)&&a(t,o,r[o]);return t},i=(t,r)=>l(t,u(r));import{Z as f}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/Slider",component:f,args:{}},p={};var s,c,n;p.parameters=i(m({},p.parameters),{docs:i(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/Space.stories-Bw2COomS.js b/pr-preview/pr-459/assets/Space.stories-BDZfFNjC.js similarity index 88% rename from pr-preview/pr-459/assets/Space.stories-Bw2COomS.js rename to pr-preview/pr-459/assets/Space.stories-BDZfFNjC.js index 31215d0d3..804a9dd5a 100644 --- a/pr-preview/pr-459/assets/Space.stories-Bw2COomS.js +++ b/pr-preview/pr-459/assets/Space.stories-BDZfFNjC.js @@ -1,4 +1,4 @@ -var q=Object.defineProperty,G=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var S=(s,a,o)=>a in s?q(s,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[a]=o,r=(s,a)=>{for(var o in a||(a={}))J.call(a,o)&&S(s,o,a[o]);if(u)for(var o of u(a))K.call(a,o)&&S(s,o,a[o]);return s},e=(s,a)=>G(s,I(a));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{b as M,i as N,h as k}from"./GlobalNavigation-CPQMp-rl.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const lr={title:"Components/Layout/Space",component:s=>t.jsx(t.Fragment,{children:t.jsxs(M,e(r({},s),{children:["Text A",t.jsx(N,{children:"Button"}),"Text B"]}))}),args:{align:void 0,direction:"horizontal",size:"small",wrap:!1},argTypes:{align:{control:"select",options:["start","end","center","baseline"]},direction:{control:"select",options:["vertical","horizontal"]}}},i={},c={args:{direction:"vertical"}},n={args:{size:"large"}},p={args:{split:t.jsx(k,{})}},m={args:{wrap:!0}},l={args:{align:"center"}},d={args:{align:"end"}},g={args:{direction:"horizontal",split:t.jsx(k,{})}};var x,z,h;i.parameters=e(r({},i.parameters),{docs:e(r({},(x=i.parameters)==null?void 0:x.docs),{source:r({originalSource:"{}"},(h=(z=i.parameters)==null?void 0:z.docs)==null?void 0:h.source)})});var j,v,A;c.parameters=e(r({},c.parameters),{docs:e(r({},(j=c.parameters)==null?void 0:j.docs),{source:r({originalSource:`{ +var q=Object.defineProperty,G=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var S=(s,a,o)=>a in s?q(s,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[a]=o,r=(s,a)=>{for(var o in a||(a={}))J.call(a,o)&&S(s,o,a[o]);if(u)for(var o of u(a))K.call(a,o)&&S(s,o,a[o]);return s},e=(s,a)=>G(s,I(a));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{b as M,l as N,k as R}from"./GlobalNavigation-DT_tPK9g.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const lr={title:"Components/Layout/Space",component:s=>t.jsx(t.Fragment,{children:t.jsxs(M,e(r({},s),{children:["Text A",t.jsx(N,{children:"Button"}),"Text B"]}))}),args:{align:void 0,direction:"horizontal",size:"small",wrap:!1},argTypes:{align:{control:"select",options:["start","end","center","baseline"]},direction:{control:"select",options:["vertical","horizontal"]}}},i={},c={args:{direction:"vertical"}},n={args:{size:"large"}},p={args:{split:t.jsx(R,{})}},m={args:{wrap:!0}},l={args:{align:"center"}},d={args:{align:"end"}},g={args:{direction:"horizontal",split:t.jsx(R,{})}};var x,z,h;i.parameters=e(r({},i.parameters),{docs:e(r({},(x=i.parameters)==null?void 0:x.docs),{source:r({originalSource:"{}"},(h=(z=i.parameters)==null?void 0:z.docs)==null?void 0:h.source)})});var j,v,A;c.parameters=e(r({},c.parameters),{docs:e(r({},(j=c.parameters)==null?void 0:j.docs),{source:r({originalSource:`{ args: { direction: 'vertical' } @@ -22,9 +22,9 @@ var q=Object.defineProperty,G=Object.defineProperties;var I=Object.getOwnPropert args: { align: 'end' } -}`},(_=(V=d.parameters)==null?void 0:V.docs)==null?void 0:_.source)})});var F,O,R;g.parameters=e(r({},g.parameters),{docs:e(r({},(F=g.parameters)==null?void 0:F.docs),{source:r({originalSource:`{ +}`},(_=(V=d.parameters)==null?void 0:V.docs)==null?void 0:_.source)})});var k,F,O;g.parameters=e(r({},g.parameters),{docs:e(r({},(k=g.parameters)==null?void 0:k.docs),{source:r({originalSource:`{ args: { direction: 'horizontal', split: } -}`},(R=(O=g.parameters)==null?void 0:O.docs)==null?void 0:R.source)})});const dr=["Primary","VerticalSpace","LargeSizeSpace","SplitSpace","WrappedSpace","CenterAlignedSpace","EndAlignedSpace","HorizontalSpaceWithSplit"];export{l as CenterAlignedSpace,d as EndAlignedSpace,g as HorizontalSpaceWithSplit,n as LargeSizeSpace,i as Primary,p as SplitSpace,c as VerticalSpace,m as WrappedSpace,dr as __namedExportsOrder,lr as default}; +}`},(O=(F=g.parameters)==null?void 0:F.docs)==null?void 0:O.source)})});const dr=["Primary","VerticalSpace","LargeSizeSpace","SplitSpace","WrappedSpace","CenterAlignedSpace","EndAlignedSpace","HorizontalSpaceWithSplit"];export{l as CenterAlignedSpace,d as EndAlignedSpace,g as HorizontalSpaceWithSplit,n as LargeSizeSpace,i as Primary,p as SplitSpace,c as VerticalSpace,m as WrappedSpace,dr as __namedExportsOrder,lr as default}; diff --git a/pr-preview/pr-459/assets/Spin.stories-RPb0UaSS.js b/pr-preview/pr-459/assets/Spin.stories-CGS6QB5Z.js similarity index 63% rename from pr-preview/pr-459/assets/Spin.stories-RPb0UaSS.js rename to pr-preview/pr-459/assets/Spin.stories-CGS6QB5Z.js index 2c82ebf42..216b088c2 100644 --- a/pr-preview/pr-459/assets/Spin.stories-RPb0UaSS.js +++ b/pr-preview/pr-459/assets/Spin.stories-CGS6QB5Z.js @@ -1,4 +1,4 @@ -var he=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var b=(a,r,t)=>r in a?he(a,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[r]=t,e=(a,r)=>{for(var t in r||(r={}))je.call(r,t)&&b(a,t,r[t]);if(v)for(var t of v(r))Ee.call(r,t)&&b(a,t,r[t]);return a},n=(a,r)=>fe(a,ye(r));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{a7 as i,I as Le,F as L,_ as F,a8 as Se,l as xe,i as Fe}from"./GlobalNavigation-CPQMp-rl.js";import{E as o}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as z}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const qe={title:"Components/Feedback/Spin",component:i,args:{delay:void 0,indicator:void 0,size:"default",spinning:!0,tip:void 0,wrapperClassName:void 0,fullscreen:!1}},l={},d={args:{size:"small"}},p={args:{size:"large"}},c={args:{delay:500}},m={args:{indicator:s.jsx(Le,{name:"mpLogo"})}},g={args:{spinning:!1}},u={args:{tip:"Loading...",children:s.jsx(s.Fragment,{})}},S={args:{wrapperClassName:"custom-wrapper"}},x={args:{fullscreen:!0}},h={render:()=>s.jsx(o,{title:"A small Spin is used for loading text, default sized Spin for loading a card-level block, and large Spin used for loading a page.",children:s.jsxs(L,{align:"center",gap:"middle",children:[s.jsx(i,{size:"small"}),s.jsx(i,{}),s.jsx(i,{size:"large"})]})})},f={render:()=>{const[a,r]=z.useState(!1);return s.jsxs(o,{title:"Embedding content into Spin will set it into loading state.",children:[s.jsx(i,{spinning:a,children:s.jsx(F,{type:"info",message:"Alert message title",description:"Further details about the context of this alert."})}),s.jsxs("div",{style:{marginTop:Se},children:["Loading state:",s.jsx(xe,{checked:a,onChange:r})]})]})}},y={render:()=>s.jsx(o,{title:"Adds subtext",children:s.jsxs(L,{gap:50,vertical:!0,children:[s.jsxs(L,{gap:100,children:[s.jsx(i,{tip:"Loading",size:"small",children:s.jsx("div",{className:"content"})}),s.jsx(i,{tip:"Loading",children:s.jsx("div",{className:"content"})}),s.jsx(i,{tip:"Loading",size:"large",children:s.jsx("div",{className:"content"})})]}),s.jsx(i,{tip:"Loading...",children:s.jsx(F,{message:"Alert message title",description:"Further details about the context of this alert.",type:"info"})})]})})},j={render:()=>{const[a,r]=z.useState(!1);return s.jsxs(o,{title:"Specifies a delay for loading state. If spinning ends during delay, loading status won't appear.",children:[s.jsx(i,{spinning:a,delay:500,children:s.jsx(F,{type:"info",message:"Alert message title",description:"Further details about the context of this alert."})}),s.jsxs("div",{style:{marginTop:Se},children:["Loading state:",s.jsx(xe,{checked:a,onChange:r})]})]})}},E={render:()=>{const[a,r]=z.useState(!1),t=()=>{r(!0),setTimeout(()=>{r(!1)},3e3)};return s.jsxs(o,{title:"The fullscreen mode is perfect for creating page loaders. It adds a dimmed overlay with a centered spinner.",children:[s.jsx(Fe,{onClick:t,children:"Show fullscreen for 3s"}),s.jsx(i,{spinning:a,fullscreen:!0})]})}};var C,w,A;l.parameters=n(e({},l.parameters),{docs:n(e({},(C=l.parameters)==null?void 0:C.docs),{source:e({originalSource:"{}"},(A=(w=l.parameters)==null?void 0:w.docs)==null?void 0:A.source)})});var N,T,W;d.parameters=n(e({},d.parameters),{docs:n(e({},(N=d.parameters)==null?void 0:N.docs),{source:e({originalSource:`{ +var he=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var b=(a,r,t)=>r in a?he(a,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[r]=t,e=(a,r)=>{for(var t in r||(r={}))je.call(r,t)&&b(a,t,r[t]);if(v)for(var t of v(r))Ee.call(r,t)&&b(a,t,r[t]);return a},n=(a,r)=>fe(a,ye(r));import{j as s}from"./jsx-runtime-BcCOBRXo.js";import{a9 as i,I as Le,F as L,a0 as F,aa as Se,o as xe,l as Fe}from"./GlobalNavigation-DT_tPK9g.js";import{E as o}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as z}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const qe={title:"Components/Feedback/Spin",component:i,args:{delay:void 0,indicator:void 0,size:"default",spinning:!0,tip:void 0,wrapperClassName:void 0,fullscreen:!1}},l={},d={args:{size:"small"}},p={args:{size:"large"}},c={args:{delay:500}},m={args:{indicator:s.jsx(Le,{name:"mpLogo"})}},g={args:{spinning:!1}},u={args:{tip:"Loading...",children:s.jsx(s.Fragment,{})}},S={args:{wrapperClassName:"custom-wrapper"}},x={args:{fullscreen:!0}},h={render:()=>s.jsx(o,{title:"A small Spin is used for loading text, default sized Spin for loading a card-level block, and large Spin used for loading a page.",children:s.jsxs(L,{align:"center",gap:"middle",children:[s.jsx(i,{size:"small"}),s.jsx(i,{}),s.jsx(i,{size:"large"})]})})},f={render:()=>{const[a,r]=z.useState(!1);return s.jsxs(o,{title:"Embedding content into Spin will set it into loading state.",children:[s.jsx(i,{spinning:a,children:s.jsx(F,{type:"info",message:"Alert message title",description:"Further details about the context of this alert."})}),s.jsxs("div",{style:{marginTop:Se},children:["Loading state:",s.jsx(xe,{checked:a,onChange:r})]})]})}},y={render:()=>s.jsx(o,{title:"Adds subtext",children:s.jsxs(L,{gap:50,vertical:!0,children:[s.jsxs(L,{gap:100,children:[s.jsx(i,{tip:"Loading",size:"small",children:s.jsx("div",{className:"content"})}),s.jsx(i,{tip:"Loading",children:s.jsx("div",{className:"content"})}),s.jsx(i,{tip:"Loading",size:"large",children:s.jsx("div",{className:"content"})})]}),s.jsx(i,{tip:"Loading...",children:s.jsx(F,{message:"Alert message title",description:"Further details about the context of this alert.",type:"info"})})]})})},j={render:()=>{const[a,r]=z.useState(!1);return s.jsxs(o,{title:"Specifies a delay for loading state. If spinning ends during delay, loading status won't appear.",children:[s.jsx(i,{spinning:a,delay:500,children:s.jsx(F,{type:"info",message:"Alert message title",description:"Further details about the context of this alert."})}),s.jsxs("div",{style:{marginTop:Se},children:["Loading state:",s.jsx(xe,{checked:a,onChange:r})]})]})}},E={render:()=>{const[a,r]=z.useState(!1),t=()=>{r(!0),setTimeout(()=>{r(!1)},3e3)};return s.jsxs(o,{title:"The fullscreen mode is perfect for creating page loaders. It adds a dimmed overlay with a centered spinner.",children:[s.jsx(Fe,{onClick:t,children:"Show fullscreen for 3s"}),s.jsx(i,{spinning:a,fullscreen:!0})]})}};var C,w,A;l.parameters=n(e({},l.parameters),{docs:n(e({},(C=l.parameters)==null?void 0:C.docs),{source:e({originalSource:"{}"},(A=(w=l.parameters)==null?void 0:w.docs)==null?void 0:A.source)})});var N,T,W;d.parameters=n(e({},d.parameters),{docs:n(e({},(N=d.parameters)==null?void 0:N.docs),{source:e({originalSource:`{ args: { size: 'small' } @@ -6,11 +6,11 @@ var he=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnProp args: { size: 'large' } -}`},(D=(I=p.parameters)==null?void 0:I.docs)==null?void 0:D.source)})});var M,B,_;c.parameters=n(e({},c.parameters),{docs:n(e({},(M=c.parameters)==null?void 0:M.docs),{source:e({originalSource:`{ +}`},(D=(I=p.parameters)==null?void 0:I.docs)==null?void 0:D.source)})});var M,B,P;c.parameters=n(e({},c.parameters),{docs:n(e({},(M=c.parameters)==null?void 0:M.docs),{source:e({originalSource:`{ args: { delay: 500 } -}`},(_=(B=c.parameters)==null?void 0:B.docs)==null?void 0:_.source)})});var P,O,R;m.parameters=n(e({},m.parameters),{docs:n(e({},(P=m.parameters)==null?void 0:P.docs),{source:e({originalSource:`{ +}`},(P=(B=c.parameters)==null?void 0:B.docs)==null?void 0:P.source)})});var _,O,R;m.parameters=n(e({},m.parameters),{docs:n(e({},(_=m.parameters)==null?void 0:_.docs),{source:e({originalSource:`{ args: { indicator: } diff --git a/pr-preview/pr-459/assets/Statistic.stories-DpAxTJ3P.js b/pr-preview/pr-459/assets/Statistic.stories-nuctEEYX.js similarity index 93% rename from pr-preview/pr-459/assets/Statistic.stories-DpAxTJ3P.js rename to pr-preview/pr-459/assets/Statistic.stories-nuctEEYX.js index db066268a..3b61af183 100644 --- a/pr-preview/pr-459/assets/Statistic.stories-DpAxTJ3P.js +++ b/pr-preview/pr-459/assets/Statistic.stories-nuctEEYX.js @@ -1,4 +1,4 @@ -var we=Object.defineProperty,Ee=Object.defineProperties;var Te=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var De=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var b=(o,a,i)=>a in o?we(o,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[a]=i,e=(o,a)=>{for(var i in a||(a={}))De.call(a,i)&&b(o,i,a[i]);if(R)for(var i of R(a))Ue.call(a,i)&&b(o,i,a[i]);return o},t=(o,a)=>Ee(o,Te(a));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{t as s,d as E,I as c,u as je,v as Re,w as be,x as Ae,m as A,y as Be}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as T}from"./ExampleStory-DvwdaA9H.js";import{R as D,C as n}from"./row-DegztUsn.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const rr={title:"Components/Data Display/Statistic",component:s,args:{decimalSeparator:".",formatter:o=>`${o}`,groupSeparator:",",loading:!1,precision:0,prefix:void 0,suffix:void 0,title:"Statistic",value:0,valueStyle:void 0},argTypes:{formatter:{control:"select",options:["default","code","error"],mapping:{default:o=>`${o}`,code:o=>r.jsx(E.Text,{code:!0,children:o}),error:o=>r.jsx(E.Text,{type:"danger",children:o})}},prefix:{control:"select",options:["check","alicorn","wrench"],mapping:{check:r.jsx(c,{name:"selected"}),alicorn:r.jsx(c,{name:"alicorn"}),wrench:r.jsx(c,{name:"setup"})}},suffix:{control:"text"},valueStyle:{control:"object"}}},l={},p={args:{value:1128.93,decimalSeparator:","}},d={args:{value:112893,formatter:o=>r.jsx(E.Text,{code:!0,copyable:!0,children:o})}},u={args:{value:112893,groupSeparator:"."}},m={args:{loading:!0}},x={args:{precision:3}},g={args:{prefix:r.jsx(c,{name:"selected"})}},C={args:{suffix:"元"}},S={args:{title:"Custom title"}},f={args:{value:112893}},h={args:{value:112893,valueStyle:{color:je}}},y={render:()=>r.jsx(T,{title:"Basic Usage",description:"Simplest Usage",children:r.jsxs(D,{gutter:16,children:[r.jsx(n,{span:12,children:r.jsx(s,{title:"Active Users",value:112893})}),r.jsxs(n,{span:12,children:[r.jsx(s,{title:"Account Balance (CNY)",value:112893,precision:2}),r.jsx(Re,{style:{marginTop:16},type:"primary",children:"Recharge"})]}),r.jsx(n,{span:12,children:r.jsx(s,{title:"Active Users",value:112893,loading:!0})})]})})},v={render:()=>r.jsx(T,{title:"Add unit through prefix and suffix.",description:r.jsxs(E.Paragraph,{children:["Add unit through ",r.jsx("code",{children:"prefix"})," and ",r.jsx("code",{children:"suffix"})]}),children:r.jsxs(D,{gutter:16,children:[r.jsx(n,{children:r.jsx(s,{title:"Feedback",value:1128,prefix:r.jsx(c,{name:"alicorn"})})}),r.jsx(n,{children:r.jsx(s,{title:"Unmerged",value:93,suffix:"/ 100"})})]})})},j={render:()=>r.jsx(T,{title:"Card Usage",description:"Display statistic data in Card.",children:r.jsxs(D,{gutter:16,style:{backgroundColor:be,width:"500px",padding:Ae},children:[r.jsx(n,{span:12,children:r.jsx(A,{bordered:!1,children:r.jsx(s,{title:"Active",value:11.28,precision:2,valueStyle:{color:je},prefix:r.jsx(c,{name:"add"}),suffix:"%"})})}),r.jsx(n,{span:12,children:r.jsx(A,{bordered:!1,children:r.jsx(s,{title:"Idle",value:9.3,precision:2,valueStyle:{color:Be},prefix:r.jsx(c,{name:"setup"}),suffix:"%"})})})]})})},Pe=1e3*60*60*24*2,Ie=1e3*30,Fe=Date.now()+Pe,U=Fe+Ie,ke=()=>{console.log("finished!")},He=o=>{typeof o=="number"&&4.95*1e3r.jsx(T,{title:"Countdown",description:"Countdown component",children:r.jsxs(D,{gutter:16,style:{width:"500px"},children:[r.jsx(n,{span:12,children:r.jsx(s.Countdown,{title:"Countdown",value:U,onFinish:ke})}),r.jsx(n,{span:12,children:r.jsx(s.Countdown,{title:"Million Seconds",value:U,format:"HH:mm:ss:SSS"})}),r.jsx(n,{span:24,style:{marginTop:32},children:r.jsx(s.Countdown,{title:"Day Level",value:U,format:"D 天 H 时 m 分 s 秒"})}),r.jsx(n,{span:12,children:r.jsx(s.Countdown,{title:"Countdown",value:Date.now()+10*1e3,onChange:He})})]})})};var B,P,I;l.parameters=t(e({},l.parameters),{docs:t(e({},(B=l.parameters)==null?void 0:B.docs),{source:e({originalSource:"{}"},(I=(P=l.parameters)==null?void 0:P.docs)==null?void 0:I.source)})});var F,k,H;p.parameters=t(e({},p.parameters),{docs:t(e({},(F=p.parameters)==null?void 0:F.docs),{source:e({originalSource:`{ +var we=Object.defineProperty,Ee=Object.defineProperties;var Te=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var De=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var b=(o,a,i)=>a in o?we(o,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[a]=i,e=(o,a)=>{for(var i in a||(a={}))De.call(a,i)&&b(o,i,a[i]);if(R)for(var i of R(a))Ue.call(a,i)&&b(o,i,a[i]);return o},t=(o,a)=>Ee(o,Te(a));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{w as s,d as E,I as c,j as je,x as Re,y as be,z as Ae,p as A,G as Be}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as T}from"./ExampleStory-B-ilaOpY.js";import{R as D,C as n}from"./row-DegztUsn.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const rr={title:"Components/Data Display/Statistic",component:s,args:{decimalSeparator:".",formatter:o=>`${o}`,groupSeparator:",",loading:!1,precision:0,prefix:void 0,suffix:void 0,title:"Statistic",value:0,valueStyle:void 0},argTypes:{formatter:{control:"select",options:["default","code","error"],mapping:{default:o=>`${o}`,code:o=>r.jsx(E.Text,{code:!0,children:o}),error:o=>r.jsx(E.Text,{type:"danger",children:o})}},prefix:{control:"select",options:["check","alicorn","wrench"],mapping:{check:r.jsx(c,{name:"selected"}),alicorn:r.jsx(c,{name:"alicorn"}),wrench:r.jsx(c,{name:"setup"})}},suffix:{control:"text"},valueStyle:{control:"object"}}},l={},p={args:{value:1128.93,decimalSeparator:","}},d={args:{value:112893,formatter:o=>r.jsx(E.Text,{code:!0,copyable:!0,children:o})}},u={args:{value:112893,groupSeparator:"."}},m={args:{loading:!0}},x={args:{precision:3}},g={args:{prefix:r.jsx(c,{name:"selected"})}},C={args:{suffix:"元"}},S={args:{title:"Custom title"}},f={args:{value:112893}},h={args:{value:112893,valueStyle:{color:je}}},y={render:()=>r.jsx(T,{title:"Basic Usage",description:"Simplest Usage",children:r.jsxs(D,{gutter:16,children:[r.jsx(n,{span:12,children:r.jsx(s,{title:"Active Users",value:112893})}),r.jsxs(n,{span:12,children:[r.jsx(s,{title:"Account Balance (CNY)",value:112893,precision:2}),r.jsx(Re,{style:{marginTop:16},type:"primary",children:"Recharge"})]}),r.jsx(n,{span:12,children:r.jsx(s,{title:"Active Users",value:112893,loading:!0})})]})})},v={render:()=>r.jsx(T,{title:"Add unit through prefix and suffix.",description:r.jsxs(E.Paragraph,{children:["Add unit through ",r.jsx("code",{children:"prefix"})," and ",r.jsx("code",{children:"suffix"})]}),children:r.jsxs(D,{gutter:16,children:[r.jsx(n,{children:r.jsx(s,{title:"Feedback",value:1128,prefix:r.jsx(c,{name:"alicorn"})})}),r.jsx(n,{children:r.jsx(s,{title:"Unmerged",value:93,suffix:"/ 100"})})]})})},j={render:()=>r.jsx(T,{title:"Card Usage",description:"Display statistic data in Card.",children:r.jsxs(D,{gutter:16,style:{backgroundColor:be,width:"500px",padding:Ae},children:[r.jsx(n,{span:12,children:r.jsx(A,{bordered:!1,children:r.jsx(s,{title:"Active",value:11.28,precision:2,valueStyle:{color:je},prefix:r.jsx(c,{name:"add"}),suffix:"%"})})}),r.jsx(n,{span:12,children:r.jsx(A,{bordered:!1,children:r.jsx(s,{title:"Idle",value:9.3,precision:2,valueStyle:{color:Be},prefix:r.jsx(c,{name:"setup"}),suffix:"%"})})})]})})},Pe=1e3*60*60*24*2,Ie=1e3*30,Fe=Date.now()+Pe,U=Fe+Ie,ke=()=>{console.log("finished!")},He=o=>{typeof o=="number"&&4.95*1e3r.jsx(T,{title:"Countdown",description:"Countdown component",children:r.jsxs(D,{gutter:16,style:{width:"500px"},children:[r.jsx(n,{span:12,children:r.jsx(s.Countdown,{title:"Countdown",value:U,onFinish:ke})}),r.jsx(n,{span:12,children:r.jsx(s.Countdown,{title:"Million Seconds",value:U,format:"HH:mm:ss:SSS"})}),r.jsx(n,{span:24,style:{marginTop:32},children:r.jsx(s.Countdown,{title:"Day Level",value:U,format:"D 天 H 时 m 分 s 秒"})}),r.jsx(n,{span:12,children:r.jsx(s.Countdown,{title:"Countdown",value:Date.now()+10*1e3,onChange:He})})]})})};var B,P,I;l.parameters=t(e({},l.parameters),{docs:t(e({},(B=l.parameters)==null?void 0:B.docs),{source:e({originalSource:"{}"},(I=(P=l.parameters)==null?void 0:P.docs)==null?void 0:I.source)})});var F,k,H;p.parameters=t(e({},p.parameters),{docs:t(e({},(F=p.parameters)==null?void 0:F.docs),{source:e({originalSource:`{ args: { value: 1128.93, decimalSeparator: ',' @@ -10,21 +10,21 @@ var we=Object.defineProperty,Ee=Object.defineProperties;var Te=Object.getOwnProp {value} } -}`},(V=(L=d.parameters)==null?void 0:L.docs)==null?void 0:V.source)})});var N,G,M;u.parameters=t(e({},u.parameters),{docs:t(e({},(N=u.parameters)==null?void 0:N.docs),{source:e({originalSource:`{ +}`},(V=(L=d.parameters)==null?void 0:L.docs)==null?void 0:V.source)})});var G,N,M;u.parameters=t(e({},u.parameters),{docs:t(e({},(G=u.parameters)==null?void 0:G.docs),{source:e({originalSource:`{ args: { value: 112893, groupSeparator: '.' } -}`},(M=(G=u.parameters)==null?void 0:G.docs)==null?void 0:M.source)})});var X,Y,_;m.parameters=t(e({},m.parameters),{docs:t(e({},(X=m.parameters)==null?void 0:X.docs),{source:e({originalSource:`{ +}`},(M=(N=u.parameters)==null?void 0:N.docs)==null?void 0:M.source)})});var X,Y,_;m.parameters=t(e({},m.parameters),{docs:t(e({},(X=m.parameters)==null?void 0:X.docs),{source:e({originalSource:`{ args: { loading: true } -}`},(_=(Y=m.parameters)==null?void 0:Y.docs)==null?void 0:_.source)})});var $,O,q;x.parameters=t(e({},x.parameters),{docs:t(e({},($=x.parameters)==null?void 0:$.docs),{source:e({originalSource:`{ +}`},(_=(Y=m.parameters)==null?void 0:Y.docs)==null?void 0:_.source)})});var $,z,O;x.parameters=t(e({},x.parameters),{docs:t(e({},($=x.parameters)==null?void 0:$.docs),{source:e({originalSource:`{ args: { // value: 1128.93402, precision: 3 } -}`},(q=(O=x.parameters)==null?void 0:O.docs)==null?void 0:q.source)})});var z,J,K;g.parameters=t(e({},g.parameters),{docs:t(e({},(z=g.parameters)==null?void 0:z.docs),{source:e({originalSource:`{ +}`},(O=(z=x.parameters)==null?void 0:z.docs)==null?void 0:O.source)})});var q,J,K;g.parameters=t(e({},g.parameters),{docs:t(e({},(q=g.parameters)==null?void 0:q.docs),{source:e({originalSource:`{ args: { prefix: } diff --git a/pr-preview/pr-459/assets/Steps.stories-BVqUz72-.js b/pr-preview/pr-459/assets/Steps.stories-DPvPj4H9.js similarity index 99% rename from pr-preview/pr-459/assets/Steps.stories-BVqUz72-.js rename to pr-preview/pr-459/assets/Steps.stories-DPvPj4H9.js index 31ae55ff4..10820b660 100644 --- a/pr-preview/pr-459/assets/Steps.stories-BVqUz72-.js +++ b/pr-preview/pr-459/assets/Steps.stories-DPvPj4H9.js @@ -1,4 +1,4 @@ -var ee=Object.defineProperty,ne=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var V=(n,i,r)=>i in n?ee(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,t=(n,i)=>{for(var r in i||(i={}))ie.call(i,r)&&V(n,r,i[r]);if(N)for(var r of N(i))re.call(i,r)&&V(n,r,i[r]);return n},s=(n,i)=>ne(n,se(i));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as L}from"./index-CNk6hRaE.js";import{aj as o,I as p,i as W,ak as oe,h as Qt,L as A,A as ae,P as ce}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as c}from"./ExampleStory-DvwdaA9H.js";import{t as le}from"./index-C9GZCUSR.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const pe=[{title:"Finished",description:"description 1"},{title:"In Progress",description:"description 2",subTitle:"subTitle 2"},{title:"Waiting",description:"description 3"}],ke={title:"Components/Navigation/Steps",component:o,args:{items:pe,current:0,initial:0,direction:"horizontal",labelPlacement:"horizontal",percent:void 0,progressDot:!1,responsive:!0,size:"default",status:"process",type:"default",onChange:n=>{alert("Step changed : "+n)}},argTypes:{direction:{control:"select",options:["horizontal","vertical"]},labelPlacement:{control:"select",options:["horizontal","vertical"]},type:{control:"select",options:["default","navigation","inline"]},status:{control:"select",options:["wait","process","finish","error"]},size:{control:"select",options:["default","small"]}}},d={},m={args:{direction:"vertical"}},u={args:{size:"small"}},g={args:{progressDot:!0}},h={args:{progressDot:(n,{index:i,status:r,title:a,description:l})=>e.jsx("span",{children:"Custom Dot: "+i})}},S={args:{items:[{status:"wait"},{status:"process"},{status:"finish"},{status:"error"}]}},x={args:{type:"navigation"}},y={args:{type:"inline"}},v={render:()=>{const n="This is a description.";return e.jsx(c,{title:"The most basic step bar.",children:e.jsx(o,{current:1,items:[{title:"Finished",description:n},{title:"In Progress",description:n,subTitle:"Left 00:00:08"},{title:"Waiting",description:n}]})})}},T={render:()=>e.jsx(c,{title:'By setting like this: , you can get a mini version.',children:e.jsx(o,{size:"small",current:1,items:[{title:"Finished"},{title:"In Progress"},{title:"Waiting"}]})})},b={render:()=>e.jsx(c,{title:"You can use your own custom icons by setting the property icon for items.",children:e.jsx(o,{items:[{title:"Login",status:"finish",icon:e.jsx(p,{name:"users"})},{title:"Verification",status:"finish",icon:e.jsx(p,{name:"settings"})},{title:"Pay",status:"process",icon:e.jsx(p,{name:"alicorn"})},{title:"Done",status:"wait",icon:e.jsx(p,{name:"selected",size:"sm"})}]})})},E={render:()=>{const n=[{title:"First",content:"First-content"},{title:"Second",content:"Second-content"},{title:"Last",content:"Last-content"}],{token:i}=le.useToken(),[r,a]=L.useState(0),l=()=>{a(r+1)},Xt=()=>{a(r-1)},Zt=n.map(B=>({key:B.title,title:B.title})),te={lineHeight:"260px",textAlign:"center",color:i.colorTextTertiary,backgroundColor:i.colorFillAlter,borderRadius:i.borderRadiusLG,border:`1px dashed ${i.colorBorder}`,marginTop:16};return e.jsxs(c,{title:"Cooperate with the content and buttons, to represent the progress of a process.",children:[e.jsx(o,{current:r,items:Zt}),e.jsx("div",{style:te,children:n[r].content}),e.jsxs("div",{style:{marginTop:24},children:[r{l()},children:"Next"}),r===n.length-1&&e.jsx(W,{type:"primary",onClick:()=>{oe.success("Processing complete!")},children:"Done"}),r>0&&e.jsx(W,{style:{margin:"0 8px"},onClick:()=>{Xt()},children:"Previous"})]})]})}},f={render:()=>{const n="This is a description.";return e.jsx(c,{title:"A simple step bar in the vertical direction.",children:e.jsx(o,{direction:"vertical",current:1,items:[{title:"Finished",description:n},{title:"In Progress",description:n},{title:"Waiting",description:n}]})})}},j={render:()=>{const n="This is a description.";return e.jsx(c,{title:"A simple mini version step bar in the vertical direction.",children:e.jsx(o,{direction:"vertical",size:"small",current:1,items:[{title:"Finished",description:n},{title:"In Progress",description:n},{title:"Waiting",description:n}]})})}},P={render:()=>{const n="This is a description";return e.jsx(c,{title:"By using status of Steps, you can specify the state for current step.",children:e.jsx(o,{current:1,status:"error",items:[{title:"Finished",description:n},{title:"In Process",description:n},{title:"Waiting",description:n}]})})}},C={render:()=>e.jsx(c,{title:"Steps with progress dot style.",children:e.jsxs(e.Fragment,{children:[e.jsx(o,{progressDot:!0,current:1,items:[{title:"Finished",description:"This is a description."},{title:"In Progress",description:"This is a description."},{title:"Waiting",description:"This is a description."}]}),e.jsx(Qt,{}),e.jsx(o,{progressDot:!0,current:1,direction:"vertical",items:[{title:"Finished",description:"This is a description. This is a description."},{title:"Finished",description:"This is a description. This is a description."},{title:"In Progress",description:"This is a description. This is a description."},{title:"Waiting",description:"This is a description."},{title:"Waiting",description:"This is a description."}]})]})})},D={render:()=>{const n=(r,{status:a,index:l})=>e.jsx(ce,{content:e.jsxs("span",{children:["step ",l," status: ",a]}),children:r}),i="You can hover on the dot.";return e.jsx(c,{title:"You can customize the display for Steps with progress dot style.",children:e.jsx(o,{current:1,progressDot:n,items:[{title:"Finished",description:i},{title:"In Progress",description:i},{title:"Waiting",description:i},{title:"Waiting",description:i}]})})}},I={render:()=>{const[n,i]=L.useState(0),r=l=>{console.log("onChange:",l),i(l)},a="This is a description.";return e.jsx(c,{title:"Setting onChange makes Steps clickable.",children:e.jsxs(e.Fragment,{children:[e.jsx(o,{current:n,onChange:r,items:[{title:"Step 1",description:a},{title:"Step 2",description:a},{title:"Step 3",description:a}]}),e.jsx(Qt,{}),e.jsx(o,{current:n,onChange:r,direction:"vertical",items:[{title:"Step 1",description:a},{title:"Step 2",description:a},{title:"Step 3",description:a}]})]})})}},F={render:()=>{const[n,i]=L.useState(0),r=a=>{console.log("onChange:",a),i(a)};return e.jsx(c,{title:"Navigation steps.",children:e.jsxs(e.Fragment,{children:[e.jsx(o,{type:"navigation",size:"small",current:n,onChange:r,className:"site-navigation-steps",items:[{title:"Step 1",subTitle:"00:00:05",status:"finish",description:"This is a description."},{title:"Step 2",subTitle:"00:01:02",status:"process",description:"This is a description."},{title:"Step 3",subTitle:"waiting for longlong time",status:"wait",description:"This is a description."}]}),e.jsx(o,{type:"navigation",current:n,onChange:r,className:"site-navigation-steps",items:[{status:"finish",title:"Step 1"},{status:"process",title:"Step 2"},{status:"wait",title:"Step 3"},{status:"wait",title:"Step 4"}]}),e.jsx(o,{type:"navigation",size:"small",current:n,onChange:r,className:"site-navigation-steps",items:[{status:"finish",title:"finish 1"},{status:"finish",title:"finish 2"},{status:"process",title:"current process"},{status:"wait",title:"wait",disabled:!0}]})]})})}},k={render:()=>{const n="This is a description.";return e.jsx(c,{title:"Steps with progress.",children:e.jsx(o,{current:1,percent:60,items:[{title:"Finished",description:n},{title:"In Progress",subTitle:"Left 00:00:08",description:n},{title:"Waiting",description:n}]})})}},w={render:()=>{const n="This is a description.",i=[{title:"Finished",description:n},{title:"In Progress",description:n},{title:"Waiting",description:n}];return e.jsxs(c,{title:"Set labelPlacement to vertical.",children:[e.jsx(o,{current:1,labelPlacement:"vertical",items:i}),e.jsx("br",{}),e.jsx(o,{current:1,percent:60,labelPlacement:"vertical",items:i}),e.jsx("br",{}),e.jsx(o,{current:1,size:"small",labelPlacement:"vertical",items:i})]})}},z={render:()=>{const n=[{title:"Ant Design Title 1",current:0},{title:"Ant Design Title 2",current:1,status:"error"},{title:"Ant Design Title 3",current:2},{title:"Ant Design Title 4",current:1}],i=[{title:"Step 1",description:"This is a Step 1."},{title:"Step 2",description:"This is a Step 2."},{title:"Step 3",description:"This is a Step 3."}];return e.jsx(c,{title:"Inline type steps, suitable for displaying the process and current state of the object in the list content scene.",children:e.jsx("div",{children:e.jsx(A,{itemLayout:"horizontal",dataSource:n,renderItem:(r,a)=>e.jsxs(A.Item,{children:[e.jsx(A.Item.Meta,{avatar:e.jsx(ae,{src:`https://api.dicebear.com/7.x/miniavs/svg?seed=${a}`}),title:e.jsx("a",{href:"https://ant.design",children:r.title}),description:"Ant Design, a design language for background applications, is refined by Ant UED Team"}),e.jsx(o,{style:{marginTop:8},type:"inline",current:r.current,status:r.status,items:i})]})})})})}};var R,Y,$;d.parameters=s(t({},d.parameters),{docs:s(t({},(R=d.parameters)==null?void 0:R.docs),{source:t({originalSource:"{}"},($=(Y=d.parameters)==null?void 0:Y.docs)==null?void 0:$.source)})});var M,G,H;m.parameters=s(t({},m.parameters),{docs:s(t({},(M=m.parameters)==null?void 0:M.docs),{source:t({originalSource:`{ +var ee=Object.defineProperty,ne=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var V=(n,i,r)=>i in n?ee(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,t=(n,i)=>{for(var r in i||(i={}))ie.call(i,r)&&V(n,r,i[r]);if(N)for(var r of N(i))re.call(i,r)&&V(n,r,i[r]);return n},s=(n,i)=>ne(n,se(i));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{r as L}from"./index-CNk6hRaE.js";import{al as o,I as p,l as W,am as oe,k as Qt,L as A,A as ae,P as ce}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as c}from"./ExampleStory-B-ilaOpY.js";import{t as le}from"./index-C9GZCUSR.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const pe=[{title:"Finished",description:"description 1"},{title:"In Progress",description:"description 2",subTitle:"subTitle 2"},{title:"Waiting",description:"description 3"}],ke={title:"Components/Navigation/Steps",component:o,args:{items:pe,current:0,initial:0,direction:"horizontal",labelPlacement:"horizontal",percent:void 0,progressDot:!1,responsive:!0,size:"default",status:"process",type:"default",onChange:n=>{alert("Step changed : "+n)}},argTypes:{direction:{control:"select",options:["horizontal","vertical"]},labelPlacement:{control:"select",options:["horizontal","vertical"]},type:{control:"select",options:["default","navigation","inline"]},status:{control:"select",options:["wait","process","finish","error"]},size:{control:"select",options:["default","small"]}}},d={},m={args:{direction:"vertical"}},u={args:{size:"small"}},g={args:{progressDot:!0}},h={args:{progressDot:(n,{index:i,status:r,title:a,description:l})=>e.jsx("span",{children:"Custom Dot: "+i})}},S={args:{items:[{status:"wait"},{status:"process"},{status:"finish"},{status:"error"}]}},x={args:{type:"navigation"}},y={args:{type:"inline"}},v={render:()=>{const n="This is a description.";return e.jsx(c,{title:"The most basic step bar.",children:e.jsx(o,{current:1,items:[{title:"Finished",description:n},{title:"In Progress",description:n,subTitle:"Left 00:00:08"},{title:"Waiting",description:n}]})})}},T={render:()=>e.jsx(c,{title:'By setting like this: , you can get a mini version.',children:e.jsx(o,{size:"small",current:1,items:[{title:"Finished"},{title:"In Progress"},{title:"Waiting"}]})})},b={render:()=>e.jsx(c,{title:"You can use your own custom icons by setting the property icon for items.",children:e.jsx(o,{items:[{title:"Login",status:"finish",icon:e.jsx(p,{name:"users"})},{title:"Verification",status:"finish",icon:e.jsx(p,{name:"settings"})},{title:"Pay",status:"process",icon:e.jsx(p,{name:"alicorn"})},{title:"Done",status:"wait",icon:e.jsx(p,{name:"selected",size:"sm"})}]})})},E={render:()=>{const n=[{title:"First",content:"First-content"},{title:"Second",content:"Second-content"},{title:"Last",content:"Last-content"}],{token:i}=le.useToken(),[r,a]=L.useState(0),l=()=>{a(r+1)},Xt=()=>{a(r-1)},Zt=n.map(B=>({key:B.title,title:B.title})),te={lineHeight:"260px",textAlign:"center",color:i.colorTextTertiary,backgroundColor:i.colorFillAlter,borderRadius:i.borderRadiusLG,border:`1px dashed ${i.colorBorder}`,marginTop:16};return e.jsxs(c,{title:"Cooperate with the content and buttons, to represent the progress of a process.",children:[e.jsx(o,{current:r,items:Zt}),e.jsx("div",{style:te,children:n[r].content}),e.jsxs("div",{style:{marginTop:24},children:[r{l()},children:"Next"}),r===n.length-1&&e.jsx(W,{type:"primary",onClick:()=>{oe.success("Processing complete!")},children:"Done"}),r>0&&e.jsx(W,{style:{margin:"0 8px"},onClick:()=>{Xt()},children:"Previous"})]})]})}},f={render:()=>{const n="This is a description.";return e.jsx(c,{title:"A simple step bar in the vertical direction.",children:e.jsx(o,{direction:"vertical",current:1,items:[{title:"Finished",description:n},{title:"In Progress",description:n},{title:"Waiting",description:n}]})})}},j={render:()=>{const n="This is a description.";return e.jsx(c,{title:"A simple mini version step bar in the vertical direction.",children:e.jsx(o,{direction:"vertical",size:"small",current:1,items:[{title:"Finished",description:n},{title:"In Progress",description:n},{title:"Waiting",description:n}]})})}},P={render:()=>{const n="This is a description";return e.jsx(c,{title:"By using status of Steps, you can specify the state for current step.",children:e.jsx(o,{current:1,status:"error",items:[{title:"Finished",description:n},{title:"In Process",description:n},{title:"Waiting",description:n}]})})}},C={render:()=>e.jsx(c,{title:"Steps with progress dot style.",children:e.jsxs(e.Fragment,{children:[e.jsx(o,{progressDot:!0,current:1,items:[{title:"Finished",description:"This is a description."},{title:"In Progress",description:"This is a description."},{title:"Waiting",description:"This is a description."}]}),e.jsx(Qt,{}),e.jsx(o,{progressDot:!0,current:1,direction:"vertical",items:[{title:"Finished",description:"This is a description. This is a description."},{title:"Finished",description:"This is a description. This is a description."},{title:"In Progress",description:"This is a description. This is a description."},{title:"Waiting",description:"This is a description."},{title:"Waiting",description:"This is a description."}]})]})})},D={render:()=>{const n=(r,{status:a,index:l})=>e.jsx(ce,{content:e.jsxs("span",{children:["step ",l," status: ",a]}),children:r}),i="You can hover on the dot.";return e.jsx(c,{title:"You can customize the display for Steps with progress dot style.",children:e.jsx(o,{current:1,progressDot:n,items:[{title:"Finished",description:i},{title:"In Progress",description:i},{title:"Waiting",description:i},{title:"Waiting",description:i}]})})}},I={render:()=>{const[n,i]=L.useState(0),r=l=>{console.log("onChange:",l),i(l)},a="This is a description.";return e.jsx(c,{title:"Setting onChange makes Steps clickable.",children:e.jsxs(e.Fragment,{children:[e.jsx(o,{current:n,onChange:r,items:[{title:"Step 1",description:a},{title:"Step 2",description:a},{title:"Step 3",description:a}]}),e.jsx(Qt,{}),e.jsx(o,{current:n,onChange:r,direction:"vertical",items:[{title:"Step 1",description:a},{title:"Step 2",description:a},{title:"Step 3",description:a}]})]})})}},F={render:()=>{const[n,i]=L.useState(0),r=a=>{console.log("onChange:",a),i(a)};return e.jsx(c,{title:"Navigation steps.",children:e.jsxs(e.Fragment,{children:[e.jsx(o,{type:"navigation",size:"small",current:n,onChange:r,className:"site-navigation-steps",items:[{title:"Step 1",subTitle:"00:00:05",status:"finish",description:"This is a description."},{title:"Step 2",subTitle:"00:01:02",status:"process",description:"This is a description."},{title:"Step 3",subTitle:"waiting for longlong time",status:"wait",description:"This is a description."}]}),e.jsx(o,{type:"navigation",current:n,onChange:r,className:"site-navigation-steps",items:[{status:"finish",title:"Step 1"},{status:"process",title:"Step 2"},{status:"wait",title:"Step 3"},{status:"wait",title:"Step 4"}]}),e.jsx(o,{type:"navigation",size:"small",current:n,onChange:r,className:"site-navigation-steps",items:[{status:"finish",title:"finish 1"},{status:"finish",title:"finish 2"},{status:"process",title:"current process"},{status:"wait",title:"wait",disabled:!0}]})]})})}},k={render:()=>{const n="This is a description.";return e.jsx(c,{title:"Steps with progress.",children:e.jsx(o,{current:1,percent:60,items:[{title:"Finished",description:n},{title:"In Progress",subTitle:"Left 00:00:08",description:n},{title:"Waiting",description:n}]})})}},w={render:()=>{const n="This is a description.",i=[{title:"Finished",description:n},{title:"In Progress",description:n},{title:"Waiting",description:n}];return e.jsxs(c,{title:"Set labelPlacement to vertical.",children:[e.jsx(o,{current:1,labelPlacement:"vertical",items:i}),e.jsx("br",{}),e.jsx(o,{current:1,percent:60,labelPlacement:"vertical",items:i}),e.jsx("br",{}),e.jsx(o,{current:1,size:"small",labelPlacement:"vertical",items:i})]})}},z={render:()=>{const n=[{title:"Ant Design Title 1",current:0},{title:"Ant Design Title 2",current:1,status:"error"},{title:"Ant Design Title 3",current:2},{title:"Ant Design Title 4",current:1}],i=[{title:"Step 1",description:"This is a Step 1."},{title:"Step 2",description:"This is a Step 2."},{title:"Step 3",description:"This is a Step 3."}];return e.jsx(c,{title:"Inline type steps, suitable for displaying the process and current state of the object in the list content scene.",children:e.jsx("div",{children:e.jsx(A,{itemLayout:"horizontal",dataSource:n,renderItem:(r,a)=>e.jsxs(A.Item,{children:[e.jsx(A.Item.Meta,{avatar:e.jsx(ae,{src:`https://api.dicebear.com/7.x/miniavs/svg?seed=${a}`}),title:e.jsx("a",{href:"https://ant.design",children:r.title}),description:"Ant Design, a design language for background applications, is refined by Ant UED Team"}),e.jsx(o,{style:{marginTop:8},type:"inline",current:r.current,status:r.status,items:i})]})})})})}};var R,Y,$;d.parameters=s(t({},d.parameters),{docs:s(t({},(R=d.parameters)==null?void 0:R.docs),{source:t({originalSource:"{}"},($=(Y=d.parameters)==null?void 0:Y.docs)==null?void 0:$.source)})});var M,G,H;m.parameters=s(t({},m.parameters),{docs:s(t({},(M=m.parameters)==null?void 0:M.docs),{source:t({originalSource:`{ args: { direction: 'vertical' } diff --git a/pr-preview/pr-459/assets/SvgPrettfier.stories-BOBra11O.js b/pr-preview/pr-459/assets/SvgPrettfier.stories-DoO_3TON.js similarity index 97% rename from pr-preview/pr-459/assets/SvgPrettfier.stories-BOBra11O.js rename to pr-preview/pr-459/assets/SvgPrettfier.stories-DoO_3TON.js index 88dfca9cc..6fbe47a35 100644 --- a/pr-preview/pr-459/assets/SvgPrettfier.stories-BOBra11O.js +++ b/pr-preview/pr-459/assets/SvgPrettfier.stories-DoO_3TON.js @@ -1,4 +1,4 @@ -var I=Object.defineProperty,R=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var v=(e,r,t)=>r in e?I(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,h=(e,r)=>{for(var t in r||(r={}))D.call(r,t)&&v(e,t,r[t]);if(x)for(var t of x(r))U.call(r,t)&&v(e,t,r[t]);return e},S=(e,r)=>R(e,k(r));var j=(e,r,t)=>new Promise((u,l)=>{var c=n=>{try{a(t.next(n))}catch(p){l(p)}},y=n=>{try{a(t.throw(n))}catch(p){l(p)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(c,y);a((t=t.apply(e,r)).next())});import{j as o}from"./jsx-runtime-BcCOBRXo.js";import{r as m}from"./index-CNk6hRaE.js";import{b as N,Z as O,i as w,L as g}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const G=()=>{const[e,r]=m.useState([]),[t,u]=m.useState(!1),[l,c]=m.useState(""),[y,a]=m.useState(""),[n,p]=m.useState([]),V=({fileList:s})=>{r(s!=null?s:[]);const i=(s!=null?s:[]).map(d=>d.name).join(", ");c(`Files uploaded successfully: ${i}`),a("success")},F=()=>j(void 0,null,function*(){if((e!=null?e:[]).length===0){c("No files to prettify"),a("error");return}const s=new FormData;(e!=null?e:[]).forEach(i=>{s.append("files",i.originFileObj)}),u(!0),c("");try{const i=yield fetch("http://localhost:8000/api",{method:"POST",body:s}),d=yield i.json();p(d),i.ok?(c("All files prettified successfully!"),a("success")):(c("Some files could not be processed. See details below."),a("error")),d.some(T=>T.status==="error")||r([])}catch(i){const d=i instanceof Error?i.message:"An unknown error occurred";c(`Error prettifying the files: ${d}`),a("error")}finally{u(!1)}});return o.jsxs("div",{style:{padding:"40px",maxWidth:"600px",margin:"0 auto"},children:[o.jsx("h1",{style:{marginBottom:"10px"},children:"Prettify Your Icons"}),o.jsx("p",{style:{color:"#666",marginBottom:"20px"},children:"Upload your SVG files and make them consistent with our styling guidelines."}),o.jsxs(N,{direction:"vertical",size:"large",style:{width:"100%"},children:[o.jsx(O,{onChange:V,multiple:!0,accept:".svg",fileList:e,onRemove:s=>{r((e!=null?e:[]).filter(i=>i.uid!==s.uid))},showUploadList:!0,style:{width:"100%"},children:o.jsx(w,{disabled:t,style:{width:"100%"},children:"Select SVG Files"})}),e.length>0&&o.jsx(g,{header:o.jsx("div",{children:"Uploaded Files"}),bordered:!0,dataSource:e,renderItem:s=>o.jsx(g.Item,{children:s.name})}),l&&o.jsx("div",{style:{color:y==="success"?"green":"red",marginTop:"10px",fontWeight:"bold"},children:l}),n.length>0&&o.jsx(g,{header:o.jsx("div",{children:"File Results"}),bordered:!0,dataSource:n,renderItem:s=>o.jsxs(g.Item,{style:{color:s.status==="error"?"red":"green"},children:[s.file,": ",s.status==="success"?"Prettified":`Error - ${s.message}`]})}),o.jsx(w,{type:"primary",onClick:()=>{F().catch(console.error)},style:{width:"100%"},disabled:(e!=null?e:[]).length===0||t,children:t?"Prettifying...":"Prettify"})]})]})};G.__docgenInfo={description:"",methods:[],displayName:"SVGPrettifier"};const _=` +var I=Object.defineProperty,R=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var v=(e,r,t)=>r in e?I(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,h=(e,r)=>{for(var t in r||(r={}))D.call(r,t)&&v(e,t,r[t]);if(x)for(var t of x(r))U.call(r,t)&&v(e,t,r[t]);return e},S=(e,r)=>R(e,k(r));var j=(e,r,t)=>new Promise((u,l)=>{var c=n=>{try{a(t.next(n))}catch(p){l(p)}},y=n=>{try{a(t.throw(n))}catch(p){l(p)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(c,y);a((t=t.apply(e,r)).next())});import{j as o}from"./jsx-runtime-BcCOBRXo.js";import{r as m}from"./index-CNk6hRaE.js";import{b as N,$ as O,l as w,L as g}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const G=()=>{const[e,r]=m.useState([]),[t,u]=m.useState(!1),[l,c]=m.useState(""),[y,a]=m.useState(""),[n,p]=m.useState([]),V=({fileList:s})=>{r(s!=null?s:[]);const i=(s!=null?s:[]).map(d=>d.name).join(", ");c(`Files uploaded successfully: ${i}`),a("success")},F=()=>j(void 0,null,function*(){if((e!=null?e:[]).length===0){c("No files to prettify"),a("error");return}const s=new FormData;(e!=null?e:[]).forEach(i=>{s.append("files",i.originFileObj)}),u(!0),c("");try{const i=yield fetch("http://localhost:8000/api",{method:"POST",body:s}),d=yield i.json();p(d),i.ok?(c("All files prettified successfully!"),a("success")):(c("Some files could not be processed. See details below."),a("error")),d.some(T=>T.status==="error")||r([])}catch(i){const d=i instanceof Error?i.message:"An unknown error occurred";c(`Error prettifying the files: ${d}`),a("error")}finally{u(!1)}});return o.jsxs("div",{style:{padding:"40px",maxWidth:"600px",margin:"0 auto"},children:[o.jsx("h1",{style:{marginBottom:"10px"},children:"Prettify Your Icons"}),o.jsx("p",{style:{color:"#666",marginBottom:"20px"},children:"Upload your SVG files and make them consistent with our styling guidelines."}),o.jsxs(N,{direction:"vertical",size:"large",style:{width:"100%"},children:[o.jsx(O,{onChange:V,multiple:!0,accept:".svg",fileList:e,onRemove:s=>{r((e!=null?e:[]).filter(i=>i.uid!==s.uid))},showUploadList:!0,style:{width:"100%"},children:o.jsx(w,{disabled:t,style:{width:"100%"},children:"Select SVG Files"})}),e.length>0&&o.jsx(g,{header:o.jsx("div",{children:"Uploaded Files"}),bordered:!0,dataSource:e,renderItem:s=>o.jsx(g.Item,{children:s.name})}),l&&o.jsx("div",{style:{color:y==="success"?"green":"red",marginTop:"10px",fontWeight:"bold"},children:l}),n.length>0&&o.jsx(g,{header:o.jsx("div",{children:"File Results"}),bordered:!0,dataSource:n,renderItem:s=>o.jsxs(g.Item,{style:{color:s.status==="error"?"red":"green"},children:[s.file,": ",s.status==="success"?"Prettified":`Error - ${s.message}`]})}),o.jsx(w,{type:"primary",onClick:()=>{F().catch(console.error)},style:{width:"100%"},disabled:(e!=null?e:[]).length===0||t,children:t?"Prettifying...":"Prettify"})]})]})};G.__docgenInfo={description:"",methods:[],displayName:"SVGPrettifier"};const _=` ### SVG Prettifier Documentation The \`SVGPrettifier\` component is used to upload and prettify SVG files. Each SVG must follow the project's styling guidelines and must have a **unique name** to avoid overwriting existing icons. diff --git a/pr-preview/pr-459/assets/Switch.stories-DGasDFJ6.js b/pr-preview/pr-459/assets/Switch.stories-7BKRkvYr.js similarity index 97% rename from pr-preview/pr-459/assets/Switch.stories-DGasDFJ6.js rename to pr-preview/pr-459/assets/Switch.stories-7BKRkvYr.js index e6f61ed41..bde527311 100644 --- a/pr-preview/pr-459/assets/Switch.stories-DGasDFJ6.js +++ b/pr-preview/pr-459/assets/Switch.stories-7BKRkvYr.js @@ -1,4 +1,4 @@ -var Y=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var S=(s,t,n)=>t in s?Y(s,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[t]=n,e=(s,t)=>{for(var n in t||(t={}))re.call(t,n)&&S(s,n,t[n]);if(x)for(var n of x(t))ae.call(t,n)&&S(s,n,t[n]);return s},r=(s,t)=>Z(s,ee(t));import{j as a}from"./jsx-runtime-BcCOBRXo.js";import{l as c,b as X,i as te,I as f}from"./GlobalNavigation-CPQMp-rl.js";import{E as k}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as se}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ye={title:"Components/Data Entry/Switch",component:c,args:{autoFocus:!1,checked:!1,checkedChildren:"On",className:"",defaultChecked:!1,defaultValue:!1,disabled:!1,loading:!1,size:"default",unCheckedChildren:"Off",value:!1,onClick:(s,t)=>{},onChange:(s,t)=>{alert(`Switch changed: ${s}`)}}},d={},o={args:{checked:!0}},i={args:{checked:!0,checkedChildren:"On (Custom Copy)",unCheckedChildren:"Off (Custom Copy)"}},l={args:{disabled:!0}},m={args:{loading:!0}},p={args:{size:"small"}},u={render:()=>{const[s,t]=se.useState(!0),n=()=>{t(!s)};return a.jsx(k,{title:"Press button to toggle disabled state.",children:a.jsxs(X,{direction:"vertical",children:[a.jsx(c,{disabled:s,defaultChecked:!0}),a.jsx(te,{type:"primary",onClick:n,children:"Toggle disabled"})]})})}},h={render:()=>a.jsxs(k,{title:a.jsx(a.Fragment,{children:"size=small represents a small sized switch."}),children:[a.jsx(c,{defaultChecked:!0}),a.jsx("br",{}),a.jsx(c,{size:"small",defaultChecked:!0})]})},C={render:()=>a.jsxs(k,{title:"Mark a pending state of switch.",children:[a.jsx(c,{loading:!0,defaultChecked:!0}),a.jsx("br",{}),a.jsx(c,{size:"small",loading:!0,checkedChildren:"Loading",unCheckedChildren:"Loading"})]})},g={render:()=>a.jsx(k,{title:"With text and icon.",children:a.jsxs(X,{direction:"vertical",children:[a.jsx(c,{checkedChildren:"Checked Text",unCheckedChildren:"Unchecked Text",defaultChecked:!0}),a.jsx(c,{checkedChildren:"1",unCheckedChildren:"0"}),a.jsx(c,{checkedChildren:a.jsx(f,{name:"selected"}),unCheckedChildren:a.jsx(f,{name:"support"}),defaultChecked:!0})]})})};var b,j,y;d.parameters=r(e({},d.parameters),{docs:r(e({},(b=d.parameters)==null?void 0:b.docs),{source:e({originalSource:"{}"},(y=(j=d.parameters)==null?void 0:j.docs)==null?void 0:y.source)})});var E,w,z;o.parameters=r(e({},o.parameters),{docs:r(e({},(E=o.parameters)==null?void 0:E.docs),{source:e({originalSource:`{ +var Y=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var S=(s,t,n)=>t in s?Y(s,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[t]=n,e=(s,t)=>{for(var n in t||(t={}))re.call(t,n)&&S(s,n,t[n]);if(x)for(var n of x(t))ae.call(t,n)&&S(s,n,t[n]);return s},r=(s,t)=>Z(s,ee(t));import{j as a}from"./jsx-runtime-BcCOBRXo.js";import{o as c,b as X,l as te,I as f}from"./GlobalNavigation-DT_tPK9g.js";import{E as k}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as se}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ye={title:"Components/Data Entry/Switch",component:c,args:{autoFocus:!1,checked:!1,checkedChildren:"On",className:"",defaultChecked:!1,defaultValue:!1,disabled:!1,loading:!1,size:"default",unCheckedChildren:"Off",value:!1,onClick:(s,t)=>{},onChange:(s,t)=>{alert(`Switch changed: ${s}`)}}},d={},o={args:{checked:!0}},i={args:{checked:!0,checkedChildren:"On (Custom Copy)",unCheckedChildren:"Off (Custom Copy)"}},l={args:{disabled:!0}},m={args:{loading:!0}},p={args:{size:"small"}},u={render:()=>{const[s,t]=se.useState(!0),n=()=>{t(!s)};return a.jsx(k,{title:"Press button to toggle disabled state.",children:a.jsxs(X,{direction:"vertical",children:[a.jsx(c,{disabled:s,defaultChecked:!0}),a.jsx(te,{type:"primary",onClick:n,children:"Toggle disabled"})]})})}},h={render:()=>a.jsxs(k,{title:a.jsx(a.Fragment,{children:"size=small represents a small sized switch."}),children:[a.jsx(c,{defaultChecked:!0}),a.jsx("br",{}),a.jsx(c,{size:"small",defaultChecked:!0})]})},C={render:()=>a.jsxs(k,{title:"Mark a pending state of switch.",children:[a.jsx(c,{loading:!0,defaultChecked:!0}),a.jsx("br",{}),a.jsx(c,{size:"small",loading:!0,checkedChildren:"Loading",unCheckedChildren:"Loading"})]})},g={render:()=>a.jsx(k,{title:"With text and icon.",children:a.jsxs(X,{direction:"vertical",children:[a.jsx(c,{checkedChildren:"Checked Text",unCheckedChildren:"Unchecked Text",defaultChecked:!0}),a.jsx(c,{checkedChildren:"1",unCheckedChildren:"0"}),a.jsx(c,{checkedChildren:a.jsx(f,{name:"selected"}),unCheckedChildren:a.jsx(f,{name:"support"}),defaultChecked:!0})]})})};var b,j,y;d.parameters=r(e({},d.parameters),{docs:r(e({},(b=d.parameters)==null?void 0:b.docs),{source:e({originalSource:"{}"},(y=(j=d.parameters)==null?void 0:j.docs)==null?void 0:y.source)})});var E,w,z;o.parameters=r(e({},o.parameters),{docs:r(e({},(E=o.parameters)==null?void 0:E.docs),{source:e({originalSource:`{ args: { checked: true } diff --git a/pr-preview/pr-459/assets/Table-B_T5EIXq.js b/pr-preview/pr-459/assets/Table-BPMIUHah.js similarity index 93% rename from pr-preview/pr-459/assets/Table-B_T5EIXq.js rename to pr-preview/pr-459/assets/Table-BPMIUHah.js index c139218b9..1eb7b4319 100644 --- a/pr-preview/pr-459/assets/Table-B_T5EIXq.js +++ b/pr-preview/pr-459/assets/Table-BPMIUHah.js @@ -1,4 +1,4 @@ -var h=Object.defineProperty,c=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var a=(i,e,t)=>e in i?h(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,r=(i,e)=>{for(var t in e||(e={}))m.call(e,t)&&a(i,t,e[t]);if(s)for(var t of s(e))x.call(e,t)&&a(i,t,e[t]);return i},l=(i,e)=>c(i,p(e));import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as d}from"./index-BI4Okn8T.js";import{M as j,d as u}from"./index-ZtHH_h5v.js";import{T as f,B as b}from"./Table.stories-CWvOLwoL.js";import"./index-CNk6hRaE.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-DU0W2SK0.js";function o(i){const e=r(r({a:"a",h1:"h1",h3:"h3",hr:"hr",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul"},d()),i.components);return n.jsxs(n.Fragment,{children:[n.jsx(j,{of:f}),` +var h=Object.defineProperty,c=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var a=(i,e,t)=>e in i?h(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,r=(i,e)=>{for(var t in e||(e={}))m.call(e,t)&&a(i,t,e[t]);if(s)for(var t of s(e))x.call(e,t)&&a(i,t,e[t]);return i},l=(i,e)=>c(i,p(e));import{j as n}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as d}from"./index-BI4Okn8T.js";import{M as j,d as u}from"./index-Bf2yN5NY.js";import{T as f,B as b}from"./Table.stories-CjY-u-Lz.js";import"./index-CNk6hRaE.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";import"./index-Cn2ehl89.js";import"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./Serializer-OW4gUFyn.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./DatePicker.stories-BGsdcwIW.js";function o(i){const e=r(r({a:"a",h1:"h1",h3:"h3",hr:"hr",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul"},d()),i.components);return n.jsxs(n.Fragment,{children:[n.jsx(j,{of:f}),` `,n.jsx(e.h1,{id:"table",children:"Table"}),` `,n.jsx(e.p,{children:`Bug in More Actions Move Header, Pagination and Cell Types to the top`}),` diff --git a/pr-preview/pr-459/assets/Table.stories-CWvOLwoL.js b/pr-preview/pr-459/assets/Table.stories-CWvOLwoL.js deleted file mode 100644 index 5479aebf5..000000000 --- a/pr-preview/pr-459/assets/Table.stories-CWvOLwoL.js +++ /dev/null @@ -1,22 +0,0 @@ -var g=Object.defineProperty,j=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var p=(e,n,r)=>n in e?g(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,i=(e,n)=>{for(var r in n||(n={}))S.call(n,r)&&p(e,r,n[r]);if(m)for(var r of m(n))T.call(n,r)&&p(e,r,n[r]);return e},l=(e,n)=>j(e,f(n));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{f as a}from"./index-Cn2ehl89.js";import{T as b,b as u,F as c,c as w,I as d,d as o,e as k,C as v,f as I,B as C,g as D}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{D as E}from"./DatePicker.stories-DU0W2SK0.js";const B={production:"blue",development:"purple",unknown:"default"},F={production:"Prod",development:"Dev",unknown:"Unknown"},O=e=>B[e],P=e=>F[e],N={draft:"cyan",error:"red",ready:"green"},_={draft:"Draft",error:"Error",ready:"Ready"},z=e=>N[e],A=e=>_[e],L=[{title:"Name",dataIndex:"name",key:"name",render:e=>{const n=window.location.pathname.split("/");n.pop();const r=`${n.join("/")}/${e}`;return t.jsx(o.Link,{href:r,children:e})}},{title:()=>t.jsx(k,{title:t.jsxs(t.Fragment,{children:[t.jsx(o.Text,{style:{color:"white"},children:"Help lorem ipsum. "}),t.jsx(o.Link,{href:"/",style:{color:"white",textDecoration:"underline"},children:"Learn More"})]}),children:t.jsxs(c,{align:"center",gap:2,children:[t.jsx(o.Text,{children:"ID"}),t.jsx(d,{name:"help",size:"sm"})]})}),dataIndex:"id",key:"id"},{title:"Timestamp (UTC)",dataIndex:"timestamp",key:"timestamp",render:e=>new Date(e/(1e3*1e3)).toLocaleString(void 0,{month:"short",day:"2-digit",year:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit",timeZone:"UTC",hour12:!1})},{title:"mPID",dataIndex:"mpId",key:"mpId",render:e=>t.jsx(o.Text,{copyable:{icon:t.jsx(v,{"aria-label":"Copy mPID"})},children:e})},{title:"Output",dataIndex:"output",key:"output"},{title:"Environment",key:"environment",dataIndex:"environment",render:e=>t.jsx(I,{color:O(e),children:P(e)})},{title:"Status",dataIndex:"status",key:"status",render:e=>t.jsx(C,{color:z(e),text:A(e)})},{title:"Actions",dataIndex:"actions",key:"actions",render:()=>t.jsx(D,{suffixIcon:t.jsx(d,{name:"moreActions"}),variant:"borderless",dropdownStyle:{width:"200px"},options:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"}]})}];function U(){return{id:`JNBSK-${a.number.int({min:1e3,max:9999}).toString()}`,key:a.string.uuid(),name:a.helpers.arrayElement(["NBCU","Remarkable Foods","Lulo Bank","Shift","Marks and Spencer","Zaxby's"]),timestamp:a.date.recent().valueOf()*1e3*1e3,mpId:a.number.int({max:9999999999}).toString(),output:a.helpers.arrayElement(["Braze","mP Analytics","Cortex","Applytics","Google Analytics"]),environment:a.helpers.arrayElement(["unknown","development","production"]),status:a.helpers.arrayElement(["draft","error","ready"])}}const M=a.helpers.multiple(U,{count:45}),R={title:"UX Patterns/Table/Table",component:b,args:{}},s={name:"Basic Table",render:()=>t.jsxs(u,{direction:"vertical",style:{width:"100%"},children:[t.jsx(u,{direction:"vertical",style:{width:"100%"},children:t.jsxs(c,{align:"center",justify:"space-between",children:[t.jsx(c,{gap:10,children:t.jsx(E,{})}),t.jsx(w,{allowClear:!0,prefix:t.jsx(d,{size:"sm",color:"brand",name:"search"}),placeholder:"Search",style:{width:"240px"}})]})}),t.jsx(b,{columns:L,dataSource:M,scroll:{x:"max-content"}})]})};var x,h,y;s.parameters=l(i({},s.parameters),{docs:l(i({},(x=s.parameters)==null?void 0:x.docs),{source:i({originalSource:`{ - name: 'Basic Table', - render: () => - - - - - - } placeholder="Search" style={{ - width: '240px' - }} /> - - - columns={columns} dataSource={data} scroll={{ - x: 'max-content' - }} /> - -}`},(y=(h=s.parameters)==null?void 0:h.docs)==null?void 0:y.source)})});const $=["BasicTable"],X=Object.freeze(Object.defineProperty({__proto__:null,BasicTable:s,__namedExportsOrder:$,default:R},Symbol.toStringTag,{value:"Module"}));export{s as B,X as T}; diff --git a/pr-preview/pr-459/assets/Table.stories-CjY-u-Lz.js b/pr-preview/pr-459/assets/Table.stories-CjY-u-Lz.js new file mode 100644 index 000000000..2ec3b228d --- /dev/null +++ b/pr-preview/pr-459/assets/Table.stories-CjY-u-Lz.js @@ -0,0 +1,22 @@ +var b=Object.defineProperty,g=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var p=(e,r,n)=>r in e?b(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,i=(e,r)=>{for(var n in r||(r={}))f.call(r,n)&&p(e,n,r[n]);if(m)for(var n of m(r))T.call(r,n)&&p(e,n,r[n]);return e},l=(e,r)=>g(e,S(r));import{j as t}from"./jsx-runtime-BcCOBRXo.js";import{f as a}from"./index-Cn2ehl89.js";import{T as j,b as u,F as c,c as v,I as d,d as o,e as I,C as w,f as k,B as C,g as D,h as E,i as B,j as F}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{D as P}from"./DatePicker.stories-BGsdcwIW.js";const O={production:"blue",development:"purple"},N={production:"Prod",development:"Dev"},_=e=>O[e],z=e=>N[e],A={draft:E,error:B,ready:F},L={draft:"Draft",error:"Error",ready:"Ready"},M=e=>A[e],R=e=>L[e],U=[{title:"Name",dataIndex:"name",key:"name",render:e=>{const r=window.location.pathname.split("/");r.pop();const n=`${r.join("/")}/${e}`;return t.jsx(o.Link,{href:n,children:e})}},{title:()=>t.jsxs(c,{align:"center",gap:2,children:[t.jsx(o.Text,{children:"ID"}),t.jsx(I,{title:t.jsxs(t.Fragment,{children:[t.jsx(o.Text,{style:{color:"white"},children:"Help lorem ipsum. "}),t.jsx(o.Link,{href:"/",style:{color:"white",textDecoration:"underline"},children:"Learn More"})]}),children:t.jsx(d,{name:"help",size:"sm"})})]}),dataIndex:"id",key:"id"},{title:"Timestamp (UTC)",dataIndex:"timestamp",key:"timestamp",render:e=>new Date(e/(1e3*1e3)).toLocaleString(void 0,{month:"short",day:"2-digit",year:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit",timeZone:"UTC",hour12:!1})},{title:"mPID",dataIndex:"mpId",key:"mpId",render:e=>t.jsx(o.Text,{copyable:{icon:t.jsx(w,{"aria-label":"Copy mPID"})},children:e})},{title:"Output",dataIndex:"output",key:"output"},{title:"Environment",key:"environment",dataIndex:"environment",render:e=>t.jsx(k,{color:_(e),children:z(e)})},{title:"Status",dataIndex:"status",key:"status",render:e=>t.jsx(C,{color:M(e),text:R(e)})},{title:"Actions",dataIndex:"actions",key:"actions",render:()=>t.jsx(D,{suffixIcon:t.jsx(d,{name:"moreActions"}),variant:"borderless",dropdownStyle:{width:"200px"},value:null,options:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"}]})}];function $(){return{id:`JNBSK-${a.number.int({min:1e3,max:9999}).toString()}`,key:a.string.uuid(),name:a.helpers.arrayElement(["NBCU","Remarkable Foods","Lulo Bank","Shift","Marks and Spencer","Zaxby's"]),timestamp:a.date.recent().valueOf()*1e3*1e3,mpId:a.number.int({max:9999999999}).toString(),output:a.helpers.arrayElement(["Braze","mP Analytics","Cortex","Applytics","Google Analytics"]),environment:a.helpers.arrayElement(["development","production"]),status:a.helpers.arrayElement(["draft","error","ready"])}}const W=a.helpers.multiple($,{count:45}),Y={title:"UX Patterns/Table/Table",component:j,args:{}},s={name:"Basic Table",render:()=>t.jsxs(u,{direction:"vertical",style:{width:"100%"},children:[t.jsx(u,{direction:"vertical",style:{width:"100%"},children:t.jsxs(c,{align:"center",justify:"space-between",children:[t.jsx(c,{gap:10,children:t.jsx(P,{})}),t.jsx(v,{allowClear:!0,prefix:t.jsx(d,{size:"sm",color:"brand",name:"search"}),placeholder:"Search",style:{width:"240px"}})]})}),t.jsx(j,{columns:U,dataSource:W,scroll:{x:"max-content"}})]})};var x,h,y;s.parameters=l(i({},s.parameters),{docs:l(i({},(x=s.parameters)==null?void 0:x.docs),{source:i({originalSource:`{ + name: 'Basic Table', + render: () => + + + + + + } placeholder="Search" style={{ + width: '240px' + }} /> + + + columns={columns} dataSource={data} scroll={{ + x: 'max-content' + }} /> + +}`},(y=(h=s.parameters)==null?void 0:h.docs)==null?void 0:y.source)})});const Z=["BasicTable"],V=Object.freeze(Object.defineProperty({__proto__:null,BasicTable:s,__namedExportsOrder:Z,default:Y},Symbol.toStringTag,{value:"Module"}));export{s as B,V as T}; diff --git a/pr-preview/pr-459/assets/Tabs.stories-CdRKSz7l.js b/pr-preview/pr-459/assets/Tabs.stories-C4DlGzXX.js similarity index 77% rename from pr-preview/pr-459/assets/Tabs.stories-CdRKSz7l.js rename to pr-preview/pr-459/assets/Tabs.stories-C4DlGzXX.js index fa46b9c67..d2bb53ff7 100644 --- a/pr-preview/pr-459/assets/Tabs.stories-CdRKSz7l.js +++ b/pr-preview/pr-459/assets/Tabs.stories-C4DlGzXX.js @@ -1 +1 @@ -var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var s=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&s(t,o,r[o]);if(i)for(var o of i(r))b.call(r,o)&&s(t,o,r[o]);return t},a=(t,r)=>l(t,u(r));import{z as f}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Display/Tabs",component:f,args:{}},p={};var e,c,n;p.parameters=a(m({},p.parameters),{docs:a(m({},(e=p.parameters)==null?void 0:e.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; +var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var s=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&s(t,o,r[o]);if(i)for(var o of i(r))b.call(r,o)&&s(t,o,r[o]);return t},a=(t,r)=>l(t,u(r));import{H as f}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Data Display/Tabs",component:f,args:{}},p={};var e,c,n;p.parameters=a(m({},p.parameters),{docs:a(m({},(e=p.parameters)==null?void 0:e.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const A=["Primary"];export{p as Primary,A as __namedExportsOrder,z as default}; diff --git a/pr-preview/pr-459/assets/Tag.stories-joARciTI.js b/pr-preview/pr-459/assets/Tag.stories-myywVqwT.js similarity index 95% rename from pr-preview/pr-459/assets/Tag.stories-joARciTI.js rename to pr-preview/pr-459/assets/Tag.stories-myywVqwT.js index b7a08b4d2..b4aac77ec 100644 --- a/pr-preview/pr-459/assets/Tag.stories-joARciTI.js +++ b/pr-preview/pr-459/assets/Tag.stories-myywVqwT.js @@ -1,4 +1,4 @@ -var ne=Object.defineProperty,ce=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var w=(c,a,s)=>a in c?ne(c,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[a]=s,r=(c,a)=>{for(var s in a||(a={}))te.call(a,s)&&w(c,s,a[s]);if(E)for(var s of E(a))le.call(a,s)&&w(c,s,a[s]);return c},n=(c,a)=>ce(c,se(a));var I=(c,a,s)=>new Promise((f,v)=>{var oe=t=>{try{k(s.next(t))}catch(S){v(S)}},ae=t=>{try{k(s.throw(t))}catch(S){v(S)}},k=t=>t.done?f(t.value):Promise.resolve(t.value).then(oe,ae);k((s=s.apply(c,a)).next())});import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{f as o,I as l,F as ie,h as j,b}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as y}from"./ExampleStory-DvwdaA9H.js";import{r as ge}from"./index-CNk6hRaE.js";import{e as C,u as de}from"./index-C7MMNn6a.js";const pe={title:"Components/Data Display/Tag",component:c=>e.jsx(o,n(r({},c),{children:"Tag"})),args:{closeIcon:!1,color:"",icon:null,bordered:!0,onClose:c=>{alert("Tag Closed")}}},i={},g={args:{closeIcon:!0}},d={args:{color:"#3498db"}},p={args:{icon:e.jsx(l,{name:"mpLogo"})}},m={args:{bordered:!1}},u={args:{closeIcon:!0,onClose:c=>{alert("Tag Closed")}}},h={render:()=>{const[c,a]=ge.useState(!0);return e.jsx(e.Fragment,{children:e.jsx(y,{title:"Basic checkable usage",children:e.jsx(ie,{justify:"center",children:e.jsx(o.CheckableTag,{checked:c,bordered:!0,onChange:s=>{alert(`Tag ${s?"Checked":"Unchecked"}`),a(f=>!f)},children:"Tag"})})})})},play:c=>I(void 0,null,function*(){const a=c.canvasElement.querySelector(".ant-tag.ant-tag-checkable");if(a)C(a).not.toBeNull(),C(a.classList.contains("ant-tag-checkable-checked")).toBeTruthy(),yield de.click(a),C(a.classList.contains("ant-tag-checkable-checked")).toBeFalsy();else throw new Error("Tag not found")})},T={render:()=>e.jsx(e.Fragment,{children:e.jsxs(y,{title:"Available colors",children:[e.jsx(j,{orientation:"left",children:"Presets"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{color:"magenta",children:"magenta"}),e.jsx(o,{color:"red",children:"red"}),e.jsx(o,{color:"volcano",children:"volcano"}),e.jsx(o,{color:"orange",children:"orange"}),e.jsx(o,{color:"gold",children:"gold"}),e.jsx(o,{color:"lime",children:"lime"}),e.jsx(o,{color:"green",children:"green"}),e.jsx(o,{color:"cyan",children:"cyan"}),e.jsx(o,{color:"blue",children:"blue"}),e.jsx(o,{color:"geekblue",children:"geekblue"}),e.jsx(o,{color:"purple",children:"purple"})]}),e.jsx(j,{orientation:"left",children:"Custom"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{color:"#f50",children:"#f50"}),e.jsx(o,{color:"#2db7f5",children:"#2db7f5"}),e.jsx(o,{color:"#87d068",children:"#87d068"}),e.jsx(o,{color:"#108ee9",children:"#108ee9"})]})]})})},x={render:()=>e.jsx(e.Fragment,{children:e.jsxs(y,{title:"Basic status tags",children:[e.jsx(j,{orientation:"left",children:"Without icon"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{color:"success",children:"success"}),e.jsx(o,{color:"processing",children:"processing"}),e.jsx(o,{color:"error",children:"error"}),e.jsx(o,{color:"warning",children:"warning"}),e.jsx(o,{color:"default",children:"default"})]}),e.jsx(j,{orientation:"left",children:"With icon"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"success",children:"success"}),e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"processing",children:"processing"}),e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"error",children:"error"}),e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"warning",children:"warning"})]})]})})};var L,W,B;i.parameters=n(r({},i.parameters),{docs:n(r({},(L=i.parameters)==null?void 0:L.docs),{source:r({originalSource:"{}"},(B=(W=i.parameters)==null?void 0:W.docs)==null?void 0:B.source)})});var D,z,F;g.parameters=n(r({},g.parameters),{docs:n(r({},(D=g.parameters)==null?void 0:D.docs),{source:r({originalSource:`{ +var ne=Object.defineProperty,ce=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var w=(c,a,s)=>a in c?ne(c,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[a]=s,r=(c,a)=>{for(var s in a||(a={}))te.call(a,s)&&w(c,s,a[s]);if(E)for(var s of E(a))le.call(a,s)&&w(c,s,a[s]);return c},n=(c,a)=>ce(c,se(a));var I=(c,a,s)=>new Promise((k,v)=>{var oe=t=>{try{f(s.next(t))}catch(S){v(S)}},ae=t=>{try{f(s.throw(t))}catch(S){v(S)}},f=t=>t.done?k(t.value):Promise.resolve(t.value).then(oe,ae);f((s=s.apply(c,a)).next())});import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{f as o,I as l,F as ie,k as j,b}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as y}from"./ExampleStory-B-ilaOpY.js";import{r as ge}from"./index-CNk6hRaE.js";import{e as C,u as de}from"./index-C7MMNn6a.js";const pe={title:"Components/Data Display/Tag",component:c=>e.jsx(o,n(r({},c),{children:"Tag"})),args:{closeIcon:!1,color:"",icon:null,bordered:!0,onClose:c=>{alert("Tag Closed")}}},i={},g={args:{closeIcon:!0}},d={args:{color:"#3498db"}},p={args:{icon:e.jsx(l,{name:"mpLogo"})}},m={args:{bordered:!1}},u={args:{closeIcon:!0,onClose:c=>{alert("Tag Closed")}}},h={render:()=>{const[c,a]=ge.useState(!0);return e.jsx(e.Fragment,{children:e.jsx(y,{title:"Basic checkable usage",children:e.jsx(ie,{justify:"center",children:e.jsx(o.CheckableTag,{checked:c,bordered:!0,onChange:s=>{alert(`Tag ${s?"Checked":"Unchecked"}`),a(k=>!k)},children:"Tag"})})})})},play:c=>I(void 0,null,function*(){const a=c.canvasElement.querySelector(".ant-tag.ant-tag-checkable");if(a)C(a).not.toBeNull(),C(a.classList.contains("ant-tag-checkable-checked")).toBeTruthy(),yield de.click(a),C(a.classList.contains("ant-tag-checkable-checked")).toBeFalsy();else throw new Error("Tag not found")})},T={render:()=>e.jsx(e.Fragment,{children:e.jsxs(y,{title:"Available colors",children:[e.jsx(j,{orientation:"left",children:"Presets"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{color:"magenta",children:"magenta"}),e.jsx(o,{color:"red",children:"red"}),e.jsx(o,{color:"volcano",children:"volcano"}),e.jsx(o,{color:"orange",children:"orange"}),e.jsx(o,{color:"gold",children:"gold"}),e.jsx(o,{color:"lime",children:"lime"}),e.jsx(o,{color:"green",children:"green"}),e.jsx(o,{color:"cyan",children:"cyan"}),e.jsx(o,{color:"blue",children:"blue"}),e.jsx(o,{color:"geekblue",children:"geekblue"}),e.jsx(o,{color:"purple",children:"purple"})]}),e.jsx(j,{orientation:"left",children:"Custom"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{color:"#f50",children:"#f50"}),e.jsx(o,{color:"#2db7f5",children:"#2db7f5"}),e.jsx(o,{color:"#87d068",children:"#87d068"}),e.jsx(o,{color:"#108ee9",children:"#108ee9"})]})]})})},x={render:()=>e.jsx(e.Fragment,{children:e.jsxs(y,{title:"Basic status tags",children:[e.jsx(j,{orientation:"left",children:"Without icon"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{color:"success",children:"success"}),e.jsx(o,{color:"processing",children:"processing"}),e.jsx(o,{color:"error",children:"error"}),e.jsx(o,{color:"warning",children:"warning"}),e.jsx(o,{color:"default",children:"default"})]}),e.jsx(j,{orientation:"left",children:"With icon"}),e.jsxs(b,{size:[0,8],wrap:!0,children:[e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"success",children:"success"}),e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"processing",children:"processing"}),e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"error",children:"error"}),e.jsx(o,{icon:e.jsx(l,{name:"mpLogo"}),color:"warning",children:"warning"})]})]})})};var L,W,B;i.parameters=n(r({},i.parameters),{docs:n(r({},(L=i.parameters)==null?void 0:L.docs),{source:r({originalSource:"{}"},(B=(W=i.parameters)==null?void 0:W.docs)==null?void 0:B.source)})});var D,z,F;g.parameters=n(r({},g.parameters),{docs:n(r({},(D=g.parameters)==null?void 0:D.docs),{source:r({originalSource:`{ args: { closeIcon: true } diff --git a/pr-preview/pr-459/assets/Tags-DC7glVi1.js b/pr-preview/pr-459/assets/Tags-DC7glVi1.js deleted file mode 100644 index cf4cd67f2..000000000 --- a/pr-preview/pr-459/assets/Tags-DC7glVi1.js +++ /dev/null @@ -1,13 +0,0 @@ -var c=Object.defineProperty,g=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var r=(e,n,s)=>n in e?c(e,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[n]=s,t=(e,n)=>{for(var s in n||(n={}))x.call(n,s)&&r(e,s,n[s]);if(a)for(var s of a(n))j.call(n,s)&&r(e,s,n[s]);return e},l=(e,n)=>g(e,h(n));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as d}from"./index-BI4Okn8T.js";import"./index-CNk6hRaE.js";function o(e){const n=t(t({h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul"},d()),e.components);return i.jsxs(i.Fragment,{children:[i.jsx(n.h3,{id:"tags-in-tables",children:"Tags in Tables"}),` -`,i.jsx(n.h4,{id:"overview",children:"Overview"}),` -`,i.jsx(n.p,{children:"Tags are used within tables to visually categorize or label data, providing users with quick context about specific rows or items. Tags can indicate statuses, categories, priorities, or any other metadata that helps users understand and interpret the data at a glance."}),` -`,i.jsx(n.h4,{id:"managing-tags",children:"Managing Tags"}),` -`,i.jsxs(n.ul,{children:[` -`,i.jsx(n.li,{children:i.jsx(n.strong,{children:"Creating Tags - COMING SOON"})}),` -`,i.jsx(n.li,{children:i.jsx(n.strong,{children:"Editing Tags - COMING SOON"})}),` -`,i.jsx(n.li,{children:i.jsx(n.strong,{children:"Deleting Tags - COMING SOON"})}),` -`]}),` -`,i.jsx(n.h4,{id:"displaying-tags-within-tables",children:"Displaying Tags within Tables"}),` -`,i.jsx(n.p,{children:"COMING SOON"}),` -`,i.jsx(n.h4,{id:"filtering-by-tags",children:"Filtering by Tags"}),` -`,i.jsx(n.p,{children:"COMING SOON"})]})}function T(e={}){const{wrapper:n}=t(t({},d()),e.components);return n?i.jsx(n,l(t({},e),{children:i.jsx(o,t({},e))})):o(e)}export{T as default}; diff --git a/pr-preview/pr-459/assets/Text.stories-DbdMG6ti.js b/pr-preview/pr-459/assets/Text.stories-BeM4enx4.js similarity index 93% rename from pr-preview/pr-459/assets/Text.stories-DbdMG6ti.js rename to pr-preview/pr-459/assets/Text.stories-BeM4enx4.js index 62e118764..f627e7807 100644 --- a/pr-preview/pr-459/assets/Text.stories-DbdMG6ti.js +++ b/pr-preview/pr-459/assets/Text.stories-BeM4enx4.js @@ -1,4 +1,4 @@ -var b=Object.defineProperty,g=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var p=(r,e,t)=>e in r?b(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,o=(r,e)=>{for(var t in e||(e={}))f.call(e,t)&&p(r,t,e[t]);if(i)for(var t of i(e))D.call(e,t)&&p(r,t,e[t]);return r},a=(r,e)=>g(r,T(e));import{W as y}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const B={title:"Components/Data Entry/QueryItem/Text",component:y.Text,parameters:{docs:{description:{component:'This is the "Text" component of the QueryItem component group.'}}},args:{}},s={args:{text:"Default Text",disabled:!1}},m={args:{text:"Disabled Text",disabled:!0}};var n,d,c;s.parameters=a(o({},s.parameters),{docs:a(o({},(n=s.parameters)==null?void 0:n.docs),{source:o({originalSource:`{ +var b=Object.defineProperty,g=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var p=(r,e,t)=>e in r?b(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,o=(r,e)=>{for(var t in e||(e={}))f.call(e,t)&&p(r,t,e[t]);if(i)for(var t of i(e))D.call(e,t)&&p(r,t,e[t]);return r},a=(r,e)=>g(r,T(e));import{Y as y}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const B={title:"Components/Data Entry/QueryItem/Text",component:y.Text,parameters:{docs:{description:{component:'This is the "Text" component of the QueryItem component group.'}}},args:{}},s={args:{text:"Default Text",disabled:!1}},m={args:{text:"Disabled Text",disabled:!0}};var n,d,c;s.parameters=a(o({},s.parameters),{docs:a(o({},(n=s.parameters)==null?void 0:n.docs),{source:o({originalSource:`{ args: { text: 'Default Text', disabled: false diff --git a/pr-preview/pr-459/assets/Text.stories-B42iacrL.js b/pr-preview/pr-459/assets/Text.stories-Cf0O3tdL.js similarity index 98% rename from pr-preview/pr-459/assets/Text.stories-B42iacrL.js rename to pr-preview/pr-459/assets/Text.stories-Cf0O3tdL.js index f0d970b9c..0a7274642 100644 --- a/pr-preview/pr-459/assets/Text.stories-B42iacrL.js +++ b/pr-preview/pr-459/assets/Text.stories-Cf0O3tdL.js @@ -1,4 +1,4 @@ -var Ke=Object.defineProperty,Me=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var I=(s,t,o)=>t in s?Ke(s,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[t]=o,e=(s,t)=>{for(var o in t||(t={}))We.call(t,o)&&I(s,o,t[o]);if(v)for(var o of v(t))_e.call(t,o)&&I(s,o,t[o]);return s},r=(s,t)=>Me(s,Pe(t));var U=(s,t,o)=>new Promise((Oe,w)=>{var ze=i=>{try{j(o.next(i))}catch(C){w(C)}},He=i=>{try{j(o.throw(i))}catch(C){w(C)}},j=i=>i.done?Oe(i.value):Promise.resolve(i.value).then(ze,He);j((o=o.apply(s,t)).next())});import{j as a}from"./jsx-runtime-BcCOBRXo.js";import{d as n,b as Fe,l as Ge}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as qe}from"./ExampleStory-DvwdaA9H.js";import{r as Re}from"./index-CNk6hRaE.js";import{e as Be}from"./index-C7MMNn6a.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";import"./index-TL6_15PV.js";const dr={title:"Components/General/Typography.Text",component:s=>a.jsx(n.Text,r(e({},s),{children:"Example Text"})),args:{code:!1,size:"base",copyable:!1,delete:!1,disabled:!1,editable:!1,ellipsis:!1,keyboard:!1,mark:!1,strong:!1,italic:!1,type:void 0,underline:!1,onClick:s=>{console.log("Text Clicked")}},argTypes:{type:{control:"select",options:["secondary","success","warning","danger"]},size:{control:"select",options:["base","sm","lg","xl"]}}},c={play:s=>U(void 0,null,function*(){const t=s.canvasElement.querySelector("span");Be(t==null?void 0:t.textContent).toEqual("Example Text")})},p={args:{code:!0}},l={args:{copyable:!0}},d={args:{delete:!0}},g={args:{disabled:!0}},m={args:{editable:!0}},u={args:{keyboard:!0}},y={args:{mark:!0}},x={args:{strong:!0}},T={args:{italic:!0}},h={args:{type:"success"}},D={args:{type:"secondary"}},b={args:{type:"warning"}},S={args:{type:"danger"}},f={args:{underline:!0}},A={args:{onClick:s=>{alert("Custom Click Handler")}}},E={render:()=>a.jsx(qe,{title:a.jsx(a.Fragment,{children:" "}),children:a.jsxs(Fe,{direction:"vertical",children:[a.jsx(n.Text,{children:"Ant Design (default)"}),a.jsx(n.Text,{type:"secondary",children:"Ant Design (secondary)"}),a.jsx(n.Text,{type:"success",children:"Ant Design (success)"}),a.jsx(n.Text,{type:"warning",children:"Ant Design (warning)"}),a.jsx(n.Text,{type:"danger",children:"Ant Design (danger)"}),a.jsx(n.Text,{disabled:!0,children:"Ant Design (disabled)"}),a.jsx(n.Text,{mark:!0,children:"Ant Design (mark)"}),a.jsx(n.Text,{code:!0,children:"Ant Design (code)"}),a.jsx(n.Text,{keyboard:!0,children:"Ant Design (keyboard)"}),a.jsx(n.Text,{underline:!0,children:"Ant Design (underline)"}),a.jsx(n.Text,{delete:!0,children:"Ant Design (delete)"}),a.jsx(n.Text,{strong:!0,children:"Ant Design (strong)"}),a.jsx(n.Text,{italic:!0,children:"Ant Design (italic)"})]})})},k={render:()=>{const[s,t]=Re.useState(!0);return a.jsxs(qe,{title:"Toggle ellipsis on and off.",children:[a.jsx(Ge,{checked:s,onChange:()=>{t(!s)}}),a.jsx(n.Text,{style:s?{width:200}:void 0,ellipsis:s?{tooltip:"I am ellipsis now!"}:!1,children:"Ant Design, a design language for background applications, is refined by Ant UED Team."}),a.jsx(n.Text,{code:!0,style:s?{width:200}:void 0,ellipsis:s?{tooltip:"I am ellipsis now!"}:!1,children:"Ant Design, a design language for background applications, is refined by Ant UED Team."})]})}};var q,O,z;c.parameters=r(e({},c.parameters),{docs:r(e({},(q=c.parameters)==null?void 0:q.docs),{source:e({originalSource:`{ +var Ke=Object.defineProperty,Me=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var I=(s,t,o)=>t in s?Ke(s,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[t]=o,e=(s,t)=>{for(var o in t||(t={}))We.call(t,o)&&I(s,o,t[o]);if(v)for(var o of v(t))_e.call(t,o)&&I(s,o,t[o]);return s},r=(s,t)=>Me(s,Pe(t));var U=(s,t,o)=>new Promise((Oe,w)=>{var ze=i=>{try{j(o.next(i))}catch(C){w(C)}},He=i=>{try{j(o.throw(i))}catch(C){w(C)}},j=i=>i.done?Oe(i.value):Promise.resolve(i.value).then(ze,He);j((o=o.apply(s,t)).next())});import{j as a}from"./jsx-runtime-BcCOBRXo.js";import{d as n,b as Fe,o as Ge}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{E as qe}from"./ExampleStory-B-ilaOpY.js";import{r as Re}from"./index-CNk6hRaE.js";import{e as Be}from"./index-C7MMNn6a.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";import"./index-TL6_15PV.js";const dr={title:"Components/General/Typography.Text",component:s=>a.jsx(n.Text,r(e({},s),{children:"Example Text"})),args:{code:!1,size:"base",copyable:!1,delete:!1,disabled:!1,editable:!1,ellipsis:!1,keyboard:!1,mark:!1,strong:!1,italic:!1,type:void 0,underline:!1,onClick:s=>{console.log("Text Clicked")}},argTypes:{type:{control:"select",options:["secondary","success","warning","danger"]},size:{control:"select",options:["base","sm","lg","xl"]}}},c={play:s=>U(void 0,null,function*(){const t=s.canvasElement.querySelector("span");Be(t==null?void 0:t.textContent).toEqual("Example Text")})},p={args:{code:!0}},l={args:{copyable:!0}},d={args:{delete:!0}},g={args:{disabled:!0}},m={args:{editable:!0}},u={args:{keyboard:!0}},y={args:{mark:!0}},x={args:{strong:!0}},T={args:{italic:!0}},h={args:{type:"success"}},D={args:{type:"secondary"}},b={args:{type:"warning"}},S={args:{type:"danger"}},f={args:{underline:!0}},A={args:{onClick:s=>{alert("Custom Click Handler")}}},E={render:()=>a.jsx(qe,{title:a.jsx(a.Fragment,{children:" "}),children:a.jsxs(Fe,{direction:"vertical",children:[a.jsx(n.Text,{children:"Ant Design (default)"}),a.jsx(n.Text,{type:"secondary",children:"Ant Design (secondary)"}),a.jsx(n.Text,{type:"success",children:"Ant Design (success)"}),a.jsx(n.Text,{type:"warning",children:"Ant Design (warning)"}),a.jsx(n.Text,{type:"danger",children:"Ant Design (danger)"}),a.jsx(n.Text,{disabled:!0,children:"Ant Design (disabled)"}),a.jsx(n.Text,{mark:!0,children:"Ant Design (mark)"}),a.jsx(n.Text,{code:!0,children:"Ant Design (code)"}),a.jsx(n.Text,{keyboard:!0,children:"Ant Design (keyboard)"}),a.jsx(n.Text,{underline:!0,children:"Ant Design (underline)"}),a.jsx(n.Text,{delete:!0,children:"Ant Design (delete)"}),a.jsx(n.Text,{strong:!0,children:"Ant Design (strong)"}),a.jsx(n.Text,{italic:!0,children:"Ant Design (italic)"})]})})},k={render:()=>{const[s,t]=Re.useState(!0);return a.jsxs(qe,{title:"Toggle ellipsis on and off.",children:[a.jsx(Ge,{checked:s,onChange:()=>{t(!s)}}),a.jsx(n.Text,{style:s?{width:200}:void 0,ellipsis:s?{tooltip:"I am ellipsis now!"}:!1,children:"Ant Design, a design language for background applications, is refined by Ant UED Team."}),a.jsx(n.Text,{code:!0,style:s?{width:200}:void 0,ellipsis:s?{tooltip:"I am ellipsis now!"}:!1,children:"Ant Design, a design language for background applications, is refined by Ant UED Team."})]})}};var q,O,z;c.parameters=r(e({},c.parameters),{docs:r(e({},(q=c.parameters)==null?void 0:q.docs),{source:e({originalSource:`{ play: async context => { const text = context.canvasElement.querySelector('span'); void expect(text?.textContent).toEqual('Example Text'); diff --git a/pr-preview/pr-459/assets/TextInput.stories-C_tg9I7t.js b/pr-preview/pr-459/assets/TextInput.stories-Chdd3EdJ.js similarity index 94% rename from pr-preview/pr-459/assets/TextInput.stories-C_tg9I7t.js rename to pr-preview/pr-459/assets/TextInput.stories-Chdd3EdJ.js index aa6e1021d..3e6886b9f 100644 --- a/pr-preview/pr-459/assets/TextInput.stories-C_tg9I7t.js +++ b/pr-preview/pr-459/assets/TextInput.stories-Chdd3EdJ.js @@ -1,4 +1,4 @@ -var E=Object.defineProperty,M=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var i=(o,r,a)=>r in o?E(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,e=(o,r)=>{for(var a in r||(r={}))Q.call(r,a)&&i(o,a,r[a]);if(n)for(var a of n(r))V.call(r,a)&&i(o,a,r[a]);return o},t=(o,r)=>M(o,T(r));import{W as q}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const K={title:"Components/Data Entry/QueryItem/ValueSelector/TextInput",component:q.ValueSelector.TextInput,parameters:{docs:{description:{component:'This is the "Text Input" component of the QueryItem/ValueSelector component group.'}}},args:{onChange:o=>{console.log(o)}}},s={},p={args:{value:"Default"}},c={args:{placeholder:"Placeholder"}},m={args:{errorMessage:"Required field!"}};var l,u,d;s.parameters=t(e({},s.parameters),{docs:t(e({},(l=s.parameters)==null?void 0:l.docs),{source:e({originalSource:"{}"},(d=(u=s.parameters)==null?void 0:u.docs)==null?void 0:d.source)})});var g,h,f;p.parameters=t(e({},p.parameters),{docs:t(e({},(g=p.parameters)==null?void 0:g.docs),{source:e({originalSource:`{ +var E=Object.defineProperty,M=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var i=(o,r,a)=>r in o?E(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,e=(o,r)=>{for(var a in r||(r={}))Q.call(r,a)&&i(o,a,r[a]);if(n)for(var a of n(r))V.call(r,a)&&i(o,a,r[a]);return o},t=(o,r)=>M(o,T(r));import{Y as q}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const K={title:"Components/Data Entry/QueryItem/ValueSelector/TextInput",component:q.ValueSelector.TextInput,parameters:{docs:{description:{component:'This is the "Text Input" component of the QueryItem/ValueSelector component group.'}}},args:{onChange:o=>{console.log(o)}}},s={},p={args:{value:"Default"}},c={args:{placeholder:"Placeholder"}},m={args:{errorMessage:"Required field!"}};var l,u,d;s.parameters=t(e({},s.parameters),{docs:t(e({},(l=s.parameters)==null?void 0:l.docs),{source:e({originalSource:"{}"},(d=(u=s.parameters)==null?void 0:u.docs)==null?void 0:d.source)})});var g,h,f;p.parameters=t(e({},p.parameters),{docs:t(e({},(g=p.parameters)==null?void 0:g.docs),{source:e({originalSource:`{ args: { value: 'Default' } diff --git a/pr-preview/pr-459/assets/TimePicker.stories-DimpVOtS.js b/pr-preview/pr-459/assets/TimePicker.stories-DimpVOtS.js deleted file mode 100644 index 2c1c274b6..000000000 --- a/pr-preview/pr-459/assets/TimePicker.stories-DimpVOtS.js +++ /dev/null @@ -1 +0,0 @@ -var d=Object.defineProperty,u=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))l.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))y.call(r,o)&&a(t,o,r[o]);return t},p=(t,r)=>u(t,P(r));import{Y as f}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Data Entry/TimePicker",component:f,args:{}},i={};var s,c,n;i.parameters=p(m({},i.parameters),{docs:p(m({},(s=i.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=i.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const A=["Primary"];export{i as Primary,A as __namedExportsOrder,z as default}; diff --git a/pr-preview/pr-459/assets/TimePicker.stories-a0LjGbk0.js b/pr-preview/pr-459/assets/TimePicker.stories-a0LjGbk0.js new file mode 100644 index 000000000..15f26d10f --- /dev/null +++ b/pr-preview/pr-459/assets/TimePicker.stories-a0LjGbk0.js @@ -0,0 +1 @@ +var d=Object.defineProperty,u=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))l.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))y.call(r,o)&&a(t,o,r[o]);return t},p=(t,r)=>u(t,P(r));import{_}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/TimePicker",component:_,args:{}},i={};var s,c,n;i.parameters=p(m({},i.parameters),{docs:p(m({},(s=i.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=i.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{i as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/Timeline.stories-OiDhz4cR.js b/pr-preview/pr-459/assets/Timeline.stories-Rv8tHBVN.js similarity index 90% rename from pr-preview/pr-459/assets/Timeline.stories-OiDhz4cR.js rename to pr-preview/pr-459/assets/Timeline.stories-Rv8tHBVN.js index 40e1526b3..8293d6cd4 100644 --- a/pr-preview/pr-459/assets/Timeline.stories-OiDhz4cR.js +++ b/pr-preview/pr-459/assets/Timeline.stories-Rv8tHBVN.js @@ -1 +1 @@ -var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))f.call(r,o)&&a(t,o,r[o]);return t},p=(t,r)=>l(t,u(r));import{G as g}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Data Display/Timeline",component:g,args:{}},i={};var s,n,c;i.parameters=p(m({},i.parameters),{docs:p(m({},(s=i.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(c=(n=i.parameters)==null?void 0:n.docs)==null?void 0:c.source)})});const A=["Primary"];export{i as Primary,A as __namedExportsOrder,z as default}; +var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(e)for(var o of e(r))f.call(r,o)&&a(t,o,r[o]);return t},p=(t,r)=>l(t,u(r));import{J as g}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Data Display/Timeline",component:g,args:{}},i={};var s,n,c;i.parameters=p(m({},i.parameters),{docs:p(m({},(s=i.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(c=(n=i.parameters)==null?void 0:n.docs)==null?void 0:c.source)})});const A=["Primary"];export{i as Primary,A as __namedExportsOrder,z as default}; diff --git a/pr-preview/pr-459/assets/Title.stories-Z2kA7sbF.js b/pr-preview/pr-459/assets/Title.stories-BtyYom_P.js similarity index 97% rename from pr-preview/pr-459/assets/Title.stories-Z2kA7sbF.js rename to pr-preview/pr-459/assets/Title.stories-BtyYom_P.js index 28cab335b..03401b875 100644 --- a/pr-preview/pr-459/assets/Title.stories-Z2kA7sbF.js +++ b/pr-preview/pr-459/assets/Title.stories-BtyYom_P.js @@ -1,4 +1,4 @@ -var u=Object.defineProperty,x=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var m=(r,e,t)=>e in r?u(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,n=(r,e)=>{for(var t in e||(e={}))b.call(e,t)&&m(r,t,e[t]);if(p)for(var t of p(e))v.call(e,t)&&m(r,t,e[t]);return r},a=(r,e)=>x(r,D(e));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{d as l}from"./GlobalNavigation-CPQMp-rl.js";import{E as A}from"./ExampleStory-DvwdaA9H.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const J={title:"Components/General/Title",component:l.Title,args:{}},s={},o={render:()=>i.jsxs(A,{title:"Different Headings.",children:[i.jsx(l.Title,{editable:!0,level:1,style:{margin:0},children:"h1. Ant Design"}),i.jsx(l.Title,{editable:!0,level:2,style:{margin:0},children:"h2. Ant Design"}),i.jsx(l.Title,{editable:!0,level:3,style:{margin:0},children:"h3. Ant Design"}),i.jsx(l.Title,{editable:!0,level:4,style:{margin:0},children:"h4. Ant Design"}),i.jsx(l.Title,{editable:!0,level:5,style:{margin:0},children:"h5. Ant Design"})]})};var g,y,d;s.parameters=a(n({},s.parameters),{docs:a(n({},(g=s.parameters)==null?void 0:g.docs),{source:n({originalSource:"{}"},(d=(y=s.parameters)==null?void 0:y.docs)==null?void 0:d.source)})});var T,h,c;o.parameters=a(n({},o.parameters),{docs:a(n({},(T=o.parameters)==null?void 0:T.docs),{source:n({originalSource:`{ +var u=Object.defineProperty,x=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var m=(r,e,t)=>e in r?u(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,n=(r,e)=>{for(var t in e||(e={}))b.call(e,t)&&m(r,t,e[t]);if(p)for(var t of p(e))v.call(e,t)&&m(r,t,e[t]);return r},a=(r,e)=>x(r,D(e));import{j as i}from"./jsx-runtime-BcCOBRXo.js";import{d as l}from"./GlobalNavigation-DT_tPK9g.js";import{E as A}from"./ExampleStory-B-ilaOpY.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const J={title:"Components/General/Title",component:l.Title,args:{}},s={},o={render:()=>i.jsxs(A,{title:"Different Headings.",children:[i.jsx(l.Title,{editable:!0,level:1,style:{margin:0},children:"h1. Ant Design"}),i.jsx(l.Title,{editable:!0,level:2,style:{margin:0},children:"h2. Ant Design"}),i.jsx(l.Title,{editable:!0,level:3,style:{margin:0},children:"h3. Ant Design"}),i.jsx(l.Title,{editable:!0,level:4,style:{margin:0},children:"h4. Ant Design"}),i.jsx(l.Title,{editable:!0,level:5,style:{margin:0},children:"h5. Ant Design"})]})};var g,y,d;s.parameters=a(n({},s.parameters),{docs:a(n({},(g=s.parameters)==null?void 0:g.docs),{source:n({originalSource:"{}"},(d=(y=s.parameters)==null?void 0:y.docs)==null?void 0:d.source)})});var T,h,c;o.parameters=a(n({},o.parameters),{docs:a(n({},(T=o.parameters)==null?void 0:T.docs),{source:n({originalSource:`{ render: () => { return i in n?ce(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,t=(n,i)=>{for(var r in i||(i={}))me.call(i,r)&&v(n,r,i[r]);if(y)for(var r of y(i))ue.call(i,r)&&v(n,r,i[r]);return n},o=(n,i)=>pe(n,de(i));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{e as a,i as l,F as he,j as ge,b as we}from"./GlobalNavigation-CPQMp-rl.js";import{C as xe}from"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as b}from"./index-CNk6hRaE.js";import{E as B}from"./ExampleStory-DvwdaA9H.js";const fe={title:"Components/Data Display/Tooltip",component:n=>e.jsx(a,o(t({},n),{children:e.jsx(l,{children:"Tooltip element"})})),args:{title:"Tooltip content",arrow:!0,autoAdjustOverflow:!0,color:"",defaultOpen:!1,destroyTooltipOnHide:!1,fresh:!1,getPopupContainer:n=>document.body,mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayClassName:"",overlayStyle:{},overlayInnerStyle:{},placement:"top",trigger:"hover",zIndex:0,onOpenChange:n=>{}},argTypes:{color:{control:"color"},placement:{control:"select",options:["top","left","right","bottom","topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]},trigger:{control:"select",options:["hover","focus","click","contextMenu"]}}},p={},d={args:{title:"Different Tooltip Content"}},m={args:{color:"#fc0"}},u={args:{arrow:!1}},h={args:{placement:"bottom"}},g={args:{trigger:"click"}},w={args:{open:!0}},x={args:{trigger:"contextMenu"}},f={args:{trigger:"click",onOpenChange:n=>{alert(`onOpenChange: ${n}`)}}},T={render:()=>{const[n,i]=b.useState("Show"),r=b.useMemo(()=>n==="Hide"?!1:n==="Show"?!0:{pointAtCenter:!0},[n]),s=e.jsx("span",{children:"prompt text"}),c=80;return e.jsx(B,{title:"Show, hide or center arrow and change placements of the tooltip",children:e.jsxs(xe,{button:{style:{width:c,height:70,margin:4}},children:[e.jsx(he,{justify:"center",children:e.jsx(ge,{value:n,options:["Show","Hide","Center"],onChange:se=>{i(String(se))},style:{marginBottom:24}})}),e.jsxs("div",{className:"demo",children:[e.jsxs("div",{style:{marginInlineStart:c,whiteSpace:"nowrap"},children:[e.jsx(a,{placement:"topLeft",title:s,arrow:r,children:e.jsx(l,{children:"TL"})}),e.jsx(a,{placement:"top",title:s,arrow:r,children:e.jsx(l,{children:"Top"})}),e.jsx(a,{placement:"topRight",title:s,arrow:r,children:e.jsx(l,{children:"TR"})})]}),e.jsxs("div",{style:{width:c,float:"inline-start"},children:[e.jsx(a,{placement:"leftTop",title:s,arrow:r,children:e.jsx(l,{children:"LT"})}),e.jsx(a,{placement:"left",title:s,arrow:r,children:e.jsx(l,{children:"Left"})}),e.jsx(a,{placement:"leftBottom",title:s,arrow:r,children:e.jsx(l,{children:"LB"})})]}),e.jsxs("div",{style:{width:c,marginInlineStart:c*4+24},children:[e.jsx(a,{placement:"rightTop",title:s,arrow:r,children:e.jsx(l,{children:"RT"})}),e.jsx(a,{placement:"right",title:s,arrow:r,children:e.jsx(l,{children:"Right"})}),e.jsx(a,{placement:"rightBottom",title:s,arrow:r,children:e.jsx(l,{children:"RB"})})]}),e.jsxs("div",{style:{marginInlineStart:c,clear:"both",whiteSpace:"nowrap"},children:[e.jsx(a,{placement:"bottomLeft",title:s,arrow:r,children:e.jsx(l,{children:"BL"})}),e.jsx(a,{placement:"bottom",title:s,arrow:r,children:e.jsx(l,{children:"Bottom"})}),e.jsx(a,{placement:"bottomRight",title:s,arrow:r,children:e.jsx(l,{children:"BR"})})]})]})]})})}},j={render:()=>{const[n,i]=b.useState(!0);return e.jsx(B,{title:'The Tooltip can be disabled by setting title="".',children:e.jsxs(we,{children:[e.jsx(l,{onClick:()=>{i(!n)},children:n?"Enable":"Disable"}),e.jsx(a,{title:n?"":"prompt text",children:e.jsx("span",{children:"Tooltip will show on mouse enter."})})]})})}},S={render:()=>(b.useEffect(()=>{document.documentElement.scrollTop=document.documentElement.clientHeight,document.documentElement.scrollLeft=document.documentElement.clientWidth},[]),e.jsx(B,{title:"Auto adjust Popup and arrow position when Tooltip is close to the edge of the screen. Will be out of screen when exceed limitation.",children:e.jsx("div",{children:e.jsx("div",{style:{height:"300vh",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(a,{title:"Thanks for using antd. Have a nice day!",trigger:"click",defaultOpen:!0,children:e.jsx(l,{children:"Scroll The Window, watch the tooltip move"})})})})}))};var C,A,E;p.parameters=o(t({},p.parameters),{docs:o(t({},(C=p.parameters)==null?void 0:C.docs),{source:t({originalSource:"{}"},(E=(A=p.parameters)==null?void 0:A.docs)==null?void 0:E.source)})});var L,R,k;d.parameters=o(t({},d.parameters),{docs:o(t({},(L=d.parameters)==null?void 0:L.docs),{source:t({originalSource:`{ +var ce=Object.defineProperty,pe=Object.defineProperties;var de=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var me=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var v=(n,i,r)=>i in n?ce(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,t=(n,i)=>{for(var r in i||(i={}))me.call(i,r)&&v(n,r,i[r]);if(y)for(var r of y(i))ue.call(i,r)&&v(n,r,i[r]);return n},o=(n,i)=>pe(n,de(i));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{e as a,l,F as he,m as ge,b as we}from"./GlobalNavigation-DT_tPK9g.js";import{C as xe}from"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as b}from"./index-CNk6hRaE.js";import{E as B}from"./ExampleStory-B-ilaOpY.js";const fe={title:"Components/Data Display/Tooltip",component:n=>e.jsx(a,o(t({},n),{children:e.jsx(l,{children:"Tooltip element"})})),args:{title:"Tooltip content",arrow:!0,autoAdjustOverflow:!0,color:"",defaultOpen:!1,destroyTooltipOnHide:!1,fresh:!1,getPopupContainer:n=>document.body,mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayClassName:"",overlayStyle:{},overlayInnerStyle:{},placement:"top",trigger:"hover",zIndex:0,onOpenChange:n=>{}},argTypes:{color:{control:"color"},placement:{control:"select",options:["top","left","right","bottom","topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]},trigger:{control:"select",options:["hover","focus","click","contextMenu"]}}},p={},d={args:{title:"Different Tooltip Content"}},m={args:{color:"#fc0"}},u={args:{arrow:!1}},h={args:{placement:"bottom"}},g={args:{trigger:"click"}},w={args:{open:!0}},x={args:{trigger:"contextMenu"}},f={args:{trigger:"click",onOpenChange:n=>{alert(`onOpenChange: ${n}`)}}},T={render:()=>{const[n,i]=b.useState("Show"),r=b.useMemo(()=>n==="Hide"?!1:n==="Show"?!0:{pointAtCenter:!0},[n]),s=e.jsx("span",{children:"prompt text"}),c=80;return e.jsx(B,{title:"Show, hide or center arrow and change placements of the tooltip",children:e.jsxs(xe,{button:{style:{width:c,height:70,margin:4}},children:[e.jsx(he,{justify:"center",children:e.jsx(ge,{value:n,options:["Show","Hide","Center"],onChange:se=>{i(String(se))},style:{marginBottom:24}})}),e.jsxs("div",{className:"demo",children:[e.jsxs("div",{style:{marginInlineStart:c,whiteSpace:"nowrap"},children:[e.jsx(a,{placement:"topLeft",title:s,arrow:r,children:e.jsx(l,{children:"TL"})}),e.jsx(a,{placement:"top",title:s,arrow:r,children:e.jsx(l,{children:"Top"})}),e.jsx(a,{placement:"topRight",title:s,arrow:r,children:e.jsx(l,{children:"TR"})})]}),e.jsxs("div",{style:{width:c,float:"inline-start"},children:[e.jsx(a,{placement:"leftTop",title:s,arrow:r,children:e.jsx(l,{children:"LT"})}),e.jsx(a,{placement:"left",title:s,arrow:r,children:e.jsx(l,{children:"Left"})}),e.jsx(a,{placement:"leftBottom",title:s,arrow:r,children:e.jsx(l,{children:"LB"})})]}),e.jsxs("div",{style:{width:c,marginInlineStart:c*4+24},children:[e.jsx(a,{placement:"rightTop",title:s,arrow:r,children:e.jsx(l,{children:"RT"})}),e.jsx(a,{placement:"right",title:s,arrow:r,children:e.jsx(l,{children:"Right"})}),e.jsx(a,{placement:"rightBottom",title:s,arrow:r,children:e.jsx(l,{children:"RB"})})]}),e.jsxs("div",{style:{marginInlineStart:c,clear:"both",whiteSpace:"nowrap"},children:[e.jsx(a,{placement:"bottomLeft",title:s,arrow:r,children:e.jsx(l,{children:"BL"})}),e.jsx(a,{placement:"bottom",title:s,arrow:r,children:e.jsx(l,{children:"Bottom"})}),e.jsx(a,{placement:"bottomRight",title:s,arrow:r,children:e.jsx(l,{children:"BR"})})]})]})]})})}},j={render:()=>{const[n,i]=b.useState(!0);return e.jsx(B,{title:'The Tooltip can be disabled by setting title="".',children:e.jsxs(we,{children:[e.jsx(l,{onClick:()=>{i(!n)},children:n?"Enable":"Disable"}),e.jsx(a,{title:n?"":"prompt text",children:e.jsx("span",{children:"Tooltip will show on mouse enter."})})]})})}},S={render:()=>(b.useEffect(()=>{document.documentElement.scrollTop=document.documentElement.clientHeight,document.documentElement.scrollLeft=document.documentElement.clientWidth},[]),e.jsx(B,{title:"Auto adjust Popup and arrow position when Tooltip is close to the edge of the screen. Will be out of screen when exceed limitation.",children:e.jsx("div",{children:e.jsx("div",{style:{height:"300vh",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(a,{title:"Thanks for using antd. Have a nice day!",trigger:"click",defaultOpen:!0,children:e.jsx(l,{children:"Scroll The Window, watch the tooltip move"})})})})}))};var C,A,E;p.parameters=o(t({},p.parameters),{docs:o(t({},(C=p.parameters)==null?void 0:C.docs),{source:t({originalSource:"{}"},(E=(A=p.parameters)==null?void 0:A.docs)==null?void 0:E.source)})});var L,R,k;d.parameters=o(t({},d.parameters),{docs:o(t({},(L=d.parameters)==null?void 0:L.docs),{source:t({originalSource:`{ args: { title: 'Different Tooltip Content' } diff --git a/pr-preview/pr-459/assets/Tour.stories-B5roPbY6.js b/pr-preview/pr-459/assets/Tour.stories-DaR2jyVf.js similarity index 97% rename from pr-preview/pr-459/assets/Tour.stories-B5roPbY6.js rename to pr-preview/pr-459/assets/Tour.stories-DaR2jyVf.js index 85ea04ff3..f0a38290e 100644 --- a/pr-preview/pr-459/assets/Tour.stories-B5roPbY6.js +++ b/pr-preview/pr-459/assets/Tour.stories-DaR2jyVf.js @@ -1,4 +1,4 @@ -var v=Object.defineProperty,P=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var f=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s=(e,t)=>{for(var n in t||(t={}))E.call(t,n)&&f(e,n,t[n]);if(u)for(var n of u(t))R.call(t,n)&&f(e,n,t[n]);return e},o=(e,t)=>P(e,T(t));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{r as c}from"./index-CNk6hRaE.js";import{H as m,i as b,J as k,I as D}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const V={title:"Components/Data Display/Tour",component:m,args:{}},a={},i={render:()=>{const e=c.useRef(null),[t,n]=c.useState(!1),l=[{title:"Center",description:"Displayed in the center of screen.",target:null},{title:"Right",description:"On the right of target.",placement:"right",target:()=>e.current},{title:"Top",description:"On the top of target.",placement:"top",target:()=>e.current}];return r.jsxs(r.Fragment,{children:[r.jsx("div",{ref:e,children:r.jsx(b,{type:"primary",onClick:()=>{n(!0)},children:"Begin Tour"})}),r.jsx(m,{open:t,onClose:()=>{n(!1)},steps:l})]})}},p={render:()=>{const e=c.useRef(null),[t,n]=c.useState(!1),l=[{title:"Navigate mParticle effortlessly!",description:"Switch between product suites anytime using this selector.",placement:"right",target:()=>e.current}];return r.jsxs(r.Fragment,{children:[r.jsx("div",{ref:e,children:r.jsx(k,{label:"Data Platform",icon:r.jsx(D,{name:"siteMap"}),onSuiteLogoClick:()=>{n(!0)}})}),r.jsx(m,{mask:!1,type:"primary",open:t,onClose:()=>{n(!1)},steps:l})]})}};var d,g,h;a.parameters=o(s({},a.parameters),{docs:o(s({},(d=a.parameters)==null?void 0:d.docs),{source:s({originalSource:"{}"},(h=(g=a.parameters)==null?void 0:g.docs)==null?void 0:h.source)})});var x,y,O;i.parameters=o(s({},i.parameters),{docs:o(s({},(x=i.parameters)==null?void 0:x.docs),{source:s({originalSource:`{ +var v=Object.defineProperty,P=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var f=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s=(e,t)=>{for(var n in t||(t={}))E.call(t,n)&&f(e,n,t[n]);if(u)for(var n of u(t))R.call(t,n)&&f(e,n,t[n]);return e},o=(e,t)=>P(e,T(t));import{j as r}from"./jsx-runtime-BcCOBRXo.js";import{r as c}from"./index-CNk6hRaE.js";import{K as m,l as b,N as k,I as D}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const V={title:"Components/Data Display/Tour",component:m,args:{}},a={},i={render:()=>{const e=c.useRef(null),[t,n]=c.useState(!1),l=[{title:"Center",description:"Displayed in the center of screen.",target:null},{title:"Right",description:"On the right of target.",placement:"right",target:()=>e.current},{title:"Top",description:"On the top of target.",placement:"top",target:()=>e.current}];return r.jsxs(r.Fragment,{children:[r.jsx("div",{ref:e,children:r.jsx(b,{type:"primary",onClick:()=>{n(!0)},children:"Begin Tour"})}),r.jsx(m,{open:t,onClose:()=>{n(!1)},steps:l})]})}},p={render:()=>{const e=c.useRef(null),[t,n]=c.useState(!1),l=[{title:"Navigate mParticle effortlessly!",description:"Switch between product suites anytime using this selector.",placement:"right",target:()=>e.current}];return r.jsxs(r.Fragment,{children:[r.jsx("div",{ref:e,children:r.jsx(k,{label:"Data Platform",icon:r.jsx(D,{name:"siteMap"}),onSuiteLogoClick:()=>{n(!0)}})}),r.jsx(m,{mask:!1,type:"primary",open:t,onClose:()=>{n(!1)},steps:l})]})}};var d,g,h;a.parameters=o(s({},a.parameters),{docs:o(s({},(d=a.parameters)==null?void 0:d.docs),{source:s({originalSource:"{}"},(h=(g=a.parameters)==null?void 0:g.docs)==null?void 0:h.source)})});var x,y,O;i.parameters=o(s({},i.parameters),{docs:o(s({},(x=i.parameters)==null?void 0:x.docs),{source:s({originalSource:`{ render: () => { const ref = useRef(null); const [open, setOpen] = useState(false); diff --git a/pr-preview/pr-459/assets/Transfer.stories-D14k6_6V.js b/pr-preview/pr-459/assets/Transfer.stories-CmGPSwhR.js similarity index 85% rename from pr-preview/pr-459/assets/Transfer.stories-D14k6_6V.js rename to pr-preview/pr-459/assets/Transfer.stories-CmGPSwhR.js index 7c685c830..0758ef667 100644 --- a/pr-preview/pr-459/assets/Transfer.stories-D14k6_6V.js +++ b/pr-preview/pr-459/assets/Transfer.stories-CmGPSwhR.js @@ -1 +1 @@ -var d=Object.defineProperty,f=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var i=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))l.call(r,o)&&i(t,o,r[o]);if(e)for(var o of e(r))y.call(r,o)&&i(t,o,r[o]);return t},a=(t,r)=>f(t,u(r));import{r as g}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/Transfer",component:g,args:{}},p={};var s,n,c;p.parameters=a(m({},p.parameters),{docs:a(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(c=(n=p.parameters)==null?void 0:n.docs)==null?void 0:c.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; +var d=Object.defineProperty,u=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var i=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))l.call(r,o)&&i(t,o,r[o]);if(e)for(var o of e(r))y.call(r,o)&&i(t,o,r[o]);return t},a=(t,r)=>u(t,f(r));import{u as g}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/Transfer",component:g,args:{}},p={};var s,n,c;p.parameters=a(m({},p.parameters),{docs:a(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(c=(n=p.parameters)==null?void 0:n.docs)==null?void 0:c.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/Tree.stories-DYf4ePRr.js b/pr-preview/pr-459/assets/Tree.stories-BYe7vPY5.js similarity index 77% rename from pr-preview/pr-459/assets/Tree.stories-DYf4ePRr.js rename to pr-preview/pr-459/assets/Tree.stories-BYe7vPY5.js index 97e4a497c..17e1205d1 100644 --- a/pr-preview/pr-459/assets/Tree.stories-DYf4ePRr.js +++ b/pr-preview/pr-459/assets/Tree.stories-BYe7vPY5.js @@ -1 +1 @@ -var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(i)for(var o of i(r))f.call(r,o)&&a(t,o,r[o]);return t},e=(t,r)=>l(t,u(r));import{K as g}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const z={title:"Components/Data Display/Tree",component:g,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const A=["Primary"];export{p as Primary,A as __namedExportsOrder,z as default}; +var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var a=(t,r,o)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,m=(t,r)=>{for(var o in r||(r={}))y.call(r,o)&&a(t,o,r[o]);if(i)for(var o of i(r))f.call(r,o)&&a(t,o,r[o]);return t},e=(t,r)=>l(t,u(r));import{O as g}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Display/Tree",component:g,args:{}},p={};var s,c,n;p.parameters=e(m({},p.parameters),{docs:e(m({},(s=p.parameters)==null?void 0:s.docs),{source:m({originalSource:"{}"},(n=(c=p.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{p as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/TreeSelect.stories-R77o7fkP.js b/pr-preview/pr-459/assets/TreeSelect.stories-C2_xExhL.js similarity index 90% rename from pr-preview/pr-459/assets/TreeSelect.stories-R77o7fkP.js rename to pr-preview/pr-459/assets/TreeSelect.stories-C2_xExhL.js index 465f71309..a510a89c6 100644 --- a/pr-preview/pr-459/assets/TreeSelect.stories-R77o7fkP.js +++ b/pr-preview/pr-459/assets/TreeSelect.stories-C2_xExhL.js @@ -1 +1 @@ -var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var a=(o,r,t)=>r in o?d(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,e=(o,r)=>{for(var t in r||(r={}))y.call(r,t)&&a(o,t,r[t]);if(i)for(var t of i(r))S.call(r,t)&&a(o,t,r[t]);return o},p=(o,r)=>l(o,u(r));import{p as f}from"./GlobalNavigation-CPQMp-rl.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/TreeSelect",component:f,args:{}},m={};var s,c,n;m.parameters=p(e({},m.parameters),{docs:p(e({},(s=m.parameters)==null?void 0:s.docs),{source:e({originalSource:"{}"},(n=(c=m.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{m as Primary,B as __namedExportsOrder,A as default}; +var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var a=(o,r,t)=>r in o?d(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,e=(o,r)=>{for(var t in r||(r={}))y.call(r,t)&&a(o,t,r[t]);if(i)for(var t of i(r))S.call(r,t)&&a(o,t,r[t]);return o},p=(o,r)=>l(o,u(r));import{s as f}from"./GlobalNavigation-DT_tPK9g.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./ConfigProvider-BRwLXval.js";import"./LightTheme-BtoaoHMG.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";const A={title:"Components/Data Entry/TreeSelect",component:f,args:{}},m={};var s,c,n;m.parameters=p(e({},m.parameters),{docs:p(e({},(s=m.parameters)==null?void 0:s.docs),{source:e({originalSource:"{}"},(n=(c=m.parameters)==null?void 0:c.docs)==null?void 0:n.source)})});const B=["Primary"];export{m as Primary,B as __namedExportsOrder,A as default}; diff --git a/pr-preview/pr-459/assets/Upload.stories-C7K_2vFQ.js b/pr-preview/pr-459/assets/Upload.stories-BV6tzFXf.js similarity index 71% rename from pr-preview/pr-459/assets/Upload.stories-C7K_2vFQ.js rename to pr-preview/pr-459/assets/Upload.stories-BV6tzFXf.js index 992fae67b..f988e9275 100644 --- a/pr-preview/pr-459/assets/Upload.stories-C7K_2vFQ.js +++ b/pr-preview/pr-459/assets/Upload.stories-BV6tzFXf.js @@ -1,14 +1,14 @@ -var R=Object.defineProperty,S=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var u=(e,a,t)=>a in e?R(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,r=(e,a)=>{for(var t in a||(a={}))B.call(a,t)&&u(e,t,a[t]);if(l)for(var t of l(a))E.call(a,t)&&u(e,t,a[t]);return e},o=(e,a)=>S(e,A(a));import{j as m}from"./jsx-runtime-BcCOBRXo.js";import{Z as W,i as O,I as _}from"./GlobalNavigation-CPQMp-rl.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ae={title:"Components/Data Entry/Upload",component:e=>m.jsx(W,o(r({},e),{children:m.jsx(O,{icon:m.jsx(_,{name:"mpLogo"}),children:"Click to Upload"})})),args:{accept:".jpg,.png,.gif",action:"/upload",beforeUpload:(e,a)=>(alert("Before Upload:"),!0),customRequest:void 0,data:e=>(alert("Custom Data:"),{name:e.name,type:e.type}),defaultFileList:[],directory:!1,disabled:!1,fileList:[],headers:{Authorization:"Bearer token"},iconRender:void 0,isImageUrl:void 0,itemRender:void 0,listType:"text",maxCount:void 0,method:"post",multiple:!1,name:"file",openFileDialogOnClick:!0,previewFile:void 0,progress:{strokeWidth:2,showInfo:!1},showUploadList:!0,withCredentials:!1,onChange:e=>{alert("Upload Change:")},onDrop:e=>{alert("File Drop:")},onDownload:e=>{alert("Download:")},onPreview:e=>{alert("Preview:")},onRemove:e=>(alert("Remove:"),!0)}},s={},i={args:{listType:"picture-card"}},p={args:{onDrop:e=>{alert("File Drop:")}}},n={args:{progress:{strokeWidth:5,showInfo:!0}}},c={args:{accept:".pdf,.docx"}},d={args:{disabled:!0}};var g,f,D;s.parameters=o(r({},s.parameters),{docs:o(r({},(g=s.parameters)==null?void 0:g.docs),{source:r({originalSource:"{}"},(D=(f=s.parameters)==null?void 0:f.docs)==null?void 0:D.source)})});var h,v,C;i.parameters=o(r({},i.parameters),{docs:o(r({},(h=i.parameters)==null?void 0:h.docs),{source:r({originalSource:`{ +var R=Object.defineProperty,S=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var u=(e,a,t)=>a in e?R(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,r=(e,a)=>{for(var t in a||(a={}))B.call(a,t)&&u(e,t,a[t]);if(m)for(var t of m(a))E.call(a,t)&&u(e,t,a[t]);return e},o=(e,a)=>S(e,A(a));import{j as l}from"./jsx-runtime-BcCOBRXo.js";import{$ as W,l as O,I as _}from"./GlobalNavigation-DT_tPK9g.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const ae={title:"Components/Data Entry/Upload",component:e=>l.jsx(W,o(r({},e),{children:l.jsx(O,{icon:l.jsx(_,{name:"mpLogo"}),children:"Click to Upload"})})),args:{accept:".jpg,.png,.gif",action:"/upload",beforeUpload:(e,a)=>(alert("Before Upload:"),!0),customRequest:void 0,data:e=>(alert("Custom Data:"),{name:e.name,type:e.type}),defaultFileList:[],directory:!1,disabled:!1,fileList:[],headers:{Authorization:"Bearer token"},iconRender:void 0,isImageUrl:void 0,itemRender:void 0,listType:"text",maxCount:void 0,method:"post",multiple:!1,name:"file",openFileDialogOnClick:!0,previewFile:void 0,progress:{strokeWidth:2,showInfo:!1},showUploadList:!0,withCredentials:!1,onChange:e=>{alert("Upload Change:")},onDrop:e=>{alert("File Drop:")},onDownload:e=>{alert("Download:")},onPreview:e=>{alert("Preview:")},onRemove:e=>(alert("Remove:"),!0)}},s={},p={args:{listType:"picture-card"}},i={args:{onDrop:e=>{alert("File Drop:")}}},n={args:{progress:{strokeWidth:5,showInfo:!0}}},c={args:{accept:".pdf,.docx"}},d={args:{disabled:!0}};var g,f,D;s.parameters=o(r({},s.parameters),{docs:o(r({},(g=s.parameters)==null?void 0:g.docs),{source:r({originalSource:"{}"},(D=(f=s.parameters)==null?void 0:f.docs)==null?void 0:D.source)})});var h,v,C;p.parameters=o(r({},p.parameters),{docs:o(r({},(h=p.parameters)==null?void 0:h.docs),{source:r({originalSource:`{ args: { listType: 'picture-card' } -}`},(C=(v=i.parameters)==null?void 0:v.docs)==null?void 0:C.source)})});var y,U,x;p.parameters=o(r({},p.parameters),{docs:o(r({},(y=p.parameters)==null?void 0:y.docs),{source:r({originalSource:`{ +}`},(C=(v=p.parameters)==null?void 0:v.docs)==null?void 0:C.source)})});var y,U,x;i.parameters=o(r({},i.parameters),{docs:o(r({},(y=i.parameters)==null?void 0:y.docs),{source:r({originalSource:`{ args: { onDrop: event => { alert('File Drop:'); } } -}`},(x=(U=p.parameters)==null?void 0:U.docs)==null?void 0:x.source)})});var w,F,L;n.parameters=o(r({},n.parameters),{docs:o(r({},(w=n.parameters)==null?void 0:w.docs),{source:r({originalSource:`{ +}`},(x=(U=i.parameters)==null?void 0:U.docs)==null?void 0:x.source)})});var w,F,L;n.parameters=o(r({},n.parameters),{docs:o(r({},(w=n.parameters)==null?void 0:w.docs),{source:r({originalSource:`{ args: { progress: { strokeWidth: 5, @@ -23,4 +23,4 @@ var R=Object.defineProperty,S=Object.defineProperties;var A=Object.getOwnPropert args: { disabled: true } -}`},(P=(I=d.parameters)==null?void 0:I.docs)==null?void 0:P.source)})});const te=["Primary","CustomListType","DragAndDropUpload","CustomProgress","CustomAcceptFileType","DisabledUpload"];export{c as CustomAcceptFileType,i as CustomListType,n as CustomProgress,d as DisabledUpload,p as DragAndDropUpload,s as Primary,te as __namedExportsOrder,ae as default}; +}`},(P=(I=d.parameters)==null?void 0:I.docs)==null?void 0:P.source)})});const te=["Primary","CustomListType","DragAndDropUpload","CustomProgress","CustomAcceptFileType","DisabledUpload"];export{c as CustomAcceptFileType,p as CustomListType,n as CustomProgress,d as DisabledUpload,i as DragAndDropUpload,s as Primary,te as __namedExportsOrder,ae as default}; diff --git a/pr-preview/pr-459/assets/Using existing ones-Dhq84SWT.js b/pr-preview/pr-459/assets/Using existing ones-B8pwVpRB.js similarity index 99% rename from pr-preview/pr-459/assets/Using existing ones-Dhq84SWT.js rename to pr-preview/pr-459/assets/Using existing ones-B8pwVpRB.js index 2c942adc4..e0eeb29cf 100644 --- a/pr-preview/pr-459/assets/Using existing ones-Dhq84SWT.js +++ b/pr-preview/pr-459/assets/Using existing ones-B8pwVpRB.js @@ -1,4 +1,4 @@ -var qp=Object.defineProperty,Wp=Object.defineProperties;var Hp=Object.getOwnPropertyDescriptors;var ol=Object.getOwnPropertySymbols;var jp=Object.prototype.hasOwnProperty,Up=Object.prototype.propertyIsEnumerable;var Sr=Math.pow,wa=(t,e,r)=>e in t?qp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))jp.call(e,r)&&wa(t,r,e[r]);if(ol)for(var r of ol(e))Up.call(e,r)&&wa(t,r,e[r]);return t},rt=(t,e)=>Wp(t,Hp(e));var V=(t,e,r)=>(wa(t,typeof e!="symbol"?e+"":e,r),r),Yp=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var Ni=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)};var Lr=(t,e,r)=>(Yp(t,e,"access private method"),r);var L=(t,e,r)=>new Promise((i,n)=>{var a=l=>{try{o(r.next(l))}catch(c){n(c)}},s=l=>{try{o(r.throw(l))}catch(c){n(c)}},o=l=>l.done?i(l.value):Promise.resolve(l.value).then(a,s);o((r=r.apply(t,e)).next())});import{j as nr}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as zc}from"./index-BI4Okn8T.js";import{R as ll,r as tr}from"./index-CNk6hRaE.js";import{_ as X}from"./iframe-CoIBAWfU.js";import{d as Gp}from"./dayjs.min-KGLNs1IR.js";import{d as qc}from"./index-DrFu-skq.js";import{s as Vp,a as Xp,c as Zp}from"./Serializer-OW4gUFyn.js";const Qi={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t),hsl2rgb:({h:t,s:e,l:r},i)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;const n=r<.5?r*(1+e):r+e-r*e,a=2*r-n;switch(i){case"r":return Qi.hue2rgb(a,n,t+1/3)*255;case"g":return Qi.hue2rgb(a,n,t)*255;case"b":return Qi.hue2rgb(a,n,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:r},i)=>{t/=255,e/=255,r/=255;const n=Math.max(t,e,r),a=Math.min(t,e,r),s=(n+a)/2;if(i==="l")return s*100;if(n===a)return 0;const o=n-a,l=s>.5?o/(2-n-a):o/(n+a);if(i==="s")return l*100;switch(n){case t:return((e-r)/o+(ee>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},Qp=Kp,Jp={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}},tg=Jp,$={channel:Qi,lang:Qp,unit:tg},be={};for(let t=0;t<=255;t++)be[t]=$.unit.dec2hex(t);const yt={ALL:0,RGB:1,HSL:2};class eg{constructor(){this.type=yt.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=yt.ALL}is(e){return this.type===e}}class rg{constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new eg}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=yt.ALL,this}_ensureHSL(){const e=this.data,{h:r,s:i,l:n}=e;r===void 0&&(e.h=$.channel.rgb2hsl(e,"h")),i===void 0&&(e.s=$.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=$.channel.rgb2hsl(e,"l"))}_ensureRGB(){const e=this.data,{r,g:i,b:n}=e;r===void 0&&(e.r=$.channel.hsl2rgb(e,"r")),i===void 0&&(e.g=$.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=$.channel.hsl2rgb(e,"b"))}get r(){const e=this.data,r=e.r;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),$.channel.hsl2rgb(e,"r"))}get g(){const e=this.data,r=e.g;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),$.channel.hsl2rgb(e,"g"))}get b(){const e=this.data,r=e.b;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),$.channel.hsl2rgb(e,"b"))}get h(){const e=this.data,r=e.h;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),$.channel.rgb2hsl(e,"h"))}get s(){const e=this.data,r=e.s;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),$.channel.rgb2hsl(e,"s"))}get l(){const e=this.data,r=e.l;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),$.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(yt.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(yt.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(yt.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(yt.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(yt.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(yt.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}const ig=rg,Yn=new ig({r:0,g:0,b:0,a:0},"transparent"),sr={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(sr.re);if(!e)return;const r=e[1],i=parseInt(r,16),n=r.length,a=n%4===0,s=n>4,o=s?1:17,l=s?8:4,c=a?0:-1,h=s?255:15;return Yn.set({r:(i>>l*(c+3)&h)*o,g:(i>>l*(c+2)&h)*o,b:(i>>l*(c+1)&h)*o,a:a?(i&h)*o/255:1},t)},stringify:t=>{const{r:e,g:r,b:i,a:n}=t;return n<1?`#${be[Math.round(e)]}${be[Math.round(r)]}${be[Math.round(i)]}${be[Math.round(n*255)]}`:`#${be[Math.round(e)]}${be[Math.round(r)]}${be[Math.round(i)]}`}},Oe={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(Oe.hueRe);if(e){const[,r,i]=e;switch(i){case"grad":return $.channel.clamp.h(parseFloat(r)*.9);case"rad":return $.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return $.channel.clamp.h(parseFloat(r)*360)}}return $.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const r=t.match(Oe.re);if(!r)return;const[,i,n,a,s,o]=r;return Yn.set({h:Oe._hue2deg(i),s:$.channel.clamp.s(parseFloat(n)),l:$.channel.clamp.l(parseFloat(a)),a:s?$.channel.clamp.a(o?parseFloat(s)/100:parseFloat(s)):1},t)},stringify:t=>{const{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${$.lang.round(e)}, ${$.lang.round(r)}%, ${$.lang.round(i)}%, ${n})`:`hsl(${$.lang.round(e)}, ${$.lang.round(r)}%, ${$.lang.round(i)}%)`}},Yr={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=Yr.colors[t];if(e)return sr.parse(e)},stringify:t=>{const e=sr.stringify(t);for(const r in Yr.colors)if(Yr.colors[r]===e)return r}},zr={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(e!==114&&e!==82)return;const r=t.match(zr.re);if(!r)return;const[,i,n,a,s,o,l,c,h]=r;return Yn.set({r:$.channel.clamp.r(n?parseFloat(i)*2.55:parseFloat(i)),g:$.channel.clamp.g(s?parseFloat(a)*2.55:parseFloat(a)),b:$.channel.clamp.b(l?parseFloat(o)*2.55:parseFloat(o)),a:c?$.channel.clamp.a(h?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${$.lang.round(e)}, ${$.lang.round(r)}, ${$.lang.round(i)}, ${$.lang.round(n)})`:`rgb(${$.lang.round(e)}, ${$.lang.round(r)}, ${$.lang.round(i)})`}},re={format:{keyword:Yr,hex:sr,rgb:zr,rgba:zr,hsl:Oe,hsla:Oe},parse:t=>{if(typeof t!="string")return t;const e=sr.parse(t)||zr.parse(t)||Oe.parse(t)||Yr.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(yt.HSL)||t.data.r===void 0?Oe.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?zr.stringify(t):sr.stringify(t)},Wc=(t,e)=>{const r=re.parse(t);for(const i in e)r[i]=$.channel.clamp[i](e[i]);return re.stringify(r)},Gr=(t,e,r=0,i=1)=>{if(typeof t!="number")return Wc(t,{a:e});const n=Yn.set({r:$.channel.clamp.r(t),g:$.channel.clamp.g(e),b:$.channel.clamp.b(r),a:$.channel.clamp.a(i)});return re.stringify(n)},ng=t=>{const{r:e,g:r,b:i}=re.parse(t),n=.2126*$.channel.toLinear(e)+.7152*$.channel.toLinear(r)+.0722*$.channel.toLinear(i);return $.lang.round(n)},ag=t=>ng(t)>=.5,sg=ag,ki=t=>!sg(t),Hc=(t,e,r)=>{const i=re.parse(t),n=i[e],a=$.channel.clamp[e](n+r);return n!==a&&(i[e]=a),re.stringify(i)},M=(t,e)=>Hc(t,"l",e),O=(t,e)=>Hc(t,"l",-e),b=(t,e)=>{const r=re.parse(t),i={};for(const n in e)e[n]&&(i[n]=r[n]+e[n]);return Wc(t,i)},og=(t,e,r=50)=>{const{r:i,g:n,b:a,a:s}=re.parse(t),{r:o,g:l,b:c,a:h}=re.parse(e),d=r/100,u=d*2-1,p=s-h,m=((u*p===-1?u:(u+p)/(1+u*p))+1)/2,x=1-m,C=i*m+o*x,_=n*m+l*x,k=a*m+c*x,T=s*d+h*(1-d);return Gr(C,_,k,T)},S=(t,e=100)=>{const r=re.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,og(r,t,e)};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:jc,setPrototypeOf:cl,isFrozen:lg,getPrototypeOf:cg,getOwnPropertyDescriptor:hg}=Object;let{freeze:Bt,seal:Wt,create:Uc}=Object,{apply:ja,construct:Ua}=typeof Reflect!="undefined"&&Reflect;Bt||(Bt=function(e){return e});Wt||(Wt=function(e){return e});ja||(ja=function(e,r,i){return e.apply(r,i)});Ua||(Ua=function(e,r){return new e(...r)});const zi=Pt(Array.prototype.forEach),hl=Pt(Array.prototype.pop),Ar=Pt(Array.prototype.push),Ji=Pt(String.prototype.toLowerCase),Ta=Pt(String.prototype.toString),ul=Pt(String.prototype.match),Br=Pt(String.prototype.replace),ug=Pt(String.prototype.indexOf),fg=Pt(String.prototype.trim),Ut=Pt(Object.prototype.hasOwnProperty),St=Pt(RegExp.prototype.test),Er=dg(TypeError);function Pt(t){return function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:Ji;cl&&cl(t,null);let i=e.length;for(;i--;){let n=e[i];if(typeof n=="string"){const a=r(n);a!==n&&(lg(e)||(e[i]=a),n=a)}t[n]=!0}return t}function pg(t){for(let e=0;e/gm),bg=Wt(/\${[\w\W]*}/gm),_g=Wt(/^data-[\-\w.\u00B7-\uFFFF]/),Cg=Wt(/^aria-[\-\w]+$/),Yc=Wt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),kg=Wt(/^(?:\w+script|data):/i),vg=Wt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gc=Wt(/^html$/i),wg=Wt(/^[a-z][.\w]*(-[.\w]+)+$/i);var ml=Object.freeze({__proto__:null,MUSTACHE_EXPR:yg,ERB_EXPR:xg,TMPLIT_EXPR:bg,DATA_ATTR:_g,ARIA_ATTR:Cg,IS_ALLOWED_URI:Yc,IS_SCRIPT_OR_DATA:kg,ATTR_WHITESPACE:vg,DOCTYPE_NAME:Gc,CUSTOM_ELEMENT:wg});const Mr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Tg=function(){return typeof window=="undefined"?null:window},Sg=function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const n="data-tt-policy-suffix";r&&r.hasAttribute(n)&&(i=r.getAttribute(n));const a="dompurify"+(i?"#"+i:"");try{return e.createPolicy(a,{createHTML(s){return s},createScriptURL(s){return s}})}catch(s){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Vc(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tg();const e=F=>Vc(F);if(e.version="3.1.6",e.removed=[],!t||!t.document||t.document.nodeType!==Mr.document)return e.isSupported=!1,e;let{document:r}=t;const i=r,n=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:o,Element:l,NodeFilter:c,NamedNodeMap:h=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:u,trustedTypes:p}=t,g=l.prototype,m=Fr(g,"cloneNode"),x=Fr(g,"remove"),C=Fr(g,"nextSibling"),_=Fr(g,"childNodes"),k=Fr(g,"parentNode");if(typeof s=="function"){const F=r.createElement("template");F.content&&F.content.ownerDocument&&(r=F.content.ownerDocument)}let T,A="";const{implementation:R,createNodeIterator:P,createDocumentFragment:q,getElementsByTagName:U}=r,{importNode:W}=i;let N={};e.isSupported=typeof jc=="function"&&typeof k=="function"&&R&&R.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ut,ERB_EXPR:tt,TMPLIT_EXPR:Z,DATA_ATTR:vt,ARIA_ATTR:Ht,IS_SCRIPT_OR_DATA:jt,ATTR_WHITESPACE:Se,CUSTOM_ELEMENT:wt}=ml;let{IS_ALLOWED_URI:se}=ml,ot=null;const $o=z({},[...fl,...Sa,...La,...Aa,...dl]);let lt=null;const Ro=z({},[...pl,...Ba,...gl,...qi]);let et=Object.seal(Uc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),kr=null,pa=null,Do=!0,ga=!0,Po=!1,No=!0,Ve=!1,ma=!0,Le=!1,ya=!1,xa=!1,Xe=!1,Ii=!1,$i=!1,zo=!0,qo=!1;const Op="user-content-";let ba=!0,vr=!1,Ze={},Ke=null;const Wo=z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ho=null;const jo=z({},["audio","video","img","source","image","track"]);let _a=null;const Uo=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ri="http://www.w3.org/1998/Math/MathML",Di="http://www.w3.org/2000/svg",oe="http://www.w3.org/1999/xhtml";let Qe=oe,Ca=!1,ka=null;const Ip=z({},[Ri,Di,oe],Ta);let wr=null;const $p=["application/xhtml+xml","text/html"],Rp="text/html";let ct=null,Je=null;const Dp=r.createElement("form"),Yo=function(y){return y instanceof RegExp||y instanceof Function},va=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Je&&Je===y)){if((!y||typeof y!="object")&&(y={}),y=Be(y),wr=$p.indexOf(y.PARSER_MEDIA_TYPE)===-1?Rp:y.PARSER_MEDIA_TYPE,ct=wr==="application/xhtml+xml"?Ta:Ji,ot=Ut(y,"ALLOWED_TAGS")?z({},y.ALLOWED_TAGS,ct):$o,lt=Ut(y,"ALLOWED_ATTR")?z({},y.ALLOWED_ATTR,ct):Ro,ka=Ut(y,"ALLOWED_NAMESPACES")?z({},y.ALLOWED_NAMESPACES,Ta):Ip,_a=Ut(y,"ADD_URI_SAFE_ATTR")?z(Be(Uo),y.ADD_URI_SAFE_ATTR,ct):Uo,Ho=Ut(y,"ADD_DATA_URI_TAGS")?z(Be(jo),y.ADD_DATA_URI_TAGS,ct):jo,Ke=Ut(y,"FORBID_CONTENTS")?z({},y.FORBID_CONTENTS,ct):Wo,kr=Ut(y,"FORBID_TAGS")?z({},y.FORBID_TAGS,ct):{},pa=Ut(y,"FORBID_ATTR")?z({},y.FORBID_ATTR,ct):{},Ze=Ut(y,"USE_PROFILES")?y.USE_PROFILES:!1,Do=y.ALLOW_ARIA_ATTR!==!1,ga=y.ALLOW_DATA_ATTR!==!1,Po=y.ALLOW_UNKNOWN_PROTOCOLS||!1,No=y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ve=y.SAFE_FOR_TEMPLATES||!1,ma=y.SAFE_FOR_XML!==!1,Le=y.WHOLE_DOCUMENT||!1,Xe=y.RETURN_DOM||!1,Ii=y.RETURN_DOM_FRAGMENT||!1,$i=y.RETURN_TRUSTED_TYPE||!1,xa=y.FORCE_BODY||!1,zo=y.SANITIZE_DOM!==!1,qo=y.SANITIZE_NAMED_PROPS||!1,ba=y.KEEP_CONTENT!==!1,vr=y.IN_PLACE||!1,se=y.ALLOWED_URI_REGEXP||Yc,Qe=y.NAMESPACE||oe,et=y.CUSTOM_ELEMENT_HANDLING||{},y.CUSTOM_ELEMENT_HANDLING&&Yo(y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(et.tagNameCheck=y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),y.CUSTOM_ELEMENT_HANDLING&&Yo(y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(et.attributeNameCheck=y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),y.CUSTOM_ELEMENT_HANDLING&&typeof y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(et.allowCustomizedBuiltInElements=y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ve&&(ga=!1),Ii&&(Xe=!0),Ze&&(ot=z({},dl),lt=[],Ze.html===!0&&(z(ot,fl),z(lt,pl)),Ze.svg===!0&&(z(ot,Sa),z(lt,Ba),z(lt,qi)),Ze.svgFilters===!0&&(z(ot,La),z(lt,Ba),z(lt,qi)),Ze.mathMl===!0&&(z(ot,Aa),z(lt,gl),z(lt,qi))),y.ADD_TAGS&&(ot===$o&&(ot=Be(ot)),z(ot,y.ADD_TAGS,ct)),y.ADD_ATTR&&(lt===Ro&&(lt=Be(lt)),z(lt,y.ADD_ATTR,ct)),y.ADD_URI_SAFE_ATTR&&z(_a,y.ADD_URI_SAFE_ATTR,ct),y.FORBID_CONTENTS&&(Ke===Wo&&(Ke=Be(Ke)),z(Ke,y.FORBID_CONTENTS,ct)),ba&&(ot["#text"]=!0),Le&&z(ot,["html","head","body"]),ot.table&&(z(ot,["tbody"]),delete kr.tbody),y.TRUSTED_TYPES_POLICY){if(typeof y.TRUSTED_TYPES_POLICY.createHTML!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');T=y.TRUSTED_TYPES_POLICY,A=T.createHTML("")}else T===void 0&&(T=Sg(p,n)),T!==null&&typeof A=="string"&&(A=T.createHTML(""));Bt&&Bt(y),Je=y}},Go=z({},["mi","mo","mn","ms","mtext"]),Vo=z({},["foreignobject","annotation-xml"]),Pp=z({},["title","style","font","a","script"]),Xo=z({},[...Sa,...La,...gg]),Zo=z({},[...Aa,...mg]),Np=function(y){let w=k(y);(!w||!w.tagName)&&(w={namespaceURI:Qe,tagName:"template"});const B=Ji(y.tagName),G=Ji(w.tagName);return ka[y.namespaceURI]?y.namespaceURI===Di?w.namespaceURI===oe?B==="svg":w.namespaceURI===Ri?B==="svg"&&(G==="annotation-xml"||Go[G]):!!Xo[B]:y.namespaceURI===Ri?w.namespaceURI===oe?B==="math":w.namespaceURI===Di?B==="math"&&Vo[G]:!!Zo[B]:y.namespaceURI===oe?w.namespaceURI===Di&&!Vo[G]||w.namespaceURI===Ri&&!Go[G]?!1:!Zo[B]&&(Pp[B]||!Xo[B]):!!(wr==="application/xhtml+xml"&&ka[y.namespaceURI]):!1},Zt=function(y){Ar(e.removed,{element:y});try{k(y).removeChild(y)}catch(w){x(y)}},Pi=function(y,w){try{Ar(e.removed,{attribute:w.getAttributeNode(y),from:w})}catch(B){Ar(e.removed,{attribute:null,from:w})}if(w.removeAttribute(y),y==="is"&&!lt[y])if(Xe||Ii)try{Zt(w)}catch(B){}else try{w.setAttribute(y,"")}catch(B){}},Ko=function(y){let w=null,B=null;if(xa)y=""+y;else{const ft=ul(y,/^[\r\n\t ]+/);B=ft&&ft[0]}wr==="application/xhtml+xml"&&Qe===oe&&(y=''+y+"");const G=T?T.createHTML(y):y;if(Qe===oe)try{w=new u().parseFromString(G,wr)}catch(ft){}if(!w||!w.documentElement){w=R.createDocument(Qe,"template",null);try{w.documentElement.innerHTML=Ca?A:G}catch(ft){}}const mt=w.body||w.documentElement;return y&&B&&mt.insertBefore(r.createTextNode(B),mt.childNodes[0]||null),Qe===oe?U.call(w,Le?"html":"body")[0]:Le?w.documentElement:mt},Qo=function(y){return P.call(y.ownerDocument||y,y,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Jo=function(y){return y instanceof d&&(typeof y.nodeName!="string"||typeof y.textContent!="string"||typeof y.removeChild!="function"||!(y.attributes instanceof h)||typeof y.removeAttribute!="function"||typeof y.setAttribute!="function"||typeof y.namespaceURI!="string"||typeof y.insertBefore!="function"||typeof y.hasChildNodes!="function")},tl=function(y){return typeof o=="function"&&y instanceof o},le=function(y,w,B){N[y]&&zi(N[y],G=>{G.call(e,w,B,Je)})},el=function(y){let w=null;if(le("beforeSanitizeElements",y,null),Jo(y))return Zt(y),!0;const B=ct(y.nodeName);if(le("uponSanitizeElement",y,{tagName:B,allowedTags:ot}),y.hasChildNodes()&&!tl(y.firstElementChild)&&St(/<[/\w]/g,y.innerHTML)&&St(/<[/\w]/g,y.textContent)||y.nodeType===Mr.progressingInstruction||ma&&y.nodeType===Mr.comment&&St(/<[/\w]/g,y.data))return Zt(y),!0;if(!ot[B]||kr[B]){if(!kr[B]&&il(B)&&(et.tagNameCheck instanceof RegExp&&St(et.tagNameCheck,B)||et.tagNameCheck instanceof Function&&et.tagNameCheck(B)))return!1;if(ba&&!Ke[B]){const G=k(y)||y.parentNode,mt=_(y)||y.childNodes;if(mt&&G){const ft=mt.length;for(let Et=ft-1;Et>=0;--Et){const Kt=m(mt[Et],!0);Kt.__removalCount=(y.__removalCount||0)+1,G.insertBefore(Kt,C(y))}}}return Zt(y),!0}return y instanceof l&&!Np(y)||(B==="noscript"||B==="noembed"||B==="noframes")&&St(/<\/no(script|embed|frames)/i,y.innerHTML)?(Zt(y),!0):(Ve&&y.nodeType===Mr.text&&(w=y.textContent,zi([ut,tt,Z],G=>{w=Br(w,G," ")}),y.textContent!==w&&(Ar(e.removed,{element:y.cloneNode()}),y.textContent=w)),le("afterSanitizeElements",y,null),!1)},rl=function(y,w,B){if(zo&&(w==="id"||w==="name")&&(B in r||B in Dp))return!1;if(!(ga&&!pa[w]&&St(vt,w))){if(!(Do&&St(Ht,w))){if(!lt[w]||pa[w]){if(!(il(y)&&(et.tagNameCheck instanceof RegExp&&St(et.tagNameCheck,y)||et.tagNameCheck instanceof Function&&et.tagNameCheck(y))&&(et.attributeNameCheck instanceof RegExp&&St(et.attributeNameCheck,w)||et.attributeNameCheck instanceof Function&&et.attributeNameCheck(w))||w==="is"&&et.allowCustomizedBuiltInElements&&(et.tagNameCheck instanceof RegExp&&St(et.tagNameCheck,B)||et.tagNameCheck instanceof Function&&et.tagNameCheck(B))))return!1}else if(!_a[w]){if(!St(se,Br(B,Se,""))){if(!((w==="src"||w==="xlink:href"||w==="href")&&y!=="script"&&ug(B,"data:")===0&&Ho[y])){if(!(Po&&!St(jt,Br(B,Se,"")))){if(B)return!1}}}}}}return!0},il=function(y){return y!=="annotation-xml"&&ul(y,wt)},nl=function(y){le("beforeSanitizeAttributes",y,null);const{attributes:w}=y;if(!w)return;const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:lt};let G=w.length;for(;G--;){const mt=w[G],{name:ft,namespaceURI:Et,value:Kt}=mt,Tr=ct(ft);let Tt=ft==="value"?Kt:fg(Kt);if(B.attrName=Tr,B.attrValue=Tt,B.keepAttr=!0,B.forceKeepAttr=void 0,le("uponSanitizeAttribute",y,B),Tt=B.attrValue,ma&&St(/((--!?|])>)|<\/(style|title)/i,Tt)){Pi(ft,y);continue}if(B.forceKeepAttr||(Pi(ft,y),!B.keepAttr))continue;if(!No&&St(/\/>/i,Tt)){Pi(ft,y);continue}Ve&&zi([ut,tt,Z],sl=>{Tt=Br(Tt,sl," ")});const al=ct(y.nodeName);if(rl(al,Tr,Tt)){if(qo&&(Tr==="id"||Tr==="name")&&(Pi(ft,y),Tt=Op+Tt),T&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!Et)switch(p.getAttributeType(al,Tr)){case"TrustedHTML":{Tt=T.createHTML(Tt);break}case"TrustedScriptURL":{Tt=T.createScriptURL(Tt);break}}try{Et?y.setAttributeNS(Et,ft,Tt):y.setAttribute(ft,Tt),Jo(y)?Zt(y):hl(e.removed)}catch(sl){}}}le("afterSanitizeAttributes",y,null)},zp=function F(y){let w=null;const B=Qo(y);for(le("beforeSanitizeShadowDOM",y,null);w=B.nextNode();)le("uponSanitizeShadowNode",w,null),!el(w)&&(w.content instanceof a&&F(w.content),nl(w));le("afterSanitizeShadowDOM",y,null)};return e.sanitize=function(F){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=null,B=null,G=null,mt=null;if(Ca=!F,Ca&&(F=""),typeof F!="string"&&!tl(F))if(typeof F.toString=="function"){if(F=F.toString(),typeof F!="string")throw Er("dirty is not a string, aborting")}else throw Er("toString is not a function");if(!e.isSupported)return F;if(ya||va(y),e.removed=[],typeof F=="string"&&(vr=!1),vr){if(F.nodeName){const Kt=ct(F.nodeName);if(!ot[Kt]||kr[Kt])throw Er("root node is forbidden and cannot be sanitized in-place")}}else if(F instanceof o)w=Ko(""),B=w.ownerDocument.importNode(F,!0),B.nodeType===Mr.element&&B.nodeName==="BODY"||B.nodeName==="HTML"?w=B:w.appendChild(B);else{if(!Xe&&!Ve&&!Le&&F.indexOf("<")===-1)return T&&$i?T.createHTML(F):F;if(w=Ko(F),!w)return Xe?null:$i?A:""}w&&xa&&Zt(w.firstChild);const ft=Qo(vr?F:w);for(;G=ft.nextNode();)el(G)||(G.content instanceof a&&zp(G.content),nl(G));if(vr)return F;if(Xe){if(Ii)for(mt=q.call(w.ownerDocument);w.firstChild;)mt.appendChild(w.firstChild);else mt=w;return(lt.shadowroot||lt.shadowrootmode)&&(mt=W.call(i,mt,!0)),mt}let Et=Le?w.outerHTML:w.innerHTML;return Le&&ot["!doctype"]&&w.ownerDocument&&w.ownerDocument.doctype&&w.ownerDocument.doctype.name&&St(Gc,w.ownerDocument.doctype.name)&&(Et=" +var qp=Object.defineProperty,Wp=Object.defineProperties;var Hp=Object.getOwnPropertyDescriptors;var ol=Object.getOwnPropertySymbols;var jp=Object.prototype.hasOwnProperty,Up=Object.prototype.propertyIsEnumerable;var Sr=Math.pow,wa=(t,e,r)=>e in t?qp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))jp.call(e,r)&&wa(t,r,e[r]);if(ol)for(var r of ol(e))Up.call(e,r)&&wa(t,r,e[r]);return t},rt=(t,e)=>Wp(t,Hp(e));var V=(t,e,r)=>(wa(t,typeof e!="symbol"?e+"":e,r),r),Yp=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var Ni=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)};var Lr=(t,e,r)=>(Yp(t,e,"access private method"),r);var L=(t,e,r)=>new Promise((i,n)=>{var a=l=>{try{o(r.next(l))}catch(c){n(c)}},s=l=>{try{o(r.throw(l))}catch(c){n(c)}},o=l=>l.done?i(l.value):Promise.resolve(l.value).then(a,s);o((r=r.apply(t,e)).next())});import{j as nr}from"./jsx-runtime-BcCOBRXo.js";import{useMDXComponents as zc}from"./index-BI4Okn8T.js";import{R as ll,r as tr}from"./index-CNk6hRaE.js";import{_ as X}from"./iframe-DsjYyBKh.js";import{d as Gp}from"./dayjs.min-KGLNs1IR.js";import{d as qc}from"./index-DrFu-skq.js";import{s as Vp,a as Xp,c as Zp}from"./Serializer-OW4gUFyn.js";const Qi={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t),hsl2rgb:({h:t,s:e,l:r},i)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;const n=r<.5?r*(1+e):r+e-r*e,a=2*r-n;switch(i){case"r":return Qi.hue2rgb(a,n,t+1/3)*255;case"g":return Qi.hue2rgb(a,n,t)*255;case"b":return Qi.hue2rgb(a,n,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:r},i)=>{t/=255,e/=255,r/=255;const n=Math.max(t,e,r),a=Math.min(t,e,r),s=(n+a)/2;if(i==="l")return s*100;if(n===a)return 0;const o=n-a,l=s>.5?o/(2-n-a):o/(n+a);if(i==="s")return l*100;switch(n){case t:return((e-r)/o+(ee>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},Qp=Kp,Jp={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}},tg=Jp,$={channel:Qi,lang:Qp,unit:tg},be={};for(let t=0;t<=255;t++)be[t]=$.unit.dec2hex(t);const yt={ALL:0,RGB:1,HSL:2};class eg{constructor(){this.type=yt.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=yt.ALL}is(e){return this.type===e}}class rg{constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new eg}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=yt.ALL,this}_ensureHSL(){const e=this.data,{h:r,s:i,l:n}=e;r===void 0&&(e.h=$.channel.rgb2hsl(e,"h")),i===void 0&&(e.s=$.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=$.channel.rgb2hsl(e,"l"))}_ensureRGB(){const e=this.data,{r,g:i,b:n}=e;r===void 0&&(e.r=$.channel.hsl2rgb(e,"r")),i===void 0&&(e.g=$.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=$.channel.hsl2rgb(e,"b"))}get r(){const e=this.data,r=e.r;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),$.channel.hsl2rgb(e,"r"))}get g(){const e=this.data,r=e.g;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),$.channel.hsl2rgb(e,"g"))}get b(){const e=this.data,r=e.b;return!this.type.is(yt.HSL)&&r!==void 0?r:(this._ensureHSL(),$.channel.hsl2rgb(e,"b"))}get h(){const e=this.data,r=e.h;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),$.channel.rgb2hsl(e,"h"))}get s(){const e=this.data,r=e.s;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),$.channel.rgb2hsl(e,"s"))}get l(){const e=this.data,r=e.l;return!this.type.is(yt.RGB)&&r!==void 0?r:(this._ensureRGB(),$.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(yt.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(yt.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(yt.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(yt.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(yt.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(yt.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}const ig=rg,Yn=new ig({r:0,g:0,b:0,a:0},"transparent"),sr={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(sr.re);if(!e)return;const r=e[1],i=parseInt(r,16),n=r.length,a=n%4===0,s=n>4,o=s?1:17,l=s?8:4,c=a?0:-1,h=s?255:15;return Yn.set({r:(i>>l*(c+3)&h)*o,g:(i>>l*(c+2)&h)*o,b:(i>>l*(c+1)&h)*o,a:a?(i&h)*o/255:1},t)},stringify:t=>{const{r:e,g:r,b:i,a:n}=t;return n<1?`#${be[Math.round(e)]}${be[Math.round(r)]}${be[Math.round(i)]}${be[Math.round(n*255)]}`:`#${be[Math.round(e)]}${be[Math.round(r)]}${be[Math.round(i)]}`}},Oe={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(Oe.hueRe);if(e){const[,r,i]=e;switch(i){case"grad":return $.channel.clamp.h(parseFloat(r)*.9);case"rad":return $.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return $.channel.clamp.h(parseFloat(r)*360)}}return $.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const r=t.match(Oe.re);if(!r)return;const[,i,n,a,s,o]=r;return Yn.set({h:Oe._hue2deg(i),s:$.channel.clamp.s(parseFloat(n)),l:$.channel.clamp.l(parseFloat(a)),a:s?$.channel.clamp.a(o?parseFloat(s)/100:parseFloat(s)):1},t)},stringify:t=>{const{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${$.lang.round(e)}, ${$.lang.round(r)}%, ${$.lang.round(i)}%, ${n})`:`hsl(${$.lang.round(e)}, ${$.lang.round(r)}%, ${$.lang.round(i)}%)`}},Yr={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=Yr.colors[t];if(e)return sr.parse(e)},stringify:t=>{const e=sr.stringify(t);for(const r in Yr.colors)if(Yr.colors[r]===e)return r}},zr={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(e!==114&&e!==82)return;const r=t.match(zr.re);if(!r)return;const[,i,n,a,s,o,l,c,h]=r;return Yn.set({r:$.channel.clamp.r(n?parseFloat(i)*2.55:parseFloat(i)),g:$.channel.clamp.g(s?parseFloat(a)*2.55:parseFloat(a)),b:$.channel.clamp.b(l?parseFloat(o)*2.55:parseFloat(o)),a:c?$.channel.clamp.a(h?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${$.lang.round(e)}, ${$.lang.round(r)}, ${$.lang.round(i)}, ${$.lang.round(n)})`:`rgb(${$.lang.round(e)}, ${$.lang.round(r)}, ${$.lang.round(i)})`}},re={format:{keyword:Yr,hex:sr,rgb:zr,rgba:zr,hsl:Oe,hsla:Oe},parse:t=>{if(typeof t!="string")return t;const e=sr.parse(t)||zr.parse(t)||Oe.parse(t)||Yr.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(yt.HSL)||t.data.r===void 0?Oe.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?zr.stringify(t):sr.stringify(t)},Wc=(t,e)=>{const r=re.parse(t);for(const i in e)r[i]=$.channel.clamp[i](e[i]);return re.stringify(r)},Gr=(t,e,r=0,i=1)=>{if(typeof t!="number")return Wc(t,{a:e});const n=Yn.set({r:$.channel.clamp.r(t),g:$.channel.clamp.g(e),b:$.channel.clamp.b(r),a:$.channel.clamp.a(i)});return re.stringify(n)},ng=t=>{const{r:e,g:r,b:i}=re.parse(t),n=.2126*$.channel.toLinear(e)+.7152*$.channel.toLinear(r)+.0722*$.channel.toLinear(i);return $.lang.round(n)},ag=t=>ng(t)>=.5,sg=ag,ki=t=>!sg(t),Hc=(t,e,r)=>{const i=re.parse(t),n=i[e],a=$.channel.clamp[e](n+r);return n!==a&&(i[e]=a),re.stringify(i)},M=(t,e)=>Hc(t,"l",e),O=(t,e)=>Hc(t,"l",-e),b=(t,e)=>{const r=re.parse(t),i={};for(const n in e)e[n]&&(i[n]=r[n]+e[n]);return Wc(t,i)},og=(t,e,r=50)=>{const{r:i,g:n,b:a,a:s}=re.parse(t),{r:o,g:l,b:c,a:h}=re.parse(e),d=r/100,u=d*2-1,p=s-h,m=((u*p===-1?u:(u+p)/(1+u*p))+1)/2,x=1-m,C=i*m+o*x,_=n*m+l*x,k=a*m+c*x,T=s*d+h*(1-d);return Gr(C,_,k,T)},S=(t,e=100)=>{const r=re.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,og(r,t,e)};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:jc,setPrototypeOf:cl,isFrozen:lg,getPrototypeOf:cg,getOwnPropertyDescriptor:hg}=Object;let{freeze:Bt,seal:Wt,create:Uc}=Object,{apply:ja,construct:Ua}=typeof Reflect!="undefined"&&Reflect;Bt||(Bt=function(e){return e});Wt||(Wt=function(e){return e});ja||(ja=function(e,r,i){return e.apply(r,i)});Ua||(Ua=function(e,r){return new e(...r)});const zi=Pt(Array.prototype.forEach),hl=Pt(Array.prototype.pop),Ar=Pt(Array.prototype.push),Ji=Pt(String.prototype.toLowerCase),Ta=Pt(String.prototype.toString),ul=Pt(String.prototype.match),Br=Pt(String.prototype.replace),ug=Pt(String.prototype.indexOf),fg=Pt(String.prototype.trim),Ut=Pt(Object.prototype.hasOwnProperty),St=Pt(RegExp.prototype.test),Er=dg(TypeError);function Pt(t){return function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:Ji;cl&&cl(t,null);let i=e.length;for(;i--;){let n=e[i];if(typeof n=="string"){const a=r(n);a!==n&&(lg(e)||(e[i]=a),n=a)}t[n]=!0}return t}function pg(t){for(let e=0;e/gm),bg=Wt(/\${[\w\W]*}/gm),_g=Wt(/^data-[\-\w.\u00B7-\uFFFF]/),Cg=Wt(/^aria-[\-\w]+$/),Yc=Wt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),kg=Wt(/^(?:\w+script|data):/i),vg=Wt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gc=Wt(/^html$/i),wg=Wt(/^[a-z][.\w]*(-[.\w]+)+$/i);var ml=Object.freeze({__proto__:null,MUSTACHE_EXPR:yg,ERB_EXPR:xg,TMPLIT_EXPR:bg,DATA_ATTR:_g,ARIA_ATTR:Cg,IS_ALLOWED_URI:Yc,IS_SCRIPT_OR_DATA:kg,ATTR_WHITESPACE:vg,DOCTYPE_NAME:Gc,CUSTOM_ELEMENT:wg});const Mr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Tg=function(){return typeof window=="undefined"?null:window},Sg=function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const n="data-tt-policy-suffix";r&&r.hasAttribute(n)&&(i=r.getAttribute(n));const a="dompurify"+(i?"#"+i:"");try{return e.createPolicy(a,{createHTML(s){return s},createScriptURL(s){return s}})}catch(s){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Vc(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tg();const e=F=>Vc(F);if(e.version="3.1.6",e.removed=[],!t||!t.document||t.document.nodeType!==Mr.document)return e.isSupported=!1,e;let{document:r}=t;const i=r,n=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:o,Element:l,NodeFilter:c,NamedNodeMap:h=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:u,trustedTypes:p}=t,g=l.prototype,m=Fr(g,"cloneNode"),x=Fr(g,"remove"),C=Fr(g,"nextSibling"),_=Fr(g,"childNodes"),k=Fr(g,"parentNode");if(typeof s=="function"){const F=r.createElement("template");F.content&&F.content.ownerDocument&&(r=F.content.ownerDocument)}let T,A="";const{implementation:R,createNodeIterator:P,createDocumentFragment:q,getElementsByTagName:U}=r,{importNode:W}=i;let N={};e.isSupported=typeof jc=="function"&&typeof k=="function"&&R&&R.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ut,ERB_EXPR:tt,TMPLIT_EXPR:Z,DATA_ATTR:vt,ARIA_ATTR:Ht,IS_SCRIPT_OR_DATA:jt,ATTR_WHITESPACE:Se,CUSTOM_ELEMENT:wt}=ml;let{IS_ALLOWED_URI:se}=ml,ot=null;const $o=z({},[...fl,...Sa,...La,...Aa,...dl]);let lt=null;const Ro=z({},[...pl,...Ba,...gl,...qi]);let et=Object.seal(Uc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),kr=null,pa=null,Do=!0,ga=!0,Po=!1,No=!0,Ve=!1,ma=!0,Le=!1,ya=!1,xa=!1,Xe=!1,Ii=!1,$i=!1,zo=!0,qo=!1;const Op="user-content-";let ba=!0,vr=!1,Ze={},Ke=null;const Wo=z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ho=null;const jo=z({},["audio","video","img","source","image","track"]);let _a=null;const Uo=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ri="http://www.w3.org/1998/Math/MathML",Di="http://www.w3.org/2000/svg",oe="http://www.w3.org/1999/xhtml";let Qe=oe,Ca=!1,ka=null;const Ip=z({},[Ri,Di,oe],Ta);let wr=null;const $p=["application/xhtml+xml","text/html"],Rp="text/html";let ct=null,Je=null;const Dp=r.createElement("form"),Yo=function(y){return y instanceof RegExp||y instanceof Function},va=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Je&&Je===y)){if((!y||typeof y!="object")&&(y={}),y=Be(y),wr=$p.indexOf(y.PARSER_MEDIA_TYPE)===-1?Rp:y.PARSER_MEDIA_TYPE,ct=wr==="application/xhtml+xml"?Ta:Ji,ot=Ut(y,"ALLOWED_TAGS")?z({},y.ALLOWED_TAGS,ct):$o,lt=Ut(y,"ALLOWED_ATTR")?z({},y.ALLOWED_ATTR,ct):Ro,ka=Ut(y,"ALLOWED_NAMESPACES")?z({},y.ALLOWED_NAMESPACES,Ta):Ip,_a=Ut(y,"ADD_URI_SAFE_ATTR")?z(Be(Uo),y.ADD_URI_SAFE_ATTR,ct):Uo,Ho=Ut(y,"ADD_DATA_URI_TAGS")?z(Be(jo),y.ADD_DATA_URI_TAGS,ct):jo,Ke=Ut(y,"FORBID_CONTENTS")?z({},y.FORBID_CONTENTS,ct):Wo,kr=Ut(y,"FORBID_TAGS")?z({},y.FORBID_TAGS,ct):{},pa=Ut(y,"FORBID_ATTR")?z({},y.FORBID_ATTR,ct):{},Ze=Ut(y,"USE_PROFILES")?y.USE_PROFILES:!1,Do=y.ALLOW_ARIA_ATTR!==!1,ga=y.ALLOW_DATA_ATTR!==!1,Po=y.ALLOW_UNKNOWN_PROTOCOLS||!1,No=y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ve=y.SAFE_FOR_TEMPLATES||!1,ma=y.SAFE_FOR_XML!==!1,Le=y.WHOLE_DOCUMENT||!1,Xe=y.RETURN_DOM||!1,Ii=y.RETURN_DOM_FRAGMENT||!1,$i=y.RETURN_TRUSTED_TYPE||!1,xa=y.FORCE_BODY||!1,zo=y.SANITIZE_DOM!==!1,qo=y.SANITIZE_NAMED_PROPS||!1,ba=y.KEEP_CONTENT!==!1,vr=y.IN_PLACE||!1,se=y.ALLOWED_URI_REGEXP||Yc,Qe=y.NAMESPACE||oe,et=y.CUSTOM_ELEMENT_HANDLING||{},y.CUSTOM_ELEMENT_HANDLING&&Yo(y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(et.tagNameCheck=y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),y.CUSTOM_ELEMENT_HANDLING&&Yo(y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(et.attributeNameCheck=y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),y.CUSTOM_ELEMENT_HANDLING&&typeof y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(et.allowCustomizedBuiltInElements=y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ve&&(ga=!1),Ii&&(Xe=!0),Ze&&(ot=z({},dl),lt=[],Ze.html===!0&&(z(ot,fl),z(lt,pl)),Ze.svg===!0&&(z(ot,Sa),z(lt,Ba),z(lt,qi)),Ze.svgFilters===!0&&(z(ot,La),z(lt,Ba),z(lt,qi)),Ze.mathMl===!0&&(z(ot,Aa),z(lt,gl),z(lt,qi))),y.ADD_TAGS&&(ot===$o&&(ot=Be(ot)),z(ot,y.ADD_TAGS,ct)),y.ADD_ATTR&&(lt===Ro&&(lt=Be(lt)),z(lt,y.ADD_ATTR,ct)),y.ADD_URI_SAFE_ATTR&&z(_a,y.ADD_URI_SAFE_ATTR,ct),y.FORBID_CONTENTS&&(Ke===Wo&&(Ke=Be(Ke)),z(Ke,y.FORBID_CONTENTS,ct)),ba&&(ot["#text"]=!0),Le&&z(ot,["html","head","body"]),ot.table&&(z(ot,["tbody"]),delete kr.tbody),y.TRUSTED_TYPES_POLICY){if(typeof y.TRUSTED_TYPES_POLICY.createHTML!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Er('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');T=y.TRUSTED_TYPES_POLICY,A=T.createHTML("")}else T===void 0&&(T=Sg(p,n)),T!==null&&typeof A=="string"&&(A=T.createHTML(""));Bt&&Bt(y),Je=y}},Go=z({},["mi","mo","mn","ms","mtext"]),Vo=z({},["foreignobject","annotation-xml"]),Pp=z({},["title","style","font","a","script"]),Xo=z({},[...Sa,...La,...gg]),Zo=z({},[...Aa,...mg]),Np=function(y){let w=k(y);(!w||!w.tagName)&&(w={namespaceURI:Qe,tagName:"template"});const B=Ji(y.tagName),G=Ji(w.tagName);return ka[y.namespaceURI]?y.namespaceURI===Di?w.namespaceURI===oe?B==="svg":w.namespaceURI===Ri?B==="svg"&&(G==="annotation-xml"||Go[G]):!!Xo[B]:y.namespaceURI===Ri?w.namespaceURI===oe?B==="math":w.namespaceURI===Di?B==="math"&&Vo[G]:!!Zo[B]:y.namespaceURI===oe?w.namespaceURI===Di&&!Vo[G]||w.namespaceURI===Ri&&!Go[G]?!1:!Zo[B]&&(Pp[B]||!Xo[B]):!!(wr==="application/xhtml+xml"&&ka[y.namespaceURI]):!1},Zt=function(y){Ar(e.removed,{element:y});try{k(y).removeChild(y)}catch(w){x(y)}},Pi=function(y,w){try{Ar(e.removed,{attribute:w.getAttributeNode(y),from:w})}catch(B){Ar(e.removed,{attribute:null,from:w})}if(w.removeAttribute(y),y==="is"&&!lt[y])if(Xe||Ii)try{Zt(w)}catch(B){}else try{w.setAttribute(y,"")}catch(B){}},Ko=function(y){let w=null,B=null;if(xa)y=""+y;else{const ft=ul(y,/^[\r\n\t ]+/);B=ft&&ft[0]}wr==="application/xhtml+xml"&&Qe===oe&&(y=''+y+"");const G=T?T.createHTML(y):y;if(Qe===oe)try{w=new u().parseFromString(G,wr)}catch(ft){}if(!w||!w.documentElement){w=R.createDocument(Qe,"template",null);try{w.documentElement.innerHTML=Ca?A:G}catch(ft){}}const mt=w.body||w.documentElement;return y&&B&&mt.insertBefore(r.createTextNode(B),mt.childNodes[0]||null),Qe===oe?U.call(w,Le?"html":"body")[0]:Le?w.documentElement:mt},Qo=function(y){return P.call(y.ownerDocument||y,y,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Jo=function(y){return y instanceof d&&(typeof y.nodeName!="string"||typeof y.textContent!="string"||typeof y.removeChild!="function"||!(y.attributes instanceof h)||typeof y.removeAttribute!="function"||typeof y.setAttribute!="function"||typeof y.namespaceURI!="string"||typeof y.insertBefore!="function"||typeof y.hasChildNodes!="function")},tl=function(y){return typeof o=="function"&&y instanceof o},le=function(y,w,B){N[y]&&zi(N[y],G=>{G.call(e,w,B,Je)})},el=function(y){let w=null;if(le("beforeSanitizeElements",y,null),Jo(y))return Zt(y),!0;const B=ct(y.nodeName);if(le("uponSanitizeElement",y,{tagName:B,allowedTags:ot}),y.hasChildNodes()&&!tl(y.firstElementChild)&&St(/<[/\w]/g,y.innerHTML)&&St(/<[/\w]/g,y.textContent)||y.nodeType===Mr.progressingInstruction||ma&&y.nodeType===Mr.comment&&St(/<[/\w]/g,y.data))return Zt(y),!0;if(!ot[B]||kr[B]){if(!kr[B]&&il(B)&&(et.tagNameCheck instanceof RegExp&&St(et.tagNameCheck,B)||et.tagNameCheck instanceof Function&&et.tagNameCheck(B)))return!1;if(ba&&!Ke[B]){const G=k(y)||y.parentNode,mt=_(y)||y.childNodes;if(mt&&G){const ft=mt.length;for(let Et=ft-1;Et>=0;--Et){const Kt=m(mt[Et],!0);Kt.__removalCount=(y.__removalCount||0)+1,G.insertBefore(Kt,C(y))}}}return Zt(y),!0}return y instanceof l&&!Np(y)||(B==="noscript"||B==="noembed"||B==="noframes")&&St(/<\/no(script|embed|frames)/i,y.innerHTML)?(Zt(y),!0):(Ve&&y.nodeType===Mr.text&&(w=y.textContent,zi([ut,tt,Z],G=>{w=Br(w,G," ")}),y.textContent!==w&&(Ar(e.removed,{element:y.cloneNode()}),y.textContent=w)),le("afterSanitizeElements",y,null),!1)},rl=function(y,w,B){if(zo&&(w==="id"||w==="name")&&(B in r||B in Dp))return!1;if(!(ga&&!pa[w]&&St(vt,w))){if(!(Do&&St(Ht,w))){if(!lt[w]||pa[w]){if(!(il(y)&&(et.tagNameCheck instanceof RegExp&&St(et.tagNameCheck,y)||et.tagNameCheck instanceof Function&&et.tagNameCheck(y))&&(et.attributeNameCheck instanceof RegExp&&St(et.attributeNameCheck,w)||et.attributeNameCheck instanceof Function&&et.attributeNameCheck(w))||w==="is"&&et.allowCustomizedBuiltInElements&&(et.tagNameCheck instanceof RegExp&&St(et.tagNameCheck,B)||et.tagNameCheck instanceof Function&&et.tagNameCheck(B))))return!1}else if(!_a[w]){if(!St(se,Br(B,Se,""))){if(!((w==="src"||w==="xlink:href"||w==="href")&&y!=="script"&&ug(B,"data:")===0&&Ho[y])){if(!(Po&&!St(jt,Br(B,Se,"")))){if(B)return!1}}}}}}return!0},il=function(y){return y!=="annotation-xml"&&ul(y,wt)},nl=function(y){le("beforeSanitizeAttributes",y,null);const{attributes:w}=y;if(!w)return;const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:lt};let G=w.length;for(;G--;){const mt=w[G],{name:ft,namespaceURI:Et,value:Kt}=mt,Tr=ct(ft);let Tt=ft==="value"?Kt:fg(Kt);if(B.attrName=Tr,B.attrValue=Tt,B.keepAttr=!0,B.forceKeepAttr=void 0,le("uponSanitizeAttribute",y,B),Tt=B.attrValue,ma&&St(/((--!?|])>)|<\/(style|title)/i,Tt)){Pi(ft,y);continue}if(B.forceKeepAttr||(Pi(ft,y),!B.keepAttr))continue;if(!No&&St(/\/>/i,Tt)){Pi(ft,y);continue}Ve&&zi([ut,tt,Z],sl=>{Tt=Br(Tt,sl," ")});const al=ct(y.nodeName);if(rl(al,Tr,Tt)){if(qo&&(Tr==="id"||Tr==="name")&&(Pi(ft,y),Tt=Op+Tt),T&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!Et)switch(p.getAttributeType(al,Tr)){case"TrustedHTML":{Tt=T.createHTML(Tt);break}case"TrustedScriptURL":{Tt=T.createScriptURL(Tt);break}}try{Et?y.setAttributeNS(Et,ft,Tt):y.setAttribute(ft,Tt),Jo(y)?Zt(y):hl(e.removed)}catch(sl){}}}le("afterSanitizeAttributes",y,null)},zp=function F(y){let w=null;const B=Qo(y);for(le("beforeSanitizeShadowDOM",y,null);w=B.nextNode();)le("uponSanitizeShadowNode",w,null),!el(w)&&(w.content instanceof a&&F(w.content),nl(w));le("afterSanitizeShadowDOM",y,null)};return e.sanitize=function(F){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=null,B=null,G=null,mt=null;if(Ca=!F,Ca&&(F=""),typeof F!="string"&&!tl(F))if(typeof F.toString=="function"){if(F=F.toString(),typeof F!="string")throw Er("dirty is not a string, aborting")}else throw Er("toString is not a function");if(!e.isSupported)return F;if(ya||va(y),e.removed=[],typeof F=="string"&&(vr=!1),vr){if(F.nodeName){const Kt=ct(F.nodeName);if(!ot[Kt]||kr[Kt])throw Er("root node is forbidden and cannot be sanitized in-place")}}else if(F instanceof o)w=Ko(""),B=w.ownerDocument.importNode(F,!0),B.nodeType===Mr.element&&B.nodeName==="BODY"||B.nodeName==="HTML"?w=B:w.appendChild(B);else{if(!Xe&&!Ve&&!Le&&F.indexOf("<")===-1)return T&&$i?T.createHTML(F):F;if(w=Ko(F),!w)return Xe?null:$i?A:""}w&&xa&&Zt(w.firstChild);const ft=Qo(vr?F:w);for(;G=ft.nextNode();)el(G)||(G.content instanceof a&&zp(G.content),nl(G));if(vr)return F;if(Xe){if(Ii)for(mt=q.call(w.ownerDocument);w.firstChild;)mt.appendChild(w.firstChild);else mt=w;return(lt.shadowroot||lt.shadowrootmode)&&(mt=W.call(i,mt,!0)),mt}let Et=Le?w.outerHTML:w.innerHTML;return Le&&ot["!doctype"]&&w.ownerDocument&&w.ownerDocument.doctype&&w.ownerDocument.doctype.name&&St(Gc,w.ownerDocument.doctype.name)&&(Et=" `+Et),Ve&&zi([ut,tt,Z],Kt=>{Et=Br(Et,Kt," ")}),T&&$i?T.createHTML(Et):Et},e.setConfig=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};va(F),ya=!0},e.clearConfig=function(){Je=null,ya=!1},e.isValidAttribute=function(F,y,w){Je||va({});const B=ct(F),G=ct(y);return rl(B,G,w)},e.addHook=function(F,y){typeof y=="function"&&(N[F]=N[F]||[],Ar(N[F],y))},e.removeHook=function(F){if(N[F])return hl(N[F])},e.removeHooks=function(F){N[F]&&(N[F]=[])},e.removeAllHooks=function(){N={}},e}var cr=Vc(),Xc=Object.defineProperty,f=(t,e)=>Xc(t,"name",{value:e,configurable:!0}),Lg=(t,e)=>{for(var r in e)Xc(t,r,{get:e[r],enumerable:!0})},ce={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},v={trace:f((...t)=>{},"trace"),debug:f((...t)=>{},"debug"),info:f((...t)=>{},"info"),warn:f((...t)=>{},"warn"),error:f((...t)=>{},"error"),fatal:f((...t)=>{},"fatal")},Rs=f(function(t="fatal"){let e=ce.fatal;typeof t=="string"?t.toLowerCase()in ce&&(e=ce[t]):typeof t=="number"&&(e=t),v.trace=()=>{},v.debug=()=>{},v.info=()=>{},v.warn=()=>{},v.error=()=>{},v.fatal=()=>{},e<=ce.fatal&&(v.fatal=console.error?console.error.bind(console,qt("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",qt("FATAL"))),e<=ce.error&&(v.error=console.error?console.error.bind(console,qt("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",qt("ERROR"))),e<=ce.warn&&(v.warn=console.warn?console.warn.bind(console,qt("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",qt("WARN"))),e<=ce.info&&(v.info=console.info?console.info.bind(console,qt("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",qt("INFO"))),e<=ce.debug&&(v.debug=console.debug?console.debug.bind(console,qt("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",qt("DEBUG"))),e<=ce.trace&&(v.trace=console.debug?console.debug.bind(console,qt("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",qt("TRACE")))},"setLogLevel"),qt=f(t=>`%c${Gp().format("ss.SSS")} : ${t} : `,"format"),Zc=new RegExp("^-{3}\\s*[\\n\\r](.*?)[\\n\\r]-{3}\\s*[\\n\\r]+","s"),Vr=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Ag=/\s*%%.*\n/gm,di,Kc=(di=class extends Error{constructor(e){super(e),this.name="UnknownDiagramError"}},f(di,"UnknownDiagramError"),di),hr={},Ds=f(function(t,e){t=t.replace(Zc,"").replace(Vr,"").replace(Ag,` `);for(const[r,{detector:i}]of Object.entries(hr))if(i(t,e))return r;throw new Kc(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),Qc=f((...t)=>{for(const{id:e,detector:r,loader:i}of t)Jc(e,r,i)},"registerLazyLoadedDiagrams"),Jc=f((t,e,r)=>{hr[t]&&v.warn(`Detector with key ${t} already exists. Overwriting.`),hr[t]={detector:e,loader:r},v.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),Bg=f(t=>hr[t].loader,"getDiagramLoader"),Ya=f((t,e,{depth:r=2,clobber:i=!1}={})=>{const n={depth:r,clobber:i};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(a=>Ya(t,a,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(a=>{t.includes(a)||t.push(a)}),t):t===void 0||r<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(a=>{typeof e[a]=="object"&&(t[a]===void 0||typeof t[a]=="object")?(t[a]===void 0&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=Ya(t[a],e[a],{depth:r-1,clobber:i})):(i||typeof t[a]!="object"&&typeof e[a]!="object")&&(t[a]=e[a])}),t)},"assignWithDepth"),pt=Ya,Gn="#ffffff",Vn="#f2f2f2",Lt=f((t,e)=>e?b(t,{s:-40,l:10}):b(t,{s:-40,l:-10}),"mkBorder"),pi,Eg=(pi=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var r,i,n,a,s,o,l,c,h,d,u;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||b(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||b(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Lt(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Lt(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||S(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||S(this.tertiaryColor),this.lineColor=this.lineColor||S(this.background),this.arrowheadColor=this.arrowheadColor||S(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?O(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||O(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||S(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||M(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||b(this.primaryColor,{h:30}),this.cScale4=this.cScale4||b(this.primaryColor,{h:60}),this.cScale5=this.cScale5||b(this.primaryColor,{h:90}),this.cScale6=this.cScale6||b(this.primaryColor,{h:120}),this.cScale7=this.cScale7||b(this.primaryColor,{h:150}),this.cScale8=this.cScale8||b(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||b(this.primaryColor,{h:270}),this.cScale10=this.cScale10||b(this.primaryColor,{h:300}),this.cScale11=this.cScale11||b(this.primaryColor,{h:330}),this.darkMode)for(let p=0;p{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},f(pi,"Theme"),pi),Fg=f(t=>{const e=new Eg;return e.calculate(t),e},"getThemeVariables"),gi,Mg=(gi=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=M(this.primaryColor,16),this.tertiaryColor=b(this.primaryColor,{h:-160}),this.primaryBorderColor=S(this.background),this.secondaryBorderColor=Lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=S(this.primaryColor),this.secondaryTextColor=S(this.secondaryColor),this.tertiaryTextColor=S(this.tertiaryColor),this.lineColor=S(this.background),this.textColor=S(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=M(S("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Gr(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=O("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=O(this.sectionBkgColor,10),this.taskBorderColor=Gr(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Gr(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var e,r,i,n,a,s,o,l,c,h,d;this.secondBkg=M(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=M(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=M(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=b(this.primaryColor,{h:64}),this.fillType3=b(this.secondaryColor,{h:64}),this.fillType4=b(this.primaryColor,{h:-64}),this.fillType5=b(this.secondaryColor,{h:-64}),this.fillType6=b(this.primaryColor,{h:128}),this.fillType7=b(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||b(this.primaryColor,{h:30}),this.cScale4=this.cScale4||b(this.primaryColor,{h:60}),this.cScale5=this.cScale5||b(this.primaryColor,{h:90}),this.cScale6=this.cScale6||b(this.primaryColor,{h:120}),this.cScale7=this.cScale7||b(this.primaryColor,{h:150}),this.cScale8=this.cScale8||b(this.primaryColor,{h:210}),this.cScale9=this.cScale9||b(this.primaryColor,{h:270}),this.cScale10=this.cScale10||b(this.primaryColor,{h:300}),this.cScale11=this.cScale11||b(this.primaryColor,{h:330});for(let u=0;u{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},f(gi,"Theme"),gi),Og=f(t=>{const e=new Mg;return e.calculate(t),e},"getThemeVariables"),mi,Ig=(mi=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=b(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=b(this.primaryColor,{h:-160}),this.primaryBorderColor=Lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=Lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=S(this.primaryColor),this.secondaryTextColor=S(this.secondaryColor),this.tertiaryTextColor=S(this.tertiaryColor),this.lineColor=S(this.background),this.textColor=S(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=Gr(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var e,r,i,n,a,s,o,l,c,h,d;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||b(this.primaryColor,{h:30}),this.cScale4=this.cScale4||b(this.primaryColor,{h:60}),this.cScale5=this.cScale5||b(this.primaryColor,{h:90}),this.cScale6=this.cScale6||b(this.primaryColor,{h:120}),this.cScale7=this.cScale7||b(this.primaryColor,{h:150}),this.cScale8=this.cScale8||b(this.primaryColor,{h:210}),this.cScale9=this.cScale9||b(this.primaryColor,{h:270}),this.cScale10=this.cScale10||b(this.primaryColor,{h:300}),this.cScale11=this.cScale11||b(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||O(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||O(this.tertiaryColor,40);for(let u=0;u{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},f(mi,"Theme"),mi),$g=f(t=>{const e=new Ig;return e.calculate(t),e},"getThemeVariables"),yi,Rg=(yi=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=M("#cde498",10),this.primaryBorderColor=Lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=Lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=S(this.primaryColor),this.secondaryTextColor=S(this.secondaryColor),this.tertiaryTextColor=S(this.primaryColor),this.lineColor=S(this.background),this.textColor=S(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,r,i,n,a,s,o,l,c,h,d;this.actorBorder=O(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||b(this.primaryColor,{h:30}),this.cScale4=this.cScale4||b(this.primaryColor,{h:60}),this.cScale5=this.cScale5||b(this.primaryColor,{h:90}),this.cScale6=this.cScale6||b(this.primaryColor,{h:120}),this.cScale7=this.cScale7||b(this.primaryColor,{h:150}),this.cScale8=this.cScale8||b(this.primaryColor,{h:210}),this.cScale9=this.cScale9||b(this.primaryColor,{h:270}),this.cScale10=this.cScale10||b(this.primaryColor,{h:300}),this.cScale11=this.cScale11||b(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||O(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||O(this.tertiaryColor,40);for(let u=0;u{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},f(yi,"Theme"),yi),Dg=f(t=>{const e=new Rg;return e.calculate(t),e},"getThemeVariables"),xi,Pg=(xi=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=M(this.contrast,55),this.background="#ffffff",this.tertiaryColor=b(this.primaryColor,{h:-160}),this.primaryBorderColor=Lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=Lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=S(this.primaryColor),this.secondaryTextColor=S(this.secondaryColor),this.tertiaryTextColor=S(this.tertiaryColor),this.lineColor=S(this.background),this.textColor=S(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,r,i,n,a,s,o,l,c,h,d;this.secondBkg=M(this.contrast,55),this.border2=this.contrast,this.actorBorder=M(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let u=0;u{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},f(xi,"Theme"),xi),Ng=f(t=>{const e=new Pg;return e.calculate(t),e},"getThemeVariables"),ue={base:{getThemeVariables:Fg},dark:{getThemeVariables:Og},default:{getThemeVariables:$g},forest:{getThemeVariables:Dg},neutral:{getThemeVariables:Ng}},ye={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},th=rt(D({},ye),{deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"SIMPLE"},themeCSS:void 0,themeVariables:ue.default.getThemeVariables(),sequence:rt(D({},ye.sequence),{messageFont:f(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:f(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:f(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")}),gantt:rt(D({},ye.gantt),{tickInterval:void 0,useWidth:void 0}),c4:rt(D({},ye.c4),{useWidth:void 0,personFont:f(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:f(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:f(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:f(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:f(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:f(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:f(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:f(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:f(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:f(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:f(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:f(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:f(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:f(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:f(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:f(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:f(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:f(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:f(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:f(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:f(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:f(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")}),pie:rt(D({},ye.pie),{useWidth:984}),xyChart:rt(D({},ye.xyChart),{useWidth:void 0}),requirement:rt(D({},ye.requirement),{useWidth:void 0}),packet:D({},ye.packet)}),eh=f((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:typeof t[i]=="object"&&t[i]!==null?[...r,e+i,...eh(t[i],"")]:[...r,e+i],[]),"keyify"),zg=new Set(eh(th,"")),qg=th,cn=f(t=>{if(v.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>cn(e));return}for(const e of Object.keys(t)){if(v.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!zg.has(e)||t[e]==null){v.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){v.debug("sanitizing object",e),cn(t[e]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const i of r)e.includes(i)&&(v.debug("sanitizing css option",e),t[e]=Wg(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const r=t.themeVariables[e];r!=null&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}v.debug("After sanitization",t)}},"sanitizeDirective"),Wg=f(t=>{let e=0,r=0;for(const i of t){if(e{let r=pt({},t),i={};for(const n of e)ah(n),i=pt(i,n);if(r=pt(r,i),i.theme&&i.theme in ue){const n=pt({},rh),a=pt(n.themeVariables||{},i.themeVariables);r.theme&&r.theme in ue&&(r.themeVariables=ue[r.theme].getThemeVariables(a))}return Xr=r,sh(Xr),Xr},"updateCurrentConfig"),Hg=f(t=>(Mt=pt({},ur),Mt=pt(Mt,t),t.theme&&ue[t.theme]&&(Mt.themeVariables=ue[t.theme].getThemeVariables(t.themeVariables)),Xn(Mt,fr),Mt),"setSiteConfig"),jg=f(t=>{rh=pt({},t)},"saveConfigFromInitialize"),Ug=f(t=>(Mt=pt(Mt,t),Xn(Mt,fr),Mt),"updateSiteConfig"),ih=f(()=>pt({},Mt),"getSiteConfig"),nh=f(t=>(sh(t),pt(Xr,t),pe()),"setConfig"),pe=f(()=>pt({},Xr),"getConfig"),ah=f(t=>{var e;t&&(["secure",...(e=Mt.secure)!=null?e:[]].forEach(r=>{Object.hasOwn(t,r)&&(v.debug(`Denied attempt to modify a secure key ${r}`,t[r]),delete t[r])}),Object.keys(t).forEach(r=>{r.startsWith("__")&&delete t[r]}),Object.keys(t).forEach(r=>{typeof t[r]=="string"&&(t[r].includes("<")||t[r].includes(">")||t[r].includes("url(data:"))&&delete t[r],typeof t[r]=="object"&&ah(t[r])}))},"sanitize"),Yg=f(t=>{var e;cn(t),t.fontFamily&&!((e=t.themeVariables)!=null&&e.fontFamily)&&(t.themeVariables=rt(D({},t.themeVariables),{fontFamily:t.fontFamily})),fr.push(t),Xn(Mt,fr)},"addDirective"),hn=f((t=Mt)=>{fr=[],Xn(t,fr)},"reset"),Gg={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},yl={},Vg=f(t=>{yl[t]||(v.warn(Gg[t]),yl[t]=!0)},"issueWarning"),sh=f(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Vg("LAZY_LOAD_DEPRECATED")},"checkConfig"),vi=//gi,Xg=f(t=>t?ch(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Zg=(()=>{let t=!1;return()=>{t||(oh(),t=!0)}})();function oh(){const t="data-temp-href-target";cr.addHook("beforeSanitizeAttributes",e=>{var r;e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,(r=e.getAttribute("target"))!=null?r:"")}),cr.addHook("afterSanitizeAttributes",e=>{var r;e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",(r=e.getAttribute(t))!=null?r:""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}f(oh,"setupDompurifyHooks");var lh=f(t=>(Zg(),cr.sanitize(t)),"removeScript"),xl=f((t,e)=>{var r;if(((r=e.flowchart)==null?void 0:r.htmlLabels)!==!1){const i=e.securityLevel;i==="antiscript"||i==="strict"?t=lh(t):i!=="loose"&&(t=ch(t),t=t.replace(//g,">"),t=t.replace(/=/g,"="),t=tm(t))}return t},"sanitizeMore"),dr=f((t,e)=>t&&(e.dompurifyConfig?t=cr.sanitize(xl(t,e),e.dompurifyConfig).toString():t=cr.sanitize(xl(t,e),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),Kg=f((t,e)=>typeof t=="string"?dr(t,e):t.flat().map(r=>dr(r,e)),"sanitizeTextOrArray"),Qg=f(t=>vi.test(t),"hasBreaks"),Jg=f(t=>t.split(vi),"splitBreaks"),tm=f(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),ch=f(t=>t.replace(vi,"#br#"),"breakToPlaceholder"),em=f(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},"getUrl"),Vt=f(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),rm=f(function(...t){const e=t.filter(r=>!isNaN(r));return Math.max(...e)},"getMax"),im=f(function(...t){const e=t.filter(r=>!isNaN(r));return Math.min(...e)},"getMin"),ZS=f(function(t){const e=t.split(/(,)/),r=[];for(let i=0;i0&&i+1Math.max(0,t.split(e).length-1),"countOccurrence"),nm=f((t,e)=>{const r=Ga(t,"~"),i=Ga(e,"~");return r===1&&i===1},"shouldCombineSets"),am=f(t=>{const e=Ga(t,"~");let r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);const i=[...t];let n=i.indexOf("~"),a=i.lastIndexOf("~");for(;n!==-1&&a!==-1&&n!==a;)i[n]="<",i[a]=">",n=i.indexOf("~"),a=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),bl=f(()=>window.MathMLElement!==void 0,"isMathMLSupported"),Va=/\$\$(.*)\$\$/g,Jr=f(t=>{var e,r;return((r=(e=t.match(Va))==null?void 0:e.length)!=null?r:0)>0},"hasKatex"),KS=f((t,e)=>L(void 0,null,function*(){t=yield Ps(t,e);const r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";const i=document.querySelector("body");i==null||i.insertAdjacentElement("beforeend",r);const n={width:r.clientWidth,height:r.clientHeight};return r.remove(),n}),"calculateMathMLDimensions"),Ps=f((t,e)=>L(void 0,null,function*(){if(!Jr(t))return t;if(!(bl()||e.legacyMathML||e.forceLegacyMathML))return t.replace(Va,"MathML is unsupported in this environment.");const{default:r}=yield X(()=>import("./katex-CZYHScXU.js"),__vite__mapDeps([]),import.meta.url),i=e.forceLegacyMathML||!bl()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(vi).map(n=>Jr(n)?`
${n}
`:`
${n}
`).join("").replace(Va,(n,a)=>r.renderToString(a,{throwOnError:!0,displayMode:!0,output:i}).replace(/\n/g," ").replace(//g,""))}),"renderKatex"),br={getRows:Xg,sanitizeText:dr,sanitizeTextOrArray:Kg,hasBreaks:Qg,splitBreaks:Jg,lineBreakRegex:vi,removeScript:lh,getUrl:em,evaluate:Vt,getMax:rm,getMin:im},sm=f(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),om=f(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),hh=f(function(t,e,r,i){const n=om(e,r,i);sm(t,n)},"configureSvgSize"),lm=f(function(t,e,r,i){const n=e.node().getBBox(),a=n.width,s=n.height;v.info(`SVG bounds: ${a}x${s}`,n);let o=0,l=0;v.info(`Graph bounds: ${o}x${l}`,t),o=a+r*2,l=s+r*2,v.info(`Calculated bounds: ${o}x${l}`),hh(e,l,o,i);const c=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",c)},"setupGraphViewbox"),tn={},cm=f((t,e,r)=>{let i="";return t in tn&&tn[t]?i=tn[t](r):v.warn(`No theme found for ${t}`),` & { font-family: ${r.fontFamily}; @@ -125,8 +125,8 @@ Please report this to https://github.com/markedjs/marked.`,e){const n="

An err point:`,u,` node: `,e,` -res:`,nt.polygon(e,c,u)),nt.polygon(e,c,u)},n}),"question"),Bv=f((t,e,r,i,n)=>[`M${t+n},${e}`,`L${t+r-n},${e}`,`L${t+r},${e-i/2}`,`L${t+r-n},${e-i}`,`L${t+n},${e-i}`,`L${t},${e-i/2}`,"Z"].join(" "),"createHexagonPathD"),Ev=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=4,o=a.height+e.padding,l=o/s,c=a.width+2*l+e.padding,h=[{x:l,y:0},{x:c-l,y:0},{x:c,y:-o/2},{x:c-l,y:-o},{x:l,y:-o},{x:0,y:-o/2}];let d;const{cssStyles:u}=e;if(e.look==="handDrawn"){const p=J.svg(n),g=gt(e,{}),m=Bv(0,0,c,o,l),x=p.path(m,g);d=n.insert(()=>x,":first-child").attr("transform",`translate(${-c/2}, ${o/2})`),u&&d.attr("style",u)}else d=me(n,c,o,h);return i&&d.attr("style",i),e.width=c,e.height=o,at(e,d),e.intersect=function(p){return nt.polygon(e,h,p)},n}),"hexagon"),Fv=f((t,e,r,i)=>[`M${t-2*i/6},${e}`,`L${t+r-i/6},${e}`,`L${t+r+2*i/6},${e-i}`,`L${t+i/6},${e-i}`,"Z"].join(" "),"createLeanRightPathD"),Mv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:-2*o/6,y:0},{x:s-o/6,y:0},{x:s+2*o/6,y:-o},{x:o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=Fv(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"lean_right"),Ov=f((t,e,r,i)=>[`M${t+2*i/6},${e}`,`L${t+r+i/6},${e}`,`L${t+r-2*i/6},${e-i}`,`L${t-i/6},${e-i}`,"Z"].join(" "),"createLeanLeftPathD"),Iv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:2*o/6,y:0},{x:s+o/6,y:0},{x:s-2*o/6,y:-o},{x:-o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=Ov(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"lean_left"),$v=f((t,e,r,i)=>[`M${t-2*i/6},${e}`,`L${t+r+2*i/6},${e}`,`L${t+r-i/6},${e-i}`,`L${t+i/6},${e-i}`,"Z"].join(" "),"createTrapezoidPathD"),Rv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:-2*o/6,y:0},{x:s+2*o/6,y:0},{x:s-o/6,y:-o},{x:o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=$v(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"trapezoid"),Dv=f((t,e,r,i)=>[`M${t+i/6},${e}`,`L${t+r-i/6},${e}`,`L${t+r+2*i/6},${e-i}`,`L${t-2*i/6},${e-i}`,"Z"].join(" "),"createInvertedTrapezoidPathD"),Pv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:o/6,y:0},{x:s-o/6,y:0},{x:s+2*o/6,y:-o},{x:-2*o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=Dv(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"inv_trapezoid"),Nv=f((t,e)=>L(void 0,null,function*(){const{shapeSvg:r}=yield Ct(t,e,"label"),i=r.insert("rect",":first-child");return i.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),at(e,i),e.intersect=function(s){return nt.rect(e,s)},r}),"labelRect"),Tc={state:cv,stateStart:fv,stateEnd:dv,fork:wc,join:wc,choice:pv,note:gv,roundedRect:hv,rectWithTitle:yv,squareRect:uv,stadium:mv,subroutine:xv,cylinder:kv,circle:vv,doublecircle:wv,odd:Sv,diamond:Av,hexagon:Ev,lean_right:Mv,lean_left:Iv,trapezoid:Rv,inv_trapezoid:Pv,labelRect:Nv},lr=new Map,zv=f((t,e,r)=>L(void 0,null,function*(){let i,n;if(e.shape==="rect"&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect"),e.link){let a;H().securityLevel==="sandbox"?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),n=yield Tc[e.shape](i,e,r)}else n=yield Tc[e.shape](t,e,r),i=n;return e.tooltip&&n.attr("title",e.tooltip),lr.set(e.id,i),e.haveCallback&&lr.get(e.id).attr("class",lr.get(e.id).attr("class")+" clickable"),i}),"insertNode"),mL=f((t,e)=>{lr.set(e.id,t)},"setNodeElem"),yL=f(()=>{lr.clear()},"clear"),xL=f(t=>{const e=lr.get(t.id);v.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=8,i=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+i-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),i},"positionNode"),qv={common:br,getConfig:pe,insertCluster:Pk,insertEdge:Yk,insertEdgeLabel:qk,insertMarkers:nv,insertNode:zv,interpolateToCurve:so,labelHelper:Ct,log:v,positionEdgeLabel:Wk},li={},ff=f(t=>{for(const e of t)li[e.name]=e},"registerLayoutLoaders"),Wv=f(()=>{ff([{name:"dagre",loader:f(()=>L(void 0,null,function*(){return yield X(()=>import("./dagre-P3YPLUS5-Dxc5z9VO.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)}),"loader")}])},"registerDefaultLayoutLoaders");Wv();var bL=f((t,e)=>L(void 0,null,function*(){if(!(t.layoutAlgorithm in li))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);const r=li[t.layoutAlgorithm];return(yield r.loader()).render(t,e,qv,{algorithm:r.algorithm})}),"render"),_L=f((t="",{fallback:e="dagre"}={})=>{if(t in li)return t;if(e in li)return v.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm"),Sc="11.2.1",Hv=f(t=>{var n,a;const{securityLevel:e}=H();let r=Q("body");if(e==="sandbox"){const o=(a=(n=Q(`#i${t}`).node())==null?void 0:n.contentDocument)!=null?a:document;r=Q(o.body)}return r.select(`#${t}`)},"selectSvgElement"),jv=su(Object.keys,Object),Uv=Object.prototype,Yv=Uv.hasOwnProperty;function Gv(t){if(!na(t))return jv(t);var e=[];for(var r in Object(t))Yv.call(t,r)&&r!="constructor"&&e.push(r);return e}var gs=Ye(ae,"DataView"),ms=Ye(ae,"Promise"),ys=Ye(ae,"Set"),xs=Ye(ae,"WeakMap"),Lc="[object Map]",Vv="[object Object]",Ac="[object Promise]",Bc="[object Set]",Ec="[object WeakMap]",Fc="[object DataView]",Xv=Ue(gs),Zv=Ue(ai),Kv=Ue(ms),Qv=Ue(ys),Jv=Ue(xs),Me=_r;(gs&&Me(new gs(new ArrayBuffer(1)))!=Fc||ai&&Me(new ai)!=Lc||ms&&Me(ms.resolve())!=Ac||ys&&Me(new ys)!=Bc||xs&&Me(new xs)!=Ec)&&(Me=function(t){var e=_r(t),r=e==Vv?t.constructor:void 0,i=r?Ue(r):"";if(i)switch(i){case Xv:return Fc;case Zv:return Lc;case Kv:return Ac;case Qv:return Bc;case Jv:return Ec}return e});const tw=Me;var ew="[object Map]",rw="[object Set]",iw=Object.prototype,nw=iw.hasOwnProperty;function Mc(t){if(t==null)return!0;if(aa(t)&&(Ln(t)||typeof t=="string"||typeof t.splice=="function"||no(t)||ao(t)||Sn(t)))return!t.length;var e=tw(t);if(e==ew||e==rw)return!t.size;if(na(t))return!Gv(t).length;for(var r in t)if(nw.call(t,r))return!1;return!0}var df="c4",aw=f(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),sw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./c4Diagram-THADGKDP-u29AtrPU.js"),__vite__mapDeps([14,15,7,8,9,10,11,12,13]),import.meta.url);return{id:df,diagram:t}}),"loader"),ow={id:df,detector:aw,loader:sw},lw=ow,pf="flowchart",cw=f((t,e)=>{var r,i;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"||((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},"detector"),hw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./flowDiagram-JSIZSE4D-BdE-1C2C.js"),__vite__mapDeps([16,17,18,19,7,8,9,10,11,12,13]),import.meta.url);return{id:pf,diagram:t}}),"loader"),uw={id:pf,detector:cw,loader:hw},fw=uw,gf="flowchart-v2",dw=f((t,e)=>{var r,i,n;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-d3"?!1:(((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"&&(e.layout="elk"),/^\s*graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t))},"detector"),pw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./flowDiagram-JSIZSE4D-BdE-1C2C.js"),__vite__mapDeps([16,17,18,19,7,8,9,10,11,12,13]),import.meta.url);return{id:gf,diagram:t}}),"loader"),gw={id:gf,detector:dw,loader:pw},mw=gw,mf="er",yw=f(t=>/^\s*erDiagram/.test(t),"detector"),xw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./erDiagram-62CBQV5Y-BYHnyP8s.js"),__vite__mapDeps([20,1,2,3,4,21,7,8,9,10,11,12,13]),import.meta.url);return{id:mf,diagram:t}}),"loader"),bw={id:mf,detector:yw,loader:xw},_w=bw,yf="gitGraph",Cw=f(t=>/^\s*gitGraph/.test(t),"detector"),kw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./gitGraphDiagram-UL5UFKDR-CU7tkWbK.js"),__vite__mapDeps([22,23,24,25,10,2,4,6,7,8,9,11,12,13]),import.meta.url);return{id:yf,diagram:t}}),"loader"),vw={id:yf,detector:Cw,loader:kw},ww=vw,xf="gantt",Tw=f(t=>/^\s*gantt/.test(t),"detector"),Sw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./ganttDiagram-ASEIQ4P5-BaGpaNuJ.js"),__vite__mapDeps([26,11,8,27,28,29,7,9,10,12,13]),import.meta.url);return{id:xf,diagram:t}}),"loader"),Lw={id:xf,detector:Tw,loader:Sw},Aw=Lw,bf="info",Bw=f(t=>/^\s*info/.test(t),"detector"),Ew=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./infoDiagram-7APDZ6AT-CPMl50jG.js"),__vite__mapDeps([30,25,10,2,4,6,7,8,9,11,12,13]),import.meta.url);return{id:bf,diagram:t}}),"loader"),Fw={id:bf,detector:Bw,loader:Ew},_f="pie",Mw=f(t=>/^\s*pie/.test(t),"detector"),Ow=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./pieDiagram-OZX6XH5M-DzBienBm.js"),__vite__mapDeps([31,23,25,10,2,4,6,32,33,29,7,8,9,11,12,13]),import.meta.url);return{id:_f,diagram:t}}),"loader"),Iw={id:_f,detector:Mw,loader:Ow},Cf="quadrantChart",$w=f(t=>/^\s*quadrantChart/.test(t),"detector"),Rw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./quadrantDiagram-VG34DGKC-CIunfM3y.js"),__vite__mapDeps([34,28,29,7,8,9,10,11,12,13]),import.meta.url);return{id:Cf,diagram:t}}),"loader"),Dw={id:Cf,detector:$w,loader:Rw},Pw=Dw,kf="xychart",Nw=f(t=>/^\s*xychart-beta/.test(t),"detector"),zw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./xychartDiagram-LESROZAQ-BOosBHak.js"),__vite__mapDeps([35,29,33,28,7,8,9,10,11,12,13]),import.meta.url);return{id:kf,diagram:t}}),"loader"),qw={id:kf,detector:Nw,loader:zw},Ww=qw,vf="requirement",Hw=f(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),jw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./requirementDiagram-FPZB6IJI-BDKUJLsh.js"),__vite__mapDeps([36,1,2,3,4,7,8,9,10,11,12,13]),import.meta.url);return{id:vf,diagram:t}}),"loader"),Uw={id:vf,detector:Hw,loader:jw},Yw=Uw,wf="sequence",Gw=f(t=>/^\s*sequenceDiagram/.test(t),"detector"),Vw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./sequenceDiagram-PQT5PN7B-BJBRwZh4.js"),__vite__mapDeps([37,15,24,7,8,9,10,11,12,13]),import.meta.url);return{id:wf,diagram:t}}),"loader"),Xw={id:wf,detector:Gw,loader:Vw},Zw=Xw,Tf="class",Kw=f((t,e)=>{var r;return((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},"detector"),Qw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./classDiagram-4BHYIK4I-D3GoYVCU.js"),__vite__mapDeps([38,39,1,2,3,4,7,8,9,10,11,12,13]),import.meta.url);return{id:Tf,diagram:t}}),"loader"),Jw={id:Tf,detector:Kw,loader:Qw},tT=Jw,Sf="classDiagram",eT=f((t,e)=>{var r;return/^\s*classDiagram/.test(t)&&((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},"detector"),rT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./classDiagram-v2-FI7KE7WJ-D2b3pwvb.js"),__vite__mapDeps([40,41,18,39,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url);return{id:Sf,diagram:t}}),"loader"),iT={id:Sf,detector:eT,loader:rT},nT=iT,Lf="state",aT=f((t,e)=>{var r;return((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},"detector"),sT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./stateDiagram-TQSDS2D4-CWcHtJIu.js"),__vite__mapDeps([42,43,17,18,1,2,3,4,7,8,9,10,11,12,13]),import.meta.url);return{id:Lf,diagram:t}}),"loader"),oT={id:Lf,detector:aT,loader:sT},lT=oT,Af="stateDiagram",cT=f((t,e)=>{var r;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},"detector"),hT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./stateDiagram-v2-J5TZWJW5-D3CsobR0.js"),__vite__mapDeps([44,43,17,18,7,8,9,10,11,12,13]),import.meta.url);return{id:Af,diagram:t}}),"loader"),uT={id:Af,detector:cT,loader:hT},fT=uT,Bf="journey",dT=f(t=>/^\s*journey/.test(t),"detector"),pT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./journeyDiagram-G5LC7W2K-i0g1syVs.js"),__vite__mapDeps([45,15,32,7,8,9,10,11,12,13]),import.meta.url);return{id:Bf,diagram:t}}),"loader"),gT={id:Bf,detector:dT,loader:pT},mT=gT,yT=f((t,e,r)=>{v.debug(`rendering svg for syntax error -`);const i=Hv(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),hh(i,100,512,!0),n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),Ef={draw:yT},xT=Ef,bT={db:{},renderer:Ef,parser:{parse:f(()=>{},"parse")}},_T=bT,Ff="flowchart-elk",CT=f((t,e={})=>{var r;return/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?(e.layout="elk",!0):!1},"detector"),kT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./flowDiagram-JSIZSE4D-BdE-1C2C.js"),__vite__mapDeps([16,17,18,19,7,8,9,10,11,12,13]),import.meta.url);return{id:Ff,diagram:t}}),"loader"),vT={id:Ff,detector:CT,loader:kT},wT=vT,Mf="timeline",TT=f(t=>/^\s*timeline/.test(t),"detector"),ST=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./timeline-definition-KYQAIZUX-BFXxY8tX.js"),__vite__mapDeps([46,32,7,8,9,10,11,12,13]),import.meta.url);return{id:Mf,diagram:t}}),"loader"),LT={id:Mf,detector:TT,loader:ST},AT=LT,Of="mindmap",BT=f(t=>/^\s*mindmap/.test(t),"detector"),ET=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./mindmap-definition-FCEC46F3-FygCiHj-.js"),__vite__mapDeps([47,48,8,7,9,10,11,12,13]),import.meta.url);return{id:Of,diagram:t}}),"loader"),FT={id:Of,detector:BT,loader:ET},MT=FT,If="sankey",OT=f(t=>/^\s*sankey-beta/.test(t),"detector"),IT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./sankeyDiagram-KMMQDL5K-BuUc1aK7.js"),__vite__mapDeps([49,33,29,7,8,9,10,11,12,13]),import.meta.url);return{id:If,diagram:t}}),"loader"),$T={id:If,detector:OT,loader:IT},RT=$T,$f="packet",DT=f(t=>/^\s*packet-beta/.test(t),"detector"),PT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./diagram-QS5GVLUX-P-frYie1.js"),__vite__mapDeps([50,23,25,10,2,4,6,7,8,9,11,12,13]),import.meta.url);return{id:$f,diagram:t}}),"loader"),NT={id:$f,detector:DT,loader:PT},Rf="block",zT=f(t=>/^\s*block-beta/.test(t),"detector"),qT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./blockDiagram-EN3ZKWFM-CL96UrOB.js"),__vite__mapDeps([51,41,18,6,2,1,19,7,8,9,10,11,12,13]),import.meta.url);return{id:Rf,diagram:t}}),"loader"),WT={id:Rf,detector:zT,loader:qT},HT=WT,Df="architecture",jT=f(t=>/^\s*architecture/.test(t),"detector"),UT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./architectureDiagram-V6B76FHG-CA8JDqpk.js"),__vite__mapDeps([52,23,24,25,10,2,4,6,48,8,7,9,11,12,13]),import.meta.url);return{id:Df,diagram:t}}),"loader"),YT={id:Df,detector:jT,loader:UT},GT=YT,Oc=!1,ua=f(()=>{Oc||(Oc=!0,fn("error",_T,t=>t.toLowerCase().trim()==="error"),fn("---",{db:{clear:f(()=>{},"clear")},styles:{},renderer:{draw:f(()=>{},"draw")},parser:{parse:f(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:f(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),Qc(lw,nT,tT,_w,Aw,Fw,Iw,Yw,Zw,wT,mw,fw,MT,AT,ww,fT,lT,mT,Pw,RT,NT,Ww,HT,GT))},"addDiagrams"),VT=f(()=>L(void 0,null,function*(){v.debug("Loading registered diagrams");const e=(yield Promise.allSettled(Object.entries(hr).map(a=>L(void 0,[a],function*([r,{detector:i,loader:n}]){if(n)try{Xa(r)}catch(s){try{const{diagram:o,id:l}=yield n();fn(l,o,i)}catch(o){throw v.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete hr[r],o}}})))).filter(r=>r.status==="rejected");if(e.length>0){v.error(`Failed to load ${e.length} external diagrams`);for(const r of e)v.error(r);throw new Error(`Failed to load ${e.length} external diagrams`)}}),"loadRegisteredDiagrams"),XT="graphics-document document";function Pf(t,e){t.attr("role",XT),e!==""&&t.attr("aria-roledescription",e)}f(Pf,"setA11yDiagramInfo");function Nf(t,e,r,i){if(t.insert!==void 0){if(r){const n=`chart-desc-${i}`;t.attr("aria-describedby",n),t.insert("desc",":first-child").attr("id",n).text(r)}if(e){const n=`chart-title-${i}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}f(Nf,"addSVGa11yTitleDescription");var xr,bs=(xr=class{constructor(e,r,i,n,a){this.type=e,this.text=r,this.db=i,this.parser=n,this.renderer=a}static fromText(i){return L(this,arguments,function*(e,r={}){var h,d;const n=pe(),a=Ds(e,n);e=FC(e)+` +res:`,nt.polygon(e,c,u)),nt.polygon(e,c,u)},n}),"question"),Bv=f((t,e,r,i,n)=>[`M${t+n},${e}`,`L${t+r-n},${e}`,`L${t+r},${e-i/2}`,`L${t+r-n},${e-i}`,`L${t+n},${e-i}`,`L${t},${e-i/2}`,"Z"].join(" "),"createHexagonPathD"),Ev=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=4,o=a.height+e.padding,l=o/s,c=a.width+2*l+e.padding,h=[{x:l,y:0},{x:c-l,y:0},{x:c,y:-o/2},{x:c-l,y:-o},{x:l,y:-o},{x:0,y:-o/2}];let d;const{cssStyles:u}=e;if(e.look==="handDrawn"){const p=J.svg(n),g=gt(e,{}),m=Bv(0,0,c,o,l),x=p.path(m,g);d=n.insert(()=>x,":first-child").attr("transform",`translate(${-c/2}, ${o/2})`),u&&d.attr("style",u)}else d=me(n,c,o,h);return i&&d.attr("style",i),e.width=c,e.height=o,at(e,d),e.intersect=function(p){return nt.polygon(e,h,p)},n}),"hexagon"),Fv=f((t,e,r,i)=>[`M${t-2*i/6},${e}`,`L${t+r-i/6},${e}`,`L${t+r+2*i/6},${e-i}`,`L${t+i/6},${e-i}`,"Z"].join(" "),"createLeanRightPathD"),Mv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:-2*o/6,y:0},{x:s-o/6,y:0},{x:s+2*o/6,y:-o},{x:o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=Fv(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"lean_right"),Ov=f((t,e,r,i)=>[`M${t+2*i/6},${e}`,`L${t+r+i/6},${e}`,`L${t+r-2*i/6},${e-i}`,`L${t-i/6},${e-i}`,"Z"].join(" "),"createLeanLeftPathD"),Iv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:2*o/6,y:0},{x:s+o/6,y:0},{x:s-2*o/6,y:-o},{x:-o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=Ov(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"lean_left"),$v=f((t,e,r,i)=>[`M${t-2*i/6},${e}`,`L${t+r+2*i/6},${e}`,`L${t+r-i/6},${e-i}`,`L${t+i/6},${e-i}`,"Z"].join(" "),"createTrapezoidPathD"),Rv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:-2*o/6,y:0},{x:s+2*o/6,y:0},{x:s-o/6,y:-o},{x:o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=$v(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"trapezoid"),Dv=f((t,e,r,i)=>[`M${t+i/6},${e}`,`L${t+r-i/6},${e}`,`L${t+r+2*i/6},${e-i}`,`L${t-2*i/6},${e-i}`,"Z"].join(" "),"createInvertedTrapezoidPathD"),Pv=f((t,e)=>L(void 0,null,function*(){const{labelStyles:r,nodeStyles:i}=_t(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=yield Ct(t,e,zt(e)),s=a.width+e.padding,o=a.height+e.padding,l=[{x:o/6,y:0},{x:s-o/6,y:0},{x:s+2*o/6,y:-o},{x:-2*o/6,y:-o}];let c;const{cssStyles:h}=e;if(e.look==="handDrawn"){const d=J.svg(n),u=gt(e,{}),p=Dv(0,0,s,o),g=d.path(p,u);c=n.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${o/2})`),h&&c.attr("style",h)}else c=me(n,s,o,l);return i&&c.attr("style",i),e.width=s,e.height=o,at(e,c),e.intersect=function(d){return nt.polygon(e,l,d)},n}),"inv_trapezoid"),Nv=f((t,e)=>L(void 0,null,function*(){const{shapeSvg:r}=yield Ct(t,e,"label"),i=r.insert("rect",":first-child");return i.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),at(e,i),e.intersect=function(s){return nt.rect(e,s)},r}),"labelRect"),Tc={state:cv,stateStart:fv,stateEnd:dv,fork:wc,join:wc,choice:pv,note:gv,roundedRect:hv,rectWithTitle:yv,squareRect:uv,stadium:mv,subroutine:xv,cylinder:kv,circle:vv,doublecircle:wv,odd:Sv,diamond:Av,hexagon:Ev,lean_right:Mv,lean_left:Iv,trapezoid:Rv,inv_trapezoid:Pv,labelRect:Nv},lr=new Map,zv=f((t,e,r)=>L(void 0,null,function*(){let i,n;if(e.shape==="rect"&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect"),e.link){let a;H().securityLevel==="sandbox"?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),n=yield Tc[e.shape](i,e,r)}else n=yield Tc[e.shape](t,e,r),i=n;return e.tooltip&&n.attr("title",e.tooltip),lr.set(e.id,i),e.haveCallback&&lr.get(e.id).attr("class",lr.get(e.id).attr("class")+" clickable"),i}),"insertNode"),mL=f((t,e)=>{lr.set(e.id,t)},"setNodeElem"),yL=f(()=>{lr.clear()},"clear"),xL=f(t=>{const e=lr.get(t.id);v.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=8,i=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+i-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),i},"positionNode"),qv={common:br,getConfig:pe,insertCluster:Pk,insertEdge:Yk,insertEdgeLabel:qk,insertMarkers:nv,insertNode:zv,interpolateToCurve:so,labelHelper:Ct,log:v,positionEdgeLabel:Wk},li={},ff=f(t=>{for(const e of t)li[e.name]=e},"registerLayoutLoaders"),Wv=f(()=>{ff([{name:"dagre",loader:f(()=>L(void 0,null,function*(){return yield X(()=>import("./dagre-P3YPLUS5-tmhkDAnh.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)}),"loader")}])},"registerDefaultLayoutLoaders");Wv();var bL=f((t,e)=>L(void 0,null,function*(){if(!(t.layoutAlgorithm in li))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);const r=li[t.layoutAlgorithm];return(yield r.loader()).render(t,e,qv,{algorithm:r.algorithm})}),"render"),_L=f((t="",{fallback:e="dagre"}={})=>{if(t in li)return t;if(e in li)return v.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm"),Sc="11.2.1",Hv=f(t=>{var n,a;const{securityLevel:e}=H();let r=Q("body");if(e==="sandbox"){const o=(a=(n=Q(`#i${t}`).node())==null?void 0:n.contentDocument)!=null?a:document;r=Q(o.body)}return r.select(`#${t}`)},"selectSvgElement"),jv=su(Object.keys,Object),Uv=Object.prototype,Yv=Uv.hasOwnProperty;function Gv(t){if(!na(t))return jv(t);var e=[];for(var r in Object(t))Yv.call(t,r)&&r!="constructor"&&e.push(r);return e}var gs=Ye(ae,"DataView"),ms=Ye(ae,"Promise"),ys=Ye(ae,"Set"),xs=Ye(ae,"WeakMap"),Lc="[object Map]",Vv="[object Object]",Ac="[object Promise]",Bc="[object Set]",Ec="[object WeakMap]",Fc="[object DataView]",Xv=Ue(gs),Zv=Ue(ai),Kv=Ue(ms),Qv=Ue(ys),Jv=Ue(xs),Me=_r;(gs&&Me(new gs(new ArrayBuffer(1)))!=Fc||ai&&Me(new ai)!=Lc||ms&&Me(ms.resolve())!=Ac||ys&&Me(new ys)!=Bc||xs&&Me(new xs)!=Ec)&&(Me=function(t){var e=_r(t),r=e==Vv?t.constructor:void 0,i=r?Ue(r):"";if(i)switch(i){case Xv:return Fc;case Zv:return Lc;case Kv:return Ac;case Qv:return Bc;case Jv:return Ec}return e});const tw=Me;var ew="[object Map]",rw="[object Set]",iw=Object.prototype,nw=iw.hasOwnProperty;function Mc(t){if(t==null)return!0;if(aa(t)&&(Ln(t)||typeof t=="string"||typeof t.splice=="function"||no(t)||ao(t)||Sn(t)))return!t.length;var e=tw(t);if(e==ew||e==rw)return!t.size;if(na(t))return!Gv(t).length;for(var r in t)if(nw.call(t,r))return!1;return!0}var df="c4",aw=f(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),sw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./c4Diagram-THADGKDP-CzLBx8_C.js"),__vite__mapDeps([14,15,7,8,9,10,11,12,13]),import.meta.url);return{id:df,diagram:t}}),"loader"),ow={id:df,detector:aw,loader:sw},lw=ow,pf="flowchart",cw=f((t,e)=>{var r,i;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"||((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},"detector"),hw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./flowDiagram-JSIZSE4D-DaZ-t6Ql.js"),__vite__mapDeps([16,17,18,19,7,8,9,10,11,12,13]),import.meta.url);return{id:pf,diagram:t}}),"loader"),uw={id:pf,detector:cw,loader:hw},fw=uw,gf="flowchart-v2",dw=f((t,e)=>{var r,i,n;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-d3"?!1:(((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"&&(e.layout="elk"),/^\s*graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t))},"detector"),pw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./flowDiagram-JSIZSE4D-DaZ-t6Ql.js"),__vite__mapDeps([16,17,18,19,7,8,9,10,11,12,13]),import.meta.url);return{id:gf,diagram:t}}),"loader"),gw={id:gf,detector:dw,loader:pw},mw=gw,mf="er",yw=f(t=>/^\s*erDiagram/.test(t),"detector"),xw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./erDiagram-62CBQV5Y-BDG1Hl9c.js"),__vite__mapDeps([20,1,2,3,4,21,7,8,9,10,11,12,13]),import.meta.url);return{id:mf,diagram:t}}),"loader"),bw={id:mf,detector:yw,loader:xw},_w=bw,yf="gitGraph",Cw=f(t=>/^\s*gitGraph/.test(t),"detector"),kw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./gitGraphDiagram-UL5UFKDR-0HcXcC6n.js"),__vite__mapDeps([22,23,24,25,10,2,4,6,7,8,9,11,12,13]),import.meta.url);return{id:yf,diagram:t}}),"loader"),vw={id:yf,detector:Cw,loader:kw},ww=vw,xf="gantt",Tw=f(t=>/^\s*gantt/.test(t),"detector"),Sw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./ganttDiagram-ASEIQ4P5-D0I_Tqm0.js"),__vite__mapDeps([26,11,8,27,28,29,7,9,10,12,13]),import.meta.url);return{id:xf,diagram:t}}),"loader"),Lw={id:xf,detector:Tw,loader:Sw},Aw=Lw,bf="info",Bw=f(t=>/^\s*info/.test(t),"detector"),Ew=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./infoDiagram-7APDZ6AT-FIJAL2WJ.js"),__vite__mapDeps([30,25,10,2,4,6,7,8,9,11,12,13]),import.meta.url);return{id:bf,diagram:t}}),"loader"),Fw={id:bf,detector:Bw,loader:Ew},_f="pie",Mw=f(t=>/^\s*pie/.test(t),"detector"),Ow=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./pieDiagram-OZX6XH5M-DFzYWB0T.js"),__vite__mapDeps([31,23,25,10,2,4,6,32,33,29,7,8,9,11,12,13]),import.meta.url);return{id:_f,diagram:t}}),"loader"),Iw={id:_f,detector:Mw,loader:Ow},Cf="quadrantChart",$w=f(t=>/^\s*quadrantChart/.test(t),"detector"),Rw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./quadrantDiagram-VG34DGKC-DNtzXGqk.js"),__vite__mapDeps([34,28,29,7,8,9,10,11,12,13]),import.meta.url);return{id:Cf,diagram:t}}),"loader"),Dw={id:Cf,detector:$w,loader:Rw},Pw=Dw,kf="xychart",Nw=f(t=>/^\s*xychart-beta/.test(t),"detector"),zw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./xychartDiagram-LESROZAQ-DwFaHM6i.js"),__vite__mapDeps([35,29,33,28,7,8,9,10,11,12,13]),import.meta.url);return{id:kf,diagram:t}}),"loader"),qw={id:kf,detector:Nw,loader:zw},Ww=qw,vf="requirement",Hw=f(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),jw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./requirementDiagram-FPZB6IJI-CwjdyFeh.js"),__vite__mapDeps([36,1,2,3,4,7,8,9,10,11,12,13]),import.meta.url);return{id:vf,diagram:t}}),"loader"),Uw={id:vf,detector:Hw,loader:jw},Yw=Uw,wf="sequence",Gw=f(t=>/^\s*sequenceDiagram/.test(t),"detector"),Vw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./sequenceDiagram-PQT5PN7B-CQsQokNg.js"),__vite__mapDeps([37,15,24,7,8,9,10,11,12,13]),import.meta.url);return{id:wf,diagram:t}}),"loader"),Xw={id:wf,detector:Gw,loader:Vw},Zw=Xw,Tf="class",Kw=f((t,e)=>{var r;return((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},"detector"),Qw=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./classDiagram-4BHYIK4I-uqC1RhfT.js"),__vite__mapDeps([38,39,1,2,3,4,7,8,9,10,11,12,13]),import.meta.url);return{id:Tf,diagram:t}}),"loader"),Jw={id:Tf,detector:Kw,loader:Qw},tT=Jw,Sf="classDiagram",eT=f((t,e)=>{var r;return/^\s*classDiagram/.test(t)&&((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},"detector"),rT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./classDiagram-v2-FI7KE7WJ-QG-TUOHX.js"),__vite__mapDeps([40,41,18,39,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url);return{id:Sf,diagram:t}}),"loader"),iT={id:Sf,detector:eT,loader:rT},nT=iT,Lf="state",aT=f((t,e)=>{var r;return((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},"detector"),sT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./stateDiagram-TQSDS2D4-Cl4ZsN_a.js"),__vite__mapDeps([42,43,17,18,1,2,3,4,7,8,9,10,11,12,13]),import.meta.url);return{id:Lf,diagram:t}}),"loader"),oT={id:Lf,detector:aT,loader:sT},lT=oT,Af="stateDiagram",cT=f((t,e)=>{var r;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},"detector"),hT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./stateDiagram-v2-J5TZWJW5-y5xB3O-E.js"),__vite__mapDeps([44,43,17,18,7,8,9,10,11,12,13]),import.meta.url);return{id:Af,diagram:t}}),"loader"),uT={id:Af,detector:cT,loader:hT},fT=uT,Bf="journey",dT=f(t=>/^\s*journey/.test(t),"detector"),pT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./journeyDiagram-G5LC7W2K-Ct6MtrXh.js"),__vite__mapDeps([45,15,32,7,8,9,10,11,12,13]),import.meta.url);return{id:Bf,diagram:t}}),"loader"),gT={id:Bf,detector:dT,loader:pT},mT=gT,yT=f((t,e,r)=>{v.debug(`rendering svg for syntax error +`);const i=Hv(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),hh(i,100,512,!0),n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),Ef={draw:yT},xT=Ef,bT={db:{},renderer:Ef,parser:{parse:f(()=>{},"parse")}},_T=bT,Ff="flowchart-elk",CT=f((t,e={})=>{var r;return/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?(e.layout="elk",!0):!1},"detector"),kT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./flowDiagram-JSIZSE4D-DaZ-t6Ql.js"),__vite__mapDeps([16,17,18,19,7,8,9,10,11,12,13]),import.meta.url);return{id:Ff,diagram:t}}),"loader"),vT={id:Ff,detector:CT,loader:kT},wT=vT,Mf="timeline",TT=f(t=>/^\s*timeline/.test(t),"detector"),ST=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./timeline-definition-KYQAIZUX-DF1ndmkz.js"),__vite__mapDeps([46,32,7,8,9,10,11,12,13]),import.meta.url);return{id:Mf,diagram:t}}),"loader"),LT={id:Mf,detector:TT,loader:ST},AT=LT,Of="mindmap",BT=f(t=>/^\s*mindmap/.test(t),"detector"),ET=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./mindmap-definition-FCEC46F3-C9m3rMUK.js"),__vite__mapDeps([47,48,8,7,9,10,11,12,13]),import.meta.url);return{id:Of,diagram:t}}),"loader"),FT={id:Of,detector:BT,loader:ET},MT=FT,If="sankey",OT=f(t=>/^\s*sankey-beta/.test(t),"detector"),IT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./sankeyDiagram-KMMQDL5K-BvEriBNd.js"),__vite__mapDeps([49,33,29,7,8,9,10,11,12,13]),import.meta.url);return{id:If,diagram:t}}),"loader"),$T={id:If,detector:OT,loader:IT},RT=$T,$f="packet",DT=f(t=>/^\s*packet-beta/.test(t),"detector"),PT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./diagram-QS5GVLUX-DFLHucoC.js"),__vite__mapDeps([50,23,25,10,2,4,6,7,8,9,11,12,13]),import.meta.url);return{id:$f,diagram:t}}),"loader"),NT={id:$f,detector:DT,loader:PT},Rf="block",zT=f(t=>/^\s*block-beta/.test(t),"detector"),qT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./blockDiagram-EN3ZKWFM-uYAtVIYA.js"),__vite__mapDeps([51,41,18,6,2,1,19,7,8,9,10,11,12,13]),import.meta.url);return{id:Rf,diagram:t}}),"loader"),WT={id:Rf,detector:zT,loader:qT},HT=WT,Df="architecture",jT=f(t=>/^\s*architecture/.test(t),"detector"),UT=f(()=>L(void 0,null,function*(){const{diagram:t}=yield X(()=>import("./architectureDiagram-V6B76FHG-BCLKgcWN.js"),__vite__mapDeps([52,23,24,25,10,2,4,6,48,8,7,9,11,12,13]),import.meta.url);return{id:Df,diagram:t}}),"loader"),YT={id:Df,detector:jT,loader:UT},GT=YT,Oc=!1,ua=f(()=>{Oc||(Oc=!0,fn("error",_T,t=>t.toLowerCase().trim()==="error"),fn("---",{db:{clear:f(()=>{},"clear")},styles:{},renderer:{draw:f(()=>{},"draw")},parser:{parse:f(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:f(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),Qc(lw,nT,tT,_w,Aw,Fw,Iw,Yw,Zw,wT,mw,fw,MT,AT,ww,fT,lT,mT,Pw,RT,NT,Ww,HT,GT))},"addDiagrams"),VT=f(()=>L(void 0,null,function*(){v.debug("Loading registered diagrams");const e=(yield Promise.allSettled(Object.entries(hr).map(a=>L(void 0,[a],function*([r,{detector:i,loader:n}]){if(n)try{Xa(r)}catch(s){try{const{diagram:o,id:l}=yield n();fn(l,o,i)}catch(o){throw v.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete hr[r],o}}})))).filter(r=>r.status==="rejected");if(e.length>0){v.error(`Failed to load ${e.length} external diagrams`);for(const r of e)v.error(r);throw new Error(`Failed to load ${e.length} external diagrams`)}}),"loadRegisteredDiagrams"),XT="graphics-document document";function Pf(t,e){t.attr("role",XT),e!==""&&t.attr("aria-roledescription",e)}f(Pf,"setA11yDiagramInfo");function Nf(t,e,r,i){if(t.insert!==void 0){if(r){const n=`chart-desc-${i}`;t.attr("aria-describedby",n),t.insert("desc",":first-child").attr("id",n).text(r)}if(e){const n=`chart-title-${i}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}f(Nf,"addSVGa11yTitleDescription");var xr,bs=(xr=class{constructor(e,r,i,n,a){this.type=e,this.text=r,this.db=i,this.parser=n,this.renderer=a}static fromText(i){return L(this,arguments,function*(e,r={}){var h,d;const n=pe(),a=Ds(e,n);e=FC(e)+` `;try{Xa(a)}catch(u){const p=Bg(a);if(!p)throw new Kc(`Diagram ${a} not found.`);const{id:g,diagram:m}=yield p();fn(g,m)}const{db:s,parser:o,renderer:l,init:c}=Xa(a);return o.parser&&(o.parser.yy=s),(h=s.clear)==null||h.call(s),c==null||c(n),r.title&&((d=s.setDiagramTitle)==null||d.call(s,r.title)),yield o.parse(e),new xr(a,e,s,o,l)})}render(e,r){return L(this,null,function*(){yield this.renderer.draw(this.text,e,r,this)})}getParser(){return this.parser}getType(){return this.type}},f(xr,"Diagram"),xr),Ic=[],ZT=f(()=>{Ic.forEach(t=>{t()}),Ic=[]},"attachFunctions"),KT=f(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function So(t){return typeof t=="undefined"||t===null}f(So,"isNothing");function zf(t){return typeof t=="object"&&t!==null}f(zf,"isObject");function qf(t){return Array.isArray(t)?t:So(t)?[]:[t]}f(qf,"toArray");function Wf(t,e){var r,i,n,a;if(e)for(a=Object.keys(e),r=0,i=a.length;ro&&(a=" ... ",e=i-o+a.length),r-i>o&&(s=" ...",r=i+o-s.length),{str:a+t.slice(e,r).replace(/\t/g,"→")+s,pos:i-e+a.length}}f(on,"getLine");function ln(t,e){return st.repeat(" ",e-t.length)+t}f(ln,"padStart");function Uf(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,i=[0],n=[],a,s=-1;a=r.exec(t.buffer);)n.push(a.index),i.push(a.index+a[0].length),t.position<=a.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);var o="",l,c,h=Math.min(t.line+e.linesAfter,n.length).toString().length,d=e.maxLength-(e.indent+h+3);for(l=1;l<=e.linesBefore&&!(s-l<0);l++)c=on(t.buffer,i[s-l],n[s-l],t.position-(i[s]-i[s-l]),d),o=st.repeat(" ",e.indent)+ln((t.line-l+1).toString(),h)+" | "+c.str+` @@ -189,7 +189,7 @@ js-yaml/dist/js-yaml.mjs: `})]})}function qS(t={}){const{wrapper:e}=D(D({},zc()),t.components);return e?nr.jsx(e,rt(D({},t),{children:nr.jsx(Nc,D({},t))})):Nc(t)}const CL=Object.freeze(Object.defineProperty({__proto__:null,default:qS},Symbol.toStringTag,{value:"Module"}));export{hL as $,Vt as A,Yu as B,sa as C,ko as D,re as E,qg as F,fo as G,pe as H,vC as I,Cm as J,Hv as K,Sc as L,gb as M,Wl as N,ql as O,cL as P,nL as Q,oL as R,sL as S,rL as T,$ as U,Ks as V,lL as W,iL as X,er as Y,uL as Z,f as _,pt as a,$l as a$,aL as a0,$g as a1,bb as a2,Jr as a3,KS as a4,Ps as a5,uo as a6,pC as a7,Yh as a8,ZS as a9,rC as aA,ro as aB,Mc as aC,dk as aD,mb as aE,jm as aF,Um as aG,tL as aH,je as aI,uC as aJ,pu as aK,ea as aL,aa as aM,Ln as aN,mu as aO,du as aP,z1 as aQ,Ys as aR,Bh as aS,It as aT,Ti as aU,Wy as aV,Mh as aW,eL as aX,Gs as aY,_e as aZ,ri as a_,lm as aa,ku as ab,so as ac,jh as ad,ph as ae,Gm as af,kC as ag,Lg as ah,uh as ai,ki as aj,M as ak,O as al,nv as am,yL as an,gL as ao,pL as ap,at as aq,mL as ar,zv as as,xL as at,Pk as au,Yk as av,Wk as aw,qk as ax,hC as ay,e1 as az,mm as b,Xy as b0,cC as b1,eC as b2,ae as b3,q_ as b4,io as b5,R1 as b6,dC as b7,Li as b8,_r as b9,wn as ba,G1 as bb,Gv as bc,Si as bd,Sn as be,q1 as bf,ou as bg,j_ as bh,U_ as bi,tw as bj,ic as bk,Y_ as bl,no as bm,H_ as bn,Z_ as bo,Cr as bp,Te as bq,Ql as br,ao as bs,cu as bt,ys as bu,fC as bv,na as bw,CL as bx,gm as c,H as d,br as e,wu as f,pm as g,si as h,dr as i,Q as j,hh as k,v as l,gh as m,vi as n,QS as o,JS as p,ym as q,xm as r,dm as s,fm as t,Qt as u,fL as v,SC as w,_L as x,bL as y,Gr as z}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./dagre-P3YPLUS5-Dxc5z9VO.js","./graph-CTYIQWTo.js","./_baseUniq-l1FN7L1W.js","./layout-nu6vrpop.js","./_basePickBy-CAErHIeS.js","./json-wyNrEGgq.js","./clone-BEY0myKV.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./index-BI4Okn8T.js","./iframe-CoIBAWfU.js","./dayjs.min-KGLNs1IR.js","./index-DrFu-skq.js","./Serializer-OW4gUFyn.js","./c4Diagram-THADGKDP-u29AtrPU.js","./chunk-XVOYOM2C-B0PyF_8G.js","./flowDiagram-JSIZSE4D-BdE-1C2C.js","./chunk-DUMQOTYW-BjCuNlre.js","./chunk-YWFND7JV-CGN8NYbJ.js","./channel-CSXReVqn.js","./erDiagram-62CBQV5Y-BYHnyP8s.js","./stringify-DnirLPRY.js","./gitGraphDiagram-UL5UFKDR-CU7tkWbK.js","./chunk-OQCM5LHU-_hEzITn5.js","./chunk-2RYQ3QTB-Cnh_I8p8.js","./mermaid-parser.core-CbtfyxSr.js","./ganttDiagram-ASEIQ4P5-BaGpaNuJ.js","./customParseFormat-oYt9ov06.js","./linear-CaMgb0mo.js","./init-Gi6I4Gst.js","./infoDiagram-7APDZ6AT-CPMl50jG.js","./pieDiagram-OZX6XH5M-DzBienBm.js","./arc-uLSQqivB.js","./ordinal-Cboi1Yqb.js","./quadrantDiagram-VG34DGKC-CIunfM3y.js","./xychartDiagram-LESROZAQ-BOosBHak.js","./requirementDiagram-FPZB6IJI-BDKUJLsh.js","./sequenceDiagram-PQT5PN7B-BJBRwZh4.js","./classDiagram-4BHYIK4I-D3GoYVCU.js","./chunk-BAVOGKFW-CtA3QrmH.js","./classDiagram-v2-FI7KE7WJ-D2b3pwvb.js","./chunk-UGV5ZQQN-CZ-pcEfT.js","./stateDiagram-TQSDS2D4-CWcHtJIu.js","./chunk-2JBRQKJ5-OmpQal4x.js","./stateDiagram-v2-J5TZWJW5-D3CsobR0.js","./journeyDiagram-G5LC7W2K-i0g1syVs.js","./timeline-definition-KYQAIZUX-BFXxY8tX.js","./mindmap-definition-FCEC46F3-FygCiHj-.js","./cytoscape.esm-BI0LHGOR.js","./sankeyDiagram-KMMQDL5K-BuUc1aK7.js","./diagram-QS5GVLUX-P-frYie1.js","./blockDiagram-EN3ZKWFM-CL96UrOB.js","./architectureDiagram-V6B76FHG-CA8JDqpk.js"] + __vite__mapDeps.viteFileDeps = ["./dagre-P3YPLUS5-tmhkDAnh.js","./graph-BXEtUiHV.js","./_baseUniq-BCQ8vHUx.js","./layout-DzKhK8C3.js","./_basePickBy-D_dsH4p9.js","./json-C1PkXS5l.js","./clone-CBvD7XM0.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./index-BI4Okn8T.js","./iframe-DsjYyBKh.js","./dayjs.min-KGLNs1IR.js","./index-DrFu-skq.js","./Serializer-OW4gUFyn.js","./c4Diagram-THADGKDP-CzLBx8_C.js","./chunk-XVOYOM2C-Ci0V97zV.js","./flowDiagram-JSIZSE4D-DaZ-t6Ql.js","./chunk-DUMQOTYW-0xJyfB2B.js","./chunk-YWFND7JV-DWdokYeW.js","./channel-DM4B-Npq.js","./erDiagram-62CBQV5Y-BDG1Hl9c.js","./stringify-DnirLPRY.js","./gitGraphDiagram-UL5UFKDR-0HcXcC6n.js","./chunk-OQCM5LHU-7z38PKjx.js","./chunk-2RYQ3QTB-OT2l6tiE.js","./mermaid-parser.core-BmIAZpsh.js","./ganttDiagram-ASEIQ4P5-D0I_Tqm0.js","./customParseFormat-oYt9ov06.js","./linear-DOmJOZCQ.js","./init-Gi6I4Gst.js","./infoDiagram-7APDZ6AT-FIJAL2WJ.js","./pieDiagram-OZX6XH5M-DFzYWB0T.js","./arc-Dt1b6oZs.js","./ordinal-Cboi1Yqb.js","./quadrantDiagram-VG34DGKC-DNtzXGqk.js","./xychartDiagram-LESROZAQ-DwFaHM6i.js","./requirementDiagram-FPZB6IJI-CwjdyFeh.js","./sequenceDiagram-PQT5PN7B-CQsQokNg.js","./classDiagram-4BHYIK4I-uqC1RhfT.js","./chunk-BAVOGKFW-v9RTQu8Y.js","./classDiagram-v2-FI7KE7WJ-QG-TUOHX.js","./chunk-UGV5ZQQN-DY7h4rD5.js","./stateDiagram-TQSDS2D4-Cl4ZsN_a.js","./chunk-2JBRQKJ5-C94RoRJd.js","./stateDiagram-v2-J5TZWJW5-y5xB3O-E.js","./journeyDiagram-G5LC7W2K-Ct6MtrXh.js","./timeline-definition-KYQAIZUX-DF1ndmkz.js","./mindmap-definition-FCEC46F3-C9m3rMUK.js","./cytoscape.esm-BI0LHGOR.js","./sankeyDiagram-KMMQDL5K-BvEriBNd.js","./diagram-QS5GVLUX-DFLHucoC.js","./blockDiagram-EN3ZKWFM-uYAtVIYA.js","./architectureDiagram-V6B76FHG-BCLKgcWN.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/pr-preview/pr-459/assets/ValueSelector.stories-ClL_d6gx.js b/pr-preview/pr-459/assets/ValueSelector.stories-EY0QtBuu.js similarity index 71% rename from pr-preview/pr-459/assets/ValueSelector.stories-ClL_d6gx.js rename to pr-preview/pr-459/assets/ValueSelector.stories-EY0QtBuu.js index 329f37bb2..8c5d03764 100644 --- a/pr-preview/pr-459/assets/ValueSelector.stories-ClL_d6gx.js +++ b/pr-preview/pr-459/assets/ValueSelector.stories-EY0QtBuu.js @@ -1,7 +1,7 @@ -var T=Object.defineProperty,f=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var d=(e,r,o)=>r in e?T(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,s=(e,r)=>{for(var o in r||(r={}))j.call(r,o)&&d(e,o,r[o]);if(c)for(var o of c(r))y.call(r,o)&&d(e,o,r[o]);return e},p=(e,r)=>f(e,I(r));var u=(e,r,o)=>new Promise((h,m)=>{var D=t=>{try{n(o.next(t))}catch(i){m(i)}},S=t=>{try{n(o.throw(t))}catch(i){m(i)}},n=t=>t.done?h(t.value):Promise.resolve(t.value).then(D,S);n((o=o.apply(e,r)).next())});import{_ as R}from"./iframe-CoIBAWfU.js";import{j as l}from"./jsx-runtime-BcCOBRXo.js";import{r as O}from"./index-CNk6hRaE.js";import"../sb-preview/runtime.js";const U=O.lazy(()=>u(void 0,null,function*(){return yield R(()=>import("./GlobalNavigation-CPQMp-rl.js").then(e=>e.ax),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url)})),W={title:"Components/Data Entry/QueryItem/ValueSelector",component:U,parameters:{docs:{description:{component:"DO NOT USE THIS OR YOU WILL BE FIRED! This is a parent component of this component group, and is not supposed to be used on its own."}}},decorators:[e=>l.jsx(O.Suspense,{children:l.jsx(e,{})})],args:{}},a={};var _,E,x;a.parameters=p(s({},a.parameters),{docs:p(s({},(_=a.parameters)==null?void 0:_.docs),{source:s({originalSource:"{}"},(x=(E=a.parameters)==null?void 0:E.docs)==null?void 0:x.source)})});const Y=["DontUseThisOrYouWillBeFired"];export{a as DontUseThisOrYouWillBeFired,Y as __namedExportsOrder,W as default}; +var T=Object.defineProperty,f=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var d=(e,r,o)=>r in e?T(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,s=(e,r)=>{for(var o in r||(r={}))j.call(r,o)&&d(e,o,r[o]);if(c)for(var o of c(r))y.call(r,o)&&d(e,o,r[o]);return e},p=(e,r)=>f(e,I(r));var u=(e,r,o)=>new Promise((h,m)=>{var D=t=>{try{n(o.next(t))}catch(i){m(i)}},S=t=>{try{n(o.throw(t))}catch(i){m(i)}},n=t=>t.done?h(t.value):Promise.resolve(t.value).then(D,S);n((o=o.apply(e,r)).next())});import{_ as R}from"./iframe-DsjYyBKh.js";import{j as l}from"./jsx-runtime-BcCOBRXo.js";import{r as x}from"./index-CNk6hRaE.js";import"../sb-preview/runtime.js";const U=x.lazy(()=>u(void 0,null,function*(){return yield R(()=>import("./GlobalNavigation-DT_tPK9g.js").then(e=>e.az),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url)})),W={title:"Components/Data Entry/QueryItem/ValueSelector",component:U,parameters:{docs:{description:{component:"DO NOT USE THIS OR YOU WILL BE FIRED! This is a parent component of this component group, and is not supposed to be used on its own."}}},decorators:[e=>l.jsx(x.Suspense,{children:l.jsx(e,{})})],args:{}},a={};var _,E,O;a.parameters=p(s({},a.parameters),{docs:p(s({},(_=a.parameters)==null?void 0:_.docs),{source:s({originalSource:"{}"},(O=(E=a.parameters)==null?void 0:E.docs)==null?void 0:O.source)})});const Y=["DontUseThisOrYouWillBeFired"];export{a as DontUseThisOrYouWillBeFired,Y as __namedExportsOrder,W as default}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./GlobalNavigation-CPQMp-rl.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./ConfigProvider-BRwLXval.js","./LightTheme-BtoaoHMG.js","./index-z2stgOKB.js","./useToken-5RYkiW09.js","./extends-CF3RwP-h.js","./Serializer-OW4gUFyn.js","./index-D-4E_f9W.js","./isNativeReflectConstruct-CYew8PZR.js","./row-DegztUsn.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./dayjs.min-KGLNs1IR.js","./customParseFormat-oYt9ov06.js","./GlobalNavigation-Bkesd9t8.css"] + __vite__mapDeps.viteFileDeps = ["./GlobalNavigation-DT_tPK9g.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./ConfigProvider-BRwLXval.js","./LightTheme-BtoaoHMG.js","./index-z2stgOKB.js","./useToken-5RYkiW09.js","./extends-CF3RwP-h.js","./Serializer-OW4gUFyn.js","./index-D-4E_f9W.js","./isNativeReflectConstruct-CYew8PZR.js","./row-DegztUsn.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./dayjs.min-KGLNs1IR.js","./customParseFormat-oYt9ov06.js","./GlobalNavigation-Bkesd9t8.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/pr-preview/pr-459/assets/Watermark.stories-3XidLFai.js b/pr-preview/pr-459/assets/Watermark.stories-O_dDxD9Y.js similarity index 59% rename from pr-preview/pr-459/assets/Watermark.stories-3XidLFai.js rename to pr-preview/pr-459/assets/Watermark.stories-O_dDxD9Y.js index 6018f33e4..650baeede 100644 --- a/pr-preview/pr-459/assets/Watermark.stories-3XidLFai.js +++ b/pr-preview/pr-459/assets/Watermark.stories-O_dDxD9Y.js @@ -1,8 +1,8 @@ -var he=Object.defineProperty,ue=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var P=(o,r,a)=>r in o?he(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,n=(o,r)=>{for(var a in r||(r={}))fe.call(r,a)&&P(o,a,r[a]);if(E)for(var a of E(r))xe.call(r,a)&&P(o,a,r[a]);return o},t=(o,r)=>ue(o,ge(r));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{as as l,O as s,F as j,d as z,c as ye,ap as we,X as W,Q as h,i as M,M as Se,$ as T}from"./GlobalNavigation-CPQMp-rl.js";import{E as F}from"./ExampleStory-DvwdaA9H.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as A}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const _e={title:"Components/Unused/Watermark",component:o=>e.jsx(l,t(n({},o),{children:e.jsx("div",{style:{height:500,width:500}})})),args:{width:120,height:64,inherit:!0,rotate:-22,zIndex:9,image:void 0,content:"Watermark",font:{color:"rgba(0, 0, 0, 0.15)",fontSize:16,fontWeight:"normal",fontFamily:"sans-serif",fontStyle:"normal",textAlign:"center"},gap:[100,100],offset:[50,50]}},u={},g={args:{content:["Watermark 1","Watermark 2","Watermark 3"]}},f={args:{font:{fontFamily:"Helvetica",fontSize:16,color:"rgba(255, 0, 0, 0.2)",textAlign:"right"}}},x={args:{gap:[200,150]}},y={args:{offset:[100,80]}},w={args:{rotate:45}},S={render:()=>e.jsx(F,{title:"The most basic usage.",children:e.jsx(l,{content:"Ant Design",children:e.jsx("div",{style:{height:500}})})})},b={render:()=>e.jsx(F,{title:"Use content to set a string array to specify multi-line text watermark content.",children:e.jsx(l,{content:["Ant Design","Happy Working"],children:e.jsx("div",{style:{height:500}})})})},I={render:()=>{const[o]=s.useForm(),[r,a]=A.useState({content:"Ant Design",color:"rgba(0, 0, 0, 0.15)",fontSize:16,zIndex:11,rotate:-22,gap:[100,100],offset:void 0}),{content:c,color:i,fontSize:m,zIndex:D,rotate:d,gap:p,offset:C}=r,v={content:c,zIndex:D,rotate:d,gap:p,offset:C,font:{color:typeof i=="string"?i:typeof i=="object"&&"toRgbString"in i?i.toRgbString():String(i),fontSize:m}};return e.jsx(F,{title:"Preview the watermark effect by configuring custom parameters.",children:e.jsxs(j,{gap:"middle",children:[e.jsxs(l,t(n({},v),{children:[e.jsx(z.Paragraph,{children:"The light-speed iteration of the digital world makes products more complex. However, human consciousness and attention resources are limited. Facing this design contradiction, the pursuit of natural interaction will be the consistent direction of Ant Design."}),e.jsx(z.Paragraph,{children:"Natural user cognition: According to cognitive psychology, about 80% of external information is obtained through visual channels. The most important visual elements in the interface design, including layout, colors, illustrations, icons, etc., should fully absorb the laws of nature, thereby reducing the user's cognitive cost and bringing authentic and smooth feelings. In some scenarios, opportunely adding other sensory channels such as hearing, touch can create a richer and more natural product experience."}),e.jsx(z.Paragraph,{children:"Natural user behavior: In the interaction with the system, the designer should fully understand the relationship between users, system roles, and task objectives, and also contextually organize system functions and services. At the same time, a series of methods such as behavior analysis, artificial intelligence and sensors could be applied to assist users to make effective decisions and reduce extra operations of users, to save users' mental and physical resources and make human-computer interaction more natural."}),e.jsx("img",{style:{zIndex:10,width:"100%",maxWidth:800,position:"relative"},src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ",alt:"img"})]})),e.jsxs(s,{style:{width:280,flexShrink:0,borderLeft:"1px solid #eee",paddingInlineStart:16},form:o,layout:"vertical",initialValues:r,onValuesChange:(be,pe)=>{a(pe)},children:[e.jsx(s.Item,{name:"content",label:"Content",children:e.jsx(ye,{placeholder:"请输入"})}),e.jsx(s.Item,{name:"color",label:"Color",children:e.jsx(we,{})}),e.jsx(s.Item,{name:"fontSize",label:"FontSize",children:e.jsx(W,{step:1,min:1,max:100})}),e.jsx(s.Item,{name:"zIndex",label:"zIndex",children:e.jsx(W,{step:1,min:0,max:100})}),e.jsx(s.Item,{name:"rotate",label:"Rotate",children:e.jsx(W,{step:1,min:-180,max:180})}),e.jsx(s.Item,{label:"Gap",style:{marginBottom:0},children:e.jsxs(j,{gap:"small",children:[e.jsx(s.Item,{name:["gap",0],children:e.jsx(h,{placeholder:"gapX",style:{width:"100%"}})}),e.jsx(s.Item,{name:["gap",1],children:e.jsx(h,{placeholder:"gapY",style:{width:"100%"}})})]})}),e.jsx(s.Item,{label:"Offset",style:{marginBottom:0},children:e.jsxs(j,{gap:"small",children:[e.jsx(s.Item,{name:["offset",0],children:e.jsx(h,{placeholder:"offsetLeft",style:{width:"100%"}})}),e.jsx(s.Item,{name:["offset",1],children:e.jsx(h,{placeholder:"offsetTop",style:{width:"100%"}})})]})})]})]})})}},k={render:()=>{const o={height:300,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(150, 150, 150, 0.2)"},r=e.jsx("div",{style:o,children:"A mock height"}),[a,c]=A.useState(!1),[i,m]=A.useState(!1),[D,d]=A.useState(!1),p=()=>{c(!1)},C=()=>{m(!1)},v=()=>{d(!1)};return e.jsx(F,{title:"Use in Modal and Drawer.",children:e.jsxs(e.Fragment,{children:[e.jsxs(j,{gap:"middle",children:[e.jsx(M,{type:"primary",onClick:()=>{c(!0)},children:"Show in Modal"}),e.jsx(M,{type:"primary",onClick:()=>{m(!0)},children:"Show in Drawer"}),e.jsx(M,{type:"primary",onClick:()=>{d(!0)},children:"Not Shown in Drawer"})]}),e.jsxs(l,{content:"Ant Design",children:[e.jsx(Se,{destroyOnClose:!0,open:a,title:"Modal",onCancel:p,onOk:p,children:r}),e.jsx(T,{destroyOnClose:!0,open:i,title:"Drawer",onClose:C,children:r})]}),e.jsx(l,{content:"Ant Design",inherit:!1,children:e.jsx(T,{destroyOnClose:!0,open:D,title:"Drawer",onClose:v,children:r})})]})})}};var B,O,R;u.parameters=t(n({},u.parameters),{docs:t(n({},(B=u.parameters)==null?void 0:B.docs),{source:n({originalSource:"{}"},(R=(O=u.parameters)==null?void 0:O.docs)==null?void 0:R.source)})});var N,_,H;g.parameters=t(n({},g.parameters),{docs:t(n({},(N=g.parameters)==null?void 0:N.docs),{source:n({originalSource:`{ +var he=Object.defineProperty,ue=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var P=(o,r,a)=>r in o?he(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,n=(o,r)=>{for(var a in r||(r={}))fe.call(r,a)&&P(o,a,r[a]);if(E)for(var a of E(r))xe.call(r,a)&&P(o,a,r[a]);return o},t=(o,r)=>ue(o,ge(r));import{j as e}from"./jsx-runtime-BcCOBRXo.js";import{au as l,U as s,F as j,d as z,c as ye,ar as we,Z as W,V as h,l as M,M as Se,a1 as T}from"./GlobalNavigation-DT_tPK9g.js";import{E as F}from"./ExampleStory-B-ilaOpY.js";import"./ConfigProvider-BRwLXval.js";import"./_baseClone-BjCwUuX-.js";import{r as A}from"./index-CNk6hRaE.js";import"./index-z2stgOKB.js";import"./useToken-5RYkiW09.js";import"./extends-CF3RwP-h.js";import"./Serializer-OW4gUFyn.js";import"./index-D-4E_f9W.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./row-DegztUsn.js";import"./dayjs.min-KGLNs1IR.js";import"./customParseFormat-oYt9ov06.js";import"./LightTheme-BtoaoHMG.js";import"./_getPrototype-CAOE_2rY.js";const _e={title:"Components/Unused/Watermark",component:o=>e.jsx(l,t(n({},o),{children:e.jsx("div",{style:{height:500,width:500}})})),args:{width:120,height:64,inherit:!0,rotate:-22,zIndex:9,image:void 0,content:"Watermark",font:{color:"rgba(0, 0, 0, 0.15)",fontSize:16,fontWeight:"normal",fontFamily:"sans-serif",fontStyle:"normal",textAlign:"center"},gap:[100,100],offset:[50,50]}},u={},g={args:{content:["Watermark 1","Watermark 2","Watermark 3"]}},f={args:{font:{fontFamily:"Helvetica",fontSize:16,color:"rgba(255, 0, 0, 0.2)",textAlign:"right"}}},x={args:{gap:[200,150]}},y={args:{offset:[100,80]}},w={args:{rotate:45}},S={render:()=>e.jsx(F,{title:"The most basic usage.",children:e.jsx(l,{content:"Ant Design",children:e.jsx("div",{style:{height:500}})})})},b={render:()=>e.jsx(F,{title:"Use content to set a string array to specify multi-line text watermark content.",children:e.jsx(l,{content:["Ant Design","Happy Working"],children:e.jsx("div",{style:{height:500}})})})},I={render:()=>{const[o]=s.useForm(),[r,a]=A.useState({content:"Ant Design",color:"rgba(0, 0, 0, 0.15)",fontSize:16,zIndex:11,rotate:-22,gap:[100,100],offset:void 0}),{content:c,color:i,fontSize:m,zIndex:D,rotate:d,gap:p,offset:C}=r,v={content:c,zIndex:D,rotate:d,gap:p,offset:C,font:{color:typeof i=="string"?i:typeof i=="object"&&"toRgbString"in i?i.toRgbString():String(i),fontSize:m}};return e.jsx(F,{title:"Preview the watermark effect by configuring custom parameters.",children:e.jsxs(j,{gap:"middle",children:[e.jsxs(l,t(n({},v),{children:[e.jsx(z.Paragraph,{children:"The light-speed iteration of the digital world makes products more complex. However, human consciousness and attention resources are limited. Facing this design contradiction, the pursuit of natural interaction will be the consistent direction of Ant Design."}),e.jsx(z.Paragraph,{children:"Natural user cognition: According to cognitive psychology, about 80% of external information is obtained through visual channels. The most important visual elements in the interface design, including layout, colors, illustrations, icons, etc., should fully absorb the laws of nature, thereby reducing the user's cognitive cost and bringing authentic and smooth feelings. In some scenarios, opportunely adding other sensory channels such as hearing, touch can create a richer and more natural product experience."}),e.jsx(z.Paragraph,{children:"Natural user behavior: In the interaction with the system, the designer should fully understand the relationship between users, system roles, and task objectives, and also contextually organize system functions and services. At the same time, a series of methods such as behavior analysis, artificial intelligence and sensors could be applied to assist users to make effective decisions and reduce extra operations of users, to save users' mental and physical resources and make human-computer interaction more natural."}),e.jsx("img",{style:{zIndex:10,width:"100%",maxWidth:800,position:"relative"},src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ",alt:"img"})]})),e.jsxs(s,{style:{width:280,flexShrink:0,borderLeft:"1px solid #eee",paddingInlineStart:16},form:o,layout:"vertical",initialValues:r,onValuesChange:(be,pe)=>{a(pe)},children:[e.jsx(s.Item,{name:"content",label:"Content",children:e.jsx(ye,{placeholder:"请输入"})}),e.jsx(s.Item,{name:"color",label:"Color",children:e.jsx(we,{})}),e.jsx(s.Item,{name:"fontSize",label:"FontSize",children:e.jsx(W,{step:1,min:1,max:100})}),e.jsx(s.Item,{name:"zIndex",label:"zIndex",children:e.jsx(W,{step:1,min:0,max:100})}),e.jsx(s.Item,{name:"rotate",label:"Rotate",children:e.jsx(W,{step:1,min:-180,max:180})}),e.jsx(s.Item,{label:"Gap",style:{marginBottom:0},children:e.jsxs(j,{gap:"small",children:[e.jsx(s.Item,{name:["gap",0],children:e.jsx(h,{placeholder:"gapX",style:{width:"100%"}})}),e.jsx(s.Item,{name:["gap",1],children:e.jsx(h,{placeholder:"gapY",style:{width:"100%"}})})]})}),e.jsx(s.Item,{label:"Offset",style:{marginBottom:0},children:e.jsxs(j,{gap:"small",children:[e.jsx(s.Item,{name:["offset",0],children:e.jsx(h,{placeholder:"offsetLeft",style:{width:"100%"}})}),e.jsx(s.Item,{name:["offset",1],children:e.jsx(h,{placeholder:"offsetTop",style:{width:"100%"}})})]})})]})]})})}},k={render:()=>{const o={height:300,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(150, 150, 150, 0.2)"},r=e.jsx("div",{style:o,children:"A mock height"}),[a,c]=A.useState(!1),[i,m]=A.useState(!1),[D,d]=A.useState(!1),p=()=>{c(!1)},C=()=>{m(!1)},v=()=>{d(!1)};return e.jsx(F,{title:"Use in Modal and Drawer.",children:e.jsxs(e.Fragment,{children:[e.jsxs(j,{gap:"middle",children:[e.jsx(M,{type:"primary",onClick:()=>{c(!0)},children:"Show in Modal"}),e.jsx(M,{type:"primary",onClick:()=>{m(!0)},children:"Show in Drawer"}),e.jsx(M,{type:"primary",onClick:()=>{d(!0)},children:"Not Shown in Drawer"})]}),e.jsxs(l,{content:"Ant Design",children:[e.jsx(Se,{destroyOnClose:!0,open:a,title:"Modal",onCancel:p,onOk:p,children:r}),e.jsx(T,{destroyOnClose:!0,open:i,title:"Drawer",onClose:C,children:r})]}),e.jsx(l,{content:"Ant Design",inherit:!1,children:e.jsx(T,{destroyOnClose:!0,open:D,title:"Drawer",onClose:v,children:r})})]})})}};var B,O,R;u.parameters=t(n({},u.parameters),{docs:t(n({},(B=u.parameters)==null?void 0:B.docs),{source:n({originalSource:"{}"},(R=(O=u.parameters)==null?void 0:O.docs)==null?void 0:R.source)})});var N,_,H;g.parameters=t(n({},g.parameters),{docs:t(n({},(N=g.parameters)==null?void 0:N.docs),{source:n({originalSource:`{ args: { content: ['Watermark 1', 'Watermark 2', 'Watermark 3'] } -}`},(H=(_=g.parameters)==null?void 0:_.docs)==null?void 0:H.source)})});var L,G,Q;f.parameters=t(n({},f.parameters),{docs:t(n({},(L=f.parameters)==null?void 0:L.docs),{source:n({originalSource:`{ +}`},(H=(_=g.parameters)==null?void 0:_.docs)==null?void 0:H.source)})});var L,U,G;f.parameters=t(n({},f.parameters),{docs:t(n({},(L=f.parameters)==null?void 0:L.docs),{source:n({originalSource:`{ args: { font: { fontFamily: 'Helvetica', @@ -11,19 +11,19 @@ var he=Object.defineProperty,ue=Object.defineProperties;var ge=Object.getOwnProp textAlign: 'right' } } -}`},(Q=(G=f.parameters)==null?void 0:G.docs)==null?void 0:Q.source)})});var U,V,X;x.parameters=t(n({},x.parameters),{docs:t(n({},(U=x.parameters)==null?void 0:U.docs),{source:n({originalSource:`{ +}`},(G=(U=f.parameters)==null?void 0:U.docs)==null?void 0:G.source)})});var V,Q,X;x.parameters=t(n({},x.parameters),{docs:t(n({},(V=x.parameters)==null?void 0:V.docs),{source:n({originalSource:`{ args: { gap: [200, 150] } -}`},(X=(V=x.parameters)==null?void 0:V.docs)==null?void 0:X.source)})});var Y,$,q;y.parameters=t(n({},y.parameters),{docs:t(n({},(Y=y.parameters)==null?void 0:Y.docs),{source:n({originalSource:`{ +}`},(X=(Q=x.parameters)==null?void 0:Q.docs)==null?void 0:X.source)})});var Y,Z,q;y.parameters=t(n({},y.parameters),{docs:t(n({},(Y=y.parameters)==null?void 0:Y.docs),{source:n({originalSource:`{ args: { offset: [100, 80] } -}`},(q=($=y.parameters)==null?void 0:$.docs)==null?void 0:q.source)})});var J,K,Z;w.parameters=t(n({},w.parameters),{docs:t(n({},(J=w.parameters)==null?void 0:J.docs),{source:n({originalSource:`{ +}`},(q=(Z=y.parameters)==null?void 0:Z.docs)==null?void 0:q.source)})});var J,K,$;w.parameters=t(n({},w.parameters),{docs:t(n({},(J=w.parameters)==null?void 0:J.docs),{source:n({originalSource:`{ args: { rotate: 45 } -}`},(Z=(K=w.parameters)==null?void 0:K.docs)==null?void 0:Z.source)})});var ee,ne,te;S.parameters=t(n({},S.parameters),{docs:t(n({},(ee=S.parameters)==null?void 0:ee.docs),{source:n({originalSource:`{ +}`},($=(K=w.parameters)==null?void 0:K.docs)==null?void 0:$.source)})});var ee,ne,te;S.parameters=t(n({},S.parameters),{docs:t(n({},(ee=S.parameters)==null?void 0:ee.docs),{source:n({originalSource:`{ render: () => { return diff --git a/pr-preview/pr-459/assets/WithTooltip-KJL26V4Q-B96EUjWQ.js b/pr-preview/pr-459/assets/WithTooltip-KJL26V4Q-DYLwYeD-.js similarity index 72% rename from pr-preview/pr-459/assets/WithTooltip-KJL26V4Q-B96EUjWQ.js rename to pr-preview/pr-459/assets/WithTooltip-KJL26V4Q-DYLwYeD-.js index b1b8cb3ee..c0bd664c9 100644 --- a/pr-preview/pr-459/assets/WithTooltip-KJL26V4Q-B96EUjWQ.js +++ b/pr-preview/pr-459/assets/WithTooltip-KJL26V4Q-DYLwYeD-.js @@ -1 +1 @@ -import{W as b,W as f,b as u}from"./index-ZtHH_h5v.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-CNk6hRaE.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";export{b as WithToolTipState,f as WithTooltip,u as WithTooltipPure}; +import{W as b,W as f,b as u}from"./index-Bf2yN5NY.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-CNk6hRaE.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";export{b as WithToolTipState,f as WithTooltip,u as WithTooltipPure}; diff --git a/pr-preview/pr-459/assets/_basePickBy-CAErHIeS.js b/pr-preview/pr-459/assets/_basePickBy-D_dsH4p9.js similarity index 94% rename from pr-preview/pr-459/assets/_basePickBy-CAErHIeS.js rename to pr-preview/pr-459/assets/_basePickBy-D_dsH4p9.js index 5fafb2ae7..1fab2a271 100644 --- a/pr-preview/pr-459/assets/_basePickBy-CAErHIeS.js +++ b/pr-preview/pr-459/assets/_basePickBy-D_dsH4p9.js @@ -1 +1 @@ -import{e as v,c as l,g as x,k as N,j as P,l as A,m as M,n as b,t as p,o as w}from"./_baseUniq-l1FN7L1W.js";import{aI as g,ay as E,aJ as F,aK as _,aL as B,aM as O,aN as T,aO as L,aP as S,aQ as $}from"./Using existing ones-Dhq84SWT.js";var G=/\s/;function K(n){for(var r=n.length;r--&&G.test(n.charAt(r)););return r}var R=/^\s+/;function c(n){return n&&n.slice(0,K(n)+1).replace(R,"")}var I=NaN,q=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,H=/^0o[0-7]+$/i,J=parseInt;function Q(n){if(typeof n=="number")return n;if(v(n))return I;if(g(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=g(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=c(n);var t=C.test(n);return t||H.test(n)?J(n.slice(2),t?2:8):q.test(n)?I:+n}var m=1/0,W=17976931348623157e292;function X(n){if(!n)return n===0?n:0;if(n=Q(n),n===m||n===-m){var r=n<0?-1:1;return r*W}return n===n?n:0}function Y(n){var r=X(n),t=r%1;return r===r?t?r-t:r:0}function tn(n){var r=n==null?0:n.length;return r?l(n,1):[]}var o=Object.prototype,y=o.hasOwnProperty,an=E(function(n,r){n=Object(n);var t=-1,e=r.length,i=e>2?r[2]:void 0;for(i&&F(r[0],r[1],i)&&(e=1);++t-1?i[f?r[a]:a]:void 0}}var U=Math.max;function Z(n,r,t){var e=n==null?0:n.length;if(!e)return-1;var i=t==null?0:Y(t);return i<0&&(i=U(e+i,0)),P(n,x(r),i)}var sn=D(Z);function z(n,r){var t=-1,e=O(n)?Array(n.length):[];return A(n,function(i,f,a){e[++t]=r(i,f,a)}),e}function fn(n,r){var t=T(n)?M:z;return t(n,x(r))}function V(n,r){return n2?r[2]:void 0;for(i&&F(r[0],r[1],i)&&(e=1);++t-1?i[f?r[a]:a]:void 0}}var U=Math.max;function Z(n,r,t){var e=n==null?0:n.length;if(!e)return-1;var i=t==null?0:Y(t);return i<0&&(i=U(e+i,0)),P(n,x(r),i)}var sn=D(Z);function z(n,r){var t=-1,e=O(n)?Array(n.length):[];return A(n,function(i,f,a){e[++t]=r(i,f,a)}),e}function fn(n,r){var t=T(n)?M:z;return t(n,x(r))}function V(n,r){return n-1}function $(n){return sn(n)?Rn(n):Cn(n)}var rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,er=/^\w*$/;function B(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||U(n)?!0:er.test(n)||!rr.test(n)||r!=null&&n in Object(r)}var tr=500;function ir(n){var r=Fn(n,function(t){return e.size===tr&&e.clear(),t}),e=r.cache;return r}var fr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ar=/\\(\\)?/g,sr=ir(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(fr,function(e,t,f,i){r.push(f?i.replace(ar,"$1"):t||e)}),r});function ur(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:B(n,r)?[n]:sr(ur(n))}var lr=1/0;function R(n){if(typeof n=="string"||U(n))return n;var r=n+"";return r=="0"&&1/n==-lr?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&e0&&e(s)?r>1?cr(s,r-1,e,t,f):K(f,s):t||(f[f.length]=s)}return f}function br(n,r,e,t){var f=-1,i=n==null?0:n.length;for(t&&i&&(e=n[++f]);++fs))return!1;var b=i.get(n),c=i.get(r);if(b&&c)return b==r&&c==n;var l=-1,g=!0,h=e&Re?new E:void 0;for(i.set(n,r),i.set(r,n);++l=St){var b=r?null:Et(n);if(b)return Y(b);a=!1,f=Pn,u=new E}else u=r?[]:s;n:for(;++t-1}function $(n){return sn(n)?Rn(n):Cn(n)}var rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,er=/^\w*$/;function B(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||U(n)?!0:er.test(n)||!rr.test(n)||r!=null&&n in Object(r)}var tr=500;function ir(n){var r=Fn(n,function(t){return e.size===tr&&e.clear(),t}),e=r.cache;return r}var fr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ar=/\\(\\)?/g,sr=ir(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(fr,function(e,t,f,i){r.push(f?i.replace(ar,"$1"):t||e)}),r});function ur(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:B(n,r)?[n]:sr(ur(n))}var lr=1/0;function R(n){if(typeof n=="string"||U(n))return n;var r=n+"";return r=="0"&&1/n==-lr?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&e0&&e(s)?r>1?cr(s,r-1,e,t,f):K(f,s):t||(f[f.length]=s)}return f}function br(n,r,e,t){var f=-1,i=n==null?0:n.length;for(t&&i&&(e=n[++f]);++fs))return!1;var b=i.get(n),c=i.get(r);if(b&&c)return b==r&&c==n;var l=-1,g=!0,h=e&Re?new E:void 0;for(i.set(n,r),i.set(r,n);++l=St){var b=r?null:Et(n);if(b)return Y(b);a=!1,f=Pn,u=new E}else u=r?[]:s;n:for(;++tr*r+X*X&&(M=w,N=p),{cx:M,cy:N,x01:-n,y01:-d,x11:M*(v/T-1),y11:N*(v/T-1)}}function hn(){var l=cn,h=yn,D=Q(0),S=null,v=gn,R=dn,V=mn,a=null,E=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=R.apply(this,arguments)-an,W=un(c-f),t=c>f;if(a||(a=n=E()),sy))a.moveTo(0,0);else if(W>tn-y)a.moveTo(s*Y(f),s*O(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*Y(c),u*O(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,A=f,T=c,P=W,I=W,M=V.apply(this,arguments)/2,N=M>y&&(S?+S.apply(this,arguments):j(u*u+s*s)),w=_(un(s-u)/2,+D.apply(this,arguments)),p=w,x=w,e,r;if(N>y){var X=sn(N/u*O(M)),z=sn(N/s*O(M));(P-=X*2)>y?(X*=t?1:-1,A+=X,T-=X):(P=0,A=T=(f+c)/2),(I-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(I=0,m=g=(f+c)/2)}var Z=s*Y(m),$=s*O(m),B=u*Y(T),C=u*O(T);if(w>y){var F=s*Y(g),G=s*O(g),J=u*Y(A),K=u*O(A),q;if(Wy?x>y?(e=H(J,K,Z,$,s,x,t),r=H(F,G,B,C,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xy)||!(P>y)?a.lineTo(B,C):p>y?(e=H(B,C,F,G,u,-p,t),r=H(Z,$,J,K,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),pr*r+X*X&&(M=w,N=p),{cx:M,cy:N,x01:-n,y01:-d,x11:M*(v/T-1),y11:N*(v/T-1)}}function hn(){var l=cn,h=yn,D=Q(0),S=null,v=gn,R=dn,V=mn,a=null,E=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=R.apply(this,arguments)-an,W=un(c-f),t=c>f;if(a||(a=n=E()),sy))a.moveTo(0,0);else if(W>tn-y)a.moveTo(s*Y(f),s*O(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*Y(c),u*O(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,A=f,T=c,P=W,I=W,M=V.apply(this,arguments)/2,N=M>y&&(S?+S.apply(this,arguments):j(u*u+s*s)),w=_(un(s-u)/2,+D.apply(this,arguments)),p=w,x=w,e,r;if(N>y){var X=sn(N/u*O(M)),z=sn(N/s*O(M));(P-=X*2)>y?(X*=t?1:-1,A+=X,T-=X):(P=0,A=T=(f+c)/2),(I-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(I=0,m=g=(f+c)/2)}var Z=s*Y(m),$=s*O(m),B=u*Y(T),C=u*O(T);if(w>y){var F=s*Y(g),G=s*O(g),J=u*Y(A),K=u*O(A),q;if(Wy?x>y?(e=H(J,K,Z,$,s,x,t),r=H(F,G,B,C,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xy)||!(P>y)?a.lineTo(B,C):p>y?(e=H(B,C,F,G,u,-p,t),r=H(Z,$,J,K,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),pF in C?je(C,F,{enumerable:!0,configurable:!0,writable:!0,value:A}):C[F]=A,le=(C,F)=>{for(var A in F||(F={}))er.call(F,A)&&Re(C,A,F[A]);if(Ie)for(var A of Ie(F))rr.call(F,A)&&Re(C,A,F[A]);return C},fe=(C,F)=>_e(C,tr(F));var Qt=(C,F,A)=>new Promise((Y,N)=>{var g=e=>{try{i(A.next(e))}catch(r){N(r)}},o=e=>{try{i(A.throw(e))}catch(r){N(r)}},i=e=>e.done?Y(e.value):Promise.resolve(e.value).then(g,o);i((A=A.apply(C,F)).next())});import{F as ir,_ as nt,aF as ar,aG as nr,q as or,r as sr,s as hr,g as lr,c as fr,b as cr,d as ue,l as Ue,j as gr,t as ur,K as dr,aa as vr,D as Ce,aH as Ne}from"./Using existing ones-Dhq84SWT.js";import{p as pr}from"./chunk-OQCM5LHU-_hEzITn5.js";import{I as yr}from"./chunk-2RYQ3QTB-Cnh_I8p8.js";import{p as Er}from"./mermaid-parser.core-CbtfyxSr.js";import{c as Ye}from"./cytoscape.esm-BI0LHGOR.js";import{c as Me,g as mr}from"./index-CNk6hRaE.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";var Xe={exports:{}},me={exports:{}},Te={exports:{}},Se;function Tr(){return Se||(Se=1,function(C,F){(function(Y,N){C.exports=N()})(Me,function(){return function(A){var Y={};function N(g){if(Y[g])return Y[g].exports;var o=Y[g]={i:g,l:!1,exports:{}};return A[g].call(o.exports,o,o.exports,N),o.l=!0,o.exports}return N.m=A,N.c=Y,N.i=function(g){return g},N.d=function(g,o,i){N.o(g,o)||Object.defineProperty(g,o,{configurable:!1,enumerable:!0,get:i})},N.n=function(g){var o=g&&g.__esModule?function(){return g.default}:function(){return g};return N.d(o,"a",o),o},N.o=function(g,o){return Object.prototype.hasOwnProperty.call(g,o)},N.p="",N(N.s=28)}([function(A,Y,N){function g(){}g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,A.exports=g},function(A,Y,N){var g=N(2),o=N(8),i=N(9);function e(f,a,p){g.call(this,p),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=p,this.bendpoints=[],this.source=f,this.target=a}e.prototype=Object.create(g.prototype);for(var r in g)e[r]=g[r];e.prototype.getSource=function(){return this.source},e.prototype.getTarget=function(){return this.target},e.prototype.isInterGraph=function(){return this.isInterGraph},e.prototype.getLength=function(){return this.length},e.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},e.prototype.getBendpoints=function(){return this.bendpoints},e.prototype.getLca=function(){return this.lca},e.prototype.getSourceInLca=function(){return this.sourceInLca},e.prototype.getTargetInLca=function(){return this.targetInLca},e.prototype.getOtherEnd=function(f){if(this.source===f)return this.target;if(this.target===f)return this.source;throw"Node is not incident with this edge"},e.prototype.getOtherEndInGraph=function(f,a){for(var p=this.getOtherEnd(f),t=a.getGraphManager().getRoot();;){if(p.getOwner()==a)return p;if(p.getOwner()==t)break;p=p.getOwner().getParent()}return null},e.prototype.updateLength=function(){var f=new Array(4);this.isOverlapingSourceAndTarget=o.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},e.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},A.exports=e},function(A,Y,N){function g(o){this.vGraphObject=o}A.exports=g},function(A,Y,N){var g=N(2),o=N(10),i=N(13),e=N(0),r=N(16),f=N(5);function a(t,h,s,c){s==null&&c==null&&(c=h),g.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=o.MIN_VALUE,this.inclusionTreeDepth=o.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,s!=null&&h!=null?this.rect=new i(h.x,h.y,s.width,s.height):this.rect=new i}a.prototype=Object.create(g.prototype);for(var p in g)a[p]=g[p];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(t){this.rect.width=t},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(t){this.rect.height=t},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new f(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new f(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(t,h){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=h.width,this.rect.height=h.height},a.prototype.setCenter=function(t,h){this.rect.x=t-this.rect.width/2,this.rect.y=h-this.rect.height/2},a.prototype.setLocation=function(t,h){this.rect.x=t,this.rect.y=h},a.prototype.moveBy=function(t,h){this.rect.x+=t,this.rect.y+=h},a.prototype.getEdgeListToNode=function(t){var h=[],s=this;return s.edges.forEach(function(c){if(c.target==t){if(c.source!=s)throw"Incorrect edge source!";h.push(c)}}),h},a.prototype.getEdgesBetween=function(t){var h=[],s=this;return s.edges.forEach(function(c){if(!(c.source==s||c.target==s))throw"Incorrect edge source and/or target";(c.target==t||c.source==t)&&h.push(c)}),h},a.prototype.getNeighborsList=function(){var t=new Set,h=this;return h.edges.forEach(function(s){if(s.source==h)t.add(s.target);else{if(s.target!=h)throw"Incorrect incidency!";t.add(s.source)}}),t},a.prototype.withChildren=function(){var t=new Set,h,s;if(t.add(this),this.child!=null)for(var c=this.child.getNodes(),l=0;lh?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(s+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>s?(this.rect.y-=(this.labelHeight-s)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(s+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==o.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>e.WORLD_BOUNDARY?h=e.WORLD_BOUNDARY:h<-e.WORLD_BOUNDARY&&(h=-e.WORLD_BOUNDARY);var s=this.rect.y;s>e.WORLD_BOUNDARY?s=e.WORLD_BOUNDARY:s<-e.WORLD_BOUNDARY&&(s=-e.WORLD_BOUNDARY);var c=new f(h,s),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},A.exports=a},function(A,Y,N){var g=N(0);function o(){}for(var i in g)o[i]=g[i];o.MAX_ITERATIONS=2500,o.DEFAULT_EDGE_LENGTH=50,o.DEFAULT_SPRING_STRENGTH=.45,o.DEFAULT_REPULSION_STRENGTH=4500,o.DEFAULT_GRAVITY_STRENGTH=.4,o.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,o.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,o.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,o.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,o.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,o.COOLING_ADAPTATION_FACTOR=.33,o.ADAPTATION_LOWER_NODE_LIMIT=1e3,o.ADAPTATION_UPPER_NODE_LIMIT=5e3,o.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,o.MAX_NODE_DISPLACEMENT=o.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,o.MIN_REPULSION_DIST=o.DEFAULT_EDGE_LENGTH/10,o.CONVERGENCE_CHECK_PERIOD=100,o.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,o.MIN_EDGE_LENGTH=1,o.GRID_CALCULATION_CHECK_PERIOD=10,A.exports=o},function(A,Y,N){function g(o,i){o==null&&i==null?(this.x=0,this.y=0):(this.x=o,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(o){this.x=o},g.prototype.setY=function(o){this.y=o},g.prototype.getDifference=function(o){return new DimensionD(this.x-o.x,this.y-o.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(o){return this.x+=o.width,this.y+=o.height,this},A.exports=g},function(A,Y,N){var g=N(2),o=N(10),i=N(0),e=N(7),r=N(3),f=N(1),a=N(13),p=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=o.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof e?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var s in g)h[s]=g[s];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var d=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(d.source=l,d.target=T,d.isInterGraph=!1,this.getEdges().push(d),l.edges.push(d),T!=l&&T.edges.push(d),d)}},h.prototype.remove=function(c){var l=c;if(c instanceof r){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,d=T.length,L=0;L-1&&G>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(M,1),u.target!=u.source&&u.target.edges.splice(G,1);var b=u.source.owner.getEdges().indexOf(u);if(b==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(b,1)}},h.prototype.updateLeftTop=function(){for(var c=o.MAX_VALUE,l=o.MAX_VALUE,T,u,d,L=this.getNodes(),b=L.length,M=0;MT&&(c=T),l>u&&(l=u)}return c==o.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?d=L[0].getParent().paddingLeft:d=this.margin,this.left=l-d,this.top=c-d,new p(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=o.MAX_VALUE,T=-o.MAX_VALUE,u=o.MAX_VALUE,d=-o.MAX_VALUE,L,b,M,G,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TM&&(u=M),dL&&(l=L),TM&&(u=M),d=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},A.exports=h},function(A,Y,N){var g,o=N(1);function i(e){g=N(6),this.layout=e,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var e=this.layout.newGraph(),r=this.layout.newNode(null),f=this.add(e,r);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(e,r,f,a,p){if(f==null&&a==null&&p==null){if(e==null)throw"Graph is null!";if(r==null)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),e.parent!=null)throw"Already has a parent!";if(r.child!=null)throw"Already has a child!";return e.parent=r,r.child=e,e}else{p=f,a=r,f=e;var t=a.getOwner(),h=p.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,p);if(f.isInterGraph=!0,f.source=a,f.target=p,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(e){if(e instanceof g){var r=e;if(r.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(r==this.rootGraph||r.parent!=null&&r.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(r.getEdges());for(var a,p=f.length,t=0;t=e.getRight()?r[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight()):e.getX()<=i.getX()&&e.getRight()>=i.getRight()&&(r[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight())),i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()?r[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()):e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()&&(r[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()));var p=Math.abs((e.getCenterY()-i.getCenterY())/(e.getCenterX()-i.getCenterX()));e.getCenterY()===i.getCenterY()&&e.getCenterX()===i.getCenterX()&&(p=1);var t=p*r[0],h=r[1]/p;r[0]t)return r[0]=f,r[1]=s,r[2]=p,r[3]=V,!1;if(ap)return r[0]=h,r[1]=a,r[2]=G,r[3]=t,!1;if(fp?(r[0]=l,r[1]=T,n=!0):(r[0]=c,r[1]=s,n=!0):v===y&&(f>p?(r[0]=h,r[1]=s,n=!0):(r[0]=u,r[1]=T,n=!0)),-E===y?p>f?(r[2]=J,r[3]=V,m=!0):(r[2]=G,r[3]=M,m=!0):E===y&&(p>f?(r[2]=b,r[3]=M,m=!0):(r[2]=Q,r[3]=V,m=!0)),n&&m)return!1;if(f>p?a>t?(I=this.getCardinalDirection(v,y,4),w=this.getCardinalDirection(E,y,2)):(I=this.getCardinalDirection(-v,y,3),w=this.getCardinalDirection(-E,y,1)):a>t?(I=this.getCardinalDirection(-v,y,1),w=this.getCardinalDirection(-E,y,3)):(I=this.getCardinalDirection(v,y,2),w=this.getCardinalDirection(E,y,4)),!n)switch(I){case 1:H=s,R=f+-L/y,r[0]=R,r[1]=H;break;case 2:R=u,H=a+d*y,r[0]=R,r[1]=H;break;case 3:H=T,R=f+L/y,r[0]=R,r[1]=H;break;case 4:R=l,H=a+-d*y,r[0]=R,r[1]=H;break}if(!m)switch(w){case 1:k=M,x=p+-rt/y,r[2]=x,r[3]=k;break;case 2:x=Q,k=t+D*y,r[2]=x,r[3]=k;break;case 3:k=V,x=p+rt/y,r[2]=x,r[3]=k;break;case 4:x=J,k=t+-D*y,r[2]=x,r[3]=k;break}}return!1},o.getCardinalDirection=function(i,e,r){return i>e?r:1+r%4},o.getIntersection=function(i,e,r,f){if(f==null)return this.getIntersection2(i,e,r);var a=i.x,p=i.y,t=e.x,h=e.y,s=r.x,c=r.y,l=f.x,T=f.y,u=void 0,d=void 0,L=void 0,b=void 0,M=void 0,G=void 0,J=void 0,V=void 0,Q=void 0;return L=h-p,M=a-t,J=t*p-a*h,b=T-c,G=s-l,V=l*c-s*T,Q=L*G-b*M,Q===0?null:(u=(M*V-G*J)/Q,d=(b*J-L*V)/Q,new g(u,d))},o.angleOfVector=function(i,e,r,f){var a=void 0;return i!==r?(a=Math.atan((f-e)/(r-i)),r=0){var T=(-s+Math.sqrt(s*s-4*h*c))/(2*h),u=(-s-Math.sqrt(s*s-4*h*c))/(2*h),d=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:d}else return null},o.HALF_PI=.5*Math.PI,o.ONE_AND_HALF_PI=1.5*Math.PI,o.TWO_PI=2*Math.PI,o.THREE_PI=3*Math.PI,A.exports=o},function(A,Y,N){function g(){}g.sign=function(o){return o>0?1:o<0?-1:0},g.floor=function(o){return o<0?Math.ceil(o):Math.floor(o)},g.ceil=function(o){return o<0?Math.floor(o):Math.ceil(o)},A.exports=g},function(A,Y,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,A.exports=g},function(A,Y,N){var g=function(){function a(p,t){for(var h=0;h0&&c;){for(L.push(M[0]);L.length>0&&c;){var G=L[0];L.splice(0,1),d.add(G);for(var J=G.getEdges(),u=0;u-1&&M.splice(rt,1)}d=new Set,b=new Map}}return s},h.prototype.createDummyNodesForBendpoints=function(s){for(var c=[],l=s.source,T=this.graphManager.calcLowestCommonAncestor(s.source,s.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=b.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),v=m-1;v==1&&G.push(n),T.set(n,v)}})}l=l.concat(G),(c.length==1||c.length==2)&&(u=!0,d=c[0])}return d},h.prototype.setGraphManager=function(s){this.graphManager=s},A.exports=h},function(A,Y,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},A.exports=g},function(A,Y,N){var g=N(5);function o(i,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}o.prototype.getWorldOrgX=function(){return this.lworldOrgX},o.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},o.prototype.getWorldOrgY=function(){return this.lworldOrgY},o.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},o.prototype.getWorldExtX=function(){return this.lworldExtX},o.prototype.setWorldExtX=function(i){this.lworldExtX=i},o.prototype.getWorldExtY=function(){return this.lworldExtY},o.prototype.setWorldExtY=function(i){this.lworldExtY=i},o.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},o.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},o.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},o.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},o.prototype.getDeviceExtX=function(){return this.ldeviceExtX},o.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},o.prototype.getDeviceExtY=function(){return this.ldeviceExtY},o.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},o.prototype.transformX=function(i){var e=0,r=this.lworldExtX;return r!=0&&(e=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/r),e},o.prototype.transformY=function(i){var e=0,r=this.lworldExtY;return r!=0&&(e=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/r),e},o.prototype.inverseTransformX=function(i){var e=0,r=this.ldeviceExtX;return r!=0&&(e=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/r),e},o.prototype.inverseTransformY=function(i){var e=0,r=this.ldeviceExtY;return r!=0&&(e=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/r),e},o.prototype.inverseTransformPoint=function(i){var e=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return e},A.exports=o},function(A,Y,N){function g(t){if(Array.isArray(t)){for(var h=0,s=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,s=0;s0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s,c,l,T,u=this.getAllNodes(),d;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),d=new Set,s=0;sL||d>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||d>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var b=0;ba}}]),r}();A.exports=e},function(A,Y,N){function g(){}g.svd=function(o){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=o.length,this.n=o[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var Mt=[];Nt-- >0;)Mt.push(0);return Mt}(Math.min(this.m+1,this.n)),this.U=function(Nt){var Mt=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)Mt.push(0);return Mt}(this.n),r=function(Nt){for(var Mt=[];Nt-- >0;)Mt.push(0);return Mt}(this.m),f=!0,a=Math.min(this.m-1,this.n),p=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var y=E+1;y=0;W--){if(function(Nt,Mt){return Nt&&Mt}(W0;){var q=void 0,Rt=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(e[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){e[q]=0;break}if(q===n-2)Rt=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var vt=(Lt!==n?Math.abs(e[Lt]):0)+(Lt!==q+1?Math.abs(e[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*vt){this.s[Lt]=0;break}}Lt===q?Rt=3:Lt===n-1?Rt=1:(Rt=2,q=Lt)}switch(q++,Rt){case 1:{var it=e[n-2];e[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),At=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*e[ut-1],e[ut-1]=At*e[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Ct=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Ct,qMath.abs(i)?(e=i/o,e=Math.abs(o)*Math.sqrt(1+e*e)):i!=0?(e=o/i,e=Math.abs(i)*Math.sqrt(1+e*e)):e=0,e},A.exports=g},function(A,Y,N){var g=function(){function e(r,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;o(this,e),this.sequence1=r,this.sequence2=f,this.match_score=a,this.mismatch_penalty=p,this.gap_penalty=t,this.iMax=r.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;r--){var f=this.listeners[r];f.event===i&&f.callback===e&&this.listeners.splice(r,1)}},o.emit=function(i,e){for(var r=0;r{var Y={45:(i,e,r)=>{var f={};f.layoutBase=r(551),f.CoSEConstants=r(806),f.CoSEEdge=r(767),f.CoSEGraph=r(880),f.CoSEGraphManager=r(578),f.CoSELayout=r(765),f.CoSENode=r(991),f.ConstraintHandler=r(902),i.exports=f},806:(i,e,r)=>{var f=r(551).FDLayoutConstants;function a(){}for(var p in f)a[p]=f[p];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,e,r)=>{var f=r(551).FDLayoutEdge;function a(t,h,s){f.call(this,t,h,s)}a.prototype=Object.create(f.prototype);for(var p in f)a[p]=f[p];i.exports=a},880:(i,e,r)=>{var f=r(551).LGraph;function a(t,h,s){f.call(this,t,h,s)}a.prototype=Object.create(f.prototype);for(var p in f)a[p]=f[p];i.exports=a},578:(i,e,r)=>{var f=r(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var p in f)a[p]=f[p];i.exports=a},765:(i,e,r)=>{var f=r(551).FDLayout,a=r(578),p=r(880),t=r(991),h=r(767),s=r(806),c=r(902),l=r(551).FDLayoutConstants,T=r(551).LayoutConstants,u=r(551).Point,d=r(551).PointD,L=r(551).DimensionD,b=r(551).Layout,M=r(551).Integer,G=r(551).IGeometry,J=r(551).LGraph,V=r(551).Transform,Q=r(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new p(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(s.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=s.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(s.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),v=this.nodesWithGravity.filter(function(I){return m.has(I)});this.graphManager.setAllNodesToApplyGravitation(v)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),v=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(v),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),s.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(y){return n.has(y)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),s.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),s.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var v=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(v,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},v=0;v0&&this.updateDisplacements();for(var v=0;v0&&(E.fixedNodeWeight=I)}}if(this.constraints.relativePlacementConstraint){var w=new Map,R=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,v=0;v=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,Rt=new Set,Lt=0;return X.forEach(function(vt,it){if(!Rt.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),Rt.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(At){Rt.has(At)||(q.push(At),Rt.add(At),_[Lt].push(At))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,v=0;v1){var R;for(R=0;RE&&(E=Math.floor(w.y)),I=Math.floor(w.x+s.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,v){var E=Math.max(this.maxDiagonalInTree(n),s.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var y=J.calculateBounds(n),I=new V;I.setDeviceOrgX(y.getMinX()),I.setDeviceOrgY(y.getMinY()),I.setWorldOrgX(v.x),I.setWorldOrgY(v.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-v)/U,q=O;et!=U;q=++q%z){var Rt=W[q].getOtherEnd(n);if(Rt!=m){var Lt=(v+et*lt)%360,vt=(Lt+lt)%360;D.branchRadialLayout(Rt,n,Lt,vt,y+I,I),et++}}},D.maxDiagonalInTree=function(n){for(var m=M.MIN_VALUE,v=0;vm&&(m=y)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var v=[],E=this.graphManager.getAllNodes(),y=0;y1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zy?(E.rect.x-=(E.labelWidth-y)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-y)/2):E.labelPosHorizontal=="right"&&E.setWidth(y+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(I+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>I?(E.rect.y-=(E.labelHeight-I)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-I)/2):E.labelPosVertical=="bottom"&&E.setHeight(I+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],v=m.id,E=m.paddingLeft,y=m.paddingTop,I=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[v],m.rect.x,m.rect.y,E,y,I,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(v){var E=n.idToDummyNode[v],y=E.paddingLeft,I=E.paddingTop,w=E.labelMarginLeft,R=E.labelMarginTop;n.adjustLocations(m[v],E.rect.x,E.rect.y,y,I,w,R)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var v=n.getChild();if(v==null)return this.toBeTiled[m]=!1,!1;for(var E=v.getNodes(),y=0;y0)return this.toBeTiled[m]=!1,!1;if(I.getChild()==null){this.toBeTiled[I.id]=!1;continue}if(!this.getToBeTiled(I))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),v=0,E=0;Ek&&(k=U.rect.height)}v+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var v=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var y=m[E];if(v.tiledMemberPack[E]=v.tileNodes(n[E],y.paddingLeft+y.paddingRight),y.rect.width=v.tiledMemberPack[E].width,y.rect.height=v.tiledMemberPack[E].height,y.setCenter(v.tiledMemberPack[E].centerX,v.tiledMemberPack[E].centerY),y.labelMarginLeft=0,y.labelMarginTop=0,s.NODE_DIMENSIONS_INCLUDE_LABELS){var I=y.rect.width,w=y.rect.height;y.labelWidth&&(y.labelPosHorizontal=="left"?(y.rect.x-=y.labelWidth,y.setWidth(I+y.labelWidth),y.labelMarginLeft=y.labelWidth):y.labelPosHorizontal=="center"&&y.labelWidth>I?(y.rect.x-=(y.labelWidth-I)/2,y.setWidth(y.labelWidth),y.labelMarginLeft=(y.labelWidth-I)/2):y.labelPosHorizontal=="right"&&y.setWidth(I+y.labelWidth)),y.labelHeight&&(y.labelPosVertical=="top"?(y.rect.y-=y.labelHeight,y.setHeight(w+y.labelHeight),y.labelMarginTop=y.labelHeight):y.labelPosVertical=="center"&&y.labelHeight>w?(y.rect.y-=(y.labelHeight-w)/2,y.setHeight(y.labelHeight),y.labelMarginTop=(y.labelHeight-w)/2):y.labelPosVertical=="bottom"&&y.setHeight(w+y.labelHeight))}})},D.prototype.tileNodes=function(n,m){var v=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),y=this.getOrgRatio(v),I=this.getOrgRatio(E),w;return IR&&(R=z.getWidth())});var H=I/y,x=w/y,k=Math.pow(v-E,2)+4*(H+E)*(x+v)*y,W=(E-v+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return R>et&&(et=R),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,v){var E=s.TILING_PADDING_VERTICAL,y=s.TILING_PADDING_HORIZONTAL,I=s.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:y,centerX:0,centerY:0};I&&(w.idealRowWidth=this.calcIdealRowWidth(n,v));var R=function(O){return O.rect.width*O.rect.height},H=function(O,X){return R(X)-R(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=I,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[v]=w,n.width0&&(R+=n.verticalPadding);var H=0;R>n.rowHeight[v]&&(H=n.rowHeight[v],n.rowHeight[v]=R,H=n.rowHeight[v]-H),n.height+=H,n.rows[v].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,v=Number.MAX_VALUE,E=0;Ev&&(m=E,v=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,v){if(n.idealRowWidth){var E=n.rows.length-1,y=n.rowWidth[E];return y+m+n.horizontalPadding<=n.idealRowWidth}var I=this.getShortestRowIndex(n);if(I<0)return!0;var w=n.rowWidth[I];if(w+n.horizontalPadding+m<=n.width)return!0;var R=0;n.rowHeight[I]0&&(R=v+n.verticalPadding-n.rowHeight[I]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+R)/(w+m+n.horizontalPadding):H=(n.height+R)/n.width,R=v+n.verticalPadding;var x;return n.widthI&&m!=v){E.splice(-1,1),n.rows[v].push(y),n.rowWidth[m]=n.rowWidth[m]-I,n.rowWidth[v]=n.rowWidth[v]+I,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,R=0;Rw&&(w=E[R].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[v];n.rowHeight[m]=w,n.rowHeight[v]0)for(var et=y;et<=I;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(I0)for(var et=w;et<=R;et++)U[3]+=this.grid[y-1][et].length+this.grid[y][et].length-1;for(var z=M.MAX_VALUE,O,X,B=0;B{var f=r(551).FDLayoutNode,a=r(551).IMath;function p(h,s,c,l){f.call(this,h,s,c,l)}p.prototype=Object.create(f.prototype);for(var t in f)p[t]=f[t];p.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},p.prototype.propogateDisplacementToChildren=function(h,s){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Ct=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?d[u.get(ht)]:Z.get(ht)),Ct+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Ct+=tt.get(ht))}),Ct=Ct/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Ct)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?d[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=dt.shift(),Ct=P.get(st);Ct.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),teWt&&(Wt=te)}}catch(ae){Mt=!0,Zt=ae}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(Mt)throw Zt}}var de=(Ct+ht)/2-(ct+Wt)/2,jt=!0,ee=!1,re=void 0;try{for(var _t=ft[Symbol.iterator](),he;!(jt=(he=_t.next()).done);jt=!0){var ie=he.value;tt.set(ie,tt.get(ie)+de)}}catch(ae){ee=!0,re=ae}finally{try{!jt&&_t.return&&_t.return()}finally{if(ee)throw re}}})}return tt},rt=function(P){var $=0,K=0,Z=0,at=0;if(P.forEach(function(j){j.left?d[u.get(j.left)]-d[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,P){E[P]=[S.position.x,S.position.y],y[P]=[d[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),I=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var P=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;P[tt].forEach(function(yt){j.add(yt)});var dt=new Set([].concat(f(j)).filter(function(yt){return R.has(yt)})),wt=void 0;dt.size>0?wt=d[u.get(dt.values().next().value)]:wt=Q(j).x,P[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],y[S]=[d[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=d[u.get(dt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[d[u.get(yt)],wt],y[S]=[d[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,P){var $={x:d[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,d.forEach(function(S,P){d[P]+=mt.x}),L.forEach(function(S,P){L[P]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){d[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(P){var $=new Set;xt[P].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return R.has(at)})),Z=void 0;K.size>0?Z=d[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){R.has(at)||(d[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){R.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=A}},N={};function g(i){var e=N[i];if(e!==void 0)return e.exports;var r=N[i]={exports:{}};return Y[i](r,r.exports,g),r.exports}var o=g(45);return o})()})}(me)),me.exports}(function(C,F){(function(Y,N){C.exports=N(Nr())})(Me,function(A){return(()=>{var Y={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(e){for(var r=arguments.length,f=Array(r>1?r-1:0),a=1;a{var f=function(){function t(h,s){var c=[],l=!0,T=!1,u=void 0;try{for(var d=h[Symbol.iterator](),L;!(l=(L=d.next()).done)&&(c.push(L.value),!(s&&c.length===s));l=!0);}catch(b){T=!0,u=b}finally{try{!l&&d.return&&d.return()}finally{if(T)throw u}}return c}return function(h,s){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,s);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=r(140).layoutBase.LinkedList,p={};p.getTopMostNodes=function(t){for(var h={},s=0;s0&&I.merge(x)});for(var w=0;w1){L=u[0],b=L.connectedEdges().length,u.forEach(function(y){y.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},p.relocateComponent=function(t,h,s){if(!s.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(s.quality=="draft"){var d=!0,L=!1,b=void 0;try{for(var M=h.nodeIndexes[Symbol.iterator](),G;!(d=(G=M.next()).done);d=!0){var J=G.value,V=f(J,2),Q=V[0],D=V[1],rt=s.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,v=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,y=h.yCoords[D]+n.h/2;ml&&(l=v),Eu&&(u=y)}}}catch(x){L=!0,b=x}finally{try{!d&&M.return&&M.return()}finally{if(L)throw b}}var I=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+I}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var R=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+R,k.getCenterY()+H)})}}},p.calcBoundingBox=function(t,h,s,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,d=Number.MIN_SAFE_INTEGER,L=void 0,b=void 0,M=void 0,G=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TM&&(u=M),d{var f=r(548),a=r(140).CoSELayout,p=r(140).CoSENode,t=r(140).layoutBase.PointD,h=r(140).layoutBase.DimensionD,s=r(140).layoutBase.LayoutConstants,c=r(140).layoutBase.FDLayoutConstants,l=r(140).CoSEConstants,T=function(d,L){var b=d.cy,M=d.eles,G=M.nodes(),J=M.edges(),V=void 0,Q=void 0,D=void 0,rt={};d.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},v=f.calcParentsWithoutChildren(b,M),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},y=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(d.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=d.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},I=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};d.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=d.nestingFactor),d.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=d.gravity),d.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=d.numIter),d.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=d.gravityRange),d.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=d.gravityCompound),d.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=d.gravityRangeCompound),d.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=d.initialEnergyOnIncremental),d.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=d.tilingCompareBy),d.quality=="proof"?s.QUALITY=2:s.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=s.NODE_DIMENSIONS_INCLUDE_LABELS=d.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=s.DEFAULT_INCREMENTAL=!d.randomize,l.ANIMATE=c.ANIMATE=s.ANIMATE=d.animate,l.TILE=d.tile,l.TILING_PADDING_VERTICAL=typeof d.tilingPaddingVertical=="function"?d.tilingPaddingVertical.call():d.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof d.tilingPaddingHorizontal=="function"?d.tilingPaddingHorizontal.call():d.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=s.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!d.randomize,s.DEFAULT_UNIFORM_LEAF_NODE_SIZES=d.uniformNodeDimensions,d.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),d.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),d.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),d.step=="all"&&(d.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),d.fixedNodeConstraint||d.alignmentConstraint||d.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,R=w.newGraphManager();return E(R.addRoot(),f.getTopMostNodes(G),w,d),y(w,R,J),I(w,d),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,e,r)=>{var f=function(){function d(L,b){for(var M=0;M0)if(v){var I=t.getTopMostNodes(M.eles.nodes());if(D=t.connectComponents(G,M.eles,I),D.forEach(function(vt){var it=vt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),M.randomize&&D.forEach(function(vt){M.eles=vt,V.push(s(M))}),M.quality=="default"||M.quality=="proof"){var w=G.collection();if(M.tile){var R=new Map,H=[],x=[],k=0,W={nodeIndexes:R,xCoords:H,yCoords:x},U=[];if(D.forEach(function(vt,it){vt.edges().length==0&&(vt.nodes().forEach(function(ut,Tt){w.merge(vt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(vt.nodes()[Tt].id(),k++),W.xCoords.push(vt.nodes()[0].position().x),W.yCoords.push(vt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(vt,it){M.eles=vt,Q.push(l(M,V[it])),t.relocateComponent(rt[it],Q[it],M)})}else D.forEach(function(vt,it){t.relocateComponent(rt[it],V[it],M)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(vt){return vt.css("display")=="none"});D.forEach(function(vt,it){var ut=void 0;if(M.quality=="draft"&&(ut=V[it].nodeIndexes),vt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var At=void 0;vt.nodes().not(B).forEach(function(Dt){if(M.quality=="draft")if(!Dt.isParent())At=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[At]-Dt.boundingbox().w/2,y:V[it].yCoords[At]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),vt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(M.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,M.randomize).shifts;if(M.quality=="draft")V.forEach(function(vt,it){var ut=vt.xCoords.map(function(At){return At+_[it].dx}),Tt=vt.yCoords.map(function(At){return At+_[it].dy});vt.xCoords=ut,vt.yCoords=Tt});else{var lt=0;O.forEach(function(vt){Object.keys(Q[vt]).forEach(function(it){var ut=Q[vt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=M.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),M.randomize){var y=s(M);V.push(y)}M.quality=="default"||M.quality=="proof"?(Q.push(l(M,V[0])),t.relocateComponent(rt[0],Q[0],M)):t.relocateComponent(rt[0],V[0],M)}var q=function(it,ut){if(M.quality=="default"||M.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,At=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},At=xt[Dt])}),M.nodeDimensionsIncludeLabels&&(At.labelWidth&&(At.labelPosHorizontal=="left"?Tt.x+=At.labelWidth/2:At.labelPosHorizontal=="right"&&(Tt.x-=At.labelWidth/2)),At.labelHeight&&(At.labelPosVertical=="top"?Tt.y+=At.labelHeight/2:At.labelPosVertical=="bottom"&&(Tt.y-=At.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(M.quality=="default"||M.quality=="proof"||M.randomize){var Rt=t.calcParentsWithoutChildren(G,J),Lt=J.filter(function(vt){return vt.css("display")=="none"});M.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(b,M,q),Rt.length>0&&Rt.forEach(function(vt){vt.position(q(vt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),d}();i.exports=u},657:(i,e,r)=>{var f=r(548),a=r(140).layoutBase.Matrix,p=r(140).layoutBase.SVD,t=function(s){var c=s.cy,l=s.eles,T=l.nodes(),u=l.nodes(":parent"),d=new Map,L=new Map,b=new Map,M=[],G=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,v=1e8,E=1e-9,y=s.piTol,I=s.samplingType,w=s.nodeSeparation,R=void 0,H=function(){for(var P=0,$=0,K=!1;$=at;){ot=Z[at++];for(var It=M[ot],ft=0;ftdt&&(dt=Q[Ct],wt=Ct)}return wt},k=function(P){var $=void 0;if(P){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?M[P].push(b.get($.id())):M[P].push($.id()))})});var Lt=function(P){var $=L.get(P),K=void 0;d.get(P).forEach(function(Z){c.getElementById(Z).isParent()?K=b.get(Z):K=Z,M[$].push(K),M[L.get(K)].push(P)})},vt=!0,it=!1,ut=void 0;try{for(var Tt=d.keys()[Symbol.iterator](),At;!(vt=(At=Tt.next()).done);vt=!0){var Dt=At.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!vt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){R=m{var f=r(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape!="undefined"&&a(cytoscape),i.exports=a},140:i=>{i.exports=A}},N={};function g(i){var e=N[i];if(e!==void 0)return e.exports;var r=N[i]={exports:{}};return Y[i](r,r.exports,g),r.exports}var o=g(579);return o})()})})(Xe);var Lr=Xe.exports;const Cr=mr(Lr);var be={L:"left",R:"right",T:"top",B:"bottom"},Pe={L:nt(C=>`${C},${C/2} 0,${C} 0,0`,"L"),R:nt(C=>`0,${C/2} ${C},0 ${C},${C}`,"R"),T:nt(C=>`0,0 ${C},0 ${C/2},${C}`,"T"),B:nt(C=>`${C/2},0 ${C},${C} 0,${C}`,"B")},ce={L:nt((C,F)=>C-F+2,"L"),R:nt((C,F)=>C-2,"R"),T:nt((C,F)=>C-F+2,"T"),B:nt((C,F)=>C-2,"B")},Mr=nt(function(C){return zt(C)?C==="L"?"R":"L":C==="T"?"B":"T"},"getOppositeArchitectureDirection"),Ge=nt(function(C){const F=C;return F==="L"||F==="R"||F==="T"||F==="B"},"isArchitectureDirection"),zt=nt(function(C){const F=C;return F==="L"||F==="R"},"isArchitectureDirectionX"),Kt=nt(function(C){const F=C;return F==="T"||F==="B"},"isArchitectureDirectionY"),He=nt(function(C,F){const A=zt(C)&&Kt(F),Y=Kt(C)&&zt(F);return A||Y},"isArchitectureDirectionXY"),Ar=nt(function(C){const F=C[0],A=C[1],Y=zt(F)&&Kt(A),N=Kt(F)&&zt(A);return Y||N},"isArchitecturePairXY"),wr=nt(function(C){return C!=="LL"&&C!=="RR"&&C!=="TT"&&C!=="BB"},"isValidArchitectureDirectionPair"),Le=nt(function(C,F){const A=`${C}${F}`;return wr(A)?A:void 0},"getArchitectureDirectionPair"),Or=nt(function([C,F],A){const Y=A[0],N=A[1];return zt(Y)?Kt(N)?[C+(Y==="L"?-1:1),F+(N==="T"?1:-1)]:[C+(Y==="L"?-1:1),F]:zt(N)?[C+(N==="L"?1:-1),F+(Y==="T"?1:-1)]:[C,F+(Y==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Dr=nt(function(C){return C==="LT"||C==="TL"?[1,1]:C==="BL"||C==="LB"?[1,-1]:C==="BR"||C==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),xr=nt(function(C){return C.type==="service"},"isArchitectureService"),Ir=nt(function(C){return C.type==="junction"},"isArchitectureJunction"),We=nt(C=>C.data(),"edgeData"),oe=nt(C=>C.data(),"nodeData"),Ve=ir.architecture,pt=new yr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ve,dataStructures:void 0,elements:{}})),Rr=nt(()=>{pt.reset(),ur()},"clear"),Sr=nt(function({id:C,icon:F,in:A,title:Y,iconText:N}){if(pt.records.registeredIds[C]!==void 0)throw new Error(`The service id [${C}] is already in use by another ${pt.records.registeredIds[C]}`);if(A!==void 0){if(C===A)throw new Error(`The service [${C}] cannot be placed within itself`);if(pt.records.registeredIds[A]===void 0)throw new Error(`The service [${C}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[A]==="node")throw new Error(`The service [${C}]'s parent is not a group`)}pt.records.registeredIds[C]="node",pt.records.nodes[C]={id:C,type:"service",icon:F,iconText:N,title:Y,edges:[],in:A}},"addService"),Fr=nt(()=>Object.values(pt.records.nodes).filter(xr),"getServices"),br=nt(function({id:C,in:F}){pt.records.registeredIds[C]="node",pt.records.nodes[C]={id:C,type:"junction",edges:[],in:F}},"addJunction"),Pr=nt(()=>Object.values(pt.records.nodes).filter(Ir),"getJunctions"),Gr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Ur=nt(C=>pt.records.nodes[C],"getNode"),Yr=nt(function({id:C,icon:F,in:A,title:Y}){if(pt.records.registeredIds[C]!==void 0)throw new Error(`The group id [${C}] is already in use by another ${pt.records.registeredIds[C]}`);if(A!==void 0){if(C===A)throw new Error(`The group [${C}] cannot be placed within itself`);if(pt.records.registeredIds[A]===void 0)throw new Error(`The group [${C}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[A]==="node")throw new Error(`The group [${C}]'s parent is not a group`)}pt.records.registeredIds[C]="group",pt.records.groups[C]={id:C,icon:F,title:Y,in:A}},"addGroup"),Xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Hr=nt(function({lhsId:C,rhsId:F,lhsDir:A,rhsDir:Y,lhsInto:N,rhsInto:g,lhsGroup:o,rhsGroup:i,title:e}){if(!Ge(A))throw new Error(`Invalid direction given for left hand side of edge ${C}--${F}. Expected (L,R,T,B) got ${A}`);if(!Ge(Y))throw new Error(`Invalid direction given for right hand side of edge ${C}--${F}. Expected (L,R,T,B) got ${Y}`);if(pt.records.nodes[C]===void 0&&pt.records.groups[C]===void 0)throw new Error(`The left-hand id [${C}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[F]===void 0&&pt.records.groups[C]===void 0)throw new Error(`The right-hand id [${F}] does not yet exist. Please create the service/group before declaring an edge to it.`);const r=pt.records.nodes[C].in,f=pt.records.nodes[F].in;if(o&&r&&f&&r==f)throw new Error(`The left-hand id [${C}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&r&&f&&r==f)throw new Error(`The right-hand id [${F}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:C,lhsDir:A,lhsInto:N,lhsGroup:o,rhsId:F,rhsDir:Y,rhsInto:g,rhsGroup:i,title:e};pt.records.edges.push(a),pt.records.nodes[C]&&pt.records.nodes[F]&&(pt.records.nodes[C].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[F].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Wr=nt(()=>pt.records.edges,"getEdges"),Vr=nt(()=>{if(pt.records.dataStructures===void 0){const C=Object.entries(pt.records.nodes).reduce((o,[i,e])=>(o[i]=e.edges.reduce((r,f)=>{if(f.lhsId===i){const a=Le(f.lhsDir,f.rhsDir);a&&(r[a]=f.rhsId)}else{const a=Le(f.rhsDir,f.lhsDir);a&&(r[a]=f.lhsId)}return r},{}),o),{}),F=Object.keys(C)[0],A={[F]:1},Y=Object.keys(C).reduce((o,i)=>i===F?o:fe(le({},o),{[i]:1}),{}),N=nt(o=>{const i={[o]:[0,0]},e=[o];for(;e.length>0;){const r=e.shift();if(r){A[r]=1,delete Y[r];const f=C[r],[a,p]=i[r];Object.entries(f).forEach(([t,h])=>{A[h]||(i[h]=Or([a,p],t),e.push(h))})}}return i},"BFS"),g=[N(F)];for(;Object.keys(Y).length>0;)g.push(N(Object.keys(Y)[0]));pt.records.dataStructures={adjList:C,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),zr=nt((C,F)=>{pt.records.elements[C]=F},"setElementForId"),Br=nt(C=>pt.records.elements[C],"getElementById"),ge={clear:Rr,setDiagramTitle:or,getDiagramTitle:sr,setAccTitle:hr,getAccTitle:lr,setAccDescription:fr,getAccDescription:cr,addService:Sr,getServices:Fr,addJunction:br,getJunctions:Pr,getNodes:Gr,getNode:Ur,addGroup:Yr,getGroups:Xr,addEdge:Hr,getEdges:Wr,setElementForId:zr,getElementById:Br,getDataStructures:Vr};function Pt(C){const F=ue().architecture;return F!=null&&F[C]?F[C]:Ve[C]}nt(Pt,"getConfigField");var $r=nt((C,F)=>{pr(C,F),C.groups.map(F.addGroup),C.services.map(A=>F.addService(fe(le({},A),{type:"service"}))),C.junctions.map(A=>F.addJunction(fe(le({},A),{type:"junction"}))),C.edges.map(F.addEdge)},"populateDb"),Zr={parse:nt(C=>Qt(void 0,null,function*(){const F=yield Er("architecture",C);Ue.debug(F),$r(F,ge)}),"parse")},kr=nt(C=>` +var je=Object.defineProperty,_e=Object.defineProperties;var tr=Object.getOwnPropertyDescriptors;var Ie=Object.getOwnPropertySymbols;var er=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable;var Re=(C,F,A)=>F in C?je(C,F,{enumerable:!0,configurable:!0,writable:!0,value:A}):C[F]=A,le=(C,F)=>{for(var A in F||(F={}))er.call(F,A)&&Re(C,A,F[A]);if(Ie)for(var A of Ie(F))rr.call(F,A)&&Re(C,A,F[A]);return C},fe=(C,F)=>_e(C,tr(F));var Qt=(C,F,A)=>new Promise((Y,N)=>{var g=e=>{try{i(A.next(e))}catch(r){N(r)}},o=e=>{try{i(A.throw(e))}catch(r){N(r)}},i=e=>e.done?Y(e.value):Promise.resolve(e.value).then(g,o);i((A=A.apply(C,F)).next())});import{F as ir,_ as nt,aF as ar,aG as nr,q as or,r as sr,s as hr,g as lr,c as fr,b as cr,d as ue,l as Ue,j as gr,t as ur,K as dr,aa as vr,D as Ce,aH as Ne}from"./Using existing ones-B8pwVpRB.js";import{p as pr}from"./chunk-OQCM5LHU-7z38PKjx.js";import{I as yr}from"./chunk-2RYQ3QTB-OT2l6tiE.js";import{p as Er}from"./mermaid-parser.core-BmIAZpsh.js";import{c as Ye}from"./cytoscape.esm-BI0LHGOR.js";import{c as Me,g as mr}from"./index-CNk6hRaE.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";var Xe={exports:{}},me={exports:{}},Te={exports:{}},Se;function Tr(){return Se||(Se=1,function(C,F){(function(Y,N){C.exports=N()})(Me,function(){return function(A){var Y={};function N(g){if(Y[g])return Y[g].exports;var o=Y[g]={i:g,l:!1,exports:{}};return A[g].call(o.exports,o,o.exports,N),o.l=!0,o.exports}return N.m=A,N.c=Y,N.i=function(g){return g},N.d=function(g,o,i){N.o(g,o)||Object.defineProperty(g,o,{configurable:!1,enumerable:!0,get:i})},N.n=function(g){var o=g&&g.__esModule?function(){return g.default}:function(){return g};return N.d(o,"a",o),o},N.o=function(g,o){return Object.prototype.hasOwnProperty.call(g,o)},N.p="",N(N.s=28)}([function(A,Y,N){function g(){}g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,A.exports=g},function(A,Y,N){var g=N(2),o=N(8),i=N(9);function e(f,a,p){g.call(this,p),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=p,this.bendpoints=[],this.source=f,this.target=a}e.prototype=Object.create(g.prototype);for(var r in g)e[r]=g[r];e.prototype.getSource=function(){return this.source},e.prototype.getTarget=function(){return this.target},e.prototype.isInterGraph=function(){return this.isInterGraph},e.prototype.getLength=function(){return this.length},e.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},e.prototype.getBendpoints=function(){return this.bendpoints},e.prototype.getLca=function(){return this.lca},e.prototype.getSourceInLca=function(){return this.sourceInLca},e.prototype.getTargetInLca=function(){return this.targetInLca},e.prototype.getOtherEnd=function(f){if(this.source===f)return this.target;if(this.target===f)return this.source;throw"Node is not incident with this edge"},e.prototype.getOtherEndInGraph=function(f,a){for(var p=this.getOtherEnd(f),t=a.getGraphManager().getRoot();;){if(p.getOwner()==a)return p;if(p.getOwner()==t)break;p=p.getOwner().getParent()}return null},e.prototype.updateLength=function(){var f=new Array(4);this.isOverlapingSourceAndTarget=o.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},e.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},A.exports=e},function(A,Y,N){function g(o){this.vGraphObject=o}A.exports=g},function(A,Y,N){var g=N(2),o=N(10),i=N(13),e=N(0),r=N(16),f=N(5);function a(t,h,s,c){s==null&&c==null&&(c=h),g.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=o.MIN_VALUE,this.inclusionTreeDepth=o.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,s!=null&&h!=null?this.rect=new i(h.x,h.y,s.width,s.height):this.rect=new i}a.prototype=Object.create(g.prototype);for(var p in g)a[p]=g[p];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(t){this.rect.width=t},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(t){this.rect.height=t},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new f(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new f(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(t,h){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=h.width,this.rect.height=h.height},a.prototype.setCenter=function(t,h){this.rect.x=t-this.rect.width/2,this.rect.y=h-this.rect.height/2},a.prototype.setLocation=function(t,h){this.rect.x=t,this.rect.y=h},a.prototype.moveBy=function(t,h){this.rect.x+=t,this.rect.y+=h},a.prototype.getEdgeListToNode=function(t){var h=[],s=this;return s.edges.forEach(function(c){if(c.target==t){if(c.source!=s)throw"Incorrect edge source!";h.push(c)}}),h},a.prototype.getEdgesBetween=function(t){var h=[],s=this;return s.edges.forEach(function(c){if(!(c.source==s||c.target==s))throw"Incorrect edge source and/or target";(c.target==t||c.source==t)&&h.push(c)}),h},a.prototype.getNeighborsList=function(){var t=new Set,h=this;return h.edges.forEach(function(s){if(s.source==h)t.add(s.target);else{if(s.target!=h)throw"Incorrect incidency!";t.add(s.source)}}),t},a.prototype.withChildren=function(){var t=new Set,h,s;if(t.add(this),this.child!=null)for(var c=this.child.getNodes(),l=0;lh?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(s+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>s?(this.rect.y-=(this.labelHeight-s)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(s+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==o.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>e.WORLD_BOUNDARY?h=e.WORLD_BOUNDARY:h<-e.WORLD_BOUNDARY&&(h=-e.WORLD_BOUNDARY);var s=this.rect.y;s>e.WORLD_BOUNDARY?s=e.WORLD_BOUNDARY:s<-e.WORLD_BOUNDARY&&(s=-e.WORLD_BOUNDARY);var c=new f(h,s),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},A.exports=a},function(A,Y,N){var g=N(0);function o(){}for(var i in g)o[i]=g[i];o.MAX_ITERATIONS=2500,o.DEFAULT_EDGE_LENGTH=50,o.DEFAULT_SPRING_STRENGTH=.45,o.DEFAULT_REPULSION_STRENGTH=4500,o.DEFAULT_GRAVITY_STRENGTH=.4,o.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,o.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,o.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,o.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,o.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,o.COOLING_ADAPTATION_FACTOR=.33,o.ADAPTATION_LOWER_NODE_LIMIT=1e3,o.ADAPTATION_UPPER_NODE_LIMIT=5e3,o.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,o.MAX_NODE_DISPLACEMENT=o.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,o.MIN_REPULSION_DIST=o.DEFAULT_EDGE_LENGTH/10,o.CONVERGENCE_CHECK_PERIOD=100,o.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,o.MIN_EDGE_LENGTH=1,o.GRID_CALCULATION_CHECK_PERIOD=10,A.exports=o},function(A,Y,N){function g(o,i){o==null&&i==null?(this.x=0,this.y=0):(this.x=o,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(o){this.x=o},g.prototype.setY=function(o){this.y=o},g.prototype.getDifference=function(o){return new DimensionD(this.x-o.x,this.y-o.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(o){return this.x+=o.width,this.y+=o.height,this},A.exports=g},function(A,Y,N){var g=N(2),o=N(10),i=N(0),e=N(7),r=N(3),f=N(1),a=N(13),p=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=o.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof e?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var s in g)h[s]=g[s];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var d=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(d.source=l,d.target=T,d.isInterGraph=!1,this.getEdges().push(d),l.edges.push(d),T!=l&&T.edges.push(d),d)}},h.prototype.remove=function(c){var l=c;if(c instanceof r){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,d=T.length,L=0;L-1&&G>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(M,1),u.target!=u.source&&u.target.edges.splice(G,1);var b=u.source.owner.getEdges().indexOf(u);if(b==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(b,1)}},h.prototype.updateLeftTop=function(){for(var c=o.MAX_VALUE,l=o.MAX_VALUE,T,u,d,L=this.getNodes(),b=L.length,M=0;MT&&(c=T),l>u&&(l=u)}return c==o.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?d=L[0].getParent().paddingLeft:d=this.margin,this.left=l-d,this.top=c-d,new p(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=o.MAX_VALUE,T=-o.MAX_VALUE,u=o.MAX_VALUE,d=-o.MAX_VALUE,L,b,M,G,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TM&&(u=M),dL&&(l=L),TM&&(u=M),d=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},A.exports=h},function(A,Y,N){var g,o=N(1);function i(e){g=N(6),this.layout=e,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var e=this.layout.newGraph(),r=this.layout.newNode(null),f=this.add(e,r);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(e,r,f,a,p){if(f==null&&a==null&&p==null){if(e==null)throw"Graph is null!";if(r==null)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),e.parent!=null)throw"Already has a parent!";if(r.child!=null)throw"Already has a child!";return e.parent=r,r.child=e,e}else{p=f,a=r,f=e;var t=a.getOwner(),h=p.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,p);if(f.isInterGraph=!0,f.source=a,f.target=p,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(e){if(e instanceof g){var r=e;if(r.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(r==this.rootGraph||r.parent!=null&&r.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(r.getEdges());for(var a,p=f.length,t=0;t=e.getRight()?r[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight()):e.getX()<=i.getX()&&e.getRight()>=i.getRight()&&(r[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight())),i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()?r[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()):e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()&&(r[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()));var p=Math.abs((e.getCenterY()-i.getCenterY())/(e.getCenterX()-i.getCenterX()));e.getCenterY()===i.getCenterY()&&e.getCenterX()===i.getCenterX()&&(p=1);var t=p*r[0],h=r[1]/p;r[0]t)return r[0]=f,r[1]=s,r[2]=p,r[3]=V,!1;if(ap)return r[0]=h,r[1]=a,r[2]=G,r[3]=t,!1;if(fp?(r[0]=l,r[1]=T,n=!0):(r[0]=c,r[1]=s,n=!0):v===y&&(f>p?(r[0]=h,r[1]=s,n=!0):(r[0]=u,r[1]=T,n=!0)),-E===y?p>f?(r[2]=J,r[3]=V,m=!0):(r[2]=G,r[3]=M,m=!0):E===y&&(p>f?(r[2]=b,r[3]=M,m=!0):(r[2]=Q,r[3]=V,m=!0)),n&&m)return!1;if(f>p?a>t?(I=this.getCardinalDirection(v,y,4),w=this.getCardinalDirection(E,y,2)):(I=this.getCardinalDirection(-v,y,3),w=this.getCardinalDirection(-E,y,1)):a>t?(I=this.getCardinalDirection(-v,y,1),w=this.getCardinalDirection(-E,y,3)):(I=this.getCardinalDirection(v,y,2),w=this.getCardinalDirection(E,y,4)),!n)switch(I){case 1:H=s,R=f+-L/y,r[0]=R,r[1]=H;break;case 2:R=u,H=a+d*y,r[0]=R,r[1]=H;break;case 3:H=T,R=f+L/y,r[0]=R,r[1]=H;break;case 4:R=l,H=a+-d*y,r[0]=R,r[1]=H;break}if(!m)switch(w){case 1:k=M,x=p+-rt/y,r[2]=x,r[3]=k;break;case 2:x=Q,k=t+D*y,r[2]=x,r[3]=k;break;case 3:k=V,x=p+rt/y,r[2]=x,r[3]=k;break;case 4:x=J,k=t+-D*y,r[2]=x,r[3]=k;break}}return!1},o.getCardinalDirection=function(i,e,r){return i>e?r:1+r%4},o.getIntersection=function(i,e,r,f){if(f==null)return this.getIntersection2(i,e,r);var a=i.x,p=i.y,t=e.x,h=e.y,s=r.x,c=r.y,l=f.x,T=f.y,u=void 0,d=void 0,L=void 0,b=void 0,M=void 0,G=void 0,J=void 0,V=void 0,Q=void 0;return L=h-p,M=a-t,J=t*p-a*h,b=T-c,G=s-l,V=l*c-s*T,Q=L*G-b*M,Q===0?null:(u=(M*V-G*J)/Q,d=(b*J-L*V)/Q,new g(u,d))},o.angleOfVector=function(i,e,r,f){var a=void 0;return i!==r?(a=Math.atan((f-e)/(r-i)),r=0){var T=(-s+Math.sqrt(s*s-4*h*c))/(2*h),u=(-s-Math.sqrt(s*s-4*h*c))/(2*h),d=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:d}else return null},o.HALF_PI=.5*Math.PI,o.ONE_AND_HALF_PI=1.5*Math.PI,o.TWO_PI=2*Math.PI,o.THREE_PI=3*Math.PI,A.exports=o},function(A,Y,N){function g(){}g.sign=function(o){return o>0?1:o<0?-1:0},g.floor=function(o){return o<0?Math.ceil(o):Math.floor(o)},g.ceil=function(o){return o<0?Math.floor(o):Math.ceil(o)},A.exports=g},function(A,Y,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,A.exports=g},function(A,Y,N){var g=function(){function a(p,t){for(var h=0;h0&&c;){for(L.push(M[0]);L.length>0&&c;){var G=L[0];L.splice(0,1),d.add(G);for(var J=G.getEdges(),u=0;u-1&&M.splice(rt,1)}d=new Set,b=new Map}}return s},h.prototype.createDummyNodesForBendpoints=function(s){for(var c=[],l=s.source,T=this.graphManager.calcLowestCommonAncestor(s.source,s.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=b.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),v=m-1;v==1&&G.push(n),T.set(n,v)}})}l=l.concat(G),(c.length==1||c.length==2)&&(u=!0,d=c[0])}return d},h.prototype.setGraphManager=function(s){this.graphManager=s},A.exports=h},function(A,Y,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},A.exports=g},function(A,Y,N){var g=N(5);function o(i,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}o.prototype.getWorldOrgX=function(){return this.lworldOrgX},o.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},o.prototype.getWorldOrgY=function(){return this.lworldOrgY},o.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},o.prototype.getWorldExtX=function(){return this.lworldExtX},o.prototype.setWorldExtX=function(i){this.lworldExtX=i},o.prototype.getWorldExtY=function(){return this.lworldExtY},o.prototype.setWorldExtY=function(i){this.lworldExtY=i},o.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},o.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},o.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},o.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},o.prototype.getDeviceExtX=function(){return this.ldeviceExtX},o.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},o.prototype.getDeviceExtY=function(){return this.ldeviceExtY},o.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},o.prototype.transformX=function(i){var e=0,r=this.lworldExtX;return r!=0&&(e=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/r),e},o.prototype.transformY=function(i){var e=0,r=this.lworldExtY;return r!=0&&(e=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/r),e},o.prototype.inverseTransformX=function(i){var e=0,r=this.ldeviceExtX;return r!=0&&(e=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/r),e},o.prototype.inverseTransformY=function(i){var e=0,r=this.ldeviceExtY;return r!=0&&(e=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/r),e},o.prototype.inverseTransformPoint=function(i){var e=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return e},A.exports=o},function(A,Y,N){function g(t){if(Array.isArray(t)){for(var h=0,s=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,s=0;s0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s,c,l,T,u=this.getAllNodes(),d;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),d=new Set,s=0;sL||d>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||d>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var b=0;ba}}]),r}();A.exports=e},function(A,Y,N){function g(){}g.svd=function(o){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=o.length,this.n=o[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var Mt=[];Nt-- >0;)Mt.push(0);return Mt}(Math.min(this.m+1,this.n)),this.U=function(Nt){var Mt=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)Mt.push(0);return Mt}(this.n),r=function(Nt){for(var Mt=[];Nt-- >0;)Mt.push(0);return Mt}(this.m),f=!0,a=Math.min(this.m-1,this.n),p=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var y=E+1;y=0;W--){if(function(Nt,Mt){return Nt&&Mt}(W0;){var q=void 0,Rt=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(e[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){e[q]=0;break}if(q===n-2)Rt=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var vt=(Lt!==n?Math.abs(e[Lt]):0)+(Lt!==q+1?Math.abs(e[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*vt){this.s[Lt]=0;break}}Lt===q?Rt=3:Lt===n-1?Rt=1:(Rt=2,q=Lt)}switch(q++,Rt){case 1:{var it=e[n-2];e[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),At=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*e[ut-1],e[ut-1]=At*e[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Ct=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Ct,qMath.abs(i)?(e=i/o,e=Math.abs(o)*Math.sqrt(1+e*e)):i!=0?(e=o/i,e=Math.abs(i)*Math.sqrt(1+e*e)):e=0,e},A.exports=g},function(A,Y,N){var g=function(){function e(r,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;o(this,e),this.sequence1=r,this.sequence2=f,this.match_score=a,this.mismatch_penalty=p,this.gap_penalty=t,this.iMax=r.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;r--){var f=this.listeners[r];f.event===i&&f.callback===e&&this.listeners.splice(r,1)}},o.emit=function(i,e){for(var r=0;r{var Y={45:(i,e,r)=>{var f={};f.layoutBase=r(551),f.CoSEConstants=r(806),f.CoSEEdge=r(767),f.CoSEGraph=r(880),f.CoSEGraphManager=r(578),f.CoSELayout=r(765),f.CoSENode=r(991),f.ConstraintHandler=r(902),i.exports=f},806:(i,e,r)=>{var f=r(551).FDLayoutConstants;function a(){}for(var p in f)a[p]=f[p];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,e,r)=>{var f=r(551).FDLayoutEdge;function a(t,h,s){f.call(this,t,h,s)}a.prototype=Object.create(f.prototype);for(var p in f)a[p]=f[p];i.exports=a},880:(i,e,r)=>{var f=r(551).LGraph;function a(t,h,s){f.call(this,t,h,s)}a.prototype=Object.create(f.prototype);for(var p in f)a[p]=f[p];i.exports=a},578:(i,e,r)=>{var f=r(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var p in f)a[p]=f[p];i.exports=a},765:(i,e,r)=>{var f=r(551).FDLayout,a=r(578),p=r(880),t=r(991),h=r(767),s=r(806),c=r(902),l=r(551).FDLayoutConstants,T=r(551).LayoutConstants,u=r(551).Point,d=r(551).PointD,L=r(551).DimensionD,b=r(551).Layout,M=r(551).Integer,G=r(551).IGeometry,J=r(551).LGraph,V=r(551).Transform,Q=r(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new p(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(s.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=s.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(s.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),v=this.nodesWithGravity.filter(function(I){return m.has(I)});this.graphManager.setAllNodesToApplyGravitation(v)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),v=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(v),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),s.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(y){return n.has(y)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),s.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),s.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var v=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(v,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},v=0;v0&&this.updateDisplacements();for(var v=0;v0&&(E.fixedNodeWeight=I)}}if(this.constraints.relativePlacementConstraint){var w=new Map,R=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,v=0;v=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,Rt=new Set,Lt=0;return X.forEach(function(vt,it){if(!Rt.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),Rt.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(At){Rt.has(At)||(q.push(At),Rt.add(At),_[Lt].push(At))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,v=0;v1){var R;for(R=0;RE&&(E=Math.floor(w.y)),I=Math.floor(w.x+s.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,v){var E=Math.max(this.maxDiagonalInTree(n),s.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var y=J.calculateBounds(n),I=new V;I.setDeviceOrgX(y.getMinX()),I.setDeviceOrgY(y.getMinY()),I.setWorldOrgX(v.x),I.setWorldOrgY(v.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-v)/U,q=O;et!=U;q=++q%z){var Rt=W[q].getOtherEnd(n);if(Rt!=m){var Lt=(v+et*lt)%360,vt=(Lt+lt)%360;D.branchRadialLayout(Rt,n,Lt,vt,y+I,I),et++}}},D.maxDiagonalInTree=function(n){for(var m=M.MIN_VALUE,v=0;vm&&(m=y)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var v=[],E=this.graphManager.getAllNodes(),y=0;y1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zy?(E.rect.x-=(E.labelWidth-y)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-y)/2):E.labelPosHorizontal=="right"&&E.setWidth(y+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(I+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>I?(E.rect.y-=(E.labelHeight-I)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-I)/2):E.labelPosVertical=="bottom"&&E.setHeight(I+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],v=m.id,E=m.paddingLeft,y=m.paddingTop,I=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[v],m.rect.x,m.rect.y,E,y,I,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(v){var E=n.idToDummyNode[v],y=E.paddingLeft,I=E.paddingTop,w=E.labelMarginLeft,R=E.labelMarginTop;n.adjustLocations(m[v],E.rect.x,E.rect.y,y,I,w,R)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var v=n.getChild();if(v==null)return this.toBeTiled[m]=!1,!1;for(var E=v.getNodes(),y=0;y0)return this.toBeTiled[m]=!1,!1;if(I.getChild()==null){this.toBeTiled[I.id]=!1;continue}if(!this.getToBeTiled(I))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),v=0,E=0;Ek&&(k=U.rect.height)}v+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var v=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var y=m[E];if(v.tiledMemberPack[E]=v.tileNodes(n[E],y.paddingLeft+y.paddingRight),y.rect.width=v.tiledMemberPack[E].width,y.rect.height=v.tiledMemberPack[E].height,y.setCenter(v.tiledMemberPack[E].centerX,v.tiledMemberPack[E].centerY),y.labelMarginLeft=0,y.labelMarginTop=0,s.NODE_DIMENSIONS_INCLUDE_LABELS){var I=y.rect.width,w=y.rect.height;y.labelWidth&&(y.labelPosHorizontal=="left"?(y.rect.x-=y.labelWidth,y.setWidth(I+y.labelWidth),y.labelMarginLeft=y.labelWidth):y.labelPosHorizontal=="center"&&y.labelWidth>I?(y.rect.x-=(y.labelWidth-I)/2,y.setWidth(y.labelWidth),y.labelMarginLeft=(y.labelWidth-I)/2):y.labelPosHorizontal=="right"&&y.setWidth(I+y.labelWidth)),y.labelHeight&&(y.labelPosVertical=="top"?(y.rect.y-=y.labelHeight,y.setHeight(w+y.labelHeight),y.labelMarginTop=y.labelHeight):y.labelPosVertical=="center"&&y.labelHeight>w?(y.rect.y-=(y.labelHeight-w)/2,y.setHeight(y.labelHeight),y.labelMarginTop=(y.labelHeight-w)/2):y.labelPosVertical=="bottom"&&y.setHeight(w+y.labelHeight))}})},D.prototype.tileNodes=function(n,m){var v=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),y=this.getOrgRatio(v),I=this.getOrgRatio(E),w;return IR&&(R=z.getWidth())});var H=I/y,x=w/y,k=Math.pow(v-E,2)+4*(H+E)*(x+v)*y,W=(E-v+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return R>et&&(et=R),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,v){var E=s.TILING_PADDING_VERTICAL,y=s.TILING_PADDING_HORIZONTAL,I=s.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:y,centerX:0,centerY:0};I&&(w.idealRowWidth=this.calcIdealRowWidth(n,v));var R=function(O){return O.rect.width*O.rect.height},H=function(O,X){return R(X)-R(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=I,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[v]=w,n.width0&&(R+=n.verticalPadding);var H=0;R>n.rowHeight[v]&&(H=n.rowHeight[v],n.rowHeight[v]=R,H=n.rowHeight[v]-H),n.height+=H,n.rows[v].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,v=Number.MAX_VALUE,E=0;Ev&&(m=E,v=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,v){if(n.idealRowWidth){var E=n.rows.length-1,y=n.rowWidth[E];return y+m+n.horizontalPadding<=n.idealRowWidth}var I=this.getShortestRowIndex(n);if(I<0)return!0;var w=n.rowWidth[I];if(w+n.horizontalPadding+m<=n.width)return!0;var R=0;n.rowHeight[I]0&&(R=v+n.verticalPadding-n.rowHeight[I]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+R)/(w+m+n.horizontalPadding):H=(n.height+R)/n.width,R=v+n.verticalPadding;var x;return n.widthI&&m!=v){E.splice(-1,1),n.rows[v].push(y),n.rowWidth[m]=n.rowWidth[m]-I,n.rowWidth[v]=n.rowWidth[v]+I,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,R=0;Rw&&(w=E[R].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[v];n.rowHeight[m]=w,n.rowHeight[v]0)for(var et=y;et<=I;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(I0)for(var et=w;et<=R;et++)U[3]+=this.grid[y-1][et].length+this.grid[y][et].length-1;for(var z=M.MAX_VALUE,O,X,B=0;B{var f=r(551).FDLayoutNode,a=r(551).IMath;function p(h,s,c,l){f.call(this,h,s,c,l)}p.prototype=Object.create(f.prototype);for(var t in f)p[t]=f[t];p.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},p.prototype.propogateDisplacementToChildren=function(h,s){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Ct=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?d[u.get(ht)]:Z.get(ht)),Ct+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Ct+=tt.get(ht))}),Ct=Ct/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Ct)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?d[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=dt.shift(),Ct=P.get(st);Ct.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),teWt&&(Wt=te)}}catch(ae){Mt=!0,Zt=ae}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(Mt)throw Zt}}var de=(Ct+ht)/2-(ct+Wt)/2,jt=!0,ee=!1,re=void 0;try{for(var _t=ft[Symbol.iterator](),he;!(jt=(he=_t.next()).done);jt=!0){var ie=he.value;tt.set(ie,tt.get(ie)+de)}}catch(ae){ee=!0,re=ae}finally{try{!jt&&_t.return&&_t.return()}finally{if(ee)throw re}}})}return tt},rt=function(P){var $=0,K=0,Z=0,at=0;if(P.forEach(function(j){j.left?d[u.get(j.left)]-d[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,P){E[P]=[S.position.x,S.position.y],y[P]=[d[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),I=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var P=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;P[tt].forEach(function(yt){j.add(yt)});var dt=new Set([].concat(f(j)).filter(function(yt){return R.has(yt)})),wt=void 0;dt.size>0?wt=d[u.get(dt.values().next().value)]:wt=Q(j).x,P[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],y[S]=[d[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=d[u.get(dt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[d[u.get(yt)],wt],y[S]=[d[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,P){var $={x:d[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,d.forEach(function(S,P){d[P]+=mt.x}),L.forEach(function(S,P){L[P]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){d[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(P){var $=new Set;xt[P].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return R.has(at)})),Z=void 0;K.size>0?Z=d[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){R.has(at)||(d[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){R.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=A}},N={};function g(i){var e=N[i];if(e!==void 0)return e.exports;var r=N[i]={exports:{}};return Y[i](r,r.exports,g),r.exports}var o=g(45);return o})()})}(me)),me.exports}(function(C,F){(function(Y,N){C.exports=N(Nr())})(Me,function(A){return(()=>{var Y={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(e){for(var r=arguments.length,f=Array(r>1?r-1:0),a=1;a{var f=function(){function t(h,s){var c=[],l=!0,T=!1,u=void 0;try{for(var d=h[Symbol.iterator](),L;!(l=(L=d.next()).done)&&(c.push(L.value),!(s&&c.length===s));l=!0);}catch(b){T=!0,u=b}finally{try{!l&&d.return&&d.return()}finally{if(T)throw u}}return c}return function(h,s){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,s);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=r(140).layoutBase.LinkedList,p={};p.getTopMostNodes=function(t){for(var h={},s=0;s0&&I.merge(x)});for(var w=0;w1){L=u[0],b=L.connectedEdges().length,u.forEach(function(y){y.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},p.relocateComponent=function(t,h,s){if(!s.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(s.quality=="draft"){var d=!0,L=!1,b=void 0;try{for(var M=h.nodeIndexes[Symbol.iterator](),G;!(d=(G=M.next()).done);d=!0){var J=G.value,V=f(J,2),Q=V[0],D=V[1],rt=s.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,v=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,y=h.yCoords[D]+n.h/2;ml&&(l=v),Eu&&(u=y)}}}catch(x){L=!0,b=x}finally{try{!d&&M.return&&M.return()}finally{if(L)throw b}}var I=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+I}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var R=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+R,k.getCenterY()+H)})}}},p.calcBoundingBox=function(t,h,s,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,d=Number.MIN_SAFE_INTEGER,L=void 0,b=void 0,M=void 0,G=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TM&&(u=M),d{var f=r(548),a=r(140).CoSELayout,p=r(140).CoSENode,t=r(140).layoutBase.PointD,h=r(140).layoutBase.DimensionD,s=r(140).layoutBase.LayoutConstants,c=r(140).layoutBase.FDLayoutConstants,l=r(140).CoSEConstants,T=function(d,L){var b=d.cy,M=d.eles,G=M.nodes(),J=M.edges(),V=void 0,Q=void 0,D=void 0,rt={};d.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},v=f.calcParentsWithoutChildren(b,M),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},y=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(d.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=d.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},I=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};d.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=d.nestingFactor),d.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=d.gravity),d.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=d.numIter),d.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=d.gravityRange),d.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=d.gravityCompound),d.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=d.gravityRangeCompound),d.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=d.initialEnergyOnIncremental),d.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=d.tilingCompareBy),d.quality=="proof"?s.QUALITY=2:s.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=s.NODE_DIMENSIONS_INCLUDE_LABELS=d.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=s.DEFAULT_INCREMENTAL=!d.randomize,l.ANIMATE=c.ANIMATE=s.ANIMATE=d.animate,l.TILE=d.tile,l.TILING_PADDING_VERTICAL=typeof d.tilingPaddingVertical=="function"?d.tilingPaddingVertical.call():d.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof d.tilingPaddingHorizontal=="function"?d.tilingPaddingHorizontal.call():d.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=s.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!d.randomize,s.DEFAULT_UNIFORM_LEAF_NODE_SIZES=d.uniformNodeDimensions,d.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),d.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),d.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),d.step=="all"&&(d.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),d.fixedNodeConstraint||d.alignmentConstraint||d.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,R=w.newGraphManager();return E(R.addRoot(),f.getTopMostNodes(G),w,d),y(w,R,J),I(w,d),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,e,r)=>{var f=function(){function d(L,b){for(var M=0;M0)if(v){var I=t.getTopMostNodes(M.eles.nodes());if(D=t.connectComponents(G,M.eles,I),D.forEach(function(vt){var it=vt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),M.randomize&&D.forEach(function(vt){M.eles=vt,V.push(s(M))}),M.quality=="default"||M.quality=="proof"){var w=G.collection();if(M.tile){var R=new Map,H=[],x=[],k=0,W={nodeIndexes:R,xCoords:H,yCoords:x},U=[];if(D.forEach(function(vt,it){vt.edges().length==0&&(vt.nodes().forEach(function(ut,Tt){w.merge(vt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(vt.nodes()[Tt].id(),k++),W.xCoords.push(vt.nodes()[0].position().x),W.yCoords.push(vt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(vt,it){M.eles=vt,Q.push(l(M,V[it])),t.relocateComponent(rt[it],Q[it],M)})}else D.forEach(function(vt,it){t.relocateComponent(rt[it],V[it],M)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(vt){return vt.css("display")=="none"});D.forEach(function(vt,it){var ut=void 0;if(M.quality=="draft"&&(ut=V[it].nodeIndexes),vt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var At=void 0;vt.nodes().not(B).forEach(function(Dt){if(M.quality=="draft")if(!Dt.isParent())At=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[At]-Dt.boundingbox().w/2,y:V[it].yCoords[At]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),vt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(M.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,M.randomize).shifts;if(M.quality=="draft")V.forEach(function(vt,it){var ut=vt.xCoords.map(function(At){return At+_[it].dx}),Tt=vt.yCoords.map(function(At){return At+_[it].dy});vt.xCoords=ut,vt.yCoords=Tt});else{var lt=0;O.forEach(function(vt){Object.keys(Q[vt]).forEach(function(it){var ut=Q[vt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=M.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),M.randomize){var y=s(M);V.push(y)}M.quality=="default"||M.quality=="proof"?(Q.push(l(M,V[0])),t.relocateComponent(rt[0],Q[0],M)):t.relocateComponent(rt[0],V[0],M)}var q=function(it,ut){if(M.quality=="default"||M.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,At=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},At=xt[Dt])}),M.nodeDimensionsIncludeLabels&&(At.labelWidth&&(At.labelPosHorizontal=="left"?Tt.x+=At.labelWidth/2:At.labelPosHorizontal=="right"&&(Tt.x-=At.labelWidth/2)),At.labelHeight&&(At.labelPosVertical=="top"?Tt.y+=At.labelHeight/2:At.labelPosVertical=="bottom"&&(Tt.y-=At.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(M.quality=="default"||M.quality=="proof"||M.randomize){var Rt=t.calcParentsWithoutChildren(G,J),Lt=J.filter(function(vt){return vt.css("display")=="none"});M.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(b,M,q),Rt.length>0&&Rt.forEach(function(vt){vt.position(q(vt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),d}();i.exports=u},657:(i,e,r)=>{var f=r(548),a=r(140).layoutBase.Matrix,p=r(140).layoutBase.SVD,t=function(s){var c=s.cy,l=s.eles,T=l.nodes(),u=l.nodes(":parent"),d=new Map,L=new Map,b=new Map,M=[],G=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,v=1e8,E=1e-9,y=s.piTol,I=s.samplingType,w=s.nodeSeparation,R=void 0,H=function(){for(var P=0,$=0,K=!1;$=at;){ot=Z[at++];for(var It=M[ot],ft=0;ftdt&&(dt=Q[Ct],wt=Ct)}return wt},k=function(P){var $=void 0;if(P){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?M[P].push(b.get($.id())):M[P].push($.id()))})});var Lt=function(P){var $=L.get(P),K=void 0;d.get(P).forEach(function(Z){c.getElementById(Z).isParent()?K=b.get(Z):K=Z,M[$].push(K),M[L.get(K)].push(P)})},vt=!0,it=!1,ut=void 0;try{for(var Tt=d.keys()[Symbol.iterator](),At;!(vt=(At=Tt.next()).done);vt=!0){var Dt=At.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!vt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){R=m{var f=r(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape!="undefined"&&a(cytoscape),i.exports=a},140:i=>{i.exports=A}},N={};function g(i){var e=N[i];if(e!==void 0)return e.exports;var r=N[i]={exports:{}};return Y[i](r,r.exports,g),r.exports}var o=g(579);return o})()})})(Xe);var Lr=Xe.exports;const Cr=mr(Lr);var be={L:"left",R:"right",T:"top",B:"bottom"},Pe={L:nt(C=>`${C},${C/2} 0,${C} 0,0`,"L"),R:nt(C=>`0,${C/2} ${C},0 ${C},${C}`,"R"),T:nt(C=>`0,0 ${C},0 ${C/2},${C}`,"T"),B:nt(C=>`${C/2},0 ${C},${C} 0,${C}`,"B")},ce={L:nt((C,F)=>C-F+2,"L"),R:nt((C,F)=>C-2,"R"),T:nt((C,F)=>C-F+2,"T"),B:nt((C,F)=>C-2,"B")},Mr=nt(function(C){return zt(C)?C==="L"?"R":"L":C==="T"?"B":"T"},"getOppositeArchitectureDirection"),Ge=nt(function(C){const F=C;return F==="L"||F==="R"||F==="T"||F==="B"},"isArchitectureDirection"),zt=nt(function(C){const F=C;return F==="L"||F==="R"},"isArchitectureDirectionX"),Kt=nt(function(C){const F=C;return F==="T"||F==="B"},"isArchitectureDirectionY"),He=nt(function(C,F){const A=zt(C)&&Kt(F),Y=Kt(C)&&zt(F);return A||Y},"isArchitectureDirectionXY"),Ar=nt(function(C){const F=C[0],A=C[1],Y=zt(F)&&Kt(A),N=Kt(F)&&zt(A);return Y||N},"isArchitecturePairXY"),wr=nt(function(C){return C!=="LL"&&C!=="RR"&&C!=="TT"&&C!=="BB"},"isValidArchitectureDirectionPair"),Le=nt(function(C,F){const A=`${C}${F}`;return wr(A)?A:void 0},"getArchitectureDirectionPair"),Or=nt(function([C,F],A){const Y=A[0],N=A[1];return zt(Y)?Kt(N)?[C+(Y==="L"?-1:1),F+(N==="T"?1:-1)]:[C+(Y==="L"?-1:1),F]:zt(N)?[C+(N==="L"?1:-1),F+(Y==="T"?1:-1)]:[C,F+(Y==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Dr=nt(function(C){return C==="LT"||C==="TL"?[1,1]:C==="BL"||C==="LB"?[1,-1]:C==="BR"||C==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),xr=nt(function(C){return C.type==="service"},"isArchitectureService"),Ir=nt(function(C){return C.type==="junction"},"isArchitectureJunction"),We=nt(C=>C.data(),"edgeData"),oe=nt(C=>C.data(),"nodeData"),Ve=ir.architecture,pt=new yr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ve,dataStructures:void 0,elements:{}})),Rr=nt(()=>{pt.reset(),ur()},"clear"),Sr=nt(function({id:C,icon:F,in:A,title:Y,iconText:N}){if(pt.records.registeredIds[C]!==void 0)throw new Error(`The service id [${C}] is already in use by another ${pt.records.registeredIds[C]}`);if(A!==void 0){if(C===A)throw new Error(`The service [${C}] cannot be placed within itself`);if(pt.records.registeredIds[A]===void 0)throw new Error(`The service [${C}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[A]==="node")throw new Error(`The service [${C}]'s parent is not a group`)}pt.records.registeredIds[C]="node",pt.records.nodes[C]={id:C,type:"service",icon:F,iconText:N,title:Y,edges:[],in:A}},"addService"),Fr=nt(()=>Object.values(pt.records.nodes).filter(xr),"getServices"),br=nt(function({id:C,in:F}){pt.records.registeredIds[C]="node",pt.records.nodes[C]={id:C,type:"junction",edges:[],in:F}},"addJunction"),Pr=nt(()=>Object.values(pt.records.nodes).filter(Ir),"getJunctions"),Gr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Ur=nt(C=>pt.records.nodes[C],"getNode"),Yr=nt(function({id:C,icon:F,in:A,title:Y}){if(pt.records.registeredIds[C]!==void 0)throw new Error(`The group id [${C}] is already in use by another ${pt.records.registeredIds[C]}`);if(A!==void 0){if(C===A)throw new Error(`The group [${C}] cannot be placed within itself`);if(pt.records.registeredIds[A]===void 0)throw new Error(`The group [${C}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[A]==="node")throw new Error(`The group [${C}]'s parent is not a group`)}pt.records.registeredIds[C]="group",pt.records.groups[C]={id:C,icon:F,title:Y,in:A}},"addGroup"),Xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Hr=nt(function({lhsId:C,rhsId:F,lhsDir:A,rhsDir:Y,lhsInto:N,rhsInto:g,lhsGroup:o,rhsGroup:i,title:e}){if(!Ge(A))throw new Error(`Invalid direction given for left hand side of edge ${C}--${F}. Expected (L,R,T,B) got ${A}`);if(!Ge(Y))throw new Error(`Invalid direction given for right hand side of edge ${C}--${F}. Expected (L,R,T,B) got ${Y}`);if(pt.records.nodes[C]===void 0&&pt.records.groups[C]===void 0)throw new Error(`The left-hand id [${C}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[F]===void 0&&pt.records.groups[C]===void 0)throw new Error(`The right-hand id [${F}] does not yet exist. Please create the service/group before declaring an edge to it.`);const r=pt.records.nodes[C].in,f=pt.records.nodes[F].in;if(o&&r&&f&&r==f)throw new Error(`The left-hand id [${C}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&r&&f&&r==f)throw new Error(`The right-hand id [${F}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:C,lhsDir:A,lhsInto:N,lhsGroup:o,rhsId:F,rhsDir:Y,rhsInto:g,rhsGroup:i,title:e};pt.records.edges.push(a),pt.records.nodes[C]&&pt.records.nodes[F]&&(pt.records.nodes[C].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[F].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Wr=nt(()=>pt.records.edges,"getEdges"),Vr=nt(()=>{if(pt.records.dataStructures===void 0){const C=Object.entries(pt.records.nodes).reduce((o,[i,e])=>(o[i]=e.edges.reduce((r,f)=>{if(f.lhsId===i){const a=Le(f.lhsDir,f.rhsDir);a&&(r[a]=f.rhsId)}else{const a=Le(f.rhsDir,f.lhsDir);a&&(r[a]=f.lhsId)}return r},{}),o),{}),F=Object.keys(C)[0],A={[F]:1},Y=Object.keys(C).reduce((o,i)=>i===F?o:fe(le({},o),{[i]:1}),{}),N=nt(o=>{const i={[o]:[0,0]},e=[o];for(;e.length>0;){const r=e.shift();if(r){A[r]=1,delete Y[r];const f=C[r],[a,p]=i[r];Object.entries(f).forEach(([t,h])=>{A[h]||(i[h]=Or([a,p],t),e.push(h))})}}return i},"BFS"),g=[N(F)];for(;Object.keys(Y).length>0;)g.push(N(Object.keys(Y)[0]));pt.records.dataStructures={adjList:C,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),zr=nt((C,F)=>{pt.records.elements[C]=F},"setElementForId"),Br=nt(C=>pt.records.elements[C],"getElementById"),ge={clear:Rr,setDiagramTitle:or,getDiagramTitle:sr,setAccTitle:hr,getAccTitle:lr,setAccDescription:fr,getAccDescription:cr,addService:Sr,getServices:Fr,addJunction:br,getJunctions:Pr,getNodes:Gr,getNode:Ur,addGroup:Yr,getGroups:Xr,addEdge:Hr,getEdges:Wr,setElementForId:zr,getElementById:Br,getDataStructures:Vr};function Pt(C){const F=ue().architecture;return F!=null&&F[C]?F[C]:Ve[C]}nt(Pt,"getConfigField");var $r=nt((C,F)=>{pr(C,F),C.groups.map(F.addGroup),C.services.map(A=>F.addService(fe(le({},A),{type:"service"}))),C.junctions.map(A=>F.addJunction(fe(le({},A),{type:"junction"}))),C.edges.map(F.addEdge)},"populateDb"),Zr={parse:nt(C=>Qt(void 0,null,function*(){const F=yield Er("architecture",C);Ue.debug(F),$r(F,ge)}),"parse")},kr=nt(C=>` .edge { stroke-width: ${C.archEdgeWidth}; stroke: ${C.archEdgeColor}; diff --git a/pr-preview/pr-459/assets/blockDiagram-EN3ZKWFM-CL96UrOB.js b/pr-preview/pr-459/assets/blockDiagram-EN3ZKWFM-uYAtVIYA.js similarity index 98% rename from pr-preview/pr-459/assets/blockDiagram-EN3ZKWFM-CL96UrOB.js rename to pr-preview/pr-459/assets/blockDiagram-EN3ZKWFM-uYAtVIYA.js index fa03ccc25..c0d379265 100644 --- a/pr-preview/pr-459/assets/blockDiagram-EN3ZKWFM-CL96UrOB.js +++ b/pr-preview/pr-459/assets/blockDiagram-EN3ZKWFM-uYAtVIYA.js @@ -1,4 +1,4 @@ -var Me=Object.defineProperty,Ye=Object.defineProperties;var We=Object.getOwnPropertyDescriptors;var Se=Object.getOwnPropertySymbols;var Ve=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable;var xe=(e,a,l)=>a in e?Me(e,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[a]=l,G=(e,a)=>{for(var l in a||(a={}))Ve.call(a,l)&&xe(e,l,a[l]);if(Se)for(var l of Se(a))je.call(a,l)&&xe(e,l,a[l]);return e},q=(e,a)=>Ye(e,We(a));var j=(e,a,l)=>new Promise((c,d)=>{var p=o=>{try{f(l.next(o))}catch(x){d(x)}},n=o=>{try{f(l.throw(o))}catch(x){d(x)}},f=o=>o.done?c(o.value):Promise.resolve(o.value).then(p,n);f((l=l.apply(e,a)).next())});import{a as Ue,i as Xe,p as He,m as Ge}from"./chunk-UGV5ZQQN-CZ-pcEfT.js";import{i as we,p as qe}from"./chunk-YWFND7JV-CGN8NYbJ.js";import{_ as u,d as De,l as y,ab as Je,H as le,j as $,k as Ze,t as Qe,z as $e,e as et}from"./Using existing ones-Dhq84SWT.js";import{c as tt}from"./clone-BEY0myKV.js";import{G as st}from"./graph-CTYIQWTo.js";import{c as rt}from"./channel-CSXReVqn.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";var ne=function(){var e=u(function(T,h,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=h);return s},"o"),a=[1,7],l=[1,13],c=[1,14],d=[1,15],p=[1,19],n=[1,16],f=[1,17],o=[1,18],x=[8,30],b=[8,21,28,29,30,31,32,40,44,47],E=[1,23],N=[1,24],A=[8,15,16,21,28,29,30,31,32,40,44,47],v=[8,15,16,21,27,28,29,30,31,32,40,44,47],O=[1,49],_={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(h,s,i,g,L,t,I){var r=t.length-1;switch(L){case 4:g.getLogger().debug("Rule: separator (NL) ");break;case 5:g.getLogger().debug("Rule: separator (Space) ");break;case 6:g.getLogger().debug("Rule: separator (EOF) ");break;case 7:g.getLogger().debug("Rule: hierarchy: ",t[r-1]),g.setHierarchy(t[r-1]);break;case 8:g.getLogger().debug("Stop NL ");break;case 9:g.getLogger().debug("Stop EOF ");break;case 10:g.getLogger().debug("Stop NL2 ");break;case 11:g.getLogger().debug("Stop EOF2 ");break;case 12:g.getLogger().debug("Rule: statement: ",t[r]),typeof t[r].length=="number"?this.$=t[r]:this.$=[t[r]];break;case 13:g.getLogger().debug("Rule: statement #2: ",t[r-1]),this.$=[t[r-1]].concat(t[r]);break;case 14:g.getLogger().debug("Rule: link: ",t[r],h),this.$={edgeTypeStr:t[r],label:""};break;case 15:g.getLogger().debug("Rule: LABEL link: ",t[r-3],t[r-1],t[r]),this.$={edgeTypeStr:t[r],label:t[r-1]};break;case 18:const m=parseInt(t[r]),R=g.generateId();this.$={id:R,type:"space",label:"",width:m,children:[]};break;case 23:g.getLogger().debug("Rule: (nodeStatement link node) ",t[r-2],t[r-1],t[r]," typestr: ",t[r-1].edgeTypeStr);const S=g.edgeStrToEdgeData(t[r-1].edgeTypeStr);this.$=[{id:t[r-2].id,label:t[r-2].label,type:t[r-2].type,directions:t[r-2].directions},{id:t[r-2].id+"-"+t[r].id,start:t[r-2].id,end:t[r].id,label:t[r-1].label,type:"edge",directions:t[r].directions,arrowTypeEnd:S,arrowTypeStart:"arrow_open"},{id:t[r].id,label:t[r].label,type:g.typeStr2Type(t[r].typeStr),directions:t[r].directions}];break;case 24:g.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[r-1],t[r]),this.$={id:t[r-1].id,label:t[r-1].label,type:g.typeStr2Type(t[r-1].typeStr),directions:t[r-1].directions,widthInColumns:parseInt(t[r],10)};break;case 25:g.getLogger().debug("Rule: nodeStatement (node) ",t[r]),this.$={id:t[r].id,label:t[r].label,type:g.typeStr2Type(t[r].typeStr),directions:t[r].directions,widthInColumns:1};break;case 26:g.getLogger().debug("APA123",this?this:"na"),g.getLogger().debug("COLUMNS: ",t[r]),this.$={type:"column-setting",columns:t[r]==="auto"?-1:parseInt(t[r])};break;case 27:g.getLogger().debug("Rule: id-block statement : ",t[r-2],t[r-1]),g.generateId(),this.$=q(G({},t[r-2]),{type:"composite",children:t[r-1]});break;case 28:g.getLogger().debug("Rule: blockStatement : ",t[r-2],t[r-1],t[r]);const C=g.generateId();this.$={id:C,type:"composite",label:"",children:t[r-1]};break;case 29:g.getLogger().debug("Rule: node (NODE_ID separator): ",t[r]),this.$={id:t[r]};break;case 30:g.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[r-1],t[r]),this.$={id:t[r-1],label:t[r].label,typeStr:t[r].typeStr,directions:t[r].directions};break;case 31:g.getLogger().debug("Rule: dirList: ",t[r]),this.$=[t[r]];break;case 32:g.getLogger().debug("Rule: dirList: ",t[r-1],t[r]),this.$=[t[r-1]].concat(t[r]);break;case 33:g.getLogger().debug("Rule: nodeShapeNLabel: ",t[r-2],t[r-1],t[r]),this.$={typeStr:t[r-2]+t[r],label:t[r-1]};break;case 34:g.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[r-3],t[r-2]," #3:",t[r-1],t[r]),this.$={typeStr:t[r-3]+t[r],label:t[r-2],directions:t[r-1]};break;case 35:case 36:this.$={type:"classDef",id:t[r-1].trim(),css:t[r].trim()};break;case 37:this.$={type:"applyClass",id:t[r-1].trim(),styleClass:t[r].trim()};break;case 38:this.$={type:"applyStyles",id:t[r-1].trim(),stylesStr:t[r].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:l,29:c,31:d,32:p,40:n,44:f,47:o},{8:[1,20]},e(x,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:a,28:l,29:c,31:d,32:p,40:n,44:f,47:o}),e(b,[2,16],{14:22,15:E,16:N}),e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),e(b,[2,21]),e(b,[2,22]),e(A,[2,25],{27:[1,25]}),e(b,[2,26]),{19:26,26:12,32:p},{11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:l,29:c,31:d,32:p,40:n,44:f,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(v,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(x,[2,13]),{26:35,32:p},{32:[2,14]},{17:[1,36]},e(A,[2,24]),{11:37,13:4,14:22,15:E,16:N,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:l,29:c,31:d,32:p,40:n,44:f,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(v,[2,30]),{18:[1,43]},{18:[1,44]},e(A,[2,23]),{18:[1,45]},{30:[1,46]},e(b,[2,28]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),{37:[1,47]},{34:48,35:O},{15:[1,50]},e(b,[2,27]),e(v,[2,33]),{39:[1,51]},{34:52,35:O,39:[2,31]},{32:[2,15]},e(v,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(h,s){if(s.recoverable)this.trace(h);else{var i=new Error(h);throw i.hash=s,i}},"parseError"),parse:u(function(h){var s=this,i=[0],g=[],L=[null],t=[],I=this.table,r="",m=0,R=0,S=2,C=1,U=t.slice.call(arguments,1),w=Object.create(this.lexer),M={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(M.yy[V]=this.yy[V]);w.setInput(h,M.yy),M.yy.lexer=w,M.yy.parser=this,typeof w.yylloc=="undefined"&&(w.yylloc={});var Y=w.yylloc;t.push(Y);var Fe=w.options&&w.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(k){i.length=i.length-2*k,L.length=L.length-k,t.length=t.length-k}u(Ke,"popStack");function pe(){var k;return k=g.pop()||w.lex()||C,typeof k!="number"&&(k instanceof Array&&(g=k,k=g.pop()),k=s.symbols_[k]||k),k}u(pe,"lex");for(var B,X,F,ie,H={},Z,W,fe,Q;;){if(X=i[i.length-1],this.defaultActions[X]?F=this.defaultActions[X]:((B===null||typeof B=="undefined")&&(B=pe()),F=I[X]&&I[X][B]),typeof F=="undefined"||!F.length||!F[0]){var ae="";Q=[];for(Z in I[X])this.terminals_[Z]&&Z>S&&Q.push("'"+this.terminals_[Z]+"'");w.showPosition?ae="Parse error on line "+(m+1)+`: +var Me=Object.defineProperty,Ye=Object.defineProperties;var We=Object.getOwnPropertyDescriptors;var Se=Object.getOwnPropertySymbols;var Ve=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable;var xe=(e,a,l)=>a in e?Me(e,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[a]=l,G=(e,a)=>{for(var l in a||(a={}))Ve.call(a,l)&&xe(e,l,a[l]);if(Se)for(var l of Se(a))je.call(a,l)&&xe(e,l,a[l]);return e},q=(e,a)=>Ye(e,We(a));var j=(e,a,l)=>new Promise((c,d)=>{var p=o=>{try{f(l.next(o))}catch(x){d(x)}},n=o=>{try{f(l.throw(o))}catch(x){d(x)}},f=o=>o.done?c(o.value):Promise.resolve(o.value).then(p,n);f((l=l.apply(e,a)).next())});import{a as Ue,i as Xe,p as He,m as Ge}from"./chunk-UGV5ZQQN-DY7h4rD5.js";import{i as we,p as qe}from"./chunk-YWFND7JV-DWdokYeW.js";import{_ as u,d as De,l as y,ab as Je,H as le,j as $,k as Ze,t as Qe,z as $e,e as et}from"./Using existing ones-B8pwVpRB.js";import{c as tt}from"./clone-CBvD7XM0.js";import{G as st}from"./graph-BXEtUiHV.js";import{c as rt}from"./channel-DM4B-Npq.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";var ne=function(){var e=u(function(T,h,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=h);return s},"o"),a=[1,7],l=[1,13],c=[1,14],d=[1,15],p=[1,19],n=[1,16],f=[1,17],o=[1,18],x=[8,30],b=[8,21,28,29,30,31,32,40,44,47],E=[1,23],N=[1,24],A=[8,15,16,21,28,29,30,31,32,40,44,47],v=[8,15,16,21,27,28,29,30,31,32,40,44,47],O=[1,49],_={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(h,s,i,g,L,t,I){var r=t.length-1;switch(L){case 4:g.getLogger().debug("Rule: separator (NL) ");break;case 5:g.getLogger().debug("Rule: separator (Space) ");break;case 6:g.getLogger().debug("Rule: separator (EOF) ");break;case 7:g.getLogger().debug("Rule: hierarchy: ",t[r-1]),g.setHierarchy(t[r-1]);break;case 8:g.getLogger().debug("Stop NL ");break;case 9:g.getLogger().debug("Stop EOF ");break;case 10:g.getLogger().debug("Stop NL2 ");break;case 11:g.getLogger().debug("Stop EOF2 ");break;case 12:g.getLogger().debug("Rule: statement: ",t[r]),typeof t[r].length=="number"?this.$=t[r]:this.$=[t[r]];break;case 13:g.getLogger().debug("Rule: statement #2: ",t[r-1]),this.$=[t[r-1]].concat(t[r]);break;case 14:g.getLogger().debug("Rule: link: ",t[r],h),this.$={edgeTypeStr:t[r],label:""};break;case 15:g.getLogger().debug("Rule: LABEL link: ",t[r-3],t[r-1],t[r]),this.$={edgeTypeStr:t[r],label:t[r-1]};break;case 18:const m=parseInt(t[r]),R=g.generateId();this.$={id:R,type:"space",label:"",width:m,children:[]};break;case 23:g.getLogger().debug("Rule: (nodeStatement link node) ",t[r-2],t[r-1],t[r]," typestr: ",t[r-1].edgeTypeStr);const S=g.edgeStrToEdgeData(t[r-1].edgeTypeStr);this.$=[{id:t[r-2].id,label:t[r-2].label,type:t[r-2].type,directions:t[r-2].directions},{id:t[r-2].id+"-"+t[r].id,start:t[r-2].id,end:t[r].id,label:t[r-1].label,type:"edge",directions:t[r].directions,arrowTypeEnd:S,arrowTypeStart:"arrow_open"},{id:t[r].id,label:t[r].label,type:g.typeStr2Type(t[r].typeStr),directions:t[r].directions}];break;case 24:g.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[r-1],t[r]),this.$={id:t[r-1].id,label:t[r-1].label,type:g.typeStr2Type(t[r-1].typeStr),directions:t[r-1].directions,widthInColumns:parseInt(t[r],10)};break;case 25:g.getLogger().debug("Rule: nodeStatement (node) ",t[r]),this.$={id:t[r].id,label:t[r].label,type:g.typeStr2Type(t[r].typeStr),directions:t[r].directions,widthInColumns:1};break;case 26:g.getLogger().debug("APA123",this?this:"na"),g.getLogger().debug("COLUMNS: ",t[r]),this.$={type:"column-setting",columns:t[r]==="auto"?-1:parseInt(t[r])};break;case 27:g.getLogger().debug("Rule: id-block statement : ",t[r-2],t[r-1]),g.generateId(),this.$=q(G({},t[r-2]),{type:"composite",children:t[r-1]});break;case 28:g.getLogger().debug("Rule: blockStatement : ",t[r-2],t[r-1],t[r]);const C=g.generateId();this.$={id:C,type:"composite",label:"",children:t[r-1]};break;case 29:g.getLogger().debug("Rule: node (NODE_ID separator): ",t[r]),this.$={id:t[r]};break;case 30:g.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[r-1],t[r]),this.$={id:t[r-1],label:t[r].label,typeStr:t[r].typeStr,directions:t[r].directions};break;case 31:g.getLogger().debug("Rule: dirList: ",t[r]),this.$=[t[r]];break;case 32:g.getLogger().debug("Rule: dirList: ",t[r-1],t[r]),this.$=[t[r-1]].concat(t[r]);break;case 33:g.getLogger().debug("Rule: nodeShapeNLabel: ",t[r-2],t[r-1],t[r]),this.$={typeStr:t[r-2]+t[r],label:t[r-1]};break;case 34:g.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[r-3],t[r-2]," #3:",t[r-1],t[r]),this.$={typeStr:t[r-3]+t[r],label:t[r-2],directions:t[r-1]};break;case 35:case 36:this.$={type:"classDef",id:t[r-1].trim(),css:t[r].trim()};break;case 37:this.$={type:"applyClass",id:t[r-1].trim(),styleClass:t[r].trim()};break;case 38:this.$={type:"applyStyles",id:t[r-1].trim(),stylesStr:t[r].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:l,29:c,31:d,32:p,40:n,44:f,47:o},{8:[1,20]},e(x,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:a,28:l,29:c,31:d,32:p,40:n,44:f,47:o}),e(b,[2,16],{14:22,15:E,16:N}),e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),e(b,[2,21]),e(b,[2,22]),e(A,[2,25],{27:[1,25]}),e(b,[2,26]),{19:26,26:12,32:p},{11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:l,29:c,31:d,32:p,40:n,44:f,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(v,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(x,[2,13]),{26:35,32:p},{32:[2,14]},{17:[1,36]},e(A,[2,24]),{11:37,13:4,14:22,15:E,16:N,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:l,29:c,31:d,32:p,40:n,44:f,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(v,[2,30]),{18:[1,43]},{18:[1,44]},e(A,[2,23]),{18:[1,45]},{30:[1,46]},e(b,[2,28]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),{37:[1,47]},{34:48,35:O},{15:[1,50]},e(b,[2,27]),e(v,[2,33]),{39:[1,51]},{34:52,35:O,39:[2,31]},{32:[2,15]},e(v,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(h,s){if(s.recoverable)this.trace(h);else{var i=new Error(h);throw i.hash=s,i}},"parseError"),parse:u(function(h){var s=this,i=[0],g=[],L=[null],t=[],I=this.table,r="",m=0,R=0,S=2,C=1,U=t.slice.call(arguments,1),w=Object.create(this.lexer),M={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(M.yy[V]=this.yy[V]);w.setInput(h,M.yy),M.yy.lexer=w,M.yy.parser=this,typeof w.yylloc=="undefined"&&(w.yylloc={});var Y=w.yylloc;t.push(Y);var Fe=w.options&&w.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(k){i.length=i.length-2*k,L.length=L.length-k,t.length=t.length-k}u(Ke,"popStack");function pe(){var k;return k=g.pop()||w.lex()||C,typeof k!="number"&&(k instanceof Array&&(g=k,k=g.pop()),k=s.symbols_[k]||k),k}u(pe,"lex");for(var B,X,F,ie,H={},Z,W,fe,Q;;){if(X=i[i.length-1],this.defaultActions[X]?F=this.defaultActions[X]:((B===null||typeof B=="undefined")&&(B=pe()),F=I[X]&&I[X][B]),typeof F=="undefined"||!F.length||!F[0]){var ae="";Q=[];for(Z in I[X])this.terminals_[Z]&&Z>S&&Q.push("'"+this.terminals_[Z]+"'");w.showPosition?ae="Parse error on line "+(m+1)+`: `+w.showPosition()+` Expecting `+Q.join(", ")+", got '"+(this.terminals_[B]||B)+"'":ae="Parse error on line "+(m+1)+": Unexpected "+(B==C?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(ae,{text:w.match,token:this.terminals_[B]||B,line:w.yylineno,loc:Y,expected:Q})}if(F[0]instanceof Array&&F.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+B);switch(F[0]){case 1:i.push(B),L.push(w.yytext),t.push(w.yylloc),i.push(F[1]),B=null,R=w.yyleng,r=w.yytext,m=w.yylineno,Y=w.yylloc;break;case 2:if(W=this.productions_[F[1]][1],H.$=L[L.length-W],H._$={first_line:t[t.length-(W||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(W||1)].first_column,last_column:t[t.length-1].last_column},Fe&&(H._$.range=[t[t.length-(W||1)].range[0],t[t.length-1].range[1]]),ie=this.performAction.apply(H,[r,R,m,M.yy,F[1],L,t].concat(U)),typeof ie!="undefined")return ie;W&&(i=i.slice(0,-1*W*2),L=L.slice(0,-1*W),t=t.slice(0,-1*W)),i.push(this.productions_[F[1]][0]),L.push(H.$),t.push(H._$),fe=I[i[i.length-2]][i[i.length-1]],i.push(fe);break;case 3:return!0}}return!0},"parse")},P=function(){var T={EOF:1,parseError:u(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:u(function(h,s){return this.yy=s||this.yy||{},this._input=h,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:u(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var s=h.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:u(function(h){var s=h.length,i=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var g=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),i.length-1&&(this.yylineno-=i.length-1);var L=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:i?(i.length===g.length?this.yylloc.first_column:0)+g[g.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[L[0],L[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(h){this.unput(this.match.slice(h))},"less"),pastInput:u(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var h=this.pastInput(),s=new Array(h.length+1).join("-");return h+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/c4Diagram-THADGKDP-u29AtrPU.js b/pr-preview/pr-459/assets/c4Diagram-THADGKDP-CzLBx8_C.js similarity index 99% rename from pr-preview/pr-459/assets/c4Diagram-THADGKDP-u29AtrPU.js rename to pr-preview/pr-459/assets/c4Diagram-THADGKDP-CzLBx8_C.js index 512e1fa61..d1f9d5d11 100644 --- a/pr-preview/pr-459/assets/c4Diagram-THADGKDP-u29AtrPU.js +++ b/pr-preview/pr-459/assets/c4Diagram-THADGKDP-CzLBx8_C.js @@ -1,4 +1,4 @@ -import{d as Se,g as De}from"./chunk-XVOYOM2C-B0PyF_8G.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Dt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as pe,k as Ye,m as je}from"./Using existing ones-Dhq84SWT.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],p=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],pt=[1,56],ft=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Rt){var f=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[f-3]);break;case 19:b.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 20:b.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 21:this.$=h[f].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[f].trim(),b.setAccDescription(this.$);break;case 28:h[f].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 29:h[f].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 30:b.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 31:h[f].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[f]),this.$=h[f];break;case 32:b.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 33:b.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 34:b.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 40:b.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 41:b.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 42:b.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 43:b.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 44:b.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 45:b.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 46:b.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 47:b.addContainer("container",...h[f]),this.$=h[f];break;case 48:b.addContainer("container_db",...h[f]),this.$=h[f];break;case 49:b.addContainer("container_queue",...h[f]),this.$=h[f];break;case 50:b.addContainer("external_container",...h[f]),this.$=h[f];break;case 51:b.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 52:b.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 53:b.addComponent("component",...h[f]),this.$=h[f];break;case 54:b.addComponent("component_db",...h[f]),this.$=h[f];break;case 55:b.addComponent("component_queue",...h[f]),this.$=h[f];break;case 56:b.addComponent("external_component",...h[f]),this.$=h[f];break;case 57:b.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 58:b.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 60:b.addRel("rel",...h[f]),this.$=h[f];break;case 61:b.addRel("birel",...h[f]),this.$=h[f];break;case 62:b.addRel("rel_u",...h[f]),this.$=h[f];break;case 63:b.addRel("rel_d",...h[f]),this.$=h[f];break;case 64:b.addRel("rel_l",...h[f]),this.$=h[f];break;case 65:b.addRel("rel_r",...h[f]),this.$=h[f];break;case 66:b.addRel("rel_b",...h[f]),this.$=h[f];break;case 67:h[f].splice(0,1),b.addRel("rel",...h[f]),this.$=h[f];break;case 68:b.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 69:b.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 70:b.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 71:this.$=[h[f]];break;case 72:h[f].unshift(h[f-1]),this.$=h[f];break;case 73:case 75:this.$=h[f].trim();break;case 74:let Et={};Et[h[f-1].trim()]=h[f].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:p,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(Ot,[2,19]),e(Ot,[2,20]),{25:[1,78]},{27:[1,79]},e(Ot,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:p,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt}),e(Ot,[2,21]),e(Ot,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Rt=this.table,f="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc=="undefined"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I=="undefined")&&(I=he()),N=Rt[At]&&Rt[At][I]),typeof N=="undefined"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Rt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: +import{d as Se,g as De}from"./chunk-XVOYOM2C-Ci0V97zV.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Dt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as pe,k as Ye,m as je}from"./Using existing ones-B8pwVpRB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],p=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],pt=[1,56],ft=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Rt){var f=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[f-3]);break;case 19:b.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 20:b.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 21:this.$=h[f].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[f].trim(),b.setAccDescription(this.$);break;case 28:h[f].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 29:h[f].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 30:b.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 31:h[f].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[f]),this.$=h[f];break;case 32:b.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 33:b.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 34:b.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 40:b.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 41:b.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 42:b.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 43:b.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 44:b.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 45:b.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 46:b.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 47:b.addContainer("container",...h[f]),this.$=h[f];break;case 48:b.addContainer("container_db",...h[f]),this.$=h[f];break;case 49:b.addContainer("container_queue",...h[f]),this.$=h[f];break;case 50:b.addContainer("external_container",...h[f]),this.$=h[f];break;case 51:b.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 52:b.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 53:b.addComponent("component",...h[f]),this.$=h[f];break;case 54:b.addComponent("component_db",...h[f]),this.$=h[f];break;case 55:b.addComponent("component_queue",...h[f]),this.$=h[f];break;case 56:b.addComponent("external_component",...h[f]),this.$=h[f];break;case 57:b.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 58:b.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 60:b.addRel("rel",...h[f]),this.$=h[f];break;case 61:b.addRel("birel",...h[f]),this.$=h[f];break;case 62:b.addRel("rel_u",...h[f]),this.$=h[f];break;case 63:b.addRel("rel_d",...h[f]),this.$=h[f];break;case 64:b.addRel("rel_l",...h[f]),this.$=h[f];break;case 65:b.addRel("rel_r",...h[f]),this.$=h[f];break;case 66:b.addRel("rel_b",...h[f]),this.$=h[f];break;case 67:h[f].splice(0,1),b.addRel("rel",...h[f]),this.$=h[f];break;case 68:b.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 69:b.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 70:b.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 71:this.$=[h[f]];break;case 72:h[f].unshift(h[f-1]),this.$=h[f];break;case 73:case 75:this.$=h[f].trim();break;case 74:let Et={};Et[h[f-1].trim()]=h[f].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:p,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(Ot,[2,19]),e(Ot,[2,20]),{25:[1,78]},{27:[1,79]},e(Ot,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:p,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:p,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:pt,71:ft,72:yt,73:gt,74:bt}),e(Ot,[2,21]),e(Ot,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Rt=this.table,f="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc=="undefined"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I=="undefined")&&(I=he()),N=Rt[At]&&Rt[At][I]),typeof N=="undefined"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Rt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: `+D.showPosition()+` Expecting `+Yt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Zt="Parse error on line "+(Et+1)+": Unexpected "+(I==ce?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Zt,{text:D.match,token:this.terminals_[I]||I,line:D.yylineno,loc:Kt,expected:Yt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+At+", token: "+I);switch(N[0]){case 1:v.push(I),R.push(D.yytext),h.push(D.yylloc),v.push(N[1]),I=null,oe=D.yyleng,f=D.yytext,Et=D.yylineno,Kt=D.yylloc;break;case 2:if(W=this.productions_[N[1]][1],wt.$=R[R.length-W],wt._$={first_line:h[h.length-(W||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(W||1)].first_column,last_column:h[h.length-1].last_column},Oe&&(wt._$.range=[h[h.length-(W||1)].range[0],h[h.length-1].range[1]]),Jt=this.performAction.apply(wt,[f,oe,Et,kt.yy,N[1],R,h].concat(Te)),typeof Jt!="undefined")return Jt;W&&(v=v.slice(0,-1*W*2),R=R.slice(0,-1*W),h=h.slice(0,-1*W)),v.push(this.productions_[N[1]][0]),R.push(wt.$),h.push(wt._$),ue=Rt[v[v.length-2]][v[v.length-1]],v.push(ue);break;case 3:return!0}}return!0},"parse")},Ce=function(){var _t={EOF:1,parseError:g(function(m,v){if(this.yy.parser)this.yy.parser.parseError(m,v);else throw new Error(m)},"parseError"),setInput:g(function(x,m){return this.yy=m||this.yy||{},this._input=x,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:g(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var m=x.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:g(function(x){var m=x.length,v=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var b=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),v.length-1&&(this.yylineno-=v.length-1);var R=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:v?(v.length===b.length?this.yylloc.first_column:0)+b[b.length-v.length].length-v[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:g(function(x){this.unput(this.match.slice(x))},"less"),pastInput:g(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var x=this.pastInput(),m=new Array(x.length+1).join("-");return x+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/channel-CSXReVqn.js b/pr-preview/pr-459/assets/channel-CSXReVqn.js deleted file mode 100644 index 8da8a8809..000000000 --- a/pr-preview/pr-459/assets/channel-CSXReVqn.js +++ /dev/null @@ -1 +0,0 @@ -import{U as a,E as n}from"./Using existing ones-Dhq84SWT.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c}; diff --git a/pr-preview/pr-459/assets/channel-DM4B-Npq.js b/pr-preview/pr-459/assets/channel-DM4B-Npq.js new file mode 100644 index 000000000..944b61a15 --- /dev/null +++ b/pr-preview/pr-459/assets/channel-DM4B-Npq.js @@ -0,0 +1 @@ +import{U as a,E as n}from"./Using existing ones-B8pwVpRB.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c}; diff --git a/pr-preview/pr-459/assets/chunk-2JBRQKJ5-OmpQal4x.js b/pr-preview/pr-459/assets/chunk-2JBRQKJ5-C94RoRJd.js similarity index 99% rename from pr-preview/pr-459/assets/chunk-2JBRQKJ5-OmpQal4x.js rename to pr-preview/pr-459/assets/chunk-2JBRQKJ5-C94RoRJd.js index 00c4f2823..834fae427 100644 --- a/pr-preview/pr-459/assets/chunk-2JBRQKJ5-OmpQal4x.js +++ b/pr-preview/pr-459/assets/chunk-2JBRQKJ5-C94RoRJd.js @@ -1,4 +1,4 @@ -var jt=(t,e,l)=>new Promise((n,h)=>{var s=a=>{try{y(l.next(a))}catch(_){h(_)}},f=a=>{try{y(l.throw(a))}catch(_){h(_)}},y=a=>a.done?n(a.value):Promise.resolve(a.value).then(s,f);y((l=l.apply(t,e)).next())});import{g as Ce,s as xe}from"./chunk-DUMQOTYW-BjCuNlre.js";import{_ as r,e as H,d as A,g as Ae,s as Le,b as Ie,c as Re,q as Oe,r as Ne,l as b,y as we,u as $e,t as Pe,ag as Ge}from"./Using existing ones-Dhq84SWT.js";var Ot=function(){var t=r(function($,c,u,o){for(u=u||{},o=$.length;o--;u[$[o]]=c);return u},"o"),e=[1,2],l=[1,3],n=[1,4],h=[2,4],s=[1,9],f=[1,11],y=[1,16],a=[1,17],_=[1,18],E=[1,19],m=[1,32],B=[1,20],Y=[1,21],I=[1,22],p=[1,23],L=[1,24],R=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(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,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$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:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"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],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(c,u,o,g,T,i,q){var d=i.length-1;switch(T){case 3:return g.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=g.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Dt=g.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var M=i[d],W=i[d-2].trim();if(i[d].match(":")){var ht=i[d].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),g.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 34:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 35:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 36:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:l,6:n},{1:[3]},{3:5,4:e,5:l,6:n},{3:6,4:e,5:l,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],h,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:a,19:_,22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:y,17:a,19:_,22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:m,54:J},t(S,[2,17]),t(Vt,h,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:a,19:_,21:[1,68],22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,h,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:a,19:_,21:[1,73],22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(c,u){if(u.recoverable)this.trace(c);else{var o=new Error(c);throw o.hash=u,o}},"parseError"),parse:r(function(c){var u=this,o=[0],g=[],T=[null],i=[],q=this.table,d="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),v=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);v.setInput(c,U.yy),U.yy.lexer=v,U.yy.parser=this,typeof v.yylloc=="undefined"&&(v.yylloc={});var xt=v.yylloc;i.push(xt);var ke=v.options&&v.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(C){o.length=o.length-2*C,T.length=T.length-C,i.length=i.length-C}r(De,"popStack");function Mt(){var C;return C=g.pop()||v.lex()||Q,typeof C!="number"&&(C instanceof Array&&(g=C,C=g.pop()),C=u.symbols_[C]||C),C}r(Mt,"lex");for(var k,j,x,At,X={},dt,O,Ut,ft;;){if(j=o[o.length-1],this.defaultActions[j]?x=this.defaultActions[j]:((k===null||typeof k=="undefined")&&(k=Mt()),x=q[j]&&q[j][k]),typeof x=="undefined"||!x.length||!x[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");v.showPosition?Lt="Parse error on line "+(M+1)+`: +var jt=(t,e,l)=>new Promise((n,h)=>{var s=a=>{try{y(l.next(a))}catch(_){h(_)}},f=a=>{try{y(l.throw(a))}catch(_){h(_)}},y=a=>a.done?n(a.value):Promise.resolve(a.value).then(s,f);y((l=l.apply(t,e)).next())});import{g as Ce,s as xe}from"./chunk-DUMQOTYW-0xJyfB2B.js";import{_ as r,e as H,d as A,g as Ae,s as Le,b as Ie,c as Re,q as Oe,r as Ne,l as b,y as we,u as $e,t as Pe,ag as Ge}from"./Using existing ones-B8pwVpRB.js";var Ot=function(){var t=r(function($,c,u,o){for(u=u||{},o=$.length;o--;u[$[o]]=c);return u},"o"),e=[1,2],l=[1,3],n=[1,4],h=[2,4],s=[1,9],f=[1,11],y=[1,16],a=[1,17],_=[1,18],E=[1,19],m=[1,32],B=[1,20],Y=[1,21],I=[1,22],p=[1,23],L=[1,24],R=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(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,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$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:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"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],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(c,u,o,g,T,i,q){var d=i.length-1;switch(T){case 3:return g.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=g.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Dt=g.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var M=i[d],W=i[d-2].trim();if(i[d].match(":")){var ht=i[d].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),g.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 34:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 35:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 36:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:l,6:n},{1:[3]},{3:5,4:e,5:l,6:n},{3:6,4:e,5:l,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],h,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:a,19:_,22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:y,17:a,19:_,22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:m,54:J},t(S,[2,17]),t(Vt,h,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:a,19:_,21:[1,68],22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,h,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:a,19:_,21:[1,73],22:E,24:m,25:B,26:Y,27:I,28:p,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(c,u){if(u.recoverable)this.trace(c);else{var o=new Error(c);throw o.hash=u,o}},"parseError"),parse:r(function(c){var u=this,o=[0],g=[],T=[null],i=[],q=this.table,d="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),v=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);v.setInput(c,U.yy),U.yy.lexer=v,U.yy.parser=this,typeof v.yylloc=="undefined"&&(v.yylloc={});var xt=v.yylloc;i.push(xt);var ke=v.options&&v.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(C){o.length=o.length-2*C,T.length=T.length-C,i.length=i.length-C}r(De,"popStack");function Mt(){var C;return C=g.pop()||v.lex()||Q,typeof C!="number"&&(C instanceof Array&&(g=C,C=g.pop()),C=u.symbols_[C]||C),C}r(Mt,"lex");for(var k,j,x,At,X={},dt,O,Ut,ft;;){if(j=o[o.length-1],this.defaultActions[j]?x=this.defaultActions[j]:((k===null||typeof k=="undefined")&&(k=Mt()),x=q[j]&&q[j][k]),typeof x=="undefined"||!x.length||!x[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");v.showPosition?Lt="Parse error on line "+(M+1)+`: `+v.showPosition()+` Expecting `+ft.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Lt="Parse error on line "+(M+1)+": Unexpected "+(k==Q?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Lt,{text:v.match,token:this.terminals_[k]||k,line:v.yylineno,loc:xt,expected:ft})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+k);switch(x[0]){case 1:o.push(k),T.push(v.yytext),i.push(v.yylloc),o.push(x[1]),k=null,W=v.yyleng,d=v.yytext,M=v.yylineno,xt=v.yylloc;break;case 2:if(O=this.productions_[x[1]][1],X.$=T[T.length-O],X._$={first_line:i[i.length-(O||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(O||1)].first_column,last_column:i[i.length-1].last_column},ke&&(X._$.range=[i[i.length-(O||1)].range[0],i[i.length-1].range[1]]),At=this.performAction.apply(X,[d,W,M,U.yy,x[1],T,i].concat(Dt)),typeof At!="undefined")return At;O&&(o=o.slice(0,-1*O*2),T=T.slice(0,-1*O),i=i.slice(0,-1*O)),o.push(this.productions_[x[1]][0]),T.push(X.$),i.push(X._$),Ut=q[o[o.length-2]][o[o.length-1]],o.push(Ut);break;case 3:return!0}}return!0},"parse")},me=function(){var $={EOF:1,parseError:r(function(u,o){if(this.yy.parser)this.yy.parser.parseError(u,o);else throw new Error(u)},"parseError"),setInput:r(function(c,u){return this.yy=u||this.yy||{},this._input=c,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:r(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var u=c.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:r(function(c){var u=c.length,o=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var g=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),o.length-1&&(this.yylineno-=o.length-1);var T=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:o?(o.length===g.length?this.yylloc.first_column:0)+g[g.length-o.length].length-o[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(c){this.unput(this.match.slice(c))},"less"),pastInput:r(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var c=this.pastInput(),u=new Array(c.length+1).join("-");return c+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/chunk-2RYQ3QTB-Cnh_I8p8.js b/pr-preview/pr-459/assets/chunk-2RYQ3QTB-OT2l6tiE.js similarity index 68% rename from pr-preview/pr-459/assets/chunk-2RYQ3QTB-Cnh_I8p8.js rename to pr-preview/pr-459/assets/chunk-2RYQ3QTB-OT2l6tiE.js index 27028e4f9..1103a68c9 100644 --- a/pr-preview/pr-459/assets/chunk-2RYQ3QTB-Cnh_I8p8.js +++ b/pr-preview/pr-459/assets/chunk-2RYQ3QTB-OT2l6tiE.js @@ -1 +1 @@ -import{_ as s}from"./Using existing ones-Dhq84SWT.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; +import{_ as s}from"./Using existing ones-B8pwVpRB.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; diff --git a/pr-preview/pr-459/assets/chunk-BAVOGKFW-CtA3QrmH.js b/pr-preview/pr-459/assets/chunk-BAVOGKFW-v9RTQu8Y.js similarity index 99% rename from pr-preview/pr-459/assets/chunk-BAVOGKFW-CtA3QrmH.js rename to pr-preview/pr-459/assets/chunk-BAVOGKFW-v9RTQu8Y.js index 9e23021c2..9c48a9a84 100644 --- a/pr-preview/pr-459/assets/chunk-BAVOGKFW-CtA3QrmH.js +++ b/pr-preview/pr-459/assets/chunk-BAVOGKFW-v9RTQu8Y.js @@ -1,4 +1,4 @@ -import{_ as n,i as lt,d as D,a9 as Ve,s as ct,g as ot,b as ht,c as At,q as pt,r as ft,e as x,t as dt,l as Ct,u as $e,j as K}from"./Using existing ones-Dhq84SWT.js";var Pe=function(){var e=n(function(O,a,l,A){for(l=l||{},A=O.length;A--;l[O[A]]=a);return l},"o"),i=[1,17],r=[1,18],h=[1,19],c=[1,39],f=[1,40],d=[1,25],B=[1,23],S=[1,24],N=[1,31],Ee=[1,32],ge=[1,33],me=[1,34],be=[1,35],ke=[1,36],Te=[1,26],ye=[1,27],Fe=[1,28],De=[1,29],E=[1,43],_e=[1,30],g=[1,42],m=[1,44],b=[1,41],T=[1,45],Be=[1,9],o=[1,8,9],Q=[1,56],X=[1,57],W=[1,58],q=[1,59],H=[1,60],Se=[1,61],ve=[1,62],J=[1,8,9,39],Ke=[1,74],G=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],Z=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],$=[13,74,80,95,97,98],U=[13,64,65,74,80,95,97,98],Ye=[13,59,60,61,62,63,74,80,95,97,98],Ne=[1,93],ee=[1,110],te=[1,108],se=[1,102],ie=[1,103],ue=[1,104],ne=[1,105],ae=[1,106],re=[1,107],le=[1,109],Le=[1,8,9,37,39,42],ce=[1,8,9,21],je=[1,8,9,78],v=[1,8,9,21,73,74,78,80,81,82,83,84,85],xe={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:n(function(a,l,A,u,p,t,z){var s=t.length-1;switch(p){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:u.addRelation(t[s]);break;case 17:t[s-1].title=u.cleanupLabel(t[s]),u.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 30:u.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:u.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],u.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:u.setCssClass(t[s-2],t[s]);break;case 38:u.addMembers(t[s-3],t[s-1]);break;case 39:u.setCssClass(t[s-5],t[s-3]),u.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],u.addClass(t[s]);break;case 41:this.$=t[s-1],u.addClass(t[s-1]),u.setClassLabel(t[s-1],t[s]);break;case 42:u.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:u.addMember(t[s-1],u.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:u.addNote(t[s],t[s-1]);break;case 54:u.addNote(t[s]);break;case 55:u.setDirection("TB");break;case 56:u.setDirection("BT");break;case 57:u.setDirection("RL");break;case 58:u.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=u.relationType.AGGREGATION;break;case 64:this.$=u.relationType.EXTENSION;break;case 65:this.$=u.relationType.COMPOSITION;break;case 66:this.$=u.relationType.DEPENDENCY;break;case 67:this.$=u.relationType.LOLLIPOP;break;case 68:this.$=u.lineType.LINE;break;case 69:this.$=u.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],u.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],u.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],u.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],u.setLink(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],u.setLink(t[s-3],t[s-2],t[s]),u.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],u.setClickEvent(t[s-3],t[s-2],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],u.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],u.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],u.setLink(t[s-3],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],u.setLink(t[s-4],t[s-2],t[s]),u.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],u.setCssStyle(t[s-1],t[s]);break;case 85:u.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Be,[2,5],{8:[1,46]}),{8:[1,47]},e(o,[2,16],{21:[1,48]}),e(o,[2,18]),e(o,[2,19]),e(o,[2,20]),e(o,[2,21]),e(o,[2,22]),e(o,[2,23]),e(o,[2,24]),e(o,[2,25]),e(o,[2,26]),{32:[1,49]},{34:[1,50]},e(o,[2,29]),e(o,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve}),{37:[1,63]},e(J,[2,36],{37:[1,65],42:[1,64]}),e(o,[2,47]),e(o,[2,48]),{16:66,74:E,80:g,95:m,97:b},{16:37,17:67,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:68,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:69,18:38,74:E,80:g,95:m,97:b,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:E,80:g,95:m,97:b,98:T},{13:Ke,51:73},e(o,[2,55]),e(o,[2,56]),e(o,[2,57]),e(o,[2,58]),e(G,[2,11],{16:37,18:38,17:75,19:[1,76],74:E,80:g,95:m,97:b,98:T}),e(G,[2,12],{19:[1,77]}),{15:78,16:79,74:E,80:g,95:m,97:b},{16:37,17:80,18:38,74:E,80:g,95:m,97:b,98:T},e(Z,[2,112]),e(Z,[2,113]),e(Z,[2,114]),e(Z,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Be,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:h,40:c,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},e(o,[2,17]),e(o,[2,27]),e(o,[2,28]),{13:[1,84],16:37,17:83,18:38,74:E,80:g,95:m,97:b,98:T},{49:85,57:54,58:55,59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve},e(o,[2,46]),{58:86,64:Se,65:ve},e($,[2,62],{57:87,59:Q,60:X,61:W,62:q,63:H}),e(U,[2,63]),e(U,[2,64]),e(U,[2,65]),e(U,[2,66]),e(U,[2,67]),e(Ye,[2,68]),e(Ye,[2,69]),{8:[1,89],23:90,38:88,41:22,44:f},{16:91,74:E,80:g,95:m,97:b},{43:92,47:Ne},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:ee,73:te,74:se,75:99,77:100,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},{74:[1,111]},{13:Ke,51:112},e(o,[2,54]),e(o,[2,117]),e(G,[2,13]),e(G,[2,14]),e(G,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:E,80:g,95:m,97:b},e(Le,[2,40],{11:114,12:[1,115]}),e(Be,[2,7]),{9:[1,116]},e(ce,[2,49]),{16:37,17:117,18:38,74:E,80:g,95:m,97:b,98:T},{13:[1,119],16:37,17:118,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,61],{57:120,59:Q,60:X,61:W,62:q,63:H}),e($,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:f},{8:[1,123],39:[2,33]},e(J,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:Ne},{16:37,17:127,18:38,74:E,80:g,95:m,97:b,98:T},e(o,[2,70],{13:[1,128]}),e(o,[2,72],{13:[1,130],68:[1,129]}),e(o,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(o,[2,84],{78:[1,134]}),e(je,[2,86],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(v,[2,88]),e(v,[2,90]),e(v,[2,91]),e(v,[2,92]),e(v,[2,93]),e(v,[2,94]),e(v,[2,95]),e(v,[2,96]),e(v,[2,97]),e(v,[2,98]),e(o,[2,85]),e(o,[2,53]),{37:[2,10]},e(Le,[2,41]),{13:[1,136]},{1:[2,4]},e(ce,[2,51]),e(ce,[2,50]),{16:37,17:137,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,59]),e(o,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:f},{43:140,47:Ne},e(J,[2,38]),{39:[2,44]},e(o,[2,42]),e(o,[2,71]),e(o,[2,73]),e(o,[2,74],{68:[1,141]}),e(o,[2,77]),e(o,[2,78],{13:[1,142]}),e(o,[2,80],{13:[1,144],68:[1,143]}),{21:ee,73:te,74:se,77:145,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},e(v,[2,89]),{14:[1,146]},e(ce,[2,52]),e(o,[2,31]),{39:[2,35]},{39:[1,147]},e(o,[2,75]),e(o,[2,79]),e(o,[2,81]),e(o,[2,82],{68:[1,148]}),e(je,[2,87],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(Le,[2,8]),e(J,[2,39]),e(o,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:n(function(a,l){if(l.recoverable)this.trace(a);else{var A=new Error(a);throw A.hash=l,A}},"parseError"),parse:n(function(a){var l=this,A=[0],u=[],p=[null],t=[],z=this.table,s="",he=0,Qe=0,ut=2,Xe=1,nt=t.slice.call(arguments,1),k=Object.create(this.lexer),R={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(R.yy[Ie]=this.yy[Ie]);k.setInput(a,R.yy),R.yy.lexer=k,R.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var Oe=k.yylloc;t.push(Oe);var at=k.options&&k.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(F){A.length=A.length-2*F,p.length=p.length-F,t.length=t.length-F}n(rt,"popStack");function We(){var F;return F=u.pop()||k.lex()||Xe,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=l.symbols_[F]||F),F}n(We,"lex");for(var y,w,_,Re,M={},Ae,L,qe,pe;;){if(w=A[A.length-1],this.defaultActions[w]?_=this.defaultActions[w]:((y===null||typeof y=="undefined")&&(y=We()),_=z[w]&&z[w][y]),typeof _=="undefined"||!_.length||!_[0]){var we="";pe=[];for(Ae in z[w])this.terminals_[Ae]&&Ae>ut&&pe.push("'"+this.terminals_[Ae]+"'");k.showPosition?we="Parse error on line "+(he+1)+`: +import{_ as n,i as lt,d as D,a9 as Ve,s as ct,g as ot,b as ht,c as At,q as pt,r as ft,e as x,t as dt,l as Ct,u as $e,j as K}from"./Using existing ones-B8pwVpRB.js";var Pe=function(){var e=n(function(O,a,l,A){for(l=l||{},A=O.length;A--;l[O[A]]=a);return l},"o"),i=[1,17],r=[1,18],h=[1,19],c=[1,39],f=[1,40],d=[1,25],B=[1,23],S=[1,24],N=[1,31],Ee=[1,32],ge=[1,33],me=[1,34],be=[1,35],ke=[1,36],Te=[1,26],ye=[1,27],Fe=[1,28],De=[1,29],E=[1,43],_e=[1,30],g=[1,42],m=[1,44],b=[1,41],T=[1,45],Be=[1,9],o=[1,8,9],Q=[1,56],X=[1,57],W=[1,58],q=[1,59],H=[1,60],Se=[1,61],ve=[1,62],J=[1,8,9,39],Ke=[1,74],G=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],Z=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],$=[13,74,80,95,97,98],U=[13,64,65,74,80,95,97,98],Ye=[13,59,60,61,62,63,74,80,95,97,98],Ne=[1,93],ee=[1,110],te=[1,108],se=[1,102],ie=[1,103],ue=[1,104],ne=[1,105],ae=[1,106],re=[1,107],le=[1,109],Le=[1,8,9,37,39,42],ce=[1,8,9,21],je=[1,8,9,78],v=[1,8,9,21,73,74,78,80,81,82,83,84,85],xe={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:n(function(a,l,A,u,p,t,z){var s=t.length-1;switch(p){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:u.addRelation(t[s]);break;case 17:t[s-1].title=u.cleanupLabel(t[s]),u.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 30:u.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:u.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],u.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:u.setCssClass(t[s-2],t[s]);break;case 38:u.addMembers(t[s-3],t[s-1]);break;case 39:u.setCssClass(t[s-5],t[s-3]),u.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],u.addClass(t[s]);break;case 41:this.$=t[s-1],u.addClass(t[s-1]),u.setClassLabel(t[s-1],t[s]);break;case 42:u.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:u.addMember(t[s-1],u.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:u.addNote(t[s],t[s-1]);break;case 54:u.addNote(t[s]);break;case 55:u.setDirection("TB");break;case 56:u.setDirection("BT");break;case 57:u.setDirection("RL");break;case 58:u.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=u.relationType.AGGREGATION;break;case 64:this.$=u.relationType.EXTENSION;break;case 65:this.$=u.relationType.COMPOSITION;break;case 66:this.$=u.relationType.DEPENDENCY;break;case 67:this.$=u.relationType.LOLLIPOP;break;case 68:this.$=u.lineType.LINE;break;case 69:this.$=u.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],u.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],u.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],u.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],u.setLink(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],u.setLink(t[s-3],t[s-2],t[s]),u.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],u.setClickEvent(t[s-3],t[s-2],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],u.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],u.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],u.setLink(t[s-3],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],u.setLink(t[s-4],t[s-2],t[s]),u.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],u.setCssStyle(t[s-1],t[s]);break;case 85:u.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Be,[2,5],{8:[1,46]}),{8:[1,47]},e(o,[2,16],{21:[1,48]}),e(o,[2,18]),e(o,[2,19]),e(o,[2,20]),e(o,[2,21]),e(o,[2,22]),e(o,[2,23]),e(o,[2,24]),e(o,[2,25]),e(o,[2,26]),{32:[1,49]},{34:[1,50]},e(o,[2,29]),e(o,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve}),{37:[1,63]},e(J,[2,36],{37:[1,65],42:[1,64]}),e(o,[2,47]),e(o,[2,48]),{16:66,74:E,80:g,95:m,97:b},{16:37,17:67,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:68,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:69,18:38,74:E,80:g,95:m,97:b,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:E,80:g,95:m,97:b,98:T},{13:Ke,51:73},e(o,[2,55]),e(o,[2,56]),e(o,[2,57]),e(o,[2,58]),e(G,[2,11],{16:37,18:38,17:75,19:[1,76],74:E,80:g,95:m,97:b,98:T}),e(G,[2,12],{19:[1,77]}),{15:78,16:79,74:E,80:g,95:m,97:b},{16:37,17:80,18:38,74:E,80:g,95:m,97:b,98:T},e(Z,[2,112]),e(Z,[2,113]),e(Z,[2,114]),e(Z,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Be,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:h,40:c,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},e(o,[2,17]),e(o,[2,27]),e(o,[2,28]),{13:[1,84],16:37,17:83,18:38,74:E,80:g,95:m,97:b,98:T},{49:85,57:54,58:55,59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve},e(o,[2,46]),{58:86,64:Se,65:ve},e($,[2,62],{57:87,59:Q,60:X,61:W,62:q,63:H}),e(U,[2,63]),e(U,[2,64]),e(U,[2,65]),e(U,[2,66]),e(U,[2,67]),e(Ye,[2,68]),e(Ye,[2,69]),{8:[1,89],23:90,38:88,41:22,44:f},{16:91,74:E,80:g,95:m,97:b},{43:92,47:Ne},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:ee,73:te,74:se,75:99,77:100,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},{74:[1,111]},{13:Ke,51:112},e(o,[2,54]),e(o,[2,117]),e(G,[2,13]),e(G,[2,14]),e(G,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:E,80:g,95:m,97:b},e(Le,[2,40],{11:114,12:[1,115]}),e(Be,[2,7]),{9:[1,116]},e(ce,[2,49]),{16:37,17:117,18:38,74:E,80:g,95:m,97:b,98:T},{13:[1,119],16:37,17:118,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,61],{57:120,59:Q,60:X,61:W,62:q,63:H}),e($,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:f},{8:[1,123],39:[2,33]},e(J,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:Ne},{16:37,17:127,18:38,74:E,80:g,95:m,97:b,98:T},e(o,[2,70],{13:[1,128]}),e(o,[2,72],{13:[1,130],68:[1,129]}),e(o,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(o,[2,84],{78:[1,134]}),e(je,[2,86],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(v,[2,88]),e(v,[2,90]),e(v,[2,91]),e(v,[2,92]),e(v,[2,93]),e(v,[2,94]),e(v,[2,95]),e(v,[2,96]),e(v,[2,97]),e(v,[2,98]),e(o,[2,85]),e(o,[2,53]),{37:[2,10]},e(Le,[2,41]),{13:[1,136]},{1:[2,4]},e(ce,[2,51]),e(ce,[2,50]),{16:37,17:137,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,59]),e(o,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:f},{43:140,47:Ne},e(J,[2,38]),{39:[2,44]},e(o,[2,42]),e(o,[2,71]),e(o,[2,73]),e(o,[2,74],{68:[1,141]}),e(o,[2,77]),e(o,[2,78],{13:[1,142]}),e(o,[2,80],{13:[1,144],68:[1,143]}),{21:ee,73:te,74:se,77:145,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},e(v,[2,89]),{14:[1,146]},e(ce,[2,52]),e(o,[2,31]),{39:[2,35]},{39:[1,147]},e(o,[2,75]),e(o,[2,79]),e(o,[2,81]),e(o,[2,82],{68:[1,148]}),e(je,[2,87],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(Le,[2,8]),e(J,[2,39]),e(o,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:n(function(a,l){if(l.recoverable)this.trace(a);else{var A=new Error(a);throw A.hash=l,A}},"parseError"),parse:n(function(a){var l=this,A=[0],u=[],p=[null],t=[],z=this.table,s="",he=0,Qe=0,ut=2,Xe=1,nt=t.slice.call(arguments,1),k=Object.create(this.lexer),R={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(R.yy[Ie]=this.yy[Ie]);k.setInput(a,R.yy),R.yy.lexer=k,R.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var Oe=k.yylloc;t.push(Oe);var at=k.options&&k.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(F){A.length=A.length-2*F,p.length=p.length-F,t.length=t.length-F}n(rt,"popStack");function We(){var F;return F=u.pop()||k.lex()||Xe,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=l.symbols_[F]||F),F}n(We,"lex");for(var y,w,_,Re,M={},Ae,L,qe,pe;;){if(w=A[A.length-1],this.defaultActions[w]?_=this.defaultActions[w]:((y===null||typeof y=="undefined")&&(y=We()),_=z[w]&&z[w][y]),typeof _=="undefined"||!_.length||!_[0]){var we="";pe=[];for(Ae in z[w])this.terminals_[Ae]&&Ae>ut&&pe.push("'"+this.terminals_[Ae]+"'");k.showPosition?we="Parse error on line "+(he+1)+`: `+k.showPosition()+` Expecting `+pe.join(", ")+", got '"+(this.terminals_[y]||y)+"'":we="Parse error on line "+(he+1)+": Unexpected "+(y==Xe?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(we,{text:k.match,token:this.terminals_[y]||y,line:k.yylineno,loc:Oe,expected:pe})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+y);switch(_[0]){case 1:A.push(y),p.push(k.yytext),t.push(k.yylloc),A.push(_[1]),y=null,Qe=k.yyleng,s=k.yytext,he=k.yylineno,Oe=k.yylloc;break;case 2:if(L=this.productions_[_[1]][1],M.$=p[p.length-L],M._$={first_line:t[t.length-(L||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(L||1)].first_column,last_column:t[t.length-1].last_column},at&&(M._$.range=[t[t.length-(L||1)].range[0],t[t.length-1].range[1]]),Re=this.performAction.apply(M,[s,Qe,he,R.yy,_[1],p,t].concat(nt)),typeof Re!="undefined")return Re;L&&(A=A.slice(0,-1*L*2),p=p.slice(0,-1*L),t=t.slice(0,-1*L)),A.push(this.productions_[_[1]][0]),p.push(M.$),t.push(M._$),qe=z[A[A.length-2]][A[A.length-1]],A.push(qe);break;case 3:return!0}}return!0},"parse")},it=function(){var O={EOF:1,parseError:n(function(l,A){if(this.yy.parser)this.yy.parser.parseError(l,A);else throw new Error(l)},"parseError"),setInput:n(function(a,l){return this.yy=l||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:n(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var l=a.match(/(?:\r\n?|\n).*/g);return l?(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:n(function(a){var l=a.length,A=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var u=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),A.length-1&&(this.yylineno-=A.length-1);var p=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:A?(A.length===u.length?this.yylloc.first_column:0)+u[u.length-A.length].length-A[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(a){this.unput(this.match.slice(a))},"less"),pastInput:n(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:n(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:n(function(){var a=this.pastInput(),l=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/chunk-DUMQOTYW-BjCuNlre.js b/pr-preview/pr-459/assets/chunk-DUMQOTYW-0xJyfB2B.js similarity index 82% rename from pr-preview/pr-459/assets/chunk-DUMQOTYW-BjCuNlre.js rename to pr-preview/pr-459/assets/chunk-DUMQOTYW-0xJyfB2B.js index bcab3933e..eff39faf4 100644 --- a/pr-preview/pr-459/assets/chunk-DUMQOTYW-BjCuNlre.js +++ b/pr-preview/pr-459/assets/chunk-DUMQOTYW-0xJyfB2B.js @@ -1 +1 @@ -import{_ as n,j as r,k as g,l as d}from"./Using existing ones-Dhq84SWT.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; +import{_ as n,j as r,k as g,l as d}from"./Using existing ones-B8pwVpRB.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; diff --git a/pr-preview/pr-459/assets/chunk-OQCM5LHU-_hEzITn5.js b/pr-preview/pr-459/assets/chunk-OQCM5LHU-7z38PKjx.js similarity index 78% rename from pr-preview/pr-459/assets/chunk-OQCM5LHU-_hEzITn5.js rename to pr-preview/pr-459/assets/chunk-OQCM5LHU-7z38PKjx.js index c49907aff..2551d575a 100644 --- a/pr-preview/pr-459/assets/chunk-OQCM5LHU-_hEzITn5.js +++ b/pr-preview/pr-459/assets/chunk-OQCM5LHU-7z38PKjx.js @@ -1 +1 @@ -import{_ as l}from"./Using existing ones-Dhq84SWT.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; +import{_ as l}from"./Using existing ones-B8pwVpRB.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; diff --git a/pr-preview/pr-459/assets/chunk-UGV5ZQQN-CZ-pcEfT.js b/pr-preview/pr-459/assets/chunk-UGV5ZQQN-DY7h4rD5.js similarity index 98% rename from pr-preview/pr-459/assets/chunk-UGV5ZQQN-CZ-pcEfT.js rename to pr-preview/pr-459/assets/chunk-UGV5ZQQN-DY7h4rD5.js index 46bf3e403..479b6c80d 100644 --- a/pr-preview/pr-459/assets/chunk-UGV5ZQQN-CZ-pcEfT.js +++ b/pr-preview/pr-459/assets/chunk-UGV5ZQQN-DY7h4rD5.js @@ -1,4 +1,4 @@ -import{a as y}from"./chunk-YWFND7JV-CGN8NYbJ.js";import{_ as f,d as g,A as W,D as C,j as H,l as m,ae as R,u as w,af as X,a2 as Y,a8 as U}from"./Using existing ones-Dhq84SWT.js";var O=f((r,t,a,h)=>{t.forEach(o=>{J[o](r,a,h)})},"insertMarkers"),Z=f((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"),A=f((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"),I=f((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"),N=f((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"),q=f((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"),Q=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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",12).attr("markerHeight",12).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"),z=f((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"),F=f((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"),G=f((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","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),J={extension:Z,composition:A,aggregation:I,dependency:N,lollipop:q,point:Q,circle:z,cross:F,barb:G},at=O,V=f((r,t,a,h,o)=>{t.arrowTypeStart&&E(r,"start",t.arrowTypeStart,a,h,o),t.arrowTypeEnd&&E(r,"end",t.arrowTypeEnd,a,h,o)},"addEdgeMarkers"),j={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},E=f((r,t,a,h,o,c)=>{const n=j[a];if(!n){m.warn(`Unknown arrow type: ${a}`);return}const e=t==="start"?"Start":"End";r.attr(`marker-${t}`,`url(${h}#${o}_${c}-${n}${e})`)},"addEdgeMarker"),v={},k={},rt=f(()=>{v={},k={}},"clear"),et=f((r,t)=>{const a=g(),h=W(a.flowchart.htmlLabels),o=t.labelType==="markdown"?C(r,t.label,{style:t.labelStyle,useHtmlLabels:h,addSvgBackground:!0},a):y(t.label,t.labelStyle),c=r.insert("g").attr("class","edgeLabel"),n=c.insert("g").attr("class","label");n.node().appendChild(o);let e=o.getBBox();if(h){const i=o.children[0],l=H(o);e=i.getBoundingClientRect(),l.attr("width",e.width),l.attr("height",e.height)}n.attr("transform","translate("+-e.width/2+", "+-e.height/2+")"),v[t.id]=c,t.width=e.width,t.height=e.height;let s;if(t.startLabelLeft){const i=y(t.startLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startLeft=l,u(s,t.startLabelLeft)}if(t.startLabelRight){const i=y(t.startLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=l.node().appendChild(i),d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startRight=l,u(s,t.startLabelRight)}if(t.endLabelLeft){const i=y(t.endLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endLeft=l,u(s,t.endLabelLeft)}if(t.endLabelRight){const i=y(t.endLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endRight=l,u(s,t.endLabelRight)}return o},"insertEdgeLabel");function u(r,t){g().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}f(u,"setTerminalWidth");var st=f((r,t)=>{m.debug("Moving label abc88 ",r.id,r.label,v[r.id],t);let a=t.updatedPath?t.updatedPath:t.originalPath;const h=g(),{subGraphTitleTotalMargin:o}=R(h);if(r.label){const c=v[r.id];let n=r.x,e=r.y;if(a){const s=w.calcLabelPosition(a);m.debug("Moving label "+r.label+" from (",n,",",e,") to (",s.x,",",s.y,") abc88"),t.updatedPath&&(n=s.x,e=s.y)}c.attr("transform",`translate(${n}, ${e+o/2})`)}if(r.startLabelLeft){const c=k[r.id].startLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.startLabelRight){const c=k[r.id].startRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelLeft){const c=k[r.id].endLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelRight){const c=k[r.id].endRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}},"positionEdgeLabel"),K=f((r,t)=>{const a=r.x,h=r.y,o=Math.abs(t.x-a),c=Math.abs(t.y-h),n=r.width/2,e=r.height/2;return o>=n||c>=e},"outsideNode"),D=f((r,t,a)=>{m.debug(`intersection calc abc89: +import{a as y}from"./chunk-YWFND7JV-DWdokYeW.js";import{_ as f,d as g,A as W,D as C,j as H,l as m,ae as R,u as w,af as X,a2 as Y,a8 as U}from"./Using existing ones-B8pwVpRB.js";var O=f((r,t,a,h)=>{t.forEach(o=>{J[o](r,a,h)})},"insertMarkers"),Z=f((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"),A=f((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"),I=f((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"),N=f((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"),q=f((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"),Q=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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",12).attr("markerHeight",12).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"),z=f((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"),F=f((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"),G=f((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","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),J={extension:Z,composition:A,aggregation:I,dependency:N,lollipop:q,point:Q,circle:z,cross:F,barb:G},at=O,V=f((r,t,a,h,o)=>{t.arrowTypeStart&&E(r,"start",t.arrowTypeStart,a,h,o),t.arrowTypeEnd&&E(r,"end",t.arrowTypeEnd,a,h,o)},"addEdgeMarkers"),j={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},E=f((r,t,a,h,o,c)=>{const n=j[a];if(!n){m.warn(`Unknown arrow type: ${a}`);return}const e=t==="start"?"Start":"End";r.attr(`marker-${t}`,`url(${h}#${o}_${c}-${n}${e})`)},"addEdgeMarker"),v={},k={},rt=f(()=>{v={},k={}},"clear"),et=f((r,t)=>{const a=g(),h=W(a.flowchart.htmlLabels),o=t.labelType==="markdown"?C(r,t.label,{style:t.labelStyle,useHtmlLabels:h,addSvgBackground:!0},a):y(t.label,t.labelStyle),c=r.insert("g").attr("class","edgeLabel"),n=c.insert("g").attr("class","label");n.node().appendChild(o);let e=o.getBBox();if(h){const i=o.children[0],l=H(o);e=i.getBoundingClientRect(),l.attr("width",e.width),l.attr("height",e.height)}n.attr("transform","translate("+-e.width/2+", "+-e.height/2+")"),v[t.id]=c,t.width=e.width,t.height=e.height;let s;if(t.startLabelLeft){const i=y(t.startLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startLeft=l,u(s,t.startLabelLeft)}if(t.startLabelRight){const i=y(t.startLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=l.node().appendChild(i),d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startRight=l,u(s,t.startLabelRight)}if(t.endLabelLeft){const i=y(t.endLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endLeft=l,u(s,t.endLabelLeft)}if(t.endLabelRight){const i=y(t.endLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endRight=l,u(s,t.endLabelRight)}return o},"insertEdgeLabel");function u(r,t){g().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}f(u,"setTerminalWidth");var st=f((r,t)=>{m.debug("Moving label abc88 ",r.id,r.label,v[r.id],t);let a=t.updatedPath?t.updatedPath:t.originalPath;const h=g(),{subGraphTitleTotalMargin:o}=R(h);if(r.label){const c=v[r.id];let n=r.x,e=r.y;if(a){const s=w.calcLabelPosition(a);m.debug("Moving label "+r.label+" from (",n,",",e,") to (",s.x,",",s.y,") abc88"),t.updatedPath&&(n=s.x,e=s.y)}c.attr("transform",`translate(${n}, ${e+o/2})`)}if(r.startLabelLeft){const c=k[r.id].startLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.startLabelRight){const c=k[r.id].startRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelLeft){const c=k[r.id].endLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelRight){const c=k[r.id].endRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}},"positionEdgeLabel"),K=f((r,t)=>{const a=r.x,h=r.y,o=Math.abs(t.x-a),c=Math.abs(t.y-h),n=r.width/2,e=r.height/2;return o>=n||c>=e},"outsideNode"),D=f((r,t,a)=>{m.debug(`intersection calc abc89: outsidePoint: ${JSON.stringify(t)} insidePoint : ${JSON.stringify(a)} node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);const h=r.x,o=r.y,c=Math.abs(h-a.x),n=r.width/2;let e=a.xMath.abs(h-t.x)*s){let d=a.y{m.debug("abc88 cutPathAtIntersect",r,t);let a=[],h=r[0],o=!1;return r.forEach(c=>{if(!K(t,c)&&!o){const n=D(t,h,c);let e=!1;a.forEach(s=>{e=e||s.x===n.x&&s.y===n.y}),a.some(s=>s.x===n.x&&s.y===n.y)||a.push(n),o=!0}else h=c,o||a.push(c)}),a},"cutPathAtIntersect"),nt=f(function(r,t,a,h,o,c,n){let e=a.points;m.debug("abc88 InsertEdge: edge=",a,"e=",t);let s=!1;const i=c.node(t.v);var l=c.node(t.w);l!=null&&l.intersect&&(i!=null&&i.intersect)&&(e=e.slice(1,a.points.length-1),e.unshift(i.intersect(e[0])),e.push(l.intersect(e[e.length-1]))),a.toCluster&&(m.debug("to cluster abc88",h[a.toCluster]),e=_(a.points,h[a.toCluster].node),s=!0),a.fromCluster&&(m.debug("from cluster abc88",h[a.fromCluster]),e=_(e.reverse(),h[a.fromCluster].node).reverse(),s=!0);const d=e.filter(T=>!Number.isNaN(T.y));let p=U;a.curve&&(o==="graph"||o==="flowchart")&&(p=a.curve);const{x,y:$}=X(a),S=Y().x(x).y($).curve(p);let b;switch(a.thickness){case"normal":b="edge-thickness-normal";break;case"thick":b="edge-thickness-thick";break;case"invisible":b="edge-thickness-thick";break;default:b=""}switch(a.pattern){case"solid":b+=" edge-pattern-solid";break;case"dotted":b+=" edge-pattern-dotted";break;case"dashed":b+=" edge-pattern-dashed";break}const B=r.append("path").attr("d",S(d)).attr("id",a.id).attr("class"," "+b+(a.classes?" "+a.classes:"")).attr("style",a.style);let L="";(g().flowchart.arrowMarkerAbsolute||g().state.arrowMarkerAbsolute)&&(L=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,L=L.replace(/\(/g,"\\("),L=L.replace(/\)/g,"\\)")),V(B,a,L,n,o);let M={};return s&&(M.updatedPath=e),M.originalPath=a.points,M},"insertEdge");export{nt as a,rt as c,et as i,at as m,st as p}; diff --git a/pr-preview/pr-459/assets/chunk-XVOYOM2C-B0PyF_8G.js b/pr-preview/pr-459/assets/chunk-XVOYOM2C-Ci0V97zV.js similarity index 95% rename from pr-preview/pr-459/assets/chunk-XVOYOM2C-B0PyF_8G.js rename to pr-preview/pr-459/assets/chunk-XVOYOM2C-Ci0V97zV.js index d48b05b8b..e25635082 100644 --- a/pr-preview/pr-459/assets/chunk-XVOYOM2C-B0PyF_8G.js +++ b/pr-preview/pr-459/assets/chunk-XVOYOM2C-Ci0V97zV.js @@ -1 +1 @@ -import{_ as n,n as c,m as l}from"./Using existing ones-Dhq84SWT.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; +import{_ as n,n as c,m as l}from"./Using existing ones-B8pwVpRB.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; diff --git a/pr-preview/pr-459/assets/chunk-YWFND7JV-CGN8NYbJ.js b/pr-preview/pr-459/assets/chunk-YWFND7JV-DWdokYeW.js similarity index 99% rename from pr-preview/pr-459/assets/chunk-YWFND7JV-CGN8NYbJ.js rename to pr-preview/pr-459/assets/chunk-YWFND7JV-DWdokYeW.js index 29d7a2c56..c4f554155 100644 --- a/pr-preview/pr-459/assets/chunk-YWFND7JV-CGN8NYbJ.js +++ b/pr-preview/pr-459/assets/chunk-YWFND7JV-DWdokYeW.js @@ -1 +1 @@ -var m=(l,t,c)=>new Promise((e,s)=>{var r=n=>{try{i(c.next(n))}catch(o){s(o)}},a=n=>{try{i(c.throw(n))}catch(o){s(o)}},i=n=>n.done?e(n.value):Promise.resolve(n.value).then(r,a);i((c=c.apply(l,t)).next())});import{_ as y,j as k,l as _,d as D,A as P,B as lt,C as K,D as nt,i as V}from"./Using existing ones-Dhq84SWT.js";function U(l,t){t&&l.attr("style",t)}y(U,"applyStyle");function tt(l){const t=k(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),c=t.append("xhtml:div"),e=l.label,s=l.isNode?"nodeLabel":"edgeLabel",r=c.append("span");return r.html(e),U(r,l.labelStyle),r.attr("class",s),U(c,l.labelStyle),c.style("display","inline-block"),c.style("white-space","nowrap"),c.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}y(tt,"addHtmlLabel");var ht=y((l,t,c,e)=>{let s=l||"";if(typeof s=="object"&&(s=s[0]),P(D().flowchart.htmlLabels)){s=s.replace(/\\n|\n/g,"
"),_.debug("vertexText"+s);const r={isNode:e,label:lt(K(s)),labelStyle:t.replace("fill:","color:")};return tt(r)}else{const r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("style",t.replace("color:","fill:"));let a=[];typeof s=="string"?a=s.split(/\\n|\n|/gi):Array.isArray(s)?a=s:a=[];for(const i of a){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),c?n.setAttribute("class","title-row"):n.setAttribute("class","row"),n.textContent=i.trim(),r.appendChild(n)}return r}},"createLabel"),H=ht,B=y((l,t,c,e)=>m(void 0,null,function*(){const s=D();let r;const a=t.useHtmlLabels||P(s.flowchart.htmlLabels);c?r=c:r="node default";const i=l.insert("g").attr("class",r).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let o;t.labelText===void 0?o="":o=typeof t.labelText=="string"?t.labelText:t.labelText[0];const h=n.node();let x;t.labelType==="markdown"?x=nt(n,V(K(o),s),{useHtmlLabels:a,width:t.width||s.flowchart.wrappingWidth,classes:"markdown-node-label"},s):x=h.appendChild(H(V(K(o),s),t.labelStyle,!1,e));let f=x.getBBox();const g=t.padding/2;if(P(s.flowchart.htmlLabels)){const d=x.children[0],S=k(x),p=d.getElementsByTagName("img");if(p){const T=o.replace(/]*>/g,"").trim()==="";yield Promise.all([...p].map(L=>new Promise(A=>{function C(){if(L.style.display="flex",L.style.flexDirection="column",T){const R=s.fontSize?s.fontSize:window.getComputedStyle(document.body).fontSize,O=parseInt(R,10)*5+"px";L.style.minWidth=O,L.style.maxWidth=O}else L.style.width="100%";A(L)}y(C,"setupImage"),setTimeout(()=>{L.complete&&C()}),L.addEventListener("error",C),L.addEventListener("load",C)})))}f=d.getBoundingClientRect(),S.attr("width",f.width),S.attr("height",f.height)}return a?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:g,label:n}}),"labelHelper"),w=y((l,t)=>{const c=t.node().getBBox();l.width=c.width,l.height=c.height},"updateNodeBounds");function M(l,t,c,e){return l.insert("polygon",":first-child").attr("points",e.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+c/2+")")}y(M,"insertPolygonShape");var ot=y(l=>{const t=new Set;for(const c of l)switch(c){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(c);break}return t},"expandAndDeduplicateDirections"),yt=y((l,t,c)=>{const e=ot(l),s=2,r=t.height+2*c.padding,a=r/s,i=t.width+2*a+c.padding,n=c.padding/2;return e.has("right")&&e.has("left")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:a,y:0},{x:i/2,y:2*n},{x:i-a,y:0},{x:i,y:0},{x:i,y:-r/3},{x:i+2*n,y:-r/2},{x:i,y:-2*r/3},{x:i,y:-r},{x:i-a,y:-r},{x:i/2,y:-r-2*n},{x:a,y:-r},{x:0,y:-r},{x:0,y:-2*r/3},{x:-2*n,y:-r/2},{x:0,y:-r/3}]:e.has("right")&&e.has("left")&&e.has("up")?[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}]:e.has("right")&&e.has("left")&&e.has("down")?[{x:0,y:0},{x:a,y:-r},{x:i-a,y:-r},{x:i,y:0}]:e.has("right")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:i,y:-a},{x:i,y:-r+a},{x:0,y:-r}]:e.has("left")&&e.has("up")&&e.has("down")?[{x:i,y:0},{x:0,y:-a},{x:0,y:-r+a},{x:i,y:-r}]:e.has("right")&&e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")&&e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:e.has("right")&&e.has("up")?[{x:0,y:0},{x:i,y:-a},{x:0,y:-r}]:e.has("right")&&e.has("down")?[{x:0,y:0},{x:i,y:0},{x:0,y:-r}]:e.has("left")&&e.has("up")?[{x:i,y:0},{x:0,y:-a},{x:i,y:-r}]:e.has("left")&&e.has("down")?[{x:i,y:0},{x:0,y:0},{x:i,y:-r}]:e.has("right")?[{x:a,y:-n},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r+n}]:e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")?[{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n}]:e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:[{x:0,y:0}]},"getArrowPoints");function rt(l,t){return l.intersect(t)}y(rt,"intersectNode");var xt=rt;function at(l,t,c,e){var s=l.x,r=l.y,a=s-e.x,i=r-e.y,n=Math.sqrt(t*t*i*i+c*c*a*a),o=Math.abs(t*c*a/n);e.x0}y(Y,"sameSign");var ft=it,dt=ct;function ct(l,t,c){var e=l.x,s=l.y,r=[],a=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){a=Math.min(a,d.x),i=Math.min(i,d.y)}):(a=Math.min(a,t.x),i=Math.min(i,t.y));for(var n=e-l.width/2-a,o=s-l.height/2-i,h=0;h1&&r.sort(function(d,S){var p=d.x-c.x,T=d.y-c.y,L=Math.sqrt(p*p+T*T),A=S.x-c.x,C=S.y-c.y,R=Math.sqrt(A*A+C*C);return L{var c=l.x,e=l.y,s=t.x-c,r=t.y-e,a=l.width/2,i=l.height/2,n,o;return Math.abs(r)*a>Math.abs(s)*i?(r<0&&(i=-i),n=r===0?0:i*s/r,o=i):(s<0&&(a=-a),n=a,o=s===0?0:a*r/s),{x:c+n,y:e+o}},"intersectRect"),ut=pt,u={node:xt,circle:gt,ellipse:et,polygon:dt,rect:ut},wt=y((l,t)=>m(void 0,null,function*(){t.useHtmlLabels||D().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:e,bbox:s,halfPadding:r}=yield B(l,t,"node "+t.classes,!0);_.info("Classes = ",t.classes);const a=e.insert("rect",":first-child");return a.attr("rx",t.rx).attr("ry",t.ry).attr("x",-s.width/2-r).attr("y",-s.height/2-r).attr("width",s.width+t.padding).attr("height",s.height+t.padding),w(t,a),t.intersect=function(i){return u.rect(t,i)},e}),"note"),bt=wt,G=y(l=>l?" "+l:"","formatClass"),E=y((l,t)=>`${t||"node default"}${G(l.classes)} ${G(l.class)}`,"getClassesFromNode"),Q=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=s+r,i=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];_.info("Question main (Circle)");const n=M(c,a,a,i);return n.attr("style",t.style),w(t,n),t.intersect=function(o){return _.warn("Intersect called"),u.polygon(t,i,o)},c}),"question"),vt=y((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=28,s=[{x:0,y:e/2},{x:e/2,y:0},{x:0,y:-e/2},{x:-e/2,y:0}];return c.insert("polygon",":first-child").attr("points",s.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(a){return u.circle(t,14,a)},c},"choice"),mt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=4,r=e.height+t.padding,a=r/s,i=e.width+2*a+t.padding,n=[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}],o=M(c,i,r,n);return o.attr("style",t.style),w(t,o),t.intersect=function(h){return u.polygon(t,n,h)},c}),"hexagon"),St=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,void 0,!0),s=2,r=e.height+2*t.padding,a=r/s,i=e.width+2*a+t.padding,n=yt(t.directions,e,t),o=M(c,i,r,n);return o.attr("style",t.style),w(t,o),t.intersect=function(h){return u.polygon(t,n,h)},c}),"block_arrow"),Lt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-r/2,y:0},{x:s,y:0},{x:s,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}];return M(c,s,r,a).attr("style",t.style),t.width=s+r,t.height=r,t.intersect=function(n){return u.polygon(t,a,n)},c}),"rect_left_inv_arrow"),_t=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"lean_right"),Bt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:2*r/6,y:0},{x:s+r/6,y:0},{x:s-2*r/6,y:-r},{x:-r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"lean_left"),Ct=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s+2*r/6,y:0},{x:s-r/6,y:-r},{x:r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"trapezoid"),Tt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:-2*r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"inv_trapezoid"),kt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s+r/2,y:0},{x:s,y:-r/2},{x:s+r/2,y:-r},{x:0,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"rect_right_inv_arrow"),Nt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=s/2,a=r/(2.5+s/50),i=e.height+a+t.padding,n="M 0,"+a+" a "+r+","+a+" 0,0,0 "+s+" 0 a "+r+","+a+" 0,0,0 "+-s+" 0 l 0,"+i+" a "+r+","+a+" 0,0,0 "+s+" 0 l 0,"+-i,o=c.attr("label-offset-y",a).insert("path",":first-child").attr("style",t.style).attr("d",n).attr("transform","translate("+-s/2+","+-(i/2+a)+")");return w(t,o),t.intersect=function(h){const x=u.rect(t,h),f=x.x-t.x;if(r!=0&&(Math.abs(f)t.height/2-a)){let g=a*a*(1-f*f/(r*r));g!=0&&(g=Math.sqrt(g)),g=a-g,h.y-t.y>0&&(g=-g),x.y+=g}return x},c}),"cylinder"),It=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,"node "+t.classes+" "+t.class,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,o=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",o).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(W(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{_.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c}),"rect"),Dt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,"node "+t.classes,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,o=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",o).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(W(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{_.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c}),"composite"),Et=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c}=yield B(l,t,"label",!0);_.trace("Classes = ",t.class);const e=c.insert("rect",":first-child"),s=0,r=0;if(e.attr("width",s).attr("height",r),c.attr("class","label edgeLabel"),t.props){const a=new Set(Object.keys(t.props));t.props.borders&&(W(e,t.props.borders,s,r),a.delete("borders")),a.forEach(i=>{_.warn(`Unknown node property ${i}`)})}return w(t,e),t.intersect=function(a){return u.rect(t,a)},c}),"labelRect");function W(l,t,c,e){const s=[],r=y(i=>{s.push(i,0)},"addBorder"),a=y(i=>{s.push(0,i)},"skipBorder");t.includes("t")?(_.debug("add top border"),r(c)):a(c),t.includes("r")?(_.debug("add right border"),r(e)):a(e),t.includes("b")?(_.debug("add bottom border"),r(c)):a(c),t.includes("l")?(_.debug("add left border"),r(e)):a(e),l.attr("stroke-dasharray",s.join(" "))}y(W,"applyNodePropertyBorders");var Mt=y((l,t)=>{let c;t.classes?c="node "+t.classes:c="node default";const e=l.insert("g").attr("class",c).attr("id",t.domId||t.id),s=e.insert("rect",":first-child"),r=e.insert("line"),a=e.insert("g").attr("class","label"),i=t.labelText.flat?t.labelText.flat():t.labelText;let n="";typeof i=="object"?n=i[0]:n=i,_.info("Label text abc79",n,i,typeof i=="object");const o=a.node().appendChild(H(n,t.labelStyle,!0,!0));let h={width:0,height:0};if(P(D().flowchart.htmlLabels)){const S=o.children[0],p=k(o);h=S.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}_.info("Text 2",i);const x=i.slice(1,i.length);let f=o.getBBox();const g=a.node().appendChild(H(x.join?x.join("
"):x,t.labelStyle,!0,!0));if(P(D().flowchart.htmlLabels)){const S=g.children[0],p=k(g);h=S.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}const d=t.padding/2;return k(g).attr("transform","translate( "+(h.width>f.width?0:(f.width-h.width)/2)+", "+(f.height+d+5)+")"),k(o).attr("transform","translate( "+(h.widthm(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.height+t.padding,r=e.width+s/4+t.padding,a=c.insert("rect",":first-child").attr("style",t.style).attr("rx",s/2).attr("ry",s/2).attr("x",-r/2).attr("y",-s/2).attr("width",r).attr("height",s);return w(t,a),t.intersect=function(i){return u.rect(t,i)},c}),"stadium"),jt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,E(t,void 0),!0),r=c.insert("circle",":first-child");return r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),_.info("Circle main"),w(t,r),t.intersect=function(a){return _.info("Circle intersect",t,e.width/2+s,a),u.circle(t,e.width/2+s,a)},c}),"circle"),Pt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,E(t,void 0),!0),r=5,a=c.insert("g",":first-child"),i=a.insert("circle"),n=a.insert("circle");return a.attr("class",t.class),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s+r).attr("width",e.width+t.padding+r*2).attr("height",e.height+t.padding+r*2),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),_.info("DoubleCircle main"),w(t,i),t.intersect=function(o){return _.info("DoubleCircle intersect",t,e.width/2+s+r,o),u.circle(t,e.width/2+s+r,o)},c}),"doublecircle"),Rt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s,y:0},{x:s,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:s+8,y:0},{x:s+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"subroutine"),Ht=y((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child");return e.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),w(t,e),t.intersect=function(s){return u.circle(t,7,s)},c},"start"),q=y((l,t,c)=>{const e=l.insert("g").attr("class","node default").attr("id",t.domId||t.id);let s=70,r=10;c==="LR"&&(s=10,r=70);const a=e.append("rect").attr("x",-1*s/2).attr("y",-1*r/2).attr("width",s).attr("height",r).attr("class","fork-join");return w(t,a),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(i){return u.rect(t,i)},e},"forkJoin"),zt=y((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child"),s=c.insert("circle",":first-child");return s.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),e.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),w(t,s),t.intersect=function(r){return u.circle(t,7,r)},c},"end"),Ft=y((l,t)=>{var J;const c=t.padding/2,e=4,s=8;let r;t.classes?r="node "+t.classes:r="node default";const a=l.insert("g").attr("class",r).attr("id",t.domId||t.id),i=a.insert("rect",":first-child"),n=a.insert("line"),o=a.insert("line");let h=0,x=e;const f=a.insert("g").attr("class","label");let g=0;const d=(J=t.classData.annotations)==null?void 0:J[0],S=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",p=f.node().appendChild(H(S,t.labelStyle,!0,!0));let T=p.getBBox();if(P(D().flowchart.htmlLabels)){const b=p.children[0],v=k(p);T=b.getBoundingClientRect(),v.attr("width",T.width),v.attr("height",T.height)}t.classData.annotations[0]&&(x+=T.height+e,h+=T.width);let L=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(D().flowchart.htmlLabels?L+="<"+t.classData.type+">":L+="<"+t.classData.type+">");const A=f.node().appendChild(H(L,t.labelStyle,!0,!0));k(A).attr("class","classTitle");let C=A.getBBox();if(P(D().flowchart.htmlLabels)){const b=A.children[0],v=k(A);C=b.getBoundingClientRect(),v.attr("width",C.width),v.attr("height",C.height)}x+=C.height+e,C.width>h&&(h=C.width);const R=[];t.classData.members.forEach(b=>{const v=b.getDisplayDetails();let N=v.displayText;D().flowchart.htmlLabels&&(N=N.replace(//g,">"));const j=f.node().appendChild(H(N,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let I=j.getBBox();if(P(D().flowchart.htmlLabels)){const X=j.children[0],F=k(j);I=X.getBoundingClientRect(),F.attr("width",I.width),F.attr("height",I.height)}I.width>h&&(h=I.width),x+=I.height+e,R.push(j)}),x+=s;const $=[];if(t.classData.methods.forEach(b=>{const v=b.getDisplayDetails();let N=v.displayText;D().flowchart.htmlLabels&&(N=N.replace(//g,">"));const j=f.node().appendChild(H(N,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let I=j.getBBox();if(P(D().flowchart.htmlLabels)){const X=j.children[0],F=k(j);I=X.getBoundingClientRect(),F.attr("width",I.width),F.attr("height",I.height)}I.width>h&&(h=I.width),x+=I.height+e,$.push(j)}),x+=s,d){let b=(h-T.width)/2;k(p).attr("transform","translate( "+(-1*h/2+b)+", "+-1*x/2+")"),g=T.height+e}let O=(h-C.width)/2;return k(A).attr("transform","translate( "+(-1*h/2+O)+", "+(-1*x/2+g)+")"),g+=C.height+e,n.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,R.forEach(b=>{var N;k(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g+s/2)+")");const v=b==null?void 0:b.getBBox();g+=((N=v==null?void 0:v.height)!=null?N:0)+e}),g+=s,o.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,$.forEach(b=>{var N;k(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g)+")");const v=b==null?void 0:b.getBBox();g+=((N=v==null?void 0:v.height)!=null?N:0)+e}),i.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-c).attr("y",-(x/2)-c).attr("width",h+t.padding).attr("height",x+t.padding),w(t,i),t.intersect=function(b){return u.rect(t,b)},a},"class_box"),Z={rhombus:Q,composite:Dt,question:Q,rect:It,labelRect:Et,rectWithTitle:Mt,choice:vt,circle:jt,doublecircle:Pt,stadium:At,hexagon:mt,block_arrow:St,rect_left_inv_arrow:Lt,lean_right:_t,lean_left:Bt,trapezoid:Ct,inv_trapezoid:Tt,rect_right_inv_arrow:kt,cylinder:Nt,start:Ht,end:zt,note:bt,subroutine:Rt,fork:q,join:q,class_box:Ft},z={},$t=y((l,t,c)=>m(void 0,null,function*(){let e,s;if(t.link){let r;D().securityLevel==="sandbox"?r="_top":t.linkTarget&&(r=t.linkTarget||"_blank"),e=l.insert("svg:a").attr("xlink:href",t.link).attr("target",r),s=yield Z[t.shape](e,t,c)}else s=yield Z[t.shape](l,t,c),e=s;return t.tooltip&&s.attr("title",t.tooltip),t.class&&s.attr("class","node default "+t.class),z[t.id]=e,t.haveCallback&&z[t.id].attr("class",z[t.id].attr("class")+" clickable"),e}),"insertNode"),Xt=y((l,t)=>{z[t.id]=l},"setNodeElem"),Kt=y(()=>{z={}},"clear"),Ut=y(l=>{const t=z[l.id];_.trace("Transforming node",l.diff,l,"translate("+(l.x-l.width/2-5)+", "+l.width/2+")");const c=8,e=l.diff||0;return l.clusterNode?t.attr("transform","translate("+(l.x+e-l.width/2)+", "+(l.y-l.height/2-c)+")"):t.attr("transform","translate("+l.x+", "+l.y+")"),e},"positionNode");export{H as a,ut as b,Kt as c,$t as i,Ut as p,Xt as s,w as u}; +var m=(l,t,c)=>new Promise((e,s)=>{var r=n=>{try{i(c.next(n))}catch(o){s(o)}},a=n=>{try{i(c.throw(n))}catch(o){s(o)}},i=n=>n.done?e(n.value):Promise.resolve(n.value).then(r,a);i((c=c.apply(l,t)).next())});import{_ as y,j as k,l as _,d as D,A as P,B as lt,C as K,D as nt,i as V}from"./Using existing ones-B8pwVpRB.js";function U(l,t){t&&l.attr("style",t)}y(U,"applyStyle");function tt(l){const t=k(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),c=t.append("xhtml:div"),e=l.label,s=l.isNode?"nodeLabel":"edgeLabel",r=c.append("span");return r.html(e),U(r,l.labelStyle),r.attr("class",s),U(c,l.labelStyle),c.style("display","inline-block"),c.style("white-space","nowrap"),c.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}y(tt,"addHtmlLabel");var ht=y((l,t,c,e)=>{let s=l||"";if(typeof s=="object"&&(s=s[0]),P(D().flowchart.htmlLabels)){s=s.replace(/\\n|\n/g,"
"),_.debug("vertexText"+s);const r={isNode:e,label:lt(K(s)),labelStyle:t.replace("fill:","color:")};return tt(r)}else{const r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("style",t.replace("color:","fill:"));let a=[];typeof s=="string"?a=s.split(/\\n|\n|/gi):Array.isArray(s)?a=s:a=[];for(const i of a){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),c?n.setAttribute("class","title-row"):n.setAttribute("class","row"),n.textContent=i.trim(),r.appendChild(n)}return r}},"createLabel"),H=ht,B=y((l,t,c,e)=>m(void 0,null,function*(){const s=D();let r;const a=t.useHtmlLabels||P(s.flowchart.htmlLabels);c?r=c:r="node default";const i=l.insert("g").attr("class",r).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let o;t.labelText===void 0?o="":o=typeof t.labelText=="string"?t.labelText:t.labelText[0];const h=n.node();let x;t.labelType==="markdown"?x=nt(n,V(K(o),s),{useHtmlLabels:a,width:t.width||s.flowchart.wrappingWidth,classes:"markdown-node-label"},s):x=h.appendChild(H(V(K(o),s),t.labelStyle,!1,e));let f=x.getBBox();const g=t.padding/2;if(P(s.flowchart.htmlLabels)){const d=x.children[0],S=k(x),p=d.getElementsByTagName("img");if(p){const T=o.replace(/]*>/g,"").trim()==="";yield Promise.all([...p].map(L=>new Promise(A=>{function C(){if(L.style.display="flex",L.style.flexDirection="column",T){const R=s.fontSize?s.fontSize:window.getComputedStyle(document.body).fontSize,O=parseInt(R,10)*5+"px";L.style.minWidth=O,L.style.maxWidth=O}else L.style.width="100%";A(L)}y(C,"setupImage"),setTimeout(()=>{L.complete&&C()}),L.addEventListener("error",C),L.addEventListener("load",C)})))}f=d.getBoundingClientRect(),S.attr("width",f.width),S.attr("height",f.height)}return a?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:g,label:n}}),"labelHelper"),w=y((l,t)=>{const c=t.node().getBBox();l.width=c.width,l.height=c.height},"updateNodeBounds");function M(l,t,c,e){return l.insert("polygon",":first-child").attr("points",e.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+c/2+")")}y(M,"insertPolygonShape");var ot=y(l=>{const t=new Set;for(const c of l)switch(c){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(c);break}return t},"expandAndDeduplicateDirections"),yt=y((l,t,c)=>{const e=ot(l),s=2,r=t.height+2*c.padding,a=r/s,i=t.width+2*a+c.padding,n=c.padding/2;return e.has("right")&&e.has("left")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:a,y:0},{x:i/2,y:2*n},{x:i-a,y:0},{x:i,y:0},{x:i,y:-r/3},{x:i+2*n,y:-r/2},{x:i,y:-2*r/3},{x:i,y:-r},{x:i-a,y:-r},{x:i/2,y:-r-2*n},{x:a,y:-r},{x:0,y:-r},{x:0,y:-2*r/3},{x:-2*n,y:-r/2},{x:0,y:-r/3}]:e.has("right")&&e.has("left")&&e.has("up")?[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}]:e.has("right")&&e.has("left")&&e.has("down")?[{x:0,y:0},{x:a,y:-r},{x:i-a,y:-r},{x:i,y:0}]:e.has("right")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:i,y:-a},{x:i,y:-r+a},{x:0,y:-r}]:e.has("left")&&e.has("up")&&e.has("down")?[{x:i,y:0},{x:0,y:-a},{x:0,y:-r+a},{x:i,y:-r}]:e.has("right")&&e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")&&e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:e.has("right")&&e.has("up")?[{x:0,y:0},{x:i,y:-a},{x:0,y:-r}]:e.has("right")&&e.has("down")?[{x:0,y:0},{x:i,y:0},{x:0,y:-r}]:e.has("left")&&e.has("up")?[{x:i,y:0},{x:0,y:-a},{x:i,y:-r}]:e.has("left")&&e.has("down")?[{x:i,y:0},{x:0,y:0},{x:i,y:-r}]:e.has("right")?[{x:a,y:-n},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r+n}]:e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")?[{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n}]:e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:[{x:0,y:0}]},"getArrowPoints");function rt(l,t){return l.intersect(t)}y(rt,"intersectNode");var xt=rt;function at(l,t,c,e){var s=l.x,r=l.y,a=s-e.x,i=r-e.y,n=Math.sqrt(t*t*i*i+c*c*a*a),o=Math.abs(t*c*a/n);e.x0}y(Y,"sameSign");var ft=it,dt=ct;function ct(l,t,c){var e=l.x,s=l.y,r=[],a=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){a=Math.min(a,d.x),i=Math.min(i,d.y)}):(a=Math.min(a,t.x),i=Math.min(i,t.y));for(var n=e-l.width/2-a,o=s-l.height/2-i,h=0;h1&&r.sort(function(d,S){var p=d.x-c.x,T=d.y-c.y,L=Math.sqrt(p*p+T*T),A=S.x-c.x,C=S.y-c.y,R=Math.sqrt(A*A+C*C);return L{var c=l.x,e=l.y,s=t.x-c,r=t.y-e,a=l.width/2,i=l.height/2,n,o;return Math.abs(r)*a>Math.abs(s)*i?(r<0&&(i=-i),n=r===0?0:i*s/r,o=i):(s<0&&(a=-a),n=a,o=s===0?0:a*r/s),{x:c+n,y:e+o}},"intersectRect"),ut=pt,u={node:xt,circle:gt,ellipse:et,polygon:dt,rect:ut},wt=y((l,t)=>m(void 0,null,function*(){t.useHtmlLabels||D().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:e,bbox:s,halfPadding:r}=yield B(l,t,"node "+t.classes,!0);_.info("Classes = ",t.classes);const a=e.insert("rect",":first-child");return a.attr("rx",t.rx).attr("ry",t.ry).attr("x",-s.width/2-r).attr("y",-s.height/2-r).attr("width",s.width+t.padding).attr("height",s.height+t.padding),w(t,a),t.intersect=function(i){return u.rect(t,i)},e}),"note"),bt=wt,G=y(l=>l?" "+l:"","formatClass"),E=y((l,t)=>`${t||"node default"}${G(l.classes)} ${G(l.class)}`,"getClassesFromNode"),Q=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=s+r,i=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];_.info("Question main (Circle)");const n=M(c,a,a,i);return n.attr("style",t.style),w(t,n),t.intersect=function(o){return _.warn("Intersect called"),u.polygon(t,i,o)},c}),"question"),vt=y((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=28,s=[{x:0,y:e/2},{x:e/2,y:0},{x:0,y:-e/2},{x:-e/2,y:0}];return c.insert("polygon",":first-child").attr("points",s.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(a){return u.circle(t,14,a)},c},"choice"),mt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=4,r=e.height+t.padding,a=r/s,i=e.width+2*a+t.padding,n=[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}],o=M(c,i,r,n);return o.attr("style",t.style),w(t,o),t.intersect=function(h){return u.polygon(t,n,h)},c}),"hexagon"),St=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,void 0,!0),s=2,r=e.height+2*t.padding,a=r/s,i=e.width+2*a+t.padding,n=yt(t.directions,e,t),o=M(c,i,r,n);return o.attr("style",t.style),w(t,o),t.intersect=function(h){return u.polygon(t,n,h)},c}),"block_arrow"),Lt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-r/2,y:0},{x:s,y:0},{x:s,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}];return M(c,s,r,a).attr("style",t.style),t.width=s+r,t.height=r,t.intersect=function(n){return u.polygon(t,a,n)},c}),"rect_left_inv_arrow"),_t=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"lean_right"),Bt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:2*r/6,y:0},{x:s+r/6,y:0},{x:s-2*r/6,y:-r},{x:-r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"lean_left"),Ct=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s+2*r/6,y:0},{x:s-r/6,y:-r},{x:r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"trapezoid"),Tt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:-2*r/6,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"inv_trapezoid"),kt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s+r/2,y:0},{x:s,y:-r/2},{x:s+r/2,y:-r},{x:0,y:-r}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"rect_right_inv_arrow"),Nt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=s/2,a=r/(2.5+s/50),i=e.height+a+t.padding,n="M 0,"+a+" a "+r+","+a+" 0,0,0 "+s+" 0 a "+r+","+a+" 0,0,0 "+-s+" 0 l 0,"+i+" a "+r+","+a+" 0,0,0 "+s+" 0 l 0,"+-i,o=c.attr("label-offset-y",a).insert("path",":first-child").attr("style",t.style).attr("d",n).attr("transform","translate("+-s/2+","+-(i/2+a)+")");return w(t,o),t.intersect=function(h){const x=u.rect(t,h),f=x.x-t.x;if(r!=0&&(Math.abs(f)t.height/2-a)){let g=a*a*(1-f*f/(r*r));g!=0&&(g=Math.sqrt(g)),g=a-g,h.y-t.y>0&&(g=-g),x.y+=g}return x},c}),"cylinder"),It=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,"node "+t.classes+" "+t.class,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,o=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",o).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(W(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{_.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c}),"rect"),Dt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,"node "+t.classes,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,o=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",o).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(W(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{_.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c}),"composite"),Et=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c}=yield B(l,t,"label",!0);_.trace("Classes = ",t.class);const e=c.insert("rect",":first-child"),s=0,r=0;if(e.attr("width",s).attr("height",r),c.attr("class","label edgeLabel"),t.props){const a=new Set(Object.keys(t.props));t.props.borders&&(W(e,t.props.borders,s,r),a.delete("borders")),a.forEach(i=>{_.warn(`Unknown node property ${i}`)})}return w(t,e),t.intersect=function(a){return u.rect(t,a)},c}),"labelRect");function W(l,t,c,e){const s=[],r=y(i=>{s.push(i,0)},"addBorder"),a=y(i=>{s.push(0,i)},"skipBorder");t.includes("t")?(_.debug("add top border"),r(c)):a(c),t.includes("r")?(_.debug("add right border"),r(e)):a(e),t.includes("b")?(_.debug("add bottom border"),r(c)):a(c),t.includes("l")?(_.debug("add left border"),r(e)):a(e),l.attr("stroke-dasharray",s.join(" "))}y(W,"applyNodePropertyBorders");var Mt=y((l,t)=>{let c;t.classes?c="node "+t.classes:c="node default";const e=l.insert("g").attr("class",c).attr("id",t.domId||t.id),s=e.insert("rect",":first-child"),r=e.insert("line"),a=e.insert("g").attr("class","label"),i=t.labelText.flat?t.labelText.flat():t.labelText;let n="";typeof i=="object"?n=i[0]:n=i,_.info("Label text abc79",n,i,typeof i=="object");const o=a.node().appendChild(H(n,t.labelStyle,!0,!0));let h={width:0,height:0};if(P(D().flowchart.htmlLabels)){const S=o.children[0],p=k(o);h=S.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}_.info("Text 2",i);const x=i.slice(1,i.length);let f=o.getBBox();const g=a.node().appendChild(H(x.join?x.join("
"):x,t.labelStyle,!0,!0));if(P(D().flowchart.htmlLabels)){const S=g.children[0],p=k(g);h=S.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}const d=t.padding/2;return k(g).attr("transform","translate( "+(h.width>f.width?0:(f.width-h.width)/2)+", "+(f.height+d+5)+")"),k(o).attr("transform","translate( "+(h.widthm(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.height+t.padding,r=e.width+s/4+t.padding,a=c.insert("rect",":first-child").attr("style",t.style).attr("rx",s/2).attr("ry",s/2).attr("x",-r/2).attr("y",-s/2).attr("width",r).attr("height",s);return w(t,a),t.intersect=function(i){return u.rect(t,i)},c}),"stadium"),jt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,E(t,void 0),!0),r=c.insert("circle",":first-child");return r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),_.info("Circle main"),w(t,r),t.intersect=function(a){return _.info("Circle intersect",t,e.width/2+s,a),u.circle(t,e.width/2+s,a)},c}),"circle"),Pt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e,halfPadding:s}=yield B(l,t,E(t,void 0),!0),r=5,a=c.insert("g",":first-child"),i=a.insert("circle"),n=a.insert("circle");return a.attr("class",t.class),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s+r).attr("width",e.width+t.padding+r*2).attr("height",e.height+t.padding+r*2),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),_.info("DoubleCircle main"),w(t,i),t.intersect=function(o){return _.info("DoubleCircle intersect",t,e.width/2+s+r,o),u.circle(t,e.width/2+s+r,o)},c}),"doublecircle"),Rt=y((l,t)=>m(void 0,null,function*(){const{shapeSvg:c,bbox:e}=yield B(l,t,E(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s,y:0},{x:s,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:s+8,y:0},{x:s+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],i=M(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c}),"subroutine"),Ht=y((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child");return e.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),w(t,e),t.intersect=function(s){return u.circle(t,7,s)},c},"start"),q=y((l,t,c)=>{const e=l.insert("g").attr("class","node default").attr("id",t.domId||t.id);let s=70,r=10;c==="LR"&&(s=10,r=70);const a=e.append("rect").attr("x",-1*s/2).attr("y",-1*r/2).attr("width",s).attr("height",r).attr("class","fork-join");return w(t,a),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(i){return u.rect(t,i)},e},"forkJoin"),zt=y((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child"),s=c.insert("circle",":first-child");return s.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),e.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),w(t,s),t.intersect=function(r){return u.circle(t,7,r)},c},"end"),Ft=y((l,t)=>{var J;const c=t.padding/2,e=4,s=8;let r;t.classes?r="node "+t.classes:r="node default";const a=l.insert("g").attr("class",r).attr("id",t.domId||t.id),i=a.insert("rect",":first-child"),n=a.insert("line"),o=a.insert("line");let h=0,x=e;const f=a.insert("g").attr("class","label");let g=0;const d=(J=t.classData.annotations)==null?void 0:J[0],S=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",p=f.node().appendChild(H(S,t.labelStyle,!0,!0));let T=p.getBBox();if(P(D().flowchart.htmlLabels)){const b=p.children[0],v=k(p);T=b.getBoundingClientRect(),v.attr("width",T.width),v.attr("height",T.height)}t.classData.annotations[0]&&(x+=T.height+e,h+=T.width);let L=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(D().flowchart.htmlLabels?L+="<"+t.classData.type+">":L+="<"+t.classData.type+">");const A=f.node().appendChild(H(L,t.labelStyle,!0,!0));k(A).attr("class","classTitle");let C=A.getBBox();if(P(D().flowchart.htmlLabels)){const b=A.children[0],v=k(A);C=b.getBoundingClientRect(),v.attr("width",C.width),v.attr("height",C.height)}x+=C.height+e,C.width>h&&(h=C.width);const R=[];t.classData.members.forEach(b=>{const v=b.getDisplayDetails();let N=v.displayText;D().flowchart.htmlLabels&&(N=N.replace(//g,">"));const j=f.node().appendChild(H(N,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let I=j.getBBox();if(P(D().flowchart.htmlLabels)){const X=j.children[0],F=k(j);I=X.getBoundingClientRect(),F.attr("width",I.width),F.attr("height",I.height)}I.width>h&&(h=I.width),x+=I.height+e,R.push(j)}),x+=s;const $=[];if(t.classData.methods.forEach(b=>{const v=b.getDisplayDetails();let N=v.displayText;D().flowchart.htmlLabels&&(N=N.replace(//g,">"));const j=f.node().appendChild(H(N,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let I=j.getBBox();if(P(D().flowchart.htmlLabels)){const X=j.children[0],F=k(j);I=X.getBoundingClientRect(),F.attr("width",I.width),F.attr("height",I.height)}I.width>h&&(h=I.width),x+=I.height+e,$.push(j)}),x+=s,d){let b=(h-T.width)/2;k(p).attr("transform","translate( "+(-1*h/2+b)+", "+-1*x/2+")"),g=T.height+e}let O=(h-C.width)/2;return k(A).attr("transform","translate( "+(-1*h/2+O)+", "+(-1*x/2+g)+")"),g+=C.height+e,n.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,R.forEach(b=>{var N;k(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g+s/2)+")");const v=b==null?void 0:b.getBBox();g+=((N=v==null?void 0:v.height)!=null?N:0)+e}),g+=s,o.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,$.forEach(b=>{var N;k(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g)+")");const v=b==null?void 0:b.getBBox();g+=((N=v==null?void 0:v.height)!=null?N:0)+e}),i.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-c).attr("y",-(x/2)-c).attr("width",h+t.padding).attr("height",x+t.padding),w(t,i),t.intersect=function(b){return u.rect(t,b)},a},"class_box"),Z={rhombus:Q,composite:Dt,question:Q,rect:It,labelRect:Et,rectWithTitle:Mt,choice:vt,circle:jt,doublecircle:Pt,stadium:At,hexagon:mt,block_arrow:St,rect_left_inv_arrow:Lt,lean_right:_t,lean_left:Bt,trapezoid:Ct,inv_trapezoid:Tt,rect_right_inv_arrow:kt,cylinder:Nt,start:Ht,end:zt,note:bt,subroutine:Rt,fork:q,join:q,class_box:Ft},z={},$t=y((l,t,c)=>m(void 0,null,function*(){let e,s;if(t.link){let r;D().securityLevel==="sandbox"?r="_top":t.linkTarget&&(r=t.linkTarget||"_blank"),e=l.insert("svg:a").attr("xlink:href",t.link).attr("target",r),s=yield Z[t.shape](e,t,c)}else s=yield Z[t.shape](l,t,c),e=s;return t.tooltip&&s.attr("title",t.tooltip),t.class&&s.attr("class","node default "+t.class),z[t.id]=e,t.haveCallback&&z[t.id].attr("class",z[t.id].attr("class")+" clickable"),e}),"insertNode"),Xt=y((l,t)=>{z[t.id]=l},"setNodeElem"),Kt=y(()=>{z={}},"clear"),Ut=y(l=>{const t=z[l.id];_.trace("Transforming node",l.diff,l,"translate("+(l.x-l.width/2-5)+", "+l.width/2+")");const c=8,e=l.diff||0;return l.clusterNode?t.attr("transform","translate("+(l.x+e-l.width/2)+", "+(l.y-l.height/2-c)+")"):t.attr("transform","translate("+l.x+", "+l.y+")"),e},"positionNode");export{H as a,ut as b,Kt as c,$t as i,Ut as p,Xt as s,w as u}; diff --git a/pr-preview/pr-459/assets/classDiagram-4BHYIK4I-D3GoYVCU.js b/pr-preview/pr-459/assets/classDiagram-4BHYIK4I-uqC1RhfT.js similarity index 96% rename from pr-preview/pr-459/assets/classDiagram-4BHYIK4I-D3GoYVCU.js rename to pr-preview/pr-459/assets/classDiagram-4BHYIK4I-uqC1RhfT.js index c89e6aac7..cce01ded6 100644 --- a/pr-preview/pr-459/assets/classDiagram-4BHYIK4I-D3GoYVCU.js +++ b/pr-preview/pr-459/assets/classDiagram-4BHYIK4I-uqC1RhfT.js @@ -1,2 +1,2 @@ -import{c as G,a as N,s as I}from"./chunk-BAVOGKFW-CtA3QrmH.js";import{_ as f,d as S,l as u,j as B,k as W,a2 as P,a8 as R,u as _,a9 as X}from"./Using existing ones-Dhq84SWT.js";import{G as Y}from"./graph-CTYIQWTo.js";import{l as $}from"./layout-nu6vrpop.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";var H=0,J=f(function(i,a,t,o,p){const g=f(function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}},"getRelationType");a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=P().x(function(e){return e.x}).y(function(e){return e.y}).curve(R),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let m,h;const x=a.points.length;let b=_.calcLabelPosition(a.points);m=b.x,h=b.y;let y,w,k,v;if(x%2!==0&&x>1){let e=_.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=_.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);u.debug("cardinality_1_point "+JSON.stringify(e)),u.debug("cardinality_2_point "+JSON.stringify(d)),y=e.x,w=e.y,k=d.x,v=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",m).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}u.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",y).attr("y",w).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",k).attr("y",v).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},"drawEdge"),O=f(function(i,a,t,o){u.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=A(a);const m=c.append("tspan").text(r).attr("class","title");n||m.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,y;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){C(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){y=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){C(d,l,n,t),n=!1})}const w=s.node().getBBox();var k=" ";a.cssClasses.length>0&&(k=k+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*t.padding).attr("height",w.height+t.padding+.5*t.dividerMargin).attr("class",k).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),y&&y.attr("x2",e),g.width=e,g.height=w.height+t.padding+.5*t.dividerMargin,g},"drawClass"),A=f(function(i){let a=i.id;return i.type&&(a+="<"+X(i.type)+">"),a},"getClassTitleString"),Z=f(function(i,a,t,o){u.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(` +import{c as G,a as N,s as I}from"./chunk-BAVOGKFW-v9RTQu8Y.js";import{_ as f,d as S,l as u,j as B,k as W,a2 as P,a8 as R,u as _,a9 as X}from"./Using existing ones-B8pwVpRB.js";import{G as Y}from"./graph-BXEtUiHV.js";import{l as $}from"./layout-DzKhK8C3.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";var H=0,J=f(function(i,a,t,o,p){const g=f(function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}},"getRelationType");a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=P().x(function(e){return e.x}).y(function(e){return e.y}).curve(R),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let m,h;const x=a.points.length;let b=_.calcLabelPosition(a.points);m=b.x,h=b.y;let y,w,k,v;if(x%2!==0&&x>1){let e=_.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=_.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);u.debug("cardinality_1_point "+JSON.stringify(e)),u.debug("cardinality_2_point "+JSON.stringify(d)),y=e.x,w=e.y,k=d.x,v=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",m).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}u.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",y).attr("y",w).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",k).attr("y",v).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},"drawEdge"),O=f(function(i,a,t,o){u.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=A(a);const m=c.append("tspan").text(r).attr("class","title");n||m.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,y;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){C(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){y=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){C(d,l,n,t),n=!1})}const w=s.node().getBBox();var k=" ";a.cssClasses.length>0&&(k=k+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*t.padding).attr("height",w.height+t.padding+.5*t.dividerMargin).attr("class",k).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),y&&y.attr("x2",e),g.width=e,g.height=w.height+t.padding+.5*t.dividerMargin,g},"drawClass"),A=f(function(i){let a=i.id;return i.type&&(a+="<"+X(i.type)+">"),a},"getClassTitleString"),Z=f(function(i,a,t,o){u.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(` `);n.forEach(function(x){u.debug(`Adding line: ${x}`),c.append("tspan").text(x).attr("class","title").attr("dy",t.textHeight)});const r=s.node().getBBox(),h=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",r.width+2*t.padding).attr("height",r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return c.node().childNodes.forEach(function(x){x.setAttribute("x",(h-x.getBBox().width)/2)}),g.width=h,g.height=r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin,g},"drawNote"),C=f(function(i,a,t,o){const{displayText:p,cssStyle:g}=a.getDisplayDetails(),s=i.append("tspan").attr("x",o.padding).text(p);g!==""&&s.attr("style",a.cssStyle),t||s.attr("dy",o.textHeight)},"addTspan"),M={getClassTitleString:A,drawClass:O,drawEdge:J,drawNote:Z},L={},E=20,T=f(function(i){const a=Object.entries(L).find(t=>t[1].label===i);if(a)return a[0]},"getGraphId"),F=f(function(i){i.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),i.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),i.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).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"),i.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).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"),i.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).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"),i.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).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"),i.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).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"),i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).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")},"insertMarkers"),U=f(function(i,a,t,o){const p=S().class;L={},u.info("Rendering diagram "+i);const g=S().securityLevel;let s;g==="sandbox"&&(s=B("#i"+a));const c=g==="sandbox"?B(s.nodes()[0].contentDocument.body):B("body"),n=c.select(`[id='${a}']`);F(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=o.db.getClasses(),h=[...m.keys()];for(const e of h){const d=m.get(e),l=M.drawClass(n,d,p,o);L[l.id]=l,r.setNode(l.id,l),u.info("Org height: "+l.height)}o.db.getRelations().forEach(function(e){u.info("tjoho"+T(e.id1)+T(e.id2)+JSON.stringify(e)),r.setEdge(T(e.id1),T(e.id2),{relation:e},e.title||"DEFAULT")}),o.db.getNotes().forEach(function(e){u.debug(`Adding note: ${JSON.stringify(e)}`);const d=M.drawNote(n,e,p,o);L[d.id]=d,r.setNode(d.id,d),e.class&&m.has(e.class)&&r.setEdge(e.id,T(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),$(r),r.nodes().forEach(function(e){e!==void 0&&r.node(e)!==void 0&&(u.debug("Node "+e+": "+JSON.stringify(r.node(e))),c.select("#"+(o.db.lookUpDomId(e)||e)).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )"))}),r.edges().forEach(function(e){e!==void 0&&r.edge(e)!==void 0&&(u.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r.edge(e))),M.drawEdge(n,r.edge(e),r.edge(e).relation,p,o))});const y=n.node().getBBox(),w=y.width+E*2,k=y.height+E*2;W(n,k,w,p.useMaxWidth);const v=`${y.x-E} ${y.y-E} ${w} ${k}`;u.debug(`viewBox ${v}`),n.attr("viewBox",v)},"draw"),z={draw:U},ot={parser:G,db:N,renderer:z,styles:I,init:f(i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,N.clear()},"init")};export{ot as diagram}; diff --git a/pr-preview/pr-459/assets/classDiagram-v2-FI7KE7WJ-D2b3pwvb.js b/pr-preview/pr-459/assets/classDiagram-v2-FI7KE7WJ-QG-TUOHX.js similarity index 96% rename from pr-preview/pr-459/assets/classDiagram-v2-FI7KE7WJ-D2b3pwvb.js rename to pr-preview/pr-459/assets/classDiagram-v2-FI7KE7WJ-QG-TUOHX.js index be419c69c..aae55f440 100644 --- a/pr-preview/pr-459/assets/classDiagram-v2-FI7KE7WJ-D2b3pwvb.js +++ b/pr-preview/pr-459/assets/classDiagram-v2-FI7KE7WJ-QG-TUOHX.js @@ -1,2 +1,2 @@ -var ct=Object.defineProperty,dt=Object.defineProperties;var ft=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var ut=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable;var W=(e,t,i)=>t in e?ct(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,B=(e,t)=>{for(var i in t||(t={}))ut.call(t,i)&&W(e,i,t[i]);if(z)for(var i of z(t))ht.call(t,i)&&W(e,i,t[i]);return e},q=(e,t)=>dt(e,ft(t));var C=(e,t,i)=>new Promise((l,n)=>{var a=o=>{try{f(i.next(o))}catch(h){n(h)}},r=o=>{try{f(i.throw(o))}catch(h){n(h)}},f=o=>o.done?l(o.value):Promise.resolve(o.value).then(a,r);f((i=i.apply(e,t)).next())});import{m as gt,c as wt,i as yt,a as bt,p as mt}from"./chunk-UGV5ZQQN-CZ-pcEfT.js";import{c as pt,a as V,s as vt}from"./chunk-BAVOGKFW-CtA3QrmH.js";import{c as xt,u as St,s as Nt,i as Et,p as j,a as K,b as A}from"./chunk-YWFND7JV-CGN8NYbJ.js";import{_ as g,l as s,d as m,j as D,u as Ct,aa as Tt,ab as Q,ac as U,ad as Y,v as kt,e as Z,ae as G,A as R,D as Dt}from"./Using existing ones-Dhq84SWT.js";import{G as I}from"./graph-CTYIQWTo.js";import{l as Xt}from"./layout-nu6vrpop.js";import{w as S}from"./json-wyNrEGgq.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";var u={},x={},tt={},Bt=g(()=>{x={},tt={},u={}},"clear"),_=g((e,t)=>(s.trace("In isDescendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),"isDescendant"),Lt=g((e,t)=>(s.info("Descendants of ",t," is ",x[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||_(e.v,t)||_(e.w,t)||x[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),"edgeInCluster"),et=g((e,t,i,l)=>{s.warn("Copying children of ",e,"root",l,"data",t.node(e),l);const n=t.children(e)||[];e!==l&&n.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",n),n.forEach(a=>{if(t.children(a).length>0)et(a,t,i,l);else{const r=t.node(a);s.info("cp ",a," to ",l," with parent ",e),i.setNode(a,r),l!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),i.setParent(a,t.parent(a))),e!==l&&a!==e?(s.debug("Setting parent",a,e),i.setParent(a,e)):(s.info("In copy ",e,"root",l,"data",t.node(e),l),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==l,"node!==clusterId",a!==e));const f=t.edges(a);s.debug("Copying Edges",f),f.forEach(o=>{s.info("Edge",o);const h=t.edge(o.v,o.w,o.name);s.info("Edge data",h,l);try{Lt(o,l)?(s.info("Copying as ",o.v,o.w,h,o.name),i.setEdge(o.v,o.w,h,o.name),s.info("newGraph edges ",i.edges(),i.edge(i.edges()[0]))):s.info("Skipping copy of edge ",o.v,"-->",o.w," rootId: ",l," clusterId:",e)}catch(b){s.error(b)}})}s.debug("Removing node",a),t.removeNode(a)})},"copy"),it=g((e,t)=>{const i=t.children(e);let l=[...i];for(const n of i)tt[n]=e,l=[...l,...it(n,t)];return l},"extractDescendants"),X=g((e,t)=>{s.trace("Searching",e);const i=t.children(e);if(s.trace("Searching children of id ",e,i),i.length<1)return s.trace("This is a valid node",e),e;for(const l of i){const n=X(l,t);if(n)return s.trace("Found replacement for",e," => ",n),n}},"findNonClusterChild"),L=g(e=>!u[e]||!u[e].externalConnections?e:u[e]?u[e].id:e,"getAnchorId"),Rt=g((e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(i){e.children(i).length>0&&(s.warn("Cluster identified",i," Replacement id in edges: ",X(i,e)),x[i]=it(i,e),u[i]={id:X(i,e),clusterData:e.node(i)})}),e.nodes().forEach(function(i){const l=e.children(i),n=e.edges();l.length>0?(s.debug("Cluster identified",i,x),n.forEach(a=>{if(a.v!==i&&a.w!==i){const r=_(a.v,i),f=_(a.w,i);r^f&&(s.warn("Edge: ",a," leaves cluster ",i),s.warn("Descendants of XXX ",i,": ",x[i]),u[i].externalConnections=!0)}})):s.debug("Not a cluster ",i,x)});for(let i of Object.keys(u)){const l=u[i].id,n=e.parent(l);n!==i&&u[n]&&!u[n].externalConnections&&(u[i].id=n)}e.edges().forEach(function(i){const l=e.edge(i);s.warn("Edge "+i.v+" -> "+i.w+": "+JSON.stringify(i)),s.warn("Edge "+i.v+" -> "+i.w+": "+JSON.stringify(e.edge(i)));let n=i.v,a=i.w;if(s.warn("Fix XXX",u,"ids:",i.v,i.w,"Translating: ",u[i.v]," --- ",u[i.w]),u[i.v]&&u[i.w]&&u[i.v]===u[i.w]){s.warn("Fixing and trixing link to self - removing XXX",i.v,i.w,i.name),s.warn("Fixing and trixing - removing XXX",i.v,i.w,i.name),n=L(i.v),a=L(i.w),e.removeEdge(i.v,i.w,i.name);const r=i.w+"---"+i.v;e.setNode(r,{domId:r,id:r,labelStyle:"",labelText:l.label,padding:0,shape:"labelRect",style:""});const f=structuredClone(l),o=structuredClone(l);f.label="",f.arrowTypeEnd="none",o.label="",f.fromCluster=i.v,o.toCluster=i.v,e.setEdge(n,r,f,i.name+"-cyclic-special"),e.setEdge(r,a,o,i.name+"-cyclic-special")}else if(u[i.v]||u[i.w]){if(s.warn("Fixing and trixing - removing XXX",i.v,i.w,i.name),n=L(i.v),a=L(i.w),e.removeEdge(i.v,i.w,i.name),n!==i.v){const r=e.parent(n);u[r].externalConnections=!0,l.fromCluster=i.v}if(a!==i.w){const r=e.parent(a);u[r].externalConnections=!0,l.toCluster=i.w}s.warn("Fix Replacing with XXX",n,a,i.name),e.setEdge(n,a,l,i.name)}}),s.warn("Adjusted Graph",S(e)),nt(e,0),s.trace(u)},"adjustClustersAndEdges"),nt=g((e,t)=>{var n,a;if(s.warn("extractor - ",t,S(e),e.children("D")),t>10){s.error("Bailing out");return}let i=e.nodes(),l=!1;for(const r of i){const f=e.children(r);l=l||f.length>0}if(!l){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",i,t);for(const r of i)if(s.debug("Extracting node",r,u,u[r]&&!u[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!u[r])s.debug("Not a cluster",r,t);else if(!u[r].externalConnections&&e.children(r)&&e.children(r).length>0){s.warn("Cluster without external connections, without a parent and with children",r,t);let o=e.graph().rankdir==="TB"?"LR":"TB";(a=(n=u[r])==null?void 0:n.clusterData)!=null&&a.dir&&(o=u[r].clusterData.dir,s.warn("Fixing dir",u[r].clusterData.dir,o));const h=new I({multigraph:!0,compound:!0}).setGraph({rankdir:o,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",S(e)),et(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:u[r].clusterData,labelText:u[r].labelText,graph:h}),s.warn("New graph after copy node: (",r,")",S(h)),s.debug("Old graph after copy",S(e))}else s.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!u[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),s.debug(u);i=e.nodes(),s.warn("New list of nodes",i);for(const r of i){const f=e.node(r);s.warn(" Now next level",r,f),f.clusterNode&&nt(f.graph,t+1)}},"extractor"),st=g((e,t)=>{if(t.length===0)return[];let i=Object.assign(t);return t.forEach(l=>{const n=e.children(l),a=st(e,n);i=[...i,...a]}),i},"sorter"),_t=g(e=>st(e,e.children()),"sortNodesByHierarchy"),At=g((e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const i=m(),l=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),n=l.insert("rect",":first-child"),a=R(i.flowchart.htmlLabels),r=l.insert("g").attr("class","cluster-label"),f=t.labelType==="markdown"?Dt(r,t.labelText,{style:t.labelStyle,useHtmlLabels:a},i):r.node().appendChild(K(t.labelText,t.labelStyle,void 0,!0));let o=f.getBBox();if(R(i.flowchart.htmlLabels)){const d=f.children[0],c=D(f);o=d.getBoundingClientRect(),c.attr("width",o.width),c.attr("height",o.height)}const h=0*t.padding,b=h/2,y=t.width<=o.width+h?o.width+h:t.width;t.width<=o.width+h?t.diff=(o.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-y/2).attr("y",t.y-t.height/2-b).attr("width",y).attr("height",t.height+h);const{subGraphTitleTopMargin:p}=G(i);a?r.attr("transform",`translate(${t.x-o.width/2}, ${t.y-t.height/2+p})`):r.attr("transform",`translate(${t.x}, ${t.y-t.height/2+p})`);const w=n.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(d){return A(t,d)},l},"rect"),Jt=g((e,t)=>{const i=e.insert("g").attr("class","note-cluster").attr("id",t.id),l=i.insert("rect",":first-child"),n=0*t.padding,a=n/2;l.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+n).attr("height",t.height+n).attr("fill","none");const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.intersect=function(f){return A(t,f)},i},"noteGroup"),Ot=g((e,t)=>{const i=m(),l=e.insert("g").attr("class",t.classes).attr("id",t.id),n=l.insert("rect",":first-child"),a=l.insert("g").attr("class","cluster-label"),r=l.append("rect"),f=a.node().appendChild(K(t.labelText,t.labelStyle,void 0,!0));let o=f.getBBox();if(R(i.flowchart.htmlLabels)){const d=f.children[0],c=D(f);o=d.getBoundingClientRect(),c.attr("width",o.width),c.attr("height",o.height)}o=f.getBBox();const h=0*t.padding,b=h/2,y=t.width<=o.width+t.padding?o.width+t.padding:t.width;t.width<=o.width+t.padding?t.diff=(o.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,n.attr("class","outer").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b).attr("width",y+h).attr("height",t.height+h),r.attr("class","inner").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b+o.height-1).attr("width",y+h).attr("height",t.height+h-o.height-3);const{subGraphTitleTopMargin:p}=G(i);a.attr("transform",`translate(${t.x-o.width/2}, ${t.y-t.height/2-t.padding/3+(R(i.flowchart.htmlLabels)?5:3)+p})`);const w=n.node().getBBox();return t.height=w.height,t.intersect=function(d){return A(t,d)},l},"roundedWithTitle"),Pt=g((e,t)=>{const i=e.insert("g").attr("class",t.classes).attr("id",t.id),l=i.insert("rect",":first-child"),n=0*t.padding,a=n/2;l.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+n).attr("height",t.height+n);const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.diff=-t.padding/2,t.intersect=function(f){return A(t,f)},i},"divider"),Gt={rect:At,roundedWithTitle:Ot,noteGroup:Jt,divider:Pt},at={},Mt=g((e,t)=>{s.trace("Inserting cluster");const i=t.shape||"rect";at[t.id]=Gt[i](e,t)},"insertCluster"),Ft=g(()=>{at={}},"clear"),rt=g((e,t,i,l,n,a)=>C(void 0,null,function*(){s.info("Graph in recursive render: XXX",S(t),n);const r=t.graph().rankdir;s.trace("Dir in recursive render - dir:",r);const f=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const o=f.insert("g").attr("class","clusters"),h=f.insert("g").attr("class","edgePaths"),b=f.insert("g").attr("class","edgeLabels"),y=f.insert("g").attr("class","nodes");yield Promise.all(t.nodes().map(function(d){return C(this,null,function*(){const c=t.node(d);if(n!==void 0){const v=JSON.parse(JSON.stringify(n.clusterData));s.info("Setting data for cluster XXX (",d,") ",v,n),t.setNode(n.id,v),t.parent(d)||(s.trace("Setting parent",d,n.id),t.setParent(d,n.id,v))}if(s.info("(Insert) Node XXX"+d+": "+JSON.stringify(t.node(d))),c!=null&&c.clusterNode){s.info("Cluster identified",d,c.width,t.node(d));const{ranksep:v,nodesep:N}=t.graph();c.graph.setGraph(q(B({},c.graph.graph()),{ranksep:v,nodesep:N}));const T=yield rt(y,c.graph,i,l,t.node(d),a),E=T.elem;St(c,E),c.diff=T.diff||0,s.info("Node bounds (abc123)",d,c,c.width,c.x,c.y),Nt(E,c),s.warn("Recursive render complete ",E,c)}else t.children(d).length>0?(s.info("Cluster - the non recursive path XXX",d,c.id,c,t),s.info(X(c.id,t)),u[c.id]={id:X(c.id,t),node:c}):(s.info("Node - the non recursive path",d,c.id,c),yield Et(y,t.node(d),r))})})),t.edges().forEach(function(d){return C(this,null,function*(){const c=t.edge(d.v,d.w,d.name);s.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(d)),s.info("Edge "+d.v+" -> "+d.w+": ",d," ",JSON.stringify(t.edge(d))),s.info("Fix",u,"ids:",d.v,d.w,"Translating: ",u[d.v],u[d.w]),yield yt(b,c)})}),t.edges().forEach(function(d){s.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(d))}),s.info("Graph before layout:",JSON.stringify(S(t))),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),Xt(t),s.info("Graph after layout:",JSON.stringify(S(t)));let p=0;const{subGraphTitleTotalMargin:w}=G(a);return _t(t).forEach(function(d){const c=t.node(d);s.info("Position "+d+": "+JSON.stringify(t.node(d))),s.info("Position "+d+": ("+c.x,","+c.y,") width: ",c.width," height: ",c.height),c!=null&&c.clusterNode?(c.y+=w,j(c)):t.children(d).length>0?(c.height+=w,Mt(o,c),u[c.id].node=c):(c.y+=w/2,j(c))}),t.edges().forEach(function(d){const c=t.edge(d);s.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(c),c),c.points.forEach(N=>N.y+=w/2);const v=bt(h,d,c,u,i,t,l);mt(c,v)}),t.nodes().forEach(function(d){const c=t.node(d);s.info(d,c.type,c.diff),c.type==="group"&&(p=c.diff)}),{elem:f,diff:p}}),"recursiveRender"),$t=g((e,t,i,l,n)=>C(void 0,null,function*(){gt(e,i,l,n),xt(),wt(),Ft(),Bt(),s.warn("Graph at first:",JSON.stringify(S(t))),Rt(t),s.warn("Graph after:",JSON.stringify(S(t)));const a=m();yield rt(e,t,l,n,void 0,a)}),"render"),M=g(e=>Z.sanitizeText(e,m()),"sanitizeText"),O={dividerMargin:10,padding:5,textHeight:10,curve:void 0},Ht=g(function(e,t,i,l){s.info("keys:",[...e.keys()]),s.info(e),e.forEach(function(n){var f,o,h;const r={shape:"rect",id:n.id,domId:n.domId,labelText:M(n.id),labelStyle:"",style:"fill: none; stroke: black",padding:(h=(f=m().flowchart)==null?void 0:f.padding)!=null?h:(o=m().class)==null?void 0:o.padding};t.setNode(n.id,r),lt(n.classes,t,i,l,n.id),s.info("setNode",r)})},"addNamespaces"),lt=g(function(e,t,i,l,n){s.info("keys:",[...e.keys()]),s.info(e),[...e.values()].filter(a=>a.parent===n).forEach(function(a){var p,w,d,c;const r=a.cssClasses.join(" "),f=Q(a.styles),o=(p=a.label)!=null?p:a.id,h=0,y={labelStyle:f.labelStyle,shape:"class_box",labelText:M(o),classData:a,rx:h,ry:h,class:r,style:f.style,id:a.id,domId:a.domId,tooltip:l.db.getTooltip(a.id,n)||"",haveCallback:a.haveCallback,link:a.link,width:a.type==="group"?500:void 0,type:a.type,padding:(c=(w=m().flowchart)==null?void 0:w.padding)!=null?c:(d=m().class)==null?void 0:d.padding};t.setNode(a.id,y),n&&t.setParent(a.id,n),s.info("setNode",y)})},"addClasses"),zt=g(function(e,t,i,l){s.info(e),e.forEach(function(n,a){var c,v,N;const r=n,f="",o={labelStyle:"",style:""},h=r.text,b=0,p={labelStyle:o.labelStyle,shape:"note",labelText:M(h),noteData:r,rx:b,ry:b,class:f,style:o.style,id:r.id,domId:r.id,tooltip:"",type:"note",padding:(N=(c=m().flowchart)==null?void 0:c.padding)!=null?N:(v=m().class)==null?void 0:v.padding};if(t.setNode(r.id,p),s.info("setNode",p),!r.class||!l.has(r.class))return;const w=i+a,d={id:`edgeNote${w}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:U(O.curve,Y)};t.setEdge(r.id,r.class,d,w)})},"addNotes"),Wt=g(function(e,t){const i=m().flowchart;let l=0;e.forEach(function(n){var r,f;l++;const a={classes:"relation",pattern:n.relation.lineType==1?"dashed":"solid",id:kt(n.id1,n.id2,{prefix:"id",counter:l}),arrowhead:n.type==="arrow_open"?"none":"normal",startLabelRight:n.relationTitle1==="none"?"":n.relationTitle1,endLabelLeft:n.relationTitle2==="none"?"":n.relationTitle2,arrowTypeStart:P(n.relation.type1),arrowTypeEnd:P(n.relation.type2),style:"fill:none",labelStyle:"",curve:U(i==null?void 0:i.curve,Y)};if(s.info(a,n),n.style!==void 0){const o=Q(n.style);a.style=o.style,a.labelStyle=o.labelStyle}n.text=n.title,n.text===void 0?n.style!==void 0&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",((f=(r=m().flowchart)==null?void 0:r.htmlLabels)!=null?f:m().htmlLabels)?(a.labelType="html",a.label=''+n.text+""):(a.labelType="text",a.label=n.text.replace(Z.lineBreakRegex,` +var ct=Object.defineProperty,dt=Object.defineProperties;var ft=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var ut=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable;var W=(e,t,i)=>t in e?ct(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,B=(e,t)=>{for(var i in t||(t={}))ut.call(t,i)&&W(e,i,t[i]);if(z)for(var i of z(t))ht.call(t,i)&&W(e,i,t[i]);return e},q=(e,t)=>dt(e,ft(t));var C=(e,t,i)=>new Promise((l,n)=>{var a=o=>{try{f(i.next(o))}catch(h){n(h)}},r=o=>{try{f(i.throw(o))}catch(h){n(h)}},f=o=>o.done?l(o.value):Promise.resolve(o.value).then(a,r);f((i=i.apply(e,t)).next())});import{m as gt,c as wt,i as yt,a as bt,p as mt}from"./chunk-UGV5ZQQN-DY7h4rD5.js";import{c as pt,a as V,s as vt}from"./chunk-BAVOGKFW-v9RTQu8Y.js";import{c as xt,u as St,s as Nt,i as Et,p as j,a as K,b as A}from"./chunk-YWFND7JV-DWdokYeW.js";import{_ as g,l as s,d as m,j as D,u as Ct,aa as Tt,ab as Q,ac as U,ad as Y,v as kt,e as Z,ae as G,A as R,D as Dt}from"./Using existing ones-B8pwVpRB.js";import{G as I}from"./graph-BXEtUiHV.js";import{l as Xt}from"./layout-DzKhK8C3.js";import{w as S}from"./json-C1PkXS5l.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";var u={},x={},tt={},Bt=g(()=>{x={},tt={},u={}},"clear"),_=g((e,t)=>(s.trace("In isDescendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),"isDescendant"),Lt=g((e,t)=>(s.info("Descendants of ",t," is ",x[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||_(e.v,t)||_(e.w,t)||x[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),"edgeInCluster"),et=g((e,t,i,l)=>{s.warn("Copying children of ",e,"root",l,"data",t.node(e),l);const n=t.children(e)||[];e!==l&&n.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",n),n.forEach(a=>{if(t.children(a).length>0)et(a,t,i,l);else{const r=t.node(a);s.info("cp ",a," to ",l," with parent ",e),i.setNode(a,r),l!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),i.setParent(a,t.parent(a))),e!==l&&a!==e?(s.debug("Setting parent",a,e),i.setParent(a,e)):(s.info("In copy ",e,"root",l,"data",t.node(e),l),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==l,"node!==clusterId",a!==e));const f=t.edges(a);s.debug("Copying Edges",f),f.forEach(o=>{s.info("Edge",o);const h=t.edge(o.v,o.w,o.name);s.info("Edge data",h,l);try{Lt(o,l)?(s.info("Copying as ",o.v,o.w,h,o.name),i.setEdge(o.v,o.w,h,o.name),s.info("newGraph edges ",i.edges(),i.edge(i.edges()[0]))):s.info("Skipping copy of edge ",o.v,"-->",o.w," rootId: ",l," clusterId:",e)}catch(b){s.error(b)}})}s.debug("Removing node",a),t.removeNode(a)})},"copy"),it=g((e,t)=>{const i=t.children(e);let l=[...i];for(const n of i)tt[n]=e,l=[...l,...it(n,t)];return l},"extractDescendants"),X=g((e,t)=>{s.trace("Searching",e);const i=t.children(e);if(s.trace("Searching children of id ",e,i),i.length<1)return s.trace("This is a valid node",e),e;for(const l of i){const n=X(l,t);if(n)return s.trace("Found replacement for",e," => ",n),n}},"findNonClusterChild"),L=g(e=>!u[e]||!u[e].externalConnections?e:u[e]?u[e].id:e,"getAnchorId"),Rt=g((e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(i){e.children(i).length>0&&(s.warn("Cluster identified",i," Replacement id in edges: ",X(i,e)),x[i]=it(i,e),u[i]={id:X(i,e),clusterData:e.node(i)})}),e.nodes().forEach(function(i){const l=e.children(i),n=e.edges();l.length>0?(s.debug("Cluster identified",i,x),n.forEach(a=>{if(a.v!==i&&a.w!==i){const r=_(a.v,i),f=_(a.w,i);r^f&&(s.warn("Edge: ",a," leaves cluster ",i),s.warn("Descendants of XXX ",i,": ",x[i]),u[i].externalConnections=!0)}})):s.debug("Not a cluster ",i,x)});for(let i of Object.keys(u)){const l=u[i].id,n=e.parent(l);n!==i&&u[n]&&!u[n].externalConnections&&(u[i].id=n)}e.edges().forEach(function(i){const l=e.edge(i);s.warn("Edge "+i.v+" -> "+i.w+": "+JSON.stringify(i)),s.warn("Edge "+i.v+" -> "+i.w+": "+JSON.stringify(e.edge(i)));let n=i.v,a=i.w;if(s.warn("Fix XXX",u,"ids:",i.v,i.w,"Translating: ",u[i.v]," --- ",u[i.w]),u[i.v]&&u[i.w]&&u[i.v]===u[i.w]){s.warn("Fixing and trixing link to self - removing XXX",i.v,i.w,i.name),s.warn("Fixing and trixing - removing XXX",i.v,i.w,i.name),n=L(i.v),a=L(i.w),e.removeEdge(i.v,i.w,i.name);const r=i.w+"---"+i.v;e.setNode(r,{domId:r,id:r,labelStyle:"",labelText:l.label,padding:0,shape:"labelRect",style:""});const f=structuredClone(l),o=structuredClone(l);f.label="",f.arrowTypeEnd="none",o.label="",f.fromCluster=i.v,o.toCluster=i.v,e.setEdge(n,r,f,i.name+"-cyclic-special"),e.setEdge(r,a,o,i.name+"-cyclic-special")}else if(u[i.v]||u[i.w]){if(s.warn("Fixing and trixing - removing XXX",i.v,i.w,i.name),n=L(i.v),a=L(i.w),e.removeEdge(i.v,i.w,i.name),n!==i.v){const r=e.parent(n);u[r].externalConnections=!0,l.fromCluster=i.v}if(a!==i.w){const r=e.parent(a);u[r].externalConnections=!0,l.toCluster=i.w}s.warn("Fix Replacing with XXX",n,a,i.name),e.setEdge(n,a,l,i.name)}}),s.warn("Adjusted Graph",S(e)),nt(e,0),s.trace(u)},"adjustClustersAndEdges"),nt=g((e,t)=>{var n,a;if(s.warn("extractor - ",t,S(e),e.children("D")),t>10){s.error("Bailing out");return}let i=e.nodes(),l=!1;for(const r of i){const f=e.children(r);l=l||f.length>0}if(!l){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",i,t);for(const r of i)if(s.debug("Extracting node",r,u,u[r]&&!u[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!u[r])s.debug("Not a cluster",r,t);else if(!u[r].externalConnections&&e.children(r)&&e.children(r).length>0){s.warn("Cluster without external connections, without a parent and with children",r,t);let o=e.graph().rankdir==="TB"?"LR":"TB";(a=(n=u[r])==null?void 0:n.clusterData)!=null&&a.dir&&(o=u[r].clusterData.dir,s.warn("Fixing dir",u[r].clusterData.dir,o));const h=new I({multigraph:!0,compound:!0}).setGraph({rankdir:o,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",S(e)),et(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:u[r].clusterData,labelText:u[r].labelText,graph:h}),s.warn("New graph after copy node: (",r,")",S(h)),s.debug("Old graph after copy",S(e))}else s.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!u[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),s.debug(u);i=e.nodes(),s.warn("New list of nodes",i);for(const r of i){const f=e.node(r);s.warn(" Now next level",r,f),f.clusterNode&&nt(f.graph,t+1)}},"extractor"),st=g((e,t)=>{if(t.length===0)return[];let i=Object.assign(t);return t.forEach(l=>{const n=e.children(l),a=st(e,n);i=[...i,...a]}),i},"sorter"),_t=g(e=>st(e,e.children()),"sortNodesByHierarchy"),At=g((e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const i=m(),l=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),n=l.insert("rect",":first-child"),a=R(i.flowchart.htmlLabels),r=l.insert("g").attr("class","cluster-label"),f=t.labelType==="markdown"?Dt(r,t.labelText,{style:t.labelStyle,useHtmlLabels:a},i):r.node().appendChild(K(t.labelText,t.labelStyle,void 0,!0));let o=f.getBBox();if(R(i.flowchart.htmlLabels)){const d=f.children[0],c=D(f);o=d.getBoundingClientRect(),c.attr("width",o.width),c.attr("height",o.height)}const h=0*t.padding,b=h/2,y=t.width<=o.width+h?o.width+h:t.width;t.width<=o.width+h?t.diff=(o.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-y/2).attr("y",t.y-t.height/2-b).attr("width",y).attr("height",t.height+h);const{subGraphTitleTopMargin:p}=G(i);a?r.attr("transform",`translate(${t.x-o.width/2}, ${t.y-t.height/2+p})`):r.attr("transform",`translate(${t.x}, ${t.y-t.height/2+p})`);const w=n.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(d){return A(t,d)},l},"rect"),Jt=g((e,t)=>{const i=e.insert("g").attr("class","note-cluster").attr("id",t.id),l=i.insert("rect",":first-child"),n=0*t.padding,a=n/2;l.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+n).attr("height",t.height+n).attr("fill","none");const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.intersect=function(f){return A(t,f)},i},"noteGroup"),Ot=g((e,t)=>{const i=m(),l=e.insert("g").attr("class",t.classes).attr("id",t.id),n=l.insert("rect",":first-child"),a=l.insert("g").attr("class","cluster-label"),r=l.append("rect"),f=a.node().appendChild(K(t.labelText,t.labelStyle,void 0,!0));let o=f.getBBox();if(R(i.flowchart.htmlLabels)){const d=f.children[0],c=D(f);o=d.getBoundingClientRect(),c.attr("width",o.width),c.attr("height",o.height)}o=f.getBBox();const h=0*t.padding,b=h/2,y=t.width<=o.width+t.padding?o.width+t.padding:t.width;t.width<=o.width+t.padding?t.diff=(o.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,n.attr("class","outer").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b).attr("width",y+h).attr("height",t.height+h),r.attr("class","inner").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b+o.height-1).attr("width",y+h).attr("height",t.height+h-o.height-3);const{subGraphTitleTopMargin:p}=G(i);a.attr("transform",`translate(${t.x-o.width/2}, ${t.y-t.height/2-t.padding/3+(R(i.flowchart.htmlLabels)?5:3)+p})`);const w=n.node().getBBox();return t.height=w.height,t.intersect=function(d){return A(t,d)},l},"roundedWithTitle"),Pt=g((e,t)=>{const i=e.insert("g").attr("class",t.classes).attr("id",t.id),l=i.insert("rect",":first-child"),n=0*t.padding,a=n/2;l.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+n).attr("height",t.height+n);const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.diff=-t.padding/2,t.intersect=function(f){return A(t,f)},i},"divider"),Gt={rect:At,roundedWithTitle:Ot,noteGroup:Jt,divider:Pt},at={},Mt=g((e,t)=>{s.trace("Inserting cluster");const i=t.shape||"rect";at[t.id]=Gt[i](e,t)},"insertCluster"),Ft=g(()=>{at={}},"clear"),rt=g((e,t,i,l,n,a)=>C(void 0,null,function*(){s.info("Graph in recursive render: XXX",S(t),n);const r=t.graph().rankdir;s.trace("Dir in recursive render - dir:",r);const f=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const o=f.insert("g").attr("class","clusters"),h=f.insert("g").attr("class","edgePaths"),b=f.insert("g").attr("class","edgeLabels"),y=f.insert("g").attr("class","nodes");yield Promise.all(t.nodes().map(function(d){return C(this,null,function*(){const c=t.node(d);if(n!==void 0){const v=JSON.parse(JSON.stringify(n.clusterData));s.info("Setting data for cluster XXX (",d,") ",v,n),t.setNode(n.id,v),t.parent(d)||(s.trace("Setting parent",d,n.id),t.setParent(d,n.id,v))}if(s.info("(Insert) Node XXX"+d+": "+JSON.stringify(t.node(d))),c!=null&&c.clusterNode){s.info("Cluster identified",d,c.width,t.node(d));const{ranksep:v,nodesep:N}=t.graph();c.graph.setGraph(q(B({},c.graph.graph()),{ranksep:v,nodesep:N}));const T=yield rt(y,c.graph,i,l,t.node(d),a),E=T.elem;St(c,E),c.diff=T.diff||0,s.info("Node bounds (abc123)",d,c,c.width,c.x,c.y),Nt(E,c),s.warn("Recursive render complete ",E,c)}else t.children(d).length>0?(s.info("Cluster - the non recursive path XXX",d,c.id,c,t),s.info(X(c.id,t)),u[c.id]={id:X(c.id,t),node:c}):(s.info("Node - the non recursive path",d,c.id,c),yield Et(y,t.node(d),r))})})),t.edges().forEach(function(d){return C(this,null,function*(){const c=t.edge(d.v,d.w,d.name);s.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(d)),s.info("Edge "+d.v+" -> "+d.w+": ",d," ",JSON.stringify(t.edge(d))),s.info("Fix",u,"ids:",d.v,d.w,"Translating: ",u[d.v],u[d.w]),yield yt(b,c)})}),t.edges().forEach(function(d){s.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(d))}),s.info("Graph before layout:",JSON.stringify(S(t))),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),Xt(t),s.info("Graph after layout:",JSON.stringify(S(t)));let p=0;const{subGraphTitleTotalMargin:w}=G(a);return _t(t).forEach(function(d){const c=t.node(d);s.info("Position "+d+": "+JSON.stringify(t.node(d))),s.info("Position "+d+": ("+c.x,","+c.y,") width: ",c.width," height: ",c.height),c!=null&&c.clusterNode?(c.y+=w,j(c)):t.children(d).length>0?(c.height+=w,Mt(o,c),u[c.id].node=c):(c.y+=w/2,j(c))}),t.edges().forEach(function(d){const c=t.edge(d);s.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(c),c),c.points.forEach(N=>N.y+=w/2);const v=bt(h,d,c,u,i,t,l);mt(c,v)}),t.nodes().forEach(function(d){const c=t.node(d);s.info(d,c.type,c.diff),c.type==="group"&&(p=c.diff)}),{elem:f,diff:p}}),"recursiveRender"),$t=g((e,t,i,l,n)=>C(void 0,null,function*(){gt(e,i,l,n),xt(),wt(),Ft(),Bt(),s.warn("Graph at first:",JSON.stringify(S(t))),Rt(t),s.warn("Graph after:",JSON.stringify(S(t)));const a=m();yield rt(e,t,l,n,void 0,a)}),"render"),M=g(e=>Z.sanitizeText(e,m()),"sanitizeText"),O={dividerMargin:10,padding:5,textHeight:10,curve:void 0},Ht=g(function(e,t,i,l){s.info("keys:",[...e.keys()]),s.info(e),e.forEach(function(n){var f,o,h;const r={shape:"rect",id:n.id,domId:n.domId,labelText:M(n.id),labelStyle:"",style:"fill: none; stroke: black",padding:(h=(f=m().flowchart)==null?void 0:f.padding)!=null?h:(o=m().class)==null?void 0:o.padding};t.setNode(n.id,r),lt(n.classes,t,i,l,n.id),s.info("setNode",r)})},"addNamespaces"),lt=g(function(e,t,i,l,n){s.info("keys:",[...e.keys()]),s.info(e),[...e.values()].filter(a=>a.parent===n).forEach(function(a){var p,w,d,c;const r=a.cssClasses.join(" "),f=Q(a.styles),o=(p=a.label)!=null?p:a.id,h=0,y={labelStyle:f.labelStyle,shape:"class_box",labelText:M(o),classData:a,rx:h,ry:h,class:r,style:f.style,id:a.id,domId:a.domId,tooltip:l.db.getTooltip(a.id,n)||"",haveCallback:a.haveCallback,link:a.link,width:a.type==="group"?500:void 0,type:a.type,padding:(c=(w=m().flowchart)==null?void 0:w.padding)!=null?c:(d=m().class)==null?void 0:d.padding};t.setNode(a.id,y),n&&t.setParent(a.id,n),s.info("setNode",y)})},"addClasses"),zt=g(function(e,t,i,l){s.info(e),e.forEach(function(n,a){var c,v,N;const r=n,f="",o={labelStyle:"",style:""},h=r.text,b=0,p={labelStyle:o.labelStyle,shape:"note",labelText:M(h),noteData:r,rx:b,ry:b,class:f,style:o.style,id:r.id,domId:r.id,tooltip:"",type:"note",padding:(N=(c=m().flowchart)==null?void 0:c.padding)!=null?N:(v=m().class)==null?void 0:v.padding};if(t.setNode(r.id,p),s.info("setNode",p),!r.class||!l.has(r.class))return;const w=i+a,d={id:`edgeNote${w}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:U(O.curve,Y)};t.setEdge(r.id,r.class,d,w)})},"addNotes"),Wt=g(function(e,t){const i=m().flowchart;let l=0;e.forEach(function(n){var r,f;l++;const a={classes:"relation",pattern:n.relation.lineType==1?"dashed":"solid",id:kt(n.id1,n.id2,{prefix:"id",counter:l}),arrowhead:n.type==="arrow_open"?"none":"normal",startLabelRight:n.relationTitle1==="none"?"":n.relationTitle1,endLabelLeft:n.relationTitle2==="none"?"":n.relationTitle2,arrowTypeStart:P(n.relation.type1),arrowTypeEnd:P(n.relation.type2),style:"fill:none",labelStyle:"",curve:U(i==null?void 0:i.curve,Y)};if(s.info(a,n),n.style!==void 0){const o=Q(n.style);a.style=o.style,a.labelStyle=o.labelStyle}n.text=n.title,n.text===void 0?n.style!==void 0&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",((f=(r=m().flowchart)==null?void 0:r.htmlLabels)!=null?f:m().htmlLabels)?(a.labelType="html",a.label=''+n.text+""):(a.labelType="text",a.label=n.text.replace(Z.lineBreakRegex,` `),n.style===void 0&&(a.style=a.style||"stroke: #333; stroke-width: 1.5px;fill:none"),a.labelStyle=a.labelStyle.replace("color:","fill:"))),t.setEdge(n.id1,n.id2,a,l)})},"addRelations"),qt=g(function(e){O=B(B({},O),e)},"setConf"),Vt=g(function(e,t,i,l){return C(this,null,function*(){var N,T,E,F;s.info("Drawing class - ",t);const n=(N=m().flowchart)!=null?N:m().class,a=m().securityLevel;s.info("config:",n);const r=(T=n==null?void 0:n.nodeSpacing)!=null?T:50,f=(E=n==null?void 0:n.rankSpacing)!=null?E:50,o=new I({multigraph:!0,compound:!0}).setGraph({rankdir:l.db.getDirection(),nodesep:r,ranksep:f,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),h=l.db.getNamespaces(),b=l.db.getClasses(),y=l.db.getRelations(),p=l.db.getNotes();s.info(y),Ht(h,o,t,l),lt(b,o,t,l),Wt(y,o),zt(p,o,y.length+1,b);let w;a==="sandbox"&&(w=D("#i"+t));const d=a==="sandbox"?D(w.nodes()[0].contentDocument.body):D("body"),c=d.select(`[id="${t}"]`),v=d.select("#"+t+" g");if(yield $t(v,o,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),Ct.insertTitle(c,"classTitleText",(F=n==null?void 0:n.titleTopMargin)!=null?F:5,l.db.getDiagramTitle()),Tt(o,c,n==null?void 0:n.diagramPadding,n==null?void 0:n.useMaxWidth),!(n!=null&&n.htmlLabels)){const $=a==="sandbox"?w.nodes()[0].contentDocument:document,ot=$.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const J of ot){const H=J.getBBox(),k=$.createElementNS("http://www.w3.org/2000/svg","rect");k.setAttribute("rx",0),k.setAttribute("ry",0),k.setAttribute("width",H.width),k.setAttribute("height",H.height),J.insertBefore(k,J.firstChild)}}})},"draw");function P(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}g(P,"getArrowMarker");var jt={setConf:qt,draw:Vt},he={parser:pt,db:V,renderer:jt,styles:vt,init:g(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,V.clear()},"init")};export{he as diagram}; diff --git a/pr-preview/pr-459/assets/clone-BEY0myKV.js b/pr-preview/pr-459/assets/clone-BEY0myKV.js deleted file mode 100644 index b36faf874..000000000 --- a/pr-preview/pr-459/assets/clone-BEY0myKV.js +++ /dev/null @@ -1 +0,0 @@ -import{b as r}from"./_baseUniq-l1FN7L1W.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/pr-preview/pr-459/assets/clone-CBvD7XM0.js b/pr-preview/pr-459/assets/clone-CBvD7XM0.js new file mode 100644 index 000000000..2b7df8bc9 --- /dev/null +++ b/pr-preview/pr-459/assets/clone-CBvD7XM0.js @@ -0,0 +1 @@ +import{b as r}from"./_baseUniq-BCQ8vHUx.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/pr-preview/pr-459/assets/dagre-P3YPLUS5-Dxc5z9VO.js b/pr-preview/pr-459/assets/dagre-P3YPLUS5-tmhkDAnh.js similarity index 96% rename from pr-preview/pr-459/assets/dagre-P3YPLUS5-Dxc5z9VO.js rename to pr-preview/pr-459/assets/dagre-P3YPLUS5-tmhkDAnh.js index e26d4efd2..be67c4904 100644 --- a/pr-preview/pr-459/assets/dagre-P3YPLUS5-Dxc5z9VO.js +++ b/pr-preview/pr-459/assets/dagre-P3YPLUS5-tmhkDAnh.js @@ -1,4 +1,4 @@ -var H=Object.defineProperty,q=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var B=(n,t,e)=>t in n?H(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,O=(n,t)=>{for(var e in t||(t={}))K.call(t,e)&&B(n,e,t[e]);if(k)for(var e of k(t))Q.call(t,e)&&B(n,e,t[e]);return n},A=(n,t)=>q(n,z(t));var b=(n,t,e)=>new Promise((c,d)=>{var a=o=>{try{u(e.next(o))}catch(w){d(w)}},r=o=>{try{u(e.throw(o))}catch(w){d(w)}},u=o=>o.done?c(o.value):Promise.resolve(o.value).then(a,r);u((e=e.apply(n,t)).next())});import{_ as X,am as U,an as V,ao as W,ap as Z,l as i,d as $,aq as I,ar as L,as as ee,ae as ne,at as J,au as te,av as se,aw as ie,ax as re}from"./Using existing ones-Dhq84SWT.js";import{G as R}from"./graph-CTYIQWTo.js";import{l as oe}from"./layout-nu6vrpop.js";import{w as p}from"./json-wyNrEGgq.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";var f=new Map,C=new Map,T=new Map,ce=X(()=>{C.clear(),T.clear(),f.clear()},"clear"),P=X((n,t)=>{const e=C.get(t)||[];return i.trace("In isDescendant",t," ",n," = ",e.includes(n)),e.includes(n)},"isDescendant"),ae=X((n,t)=>{const e=C.get(t)||[];return i.info("Descendants of ",t," is ",e),i.info("Edge is ",n),n.v===t||n.w===t?!1:e?e.includes(n.v)||P(n.v,t)||P(n.w,t)||e.includes(n.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),M=X((n,t,e,c)=>{i.warn("Copying children of ",n,"root",c,"data",t.node(n),c);const d=t.children(n)||[];n!==c&&d.push(n),i.warn("Copying (nodes) clusterId",n,"nodes",d),d.forEach(a=>{if(t.children(a).length>0)M(a,t,e,c);else{const r=t.node(a);i.info("cp ",a," to ",c," with parent ",n),e.setNode(a,r),c!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),e.setParent(a,t.parent(a))),n!==c&&a!==n?(i.debug("Setting parent",a,n),e.setParent(a,n)):(i.info("In copy ",n,"root",c,"data",t.node(n),c),i.debug("Not Setting parent for node=",a,"cluster!==rootId",n!==c,"node!==clusterId",a!==n));const u=t.edges(a);i.debug("Copying Edges",u),u.forEach(o=>{i.info("Edge",o);const w=t.edge(o.v,o.w,o.name);i.info("Edge data",w,c);try{ae(o,c)?(i.info("Copying as ",o.v,o.w,w,o.name),e.setEdge(o.v,o.w,w,o.name),i.info("newGraph edges ",e.edges(),e.edge(e.edges()[0]))):i.info("Skipping copy of edge ",o.v,"-->",o.w," rootId: ",c," clusterId:",n)}catch(x){i.error(x)}})}i.debug("Removing node",a),t.removeNode(a)})},"copy"),F=X((n,t)=>{const e=t.children(n);let c=[...e];for(const d of e)T.set(d,n),c=[...c,...F(d,t)];return c},"extractDescendants"),de=X((n,t,e)=>{const c=n.edges().filter(o=>o.v===t||o.w===t),d=n.edges().filter(o=>o.v===e||o.w===e),a=c.map(o=>({v:o.v===t?e:o.v,w:o.w===t?t:o.w})),r=d.map(o=>({v:o.v,w:o.w}));return a.filter(o=>r.some(w=>o.v===w.v&&o.w===w.w))},"findCommonEdges"),D=X((n,t,e)=>{const c=t.children(n);if(i.trace("Searching children of id ",n,c),c.length<1)return n;let d;for(const a of c){const r=D(a,t,e),u=de(t,e,r);if(r)if(u.length>0)d=r;else return r}return d},"findNonClusterChild"),G=X(n=>!f.has(n)||!f.get(n).externalConnections?n:f.has(n)?f.get(n).id:n,"getAnchorId"),le=X((n,t)=>{if(!n||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");n.nodes().forEach(function(e){n.children(e).length>0&&(i.warn("Cluster identified",e," Replacement id in edges: ",D(e,n,e)),C.set(e,F(e,n)),f.set(e,{id:D(e,n,e),clusterData:n.node(e)}))}),n.nodes().forEach(function(e){const c=n.children(e),d=n.edges();c.length>0?(i.debug("Cluster identified",e,C),d.forEach(a=>{const r=P(a.v,e),u=P(a.w,e);r^u&&(i.warn("Edge: ",a," leaves cluster ",e),i.warn("Descendants of XXX ",e,": ",C.get(e)),f.get(e).externalConnections=!0)})):i.debug("Not a cluster ",e,C)});for(let e of f.keys()){const c=f.get(e).id,d=n.parent(c);d!==e&&f.has(d)&&!f.get(d).externalConnections&&(f.get(e).id=d)}n.edges().forEach(function(e){const c=n.edge(e);i.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),i.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(n.edge(e)));let d=e.v,a=e.w;if(i.warn("Fix XXX",f,"ids:",e.v,e.w,"Translating: ",f.get(e.v)," --- ",f.get(e.w)),f.get(e.v)||f.get(e.w)){if(i.warn("Fixing and trying - removing XXX",e.v,e.w,e.name),d=G(e.v),a=G(e.w),n.removeEdge(e.v,e.w,e.name),d!==e.v){const r=n.parent(d);f.get(r).externalConnections=!0,c.fromCluster=e.v}if(a!==e.w){const r=n.parent(a);f.get(r).externalConnections=!0,c.toCluster=e.w}i.warn("Fix Replacing with XXX",d,a,e.name),n.setEdge(d,a,c,e.name)}}),i.warn("Adjusted Graph",p(n)),Y(n,0),i.trace(f)},"adjustClustersAndEdges"),Y=X((n,t)=>{var d,a;if(i.warn("extractor - ",t,p(n),n.children("D")),t>10){i.error("Bailing out");return}let e=n.nodes(),c=!1;for(const r of e){const u=n.children(r);c=c||u.length>0}if(!c){i.debug("Done, no node has children",n.nodes());return}i.debug("Nodes = ",e,t);for(const r of e)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!n.parent(r),n.node(r),n.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&n.children(r)&&n.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let o=n.graph().rankdir==="TB"?"LR":"TB";(a=(d=f.get(r))==null?void 0:d.clusterData)!=null&&a.dir&&(o=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,o));const w=new R({multigraph:!0,compound:!0}).setGraph({rankdir:o,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",p(n)),M(r,n,w,r),n.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:w}),i.warn("New graph after copy node: (",r,")",p(w)),i.debug("Old graph after copy",p(n))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!n.parent(r)," children ",n.children(r)&&n.children(r).length>0,n.children("D"),t),i.debug(f);e=n.nodes(),i.warn("New list of nodes",e);for(const r of e){const u=n.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&Y(u.graph,t+1)}},"extractor"),_=X((n,t)=>{if(t.length===0)return[];let e=Object.assign([],t);return t.forEach(c=>{const d=n.children(c),a=_(n,d);e=[...e,...a]}),e},"sorter"),fe=X(n=>_(n,n.children()),"sortNodesByHierarchy"),j=X((n,t,e,c,d,a)=>b(void 0,null,function*(){i.warn("Graph in recursive render:XAX",p(t),d);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=n.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const o=u.insert("g").attr("class","clusters"),w=u.insert("g").attr("class","edgePaths"),x=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");yield Promise.all(t.nodes().map(function(l){return b(this,null,function*(){const s=t.node(l);if(d!==void 0){const h=JSON.parse(JSON.stringify(d.clusterData));i.trace(`Setting data for parent cluster XXX +var H=Object.defineProperty,q=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var B=(n,t,e)=>t in n?H(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,O=(n,t)=>{for(var e in t||(t={}))K.call(t,e)&&B(n,e,t[e]);if(k)for(var e of k(t))Q.call(t,e)&&B(n,e,t[e]);return n},A=(n,t)=>q(n,z(t));var b=(n,t,e)=>new Promise((c,d)=>{var a=o=>{try{u(e.next(o))}catch(w){d(w)}},r=o=>{try{u(e.throw(o))}catch(w){d(w)}},u=o=>o.done?c(o.value):Promise.resolve(o.value).then(a,r);u((e=e.apply(n,t)).next())});import{_ as X,am as U,an as V,ao as W,ap as Z,l as i,d as $,aq as I,ar as L,as as ee,ae as ne,at as J,au as te,av as se,aw as ie,ax as re}from"./Using existing ones-B8pwVpRB.js";import{G as R}from"./graph-BXEtUiHV.js";import{l as oe}from"./layout-DzKhK8C3.js";import{w as p}from"./json-C1PkXS5l.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";var f=new Map,C=new Map,T=new Map,ce=X(()=>{C.clear(),T.clear(),f.clear()},"clear"),P=X((n,t)=>{const e=C.get(t)||[];return i.trace("In isDescendant",t," ",n," = ",e.includes(n)),e.includes(n)},"isDescendant"),ae=X((n,t)=>{const e=C.get(t)||[];return i.info("Descendants of ",t," is ",e),i.info("Edge is ",n),n.v===t||n.w===t?!1:e?e.includes(n.v)||P(n.v,t)||P(n.w,t)||e.includes(n.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),M=X((n,t,e,c)=>{i.warn("Copying children of ",n,"root",c,"data",t.node(n),c);const d=t.children(n)||[];n!==c&&d.push(n),i.warn("Copying (nodes) clusterId",n,"nodes",d),d.forEach(a=>{if(t.children(a).length>0)M(a,t,e,c);else{const r=t.node(a);i.info("cp ",a," to ",c," with parent ",n),e.setNode(a,r),c!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),e.setParent(a,t.parent(a))),n!==c&&a!==n?(i.debug("Setting parent",a,n),e.setParent(a,n)):(i.info("In copy ",n,"root",c,"data",t.node(n),c),i.debug("Not Setting parent for node=",a,"cluster!==rootId",n!==c,"node!==clusterId",a!==n));const u=t.edges(a);i.debug("Copying Edges",u),u.forEach(o=>{i.info("Edge",o);const w=t.edge(o.v,o.w,o.name);i.info("Edge data",w,c);try{ae(o,c)?(i.info("Copying as ",o.v,o.w,w,o.name),e.setEdge(o.v,o.w,w,o.name),i.info("newGraph edges ",e.edges(),e.edge(e.edges()[0]))):i.info("Skipping copy of edge ",o.v,"-->",o.w," rootId: ",c," clusterId:",n)}catch(x){i.error(x)}})}i.debug("Removing node",a),t.removeNode(a)})},"copy"),F=X((n,t)=>{const e=t.children(n);let c=[...e];for(const d of e)T.set(d,n),c=[...c,...F(d,t)];return c},"extractDescendants"),de=X((n,t,e)=>{const c=n.edges().filter(o=>o.v===t||o.w===t),d=n.edges().filter(o=>o.v===e||o.w===e),a=c.map(o=>({v:o.v===t?e:o.v,w:o.w===t?t:o.w})),r=d.map(o=>({v:o.v,w:o.w}));return a.filter(o=>r.some(w=>o.v===w.v&&o.w===w.w))},"findCommonEdges"),D=X((n,t,e)=>{const c=t.children(n);if(i.trace("Searching children of id ",n,c),c.length<1)return n;let d;for(const a of c){const r=D(a,t,e),u=de(t,e,r);if(r)if(u.length>0)d=r;else return r}return d},"findNonClusterChild"),G=X(n=>!f.has(n)||!f.get(n).externalConnections?n:f.has(n)?f.get(n).id:n,"getAnchorId"),le=X((n,t)=>{if(!n||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");n.nodes().forEach(function(e){n.children(e).length>0&&(i.warn("Cluster identified",e," Replacement id in edges: ",D(e,n,e)),C.set(e,F(e,n)),f.set(e,{id:D(e,n,e),clusterData:n.node(e)}))}),n.nodes().forEach(function(e){const c=n.children(e),d=n.edges();c.length>0?(i.debug("Cluster identified",e,C),d.forEach(a=>{const r=P(a.v,e),u=P(a.w,e);r^u&&(i.warn("Edge: ",a," leaves cluster ",e),i.warn("Descendants of XXX ",e,": ",C.get(e)),f.get(e).externalConnections=!0)})):i.debug("Not a cluster ",e,C)});for(let e of f.keys()){const c=f.get(e).id,d=n.parent(c);d!==e&&f.has(d)&&!f.get(d).externalConnections&&(f.get(e).id=d)}n.edges().forEach(function(e){const c=n.edge(e);i.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),i.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(n.edge(e)));let d=e.v,a=e.w;if(i.warn("Fix XXX",f,"ids:",e.v,e.w,"Translating: ",f.get(e.v)," --- ",f.get(e.w)),f.get(e.v)||f.get(e.w)){if(i.warn("Fixing and trying - removing XXX",e.v,e.w,e.name),d=G(e.v),a=G(e.w),n.removeEdge(e.v,e.w,e.name),d!==e.v){const r=n.parent(d);f.get(r).externalConnections=!0,c.fromCluster=e.v}if(a!==e.w){const r=n.parent(a);f.get(r).externalConnections=!0,c.toCluster=e.w}i.warn("Fix Replacing with XXX",d,a,e.name),n.setEdge(d,a,c,e.name)}}),i.warn("Adjusted Graph",p(n)),Y(n,0),i.trace(f)},"adjustClustersAndEdges"),Y=X((n,t)=>{var d,a;if(i.warn("extractor - ",t,p(n),n.children("D")),t>10){i.error("Bailing out");return}let e=n.nodes(),c=!1;for(const r of e){const u=n.children(r);c=c||u.length>0}if(!c){i.debug("Done, no node has children",n.nodes());return}i.debug("Nodes = ",e,t);for(const r of e)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!n.parent(r),n.node(r),n.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&n.children(r)&&n.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let o=n.graph().rankdir==="TB"?"LR":"TB";(a=(d=f.get(r))==null?void 0:d.clusterData)!=null&&a.dir&&(o=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,o));const w=new R({multigraph:!0,compound:!0}).setGraph({rankdir:o,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",p(n)),M(r,n,w,r),n.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:w}),i.warn("New graph after copy node: (",r,")",p(w)),i.debug("Old graph after copy",p(n))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!n.parent(r)," children ",n.children(r)&&n.children(r).length>0,n.children("D"),t),i.debug(f);e=n.nodes(),i.warn("New list of nodes",e);for(const r of e){const u=n.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&Y(u.graph,t+1)}},"extractor"),_=X((n,t)=>{if(t.length===0)return[];let e=Object.assign([],t);return t.forEach(c=>{const d=n.children(c),a=_(n,d);e=[...e,...a]}),e},"sorter"),fe=X(n=>_(n,n.children()),"sortNodesByHierarchy"),j=X((n,t,e,c,d,a)=>b(void 0,null,function*(){i.warn("Graph in recursive render:XAX",p(t),d);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=n.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const o=u.insert("g").attr("class","clusters"),w=u.insert("g").attr("class","edgePaths"),x=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");yield Promise.all(t.nodes().map(function(l){return b(this,null,function*(){const s=t.node(l);if(d!==void 0){const h=JSON.parse(JSON.stringify(d.clusterData));i.trace(`Setting data for parent cluster XXX Node.id = `,l,` data=`,h.height,` Parent cluster`,d.height),t.setNode(d.id,h),t.parent(l)||(i.trace("Setting parent",l,d.id),t.setParent(l,d.id,h))}if(i.info("(Insert) Node XXX"+l+": "+JSON.stringify(t.node(l))),s!=null&&s.clusterNode){i.info("Cluster identified XBX",l,s.width,t.node(l));const{ranksep:h,nodesep:v}=t.graph();s.graph.setGraph(A(O({},s.graph.graph()),{ranksep:h+25,nodesep:v}));const N=yield j(g,s.graph,e,c,t.node(l),a),S=N.elem;I(s,S),s.diff=N.diff||0,i.info("New compound node after recursive render XAX",l,"width",s.width,"height",s.height),L(S,s)}else t.children(l).length>0?(i.trace("Cluster - the non recursive path XBX",l,s.id,s,s.width,"Graph:",t),i.trace(D(s.id,t)),f.set(s.id,{id:D(s.id,t),node:s})):(i.trace("Node - the non recursive path XAX",l,g,t.node(l),r),yield ee(g,t.node(l),r))})})),yield X(()=>b(void 0,null,function*(){const l=t.edges().map(function(s){return b(this,null,function*(){const h=t.edge(s.v,s.w,s.name);i.info("Edge "+s.v+" -> "+s.w+": "+JSON.stringify(s)),i.info("Edge "+s.v+" -> "+s.w+": ",s," ",JSON.stringify(t.edge(s))),i.info("Fix",f,"ids:",s.v,s.w,"Translating: ",f.get(s.v),f.get(s.w)),yield re(x,h)})});yield Promise.all(l)}),"processEdges")(),i.info("Graph before layout:",JSON.stringify(p(t))),i.info("############################################# XXX"),i.info("### Layout ### XXX"),i.info("############################################# XXX"),oe(t),i.info("Graph after layout:",JSON.stringify(p(t)));let E=0,{subGraphTitleTotalMargin:y}=ne(a);return yield Promise.all(fe(t).map(function(l){return b(this,null,function*(){var h;const s=t.node(l);if(i.info("Position XBX => "+l+": ("+s.x,","+s.y,") width: ",s.width," height: ",s.height),s!=null&&s.clusterNode)s.y+=y,i.info("A tainted cluster node XBX1",l,s.id,s.width,s.height,s.x,s.y,t.parent(l)),f.get(s.id).node=s,J(s);else if(t.children(l).length>0){i.info("A pure cluster node XBX1",l,s.id,s.x,s.y,s.width,s.height,t.parent(l)),s.height+=y,t.node(s.parentId);const v=(s==null?void 0:s.padding)/2||0,N=((h=s==null?void 0:s.labelBBox)==null?void 0:h.height)||0,S=N-v||0;i.debug("OffsetY",S,"labelHeight",N,"halfPadding",v),yield te(o,s),f.get(s.id).node=s}else{const v=t.node(s.parentId);s.y+=y/2,i.info("A regular node XBX1 - using the padding",s.id,"parent",s.parentId,s.width,s.height,s.x,s.y,"offsetY",s.offsetY,"parent",v,v==null?void 0:v.offsetY,s),J(s)}})})),t.edges().forEach(function(l){const s=t.edge(l);i.info("Edge "+l.v+" -> "+l.w+": "+JSON.stringify(s),s),s.points.forEach(S=>S.y+=y/2);const h=t.node(l.v);var v=t.node(l.w);const N=se(w,s,f,e,h,v,c);ie(s,N)}),t.nodes().forEach(function(l){const s=t.node(l);i.info(l,s.type,s.diff),s.isGroup&&(E=s.diff)}),i.warn("Returning from recursive render XAX",u,E),{elem:u,diff:E}}),"recursiveRender"),Oe=X((n,t)=>b(void 0,null,function*(){var a,r,u,o,w,x;const e=new R({multigraph:!0,compound:!0}).setGraph({rankdir:n.direction,nodesep:((a=n.config)==null?void 0:a.nodeSpacing)||((u=(r=n.config)==null?void 0:r.flowchart)==null?void 0:u.nodeSpacing)||n.nodeSpacing,ranksep:((o=n.config)==null?void 0:o.rankSpacing)||((x=(w=n.config)==null?void 0:w.flowchart)==null?void 0:x.rankSpacing)||n.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),c=t.select("g");U(c,n.markers,n.type,n.diagramId),V(),W(),Z(),ce(),n.nodes.forEach(g=>{e.setNode(g.id,O({},g)),g.parentId&&e.setParent(g.id,g.parentId)}),i.debug("Edges:",n.edges),n.edges.forEach(g=>{if(g.start===g.end){const m=g.start,E=m+"---"+m+"---1",y=m+"---"+m+"---2",l=e.node(m);e.setNode(E,{domId:E,id:E,parentId:l.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),e.setParent(E,l.parentId),e.setNode(y,{domId:y,id:y,parentId:l.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),e.setParent(y,l.parentId);const s=structuredClone(g),h=structuredClone(g),v=structuredClone(g);s.label="",s.arrowTypeEnd="none",s.id=m+"-cyclic-special-1",h.arrowTypeEnd="none",h.id=m+"-cyclic-special-mid",v.label="",l.isGroup&&(s.fromCluster=m,v.toCluster=m),v.id=m+"-cyclic-special-2",e.setEdge(m,E,s,m+"-cyclic-special-0"),e.setEdge(E,y,h,m+"-cyclic-special-1"),e.setEdge(y,m,v,m+"-cyce in t?z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,h=(t,e)=>{for(var a in e||(e={}))P.call(e,a)&&C(t,a,e[a]);if(x)for(var a of x(e))W.call(e,a)&&C(t,a,e[a]);return t};var $=(t,e,a)=>new Promise((n,s)=>{var o=l=>{try{c(a.next(l))}catch(i){s(i)}},r=l=>{try{c(a.throw(l))}catch(i){s(i)}},c=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,r);c((a=a.apply(t,e)).next())});import{p as T}from"./chunk-OQCM5LHU-_hEzITn5.js";import{F as D,s as _,g as A,q as E,r as N,b as L,c as Y,_ as p,l as y,G as w,H as G,t as H,K as I,k as K}from"./Using existing ones-Dhq84SWT.js";import{p as M}from"./mermaid-parser.core-CbtfyxSr.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";var B={packet:[]},v=structuredClone(B),O=D.packet,q=p(()=>{const t=w(h(h({},O),G().packet));return t.showBits&&(t.paddingY+=10),t},"getConfig"),R=p(()=>v.packet,"getPacket"),U=p(t=>{t.length>0&&v.packet.push(t)},"pushWord"),X=p(()=>{H(),v=structuredClone(B)},"clear"),u={pushWord:U,getPacket:R,getConfig:q,clear:X,setAccTitle:_,getAccTitle:A,setDiagramTitle:E,getDiagramTitle:N,getAccDescription:L,setAccDescription:Y},j=1e4,J=p(t=>{T(t,u);let e=-1,a=[],n=1;const{bitsPerRow:s}=u.getConfig();for(let{start:o,end:r,label:c}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*a?[t,void 0]:[{start:t.start,end:e*a-1,label:t.label},{start:e*a,end:t.end,label:t.label}]},"getNextFittingBlock"),V={parse:p(t=>$(void 0,null,function*(){const e=yield M("packet",t);y.debug(e),J(e)}),"parse")},Z=p((t,e,a,n)=>{const s=n.db,o=s.getConfig(),{rowHeight:r,paddingY:c,bitWidth:l,bitsPerRow:i}=o,m=s.getPacket(),d=s.getDiagramTitle(),k=r+c,g=k*(m.length+1)-(d?0:r),f=l*i+2,b=I(e);b.attr("viewbox",`0 0 ${f} ${g}`),K(b,g,f,o.useMaxWidth);for(const[S,F]of m.entries())tt(b,F,S,o);b.append("text").text(d).attr("x",f/2).attr("y",g-k/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),tt=p((t,e,a,{rowHeight:n,paddingX:s,paddingY:o,bitWidth:r,bitsPerRow:c,showBits:l})=>{const i=t.append("g"),m=a*(n+o)+o;for(const d of e){const k=d.start%c*r+1,g=(d.end-d.start+1)*r-s;if(i.append("rect").attr("x",k).attr("y",m).attr("width",g).attr("height",n).attr("class","packetBlock"),i.append("text").attr("x",k+g/2).attr("y",m+n/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(d.label),!l)continue;const f=d.end===d.start,b=m-2;i.append("text").attr("x",k+(f?g/2:0)).attr("y",b).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",f?"middle":"start").text(d.start),f||i.append("text").attr("x",k+g).attr("y",b).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(d.end)}},"drawWord"),et={draw:Z},at={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},rt=p(({packet:t}={})=>{const e=w(at,t);return` +var z=Object.defineProperty;var x=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var C=(t,e,a)=>e in t?z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,h=(t,e)=>{for(var a in e||(e={}))P.call(e,a)&&C(t,a,e[a]);if(x)for(var a of x(e))W.call(e,a)&&C(t,a,e[a]);return t};var $=(t,e,a)=>new Promise((n,s)=>{var o=l=>{try{c(a.next(l))}catch(i){s(i)}},r=l=>{try{c(a.throw(l))}catch(i){s(i)}},c=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,r);c((a=a.apply(t,e)).next())});import{p as T}from"./chunk-OQCM5LHU-7z38PKjx.js";import{F as D,s as _,g as A,q as E,r as N,b as L,c as Y,_ as p,l as y,G as w,H as G,t as H,K as I,k as K}from"./Using existing ones-B8pwVpRB.js";import{p as M}from"./mermaid-parser.core-BmIAZpsh.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";var B={packet:[]},v=structuredClone(B),O=D.packet,q=p(()=>{const t=w(h(h({},O),G().packet));return t.showBits&&(t.paddingY+=10),t},"getConfig"),R=p(()=>v.packet,"getPacket"),U=p(t=>{t.length>0&&v.packet.push(t)},"pushWord"),X=p(()=>{H(),v=structuredClone(B)},"clear"),u={pushWord:U,getPacket:R,getConfig:q,clear:X,setAccTitle:_,getAccTitle:A,setDiagramTitle:E,getDiagramTitle:N,getAccDescription:L,setAccDescription:Y},j=1e4,J=p(t=>{T(t,u);let e=-1,a=[],n=1;const{bitsPerRow:s}=u.getConfig();for(let{start:o,end:r,label:c}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*a?[t,void 0]:[{start:t.start,end:e*a-1,label:t.label},{start:e*a,end:t.end,label:t.label}]},"getNextFittingBlock"),V={parse:p(t=>$(void 0,null,function*(){const e=yield M("packet",t);y.debug(e),J(e)}),"parse")},Z=p((t,e,a,n)=>{const s=n.db,o=s.getConfig(),{rowHeight:r,paddingY:c,bitWidth:l,bitsPerRow:i}=o,m=s.getPacket(),d=s.getDiagramTitle(),k=r+c,g=k*(m.length+1)-(d?0:r),f=l*i+2,b=I(e);b.attr("viewbox",`0 0 ${f} ${g}`),K(b,g,f,o.useMaxWidth);for(const[S,F]of m.entries())tt(b,F,S,o);b.append("text").text(d).attr("x",f/2).attr("y",g-k/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),tt=p((t,e,a,{rowHeight:n,paddingX:s,paddingY:o,bitWidth:r,bitsPerRow:c,showBits:l})=>{const i=t.append("g"),m=a*(n+o)+o;for(const d of e){const k=d.start%c*r+1,g=(d.end-d.start+1)*r-s;if(i.append("rect").attr("x",k).attr("y",m).attr("width",g).attr("height",n).attr("class","packetBlock"),i.append("text").attr("x",k+g/2).attr("y",m+n/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(d.label),!l)continue;const f=d.end===d.start,b=m-2;i.append("text").attr("x",k+(f?g/2:0)).attr("y",b).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",f?"middle":"start").text(d.start),f||i.append("text").attr("x",k+g).attr("y",b).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(d.end)}},"drawWord"),et={draw:Z},at={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},rt=p(({packet:t}={})=>{const e=w(at,t);return` .packetByte { font-size: ${e.byteFontSize}; } diff --git a/pr-preview/pr-459/assets/erDiagram-62CBQV5Y-BYHnyP8s.js b/pr-preview/pr-459/assets/erDiagram-62CBQV5Y-BDG1Hl9c.js similarity index 98% rename from pr-preview/pr-459/assets/erDiagram-62CBQV5Y-BYHnyP8s.js rename to pr-preview/pr-459/assets/erDiagram-62CBQV5Y-BDG1Hl9c.js index aa87bdbd9..013fe4071 100644 --- a/pr-preview/pr-459/assets/erDiagram-62CBQV5Y-BYHnyP8s.js +++ b/pr-preview/pr-459/assets/erDiagram-62CBQV5Y-BDG1Hl9c.js @@ -1,4 +1,4 @@ -import{_ as f,d as W,s as gt,g as kt,c as xt,b as Rt,q as Ot,r as bt,l as V,t as Nt,j as rt,u as Tt,k as At,a2 as Mt,a8 as vt,a9 as St}from"./Using existing ones-Dhq84SWT.js";import{G as wt}from"./graph-CTYIQWTo.js";import{l as It}from"./layout-nu6vrpop.js";import{u as Dt}from"./stringify-DnirLPRY.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}function Ct(t){if(!Bt(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Pt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function Ut(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const p=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=g,g=at(m,30)>>>0,m=h,h=b}e[0]=e[0]+h>>>0,e[1]=e[1]+m>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+k>>>0,e[4]=e[4]+x>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const zt=Ft("v5",80,Ut);var it=function(){var t=f(function(S,i,n,l){for(n=n||{},l=S.length;l--;n[S[l]]=i);return n},"o"),r=[6,8,10,20,22,24,26,27,28],e=[1,10],u=[1,11],c=[1,12],_=[1,13],p=[1,14],o=[1,15],h=[1,21],m=[1,22],g=[1,23],k=[1,24],x=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],R=[1,34],b=[27,28,46,47],P=[41,42,43,44,45],Y=[17,34],Z=[1,54],M=[1,53],v=[17,34,36,38],N={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:f(function(i,n,l,d,E,a,K){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:e,22:u,24:c,26:_,27:p,28:o},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:16,11:9,20:e,22:u,24:c,26:_,27:p,28:o},t(r,[2,5]),t(r,[2,6]),t(r,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:m,43:g,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(r,[2,18]),t(y,[2,19]),t(y,[2,20]),t(r,[2,4]),{11:29,27:p,28:o},{16:30,17:[1,31],29:32,30:33,34:R},{11:35,27:p,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{13:[1,39]},{17:[1,40]},t(r,[2,10]),{16:41,17:[2,21],29:32,30:33,34:R},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:m,43:g,44:k,45:x},t(P,[2,39]),t(P,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(r,[2,9]),{17:[2,22]},t(Y,[2,23],{32:50,33:51,35:52,37:Z,38:M}),t([17,34,37,38],[2,28]),t(r,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(r,[2,8]),t(r,[2,41]),t(r,[2,42]),t(r,[2,43]),t(Y,[2,24],{33:56,36:[1,57],38:M}),t(Y,[2,25]),t(v,[2,29]),t(Y,[2,32]),t(v,[2,31]),{16:58,17:[1,59],29:32,30:33,34:R},t(Y,[2,26]),{35:60,37:Z},{17:[1,61]},t(r,[2,13]),t(v,[2,30]),t(r,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:f(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:f(function(i){var n=this,l=[0],d=[],E=[null],a=[],K=this.table,s="",Q=0,ot=0,yt=2,lt=1,_t=a.slice.call(arguments,1),A=Object.create(this.lexer),U={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(U.yy[J]=this.yy[J]);A.setInput(i,U.yy),U.yy.lexer=A,U.yy.parser=this,typeof A.yylloc=="undefined"&&(A.yylloc={});var $=A.yylloc;a.push($);var Et=A.options&&A.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(I){l.length=l.length-2*I,E.length=E.length-I,a.length=a.length-I}f(mt,"popStack");function ct(){var I;return I=d.pop()||A.lex()||lt,typeof I!="number"&&(I instanceof Array&&(d=I,I=d.pop()),I=n.symbols_[I]||I),I}f(ct,"lex");for(var w,z,L,tt,G={},j,F,ht,q;;){if(z=l[l.length-1],this.defaultActions[z]?L=this.defaultActions[z]:((w===null||typeof w=="undefined")&&(w=ct()),L=K[z]&&K[z][w]),typeof L=="undefined"||!L.length||!L[0]){var et="";q=[];for(j in K[z])this.terminals_[j]&&j>yt&&q.push("'"+this.terminals_[j]+"'");A.showPosition?et="Parse error on line "+(Q+1)+`: +import{_ as f,d as W,s as gt,g as kt,c as xt,b as Rt,q as Ot,r as bt,l as V,t as Nt,j as rt,u as Tt,k as At,a2 as Mt,a8 as vt,a9 as St}from"./Using existing ones-B8pwVpRB.js";import{G as wt}from"./graph-BXEtUiHV.js";import{l as It}from"./layout-DzKhK8C3.js";import{u as Dt}from"./stringify-DnirLPRY.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}function Ct(t){if(!Bt(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Pt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function Ut(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const p=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=g,g=at(m,30)>>>0,m=h,h=b}e[0]=e[0]+h>>>0,e[1]=e[1]+m>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+k>>>0,e[4]=e[4]+x>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const zt=Ft("v5",80,Ut);var it=function(){var t=f(function(S,i,n,l){for(n=n||{},l=S.length;l--;n[S[l]]=i);return n},"o"),r=[6,8,10,20,22,24,26,27,28],e=[1,10],u=[1,11],c=[1,12],_=[1,13],p=[1,14],o=[1,15],h=[1,21],m=[1,22],g=[1,23],k=[1,24],x=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],R=[1,34],b=[27,28,46,47],P=[41,42,43,44,45],Y=[17,34],Z=[1,54],M=[1,53],v=[17,34,36,38],N={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:f(function(i,n,l,d,E,a,K){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:e,22:u,24:c,26:_,27:p,28:o},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:16,11:9,20:e,22:u,24:c,26:_,27:p,28:o},t(r,[2,5]),t(r,[2,6]),t(r,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:m,43:g,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(r,[2,18]),t(y,[2,19]),t(y,[2,20]),t(r,[2,4]),{11:29,27:p,28:o},{16:30,17:[1,31],29:32,30:33,34:R},{11:35,27:p,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{13:[1,39]},{17:[1,40]},t(r,[2,10]),{16:41,17:[2,21],29:32,30:33,34:R},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:m,43:g,44:k,45:x},t(P,[2,39]),t(P,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(r,[2,9]),{17:[2,22]},t(Y,[2,23],{32:50,33:51,35:52,37:Z,38:M}),t([17,34,37,38],[2,28]),t(r,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(r,[2,8]),t(r,[2,41]),t(r,[2,42]),t(r,[2,43]),t(Y,[2,24],{33:56,36:[1,57],38:M}),t(Y,[2,25]),t(v,[2,29]),t(Y,[2,32]),t(v,[2,31]),{16:58,17:[1,59],29:32,30:33,34:R},t(Y,[2,26]),{35:60,37:Z},{17:[1,61]},t(r,[2,13]),t(v,[2,30]),t(r,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:f(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:f(function(i){var n=this,l=[0],d=[],E=[null],a=[],K=this.table,s="",Q=0,ot=0,yt=2,lt=1,_t=a.slice.call(arguments,1),A=Object.create(this.lexer),U={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(U.yy[J]=this.yy[J]);A.setInput(i,U.yy),U.yy.lexer=A,U.yy.parser=this,typeof A.yylloc=="undefined"&&(A.yylloc={});var $=A.yylloc;a.push($);var Et=A.options&&A.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(I){l.length=l.length-2*I,E.length=E.length-I,a.length=a.length-I}f(mt,"popStack");function ct(){var I;return I=d.pop()||A.lex()||lt,typeof I!="number"&&(I instanceof Array&&(d=I,I=d.pop()),I=n.symbols_[I]||I),I}f(ct,"lex");for(var w,z,L,tt,G={},j,F,ht,q;;){if(z=l[l.length-1],this.defaultActions[z]?L=this.defaultActions[z]:((w===null||typeof w=="undefined")&&(w=ct()),L=K[z]&&K[z][w]),typeof L=="undefined"||!L.length||!L[0]){var et="";q=[];for(j in K[z])this.terminals_[j]&&j>yt&&q.push("'"+this.terminals_[j]+"'");A.showPosition?et="Parse error on line "+(Q+1)+`: `+A.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[w]||w)+"'":et="Parse error on line "+(Q+1)+": Unexpected "+(w==lt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(et,{text:A.match,token:this.terminals_[w]||w,line:A.yylineno,loc:$,expected:q})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+w);switch(L[0]){case 1:l.push(w),E.push(A.yytext),a.push(A.yylloc),l.push(L[1]),w=null,ot=A.yyleng,s=A.yytext,Q=A.yylineno,$=A.yylloc;break;case 2:if(F=this.productions_[L[1]][1],G.$=E[E.length-F],G._$={first_line:a[a.length-(F||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(F||1)].first_column,last_column:a[a.length-1].last_column},Et&&(G._$.range=[a[a.length-(F||1)].range[0],a[a.length-1].range[1]]),tt=this.performAction.apply(G,[s,ot,Q,U.yy,L[1],E,a].concat(_t)),typeof tt!="undefined")return tt;F&&(l=l.slice(0,-1*F*2),E=E.slice(0,-1*F),a=a.slice(0,-1*F)),l.push(this.productions_[L[1]][0]),E.push(G.$),a.push(G._$),ht=K[l[l.length-2]][l[l.length-1]],l.push(ht);break;case 3:return!0}}return!0},"parse")},T=function(){var S={EOF:1,parseError:f(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:f(function(i,n){return this.yy=n||this.yy||{},this._input=i,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:f(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:f(function(i){var n=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=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),l.length-1&&(this.yylineno-=l.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:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(i){this.unput(this.match.slice(i))},"less"),pastInput:f(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/flowDiagram-JSIZSE4D-BdE-1C2C.js b/pr-preview/pr-459/assets/flowDiagram-JSIZSE4D-DaZ-t6Ql.js similarity index 99% rename from pr-preview/pr-459/assets/flowDiagram-JSIZSE4D-BdE-1C2C.js rename to pr-preview/pr-459/assets/flowDiagram-JSIZSE4D-DaZ-t6Ql.js index aa3c3f7cc..8ea6141d9 100644 --- a/pr-preview/pr-459/assets/flowDiagram-JSIZSE4D-BdE-1C2C.js +++ b/pr-preview/pr-459/assets/flowDiagram-JSIZSE4D-DaZ-t6Ql.js @@ -1,4 +1,4 @@ -var Qe=(e,r,i)=>new Promise((u,n)=>{var c=l=>{try{g(i.next(l))}catch(d){n(d)}},p=l=>{try{g(i.throw(l))}catch(d){n(d)}},g=l=>l.done?u(l.value):Promise.resolve(l.value).then(c,p);g((i=i.apply(e,r)).next())});import{g as ft,s as At}from"./chunk-DUMQOTYW-BjCuNlre.js";import"./chunk-YWFND7JV-CGN8NYbJ.js";import{d as M1,_ as o,o as Ze,p as gt,s as kt,g as bt,b as Et,c as mt,q as St,r as Dt,l as e1,u as Ae,t as xt,v as Tt,j as x1,x as Ct,y as yt,e as Ft,z as _t}from"./Using existing ones-Dhq84SWT.js";import{c as vt}from"./channel-CSXReVqn.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var Bt="flowchart-",Je=0,O1=M1(),k1=new Map,W=[],j1=new Map,f1=[],ge=new Map,ke=new Map,ee=0,pe=!0,H,se,re=[],ie=o(e=>Ft.sanitizeText(e,O1),"sanitizeText"),ue=o(function(e){for(const r of k1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Vt=o(function(e,r,i,u,n,c,p={}){if(!e||e.trim().length===0)return;let g,l=k1.get(e);l===void 0&&(l={id:e,labelType:"text",domId:Bt+e+"-"+Je,styles:[],classes:[]},k1.set(e,l)),Je++,r!==void 0?(O1=M1(),g=ie(r.text.trim()),l.labelType=r.type,g.startsWith('"')&&g.endsWith('"')&&(g=g.substring(1,g.length-1)),l.text=g):l.text===void 0&&(l.text=e),i!==void 0&&(l.type=i),u!=null&&u.forEach(function(d){l.styles.push(d)}),n!=null&&n.forEach(function(d){l.classes.push(d)}),c!==void 0&&(l.dir=c),l.props===void 0?l.props=p:p!==void 0&&Object.assign(l.props,p)},"addVertex"),Lt=o(function(e,r,i){var g;const c={start:e,end:r,type:void 0,text:"",labelType:"text"};e1.info("abc78 Got edge...",c);const p=i.text;if(p!==void 0&&(c.text=ie(p.text.trim()),c.text.startsWith('"')&&c.text.endsWith('"')&&(c.text=c.text.substring(1,c.text.length-1)),c.labelType=p.type),i!==void 0&&(c.type=i.type,c.stroke=i.stroke,c.length=i.length>10?10:i.length),W.length<((g=O1.maxEdges)!=null?g:500))e1.info("Pushing edge..."),W.push(c);else throw new Error(`Edge limit exceeded. ${W.length} edges found, but the limit is ${O1.maxEdges}. +var Qe=(e,r,i)=>new Promise((u,n)=>{var c=l=>{try{g(i.next(l))}catch(d){n(d)}},p=l=>{try{g(i.throw(l))}catch(d){n(d)}},g=l=>l.done?u(l.value):Promise.resolve(l.value).then(c,p);g((i=i.apply(e,r)).next())});import{g as ft,s as At}from"./chunk-DUMQOTYW-0xJyfB2B.js";import"./chunk-YWFND7JV-DWdokYeW.js";import{d as M1,_ as o,o as Ze,p as gt,s as kt,g as bt,b as Et,c as mt,q as St,r as Dt,l as e1,u as Ae,t as xt,v as Tt,j as x1,x as Ct,y as yt,e as Ft,z as _t}from"./Using existing ones-B8pwVpRB.js";import{c as vt}from"./channel-DM4B-Npq.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var Bt="flowchart-",Je=0,O1=M1(),k1=new Map,W=[],j1=new Map,f1=[],ge=new Map,ke=new Map,ee=0,pe=!0,H,se,re=[],ie=o(e=>Ft.sanitizeText(e,O1),"sanitizeText"),ue=o(function(e){for(const r of k1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Vt=o(function(e,r,i,u,n,c,p={}){if(!e||e.trim().length===0)return;let g,l=k1.get(e);l===void 0&&(l={id:e,labelType:"text",domId:Bt+e+"-"+Je,styles:[],classes:[]},k1.set(e,l)),Je++,r!==void 0?(O1=M1(),g=ie(r.text.trim()),l.labelType=r.type,g.startsWith('"')&&g.endsWith('"')&&(g=g.substring(1,g.length-1)),l.text=g):l.text===void 0&&(l.text=e),i!==void 0&&(l.type=i),u!=null&&u.forEach(function(d){l.styles.push(d)}),n!=null&&n.forEach(function(d){l.classes.push(d)}),c!==void 0&&(l.dir=c),l.props===void 0?l.props=p:p!==void 0&&Object.assign(l.props,p)},"addVertex"),Lt=o(function(e,r,i){var g;const c={start:e,end:r,type:void 0,text:"",labelType:"text"};e1.info("abc78 Got edge...",c);const p=i.text;if(p!==void 0&&(c.text=ie(p.text.trim()),c.text.startsWith('"')&&c.text.endsWith('"')&&(c.text=c.text.substring(1,c.text.length-1)),c.labelType=p.type),i!==void 0&&(c.type=i.type,c.stroke=i.stroke,c.length=i.length>10?10:i.length),W.length<((g=O1.maxEdges)!=null?g:500))e1.info("Pushing edge..."),W.push(c);else throw new Error(`Edge limit exceeded. ${W.length} edges found, but the limit is ${O1.maxEdges}. Initialize mermaid with maxEdges set to a higher number to allow more edges. You cannot set this config via configuration inside the diagram as it is a secure config. diff --git a/pr-preview/pr-459/assets/formatter-2WMMO6ZP-C2iMpETE.js b/pr-preview/pr-459/assets/formatter-2WMMO6ZP-CrGQgcH5.js similarity index 99% rename from pr-preview/pr-459/assets/formatter-2WMMO6ZP-C2iMpETE.js rename to pr-preview/pr-459/assets/formatter-2WMMO6ZP-CrGQgcH5.js index 650b94f8c..a047be952 100644 --- a/pr-preview/pr-459/assets/formatter-2WMMO6ZP-C2iMpETE.js +++ b/pr-preview/pr-459/assets/formatter-2WMMO6ZP-CrGQgcH5.js @@ -1,4 +1,4 @@ -var aa=Object.defineProperty,sa=Object.defineProperties;var oa=Object.getOwnPropertyDescriptors;var ht=Object.getOwnPropertySymbols;var mn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable;var sr=(e,t,r)=>t in e?aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))mn.call(t,r)&&sr(e,r,t[r]);if(ht)for(var r of ht(t))gn.call(t,r)&&sr(e,r,t[r]);return e},A=(e,t)=>sa(e,oa(t));var or=(e,t)=>{var r={};for(var n in e)mn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ht)for(var n of ht(e))t.indexOf(n)<0&&gn.call(e,n)&&(r[n]=e[n]);return r};var Te=(e,t,r)=>(sr(e,typeof t!="symbol"?t+"":t,r),r);var _=(e,t,r)=>new Promise((n,u)=>{var i=o=>{try{s(r.next(o))}catch(l){u(l)}},a=o=>{try{s(r.throw(o))}catch(l){u(l)}},s=o=>o.done?n(o.value):Promise.resolve(o.value).then(i,a);s((r=r.apply(e,t)).next())});import{m as la}from"./index-ZtHH_h5v.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-CNk6hRaE.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";var ca=Object.defineProperty,Fu=(e,t)=>{for(var r in t)ca(e,r,{get:t[r],enumerable:!0})},vu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},ce=(e,t,r)=>(vu(e,t,"read from private field"),r?r.call(e):t.get(e)),pa=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ha=(e,t,r,n)=>(vu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),yu={};Fu(yu,{languages:()=>Zl,options:()=>tc,parsers:()=>ti,printers:()=>rc});var da=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},H=da,Pr="string",Ir="array",Or="cursor",Nt="indent",qt="align",Mr="trim",Ze="group",Pt="fill",It="if-break",Ot="indent-if-break",Rr="line-suffix",Hr="line-suffix-boundary",Ae="line",jr="label",Mt="break-parent",Eu=new Set([Or,Nt,qt,Mr,Ze,Pt,It,Ot,Rr,Hr,Ae,jr,Mt]);function Da(e){if(typeof e=="string")return Pr;if(Array.isArray(e))return Ir;if(!e)return;let{type:t}=e;if(Eu.has(t))return t}var $r=Da,fa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function ma(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +var aa=Object.defineProperty,sa=Object.defineProperties;var oa=Object.getOwnPropertyDescriptors;var ht=Object.getOwnPropertySymbols;var mn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable;var sr=(e,t,r)=>t in e?aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))mn.call(t,r)&&sr(e,r,t[r]);if(ht)for(var r of ht(t))gn.call(t,r)&&sr(e,r,t[r]);return e},A=(e,t)=>sa(e,oa(t));var or=(e,t)=>{var r={};for(var n in e)mn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ht)for(var n of ht(e))t.indexOf(n)<0&&gn.call(e,n)&&(r[n]=e[n]);return r};var Te=(e,t,r)=>(sr(e,typeof t!="symbol"?t+"":t,r),r);var _=(e,t,r)=>new Promise((n,u)=>{var i=o=>{try{s(r.next(o))}catch(l){u(l)}},a=o=>{try{s(r.throw(o))}catch(l){u(l)}},s=o=>o.done?n(o.value):Promise.resolve(o.value).then(i,a);s((r=r.apply(e,t)).next())});import{m as la}from"./index-Bf2yN5NY.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-CNk6hRaE.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";var ca=Object.defineProperty,Fu=(e,t)=>{for(var r in t)ca(e,r,{get:t[r],enumerable:!0})},vu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},ce=(e,t,r)=>(vu(e,t,"read from private field"),r?r.call(e):t.get(e)),pa=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ha=(e,t,r,n)=>(vu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),yu={};Fu(yu,{languages:()=>Zl,options:()=>tc,parsers:()=>ti,printers:()=>rc});var da=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},H=da,Pr="string",Ir="array",Or="cursor",Nt="indent",qt="align",Mr="trim",Ze="group",Pt="fill",It="if-break",Ot="indent-if-break",Rr="line-suffix",Hr="line-suffix-boundary",Ae="line",jr="label",Mt="break-parent",Eu=new Set([Or,Nt,qt,Mr,Ze,Pt,It,Ot,Rr,Hr,Ae,jr,Mt]);function Da(e){if(typeof e=="string")return Pr;if(Array.isArray(e))return Ir;if(!e)return;let{type:t}=e;if(Eu.has(t))return t}var $r=Da,fa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function ma(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', Expected it to be 'string' or 'object'.`;if($r(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=fa([...Eu].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. Expected it to be ${n}.`}var ga=class extends Error{constructor(t){super(ma(t));Te(this,"name","InvalidDocError");this.doc=t}},bu=ga,Ca=()=>{},Fa=Ca;function ke(e){return{type:Nt,contents:e}}function wu(e,t){return{type:qt,contents:t,n:e}}function O(e,t={}){return Fa(t.expandedStates),{type:Ze,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function va(e){return wu(Number.NEGATIVE_INFINITY,e)}function ya(e){return wu({type:"root"},e)}function Su(e){return{type:Pt,parts:e}}function kt(e,t="",r={}){return{type:It,breakContents:e,flatContents:t,groupId:r.groupId}}function Ea(e,t){return{type:Ot,contents:e,groupId:t.groupId,negate:t.negate}}var rt={type:Mt},ba={type:Ae,hard:!0},wa={type:Ae,hard:!0,literal:!0},P={type:Ae},R={type:Ae,soft:!0},B=[ba,rt],Sa=[wa,rt];function nt(e,t){let r=[];for(let n=0;n{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Rt=Aa;function Wr(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch($r(i)){case Ir:return t(i.map(n));case Pt:return t(A(E({},i),{parts:i.parts.map(n)}));case It:return t(A(E({},i),{breakContents:n(i.breakContents),flatContents:n(i.flatContents)}));case Ze:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t(A(E({},i),{contents:s,expandedStates:a}))}case qt:case Nt:case Ot:case jr:case Rr:return t(A(E({},i),{contents:n(i.contents)}));case Pr:case Or:case Mr:case Hr:case Ae:case Mt:return t(i);default:throw new bu(i)}}}function ka(e){switch($r(e)){case Pt:if(e.parts.every(t=>t===""))return"";break;case Ze:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ze&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case qt:case Nt:case Ot:case Rr:if(!e.contents)return"";break;case It:if(!e.flatContents&&!e.breakContents)return"";break;case Ir:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Rt(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Pr:case Or:case Mr:case Hr:case Ae:case jr:case Mt:break;default:throw new bu(e)}return e}function _a(e){return Wr(e,t=>ka(t))}function Y(e,t=Sa){return Wr(e,r=>typeof r=="string"?nt(t,r.split(` `)):r)}var Ba=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);Te(this,"name","UnexpectedNodeError");this.node=t}},xa=Ba,dt="'",Cn='"';function Ta(e,t){let r=t===!0||t===dt?dt:Cn,n=r===dt?Cn:dt,u=0,i=0;for(let a of e)a===r?u++:a===n&&i++;return u>i?n:r}var La=Ta;function Na(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var K,qa=class{constructor(e){pa(this,K,void 0),ha(this,K,new Set(e))}getLeadingWhitespaceCount(e){let t=ce(this,K),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return ce(this,K).has(e.charAt(0))}hasTrailingWhitespace(e){return ce(this,K).has(Rt(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Na([...ce(this,K)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=ce(this,K);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=ce(this,K);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=ce(this,K);return Array.prototype.every.call(e,r=>t.has(r))}};K=new WeakMap;var Pa=qa,Ia=[" ",` diff --git a/pr-preview/pr-459/assets/ganttDiagram-ASEIQ4P5-BaGpaNuJ.js b/pr-preview/pr-459/assets/ganttDiagram-ASEIQ4P5-D0I_Tqm0.js similarity index 99% rename from pr-preview/pr-459/assets/ganttDiagram-ASEIQ4P5-BaGpaNuJ.js rename to pr-preview/pr-459/assets/ganttDiagram-ASEIQ4P5-D0I_Tqm0.js index 7d211c2bc..743f93f94 100644 --- a/pr-preview/pr-459/assets/ganttDiagram-ASEIQ4P5-BaGpaNuJ.js +++ b/pr-preview/pr-459/assets/ganttDiagram-ASEIQ4P5-D0I_Tqm0.js @@ -1,4 +1,4 @@ -import{aR as Qe,aS as Ge,aT as Je,aU as Ke,aV as Mn,aW as re,aX as Sn,_ as f,d as _t,s as Un,g as Fn,q as En,r as In,c as An,b as Wn,t as Yn,m as Ln,l as Gt,j as qt,k as On,e as Nn,u as Vn}from"./Using existing ones-Dhq84SWT.js";import{d as tt}from"./dayjs.min-KGLNs1IR.js";import{c as Hn,g as Pn}from"./index-CNk6hRaE.js";import{d as Rn,a as zn}from"./customParseFormat-oYt9ov06.js";import{b as Bn,t as Ae,c as qn,a as Zn,l as Xn}from"./linear-CaMgb0mo.js";import{i as jn}from"./init-Gi6I4Gst.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";function Qn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function Gn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Jn(t){return t}var Xt=1,ie=2,me=3,Zt=4,We=1e-6;function Kn(t){return"translate("+t+",0)"}function $n(t){return"translate(0,"+t+")"}function tr(t){return e=>+t(e)}function er(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function nr(){return!this.__axis}function $e(t,e){var n=[],r=null,i=null,a=6,s=6,C=3,M=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===Zt?-1:1,v=t===Zt||t===ie?"x":"y",I=t===Xt||t===me?Kn:$n;function b(k){var R=r==null?e.ticks?e.ticks.apply(e,n):e.domain():r,A=i==null?e.tickFormat?e.tickFormat.apply(e,n):Jn:i,et=Math.max(a,0)+C,rt=e.range(),nt=+rt[0]+M,Z=+rt[rt.length-1]+M,X=(e.bandwidth?er:tr)(e.copy(),M),$=k.selection?k.selection():k,x=$.selectAll(".domain").data([null]),N=$.selectAll(".tick").data(R,e).order(),w=N.exit(),U=N.enter().append("g").attr("class","tick"),D=N.select("line"),_=N.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),N=N.merge(U),D=D.merge(U.append("line").attr("stroke","currentColor").attr(v+"2",T*a)),_=_.merge(U.append("text").attr("fill","currentColor").attr(v,T*et).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),k!==$&&(x=x.transition(k),N=N.transition(k),D=D.transition(k),_=_.transition(k),w=w.transition(k).attr("opacity",We).attr("transform",function(p){return isFinite(p=X(p))?I(p+M):this.getAttribute("transform")}),U.attr("opacity",We).attr("transform",function(p){var W=this.parentNode.__axis;return I((W&&isFinite(W=W(p))?W:X(p))+M)})),w.remove(),x.attr("d",t===Zt||t===ie?s?"M"+T*s+","+nt+"H"+M+"V"+Z+"H"+T*s:"M"+M+","+nt+"V"+Z:s?"M"+nt+","+T*s+"V"+M+"H"+Z+"V"+T*s:"M"+nt+","+M+"H"+Z),N.attr("opacity",1).attr("transform",function(p){return I(X(p)+M)}),D.attr(v+"2",T*a),_.attr(v,T*et).text(A),$.filter(nr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ie?"start":t===Zt?"end":"middle"),$.each(function(){this.__axis=X})}return b.scale=function(k){return arguments.length?(e=k,b):e},b.ticks=function(){return n=Array.from(arguments),b},b.tickArguments=function(k){return arguments.length?(n=k==null?[]:Array.from(k),b):n.slice()},b.tickValues=function(k){return arguments.length?(r=k==null?null:Array.from(k),b):r&&r.slice()},b.tickFormat=function(k){return arguments.length?(i=k,b):i},b.tickSize=function(k){return arguments.length?(a=s=+k,b):a},b.tickSizeInner=function(k){return arguments.length?(a=+k,b):a},b.tickSizeOuter=function(k){return arguments.length?(s=+k,b):s},b.tickPadding=function(k){return arguments.length?(C=+k,b):C},b.offset=function(k){return arguments.length?(M=+k,b):M},b}function rr(t){return $e(Xt,t)}function ir(t){return $e(me,t)}const ar=Math.PI/180,sr=180/Math.PI,Jt=18,tn=.96422,en=1,nn=.82521,rn=4/29,Mt=6/29,an=3*Mt*Mt,or=Mt*Mt*Mt;function sn(t){if(t instanceof lt)return new lt(t.l,t.a,t.b,t.opacity);if(t instanceof ht)return on(t);t instanceof Je||(t=Mn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),i=ae((.2225045*e+.7168786*n+.0606169*r)/en),a,s;return e===n&&n===r?a=s=i:(a=ae((.4360747*e+.3850649*n+.1430804*r)/tn),s=ae((.0139322*e+.0971045*n+.7141733*r)/nn)),new lt(116*i-16,500*(a-i),200*(i-s),t.opacity)}function cr(t,e,n,r){return arguments.length===1?sn(t):new lt(t,e,n,r==null?1:r)}function lt(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Qe(lt,cr,Ge(Ke,{brighter(t){return new lt(this.l+Jt*(t==null?1:t),this.a,this.b,this.opacity)},darker(t){return new lt(this.l-Jt*(t==null?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=tn*se(e),t=en*se(t),n=nn*se(n),new Je(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ae(t){return t>or?Math.pow(t,1/3):t/an+rn}function se(t){return t>Mt?t*t*t:an*(t-rn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lr(t){if(t instanceof ht)return new ht(t.h,t.c,t.l,t.opacity);if(t instanceof lt||(t=sn(t)),t.a===0&&t.b===0)return new ht(NaN,0(t(a=new Date(+a)),a),i.ceil=a=>(t(a=new Date(a-1)),e(a,1),t(a),a),i.round=a=>{const s=i(a),C=i.ceil(a);return a-s(e(a=new Date(+a),s==null?1:Math.floor(s)),a),i.range=(a,s,C)=>{const M=[];if(a=i.ceil(a),C=C==null?1:Math.floor(C),!(a0))return M;let T;do M.push(T=new Date(+a)),e(a,C),t(a);while(TQ(s=>{if(s>=s)for(;t(s),!a(s);)s.setTime(s-1)},(s,C)=>{if(s>=s)if(C<0)for(;++C<=0;)for(;e(s,-1),!a(s););else for(;--C>=0;)for(;e(s,1),!a(s););}),n&&(i.count=(a,s)=>(le.setTime(+a),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?s=>r(s)%a===0:s=>i.count(0,s)%a===0):i)),i}const Ut=Q(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Q(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,at=mt*60,gt=at*60,yt=gt*24,ve=yt*7,Ye=yt*30,fe=yt*365,pt=Q(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());pt.range;const Yt=Q(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getMinutes());Yt.range;const hr=Q(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getUTCMinutes());hr.range;const Lt=Q(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*at)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Lt.range;const mr=Q(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());mr.range;const Tt=Q(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*at)/yt,t=>t.getDate()-1);Tt.range;const be=Q(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);be.range;const gr=Q(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));gr.range;function xt(t){return Q(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*at)/ve)}const Vt=xt(0),Ot=xt(1),cn=xt(2),ln=xt(3),vt=xt(4),un=xt(5),fn=xt(6);Vt.range;Ot.range;cn.range;ln.range;vt.range;un.range;fn.range;function wt(t){return Q(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/ve)}const dn=wt(0),Kt=wt(1),yr=wt(2),kr=wt(3),Ft=wt(4),pr=wt(5),Tr=wt(6);dn.range;Kt.range;yr.range;kr.range;Ft.range;pr.range;Tr.range;const Nt=Q(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const vr=Q(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());vr.range;const kt=Q(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Q(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const bt=Q(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());bt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Q(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});bt.range;function br(t,e,n,r,i,a){const s=[[pt,1,mt],[pt,5,5*mt],[pt,15,15*mt],[pt,30,30*mt],[a,1,at],[a,5,5*at],[a,15,15*at],[a,30,30*at],[i,1,gt],[i,3,3*gt],[i,6,6*gt],[i,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,ve],[e,1,Ye],[e,3,3*Ye],[t,1,fe]];function C(T,v,I){const b=vet).right(s,b);if(k===s.length)return t.every(Ae(T/fe,v/fe,I));if(k===0)return Ut.every(Math.max(Ae(T,v,I),1));const[R,A]=s[b/s[k-1][2]53)return null;"w"in l||(l.w=1),"Z"in l?(S=he(It(l.y,0,1)),q=S.getUTCDay(),S=q>4||q===0?Kt.ceil(S):Kt(S),S=be.offset(S,(l.V-1)*7),l.y=S.getUTCFullYear(),l.m=S.getUTCMonth(),l.d=S.getUTCDate()+(l.w+6)%7):(S=de(It(l.y,0,1)),q=S.getDay(),S=q>4||q===0?Ot.ceil(S):Ot(S),S=Tt.offset(S,(l.V-1)*7),l.y=S.getFullYear(),l.m=S.getMonth(),l.d=S.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),q="Z"in l?he(It(l.y,0,1)).getUTCDay():de(It(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+l.W*7-(q+5)%7:l.w+l.U*7-(q+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,he(l)):de(l)}}function w(g,E,Y,l){for(var K=0,S=E.length,q=Y.length,P,ot;K=q)return-1;if(P=E.charCodeAt(K++),P===37){if(P=E.charAt(K++),ot=$[P in Le?E.charAt(K++):P],!ot||(l=ot(g,Y,l))<0)return-1}else if(P!=Y.charCodeAt(l++))return-1}return l}function U(g,E,Y){var l=T.exec(E.slice(Y));return l?(g.p=v.get(l[0].toLowerCase()),Y+l[0].length):-1}function D(g,E,Y){var l=k.exec(E.slice(Y));return l?(g.w=R.get(l[0].toLowerCase()),Y+l[0].length):-1}function _(g,E,Y){var l=I.exec(E.slice(Y));return l?(g.w=b.get(l[0].toLowerCase()),Y+l[0].length):-1}function p(g,E,Y){var l=rt.exec(E.slice(Y));return l?(g.m=nt.get(l[0].toLowerCase()),Y+l[0].length):-1}function W(g,E,Y){var l=A.exec(E.slice(Y));return l?(g.m=et.get(l[0].toLowerCase()),Y+l[0].length):-1}function u(g,E,Y){return w(g,e,E,Y)}function h(g,E,Y){return w(g,n,E,Y)}function y(g,E,Y){return w(g,r,E,Y)}function m(g){return s[g.getDay()]}function F(g){return a[g.getDay()]}function c(g){return M[g.getMonth()]}function d(g){return C[g.getMonth()]}function o(g){return i[+(g.getHours()>=12)]}function H(g){return 1+~~(g.getMonth()/3)}function L(g){return s[g.getUTCDay()]}function V(g){return a[g.getUTCDay()]}function G(g){return M[g.getUTCMonth()]}function z(g){return C[g.getUTCMonth()]}function B(g){return i[+(g.getUTCHours()>=12)]}function st(g){return 1+~~(g.getUTCMonth()/3)}return{format:function(g){var E=x(g+="",Z);return E.toString=function(){return g},E},parse:function(g){var E=N(g+="",!1);return E.toString=function(){return g},E},utcFormat:function(g){var E=x(g+="",X);return E.toString=function(){return g},E},utcParse:function(g){var E=N(g+="",!0);return E.toString=function(){return g},E}}}var Le={"-":"",_:" ",0:"0"},J=/^\s*\d+/,Dr=/^%/,_r=/[\\^$*+?|[\]().{}]/g;function O(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a[e.toLowerCase(),n]))}function Sr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ir(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Oe(t,e,n){var r=J.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ar(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Wr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Yr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ve(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function He(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=J.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Pr(t,e,n){var r=Dr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Rr(t,e,n){var r=J.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=J.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Pe(t,e){return O(t.getDate(),e,2)}function Br(t,e){return O(t.getHours(),e,2)}function qr(t,e){return O(t.getHours()%12||12,e,2)}function Zr(t,e){return O(1+Tt.count(kt(t),t),e,3)}function hn(t,e){return O(t.getMilliseconds(),e,3)}function Xr(t,e){return hn(t,e)+"000"}function jr(t,e){return O(t.getMonth()+1,e,2)}function Qr(t,e){return O(t.getMinutes(),e,2)}function Gr(t,e){return O(t.getSeconds(),e,2)}function Jr(t){var e=t.getDay();return e===0?7:e}function Kr(t,e){return O(Vt.count(kt(t)-1,t),e,2)}function mn(t){var e=t.getDay();return e>=4||e===0?vt(t):vt.ceil(t)}function $r(t,e){return t=mn(t),O(vt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function ti(t){return t.getDay()}function ei(t,e){return O(Ot.count(kt(t)-1,t),e,2)}function ni(t,e){return O(t.getFullYear()%100,e,2)}function ri(t,e){return t=mn(t),O(t.getFullYear()%100,e,2)}function ii(t,e){return O(t.getFullYear()%1e4,e,4)}function ai(t,e){var n=t.getDay();return t=n>=4||n===0?vt(t):vt.ceil(t),O(t.getFullYear()%1e4,e,4)}function si(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+O(e/60|0,"0",2)+O(e%60,"0",2)}function Re(t,e){return O(t.getUTCDate(),e,2)}function oi(t,e){return O(t.getUTCHours(),e,2)}function ci(t,e){return O(t.getUTCHours()%12||12,e,2)}function li(t,e){return O(1+be.count(bt(t),t),e,3)}function gn(t,e){return O(t.getUTCMilliseconds(),e,3)}function ui(t,e){return gn(t,e)+"000"}function fi(t,e){return O(t.getUTCMonth()+1,e,2)}function di(t,e){return O(t.getUTCMinutes(),e,2)}function hi(t,e){return O(t.getUTCSeconds(),e,2)}function mi(t){var e=t.getUTCDay();return e===0?7:e}function gi(t,e){return O(dn.count(bt(t)-1,t),e,2)}function yn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function yi(t,e){return t=yn(t),O(Ft.count(bt(t),t)+(bt(t).getUTCDay()===4),e,2)}function ki(t){return t.getUTCDay()}function pi(t,e){return O(Kt.count(bt(t)-1,t),e,2)}function Ti(t,e){return O(t.getUTCFullYear()%100,e,2)}function vi(t,e){return t=yn(t),O(t.getUTCFullYear()%100,e,2)}function bi(t,e){return O(t.getUTCFullYear()%1e4,e,4)}function xi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),O(t.getUTCFullYear()%1e4,e,4)}function wi(){return"+0000"}function ze(){return"%"}function Be(t){return+t}function qe(t){return Math.floor(+t/1e3)}var Dt,$t;Ci({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Ci(t){return Dt=Cr(t),$t=Dt.format,Dt.parse,Dt.utcFormat,Dt.utcParse,Dt}function Di(t){return new Date(t)}function _i(t){return t instanceof Date?+t:+new Date(+t)}function kn(t,e,n,r,i,a,s,C,M,T){var v=qn(),I=v.invert,b=v.domain,k=T(".%L"),R=T(":%S"),A=T("%I:%M"),et=T("%I %p"),rt=T("%a %d"),nt=T("%b %d"),Z=T("%B"),X=T("%Y");function $(x){return(M(x)4&&(k+=7),b.add(k,n));return R.diff(A,"week")+1},C.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=C.startOf;C.startOf=function(T,v){var I=this.$utils(),b=!!I.u(v)||v;return I.p(T)==="isoweek"?b?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,v)}}})})(pn);var Si=pn.exports;const Ui=Pn(Si);var ye=function(){var t=f(function(W,u,h,y){for(h=h||{},y=W.length;y--;h[W[y]]=u);return h},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],a=[1,29],s=[1,30],C=[1,31],M=[1,32],T=[1,33],v=[1,34],I=[1,9],b=[1,10],k=[1,11],R=[1,12],A=[1,13],et=[1,14],rt=[1,15],nt=[1,16],Z=[1,19],X=[1,20],$=[1,21],x=[1,22],N=[1,23],w=[1,25],U=[1,35],D={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:f(function(u,h,y,m,F,c,d){var o=c.length-1;switch(F){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:a,16:s,17:C,18:M,19:18,20:T,21:v,22:I,23:b,24:k,25:R,26:A,27:et,28:rt,29:nt,30:Z,31:X,33:$,35:x,36:N,37:24,38:w,40:U},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:a,16:s,17:C,18:M,19:18,20:T,21:v,22:I,23:b,24:k,25:R,26:A,27:et,28:rt,29:nt,30:Z,31:X,33:$,35:x,36:N,37:24,38:w,40:U},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:f(function(u,h){if(h.recoverable)this.trace(u);else{var y=new Error(u);throw y.hash=h,y}},"parseError"),parse:f(function(u){var h=this,y=[0],m=[],F=[null],c=[],d=this.table,o="",H=0,L=0,V=2,G=1,z=c.slice.call(arguments,1),B=Object.create(this.lexer),st={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(st.yy[g]=this.yy[g]);B.setInput(u,st.yy),st.yy.lexer=B,st.yy.parser=this,typeof B.yylloc=="undefined"&&(B.yylloc={});var E=B.yylloc;c.push(E);var Y=B.options&&B.options.ranges;typeof st.yy.parseError=="function"?this.parseError=st.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function l(it){y.length=y.length-2*it,F.length=F.length-it,c.length=c.length-it}f(l,"popStack");function K(){var it;return it=m.pop()||B.lex()||G,typeof it!="number"&&(it instanceof Array&&(m=it,it=m.pop()),it=h.symbols_[it]||it),it}f(K,"lex");for(var S,q,P,ot,ut={},zt,ft,Ie,Bt;;){if(q=y[y.length-1],this.defaultActions[q]?P=this.defaultActions[q]:((S===null||typeof S=="undefined")&&(S=K()),P=d[q]&&d[q][S]),typeof P=="undefined"||!P.length||!P[0]){var ne="";Bt=[];for(zt in d[q])this.terminals_[zt]&&zt>V&&Bt.push("'"+this.terminals_[zt]+"'");B.showPosition?ne="Parse error on line "+(H+1)+`: +import{aR as Qe,aS as Ge,aT as Je,aU as Ke,aV as Mn,aW as re,aX as Sn,_ as f,d as _t,s as Un,g as Fn,q as En,r as In,c as An,b as Wn,t as Yn,m as Ln,l as Gt,j as qt,k as On,e as Nn,u as Vn}from"./Using existing ones-B8pwVpRB.js";import{d as tt}from"./dayjs.min-KGLNs1IR.js";import{c as Hn,g as Pn}from"./index-CNk6hRaE.js";import{d as Rn,a as zn}from"./customParseFormat-oYt9ov06.js";import{b as Bn,t as Ae,c as qn,a as Zn,l as Xn}from"./linear-DOmJOZCQ.js";import{i as jn}from"./init-Gi6I4Gst.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";function Qn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function Gn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Jn(t){return t}var Xt=1,ie=2,me=3,Zt=4,We=1e-6;function Kn(t){return"translate("+t+",0)"}function $n(t){return"translate(0,"+t+")"}function tr(t){return e=>+t(e)}function er(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function nr(){return!this.__axis}function $e(t,e){var n=[],r=null,i=null,a=6,s=6,C=3,M=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===Zt?-1:1,v=t===Zt||t===ie?"x":"y",I=t===Xt||t===me?Kn:$n;function b(k){var R=r==null?e.ticks?e.ticks.apply(e,n):e.domain():r,A=i==null?e.tickFormat?e.tickFormat.apply(e,n):Jn:i,et=Math.max(a,0)+C,rt=e.range(),nt=+rt[0]+M,Z=+rt[rt.length-1]+M,X=(e.bandwidth?er:tr)(e.copy(),M),$=k.selection?k.selection():k,x=$.selectAll(".domain").data([null]),N=$.selectAll(".tick").data(R,e).order(),w=N.exit(),U=N.enter().append("g").attr("class","tick"),D=N.select("line"),_=N.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),N=N.merge(U),D=D.merge(U.append("line").attr("stroke","currentColor").attr(v+"2",T*a)),_=_.merge(U.append("text").attr("fill","currentColor").attr(v,T*et).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),k!==$&&(x=x.transition(k),N=N.transition(k),D=D.transition(k),_=_.transition(k),w=w.transition(k).attr("opacity",We).attr("transform",function(p){return isFinite(p=X(p))?I(p+M):this.getAttribute("transform")}),U.attr("opacity",We).attr("transform",function(p){var W=this.parentNode.__axis;return I((W&&isFinite(W=W(p))?W:X(p))+M)})),w.remove(),x.attr("d",t===Zt||t===ie?s?"M"+T*s+","+nt+"H"+M+"V"+Z+"H"+T*s:"M"+M+","+nt+"V"+Z:s?"M"+nt+","+T*s+"V"+M+"H"+Z+"V"+T*s:"M"+nt+","+M+"H"+Z),N.attr("opacity",1).attr("transform",function(p){return I(X(p)+M)}),D.attr(v+"2",T*a),_.attr(v,T*et).text(A),$.filter(nr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ie?"start":t===Zt?"end":"middle"),$.each(function(){this.__axis=X})}return b.scale=function(k){return arguments.length?(e=k,b):e},b.ticks=function(){return n=Array.from(arguments),b},b.tickArguments=function(k){return arguments.length?(n=k==null?[]:Array.from(k),b):n.slice()},b.tickValues=function(k){return arguments.length?(r=k==null?null:Array.from(k),b):r&&r.slice()},b.tickFormat=function(k){return arguments.length?(i=k,b):i},b.tickSize=function(k){return arguments.length?(a=s=+k,b):a},b.tickSizeInner=function(k){return arguments.length?(a=+k,b):a},b.tickSizeOuter=function(k){return arguments.length?(s=+k,b):s},b.tickPadding=function(k){return arguments.length?(C=+k,b):C},b.offset=function(k){return arguments.length?(M=+k,b):M},b}function rr(t){return $e(Xt,t)}function ir(t){return $e(me,t)}const ar=Math.PI/180,sr=180/Math.PI,Jt=18,tn=.96422,en=1,nn=.82521,rn=4/29,Mt=6/29,an=3*Mt*Mt,or=Mt*Mt*Mt;function sn(t){if(t instanceof lt)return new lt(t.l,t.a,t.b,t.opacity);if(t instanceof ht)return on(t);t instanceof Je||(t=Mn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),i=ae((.2225045*e+.7168786*n+.0606169*r)/en),a,s;return e===n&&n===r?a=s=i:(a=ae((.4360747*e+.3850649*n+.1430804*r)/tn),s=ae((.0139322*e+.0971045*n+.7141733*r)/nn)),new lt(116*i-16,500*(a-i),200*(i-s),t.opacity)}function cr(t,e,n,r){return arguments.length===1?sn(t):new lt(t,e,n,r==null?1:r)}function lt(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Qe(lt,cr,Ge(Ke,{brighter(t){return new lt(this.l+Jt*(t==null?1:t),this.a,this.b,this.opacity)},darker(t){return new lt(this.l-Jt*(t==null?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=tn*se(e),t=en*se(t),n=nn*se(n),new Je(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ae(t){return t>or?Math.pow(t,1/3):t/an+rn}function se(t){return t>Mt?t*t*t:an*(t-rn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lr(t){if(t instanceof ht)return new ht(t.h,t.c,t.l,t.opacity);if(t instanceof lt||(t=sn(t)),t.a===0&&t.b===0)return new ht(NaN,0(t(a=new Date(+a)),a),i.ceil=a=>(t(a=new Date(a-1)),e(a,1),t(a),a),i.round=a=>{const s=i(a),C=i.ceil(a);return a-s(e(a=new Date(+a),s==null?1:Math.floor(s)),a),i.range=(a,s,C)=>{const M=[];if(a=i.ceil(a),C=C==null?1:Math.floor(C),!(a0))return M;let T;do M.push(T=new Date(+a)),e(a,C),t(a);while(TQ(s=>{if(s>=s)for(;t(s),!a(s);)s.setTime(s-1)},(s,C)=>{if(s>=s)if(C<0)for(;++C<=0;)for(;e(s,-1),!a(s););else for(;--C>=0;)for(;e(s,1),!a(s););}),n&&(i.count=(a,s)=>(le.setTime(+a),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?s=>r(s)%a===0:s=>i.count(0,s)%a===0):i)),i}const Ut=Q(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Q(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,at=mt*60,gt=at*60,yt=gt*24,ve=yt*7,Ye=yt*30,fe=yt*365,pt=Q(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());pt.range;const Yt=Q(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getMinutes());Yt.range;const hr=Q(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getUTCMinutes());hr.range;const Lt=Q(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*at)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Lt.range;const mr=Q(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());mr.range;const Tt=Q(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*at)/yt,t=>t.getDate()-1);Tt.range;const be=Q(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);be.range;const gr=Q(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));gr.range;function xt(t){return Q(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*at)/ve)}const Vt=xt(0),Ot=xt(1),cn=xt(2),ln=xt(3),vt=xt(4),un=xt(5),fn=xt(6);Vt.range;Ot.range;cn.range;ln.range;vt.range;un.range;fn.range;function wt(t){return Q(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/ve)}const dn=wt(0),Kt=wt(1),yr=wt(2),kr=wt(3),Ft=wt(4),pr=wt(5),Tr=wt(6);dn.range;Kt.range;yr.range;kr.range;Ft.range;pr.range;Tr.range;const Nt=Q(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const vr=Q(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());vr.range;const kt=Q(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Q(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const bt=Q(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());bt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Q(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});bt.range;function br(t,e,n,r,i,a){const s=[[pt,1,mt],[pt,5,5*mt],[pt,15,15*mt],[pt,30,30*mt],[a,1,at],[a,5,5*at],[a,15,15*at],[a,30,30*at],[i,1,gt],[i,3,3*gt],[i,6,6*gt],[i,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,ve],[e,1,Ye],[e,3,3*Ye],[t,1,fe]];function C(T,v,I){const b=vet).right(s,b);if(k===s.length)return t.every(Ae(T/fe,v/fe,I));if(k===0)return Ut.every(Math.max(Ae(T,v,I),1));const[R,A]=s[b/s[k-1][2]53)return null;"w"in l||(l.w=1),"Z"in l?(S=he(It(l.y,0,1)),q=S.getUTCDay(),S=q>4||q===0?Kt.ceil(S):Kt(S),S=be.offset(S,(l.V-1)*7),l.y=S.getUTCFullYear(),l.m=S.getUTCMonth(),l.d=S.getUTCDate()+(l.w+6)%7):(S=de(It(l.y,0,1)),q=S.getDay(),S=q>4||q===0?Ot.ceil(S):Ot(S),S=Tt.offset(S,(l.V-1)*7),l.y=S.getFullYear(),l.m=S.getMonth(),l.d=S.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),q="Z"in l?he(It(l.y,0,1)).getUTCDay():de(It(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+l.W*7-(q+5)%7:l.w+l.U*7-(q+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,he(l)):de(l)}}function w(g,E,Y,l){for(var K=0,S=E.length,q=Y.length,P,ot;K=q)return-1;if(P=E.charCodeAt(K++),P===37){if(P=E.charAt(K++),ot=$[P in Le?E.charAt(K++):P],!ot||(l=ot(g,Y,l))<0)return-1}else if(P!=Y.charCodeAt(l++))return-1}return l}function U(g,E,Y){var l=T.exec(E.slice(Y));return l?(g.p=v.get(l[0].toLowerCase()),Y+l[0].length):-1}function D(g,E,Y){var l=k.exec(E.slice(Y));return l?(g.w=R.get(l[0].toLowerCase()),Y+l[0].length):-1}function _(g,E,Y){var l=I.exec(E.slice(Y));return l?(g.w=b.get(l[0].toLowerCase()),Y+l[0].length):-1}function p(g,E,Y){var l=rt.exec(E.slice(Y));return l?(g.m=nt.get(l[0].toLowerCase()),Y+l[0].length):-1}function W(g,E,Y){var l=A.exec(E.slice(Y));return l?(g.m=et.get(l[0].toLowerCase()),Y+l[0].length):-1}function u(g,E,Y){return w(g,e,E,Y)}function h(g,E,Y){return w(g,n,E,Y)}function y(g,E,Y){return w(g,r,E,Y)}function m(g){return s[g.getDay()]}function F(g){return a[g.getDay()]}function c(g){return M[g.getMonth()]}function d(g){return C[g.getMonth()]}function o(g){return i[+(g.getHours()>=12)]}function H(g){return 1+~~(g.getMonth()/3)}function L(g){return s[g.getUTCDay()]}function V(g){return a[g.getUTCDay()]}function G(g){return M[g.getUTCMonth()]}function z(g){return C[g.getUTCMonth()]}function B(g){return i[+(g.getUTCHours()>=12)]}function st(g){return 1+~~(g.getUTCMonth()/3)}return{format:function(g){var E=x(g+="",Z);return E.toString=function(){return g},E},parse:function(g){var E=N(g+="",!1);return E.toString=function(){return g},E},utcFormat:function(g){var E=x(g+="",X);return E.toString=function(){return g},E},utcParse:function(g){var E=N(g+="",!0);return E.toString=function(){return g},E}}}var Le={"-":"",_:" ",0:"0"},J=/^\s*\d+/,Dr=/^%/,_r=/[\\^$*+?|[\]().{}]/g;function O(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a[e.toLowerCase(),n]))}function Sr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ir(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Oe(t,e,n){var r=J.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ar(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Wr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Yr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ve(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function He(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=J.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Pr(t,e,n){var r=Dr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Rr(t,e,n){var r=J.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=J.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Pe(t,e){return O(t.getDate(),e,2)}function Br(t,e){return O(t.getHours(),e,2)}function qr(t,e){return O(t.getHours()%12||12,e,2)}function Zr(t,e){return O(1+Tt.count(kt(t),t),e,3)}function hn(t,e){return O(t.getMilliseconds(),e,3)}function Xr(t,e){return hn(t,e)+"000"}function jr(t,e){return O(t.getMonth()+1,e,2)}function Qr(t,e){return O(t.getMinutes(),e,2)}function Gr(t,e){return O(t.getSeconds(),e,2)}function Jr(t){var e=t.getDay();return e===0?7:e}function Kr(t,e){return O(Vt.count(kt(t)-1,t),e,2)}function mn(t){var e=t.getDay();return e>=4||e===0?vt(t):vt.ceil(t)}function $r(t,e){return t=mn(t),O(vt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function ti(t){return t.getDay()}function ei(t,e){return O(Ot.count(kt(t)-1,t),e,2)}function ni(t,e){return O(t.getFullYear()%100,e,2)}function ri(t,e){return t=mn(t),O(t.getFullYear()%100,e,2)}function ii(t,e){return O(t.getFullYear()%1e4,e,4)}function ai(t,e){var n=t.getDay();return t=n>=4||n===0?vt(t):vt.ceil(t),O(t.getFullYear()%1e4,e,4)}function si(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+O(e/60|0,"0",2)+O(e%60,"0",2)}function Re(t,e){return O(t.getUTCDate(),e,2)}function oi(t,e){return O(t.getUTCHours(),e,2)}function ci(t,e){return O(t.getUTCHours()%12||12,e,2)}function li(t,e){return O(1+be.count(bt(t),t),e,3)}function gn(t,e){return O(t.getUTCMilliseconds(),e,3)}function ui(t,e){return gn(t,e)+"000"}function fi(t,e){return O(t.getUTCMonth()+1,e,2)}function di(t,e){return O(t.getUTCMinutes(),e,2)}function hi(t,e){return O(t.getUTCSeconds(),e,2)}function mi(t){var e=t.getUTCDay();return e===0?7:e}function gi(t,e){return O(dn.count(bt(t)-1,t),e,2)}function yn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function yi(t,e){return t=yn(t),O(Ft.count(bt(t),t)+(bt(t).getUTCDay()===4),e,2)}function ki(t){return t.getUTCDay()}function pi(t,e){return O(Kt.count(bt(t)-1,t),e,2)}function Ti(t,e){return O(t.getUTCFullYear()%100,e,2)}function vi(t,e){return t=yn(t),O(t.getUTCFullYear()%100,e,2)}function bi(t,e){return O(t.getUTCFullYear()%1e4,e,4)}function xi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),O(t.getUTCFullYear()%1e4,e,4)}function wi(){return"+0000"}function ze(){return"%"}function Be(t){return+t}function qe(t){return Math.floor(+t/1e3)}var Dt,$t;Ci({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Ci(t){return Dt=Cr(t),$t=Dt.format,Dt.parse,Dt.utcFormat,Dt.utcParse,Dt}function Di(t){return new Date(t)}function _i(t){return t instanceof Date?+t:+new Date(+t)}function kn(t,e,n,r,i,a,s,C,M,T){var v=qn(),I=v.invert,b=v.domain,k=T(".%L"),R=T(":%S"),A=T("%I:%M"),et=T("%I %p"),rt=T("%a %d"),nt=T("%b %d"),Z=T("%B"),X=T("%Y");function $(x){return(M(x)4&&(k+=7),b.add(k,n));return R.diff(A,"week")+1},C.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=C.startOf;C.startOf=function(T,v){var I=this.$utils(),b=!!I.u(v)||v;return I.p(T)==="isoweek"?b?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,v)}}})})(pn);var Si=pn.exports;const Ui=Pn(Si);var ye=function(){var t=f(function(W,u,h,y){for(h=h||{},y=W.length;y--;h[W[y]]=u);return h},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],a=[1,29],s=[1,30],C=[1,31],M=[1,32],T=[1,33],v=[1,34],I=[1,9],b=[1,10],k=[1,11],R=[1,12],A=[1,13],et=[1,14],rt=[1,15],nt=[1,16],Z=[1,19],X=[1,20],$=[1,21],x=[1,22],N=[1,23],w=[1,25],U=[1,35],D={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:f(function(u,h,y,m,F,c,d){var o=c.length-1;switch(F){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:a,16:s,17:C,18:M,19:18,20:T,21:v,22:I,23:b,24:k,25:R,26:A,27:et,28:rt,29:nt,30:Z,31:X,33:$,35:x,36:N,37:24,38:w,40:U},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:a,16:s,17:C,18:M,19:18,20:T,21:v,22:I,23:b,24:k,25:R,26:A,27:et,28:rt,29:nt,30:Z,31:X,33:$,35:x,36:N,37:24,38:w,40:U},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:f(function(u,h){if(h.recoverable)this.trace(u);else{var y=new Error(u);throw y.hash=h,y}},"parseError"),parse:f(function(u){var h=this,y=[0],m=[],F=[null],c=[],d=this.table,o="",H=0,L=0,V=2,G=1,z=c.slice.call(arguments,1),B=Object.create(this.lexer),st={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(st.yy[g]=this.yy[g]);B.setInput(u,st.yy),st.yy.lexer=B,st.yy.parser=this,typeof B.yylloc=="undefined"&&(B.yylloc={});var E=B.yylloc;c.push(E);var Y=B.options&&B.options.ranges;typeof st.yy.parseError=="function"?this.parseError=st.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function l(it){y.length=y.length-2*it,F.length=F.length-it,c.length=c.length-it}f(l,"popStack");function K(){var it;return it=m.pop()||B.lex()||G,typeof it!="number"&&(it instanceof Array&&(m=it,it=m.pop()),it=h.symbols_[it]||it),it}f(K,"lex");for(var S,q,P,ot,ut={},zt,ft,Ie,Bt;;){if(q=y[y.length-1],this.defaultActions[q]?P=this.defaultActions[q]:((S===null||typeof S=="undefined")&&(S=K()),P=d[q]&&d[q][S]),typeof P=="undefined"||!P.length||!P[0]){var ne="";Bt=[];for(zt in d[q])this.terminals_[zt]&&zt>V&&Bt.push("'"+this.terminals_[zt]+"'");B.showPosition?ne="Parse error on line "+(H+1)+`: `+B.showPosition()+` Expecting `+Bt.join(", ")+", got '"+(this.terminals_[S]||S)+"'":ne="Parse error on line "+(H+1)+": Unexpected "+(S==G?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ne,{text:B.match,token:this.terminals_[S]||S,line:B.yylineno,loc:E,expected:Bt})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+S);switch(P[0]){case 1:y.push(S),F.push(B.yytext),c.push(B.yylloc),y.push(P[1]),S=null,L=B.yyleng,o=B.yytext,H=B.yylineno,E=B.yylloc;break;case 2:if(ft=this.productions_[P[1]][1],ut.$=F[F.length-ft],ut._$={first_line:c[c.length-(ft||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ft||1)].first_column,last_column:c[c.length-1].last_column},Y&&(ut._$.range=[c[c.length-(ft||1)].range[0],c[c.length-1].range[1]]),ot=this.performAction.apply(ut,[o,L,H,st.yy,P[1],F,c].concat(z)),typeof ot!="undefined")return ot;ft&&(y=y.slice(0,-1*ft*2),F=F.slice(0,-1*ft),c=c.slice(0,-1*ft)),y.push(this.productions_[P[1]][0]),F.push(ut.$),c.push(ut._$),Ie=d[y[y.length-2]][y[y.length-1]],y.push(Ie);break;case 3:return!0}}return!0},"parse")},_=function(){var W={EOF:1,parseError:f(function(h,y){if(this.yy.parser)this.yy.parser.parseError(h,y);else throw new Error(h)},"parseError"),setInput:f(function(u,h){return this.yy=h||this.yy||{},this._input=u,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:f(function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var h=u.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},"input"),unput:f(function(u){var h=u.length,y=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var m=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),y.length-1&&(this.yylineno-=y.length-1);var F=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:y?(y.length===m.length?this.yylloc.first_column:0)+m[m.length-y.length].length-y[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[F[0],F[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(u){this.unput(this.match.slice(u))},"less"),pastInput:f(function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var u=this.pastInput(),h=new Array(u.length+1).join("-");return u+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/gitGraph-YCYPL57B-B2VYHoo0.js b/pr-preview/pr-459/assets/gitGraph-YCYPL57B-B2VYHoo0.js new file mode 100644 index 000000000..17d971b2c --- /dev/null +++ b/pr-preview/pr-459/assets/gitGraph-YCYPL57B-B2VYHoo0.js @@ -0,0 +1 @@ +import{G as l,f as u}from"./mermaid-parser.core-BmIAZpsh.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./Using existing ones-B8pwVpRB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";export{l as GitGraphModule,u as createGitGraphServices}; diff --git a/pr-preview/pr-459/assets/gitGraph-YCYPL57B-DeZdYtSy.js b/pr-preview/pr-459/assets/gitGraph-YCYPL57B-DeZdYtSy.js deleted file mode 100644 index a7214ed65..000000000 --- a/pr-preview/pr-459/assets/gitGraph-YCYPL57B-DeZdYtSy.js +++ /dev/null @@ -1 +0,0 @@ -import{G as l,f as u}from"./mermaid-parser.core-CbtfyxSr.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./Using existing ones-Dhq84SWT.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";export{l as GitGraphModule,u as createGitGraphServices}; diff --git a/pr-preview/pr-459/assets/gitGraphDiagram-UL5UFKDR-CU7tkWbK.js b/pr-preview/pr-459/assets/gitGraphDiagram-UL5UFKDR-0HcXcC6n.js similarity index 98% rename from pr-preview/pr-459/assets/gitGraphDiagram-UL5UFKDR-CU7tkWbK.js rename to pr-preview/pr-459/assets/gitGraphDiagram-UL5UFKDR-0HcXcC6n.js index ca34f4a9f..3dfe448ff 100644 --- a/pr-preview/pr-459/assets/gitGraphDiagram-UL5UFKDR-CU7tkWbK.js +++ b/pr-preview/pr-459/assets/gitGraphDiagram-UL5UFKDR-0HcXcC6n.js @@ -1,4 +1,4 @@ -var tr=Object.defineProperty,ar=Object.defineProperties;var nr=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var sr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable;var _=(a,r,t)=>r in a?tr(a,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[r]=t,W=(a,r)=>{for(var t in r||(r={}))sr.call(r,t)&&_(a,t,r[t]);if(N)for(var t of N(r))or.call(r,t)&&_(a,t,r[t]);return a},V=(a,r)=>ar(a,nr(r));var J=(a,r,t)=>new Promise((s,e)=>{var n=l=>{try{o(t.next(l))}catch(d){e(d)}},c=l=>{try{o(t.throw(l))}catch(d){e(d)}},o=l=>l.done?s(l.value):Promise.resolve(l.value).then(n,c);o((t=t.apply(a,r)).next())});import{p as cr}from"./chunk-OQCM5LHU-_hEzITn5.js";import{I as ir}from"./chunk-2RYQ3QTB-Cnh_I8p8.js";import{F as dr,_ as $,d as hr,G as lr,H as $r,I as fr,l as v,s as gr,g as yr,b as pr,c as xr,q as ur,r as br,e as L,t as mr,j as wr,u as vr,J as Cr}from"./Using existing ones-Dhq84SWT.js";import{p as Er}from"./mermaid-parser.core-CbtfyxSr.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=dr.gitGraph,z=$(()=>lr(W(W({},Br),$r().gitGraph)),"getConfig"),i=new ir(()=>{const a=z(),r=a.mainBranchName,t=a.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function A(){return fr({length:7})}$(A,"getID");function Q(a,r){const t=Object.create(null);return a.reduce((s,e)=>{const n=r(e);return t[n]||(t[n]=!0,s.push(e)),s},[])}$(Q,"uniqBy");var kr=$(function(a){i.records.direction=a},"setDirection"),Lr=$(function(a){v.debug("options str",a),a=a==null?void 0:a.trim(),a=a||"{}";try{i.records.options=JSON.parse(a)}catch(r){v.error("error while parsing gitGraph options",r.message)}},"setOptions"),Tr=$(function(){return i.records.options},"getOptions"),Mr=$(function(a){let r=a.msg,t=a.id;const s=a.type;let e=a.tags;v.info("commit",r,t,s,e),v.debug("Entering commit:",r,t,s,e);const n=z();t=L.sanitizeText(t,n),r=L.sanitizeText(r,n),e=e==null?void 0:e.map(o=>L.sanitizeText(o,n));const c={id:t||i.records.seq+"-"+A(),message:r,seq:i.records.seq++,type:s!=null?s:x.NORMAL,tags:e!=null?e:[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,v.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),v.debug("in pushCommit "+c.id)},"commit"),Rr=$(function(a){let r=a.name;const t=a.order;if(r=L.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:t}),Z(r),v.debug("in createBranch")},"branch"),Ir=$(a=>{let r=a.branch,t=a.id;const s=a.type,e=a.tags,n=z();r=L.sanitizeText(r,n),t&&(t=L.sanitizeText(t,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),l=c?i.records.commits.get(c):void 0,d=o?i.records.commits.get(o):void 0;if(l&&d&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const h=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(l===void 0||!l){const h=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},h}if(!i.records.branches.has(r)){const h=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},h}if(d===void 0||!d){const h=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},h}if(l===d){const h=new Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(t&&i.records.commits.has(t)){const h=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom Id");throw h.hash={text:`merge ${r} ${t} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${t} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},h}const f=o||"",p={id:t||`${i.records.seq}-${A()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!t,tags:e!=null?e:[]};i.records.head=p,i.records.commits.set(p.id,p),i.records.branches.set(i.records.currBranch,p.id),v.debug(i.records.branches),v.debug("in mergeBranch")},"merge"),qr=$(function(a){let r=a.id,t=a.targetId,s=a.tags,e=a.parent;v.debug("Entering cherryPick:",r,t,s);const n=z();if(r=L.sanitizeText(r,n),t=L.sanitizeText(t,n),s=s==null?void 0:s.map(l=>L.sanitizeText(l,n)),e=L.sanitizeText(e,n),!r||!i.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!i.records.commits.has(t)){if(o===i.records.currBranch){const p=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw p.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},p}const l=i.records.branches.get(i.records.currBranch);if(l===void 0||!l){const p=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},p}const d=i.records.commits.get(l);if(d===void 0||!d){const p=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},p}const f={id:i.records.seq+"-"+A(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),v.debug(i.records.branches),v.debug("in cherryPick")}},"cherryPick"),Z=$(function(a){var r;if(a=L.sanitizeText(a,z()),i.records.branches.has(a)){i.records.currBranch=a;const t=i.records.branches.get(i.records.currBranch);t===void 0||!t?i.records.head=null:i.records.head=(r=i.records.commits.get(t))!=null?r:null}else{const t=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${a}")`);throw t.hash={text:`checkout ${a}`,token:`checkout ${a}`,expected:[`branch ${a}`]},t}},"checkout");function D(a,r,t){const s=a.indexOf(r);s===-1?a.push(t):a.splice(s,1,t)}$(D,"upsert");function K(a){const r=a.reduce((e,n)=>e.seq>n.seq?e:n,a[0]);let t="";a.forEach(function(e){e===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(v.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);D(a,r,e),r.parents[1]&&a.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);D(a,r,e)}}a=Q(a,e=>e.id),K(a)}$(K,"prettyPrintCommitHistory");var Or=$(function(){v.debug(i.records.commits);const a=F()[0];K([a])},"prettyPrint"),zr=$(function(){i.reset(),mr()},"clear"),Gr=$(function(){return[...i.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:V(W({},r),{order:parseFloat(`0.${t}`)})).sort((r,t)=>{var s,e;return((s=r.order)!=null?s:0)-((e=t.order)!=null?e:0)}).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Hr=$(function(){return i.records.branches},"getBranches"),Pr=$(function(){return i.records.commits},"getCommits"),F=$(function(){const a=[...i.records.commits.values()];return a.forEach(function(r){v.debug(r.id)}),a.sort((r,t)=>r.seq-t.seq),a},"getCommitsArray"),Wr=$(function(){return i.records.currBranch},"getCurrentBranch"),jr=$(function(){return i.records.direction},"getDirection"),Sr=$(function(){return i.records.head},"getHead"),U={commitType:x,getConfig:z,setDirection:kr,setOptions:Lr,getOptions:Tr,commit:Mr,branch:Rr,merge:Ir,cherryPick:qr,checkout:Z,prettyPrint:Or,clear:zr,getBranchesAsObjArray:Gr,getBranches:Hr,getCommits:Pr,getCommitsArray:F,getCurrentBranch:Wr,getDirection:jr,getHead:Sr,setAccTitle:gr,getAccTitle:yr,getAccDescription:pr,setAccDescription:xr,setDiagramTitle:ur,getDiagramTitle:br},Ar=$((a,r)=>{cr(a,r),a.dir&&r.setDirection(a.dir);for(const t of a.statements)Yr(t,r)},"populate"),Yr=$((a,r)=>{const s={Commit:$(e=>r.commit(Dr(e)),"Commit"),Branch:$(e=>r.branch(Kr(e)),"Branch"),Merge:$(e=>r.merge(Nr(e)),"Merge"),Checkout:$(e=>r.checkout(_r(e)),"Checkout"),CherryPicking:$(e=>r.cherryPick(Vr(e)),"CherryPicking")}[a.$type];s?s(a):v.error(`Unknown statement type: ${a.$type}`)},"parseStatement"),Dr=$(a=>{var t,s;return{id:a.id,msg:(t=a.message)!=null?t:"",type:a.type!==void 0?x[a.type]:x.NORMAL,tags:(s=a.tags)!=null?s:void 0}},"parseCommit"),Kr=$(a=>{var t;return{name:a.name,order:(t=a.order)!=null?t:0}},"parseBranch"),Nr=$(a=>{var t,s;return{branch:a.branch,id:(t=a.id)!=null?t:"",type:a.type!==void 0?x[a.type]:void 0,tags:(s=a.tags)!=null?s:void 0}},"parseMerge"),_r=$(a=>a.branch,"parseCheckout"),Vr=$(a=>{var t;return{id:a.id,targetId:"",tags:((t=a.tags)==null?void 0:t.length)===0?void 0:a.tags,parent:a.parent}},"parseCherryPicking"),Jr={parse:$(a=>J(void 0,null,function*(){const r=yield Er("gitGraph",a);v.debug(r),Ar(r,U)}),"parse")},Y=hr(),m=Y==null?void 0:Y.gitGraph,I=10,q=40,T=4,M=2,O=8,C=new Map,E=new Map,j=30,H=new Map,S=[],R=0,y="LR",Xr=$(()=>{C.clear(),E.clear(),H.clear(),R=0,S=[],y="LR"},"clear"),rr=$(a=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof a=="string"?a.split(/\\n|\n|/gi):a).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),er=$(a=>{let r,t,s;return y==="BT"?(t=$((e,n)=>e<=n,"comparisonFunc"),s=1/0):(t=$((e,n)=>e>=n,"comparisonFunc"),s=0),a.forEach(e=>{var c,o;const n=y==="TB"||y=="BT"?(c=E.get(e))==null?void 0:c.y:(o=E.get(e))==null?void 0:o.x;n!==void 0&&t(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Qr=$(a=>{let r="",t=1/0;return a.forEach(s=>{const e=E.get(s).y;e<=t&&(r=s,t=e)}),r||void 0},"findClosestParentBT"),Zr=$((a,r,t)=>{let s=t,e=t;const n=[];a.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Ur(o),e=Math.max(s,e)):n.push(o),re(o,s)}),s=e,n.forEach(c=>{ee(c,s,t)}),a.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const l=Qr(o.parents);s=E.get(l).y-q,s<=e&&(e=s);const d=C.get(o.branch).pos,f=s-I;E.set(o.id,{x:d,y:f})}})},"setParallelBTPos"),Fr=$(a=>{var s;const r=er(a.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${a.id}`);const t=(s=E.get(r))==null?void 0:s.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${a.id}`);return t},"findClosestParentPos"),Ur=$(a=>Fr(a)+q,"calculateCommitPosition"),re=$((a,r)=>{const t=C.get(a.branch);if(!t)throw new Error(`Branch not found for commit ${a.id}`);const s=t.pos,e=r+I;return E.set(a.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),ee=$((a,r,t)=>{const s=C.get(a.branch);if(!s)throw new Error(`Branch not found for commit ${a.id}`);const e=r+t,n=s.pos;E.set(a.id,{x:n,y:e})},"setRootPosition"),te=$((a,r,t,s,e,n)=>{if(n===x.HIGHLIGHT)a.append("rect").attr("x",t.x-10).attr("y",t.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),a.append("rect").attr("x",t.x-6).attr("y",t.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)a.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),a.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),a.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),a.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),a.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=a.append("circle");if(c.attr("cx",t.x),c.attr("cy",t.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=a.append("circle");o.attr("cx",t.x),o.attr("cy",t.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&a.append("path").attr("d",`M ${t.x-5},${t.y-5}L${t.x+5},${t.y+5}M${t.x-5},${t.y+5}L${t.x+5},${t.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),ae=$((a,r,t,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(m!=null&&m.showCommitLabel)){const n=a.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=(e=o.node())==null?void 0:e.getBBox();if(l&&(c.attr("x",t.posWithOffset-l.width/2-M).attr("y",t.y+13.5).attr("width",l.width+2*M).attr("height",l.height+2*M),y==="TB"||y==="BT"?(c.attr("x",t.x-(l.width+4*T+5)).attr("y",t.y-12),o.attr("x",t.x-(l.width+4*T)).attr("y",t.y+l.height-12)):o.attr("x",t.posWithOffset-l.width/2),m.rotateCommitLabel))if(y==="TB"||y==="BT")o.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),c.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const d=-7.5-(l.width+10)/25*9.5,f=10+l.width/25*8.5;n.attr("transform","translate("+d+", "+f+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),ne=$((a,r,t,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const l=[];for(const d of r.tags.reverse()){const f=a.insert("polygon"),p=a.append("circle"),h=a.append("text").attr("y",t.y-16-n).attr("class","tag-label").text(d),g=(e=h.node())==null?void 0:e.getBBox();if(!g)throw new Error("Tag bbox not found");c=Math.max(c,g.width),o=Math.max(o,g.height),h.attr("x",t.posWithOffset-g.width/2),l.push({tag:h,hole:p,rect:f,yOffset:n}),n+=20}for(const{tag:d,hole:f,rect:p,yOffset:h}of l){const g=o/2,u=t.y-19.2-h;if(p.attr("class","tag-label-bkg").attr("points",` +var tr=Object.defineProperty,ar=Object.defineProperties;var nr=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var sr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable;var _=(a,r,t)=>r in a?tr(a,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[r]=t,W=(a,r)=>{for(var t in r||(r={}))sr.call(r,t)&&_(a,t,r[t]);if(N)for(var t of N(r))or.call(r,t)&&_(a,t,r[t]);return a},V=(a,r)=>ar(a,nr(r));var J=(a,r,t)=>new Promise((s,e)=>{var n=l=>{try{o(t.next(l))}catch(d){e(d)}},c=l=>{try{o(t.throw(l))}catch(d){e(d)}},o=l=>l.done?s(l.value):Promise.resolve(l.value).then(n,c);o((t=t.apply(a,r)).next())});import{p as cr}from"./chunk-OQCM5LHU-7z38PKjx.js";import{I as ir}from"./chunk-2RYQ3QTB-OT2l6tiE.js";import{F as dr,_ as $,d as hr,G as lr,H as $r,I as fr,l as v,s as gr,g as yr,b as pr,c as xr,q as ur,r as br,e as L,t as mr,j as wr,u as vr,J as Cr}from"./Using existing ones-B8pwVpRB.js";import{p as Er}from"./mermaid-parser.core-BmIAZpsh.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=dr.gitGraph,z=$(()=>lr(W(W({},Br),$r().gitGraph)),"getConfig"),i=new ir(()=>{const a=z(),r=a.mainBranchName,t=a.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function A(){return fr({length:7})}$(A,"getID");function Q(a,r){const t=Object.create(null);return a.reduce((s,e)=>{const n=r(e);return t[n]||(t[n]=!0,s.push(e)),s},[])}$(Q,"uniqBy");var kr=$(function(a){i.records.direction=a},"setDirection"),Lr=$(function(a){v.debug("options str",a),a=a==null?void 0:a.trim(),a=a||"{}";try{i.records.options=JSON.parse(a)}catch(r){v.error("error while parsing gitGraph options",r.message)}},"setOptions"),Tr=$(function(){return i.records.options},"getOptions"),Mr=$(function(a){let r=a.msg,t=a.id;const s=a.type;let e=a.tags;v.info("commit",r,t,s,e),v.debug("Entering commit:",r,t,s,e);const n=z();t=L.sanitizeText(t,n),r=L.sanitizeText(r,n),e=e==null?void 0:e.map(o=>L.sanitizeText(o,n));const c={id:t||i.records.seq+"-"+A(),message:r,seq:i.records.seq++,type:s!=null?s:x.NORMAL,tags:e!=null?e:[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,v.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),v.debug("in pushCommit "+c.id)},"commit"),Rr=$(function(a){let r=a.name;const t=a.order;if(r=L.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:t}),Z(r),v.debug("in createBranch")},"branch"),Ir=$(a=>{let r=a.branch,t=a.id;const s=a.type,e=a.tags,n=z();r=L.sanitizeText(r,n),t&&(t=L.sanitizeText(t,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),l=c?i.records.commits.get(c):void 0,d=o?i.records.commits.get(o):void 0;if(l&&d&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const h=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(l===void 0||!l){const h=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},h}if(!i.records.branches.has(r)){const h=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},h}if(d===void 0||!d){const h=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},h}if(l===d){const h=new Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(t&&i.records.commits.has(t)){const h=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom Id");throw h.hash={text:`merge ${r} ${t} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${t} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},h}const f=o||"",p={id:t||`${i.records.seq}-${A()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!t,tags:e!=null?e:[]};i.records.head=p,i.records.commits.set(p.id,p),i.records.branches.set(i.records.currBranch,p.id),v.debug(i.records.branches),v.debug("in mergeBranch")},"merge"),qr=$(function(a){let r=a.id,t=a.targetId,s=a.tags,e=a.parent;v.debug("Entering cherryPick:",r,t,s);const n=z();if(r=L.sanitizeText(r,n),t=L.sanitizeText(t,n),s=s==null?void 0:s.map(l=>L.sanitizeText(l,n)),e=L.sanitizeText(e,n),!r||!i.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!i.records.commits.has(t)){if(o===i.records.currBranch){const p=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw p.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},p}const l=i.records.branches.get(i.records.currBranch);if(l===void 0||!l){const p=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},p}const d=i.records.commits.get(l);if(d===void 0||!d){const p=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},p}const f={id:i.records.seq+"-"+A(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),v.debug(i.records.branches),v.debug("in cherryPick")}},"cherryPick"),Z=$(function(a){var r;if(a=L.sanitizeText(a,z()),i.records.branches.has(a)){i.records.currBranch=a;const t=i.records.branches.get(i.records.currBranch);t===void 0||!t?i.records.head=null:i.records.head=(r=i.records.commits.get(t))!=null?r:null}else{const t=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${a}")`);throw t.hash={text:`checkout ${a}`,token:`checkout ${a}`,expected:[`branch ${a}`]},t}},"checkout");function D(a,r,t){const s=a.indexOf(r);s===-1?a.push(t):a.splice(s,1,t)}$(D,"upsert");function K(a){const r=a.reduce((e,n)=>e.seq>n.seq?e:n,a[0]);let t="";a.forEach(function(e){e===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(v.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);D(a,r,e),r.parents[1]&&a.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);D(a,r,e)}}a=Q(a,e=>e.id),K(a)}$(K,"prettyPrintCommitHistory");var Or=$(function(){v.debug(i.records.commits);const a=F()[0];K([a])},"prettyPrint"),zr=$(function(){i.reset(),mr()},"clear"),Gr=$(function(){return[...i.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:V(W({},r),{order:parseFloat(`0.${t}`)})).sort((r,t)=>{var s,e;return((s=r.order)!=null?s:0)-((e=t.order)!=null?e:0)}).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Hr=$(function(){return i.records.branches},"getBranches"),Pr=$(function(){return i.records.commits},"getCommits"),F=$(function(){const a=[...i.records.commits.values()];return a.forEach(function(r){v.debug(r.id)}),a.sort((r,t)=>r.seq-t.seq),a},"getCommitsArray"),Wr=$(function(){return i.records.currBranch},"getCurrentBranch"),jr=$(function(){return i.records.direction},"getDirection"),Sr=$(function(){return i.records.head},"getHead"),U={commitType:x,getConfig:z,setDirection:kr,setOptions:Lr,getOptions:Tr,commit:Mr,branch:Rr,merge:Ir,cherryPick:qr,checkout:Z,prettyPrint:Or,clear:zr,getBranchesAsObjArray:Gr,getBranches:Hr,getCommits:Pr,getCommitsArray:F,getCurrentBranch:Wr,getDirection:jr,getHead:Sr,setAccTitle:gr,getAccTitle:yr,getAccDescription:pr,setAccDescription:xr,setDiagramTitle:ur,getDiagramTitle:br},Ar=$((a,r)=>{cr(a,r),a.dir&&r.setDirection(a.dir);for(const t of a.statements)Yr(t,r)},"populate"),Yr=$((a,r)=>{const s={Commit:$(e=>r.commit(Dr(e)),"Commit"),Branch:$(e=>r.branch(Kr(e)),"Branch"),Merge:$(e=>r.merge(Nr(e)),"Merge"),Checkout:$(e=>r.checkout(_r(e)),"Checkout"),CherryPicking:$(e=>r.cherryPick(Vr(e)),"CherryPicking")}[a.$type];s?s(a):v.error(`Unknown statement type: ${a.$type}`)},"parseStatement"),Dr=$(a=>{var t,s;return{id:a.id,msg:(t=a.message)!=null?t:"",type:a.type!==void 0?x[a.type]:x.NORMAL,tags:(s=a.tags)!=null?s:void 0}},"parseCommit"),Kr=$(a=>{var t;return{name:a.name,order:(t=a.order)!=null?t:0}},"parseBranch"),Nr=$(a=>{var t,s;return{branch:a.branch,id:(t=a.id)!=null?t:"",type:a.type!==void 0?x[a.type]:void 0,tags:(s=a.tags)!=null?s:void 0}},"parseMerge"),_r=$(a=>a.branch,"parseCheckout"),Vr=$(a=>{var t;return{id:a.id,targetId:"",tags:((t=a.tags)==null?void 0:t.length)===0?void 0:a.tags,parent:a.parent}},"parseCherryPicking"),Jr={parse:$(a=>J(void 0,null,function*(){const r=yield Er("gitGraph",a);v.debug(r),Ar(r,U)}),"parse")},Y=hr(),m=Y==null?void 0:Y.gitGraph,I=10,q=40,T=4,M=2,O=8,C=new Map,E=new Map,j=30,H=new Map,S=[],R=0,y="LR",Xr=$(()=>{C.clear(),E.clear(),H.clear(),R=0,S=[],y="LR"},"clear"),rr=$(a=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof a=="string"?a.split(/\\n|\n|/gi):a).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),er=$(a=>{let r,t,s;return y==="BT"?(t=$((e,n)=>e<=n,"comparisonFunc"),s=1/0):(t=$((e,n)=>e>=n,"comparisonFunc"),s=0),a.forEach(e=>{var c,o;const n=y==="TB"||y=="BT"?(c=E.get(e))==null?void 0:c.y:(o=E.get(e))==null?void 0:o.x;n!==void 0&&t(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Qr=$(a=>{let r="",t=1/0;return a.forEach(s=>{const e=E.get(s).y;e<=t&&(r=s,t=e)}),r||void 0},"findClosestParentBT"),Zr=$((a,r,t)=>{let s=t,e=t;const n=[];a.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Ur(o),e=Math.max(s,e)):n.push(o),re(o,s)}),s=e,n.forEach(c=>{ee(c,s,t)}),a.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const l=Qr(o.parents);s=E.get(l).y-q,s<=e&&(e=s);const d=C.get(o.branch).pos,f=s-I;E.set(o.id,{x:d,y:f})}})},"setParallelBTPos"),Fr=$(a=>{var s;const r=er(a.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${a.id}`);const t=(s=E.get(r))==null?void 0:s.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${a.id}`);return t},"findClosestParentPos"),Ur=$(a=>Fr(a)+q,"calculateCommitPosition"),re=$((a,r)=>{const t=C.get(a.branch);if(!t)throw new Error(`Branch not found for commit ${a.id}`);const s=t.pos,e=r+I;return E.set(a.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),ee=$((a,r,t)=>{const s=C.get(a.branch);if(!s)throw new Error(`Branch not found for commit ${a.id}`);const e=r+t,n=s.pos;E.set(a.id,{x:n,y:e})},"setRootPosition"),te=$((a,r,t,s,e,n)=>{if(n===x.HIGHLIGHT)a.append("rect").attr("x",t.x-10).attr("y",t.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),a.append("rect").attr("x",t.x-6).attr("y",t.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)a.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),a.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),a.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),a.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),a.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=a.append("circle");if(c.attr("cx",t.x),c.attr("cy",t.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=a.append("circle");o.attr("cx",t.x),o.attr("cy",t.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&a.append("path").attr("d",`M ${t.x-5},${t.y-5}L${t.x+5},${t.y+5}M${t.x-5},${t.y+5}L${t.x+5},${t.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),ae=$((a,r,t,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(m!=null&&m.showCommitLabel)){const n=a.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=(e=o.node())==null?void 0:e.getBBox();if(l&&(c.attr("x",t.posWithOffset-l.width/2-M).attr("y",t.y+13.5).attr("width",l.width+2*M).attr("height",l.height+2*M),y==="TB"||y==="BT"?(c.attr("x",t.x-(l.width+4*T+5)).attr("y",t.y-12),o.attr("x",t.x-(l.width+4*T)).attr("y",t.y+l.height-12)):o.attr("x",t.posWithOffset-l.width/2),m.rotateCommitLabel))if(y==="TB"||y==="BT")o.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),c.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const d=-7.5-(l.width+10)/25*9.5,f=10+l.width/25*8.5;n.attr("transform","translate("+d+", "+f+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),ne=$((a,r,t,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const l=[];for(const d of r.tags.reverse()){const f=a.insert("polygon"),p=a.append("circle"),h=a.append("text").attr("y",t.y-16-n).attr("class","tag-label").text(d),g=(e=h.node())==null?void 0:e.getBBox();if(!g)throw new Error("Tag bbox not found");c=Math.max(c,g.width),o=Math.max(o,g.height),h.attr("x",t.posWithOffset-g.width/2),l.push({tag:h,hole:p,rect:f,yOffset:n}),n+=20}for(const{tag:d,hole:f,rect:p,yOffset:h}of l){const g=o/2,u=t.y-19.2-h;if(p.attr("class","tag-label-bkg").attr("points",` ${s-c/2-T/2},${u+M} ${s-c/2-T/2},${u-M} ${t.posWithOffset-c/2-T},${u-g-M} diff --git a/pr-preview/pr-459/assets/graph-CTYIQWTo.js b/pr-preview/pr-459/assets/graph-BXEtUiHV.js similarity index 97% rename from pr-preview/pr-459/assets/graph-CTYIQWTo.js rename to pr-preview/pr-459/assets/graph-BXEtUiHV.js index b70e6be1c..5f2fb55fa 100644 --- a/pr-preview/pr-459/assets/graph-CTYIQWTo.js +++ b/pr-preview/pr-459/assets/graph-BXEtUiHV.js @@ -1 +1 @@ -import{a as O,c as j,h as u,k as l,f as c,d as a,i as f,v as p,r as F}from"./_baseUniq-l1FN7L1W.js";import{ay as y,az as P,aA as m,aB as E,aC as C}from"./Using existing ones-Dhq84SWT.js";var M=y(function(d){return O(j(d,1,P,!0))}),A="\0",o="\0",L="";class D{constructor(e={}){this._isDirected=u(e,"directed")?e.directed:!0,this._isMultigraph=u(e,"multigraph")?e.multigraph:!1,this._isCompound=u(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=m(void 0),this._defaultEdgeLabelFn=m(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return E(e)||(e=m(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return l(this._nodes)}sources(){var e=this;return c(this.nodes(),function(t){return C(e._in[t])})}sinks(){var e=this;return c(this.nodes(),function(t){return C(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return a(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return u(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return u(this._nodes,e)}removeNode(e){var t=this;if(u(this._nodes,e)){var s=function(i){t.removeEdge(t._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],a(this.children(e),function(i){t.setParent(i)}),delete this._children[e]),a(l(this._in[e]),s),delete this._in[e],delete this._preds[e],a(l(this._out[e]),s),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f(t))t=o;else{t+="";for(var s=t;!f(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}}children(e){if(f(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return l(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return l(t)}successors(e){var t=this._sucs[e];if(t)return l(t)}neighbors(e){var t=this.predecessors(e);if(t)return M(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;a(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),a(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&a(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return E(e)||(e=m(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return F(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,f(s)||(s=""+s);var h=g(this._isDirected,e,t,s);if(u(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!f(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var _=G(this._isDirected,e,t,s);return e=_.v,t=_.w,Object.freeze(_),this._edgeObjs[h]=_,N(this._preds[t],e),N(this._sucs[e],t),this._in[t][h]=_,this._out[e][h]=_,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return u(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],v(this._preds[t],e),v(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?c(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?c(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}D.prototype._nodeCount=0;D.prototype._edgeCount=0;function N(d,e){d[e]?d[e]++:d[e]=1}function v(d,e){--d[e]||delete d[e]}function g(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}return i+L+r+L+(f(s)?A:s)}function G(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function b(d,e){return g(d,e.v,e.w,e.name)}export{D as G}; +import{a as O,c as j,h as u,k as l,f as c,d as a,i as f,v as p,r as F}from"./_baseUniq-BCQ8vHUx.js";import{ay as y,az as P,aA as m,aB as E,aC as C}from"./Using existing ones-B8pwVpRB.js";var M=y(function(d){return O(j(d,1,P,!0))}),A="\0",o="\0",L="";class D{constructor(e={}){this._isDirected=u(e,"directed")?e.directed:!0,this._isMultigraph=u(e,"multigraph")?e.multigraph:!1,this._isCompound=u(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=m(void 0),this._defaultEdgeLabelFn=m(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return E(e)||(e=m(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return l(this._nodes)}sources(){var e=this;return c(this.nodes(),function(t){return C(e._in[t])})}sinks(){var e=this;return c(this.nodes(),function(t){return C(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return a(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return u(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return u(this._nodes,e)}removeNode(e){var t=this;if(u(this._nodes,e)){var s=function(i){t.removeEdge(t._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],a(this.children(e),function(i){t.setParent(i)}),delete this._children[e]),a(l(this._in[e]),s),delete this._in[e],delete this._preds[e],a(l(this._out[e]),s),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f(t))t=o;else{t+="";for(var s=t;!f(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}}children(e){if(f(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return l(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return l(t)}successors(e){var t=this._sucs[e];if(t)return l(t)}neighbors(e){var t=this.predecessors(e);if(t)return M(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;a(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),a(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&a(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return E(e)||(e=m(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return F(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,f(s)||(s=""+s);var h=g(this._isDirected,e,t,s);if(u(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!f(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var _=G(this._isDirected,e,t,s);return e=_.v,t=_.w,Object.freeze(_),this._edgeObjs[h]=_,N(this._preds[t],e),N(this._sucs[e],t),this._in[t][h]=_,this._out[e][h]=_,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return u(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],v(this._preds[t],e),v(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?c(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?c(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}D.prototype._nodeCount=0;D.prototype._edgeCount=0;function N(d,e){d[e]?d[e]++:d[e]=1}function v(d,e){--d[e]||delete d[e]}function g(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}return i+L+r+L+(f(s)?A:s)}function G(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function b(d,e){return g(d,e.v,e.w,e.name)}export{D as G}; diff --git a/pr-preview/pr-459/assets/iframe-CoIBAWfU.js b/pr-preview/pr-459/assets/iframe-CoIBAWfU.js deleted file mode 100644 index 14d52b4cf..000000000 --- a/pr-preview/pr-459/assets/iframe-CoIBAWfU.js +++ /dev/null @@ -1,7 +0,0 @@ -var o=(r,p,i)=>new Promise((m,e)=>{var s=a=>{try{n(i.next(a))}catch(d){e(d)}},_=a=>{try{n(i.throw(a))}catch(d){e(d)}},n=a=>a.done?m(a.value):Promise.resolve(a.value).then(s,_);n((i=i.apply(r,p)).next())});import"../sb-preview/runtime.js";(function(){const p=document.createElement("link").relList;if(p&&p.supports&&p.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))m(e);new MutationObserver(e=>{for(const s of e)if(s.type==="childList")for(const _ of s.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&m(_)}).observe(document,{childList:!0,subtree:!0});function i(e){const s={};return e.integrity&&(s.integrity=e.integrity),e.referrerPolicy&&(s.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?s.credentials="include":e.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function m(e){if(e.ep)return;e.ep=!0;const s=i(e);fetch(e.href,s)}})();const O="modulepreload",D=function(r,p){return new URL(r,p).href},P={},t=function(p,i,m){let e=Promise.resolve();if(i&&i.length>0){const s=document.getElementsByTagName("link");e=Promise.all(i.map(_=>{if(_=D(_,m),_ in P)return;P[_]=!0;const n=_.endsWith(".css"),a=n?'[rel="stylesheet"]':"";if(!!m)for(let u=s.length-1;u>=0;u--){const E=s[u];if(E.href===_&&(!n||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${a}`))return;const c=document.createElement("link");if(c.rel=n?"stylesheet":O,n||(c.as="script",c.crossOrigin=""),c.href=_,document.head.appendChild(c),n)return new Promise((u,E)=>{c.addEventListener("load",u),c.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${_}`)))})}))}return e.then(()=>p()).catch(s=>{const _=new Event("vite:preloadError",{cancelable:!0});if(_.payload=s,window.dispatchEvent(_),!_.defaultPrevented)throw s})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:I}=__STORYBOOK_MODULE_PREVIEW_API__,l=R({page:"preview"});I.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const L={"./docs/About/Changelog.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Changelog-C5Y1pwby.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)}),"./docs/About/FAQ.mdx":()=>o(void 0,null,function*(){return t(()=>import("./FAQ-BqdPRRWM.js"),__vite__mapDeps([13,1,2,3]),import.meta.url)}),"./docs/About/Feedback.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Feedback-DRnZB4mo.js"),__vite__mapDeps([14,1,2,3]),import.meta.url)}),"./docs/About/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-ITfC-BJ0.js"),__vite__mapDeps([15,1,2,3]),import.meta.url)}),"./docs/Candidate Components/Directory/Date Range Filter/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-BCV-_XDh.js"),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,11,12,17,18,19,20,21,22,23,24,25,26,27,28,29,30]),import.meta.url)}),"./docs/Candidate Components/Directory/Date Range Filter/SelectWithRangePicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./SelectWithRangePicker.stories-TBdBX_XP.js").then(r=>r.S),__vite__mapDeps([17,1,2,18,19,20,21,22,23,24,6,25,5,8,26,9,10,27,28,29,30]),import.meta.url)}),"./docs/Candidate Components/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-CVgFS_R1.js"),__vite__mapDeps([31,1,2,3]),import.meta.url)}),"./docs/Component Process/Candidate Components/Introducing new ones.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introducing new ones-CqZsvOEB.js"),__vite__mapDeps([32,1,2,3]),import.meta.url)}),"./docs/Component Process/Candidate Components/Promoting to a component.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Promoting to a component-fAo7cHhw.js"),__vite__mapDeps([33,1,2,3]),import.meta.url)}),"./docs/Component Process/Candidate Components/Using existing ones.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Using existing ones-Dhq84SWT.js").then(r=>r.bx),__vite__mapDeps([34,1,2,3,19,12,25]),import.meta.url)}),"./docs/Component Process/Components/Change process.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Change process-NQZ9Bph3.js"),__vite__mapDeps([35,1,2,3]),import.meta.url)}),"./docs/Component Process/Components/Using components.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Using components-CG8m7bGS.js"),__vite__mapDeps([36,1,2,3]),import.meta.url)}),"./docs/Component Process/Design Templates/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-DRv65MtS.js"),__vite__mapDeps([37,1,2,3]),import.meta.url)}),"./docs/Component Process/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-zxvWaPsx.js"),__vite__mapDeps([38,1,2,3]),import.meta.url)}),"./docs/Contributing/Commits.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Commits-ClaR1hl6.js"),__vite__mapDeps([39,1,2,3]),import.meta.url)}),"./docs/Contributing/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-Bvl-MyE6.js"),__vite__mapDeps([40,1,2,3]),import.meta.url)}),"./docs/Contributing/Maintainers.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Maintainers-BZzJ7k8o.js"),__vite__mapDeps([41,1,2,3]),import.meta.url)}),"./docs/Contributing/Release Process.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Release Process-OFogdIZc.js"),__vite__mapDeps([42,1,2,3]),import.meta.url)}),"./docs/Contributing/Testing in the platforms.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Testing in the platforms-hyS4lT-p.js"),__vite__mapDeps([43,1,2,3]),import.meta.url)}),"./docs/Design Templates/TBD/Errors.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Errors-CJQtCMnO.js"),__vite__mapDeps([44,1,2,3]),import.meta.url)}),"./docs/Design Templates/TBD/Loading.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Loading-BeeLkhhk.js"),__vite__mapDeps([45,1,2,3,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./docs/Foundations/Colors.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Colors-B9Cmeu2G.js"),__vite__mapDeps([46,1,2,3]),import.meta.url)}),"./docs/Foundations/Icons/How to use.mdx":()=>o(void 0,null,function*(){return t(()=>import("./How to use-BVmVNdY3.js"),__vite__mapDeps([47,1,2,3]),import.meta.url)}),"./docs/Foundations/Icons/Icon Library.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Icon Library-CKUnTy6V.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,11,12,49,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/Foundations/Typography.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Typography-BXs2kjWm.js"),__vite__mapDeps([50,1,2,3]),import.meta.url)}),"./docs/UX Patterns/Directory.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Directory-Br9jLzxm.js"),__vite__mapDeps([51,1,2,3]),import.meta.url)}),"./docs/UX Patterns/Table/Cell Badge.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell Badge-BZGn8RE4.js"),__vite__mapDeps([52,1,2,3,4,5,6,7,8,9,10,11,12,53,54,20,21,22,23,24,25,26,19,27,28,55]),import.meta.url)}),"./docs/UX Patterns/Table/Cell Link.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell Link-C5d3gaop.js"),__vite__mapDeps([56,1,2,3,4,5,6,7,8,9,10,11,12,53,54,20,21,22,23,24,25,26,19,27,28,55]),import.meta.url)}),"./docs/UX Patterns/Table/Cell More Actions.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell More Actions-xfC4ZCab.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,12,53,54,20,21,22,23,24,25,26,19,27,28,55]),import.meta.url)}),"./docs/UX Patterns/Table/Cell Tag.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell Tag-DCVrYnZs.js"),__vite__mapDeps([58,1,2,3,4,5,6,7,8,9,10,11,12,53,54,20,21,22,23,24,25,26,19,27,28,55]),import.meta.url)}),"./docs/UX Patterns/Table/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-C20_BiBv.js"),__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)}),"./docs/UX Patterns/Table/Filters.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Filters-I6MwuyR_.js"),__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11,12,61,54,20,21,22,23,24,25,26,19,27,28,55,18]),import.meta.url)}),"./docs/UX Patterns/Table/Filters.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Filters.stories-BDb-f9a5.js").then(r=>r.F),__vite__mapDeps([61,1,2,54,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,55,18]),import.meta.url)}),"./docs/UX Patterns/Table/Table.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Table-B_T5EIXq.js"),__vite__mapDeps([62,1,2,3,4,5,6,7,8,9,10,11,12,53,54,20,21,22,23,24,25,26,19,27,28,55]),import.meta.url)}),"./docs/UX Patterns/Table/Table.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Table.stories-CWvOLwoL.js").then(r=>r.T),__vite__mapDeps([53,1,2,54,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,55]),import.meta.url)}),"./docs/UX Patterns/Table/Tags.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Tags-DC7glVi1.js"),__vite__mapDeps([63,1,2,3]),import.meta.url)}),"./docs/components/Data Display/Tag/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-HgDbldRl.js"),__vite__mapDeps([64,1,2,3,4,5,6,7,8,9,10,11,12,65,20,21,22,23,24,25,26,19,27,28,66,29,30]),import.meta.url)}),"./docs/components/Data Display/Tooltip/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-DnMNzxVF.js"),__vite__mapDeps([67,1,2,3,4,5,6,7,8,9,10,11,12,68,20,21,22,23,24,25,26,19,27,28,66]),import.meta.url)}),"./docs/components/Data Entry/Checkbox/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-tm3oRy5-.js"),__vite__mapDeps([69,1,2,3,4,5,6,7,8,9,10,11,12,70,20,21,22,23,24,25,26,19,27,28,66,29,30]),import.meta.url)}),"./docs/components/Data Entry/Date Picker/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-DlMn0uwL.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,8,9,10,11,12,55,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/components/Data Entry/Select/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-D8aXKEi9.js"),__vite__mapDeps([72,1,2,3,4,5,6,7,8,9,10,11,12,73,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/components/Feedback/Modal/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-12LMkJnT.js"),__vite__mapDeps([74,1,2,3,4,5,6,7,8,9,10,11,12,75,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/components/Unused/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-CxGO-2Gj.js"),__vite__mapDeps([76,1,2,3]),import.meta.url)}),"./src/components/data-display/Avatar/Avatar.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Avatar.stories-CtFtcyhU.js"),__vite__mapDeps([77,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-display/Badge/Badge.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Badge.stories-wFS1oP2T.js"),__vite__mapDeps([78,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-display/Card/Card.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Card.stories-BffqZvZT.js"),__vite__mapDeps([79,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-display/Collapse/Collapse.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Collapse.stories-D0VQFZSj.js"),__vite__mapDeps([80,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66,81]),import.meta.url)}),"./src/components/data-display/Descriptions/Descriptions.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Descriptions.stories-BB5H47aJ.js"),__vite__mapDeps([82,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-display/Empty/Empty.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Empty.stories-C0B5DcBE.js"),__vite__mapDeps([83,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-display/Image/Image.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Image.stories-B9oDv-Yq.js"),__vite__mapDeps([84,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/List/List.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./List.stories-iwCzlPd4.js"),__vite__mapDeps([85,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Popover/Popover.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Popover.stories-CjVORZgh.js"),__vite__mapDeps([86,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Segmented/Segmented.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Segmented.stories-ClMoMFla.js"),__vite__mapDeps([87,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Statistic/Statistic.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Statistic.stories-DpAxTJ3P.js"),__vite__mapDeps([88,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-display/Tabs/Tabs.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tabs.stories-CdRKSz7l.js"),__vite__mapDeps([89,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Tag/Tag.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tag.stories-joARciTI.js").then(r=>r.T),__vite__mapDeps([65,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66,29,30]),import.meta.url)}),"./src/components/data-display/Timeline/Timeline.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Timeline.stories-OiDhz4cR.js"),__vite__mapDeps([90,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Tooltip/Tooltip.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tooltip.stories-CqgkmmZ4.js").then(r=>r.T),__vite__mapDeps([68,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-display/Tour/Tour.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tour.stories-B5roPbY6.js"),__vite__mapDeps([91,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Tree/Tree.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tree.stories-DYf4ePRr.js"),__vite__mapDeps([92,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./AutoComplete.stories-C7S_vuTR.js"),__vite__mapDeps([93,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-entry/Cascader/Cascader.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Cascader.stories-FR6_2QC3.js"),__vite__mapDeps([94,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-entry/Checkbox/Checkbox.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Checkbox.stories-UWlJgggU.js").then(r=>r.C),__vite__mapDeps([70,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66,29,30]),import.meta.url)}),"./src/components/data-entry/DatePicker/DatePicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./DatePicker.stories-DU0W2SK0.js").then(r=>r.a),__vite__mapDeps([55,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Form/Form.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Form.stories-B3rYDZHn.js"),__vite__mapDeps([95,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Input/Input.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Input.stories-C65PbRkX.js"),__vite__mapDeps([96,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66,29,30]),import.meta.url)}),"./src/components/data-entry/InputNumber/InputNumber.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./InputNumber.stories-CHAAtKvv.js"),__vite__mapDeps([97,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Mentions/Mentions.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Mentions.stories-CWDXyJpe.js"),__vite__mapDeps([98,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-entry/QueryItem/Action.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Action.stories-BECvTGYo.js"),__vite__mapDeps([99,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/Cascader.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Cascader.stories-BW2oYuGp.js"),__vite__mapDeps([100,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/NumberInput.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./NumberInput.stories-q-zuoNLZ.js"),__vite__mapDeps([101,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/Qualifier.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Qualifier.stories-n0qNHlpG.js"),__vite__mapDeps([102,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/QueryItem.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./QueryItem.stories-rg-DXSSQ.js"),__vite__mapDeps([103,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/Text.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Text.stories-DbdMG6ti.js"),__vite__mapDeps([104,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/TextInput.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./TextInput.stories-C_tg9I7t.js"),__vite__mapDeps([105,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/ValueSelector.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./ValueSelector.stories-ClL_d6gx.js"),__vite__mapDeps([106,1,2]),import.meta.url)}),"./src/components/data-entry/Radio/Radio.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Radio.stories-BACDehYK.js"),__vite__mapDeps([107,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Radio/RadioButton.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./RadioButton.stories-66FFn5LP.js"),__vite__mapDeps([108,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Radio/RadioGroup.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./RadioGroup.stories-DHzw5BRZ.js"),__vite__mapDeps([109,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Select/Select.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Select.stories-DiBrDQ-h.js").then(r=>r.S),__vite__mapDeps([73,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Slider/Slider.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Slider.stories-KYH654Rk.js"),__vite__mapDeps([110,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Switch/Switch.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Switch.stories-DGasDFJ6.js"),__vite__mapDeps([111,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/data-entry/TimePicker/TimePicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./TimePicker.stories-DimpVOtS.js"),__vite__mapDeps([112,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Transfer/Transfer.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Transfer.stories-D14k6_6V.js"),__vite__mapDeps([113,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/TreeSelect/TreeSelect.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./TreeSelect.stories-R77o7fkP.js"),__vite__mapDeps([114,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Upload/Upload.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Upload.stories-C7K_2vFQ.js"),__vite__mapDeps([115,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Alert/Alert.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Alert.stories-ClufU6wV.js"),__vite__mapDeps([116,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/feedback/Drawer/Drawer.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Drawer.stories-CqlbI9dG.js"),__vite__mapDeps([117,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./LoadingModal.stories-DiE23ved.js"),__vite__mapDeps([118,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Message/Message.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Message.stories-BtArmjQU.js"),__vite__mapDeps([119,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Modal/Modal.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Modal.stories-BVK542WL.js").then(r=>r.M),__vite__mapDeps([75,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Notification/Notification.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Notification.stories-CGs-sIPv.js"),__vite__mapDeps([120,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Popconfirm/Popconfirm.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Popconfirm.stories-Cb_19r2Z.js"),__vite__mapDeps([121,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Progress/Progress.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Progress.stories-BPmYDI-v.js"),__vite__mapDeps([122,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/feedback/Result/Result.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Result.stories-CUCCEoSK.js"),__vite__mapDeps([123,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Skeleton/Skeleton.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Skeleton.stories-BvLd5bJJ.js"),__vite__mapDeps([124,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/feedback/Spin/Spin.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Spin.stories-RPb0UaSS.js"),__vite__mapDeps([125,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/general/Button/Button.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Button.stories-Br7F8UqQ.js"),__vite__mapDeps([126,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,29,30]),import.meta.url)}),"./src/components/general/FloatButton/FloatButton.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./FloatButton.stories-B5KLxT8I.js"),__vite__mapDeps([127,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/general/Icon/Icon.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Icon.stories-B0A7KFbl.js"),__vite__mapDeps([49,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/general/Typography/Link.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Link.stories-D1omitEr.js"),__vite__mapDeps([128,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/general/Typography/Paragraph.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Paragraph.stories-B3anNNrV.js"),__vite__mapDeps([129,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/general/Typography/Text.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Text.stories-B42iacrL.js"),__vite__mapDeps([130,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66,29,30]),import.meta.url)}),"./src/components/general/Typography/Title.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Title.stories-Z2kA7sbF.js"),__vite__mapDeps([131,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/layout/Center/Center.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Center.stories-BVQEw--i.js"),__vite__mapDeps([132,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/layout/Divider/Divider.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Divider.stories-ocvyASRv.js"),__vite__mapDeps([133,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/layout/Flex/Flex.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Flex.stories-Dh_gEcd5.js"),__vite__mapDeps([134,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/layout/Grid/Grid.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Grid.stories-DZzqDyWa.js"),__vite__mapDeps([135,1,2,26,23,24,6,25,5,8]),import.meta.url)}),"./src/components/layout/Layout/Layout.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Layout.stories-DR6-_7W5.js"),__vite__mapDeps([136,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/layout/Space/Space.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Space.stories-Bw2COomS.js"),__vite__mapDeps([137,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/navigation/Anchor/Anchor.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Anchor.stories-BMprL9iW.js"),__vite__mapDeps([138,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Breadcrumb.stories-q_hWi4KQ.js"),__vite__mapDeps([139,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/navigation/Dropdown/Dropdown.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Dropdown.stories-DwNdfO5v.js"),__vite__mapDeps([140,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66,81]),import.meta.url)}),"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./GlobalNavigation.stories-CpyFqYcf.js"),__vite__mapDeps([141,1,2,29,30,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./NavigationItem.stories-Dwy8y42r.js"),__vite__mapDeps([142,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/navigation/Menu/Menu.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Menu.stories-D4VQxD1N.js"),__vite__mapDeps([143,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/navigation/Pagination/Pagination.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Pagination.stories-CxwsKsYN.js"),__vite__mapDeps([144,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/navigation/Steps/Steps.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Steps.stories-BVqUz72-.js"),__vite__mapDeps([145,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66,81]),import.meta.url)}),"./src/components/other/Affix/Affix.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Affix.stories-BeqT8Az7.js"),__vite__mapDeps([146,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/other/App/App.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./App.stories-BBJWiu_Y.js"),__vite__mapDeps([147,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/other/ConfigProvider/ConfigProvider.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./ConfigProvider.stories-CmzqcuN2.js"),__vite__mapDeps([148,21,1,2,22,23,24,6,25,5,8]),import.meta.url)}),"./src/components/unused/Calendar/Calendar.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Calendar.stories-pfqxupoy.js"),__vite__mapDeps([149,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/Carousel/Carousel.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Carousel.stories-BQt3UacA.js"),__vite__mapDeps([150,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/components/unused/ColorPicker/ColorPicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./ColorPicker.stories-AGmale1H.js"),__vite__mapDeps([151,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/QRCode/QRCode.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./QRCode.stories-JCBdRriI.js"),__vite__mapDeps([152,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/Rate/Rate.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Rate.stories-Dm0XvBGN.js"),__vite__mapDeps([153,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/Watermark/Watermark.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Watermark.stories-3XidLFai.js"),__vite__mapDeps([154,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,66]),import.meta.url)}),"./src/utils/GetGlobalToken.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./GetGlobalToken.stories-Cz74gmR0.js"),__vite__mapDeps([155,1,2,22,81,24,6,25]),import.meta.url)}),"./src/utils/svg-prettifier/SvgPrettfier.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./SvgPrettfier.stories-BOBra11O.js"),__vite__mapDeps([156,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)})};function v(r){return o(this,null,function*(){return L[r]()})}const{composeConfigs:A,PreviewWeb:V,ClientApi:C}=__STORYBOOK_MODULE_PREVIEW_API__,x=(...p)=>o(void 0,[...p],function*(r=[]){var m,e,s,_,n,a,d,c,u,E,y,T;const i=yield Promise.all([(m=r.at(0))!=null?m:t(()=>import("./entry-preview-CBsh2JRD.js"),__vite__mapDeps([157,2,158,5]),import.meta.url),(e=r.at(1))!=null?e:t(()=>import("./entry-preview-docs-ClwhwJLm.js"),__vite__mapDeps([159,11,2,10,12]),import.meta.url),(s=r.at(2))!=null?s:t(()=>import("./preview-6uLYm2Ic.js"),__vite__mapDeps([160,7]),import.meta.url),(_=r.at(3))!=null?_:t(()=>import("./preview-bfuXExbA.js"),__vite__mapDeps([161,162]),import.meta.url),(n=r.at(4))!=null?n:t(()=>import("./preview-3sz2p-OZ.js"),__vite__mapDeps([163,12]),import.meta.url),(a=r.at(5))!=null?a:t(()=>import("./preview-B4GcaC1c.js"),__vite__mapDeps([]),import.meta.url),(d=r.at(6))!=null?d:t(()=>import("./preview-CaQmw2YX.js"),__vite__mapDeps([]),import.meta.url),(c=r.at(7))!=null?c:t(()=>import("./preview-BAz7FMXc.js"),__vite__mapDeps([164,12]),import.meta.url),(u=r.at(8))!=null?u:t(()=>import("./preview-BpcF_O6y.js"),__vite__mapDeps([]),import.meta.url),(E=r.at(9))!=null?E:t(()=>import("./preview-CkNqzwOK.js"),__vite__mapDeps([165,30]),import.meta.url),(y=r.at(10))!=null?y:t(()=>import("./preview-yDWbSQfF.js"),__vite__mapDeps([]),import.meta.url),(T=r.at(11))!=null?T:t(()=>import("./preview-CEOCgcdg.js"),__vite__mapDeps([]),import.meta.url)]);return A(i)});window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new V(v,x);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./Changelog-C5Y1pwby.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./index-BI4Okn8T.js","./index-ZtHH_h5v.js","./index-D-4E_f9W.js","./extends-CF3RwP-h.js","./index-DYADbu9O.js","./isNativeReflectConstruct-CYew8PZR.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./index-eS13M_ii.js","./index-DrFu-skq.js","./FAQ-BqdPRRWM.js","./Feedback-DRnZB4mo.js","./Introduction-ITfC-BJ0.js","./Documentation-BCV-_XDh.js","./SelectWithRangePicker.stories-TBdBX_XP.js","./SelectWithRangePicker-Ce7dTWwR.js","./dayjs.min-KGLNs1IR.js","./GlobalNavigation-CPQMp-rl.js","./ConfigProvider-BRwLXval.js","./LightTheme-BtoaoHMG.js","./index-z2stgOKB.js","./useToken-5RYkiW09.js","./Serializer-OW4gUFyn.js","./row-DegztUsn.js","./customParseFormat-oYt9ov06.js","./GlobalNavigation-Bkesd9t8.css","./index-C7MMNn6a.js","./index-TL6_15PV.js","./Introduction-CVgFS_R1.js","./Introducing new ones-CqZsvOEB.js","./Promoting to a component-fAo7cHhw.js","./Using existing ones-Dhq84SWT.js","./Change process-NQZ9Bph3.js","./Using components-CG8m7bGS.js","./Introduction-DRv65MtS.js","./Introduction-zxvWaPsx.js","./Commits-ClaR1hl6.js","./Introduction-Bvl-MyE6.js","./Maintainers-BZzJ7k8o.js","./Release Process-OFogdIZc.js","./Testing in the platforms-hyS4lT-p.js","./Errors-CJQtCMnO.js","./Loading-BeeLkhhk.js","./Colors-B9Cmeu2G.js","./How to use-BVmVNdY3.js","./Icon Library-CKUnTy6V.js","./Icon.stories-B0A7KFbl.js","./Typography-BXs2kjWm.js","./Directory-Br9jLzxm.js","./Cell Badge-BZGn8RE4.js","./Table.stories-CWvOLwoL.js","./index-Cn2ehl89.js","./DatePicker.stories-DU0W2SK0.js","./Cell Link-C5d3gaop.js","./Cell More Actions-xfC4ZCab.js","./Cell Tag-DCVrYnZs.js","./Documentation-C20_BiBv.js","./Filters-I6MwuyR_.js","./Filters.stories-BDb-f9a5.js","./Table-B_T5EIXq.js","./Tags-DC7glVi1.js","./Documentation-HgDbldRl.js","./Tag.stories-joARciTI.js","./ExampleStory-DvwdaA9H.js","./Documentation-DnMNzxVF.js","./Tooltip.stories-CqgkmmZ4.js","./Documentation-tm3oRy5-.js","./Checkbox.stories-UWlJgggU.js","./Documentation-DlMn0uwL.js","./Documentation-D8aXKEi9.js","./Select.stories-DiBrDQ-h.js","./Documentation-12LMkJnT.js","./Modal.stories-BVK542WL.js","./Documentation-CxGO-2Gj.js","./Avatar.stories-CtFtcyhU.js","./Badge.stories-wFS1oP2T.js","./Card.stories-BffqZvZT.js","./Collapse.stories-D0VQFZSj.js","./index-C9GZCUSR.js","./Descriptions.stories-BB5H47aJ.js","./Empty.stories-C0B5DcBE.js","./Image.stories-B9oDv-Yq.js","./List.stories-iwCzlPd4.js","./Popover.stories-CjVORZgh.js","./Segmented.stories-ClMoMFla.js","./Statistic.stories-DpAxTJ3P.js","./Tabs.stories-CdRKSz7l.js","./Timeline.stories-OiDhz4cR.js","./Tour.stories-B5roPbY6.js","./Tree.stories-DYf4ePRr.js","./AutoComplete.stories-C7S_vuTR.js","./Cascader.stories-FR6_2QC3.js","./Form.stories-B3rYDZHn.js","./Input.stories-C65PbRkX.js","./InputNumber.stories-CHAAtKvv.js","./Mentions.stories-CWDXyJpe.js","./Action.stories-BECvTGYo.js","./Cascader.stories-BW2oYuGp.js","./NumberInput.stories-q-zuoNLZ.js","./Qualifier.stories-n0qNHlpG.js","./QueryItem.stories-rg-DXSSQ.js","./Text.stories-DbdMG6ti.js","./TextInput.stories-C_tg9I7t.js","./ValueSelector.stories-ClL_d6gx.js","./Radio.stories-BACDehYK.js","./RadioButton.stories-66FFn5LP.js","./RadioGroup.stories-DHzw5BRZ.js","./Slider.stories-KYH654Rk.js","./Switch.stories-DGasDFJ6.js","./TimePicker.stories-DimpVOtS.js","./Transfer.stories-D14k6_6V.js","./TreeSelect.stories-R77o7fkP.js","./Upload.stories-C7K_2vFQ.js","./Alert.stories-ClufU6wV.js","./Drawer.stories-CqlbI9dG.js","./LoadingModal.stories-DiE23ved.js","./Message.stories-BtArmjQU.js","./Notification.stories-CGs-sIPv.js","./Popconfirm.stories-Cb_19r2Z.js","./Progress.stories-BPmYDI-v.js","./Result.stories-CUCCEoSK.js","./Skeleton.stories-BvLd5bJJ.js","./Spin.stories-RPb0UaSS.js","./Button.stories-Br7F8UqQ.js","./FloatButton.stories-B5KLxT8I.js","./Link.stories-D1omitEr.js","./Paragraph.stories-B3anNNrV.js","./Text.stories-B42iacrL.js","./Title.stories-Z2kA7sbF.js","./Center.stories-BVQEw--i.js","./Divider.stories-ocvyASRv.js","./Flex.stories-Dh_gEcd5.js","./Grid.stories-DZzqDyWa.js","./Layout.stories-DR6-_7W5.js","./Space.stories-Bw2COomS.js","./Anchor.stories-BMprL9iW.js","./Breadcrumb.stories-q_hWi4KQ.js","./Dropdown.stories-DwNdfO5v.js","./GlobalNavigation.stories-CpyFqYcf.js","./NavigationItem.stories-Dwy8y42r.js","./Menu.stories-D4VQxD1N.js","./Pagination.stories-CxwsKsYN.js","./Steps.stories-BVqUz72-.js","./Affix.stories-BeqT8Az7.js","./App.stories-BBJWiu_Y.js","./ConfigProvider.stories-CmzqcuN2.js","./Calendar.stories-pfqxupoy.js","./Carousel.stories-BQt3UacA.js","./ColorPicker.stories-AGmale1H.js","./QRCode.stories-JCBdRriI.js","./Rate.stories-Dm0XvBGN.js","./Watermark.stories-3XidLFai.js","./GetGlobalToken.stories-Cz74gmR0.js","./SvgPrettfier.stories-BOBra11O.js","./entry-preview-CBsh2JRD.js","./react-18-CptRw6kM.js","./entry-preview-docs-ClwhwJLm.js","./preview-6uLYm2Ic.js","./preview-bfuXExbA.js","./stringify-DnirLPRY.js","./preview-3sz2p-OZ.js","./preview-BAz7FMXc.js","./preview-CkNqzwOK.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/pr-preview/pr-459/assets/iframe-DsjYyBKh.js b/pr-preview/pr-459/assets/iframe-DsjYyBKh.js new file mode 100644 index 000000000..e9922c1c5 --- /dev/null +++ b/pr-preview/pr-459/assets/iframe-DsjYyBKh.js @@ -0,0 +1,7 @@ +var o=(r,p,_)=>new Promise((m,e)=>{var s=a=>{try{n(_.next(a))}catch(d){e(d)}},i=a=>{try{n(_.throw(a))}catch(d){e(d)}},n=a=>a.done?m(a.value):Promise.resolve(a.value).then(s,i);n((_=_.apply(r,p)).next())});import"../sb-preview/runtime.js";(function(){const p=document.createElement("link").relList;if(p&&p.supports&&p.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))m(e);new MutationObserver(e=>{for(const s of e)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&m(i)}).observe(document,{childList:!0,subtree:!0});function _(e){const s={};return e.integrity&&(s.integrity=e.integrity),e.referrerPolicy&&(s.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?s.credentials="include":e.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function m(e){if(e.ep)return;e.ep=!0;const s=_(e);fetch(e.href,s)}})();const P="modulepreload",R=function(r,p){return new URL(r,p).href},O={},t=function(p,_,m){let e=Promise.resolve();if(_&&_.length>0){const s=document.getElementsByTagName("link");e=Promise.all(_.map(i=>{if(i=R(i,m),i in O)return;O[i]=!0;const n=i.endsWith(".css"),a=n?'[rel="stylesheet"]':"";if(!!m)for(let u=s.length-1;u>=0;u--){const E=s[u];if(E.href===i&&(!n||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=n?"stylesheet":P,n||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),n)return new Promise((u,E)=>{c.addEventListener("load",u),c.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${i}`)))})}))}return e.then(()=>p()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},{createBrowserChannel:D}=__STORYBOOK_MODULE_CHANNELS__,{addons:I}=__STORYBOOK_MODULE_PREVIEW_API__,l=D({page:"preview"});I.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const L={"./docs/About/Changelog.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Changelog-D_aWwWqz.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)}),"./docs/About/FAQ.mdx":()=>o(void 0,null,function*(){return t(()=>import("./FAQ-BqdPRRWM.js"),__vite__mapDeps([13,1,2,3]),import.meta.url)}),"./docs/About/Feedback.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Feedback-DRnZB4mo.js"),__vite__mapDeps([14,1,2,3]),import.meta.url)}),"./docs/About/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-ITfC-BJ0.js"),__vite__mapDeps([15,1,2,3]),import.meta.url)}),"./docs/Candidate Components/Directory/Date Range Filter/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-DwycGFyh.js"),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,11,12,17,18,19,20,21,22,23,24,25,26,27,28,29,30]),import.meta.url)}),"./docs/Candidate Components/Directory/Date Range Filter/SelectWithRangePicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./SelectWithRangePicker.stories-zZF_fmuw.js").then(r=>r.S),__vite__mapDeps([17,1,2,18,19,20,21,22,23,24,6,25,5,8,26,9,10,27,28,29,30]),import.meta.url)}),"./docs/Candidate Components/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-CVgFS_R1.js"),__vite__mapDeps([31,1,2,3]),import.meta.url)}),"./docs/Component Process/Candidate Components/Introducing new ones.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introducing new ones-CqZsvOEB.js"),__vite__mapDeps([32,1,2,3]),import.meta.url)}),"./docs/Component Process/Candidate Components/Promoting to a component.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Promoting to a component-fAo7cHhw.js"),__vite__mapDeps([33,1,2,3]),import.meta.url)}),"./docs/Component Process/Candidate Components/Using existing ones.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Using existing ones-B8pwVpRB.js").then(r=>r.bx),__vite__mapDeps([34,1,2,3,19,12,25]),import.meta.url)}),"./docs/Component Process/Components/Change process.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Change process-NQZ9Bph3.js"),__vite__mapDeps([35,1,2,3]),import.meta.url)}),"./docs/Component Process/Components/Using components.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Using components-CG8m7bGS.js"),__vite__mapDeps([36,1,2,3]),import.meta.url)}),"./docs/Component Process/Design Templates/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-DRv65MtS.js"),__vite__mapDeps([37,1,2,3]),import.meta.url)}),"./docs/Component Process/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-zxvWaPsx.js"),__vite__mapDeps([38,1,2,3]),import.meta.url)}),"./docs/Contributing/Commits.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Commits-ClaR1hl6.js"),__vite__mapDeps([39,1,2,3]),import.meta.url)}),"./docs/Contributing/Introduction.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Introduction-Bvl-MyE6.js"),__vite__mapDeps([40,1,2,3]),import.meta.url)}),"./docs/Contributing/Maintainers.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Maintainers-BZzJ7k8o.js"),__vite__mapDeps([41,1,2,3]),import.meta.url)}),"./docs/Contributing/Release Process.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Release Process-OFogdIZc.js"),__vite__mapDeps([42,1,2,3]),import.meta.url)}),"./docs/Contributing/Testing in the platforms.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Testing in the platforms-hyS4lT-p.js"),__vite__mapDeps([43,1,2,3]),import.meta.url)}),"./docs/Design Templates/TBD/Errors.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Errors-CJQtCMnO.js"),__vite__mapDeps([44,1,2,3]),import.meta.url)}),"./docs/Design Templates/TBD/Loading.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Loading-NC2mhu7a.js"),__vite__mapDeps([45,1,2,3,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./docs/Foundations/Colors.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Colors-B9Cmeu2G.js"),__vite__mapDeps([46,1,2,3]),import.meta.url)}),"./docs/Foundations/Icons/How to use.mdx":()=>o(void 0,null,function*(){return t(()=>import("./How to use-BVmVNdY3.js"),__vite__mapDeps([47,1,2,3]),import.meta.url)}),"./docs/Foundations/Icons/Icon Library.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Icon Library-B1RMFPdH.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,11,12,49,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/Foundations/Typography.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Typography-BXs2kjWm.js"),__vite__mapDeps([50,1,2,3]),import.meta.url)}),"./docs/UX Patterns/Table/Cell Badge.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell Badge-CKx-Yxq_.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11,12,52,53,20,21,22,23,24,25,26,19,27,28,54]),import.meta.url)}),"./docs/UX Patterns/Table/Cell Link.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell Link-CnW6sxpj.js"),__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,10,11,12,52,53,20,21,22,23,24,25,26,19,27,28,54]),import.meta.url)}),"./docs/UX Patterns/Table/Cell More Actions.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell More Actions-h_0Xj8Zg.js"),__vite__mapDeps([56,1,2,3,4,5,6,7,8,9,10,11,12,52,53,20,21,22,23,24,25,26,19,27,28,54]),import.meta.url)}),"./docs/UX Patterns/Table/Cell Tag.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Cell Tag-B0pI-VP0.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,12,52,53,20,21,22,23,24,25,26,19,27,28,54]),import.meta.url)}),"./docs/UX Patterns/Table/Filters.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Filters-Bh-EZPAv.js"),__vite__mapDeps([58,1,2,3,4,5,6,7,8,9,10,11,12,59,53,20,21,22,23,24,25,26,19,27,28,54,18]),import.meta.url)}),"./docs/UX Patterns/Table/Filters.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Filters.stories-Bp0TTpkD.js").then(r=>r.F),__vite__mapDeps([59,1,2,53,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,54,18]),import.meta.url)}),"./docs/UX Patterns/Table/Table.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Table-BPMIUHah.js"),__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11,12,52,53,20,21,22,23,24,25,26,19,27,28,54]),import.meta.url)}),"./docs/UX Patterns/Table/Table.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Table.stories-CjY-u-Lz.js").then(r=>r.T),__vite__mapDeps([52,1,2,53,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,54]),import.meta.url)}),"./docs/components/Data Display/Tag/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-BbO-wC7B.js"),__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,10,11,12,62,20,21,22,23,24,25,26,19,27,28,63,29,30]),import.meta.url)}),"./docs/components/Data Display/Tooltip/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-Dpp7mU5w.js"),__vite__mapDeps([64,1,2,3,4,5,6,7,8,9,10,11,12,65,20,21,22,23,24,25,26,19,27,28,63]),import.meta.url)}),"./docs/components/Data Entry/Checkbox/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-B_W2e-p6.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11,12,67,20,21,22,23,24,25,26,19,27,28,63,29,30]),import.meta.url)}),"./docs/components/Data Entry/Date Picker/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-BXiS8QWG.js"),__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,10,11,12,54,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/components/Data Entry/Select/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-Cmsskmcj.js"),__vite__mapDeps([69,1,2,3,4,5,6,7,8,9,10,11,12,70,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/components/Feedback/Modal/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-VjjlrjXW.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,8,9,10,11,12,72,20,21,22,23,24,25,26,19,27,28]),import.meta.url)}),"./docs/components/Unused/Documentation.mdx":()=>o(void 0,null,function*(){return t(()=>import("./Documentation-CxGO-2Gj.js"),__vite__mapDeps([73,1,2,3]),import.meta.url)}),"./src/components/data-display/Avatar/Avatar.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Avatar.stories-DHpD7xyO.js"),__vite__mapDeps([74,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-display/Badge/Badge.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Badge.stories-B6lN52q2.js"),__vite__mapDeps([75,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-display/Card/Card.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Card.stories-CxWA4rMA.js"),__vite__mapDeps([76,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-display/Collapse/Collapse.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Collapse.stories-9ojh7nlb.js"),__vite__mapDeps([77,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63,78]),import.meta.url)}),"./src/components/data-display/Descriptions/Descriptions.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Descriptions.stories-BepU203o.js"),__vite__mapDeps([79,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-display/Empty/Empty.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Empty.stories-JZZjqT3e.js"),__vite__mapDeps([80,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-display/Image/Image.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Image.stories-CtYG9i4D.js"),__vite__mapDeps([81,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/List/List.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./List.stories-DYmJ7gF8.js"),__vite__mapDeps([82,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Popover/Popover.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Popover.stories-CKBmOYL2.js"),__vite__mapDeps([83,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Segmented/Segmented.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Segmented.stories-By4-JUVt.js"),__vite__mapDeps([84,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Statistic/Statistic.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Statistic.stories-nuctEEYX.js"),__vite__mapDeps([85,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-display/Tabs/Tabs.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tabs.stories-C4DlGzXX.js"),__vite__mapDeps([86,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Tag/Tag.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tag.stories-myywVqwT.js").then(r=>r.T),__vite__mapDeps([62,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63,29,30]),import.meta.url)}),"./src/components/data-display/Timeline/Timeline.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Timeline.stories-Rv8tHBVN.js"),__vite__mapDeps([87,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Tooltip/Tooltip.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tooltip.stories-3xZ2PUuc.js").then(r=>r.T),__vite__mapDeps([65,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-display/Tour/Tour.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tour.stories-DaR2jyVf.js"),__vite__mapDeps([88,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-display/Tree/Tree.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Tree.stories-BYe7vPY5.js"),__vite__mapDeps([89,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./AutoComplete.stories-wAR-Ovp2.js"),__vite__mapDeps([90,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-entry/Cascader/Cascader.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Cascader.stories-CBkPWMQF.js"),__vite__mapDeps([91,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-entry/Checkbox/Checkbox.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Checkbox.stories-D2b-ELR1.js").then(r=>r.C),__vite__mapDeps([67,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63,29,30]),import.meta.url)}),"./src/components/data-entry/DatePicker/DatePicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./DatePicker.stories-BGsdcwIW.js").then(r=>r.a),__vite__mapDeps([54,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Form/Form.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Form.stories-0atdXO4-.js"),__vite__mapDeps([92,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Input/Input.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Input.stories-Dh3sCG79.js"),__vite__mapDeps([93,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63,29,30]),import.meta.url)}),"./src/components/data-entry/InputNumber/InputNumber.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./InputNumber.stories-Cgpg6lXy.js"),__vite__mapDeps([94,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Mentions/Mentions.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Mentions.stories-CEaAW57W.js"),__vite__mapDeps([95,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-entry/QueryItem/Action.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Action.stories-BeZQKUvw.js"),__vite__mapDeps([96,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/Cascader.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Cascader.stories-B-sAGlPF.js"),__vite__mapDeps([97,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/NumberInput.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./NumberInput.stories-CH45hDNV.js"),__vite__mapDeps([98,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/Qualifier.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Qualifier.stories-B8ZQYHAg.js"),__vite__mapDeps([99,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/QueryItem.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./QueryItem.stories-D6IoXJyC.js"),__vite__mapDeps([100,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/Text.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Text.stories-BeM4enx4.js"),__vite__mapDeps([101,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/TextInput.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./TextInput.stories-Chdd3EdJ.js"),__vite__mapDeps([102,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/QueryItem/ValueSelector.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./ValueSelector.stories-EY0QtBuu.js"),__vite__mapDeps([103,1,2]),import.meta.url)}),"./src/components/data-entry/Radio/Radio.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Radio.stories-DAo5gjxq.js"),__vite__mapDeps([104,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Radio/RadioButton.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./RadioButton.stories-CVwrUrhB.js"),__vite__mapDeps([105,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Radio/RadioGroup.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./RadioGroup.stories-DFTnE1Sf.js"),__vite__mapDeps([106,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Select/Select.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Select.stories-CHNRuGV7.js").then(r=>r.S),__vite__mapDeps([70,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Slider/Slider.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Slider.stories-D0DytD9t.js"),__vite__mapDeps([107,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Switch/Switch.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Switch.stories-7BKRkvYr.js"),__vite__mapDeps([108,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/data-entry/TimePicker/TimePicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./TimePicker.stories-a0LjGbk0.js"),__vite__mapDeps([109,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Transfer/Transfer.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Transfer.stories-CmGPSwhR.js"),__vite__mapDeps([110,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/TreeSelect/TreeSelect.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./TreeSelect.stories-C2_xExhL.js"),__vite__mapDeps([111,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/data-entry/Upload/Upload.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Upload.stories-BV6tzFXf.js"),__vite__mapDeps([112,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Alert/Alert.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Alert.stories-CB5QZEgJ.js"),__vite__mapDeps([113,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/feedback/Drawer/Drawer.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Drawer.stories-Erikp2qS.js"),__vite__mapDeps([114,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./LoadingModal.stories-WN7TvNGX.js"),__vite__mapDeps([115,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Message/Message.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Message.stories-CWUpoYNg.js"),__vite__mapDeps([116,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Modal/Modal.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Modal.stories-CXPurOPr.js").then(r=>r.M),__vite__mapDeps([72,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Notification/Notification.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Notification.stories-DQwijqRP.js"),__vite__mapDeps([117,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Popconfirm/Popconfirm.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Popconfirm.stories-BJwQURQg.js"),__vite__mapDeps([118,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Progress/Progress.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Progress.stories-CHuf-8Rr.js"),__vite__mapDeps([119,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/feedback/Result/Result.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Result.stories-BWses7_d.js"),__vite__mapDeps([120,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/feedback/Skeleton/Skeleton.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Skeleton.stories-D8-yRkQF.js"),__vite__mapDeps([121,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/feedback/Spin/Spin.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Spin.stories-CGS6QB5Z.js"),__vite__mapDeps([122,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/general/Button/Button.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Button.stories-BKpoGRpV.js"),__vite__mapDeps([123,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,29,30]),import.meta.url)}),"./src/components/general/FloatButton/FloatButton.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./FloatButton.stories-CRKBzvUN.js"),__vite__mapDeps([124,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/general/Icon/Icon.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Icon.stories-BL9fFQUO.js"),__vite__mapDeps([49,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/general/Typography/Link.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Link.stories-RizhoV5o.js"),__vite__mapDeps([125,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/general/Typography/Paragraph.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Paragraph.stories-DF8DB0s4.js"),__vite__mapDeps([126,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/general/Typography/Text.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Text.stories-Cf0O3tdL.js"),__vite__mapDeps([127,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63,29,30]),import.meta.url)}),"./src/components/general/Typography/Title.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Title.stories-BtyYom_P.js"),__vite__mapDeps([128,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/layout/Center/Center.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Center.stories-CQZzTmLc.js"),__vite__mapDeps([129,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/layout/Divider/Divider.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Divider.stories-BD8lijIk.js"),__vite__mapDeps([130,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/layout/Flex/Flex.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Flex.stories-CPGXcmUd.js"),__vite__mapDeps([131,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/layout/Grid/Grid.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Grid.stories-DZzqDyWa.js"),__vite__mapDeps([132,1,2,26,23,24,6,25,5,8]),import.meta.url)}),"./src/components/layout/Layout/Layout.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Layout.stories-x5If_0Ol.js"),__vite__mapDeps([133,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/layout/Space/Space.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Space.stories-BDZfFNjC.js"),__vite__mapDeps([134,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/navigation/Anchor/Anchor.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Anchor.stories-mrpVU3H1.js"),__vite__mapDeps([135,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Breadcrumb.stories-DEnwUB_M.js"),__vite__mapDeps([136,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/navigation/Dropdown/Dropdown.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Dropdown.stories-BF08CEty.js"),__vite__mapDeps([137,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63,78]),import.meta.url)}),"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./GlobalNavigation.stories-CEaMqFO0.js"),__vite__mapDeps([138,1,2,29,30,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./NavigationItem.stories-DXu57zIH.js"),__vite__mapDeps([139,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/navigation/Menu/Menu.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Menu.stories-BkolQIB5.js"),__vite__mapDeps([140,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/navigation/Pagination/Pagination.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Pagination.stories-Dq1wDfCp.js"),__vite__mapDeps([141,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/navigation/Steps/Steps.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Steps.stories-DPvPj4H9.js"),__vite__mapDeps([142,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63,78]),import.meta.url)}),"./src/components/other/Affix/Affix.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Affix.stories-e01WU6X3.js"),__vite__mapDeps([143,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/other/App/App.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./App.stories-D_V3CmQS.js"),__vite__mapDeps([144,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/other/ConfigProvider/ConfigProvider.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./ConfigProvider.stories-CmzqcuN2.js"),__vite__mapDeps([145,21,1,2,22,23,24,6,25,5,8]),import.meta.url)}),"./src/components/unused/Calendar/Calendar.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Calendar.stories-CviIayxW.js"),__vite__mapDeps([146,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/Carousel/Carousel.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Carousel.stories-DA-HinAk.js"),__vite__mapDeps([147,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/components/unused/ColorPicker/ColorPicker.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./ColorPicker.stories-NQSGMIsv.js"),__vite__mapDeps([148,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/QRCode/QRCode.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./QRCode.stories-CWeUF9MR.js"),__vite__mapDeps([149,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/Rate/Rate.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Rate.stories-BsS9ZdLg.js"),__vite__mapDeps([150,20,1,2,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)}),"./src/components/unused/Watermark/Watermark.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./Watermark.stories-O_dDxD9Y.js"),__vite__mapDeps([151,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28,63]),import.meta.url)}),"./src/utils/GetGlobalToken.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./GetGlobalToken.stories-Cz74gmR0.js"),__vite__mapDeps([152,1,2,22,78,24,6,25]),import.meta.url)}),"./src/utils/svg-prettifier/SvgPrettfier.stories.tsx":()=>o(void 0,null,function*(){return t(()=>import("./SvgPrettfier.stories-DoO_3TON.js"),__vite__mapDeps([153,1,2,20,21,22,23,24,6,25,5,8,26,9,10,19,27,28]),import.meta.url)})};function v(r){return o(this,null,function*(){return L[r]()})}const{composeConfigs:A,PreviewWeb:V,ClientApi:C}=__STORYBOOK_MODULE_PREVIEW_API__,x=(...p)=>o(void 0,[...p],function*(r=[]){var m,e,s,i,n,a,d,c,u,E,y,T;const _=yield Promise.all([(m=r.at(0))!=null?m:t(()=>import("./entry-preview-CBsh2JRD.js"),__vite__mapDeps([154,2,155,5]),import.meta.url),(e=r.at(1))!=null?e:t(()=>import("./entry-preview-docs-ClwhwJLm.js"),__vite__mapDeps([156,11,2,10,12]),import.meta.url),(s=r.at(2))!=null?s:t(()=>import("./preview-6uLYm2Ic.js"),__vite__mapDeps([157,7]),import.meta.url),(i=r.at(3))!=null?i:t(()=>import("./preview-bfuXExbA.js"),__vite__mapDeps([158,159]),import.meta.url),(n=r.at(4))!=null?n:t(()=>import("./preview-3sz2p-OZ.js"),__vite__mapDeps([160,12]),import.meta.url),(a=r.at(5))!=null?a:t(()=>import("./preview-B4GcaC1c.js"),__vite__mapDeps([]),import.meta.url),(d=r.at(6))!=null?d:t(()=>import("./preview-CaQmw2YX.js"),__vite__mapDeps([]),import.meta.url),(c=r.at(7))!=null?c:t(()=>import("./preview-BAz7FMXc.js"),__vite__mapDeps([161,12]),import.meta.url),(u=r.at(8))!=null?u:t(()=>import("./preview-BpcF_O6y.js"),__vite__mapDeps([]),import.meta.url),(E=r.at(9))!=null?E:t(()=>import("./preview-CkNqzwOK.js"),__vite__mapDeps([162,30]),import.meta.url),(y=r.at(10))!=null?y:t(()=>import("./preview-wqPP8BOU.js"),__vite__mapDeps([]),import.meta.url),(T=r.at(11))!=null?T:t(()=>import("./preview-CEOCgcdg.js"),__vite__mapDeps([]),import.meta.url)]);return A(_)});window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new V(v,x);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./Changelog-D_aWwWqz.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./index-BI4Okn8T.js","./index-Bf2yN5NY.js","./index-D-4E_f9W.js","./extends-CF3RwP-h.js","./index-DYADbu9O.js","./isNativeReflectConstruct-CYew8PZR.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./index-eS13M_ii.js","./index-DrFu-skq.js","./FAQ-BqdPRRWM.js","./Feedback-DRnZB4mo.js","./Introduction-ITfC-BJ0.js","./Documentation-DwycGFyh.js","./SelectWithRangePicker.stories-zZF_fmuw.js","./SelectWithRangePicker-CdqsmbpZ.js","./dayjs.min-KGLNs1IR.js","./GlobalNavigation-DT_tPK9g.js","./ConfigProvider-BRwLXval.js","./LightTheme-BtoaoHMG.js","./index-z2stgOKB.js","./useToken-5RYkiW09.js","./Serializer-OW4gUFyn.js","./row-DegztUsn.js","./customParseFormat-oYt9ov06.js","./GlobalNavigation-Bkesd9t8.css","./index-C7MMNn6a.js","./index-TL6_15PV.js","./Introduction-CVgFS_R1.js","./Introducing new ones-CqZsvOEB.js","./Promoting to a component-fAo7cHhw.js","./Using existing ones-B8pwVpRB.js","./Change process-NQZ9Bph3.js","./Using components-CG8m7bGS.js","./Introduction-DRv65MtS.js","./Introduction-zxvWaPsx.js","./Commits-ClaR1hl6.js","./Introduction-Bvl-MyE6.js","./Maintainers-BZzJ7k8o.js","./Release Process-OFogdIZc.js","./Testing in the platforms-hyS4lT-p.js","./Errors-CJQtCMnO.js","./Loading-NC2mhu7a.js","./Colors-B9Cmeu2G.js","./How to use-BVmVNdY3.js","./Icon Library-B1RMFPdH.js","./Icon.stories-BL9fFQUO.js","./Typography-BXs2kjWm.js","./Cell Badge-CKx-Yxq_.js","./Table.stories-CjY-u-Lz.js","./index-Cn2ehl89.js","./DatePicker.stories-BGsdcwIW.js","./Cell Link-CnW6sxpj.js","./Cell More Actions-h_0Xj8Zg.js","./Cell Tag-B0pI-VP0.js","./Filters-Bh-EZPAv.js","./Filters.stories-Bp0TTpkD.js","./Table-BPMIUHah.js","./Documentation-BbO-wC7B.js","./Tag.stories-myywVqwT.js","./ExampleStory-B-ilaOpY.js","./Documentation-Dpp7mU5w.js","./Tooltip.stories-3xZ2PUuc.js","./Documentation-B_W2e-p6.js","./Checkbox.stories-D2b-ELR1.js","./Documentation-BXiS8QWG.js","./Documentation-Cmsskmcj.js","./Select.stories-CHNRuGV7.js","./Documentation-VjjlrjXW.js","./Modal.stories-CXPurOPr.js","./Documentation-CxGO-2Gj.js","./Avatar.stories-DHpD7xyO.js","./Badge.stories-B6lN52q2.js","./Card.stories-CxWA4rMA.js","./Collapse.stories-9ojh7nlb.js","./index-C9GZCUSR.js","./Descriptions.stories-BepU203o.js","./Empty.stories-JZZjqT3e.js","./Image.stories-CtYG9i4D.js","./List.stories-DYmJ7gF8.js","./Popover.stories-CKBmOYL2.js","./Segmented.stories-By4-JUVt.js","./Statistic.stories-nuctEEYX.js","./Tabs.stories-C4DlGzXX.js","./Timeline.stories-Rv8tHBVN.js","./Tour.stories-DaR2jyVf.js","./Tree.stories-BYe7vPY5.js","./AutoComplete.stories-wAR-Ovp2.js","./Cascader.stories-CBkPWMQF.js","./Form.stories-0atdXO4-.js","./Input.stories-Dh3sCG79.js","./InputNumber.stories-Cgpg6lXy.js","./Mentions.stories-CEaAW57W.js","./Action.stories-BeZQKUvw.js","./Cascader.stories-B-sAGlPF.js","./NumberInput.stories-CH45hDNV.js","./Qualifier.stories-B8ZQYHAg.js","./QueryItem.stories-D6IoXJyC.js","./Text.stories-BeM4enx4.js","./TextInput.stories-Chdd3EdJ.js","./ValueSelector.stories-EY0QtBuu.js","./Radio.stories-DAo5gjxq.js","./RadioButton.stories-CVwrUrhB.js","./RadioGroup.stories-DFTnE1Sf.js","./Slider.stories-D0DytD9t.js","./Switch.stories-7BKRkvYr.js","./TimePicker.stories-a0LjGbk0.js","./Transfer.stories-CmGPSwhR.js","./TreeSelect.stories-C2_xExhL.js","./Upload.stories-BV6tzFXf.js","./Alert.stories-CB5QZEgJ.js","./Drawer.stories-Erikp2qS.js","./LoadingModal.stories-WN7TvNGX.js","./Message.stories-CWUpoYNg.js","./Notification.stories-DQwijqRP.js","./Popconfirm.stories-BJwQURQg.js","./Progress.stories-CHuf-8Rr.js","./Result.stories-BWses7_d.js","./Skeleton.stories-D8-yRkQF.js","./Spin.stories-CGS6QB5Z.js","./Button.stories-BKpoGRpV.js","./FloatButton.stories-CRKBzvUN.js","./Link.stories-RizhoV5o.js","./Paragraph.stories-DF8DB0s4.js","./Text.stories-Cf0O3tdL.js","./Title.stories-BtyYom_P.js","./Center.stories-CQZzTmLc.js","./Divider.stories-BD8lijIk.js","./Flex.stories-CPGXcmUd.js","./Grid.stories-DZzqDyWa.js","./Layout.stories-x5If_0Ol.js","./Space.stories-BDZfFNjC.js","./Anchor.stories-mrpVU3H1.js","./Breadcrumb.stories-DEnwUB_M.js","./Dropdown.stories-BF08CEty.js","./GlobalNavigation.stories-CEaMqFO0.js","./NavigationItem.stories-DXu57zIH.js","./Menu.stories-BkolQIB5.js","./Pagination.stories-Dq1wDfCp.js","./Steps.stories-DPvPj4H9.js","./Affix.stories-e01WU6X3.js","./App.stories-D_V3CmQS.js","./ConfigProvider.stories-CmzqcuN2.js","./Calendar.stories-CviIayxW.js","./Carousel.stories-DA-HinAk.js","./ColorPicker.stories-NQSGMIsv.js","./QRCode.stories-CWeUF9MR.js","./Rate.stories-BsS9ZdLg.js","./Watermark.stories-O_dDxD9Y.js","./GetGlobalToken.stories-Cz74gmR0.js","./SvgPrettfier.stories-DoO_3TON.js","./entry-preview-CBsh2JRD.js","./react-18-CptRw6kM.js","./entry-preview-docs-ClwhwJLm.js","./preview-6uLYm2Ic.js","./preview-bfuXExbA.js","./stringify-DnirLPRY.js","./preview-3sz2p-OZ.js","./preview-BAz7FMXc.js","./preview-CkNqzwOK.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/pr-preview/pr-459/assets/index-ZtHH_h5v.js b/pr-preview/pr-459/assets/index-Bf2yN5NY.js similarity index 99% rename from pr-preview/pr-459/assets/index-ZtHH_h5v.js rename to pr-preview/pr-459/assets/index-Bf2yN5NY.js index ca9768acc..a1faea405 100644 --- a/pr-preview/pr-459/assets/index-ZtHH_h5v.js +++ b/pr-preview/pr-459/assets/index-Bf2yN5NY.js @@ -1,4 +1,4 @@ -var tu=Object.defineProperty,ru=Object.defineProperties;var nu=Object.getOwnPropertyDescriptors;var hn=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable;var ti=(e,t,r)=>t in e?tu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))ri.call(t,r)&&ti(e,r,t[r]);if(hn)for(var r of hn(t))ni.call(t,r)&&ti(e,r,t[r]);return e},z=(e,t)=>ru(e,nu(t));var R=(e,t)=>{var r={};for(var n in e)ri.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&hn)for(var n of hn(e))t.indexOf(n)<0&&ni.call(e,n)&&(r[n]=e[n]);return r};var nr=(e,t,r)=>new Promise((n,o)=>{var a=s=>{try{c(r.next(s))}catch(d){o(d)}},i=s=>{try{c(r.throw(s))}catch(d){o(d)}},c=s=>s.done?n(s.value):Promise.resolve(s.value).then(a,i);c((r=r.apply(e,t)).next())});import{_ as Gt}from"./iframe-CoIBAWfU.js";import{r as l,b as so,g as Kn,R as p,c as xa}from"./index-CNk6hRaE.js";import{r as Xn,R as X0}from"./index-D-4E_f9W.js";import{_ as ee}from"./extends-CF3RwP-h.js";import{O as Z0,P as au}from"./index-DYADbu9O.js";import{b as ou,_ as lu}from"./isNativeReflectConstruct-CYew8PZR.js";import{_ as iu,a as su,b as cu,c as du}from"./_baseClone-BjCwUuX-.js";import{_ as J0,k as uu,l as fu,m as pu,n as hu,o as Q0,p as mu,q as gu,S as ai,b as Ea}from"./index-eS13M_ii.js";import{B as vu,i as bu,D as yu}from"./_getPrototype-CAOE_2rY.js";import{d as wu}from"./index-DrFu-skq.js";var Ne=e=>`control-${e.replace(/\s+/g,"-")}`,Zn=e=>`set-${e.replace(/\s+/g,"-")}`;const{global:xu}=__STORYBOOK_MODULE_GLOBAL__,{logger:Eu}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Cu=Object.create,es=Object.defineProperty,Su=Object.getOwnPropertyDescriptor,ts=Object.getOwnPropertyNames,Ru=Object.getPrototypeOf,Iu=Object.prototype.hasOwnProperty,Wo=(e,t)=>function(){return t||(0,e[ts(e)[0]])((t={exports:{}}).exports,t),t.exports},Au=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ts(t))!Iu.call(e,o)&&o!==r&&es(e,o,{get:()=>t[o],enumerable:!(n=Su(t,o))||n.enumerable});return e},rs=(e,t,r)=>(r=e!=null?Cu(Ru(e)):{},Au(t||!e||!e.__esModule?es(r,"default",{value:e,enumerable:!0}):r,e));function Rt(){return Rt=Object.assign?Object.assign.bind():function(e){for(var t=1;tt in e?tu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))ri.call(t,r)&&ti(e,r,t[r]);if(hn)for(var r of hn(t))ni.call(t,r)&&ti(e,r,t[r]);return e},z=(e,t)=>ru(e,nu(t));var R=(e,t)=>{var r={};for(var n in e)ri.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&hn)for(var n of hn(e))t.indexOf(n)<0&&ni.call(e,n)&&(r[n]=e[n]);return r};var nr=(e,t,r)=>new Promise((n,o)=>{var a=s=>{try{c(r.next(s))}catch(d){o(d)}},i=s=>{try{c(r.throw(s))}catch(d){o(d)}},c=s=>s.done?n(s.value):Promise.resolve(s.value).then(a,i);c((r=r.apply(e,t)).next())});import{_ as Gt}from"./iframe-DsjYyBKh.js";import{r as l,b as so,g as Kn,R as p,c as xa}from"./index-CNk6hRaE.js";import{r as Xn,R as X0}from"./index-D-4E_f9W.js";import{_ as ee}from"./extends-CF3RwP-h.js";import{O as Z0,P as au}from"./index-DYADbu9O.js";import{b as ou,_ as lu}from"./isNativeReflectConstruct-CYew8PZR.js";import{_ as iu,a as su,b as cu,c as du}from"./_baseClone-BjCwUuX-.js";import{_ as J0,k as uu,l as fu,m as pu,n as hu,o as Q0,p as mu,q as gu,S as ai,b as Ea}from"./index-eS13M_ii.js";import{B as vu,i as bu,D as yu}from"./_getPrototype-CAOE_2rY.js";import{d as wu}from"./index-DrFu-skq.js";var Ne=e=>`control-${e.replace(/\s+/g,"-")}`,Zn=e=>`set-${e.replace(/\s+/g,"-")}`;const{global:xu}=__STORYBOOK_MODULE_GLOBAL__,{logger:Eu}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Cu=Object.create,es=Object.defineProperty,Su=Object.getOwnPropertyDescriptor,ts=Object.getOwnPropertyNames,Ru=Object.getPrototypeOf,Iu=Object.prototype.hasOwnProperty,Wo=(e,t)=>function(){return t||(0,e[ts(e)[0]])((t={exports:{}}).exports,t),t.exports},Au=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ts(t))!Iu.call(e,o)&&o!==r&&es(e,o,{get:()=>t[o],enumerable:!(n=Su(t,o))||n.enumerable});return e},rs=(e,t,r)=>(r=e!=null?Cu(Ru(e)):{},Au(t||!e||!e.__esModule?es(r,"default",{value:e,enumerable:!0}):r,e));function Rt(){return Rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?o-1:0),i=1;i=0&&o<1?(c=a,s=i):o>=1&&o<2?(c=i,s=a):o>=2&&o<3?(s=a,d=i):o>=3&&o<4?(s=i,d=a):o>=4&&o<5?(c=i,d=a):o>=5&&o<6&&(c=a,d=i);var u=r-a/2,h=c+u,g=s+u,f=d+u;return n(h,g,f)}var o0={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Rb(e){if(typeof e!="string")return e;var t=e.toLowerCase();return o0[t]?"#"+o0[t]:e}var Ib=/^#[a-fA-F0-9]{6}$/,Ab=/^#[a-fA-F0-9]{8}$/,_b=/^#[a-fA-F0-9]{3}$/,kb=/^#[a-fA-F0-9]{4}$/,Va=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,$b=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ob=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Tb=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Cl(e){if(typeof e!="string")throw new ot(3);var t=Rb(e);if(t.match(Ib))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Ab)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(_b))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(kb)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Va.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=$b.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=Ob.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,u="rgb("+Qr(c,s,d)+")",h=Va.exec(u);if(!h)throw new ot(4,t,u);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var g=Tb.exec(t.substring(0,50));if(g){var f=parseInt(""+g[1],10),v=parseInt(""+g[2],10)/100,m=parseInt(""+g[3],10)/100,x="rgb("+Qr(f,v,m)+")",S=Va.exec(x);if(!S)throw new ot(4,t,x);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new ot(5)}function Mb(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=o-a,d=i>.5?s/(2-o-a):s/(o+a);switch(o){case t:c=(r-n)/s+(r=1?Wn(e,t,r):"rgba("+Qr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Wn(e.hue,e.saturation,e.lightness):"rgba("+Qr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ot(2)}function To(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Oo("#"+Pt(e)+Pt(t)+Pt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Oo("#"+Pt(e.red)+Pt(e.green)+Pt(e.blue));throw new ot(6)}function qn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Cl(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?To(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?To(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new ot(7)}var Fb=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Hb=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Nb=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Db=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function i1(e){if(typeof e!="object")throw new ot(8);if(Hb(e))return qn(e);if(Fb(e))return To(e);if(Db(e))return Pb(e);if(Nb(e))return Bb(e);throw new ot(8)}function s1(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):s1(e,t,n)}}function Sl(e){return s1(e,e.length,[])}function Rl(e,t,r){return Math.max(e,Math.min(t,r))}function jb(e,t){if(t==="transparent")return t;var r=l1(t);return i1(X({},r,{lightness:Rl(0,1,r.lightness-parseFloat(e))}))}var Vb=Sl(jb),dr=Vb;function Ub(e,t){if(t==="transparent")return t;var r=l1(t);return i1(X({},r,{lightness:Rl(0,1,r.lightness+parseFloat(e))}))}var Wb=Sl(Ub),l0=Wb;function qb(e,t){if(t==="transparent")return t;var r=Cl(t),n=typeof r.alpha=="number"?r.alpha:1,o=X({},r,{alpha:Rl(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return qn(o)}var Gb=Sl(qb),Oe=Gb,Ir=({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),gt=({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Oe(.1,e.color.defaultText):Oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),oe=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),Jt={margin:"16px 0"},Yb=r=>{var n=r,{href:e}=n,t=R(n,["href"]);let o=/^\//.test(e)?`./?path=${e}`:e,a=/^#.*/.test(e)?"_self":"_top";return p.createElement("a",b({href:o,target:a},t))},c1=k(Yb)(oe,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),d1=k.blockquote(oe,Jt,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),Kb=e=>typeof e=="string",Xb=/[\n\r]/g,Zb=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),gt),Jb=k(fl)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Il=n=>{var o=n,{className:e,children:t}=o,r=R(o,["className","children"]);var c;let a=(e||"").match(/lang-(\S+)/),i=l.Children.toArray(t);return i.filter(Kb).some(s=>s.match(Xb))?p.createElement(Jb,b({bordered:!0,copyable:!0,language:(c=a==null?void 0:a[1])!=null?c:"text",format:!1},r),t):p.createElement(Zb,z(b({},r),{className:e}),i)},u1=k.div(oe),f1=k.dl(oe,Jt,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),p1=k.h1(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),Al=k.h2(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),_l=k.h3(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),h1=k.h4(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),m1=k.h5(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),g1=k.h6(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),v1=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),b1=k.img({maxWidth:"100%"}),y1=k.li(oe,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":gt({theme:e})})),Qb={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},w1=k.ol(oe,Jt,Qb,{listStyle:"decimal"}),x1=k.p(oe,Jt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":gt({theme:e})})),E1=k.pre(oe,Jt,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),C1=k.span(oe,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),S1=k.table(oe,Jt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),R1=k.title(gt),ey={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},I1=k.ul(oe,Jt,ey,{listStyle:"disc"}),kl=k.div(oe),A1={h1:e=>p.createElement(p1,b({},ae(e,"h1"))),h2:e=>p.createElement(Al,b({},ae(e,"h2"))),h3:e=>p.createElement(_l,b({},ae(e,"h3"))),h4:e=>p.createElement(h1,b({},ae(e,"h4"))),h5:e=>p.createElement(m1,b({},ae(e,"h5"))),h6:e=>p.createElement(g1,b({},ae(e,"h6"))),pre:e=>p.createElement(E1,b({},ae(e,"pre"))),a:e=>p.createElement(c1,b({},ae(e,"a"))),hr:e=>p.createElement(v1,b({},ae(e,"hr"))),dl:e=>p.createElement(f1,b({},ae(e,"dl"))),blockquote:e=>p.createElement(d1,b({},ae(e,"blockquote"))),table:e=>p.createElement(S1,b({},ae(e,"table"))),img:e=>p.createElement(b1,b({},ae(e,"img"))),div:e=>p.createElement(u1,b({},ae(e,"div"))),span:e=>p.createElement(C1,b({},ae(e,"span"))),li:e=>p.createElement(y1,b({},ae(e,"li"))),ul:e=>p.createElement(I1,b({},ae(e,"ul"))),ol:e=>p.createElement(w1,b({},ae(e,"ol"))),p:e=>p.createElement(x1,b({},ae(e,"p"))),code:e=>p.createElement(Il,b({},ae(e,"code"))),tt:e=>p.createElement(R1,b({},ae(e,"tt"))),resetwrapper:e=>p.createElement(kl,b({},ae(e,"resetwrapper")))},ty=k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.positiveText)}`:"none"};default:return{}}}),ry=t=>{var e=R(t,[]);return p.createElement(ty,b({},e))},ny=0,ay=e=>e.button===ny&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,oy=(e,t)=>{ay(e)&&(e.preventDefault(),t(e))},ly=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),iy=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:dr(.07,e.color.secondary),"svg path:not([fill])":{fill:dr(.07,e.color.secondary)}},"&:active":{color:dr(.1,e.color.secondary),"svg path:not([fill])":{fill:dr(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Wt=s=>{var d=s,{cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:o=!1,className:a=void 0,style:i=void 0}=d,c=R(d,["cancel","children","onClick","withArrow","containsIcon","className","style"]);return p.createElement(iy,z(b({},c),{onClick:r&&e?u=>oy(u,r):r,className:a}),p.createElement(ly,{withArrow:n,containsIcon:o},t,n&&p.createElement(wl,null)))},sy=k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),qt=[],xr=null,cy=l.lazy(()=>nr(void 0,null,function*(){let{SyntaxHighlighter:e}=yield Gt(()=>import("./syntaxhighlighter-BP7B2CQK-BZ5xStxe.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return qt.length>0&&(qt.forEach(t=>{e.registerLanguage(...t)}),qt=[]),xr===null&&(xr=e),{default:t=>p.createElement(e,b({},t))}})),dy=l.lazy(()=>nr(void 0,null,function*(){let[{SyntaxHighlighter:e},{formatter:t}]=yield Promise.all([Gt(()=>import("./syntaxhighlighter-BP7B2CQK-BZ5xStxe.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url),Gt(()=>import("./formatter-2WMMO6ZP-C2iMpETE.js"),__vite__mapDeps([11,1,2,3,4,5,6,7,8,9,10]),import.meta.url)]);return qt.length>0&&(qt.forEach(r=>{e.registerLanguage(...r)}),qt=[]),xr===null&&(xr=e),{default:r=>p.createElement(e,z(b({},r),{formatter:t}))}})),pa=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},e.format!==!1?p.createElement(dy,b({},e)):p.createElement(cy,b({},e)));pa.registerLanguage=(...e)=>{if(xr!==null){xr.registerLanguage(...e);return}qt.push(e)};var _1={};Zp(_1,{Actions:()=>by,CloseButton:()=>T1,Col:()=>L1,Container:()=>O1,Content:()=>hy,Description:()=>vy,Error:()=>yy,ErrorWrapper:()=>z1,Header:()=>my,Overlay:()=>$1,Row:()=>M1,Title:()=>gy});var kt=l.forwardRef((u,d)=>{var h=u,{asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:o="medium",disabled:a=!1,active:i=!1,onClick:c}=h,s=R(h,["asChild","animation","size","variant","padding","disabled","active","onClick"]);let g="button";s.isLink&&(g="a"),e&&(g=an);let f=n,v=r,[m,x]=l.useState(!1),S=y=>{c&&c(y),t!=="none"&&x(!0)};if(l.useEffect(()=>{let y=setTimeout(()=>{m&&x(!1)},1e3);return()=>clearTimeout(y)},[m]),s.primary&&(f="solid",v="medium"),(s.secondary||s.tertiary||s.gray||s.outline||s.inForm)&&(f="outline",v="medium"),s.small||s.isLink||s.primary||s.secondary||s.tertiary||s.gray||s.outline||s.inForm||s.containsIcon){let y=p.Children.toArray(s.children).filter(w=>typeof w=="string"&&w!=="");a1(`Use of deprecated props in the button ${y.length>0?`"${y.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return p.createElement(uy,b({as:g,ref:d,variant:f,size:v,padding:o,disabled:a,active:i,animating:m,animation:t,onClick:S},s))});kt.displayName="Button";var uy=k("button",{shouldForwardProp:e=>Go(e)})(({theme:e,variant:t,size:r,disabled:n,active:o,animating:a,animation:i,padding:c})=>z(b({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:c==="small"&&r==="small"?"0 7px":c==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent"},t==="ghost"?{".sb-bar &":{background:o?Oe(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Oe(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Oe(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${qn(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{}),{color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?Oe(.86,e.color.secondary):e.base==="light"?dr(.02,s):l0(.03,s)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?dr(.02,s):l0(.03,s)})()},"&:focus":{boxShadow:`${qn(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),St=l.forwardRef((o,n)=>{var a=o,{padding:e="small",variant:t="ghost"}=a,r=R(a,["padding","variant"]);return p.createElement(kt,b({padding:e,variant:t,ref:n},r))});St.displayName="IconButton";var k1=ht({from:{opacity:0},to:{opacity:1}}),fy=ht({from:{maxHeight:0},to:{}}),py=ht({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),$1=k.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${k1} 200ms`}),O1=k.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t!=null?t:740,height:r!=null?r:"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${py} 200ms`,"&:focus-visible":{outline:"none"}})),T1=e=>p.createElement(n1,{asChild:!0},p.createElement(St,b({},e),p.createElement(yc,null))),hy=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),M1=k.div({display:"flex",justifyContent:"space-between",gap:16}),L1=k.div({display:"flex",flexDirection:"column",gap:4}),my=e=>p.createElement(M1,null,p.createElement(L1,b({},e)),p.createElement(T1,null)),gy=k(t1)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),vy=k(r1)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),by=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),z1=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${fy} 300ms, ${k1} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),yy=r=>{var n=r,{children:e}=n,t=R(n,["children"]);return p.createElement(z1,b({},t),p.createElement("div",null,e))};function wy(s){var d=s,{children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:o=u=>u.preventDefault(),className:a,container:i}=d,c=R(d,["children","width","height","onEscapeKeyDown","onInteractOutside","className","container"]);return p.createElement(Zc,b({},c),p.createElement(Jc,{container:i},p.createElement(Qc,{asChild:!0},p.createElement($1,null)),p.createElement(e1,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:n},p.createElement(O1,{className:a,width:t,height:r},e))))}var xy=Object.assign(wy,_1,{Dialog:mb}),Ey=e=>typeof e=="number"?e:Number(e),Cy=k.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${bo}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${bo}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),Sy=a=>{var i=a,{col:e,row:t,outer:r,children:n}=i,o=R(i,["col","row","outer","children"]);let c=Ey(typeof r=="number"||!r?r:e||t);return p.createElement(Cy,b({col:e,row:t,outer:c},o),n)},Ry=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Iy=k.div(),Ay=k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),_y=r=>{var n=r,{children:e}=n,t=R(n,["children"]);let[o,a]=l.Children.toArray(e);return p.createElement(Ay,b({},t),p.createElement(Ry,null,o),a&&p.createElement(Iy,null,a))};function ky(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var o=l.useRef(null);l.useEffect(function(){a()});var a=l.useCallback(function(){var i=o.current,c=n.current,s=i||(c?c instanceof Element?c:c.current:null);r.current&&r.current.element===s&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){o.current=i,a()},[a])}function i0(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}function B1(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,o=l.useRef(),a=l.useState({width:void 0,height:void 0}),i=a[0],c=a[1],s=l.useRef(!1);l.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),u=ky(l.useCallback(function(h){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver(function(g){var f=g[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",m=i0(f,v,"inlineSize"),x=i0(f,v,"blockSize"),S=m?n(m):void 0,y=x?n(x):void 0;if(d.current.width!==S||d.current.height!==y){var w={width:S,height:y};d.current.width=S,d.current.height=y,r.current?r.current(w):s.current||c(w)}})}),o.current.instance.observe(h,{box:e.box}),function(){o.current&&o.current.instance.unobserve(h)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:u,width:i.width,height:i.height}},[u,i.width,i.height])}var $y=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Oy({scale:e,children:t}){let r=l.useRef(null),[n,o]=l.useState(0),a=l.useCallback(({height:i})=>{i&&o(i/e)},[e]);return l.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),B1({ref:r,onResize:a}),p.createElement($y,{scale:e,elementHeight:n},p.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Ty=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch(t){this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return p.createElement(p.Fragment,null,e)}},P1={Element:Oy,IFrame:Ty},{document:My}=vb,Ly=k.strong(({theme:e})=>({color:e.color.orange})),zy=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),s0=k.em(({theme:e})=>({color:e.textMutedColor})),By=/(Error): (.*)\n/,Py=/at (?:(.*) )?\(?(.+)\)?/,Fy=/([^@]+)?(?:\/<)?@(.+)?/,Hy=/([^@]+)?@(.+)?/,F1=({error:e})=>{if(!e)return p.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return p.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} +`};function Cb(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),i=1;i=0&&o<1?(c=a,s=i):o>=1&&o<2?(c=i,s=a):o>=2&&o<3?(s=a,d=i):o>=3&&o<4?(s=i,d=a):o>=4&&o<5?(c=i,d=a):o>=5&&o<6&&(c=a,d=i);var u=r-a/2,h=c+u,g=s+u,f=d+u;return n(h,g,f)}var o0={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Rb(e){if(typeof e!="string")return e;var t=e.toLowerCase();return o0[t]?"#"+o0[t]:e}var Ib=/^#[a-fA-F0-9]{6}$/,Ab=/^#[a-fA-F0-9]{8}$/,_b=/^#[a-fA-F0-9]{3}$/,kb=/^#[a-fA-F0-9]{4}$/,Va=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,$b=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ob=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Tb=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Cl(e){if(typeof e!="string")throw new ot(3);var t=Rb(e);if(t.match(Ib))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Ab)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(_b))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(kb)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Va.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=$b.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=Ob.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,u="rgb("+Qr(c,s,d)+")",h=Va.exec(u);if(!h)throw new ot(4,t,u);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var g=Tb.exec(t.substring(0,50));if(g){var f=parseInt(""+g[1],10),v=parseInt(""+g[2],10)/100,m=parseInt(""+g[3],10)/100,x="rgb("+Qr(f,v,m)+")",S=Va.exec(x);if(!S)throw new ot(4,t,x);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new ot(5)}function Mb(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=o-a,d=i>.5?s/(2-o-a):s/(o+a);switch(o){case t:c=(r-n)/s+(r=1?Wn(e,t,r):"rgba("+Qr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Wn(e.hue,e.saturation,e.lightness):"rgba("+Qr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ot(2)}function To(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Oo("#"+Pt(e)+Pt(t)+Pt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Oo("#"+Pt(e.red)+Pt(e.green)+Pt(e.blue));throw new ot(6)}function qn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Cl(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?To(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?To(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new ot(7)}var Fb=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Hb=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Nb=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Db=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function i1(e){if(typeof e!="object")throw new ot(8);if(Hb(e))return qn(e);if(Fb(e))return To(e);if(Db(e))return Pb(e);if(Nb(e))return Bb(e);throw new ot(8)}function s1(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):s1(e,t,n)}}function Sl(e){return s1(e,e.length,[])}function Rl(e,t,r){return Math.max(e,Math.min(t,r))}function jb(e,t){if(t==="transparent")return t;var r=l1(t);return i1(X({},r,{lightness:Rl(0,1,r.lightness-parseFloat(e))}))}var Vb=Sl(jb),dr=Vb;function Ub(e,t){if(t==="transparent")return t;var r=l1(t);return i1(X({},r,{lightness:Rl(0,1,r.lightness+parseFloat(e))}))}var Wb=Sl(Ub),l0=Wb;function qb(e,t){if(t==="transparent")return t;var r=Cl(t),n=typeof r.alpha=="number"?r.alpha:1,o=X({},r,{alpha:Rl(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return qn(o)}var Gb=Sl(qb),Oe=Gb,Ir=({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),gt=({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Oe(.1,e.color.defaultText):Oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),oe=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),Jt={margin:"16px 0"},Yb=r=>{var n=r,{href:e}=n,t=R(n,["href"]);let o=/^\//.test(e)?`./?path=${e}`:e,a=/^#.*/.test(e)?"_self":"_top";return p.createElement("a",b({href:o,target:a},t))},c1=k(Yb)(oe,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),d1=k.blockquote(oe,Jt,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),Kb=e=>typeof e=="string",Xb=/[\n\r]/g,Zb=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),gt),Jb=k(fl)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Il=n=>{var o=n,{className:e,children:t}=o,r=R(o,["className","children"]);var c;let a=(e||"").match(/lang-(\S+)/),i=l.Children.toArray(t);return i.filter(Kb).some(s=>s.match(Xb))?p.createElement(Jb,b({bordered:!0,copyable:!0,language:(c=a==null?void 0:a[1])!=null?c:"text",format:!1},r),t):p.createElement(Zb,z(b({},r),{className:e}),i)},u1=k.div(oe),f1=k.dl(oe,Jt,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),p1=k.h1(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),Al=k.h2(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),_l=k.h3(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),h1=k.h4(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),m1=k.h5(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),g1=k.h6(oe,Ir,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),v1=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),b1=k.img({maxWidth:"100%"}),y1=k.li(oe,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":gt({theme:e})})),Qb={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},w1=k.ol(oe,Jt,Qb,{listStyle:"decimal"}),x1=k.p(oe,Jt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":gt({theme:e})})),E1=k.pre(oe,Jt,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),C1=k.span(oe,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),S1=k.table(oe,Jt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),R1=k.title(gt),ey={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},I1=k.ul(oe,Jt,ey,{listStyle:"disc"}),kl=k.div(oe),A1={h1:e=>p.createElement(p1,b({},ae(e,"h1"))),h2:e=>p.createElement(Al,b({},ae(e,"h2"))),h3:e=>p.createElement(_l,b({},ae(e,"h3"))),h4:e=>p.createElement(h1,b({},ae(e,"h4"))),h5:e=>p.createElement(m1,b({},ae(e,"h5"))),h6:e=>p.createElement(g1,b({},ae(e,"h6"))),pre:e=>p.createElement(E1,b({},ae(e,"pre"))),a:e=>p.createElement(c1,b({},ae(e,"a"))),hr:e=>p.createElement(v1,b({},ae(e,"hr"))),dl:e=>p.createElement(f1,b({},ae(e,"dl"))),blockquote:e=>p.createElement(d1,b({},ae(e,"blockquote"))),table:e=>p.createElement(S1,b({},ae(e,"table"))),img:e=>p.createElement(b1,b({},ae(e,"img"))),div:e=>p.createElement(u1,b({},ae(e,"div"))),span:e=>p.createElement(C1,b({},ae(e,"span"))),li:e=>p.createElement(y1,b({},ae(e,"li"))),ul:e=>p.createElement(I1,b({},ae(e,"ul"))),ol:e=>p.createElement(w1,b({},ae(e,"ol"))),p:e=>p.createElement(x1,b({},ae(e,"p"))),code:e=>p.createElement(Il,b({},ae(e,"code"))),tt:e=>p.createElement(R1,b({},ae(e,"tt"))),resetwrapper:e=>p.createElement(kl,b({},ae(e,"resetwrapper")))},ty=k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Oe(.9,e.color.positiveText)}`:"none"};default:return{}}}),ry=t=>{var e=R(t,[]);return p.createElement(ty,b({},e))},ny=0,ay=e=>e.button===ny&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,oy=(e,t)=>{ay(e)&&(e.preventDefault(),t(e))},ly=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),iy=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:dr(.07,e.color.secondary),"svg path:not([fill])":{fill:dr(.07,e.color.secondary)}},"&:active":{color:dr(.1,e.color.secondary),"svg path:not([fill])":{fill:dr(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Wt=s=>{var d=s,{cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:o=!1,className:a=void 0,style:i=void 0}=d,c=R(d,["cancel","children","onClick","withArrow","containsIcon","className","style"]);return p.createElement(iy,z(b({},c),{onClick:r&&e?u=>oy(u,r):r,className:a}),p.createElement(ly,{withArrow:n,containsIcon:o},t,n&&p.createElement(wl,null)))},sy=k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),qt=[],xr=null,cy=l.lazy(()=>nr(void 0,null,function*(){let{SyntaxHighlighter:e}=yield Gt(()=>import("./syntaxhighlighter-BP7B2CQK-PNVCeGmS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return qt.length>0&&(qt.forEach(t=>{e.registerLanguage(...t)}),qt=[]),xr===null&&(xr=e),{default:t=>p.createElement(e,b({},t))}})),dy=l.lazy(()=>nr(void 0,null,function*(){let[{SyntaxHighlighter:e},{formatter:t}]=yield Promise.all([Gt(()=>import("./syntaxhighlighter-BP7B2CQK-PNVCeGmS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url),Gt(()=>import("./formatter-2WMMO6ZP-CrGQgcH5.js"),__vite__mapDeps([11,1,2,3,4,5,6,7,8,9,10]),import.meta.url)]);return qt.length>0&&(qt.forEach(r=>{e.registerLanguage(...r)}),qt=[]),xr===null&&(xr=e),{default:r=>p.createElement(e,z(b({},r),{formatter:t}))}})),pa=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},e.format!==!1?p.createElement(dy,b({},e)):p.createElement(cy,b({},e)));pa.registerLanguage=(...e)=>{if(xr!==null){xr.registerLanguage(...e);return}qt.push(e)};var _1={};Zp(_1,{Actions:()=>by,CloseButton:()=>T1,Col:()=>L1,Container:()=>O1,Content:()=>hy,Description:()=>vy,Error:()=>yy,ErrorWrapper:()=>z1,Header:()=>my,Overlay:()=>$1,Row:()=>M1,Title:()=>gy});var kt=l.forwardRef((u,d)=>{var h=u,{asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:o="medium",disabled:a=!1,active:i=!1,onClick:c}=h,s=R(h,["asChild","animation","size","variant","padding","disabled","active","onClick"]);let g="button";s.isLink&&(g="a"),e&&(g=an);let f=n,v=r,[m,x]=l.useState(!1),S=y=>{c&&c(y),t!=="none"&&x(!0)};if(l.useEffect(()=>{let y=setTimeout(()=>{m&&x(!1)},1e3);return()=>clearTimeout(y)},[m]),s.primary&&(f="solid",v="medium"),(s.secondary||s.tertiary||s.gray||s.outline||s.inForm)&&(f="outline",v="medium"),s.small||s.isLink||s.primary||s.secondary||s.tertiary||s.gray||s.outline||s.inForm||s.containsIcon){let y=p.Children.toArray(s.children).filter(w=>typeof w=="string"&&w!=="");a1(`Use of deprecated props in the button ${y.length>0?`"${y.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return p.createElement(uy,b({as:g,ref:d,variant:f,size:v,padding:o,disabled:a,active:i,animating:m,animation:t,onClick:S},s))});kt.displayName="Button";var uy=k("button",{shouldForwardProp:e=>Go(e)})(({theme:e,variant:t,size:r,disabled:n,active:o,animating:a,animation:i,padding:c})=>z(b({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:c==="small"&&r==="small"?"0 7px":c==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent"},t==="ghost"?{".sb-bar &":{background:o?Oe(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Oe(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Oe(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${qn(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{}),{color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?Oe(.86,e.color.secondary):e.base==="light"?dr(.02,s):l0(.03,s)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?dr(.02,s):l0(.03,s)})()},"&:focus":{boxShadow:`${qn(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),St=l.forwardRef((o,n)=>{var a=o,{padding:e="small",variant:t="ghost"}=a,r=R(a,["padding","variant"]);return p.createElement(kt,b({padding:e,variant:t,ref:n},r))});St.displayName="IconButton";var k1=ht({from:{opacity:0},to:{opacity:1}}),fy=ht({from:{maxHeight:0},to:{}}),py=ht({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),$1=k.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${k1} 200ms`}),O1=k.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t!=null?t:740,height:r!=null?r:"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${py} 200ms`,"&:focus-visible":{outline:"none"}})),T1=e=>p.createElement(n1,{asChild:!0},p.createElement(St,b({},e),p.createElement(yc,null))),hy=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),M1=k.div({display:"flex",justifyContent:"space-between",gap:16}),L1=k.div({display:"flex",flexDirection:"column",gap:4}),my=e=>p.createElement(M1,null,p.createElement(L1,b({},e)),p.createElement(T1,null)),gy=k(t1)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),vy=k(r1)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),by=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),z1=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${fy} 300ms, ${k1} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),yy=r=>{var n=r,{children:e}=n,t=R(n,["children"]);return p.createElement(z1,b({},t),p.createElement("div",null,e))};function wy(s){var d=s,{children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:o=u=>u.preventDefault(),className:a,container:i}=d,c=R(d,["children","width","height","onEscapeKeyDown","onInteractOutside","className","container"]);return p.createElement(Zc,b({},c),p.createElement(Jc,{container:i},p.createElement(Qc,{asChild:!0},p.createElement($1,null)),p.createElement(e1,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:n},p.createElement(O1,{className:a,width:t,height:r},e))))}var xy=Object.assign(wy,_1,{Dialog:mb}),Ey=e=>typeof e=="number"?e:Number(e),Cy=k.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${bo}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${bo}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),Sy=a=>{var i=a,{col:e,row:t,outer:r,children:n}=i,o=R(i,["col","row","outer","children"]);let c=Ey(typeof r=="number"||!r?r:e||t);return p.createElement(Cy,b({col:e,row:t,outer:c},o),n)},Ry=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Iy=k.div(),Ay=k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),_y=r=>{var n=r,{children:e}=n,t=R(n,["children"]);let[o,a]=l.Children.toArray(e);return p.createElement(Ay,b({},t),p.createElement(Ry,null,o),a&&p.createElement(Iy,null,a))};function ky(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var o=l.useRef(null);l.useEffect(function(){a()});var a=l.useCallback(function(){var i=o.current,c=n.current,s=i||(c?c instanceof Element?c:c.current:null);r.current&&r.current.element===s&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){o.current=i,a()},[a])}function i0(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}function B1(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,o=l.useRef(),a=l.useState({width:void 0,height:void 0}),i=a[0],c=a[1],s=l.useRef(!1);l.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),u=ky(l.useCallback(function(h){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver(function(g){var f=g[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",m=i0(f,v,"inlineSize"),x=i0(f,v,"blockSize"),S=m?n(m):void 0,y=x?n(x):void 0;if(d.current.width!==S||d.current.height!==y){var w={width:S,height:y};d.current.width=S,d.current.height=y,r.current?r.current(w):s.current||c(w)}})}),o.current.instance.observe(h,{box:e.box}),function(){o.current&&o.current.instance.unobserve(h)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:u,width:i.width,height:i.height}},[u,i.width,i.height])}var $y=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Oy({scale:e,children:t}){let r=l.useRef(null),[n,o]=l.useState(0),a=l.useCallback(({height:i})=>{i&&o(i/e)},[e]);return l.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),B1({ref:r,onResize:a}),p.createElement($y,{scale:e,elementHeight:n},p.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Ty=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch(t){this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return p.createElement(p.Fragment,null,e)}},P1={Element:Oy,IFrame:Ty},{document:My}=vb,Ly=k.strong(({theme:e})=>({color:e.color.orange})),zy=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),s0=k.em(({theme:e})=>({color:e.textMutedColor})),By=/(Error): (.*)\n/,Py=/at (?:(.*) )?\(?(.+)\)?/,Fy=/([^@]+)?(?:\/<)?@(.+)?/,Hy=/([^@]+)?@(.+)?/,F1=({error:e})=>{if(!e)return p.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return p.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} -${t}`);let r=t.match(By);if(!r)return p.createElement(l.Fragment,null,t);let[,n,o]=r,a=t.split(/\n/).slice(1),[,...i]=a.map(c=>{let s=c.match(Py)||c.match(Fy)||c.match(Hy);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(My.location.origin,"")}:null}).filter(Boolean);return p.createElement(l.Fragment,null,p.createElement("span",null,n),": ",p.createElement(Ly,null,o),p.createElement("br",null),i.map((c,s)=>c.name?p.createElement(l.Fragment,{key:s}," ","at ",p.createElement(zy,null,c.name)," (",p.createElement(s0,null,c.location),")",p.createElement("br",null)):p.createElement(l.Fragment,{key:s}," ","at ",p.createElement(s0,null,c.location),p.createElement("br",null))))},Ny=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Dy=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),jy=n=>{var o=n,{label:e,children:t}=o,r=R(o,["label","children"]);return p.createElement(Ny,b({},r),e?p.createElement(Dy,null,p.createElement("span",null,e)):null,t)},Vy=l.useLayoutEffect,Uy=Vy,Wy=function(e){var t=l.useRef(e);return Uy(function(){t.current=e}),t},c0=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},qy=function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&c0(r.current,null),r.current=t,t&&c0(t,n)},[t])},Gy=qy,d0={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Yy=function(e){Object.keys(d0).forEach(function(t){e.style.setProperty(t,d0[t],"important")})},u0=Yy,xe=null,f0=function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize};function Ky(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),xe||(xe=document.createElement("textarea"),xe.setAttribute("tabindex","-1"),xe.setAttribute("aria-hidden","true"),u0(xe)),xe.parentNode===null&&document.body.appendChild(xe);var o=e.paddingSize,a=e.borderSize,i=e.sizingStyle,c=i.boxSizing;Object.keys(i).forEach(function(g){var f=g;xe.style[f]=i[f]}),u0(xe),xe.value=t;var s=f0(xe,e);xe.value=t,s=f0(xe,e),xe.value="x";var d=xe.scrollHeight-o,u=d*r;c==="border-box"&&(u=u+o+a),s=Math.max(u,s);var h=d*n;return c==="border-box"&&(h=h+o+a),s=Math.min(h,s),[s,d]}var p0=function(){},Xy=function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},Zy=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],Jy=!!document.documentElement.currentStyle,Qy=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=Xy(Zy,t),n=r.boxSizing;if(n==="")return null;Jy&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var o=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:o,borderSize:a}},e6=Qy;function H1(e,t,r){var n=Wy(r);l.useLayoutEffect(function(){var o=function(a){return n.current(a)};if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}var t6=function(e){H1(window,"resize",e)},r6=function(e){H1(document.fonts,"loadingdone",e)},n6=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],a6=function(e,t){var r=e.cacheMeasurements,n=e.maxRows,o=e.minRows,a=e.onChange,i=a===void 0?p0:a,c=e.onHeightChange,s=c===void 0?p0:c,d=rl(e,n6),u=d.value!==void 0,h=l.useRef(null),g=Gy(h,t),f=l.useRef(0),v=l.useRef(),m=function(){var S=h.current,y=r&&v.current?v.current:e6(S);if(y){v.current=y;var w=Ky(y,S.value||S.placeholder||"x",o,n),E=w[0],C=w[1];f.current!==E&&(f.current=E,S.style.setProperty("height",E+"px","important"),s(E,{rowHeight:C}))}},x=function(S){u||m(),i(S)};return l.useLayoutEffect(m),t6(m),r6(m),l.createElement("textarea",X({},d,{onChange:x,ref:g}))},o6=l.forwardRef(a6),l6={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},$l=({theme:e})=>z(b({},l6),{transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),Ol=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},N1=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Tl=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},i6=Object.assign(k(l.forwardRef(function(a,o){var i=a,{size:e,valid:t,align:r}=i,n=R(i,["size","valid","align"]);return p.createElement("input",z(b({},n),{ref:o}))}))($l,Ol,N1,Tl,{minHeight:32}),{displayName:"Input"}),s6=Object.assign(k(l.forwardRef(function(a,o){var i=a,{size:e,valid:t,align:r}=i,n=R(i,["size","valid","align"]);return p.createElement("select",z(b({},n),{ref:o}))}))($l,Ol,Tl,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),c6=Object.assign(k(l.forwardRef(function(a,o){var i=a,{size:e,valid:t,align:r}=i,n=R(i,["size","valid","align"]);return p.createElement(o6,z(b({},n),{ref:o}))}))($l,Ol,N1,Tl,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Ar=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:jy,Input:i6,Select:s6,Textarea:c6,Button:kt}),d6=l.lazy(()=>Gt(()=>import("./WithTooltip-KJL26V4Q-B96EUjWQ.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.WithTooltip}))),u6=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},p.createElement(d6,b({},e))),f6=l.lazy(()=>Gt(()=>import("./WithTooltip-KJL26V4Q-B96EUjWQ.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),D1=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},p.createElement(f6,b({},e))),p6=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),h6=k.span(),m6=k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),g6=k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),v6=k.div({padding:15,width:280,boxSizing:"border-box"}),b6=({title:e,desc:t,links:r})=>p.createElement(v6,null,p.createElement(g6,null,e&&p.createElement(p6,null,e),t&&p.createElement(h6,null,t)),r&&p.createElement(m6,null,r.map(a=>{var i=a,{title:n}=i,o=R(i,["title"]);return p.createElement(Wt,z(b({},o),{key:n}),n)}))),y6=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),w6=r=>{var n=r,{note:e}=n,t=R(n,["note"]);return p.createElement(y6,b({},t),e)},x6=k(o=>{var a=o,{active:e,loading:t,disabled:r}=a,n=R(a,["active","loading","disabled"]);return p.createElement("span",b({},n))})(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?b({display:"inline-block",flex:"none"},t.animation.inlineGlow):{},({disabled:e,theme:t})=>e?{color:Oe(.7,t.color.defaultText)}:{}),E6=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),C6=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),S6=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),R6=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),I6=k.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),A6=Xt(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),_6=g=>{var f=g,{loading:e=!1,title:t=p.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:o=!1,disabled:a=!1,isIndented:i,href:c=null,onClick:s=null,icon:d,LinkWrapper:u=null}=f,h=R(f,["loading","title","center","right","active","disabled","isIndented","href","onClick","icon","LinkWrapper"]);let v=A6(s,c,u),m={active:o,disabled:a};return p.createElement(I6,b(b(b({},m),h),v),d&&p.createElement(R6,b({},m),d),t||r?p.createElement(C6,{isIndented:!d&&i},t&&p.createElement(x6,z(b({},m),{loading:e}),t),r&&p.createElement(S6,b({},m),r)):null,n&&p.createElement(E6,b({},m),n))},j1=_6,k6=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),$6=e=>{let h=e,{LinkWrapper:t,onClick:r,id:n,isIndented:o}=h,a=R(h,["LinkWrapper","onClick","id","isIndented"]),{title:i,href:c,active:s}=a,d=l.useCallback(g=>{r(g,a)},[r]),u=!!r;return p.createElement(j1,b(b({title:i,active:s,href:c,id:`list-item-${n}`,LinkWrapper:t,isIndented:o},a),u?{onClick:d}:{}))},V1=({links:e,LinkWrapper:t=null})=>{let r=e.some(n=>n.icon);return p.createElement(k6,null,e.map(a=>{var i=a,{isGatsby:n}=i,o=R(i,["isGatsby"]);return p.createElement($6,b({key:o.id,LinkWrapper:n?t:null,isIndented:r},o))}))},O6=e=>typeof e.props.href=="string",T6=e=>typeof e.props.href!="string";function M6(n,r){var o=n,{children:e}=o,t=R(o,["children"]);let a={props:t,ref:r};if(O6(a))return p.createElement("a",b({ref:a.ref},a.props),e);if(T6(a))return p.createElement("button",b({ref:a.ref,type:"button"},a.props),e);throw new Error("invalid props")}var U1=l.forwardRef(M6);U1.displayName="ButtonOrLink";var dn=k(U1,{shouldForwardProp:Go})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});dn.displayName="TabButton";var L6=k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),z6=k.div(()=>({marginTop:6,padding:7,height:28})),B6=()=>p.createElement(z6,null,p.createElement(L6,null)),Mo=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Mo.displayName="Side";var P6=({children:e,className:t,scrollable:r})=>r?p.createElement(ca,{vertical:!1,className:t},e):p.createElement("div",{className:t},e),Ml=k(P6)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Ml.displayName="Bar";var F6=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),ha=o=>{var a=o,{children:e,backgroundColor:t,className:r}=a,n=R(a,["children","backgroundColor","className"]);let[i,c]=l.Children.toArray(e);return p.createElement(Ml,b({className:`sb-bar ${r}`},n),p.createElement(F6,{bgColor:t},p.createElement(Mo,{scrollable:n.scrollable,left:!0},i),c?p.createElement(Mo,{right:!0},c):null))};ha.displayName="FlexBar";var W1=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),H6=e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return z(b({title:t,id:r},n?{color:n}:{}),{render:typeof a=="function"?a:({active:i})=>p.createElement(W1,{active:i,role:"tabpanel"},a)})}),N6=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),D6=k(dn)(({active:e,theme:t,preActive:r})=>` +${t}`);let r=t.match(By);if(!r)return p.createElement(l.Fragment,null,t);let[,n,o]=r,a=t.split(/\n/).slice(1),[,...i]=a.map(c=>{let s=c.match(Py)||c.match(Fy)||c.match(Hy);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(My.location.origin,"")}:null}).filter(Boolean);return p.createElement(l.Fragment,null,p.createElement("span",null,n),": ",p.createElement(Ly,null,o),p.createElement("br",null),i.map((c,s)=>c.name?p.createElement(l.Fragment,{key:s}," ","at ",p.createElement(zy,null,c.name)," (",p.createElement(s0,null,c.location),")",p.createElement("br",null)):p.createElement(l.Fragment,{key:s}," ","at ",p.createElement(s0,null,c.location),p.createElement("br",null))))},Ny=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Dy=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),jy=n=>{var o=n,{label:e,children:t}=o,r=R(o,["label","children"]);return p.createElement(Ny,b({},r),e?p.createElement(Dy,null,p.createElement("span",null,e)):null,t)},Vy=l.useLayoutEffect,Uy=Vy,Wy=function(e){var t=l.useRef(e);return Uy(function(){t.current=e}),t},c0=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},qy=function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&c0(r.current,null),r.current=t,t&&c0(t,n)},[t])},Gy=qy,d0={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Yy=function(e){Object.keys(d0).forEach(function(t){e.style.setProperty(t,d0[t],"important")})},u0=Yy,xe=null,f0=function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize};function Ky(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),xe||(xe=document.createElement("textarea"),xe.setAttribute("tabindex","-1"),xe.setAttribute("aria-hidden","true"),u0(xe)),xe.parentNode===null&&document.body.appendChild(xe);var o=e.paddingSize,a=e.borderSize,i=e.sizingStyle,c=i.boxSizing;Object.keys(i).forEach(function(g){var f=g;xe.style[f]=i[f]}),u0(xe),xe.value=t;var s=f0(xe,e);xe.value=t,s=f0(xe,e),xe.value="x";var d=xe.scrollHeight-o,u=d*r;c==="border-box"&&(u=u+o+a),s=Math.max(u,s);var h=d*n;return c==="border-box"&&(h=h+o+a),s=Math.min(h,s),[s,d]}var p0=function(){},Xy=function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},Zy=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],Jy=!!document.documentElement.currentStyle,Qy=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=Xy(Zy,t),n=r.boxSizing;if(n==="")return null;Jy&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var o=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:o,borderSize:a}},e6=Qy;function H1(e,t,r){var n=Wy(r);l.useLayoutEffect(function(){var o=function(a){return n.current(a)};if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}var t6=function(e){H1(window,"resize",e)},r6=function(e){H1(document.fonts,"loadingdone",e)},n6=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],a6=function(e,t){var r=e.cacheMeasurements,n=e.maxRows,o=e.minRows,a=e.onChange,i=a===void 0?p0:a,c=e.onHeightChange,s=c===void 0?p0:c,d=rl(e,n6),u=d.value!==void 0,h=l.useRef(null),g=Gy(h,t),f=l.useRef(0),v=l.useRef(),m=function(){var S=h.current,y=r&&v.current?v.current:e6(S);if(y){v.current=y;var w=Ky(y,S.value||S.placeholder||"x",o,n),E=w[0],C=w[1];f.current!==E&&(f.current=E,S.style.setProperty("height",E+"px","important"),s(E,{rowHeight:C}))}},x=function(S){u||m(),i(S)};return l.useLayoutEffect(m),t6(m),r6(m),l.createElement("textarea",X({},d,{onChange:x,ref:g}))},o6=l.forwardRef(a6),l6={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},$l=({theme:e})=>z(b({},l6),{transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),Ol=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},N1=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Tl=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},i6=Object.assign(k(l.forwardRef(function(a,o){var i=a,{size:e,valid:t,align:r}=i,n=R(i,["size","valid","align"]);return p.createElement("input",z(b({},n),{ref:o}))}))($l,Ol,N1,Tl,{minHeight:32}),{displayName:"Input"}),s6=Object.assign(k(l.forwardRef(function(a,o){var i=a,{size:e,valid:t,align:r}=i,n=R(i,["size","valid","align"]);return p.createElement("select",z(b({},n),{ref:o}))}))($l,Ol,Tl,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),c6=Object.assign(k(l.forwardRef(function(a,o){var i=a,{size:e,valid:t,align:r}=i,n=R(i,["size","valid","align"]);return p.createElement(o6,z(b({},n),{ref:o}))}))($l,Ol,N1,Tl,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Ar=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:jy,Input:i6,Select:s6,Textarea:c6,Button:kt}),d6=l.lazy(()=>Gt(()=>import("./WithTooltip-KJL26V4Q-DYLwYeD-.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.WithTooltip}))),u6=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},p.createElement(d6,b({},e))),f6=l.lazy(()=>Gt(()=>import("./WithTooltip-KJL26V4Q-DYLwYeD-.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),D1=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},p.createElement(f6,b({},e))),p6=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),h6=k.span(),m6=k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),g6=k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),v6=k.div({padding:15,width:280,boxSizing:"border-box"}),b6=({title:e,desc:t,links:r})=>p.createElement(v6,null,p.createElement(g6,null,e&&p.createElement(p6,null,e),t&&p.createElement(h6,null,t)),r&&p.createElement(m6,null,r.map(a=>{var i=a,{title:n}=i,o=R(i,["title"]);return p.createElement(Wt,z(b({},o),{key:n}),n)}))),y6=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),w6=r=>{var n=r,{note:e}=n,t=R(n,["note"]);return p.createElement(y6,b({},t),e)},x6=k(o=>{var a=o,{active:e,loading:t,disabled:r}=a,n=R(a,["active","loading","disabled"]);return p.createElement("span",b({},n))})(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?b({display:"inline-block",flex:"none"},t.animation.inlineGlow):{},({disabled:e,theme:t})=>e?{color:Oe(.7,t.color.defaultText)}:{}),E6=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),C6=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),S6=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),R6=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),I6=k.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),A6=Xt(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),_6=g=>{var f=g,{loading:e=!1,title:t=p.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:o=!1,disabled:a=!1,isIndented:i,href:c=null,onClick:s=null,icon:d,LinkWrapper:u=null}=f,h=R(f,["loading","title","center","right","active","disabled","isIndented","href","onClick","icon","LinkWrapper"]);let v=A6(s,c,u),m={active:o,disabled:a};return p.createElement(I6,b(b(b({},m),h),v),d&&p.createElement(R6,b({},m),d),t||r?p.createElement(C6,{isIndented:!d&&i},t&&p.createElement(x6,z(b({},m),{loading:e}),t),r&&p.createElement(S6,b({},m),r)):null,n&&p.createElement(E6,b({},m),n))},j1=_6,k6=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),$6=e=>{let h=e,{LinkWrapper:t,onClick:r,id:n,isIndented:o}=h,a=R(h,["LinkWrapper","onClick","id","isIndented"]),{title:i,href:c,active:s}=a,d=l.useCallback(g=>{r(g,a)},[r]),u=!!r;return p.createElement(j1,b(b({title:i,active:s,href:c,id:`list-item-${n}`,LinkWrapper:t,isIndented:o},a),u?{onClick:d}:{}))},V1=({links:e,LinkWrapper:t=null})=>{let r=e.some(n=>n.icon);return p.createElement(k6,null,e.map(a=>{var i=a,{isGatsby:n}=i,o=R(i,["isGatsby"]);return p.createElement($6,b({key:o.id,LinkWrapper:n?t:null,isIndented:r},o))}))},O6=e=>typeof e.props.href=="string",T6=e=>typeof e.props.href!="string";function M6(n,r){var o=n,{children:e}=o,t=R(o,["children"]);let a={props:t,ref:r};if(O6(a))return p.createElement("a",b({ref:a.ref},a.props),e);if(T6(a))return p.createElement("button",b({ref:a.ref,type:"button"},a.props),e);throw new Error("invalid props")}var U1=l.forwardRef(M6);U1.displayName="ButtonOrLink";var dn=k(U1,{shouldForwardProp:Go})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});dn.displayName="TabButton";var L6=k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),z6=k.div(()=>({marginTop:6,padding:7,height:28})),B6=()=>p.createElement(z6,null,p.createElement(L6,null)),Mo=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Mo.displayName="Side";var P6=({children:e,className:t,scrollable:r})=>r?p.createElement(ca,{vertical:!1,className:t},e):p.createElement("div",{className:t},e),Ml=k(P6)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Ml.displayName="Bar";var F6=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),ha=o=>{var a=o,{children:e,backgroundColor:t,className:r}=a,n=R(a,["children","backgroundColor","className"]);let[i,c]=l.Children.toArray(e);return p.createElement(Ml,b({className:`sb-bar ${r}`},n),p.createElement(F6,{bgColor:t},p.createElement(Mo,{scrollable:n.scrollable,left:!0},i),c?p.createElement(Mo,{right:!0},c):null))};ha.displayName="FlexBar";var W1=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),H6=e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return z(b({title:t,id:r},n?{color:n}:{}),{render:typeof a=="function"?a:({active:i})=>p.createElement(W1,{active:i,role:"tabpanel"},a)})}),N6=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),D6=k(dn)(({active:e,theme:t,preActive:r})=>` color: ${r||e?t.barSelectedColor:t.barTextColor}; .addon-collapsible-icon { color: ${r||e?t.barSelectedColor:t.barTextColor}; @@ -497,7 +497,7 @@ ${t}`);let r=t.match(By);if(!r)return p.createElement(l.Fragment,null,t);let[,n, ${Ze(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Ht(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ht(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${tt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),qd=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),yR=k(qd)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),wR=k.div({display:"flex",alignItems:"center",width:"100%"});function xR(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var ER=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:c,argType:s})=>{var f;let d=v=>{r(TS(v.target.value))},u=t!==void 0,h=l.useMemo(()=>xR(a),[a]),g=!!((f=s==null?void 0:s.table)!=null&&f.readonly);return p.createElement(wR,{"aria-readonly":g},p.createElement(qd,null,n),p.createElement(bR,{id:Ne(e),type:"range",disabled:g,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:c,onBlur:i}),p.createElement(yR,{numberOFDecimalsPlaces:h,max:o},u?t.toFixed(h):"--"," / ",o))},CR=k.label({display:"flex"}),SR=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),RR=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{var f,v;let c=m=>{r(m.target.value)},s=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,u]=l.useState(!1),h=l.useCallback(()=>{r(""),u(!0)},[u]);if(t===void 0)return p.createElement(kt,{variant:"outline",size:"medium",disabled:s,id:Zn(e),onClick:h},"Set string");let g=typeof t=="string";return p.createElement(CR,null,p.createElement(Ar.Textarea,{id:Ne(e),maxLength:a,onChange:c,disabled:s,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:g?null:"error",name:e,value:g?t:"",onFocus:n,onBlur:o}),a&&p.createElement(SR,{isMaxed:(t==null?void 0:t.length)===a},(v=t==null?void 0:t.length)!=null?v:0," / ",a))},IR=k(Ar.Input)({padding:10});function AR(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var _R=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var s;let a=l.useRef(null),i=(s=o==null?void 0:o.control)==null?void 0:s.readOnly;function c(d){if(!d.target.files)return;let u=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(u),AR(n)}return l.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),p.createElement(IR,{ref:a,id:Ne(t),type:"file",name:t,multiple:!0,disabled:i,onChange:c,accept:r,size:"flex"})},kR=l.lazy(()=>Gt(()=>import("./Color-PRSJMWNM-CLH98TlF.js"),__vite__mapDeps([13,2,8,9,1,3,4,5,6,7,10]),import.meta.url)),$R=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},p.createElement(kR,b({},e))),OR={array:G0,object:G0,boolean:SS,color:$R,date:$S,number:LS,check:sr,"inline-check":sr,radio:sr,"inline-radio":sr,select:sr,"multi-select":sr,range:ER,text:RR,file:_R},Y0=()=>p.createElement(p.Fragment,null,"-"),TR=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var m;let{key:o,control:a}=e,[i,c]=l.useState(!1),[s,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let u=l.useCallback(x=>(d({value:x}),r({[o]:x}),x),[r,o]),h=l.useCallback(()=>c(!1),[]),g=l.useCallback(()=>c(!0),[]);if(!a||a.disable){let x=(a==null?void 0:a.disable)!==!0&&((m=e==null?void 0:e.type)==null?void 0:m.name)!=="function";return n&&x?p.createElement(Wt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):p.createElement(Y0,null)}let f={name:o,argType:e,value:s.value,onChange:u,onBlur:h,onFocus:g},v=OR[a.type]||Y0;return p.createElement(v,z(b(b({},f),a),{controlType:a.type}))},MR=k.span({fontWeight:"bold"}),LR=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),zR=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:z(b({},gt({theme:e})),{fontSize:12,fontFamily:e.typography.fonts.mono}),"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),BR=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ne(.1,e.color.defaultText):ne(.2,e.color.defaultText),marginTop:t?4:0})),PR=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ne(.1,e.color.defaultText):ne(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),FR=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),HR=e=>e&&{summary:typeof e=="string"?e:e.name},An=e=>{var m;let[t,r]=l.useState(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:c}=e,{name:s,description:d}=n,u=n.table||{},h=u.type||HR(n.type),g=u.defaultValue||n.defaultValue,f=(m=n.type)==null?void 0:m.required,v=d!=null&&d!=="";return p.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},p.createElement(FR,{expandable:i},p.createElement(MR,null,s),f?p.createElement(LR,{title:"Required"},"*"):null),a?null:p.createElement("td",null,v&&p.createElement(zR,null,p.createElement(vd,null,d)),u.jsDocTags!=null?p.createElement(p.Fragment,null,p.createElement(PR,{hasDescription:v},p.createElement(oo,{value:h,initialExpandedArgs:c})),p.createElement(uS,{tags:u.jsDocTags})):p.createElement(BR,{hasDescription:v},p.createElement(oo,{value:h,initialExpandedArgs:c}))),a?null:p.createElement("td",null,p.createElement(oo,{value:g,initialExpandedArgs:c})),o?p.createElement("td",null,p.createElement(TR,z(b({},e),{isHovered:t}))):null)},NR=k(Cc)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ne(.25,e.color.defaultText):ne(.3,e.color.defaultText),border:"none",display:"inline-block"})),DR=k(wl)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ne(.25,e.color.defaultText):ne(.3,e.color.defaultText),border:"none",display:"inline-block"})),jR=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),VR=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),UR=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),WR=k.td(()=>({position:"relative"})),qR=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Ht(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),K0=k.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),io=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=l.useState(n),c=e==="subsection"?UR:VR,s=(r==null?void 0:r.length)||0,d=e==="subsection"?`${s} item${s!==1?"s":""}`:"",u=`${a?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return p.createElement(p.Fragment,null,p.createElement(qR,{title:u},p.createElement(c,{colSpan:1},p.createElement(K0,{onClick:h=>i(!a),tabIndex:0},u),p.createElement(jR,null,a?p.createElement(NR,null):p.createElement(DR,null),t)),p.createElement(WR,{colSpan:o-1},p.createElement(K0,{onClick:h=>i(!a),tabIndex:-1,style:{outline:"none"}},u),a?null:d)),a?r:null)},_n=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),ge=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ue=k.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),ve=[2,4,2,2],GR=()=>p.createElement(p.Fragment,null,p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"}))),p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"80%"}),p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"}))),p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"80%"}),p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"}))),p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"80%"}),p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"})))),YR=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),KR=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),XR=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),ZR=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:p.createElement(YR,{inAddonPanel:e},p.createElement(Ll,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:p.createElement(p.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:p.createElement(KR,null,e&&p.createElement(p.Fragment,null,p.createElement(Wt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},p.createElement(bc,null)," Watch 5m video"),p.createElement(XR,null),p.createElement(Wt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},p.createElement(Un,null)," Read docs")),!e&&p.createElement(Wt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},p.createElement(Un,null)," Learn how to set that up"))}))},JR=k.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":b({},t?null:{width:"35%"}),"td:nth-of-type(3)":b({},t?null:{width:"15%"}),"th:last-of-type, td:last-of-type":b({paddingRight:20},t?null:{width:"25%"}),th:{color:e.base==="light"?ne(.25,e.color.defaultText):ne(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:b(z(b({},r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"}),{"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`}}),r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}})}})),QR=k(St)(({theme:e})=>({margin:"-4px -12px -4px 0"})),eI=k.span({display:"flex",justifyContent:"space-between"}),tI={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},rI=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:c,subcategory:s}=(i==null?void 0:i.table)||{};if(c){let d=r.sections[c]||{ungrouped:[],subsections:{}};if(!s)d.ungrouped.push(b({key:a},i));else{let u=d.subsections[s]||[];u.push(b({key:a},i)),d.subsections[s]=u}r.sections[c]=d}else if(s){let d=r.ungroupedSubsections[s]||[];d.push(b({key:a},i)),r.ungroupedSubsections[s]=d}else r.ungrouped.push(b({key:a},i))});let n=tI[t],o=a=>n?Object.keys(a).reduce((i,c)=>z(b({},i),{[c]:a[c].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,i)=>z(b({},a),{[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},nI=(e,t,r)=>{try{return au(e,t,r)}catch(n){return LC.warn(n.message),!1}},jo=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:c}=e;if("error"in e){let{error:y}=e;return p.createElement(kd,null,y," ",p.createElement(Wt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},p.createElement(Un,null)," Read the docs"))}if(c)return p.createElement(GR,null);let{rows:s,args:d,globals:u}="rows"in e&&e,h=rI(b8(s,y=>{var w;return!((w=y==null?void 0:y.table)!=null&&w.disable)&&nI(y,d||{},u||{})}),i),g=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(g&&f&&v)return p.createElement(ZR,{inAddonPanel:o});let m=1;t&&(m+=1),n||(m+=2);let x=Object.keys(h.sections).length>0,S={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return p.createElement(kl,null,p.createElement(JR,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},p.createElement("thead",{className:"docblock-argstable-head"},p.createElement("tr",null,p.createElement("th",null,p.createElement("span",null,"Name")),n?null:p.createElement("th",null,p.createElement("span",null,"Description")),n?null:p.createElement("th",null,p.createElement("span",null,"Default")),t?p.createElement("th",null,p.createElement(eI,null,"Control"," ",!c&&r&&p.createElement(QR,{onClick:()=>r(),title:"Reset controls"},p.createElement(Rc,{"aria-hidden":!0})))):null)),p.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(y=>p.createElement(An,b({key:y.key,row:y,arg:d&&d[y.key]},S))),Object.entries(h.ungroupedSubsections).map(([y,w])=>p.createElement(io,{key:y,label:y,level:"subsection",colSpan:m},w.map(E=>p.createElement(An,b({key:E.key,row:E,arg:d&&d[E.key],expandable:x},S))))),Object.entries(h.sections).map(([y,w])=>p.createElement(io,{key:y,label:y,level:"section",colSpan:m},w.ungrouped.map(E=>p.createElement(An,b({key:E.key,row:E,arg:d&&d[E.key]},S))),Object.entries(w.subsections).map(([E,C])=>p.createElement(io,{key:E,label:E,level:"subsection",colSpan:m},C.map(I=>p.createElement(An,b({key:I.key,row:I,arg:d&&d[I.key],expandable:x},S))))))))))},aI=r=>{var n=r,{tabs:e}=n,t=R(n,["tabs"]);let o=Object.entries(e);return o.length===1?p.createElement(jo,b(b({},o[0][1]),t)):p.createElement(Pl,null,o.map((a,i)=>{let[c,s]=a,d=`prop_table_div_${c}`,u="div",h=i===0?t:{sort:t.sort};return p.createElement(u,{key:d,id:d,title:c},({active:g})=>g?p.createElement(jo,b(b({key:`prop_table_${c}`},s),h)):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(oe,({theme:e})=>z(b({},va(e)),{margin:"25px 0 40px",padding:"30px 20px"}));k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));k.div(({theme:e})=>({color:e.base==="light"?ne(.2,e.color.defaultText):ne(.6,e.color.defaultText)}));k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));k.div({display:"flex",flexDirection:"row"});k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));k.div(({theme:e})=>z(b({},va(e)),{display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});k.div({flex:1,display:"flex",flexDirection:"row"});k.div({display:"flex",alignItems:"flex-start"});k.div({flex:"0 0 30%"});k.div({flex:1});k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText)}));k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));k.div(({theme:e})=>z(b({},va(e)),{overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});k.div({display:"flex",flexFlow:"row wrap"});var oI=e=>`anchor--${e}`,Gd=({storyId:e,children:t})=>p.createElement("div",{id:oI(e),className:"sb-anchor"},t);Te&&Te.__DOCS_CONTEXT__===void 0&&(Te.__DOCS_CONTEXT__=l.createContext(null),Te.__DOCS_CONTEXT__.displayName="DocsContext");var je=Te?Te.__DOCS_CONTEXT__:l.createContext(null),Qt=(e,t)=>l.useContext(je).resolveOf(e,t),lI=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),iI=e=>{if(e)return typeof e=="string"?e.includes("-")?lI(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function sI(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function Yd(e){return AC(e,{allowFunction:!1})}var Kd=l.createContext({sources:{}}),Xd="--unknown--",cI=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let o=(a,i=null,c=!1)=>{let{id:s,args:d=void 0,source:u,format:h}=typeof a=="string"?{id:a,source:i,format:c}:a,g=d?Yd(d):Xd;n(f=>z(b({},f),{[s]:z(b({},f[s]),{[g]:{code:u,format:h}})}))};return t.on(ai,o),()=>t.off(ai,o)},[]),p.createElement(Kd.Provider,{value:{sources:r}},e)},dI=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[Yd(t)])||(o==null?void 0:o[Xd])||{code:""}},uI=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,d;let{__isArgsStory:o}=t.parameters,a=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||a.type||Ea.AUTO;if(a.code!==void 0)return a.code;let c=i===Ea.DYNAMIC||i===Ea.AUTO&&e&&o?e:a.originalSource||"";return((d=n!=null?n:a.transform)==null?void 0:d(c,t))||c},fI=(e,t,r)=>{var f,v,m,x,S,y,w,E,C,I,A;let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch(_){}let a=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,c=(m=e.format)!=null?m:a.format,s=(S=(x=e.language)!=null?x:a.language)!=null?S:"jsx",d=(w=(y=e.dark)!=null?y:a.dark)!=null?w:!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:c,language:s,dark:d};let u=t.getStoryContext(n),h=e.__forceInitialArgs?u.initialArgs:u.unmappedArgs,g=dI(n.id,h,r);return c=(A=(I=g.format)!=null?I:(C=(E=n.parameters.docs)==null?void 0:E.source)==null?void 0:C.format)!=null?A:!1,{code:uI({snippet:g.code,storyContext:z(b({},u),{args:h}),typeFromProps:e.type,transformFromProps:e.transform}),format:c,language:s,dark:d}};function pI(e,t){let r=hI([e],t);return r&&r[0]}function hI(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(o=>nr(this,null,function*(){let a=yield t.loadStory(o);n(i=>i[o]===a?i:z(b({},i),{[o]:a}))})))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch(a){return null}})}var mI=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},gI=(e,t,r)=>{var c,s,d,u,h,g,f,v;let{parameters:n={}}=t||{},{docs:o={}}=n,a=o.story||{};if(o.disable)return null;if((s=(c=e.inline)!=null?c:a.inline)!=null&&s){let m=(d=e.height)!=null?d:a.height,x=(h=(u=e.autoplay)!=null?u:a.autoplay)!=null?h:!1;return{story:t,inline:!0,height:m,autoplay:x,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=(v=(f=(g=e.height)!=null?g:a.height)!=null?f:a.iframeHeight)!=null?v:"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},vI=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(je),r=mI(e,t),n=pI(r,t);if(!n)return p.createElement(Td,null);let o=gI(e,n,t);return o?p.createElement(nS,b({},o)):null},bI=e=>{var g,f,v,m,x,S,y,w,E,C,I,A,_,$,O,T,M,L,N;let t=l.useContext(je),r=l.useContext(Kd),{of:n,source:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=Qt(n||"story",["story"]),i=fI(b(b({},o),n&&{of:n}),t,r),c=(x=(m=(g=e.layout)!=null?g:a.parameters.layout)!=null?m:(v=(f=a.parameters.docs)==null?void 0:f.canvas)==null?void 0:v.layout)!=null?x:"padded",s=(E=(w=e.withToolbar)!=null?w:(y=(S=a.parameters.docs)==null?void 0:S.canvas)==null?void 0:y.withToolbar)!=null?E:!1,d=(A=e.additionalActions)!=null?A:(I=(C=a.parameters.docs)==null?void 0:C.canvas)==null?void 0:I.additionalActions,u=(T=(O=e.sourceState)!=null?O:($=(_=a.parameters.docs)==null?void 0:_.canvas)==null?void 0:$.sourceState)!=null?T:"hidden",h=(N=e.className)!=null?N:(L=(M=a.parameters.docs)==null?void 0:M.canvas)==null?void 0:L.className;return p.createElement(Md,{withSource:u==="none"?void 0:i,isExpanded:u==="shown",withToolbar:s,additionalActions:d,className:h,layout:c},p.createElement(vI,b({of:n||a.moduleExport,meta:e.meta},e.story)))},yI=(e,t)=>{let r=t.getStoryContext(e),[n,o]=l.useState(r.globals);return l.useEffect(()=>{let a=i=>{o(i.globals)};return t.channel.on(B0,a),()=>t.channel.off(B0,a)},[t.channel]),[n]},wI=(e,t)=>{let r=xI(e,t);if(!r)throw new Error("No result when story was defined");return r},xI=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,a]=l.useState(r.args);l.useEffect(()=>{let s=d=>{d.storyId===n&&a(d.args)};return t.channel.on(P0,s),()=>t.channel.off(P0,s)},[n,t.channel]);let i=l.useCallback(s=>t.channel.emit(zC,{storyId:n,updatedArgs:s}),[n,t.channel]),c=l.useCallback(s=>t.channel.emit(BC,{storyId:n,argNames:s}),[n,t.channel]);return e&&[o,i,c]};function EI(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var CI=e=>{var E,C,I,A;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(je),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:i,subcomponents:c}=n,s=((E=o.docs)==null?void 0:E.controls)||{},d=(C=e.include)!=null?C:s.include,u=(I=e.exclude)!=null?I:s.exclude,h=(A=e.sort)!=null?A:s.sort,[g,f,v]=wI(n,r),[m]=yI(n,r),x=z0(a,d,u);if(!(c&&Object.keys(c).length>0))return Object.keys(x).length>0||Object.keys(g).length>0?p.createElement(jo,{rows:x,sort:h,args:g,globals:m,updateArgs:f,resetArgs:v}):null;let S=iI(i),y=Object.fromEntries(Object.entries(c).map(([_,$])=>[_,{rows:z0(EI($,o),d,u),sort:h}])),w=b({[S]:{rows:x,sort:h}},y);return p.createElement(aI,{tabs:w,sort:h,args:g,globals:m,updateArgs:f,resetArgs:v})},{document:Zd}=Te,SI=n=>{var o=n,{className:e,children:t}=o,r=R(o,["className","children"]);if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return p.createElement(Il,null,t);let a=e&&e.split("-");return p.createElement($d,b({language:a&&a[1]||"text",format:!1,code:t},r))};function Kl(e,t){e.channel.emit(PC,t)}var Vo=Y1.a,RI=({hash:e,children:t})=>{let r=l.useContext(je);return p.createElement(Vo,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);Zd.getElementById(o)&&Kl(r,e)}},t)},II=e=>{let i=e,{href:t,target:r,children:n}=i,o=R(i,["href","target","children"]),a=l.useContext(je);return!t||r==="_blank"||/^https?:\/\//.test(t)?p.createElement(Vo,b({},e)):t.startsWith("#")?p.createElement(RI,{hash:t},n):p.createElement(Vo,b({href:t,onClick:c=>{c.button===0&&!c.altKey&&!c.ctrlKey&&!c.metaKey&&!c.shiftKey&&(c.preventDefault(),Kl(a,c.currentTarget.getAttribute("href")))},target:r},o),n)},Jd=["h1","h2","h3","h4","h5","h6"],AI=Jd.reduce((e,t)=>z(b({},e),{[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),_I=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),kI=o=>{var a=o,{as:e,id:t,children:r}=a,n=R(a,["as","id","children"]);let i=l.useContext(je),c=AI[e],s=`#${t}`;return p.createElement(c,b({id:t},n),p.createElement(_I,{"aria-hidden":"true",href:s,tabIndex:-1,target:"_self",onClick:d=>{Zd.getElementById(t)&&Kl(i,s)}},p.createElement(Ec,null)),r)},Xl=e=>{let s=e,{as:t,id:r,children:n}=s,o=R(s,["as","id","children"]);if(r)return p.createElement(kI,b({as:t,id:r},o),n);let a=t,d=e,{as:i}=d,c=R(d,["as"]);return p.createElement(a,b({},ae(c,t)))},$I=Jd.reduce((e,t)=>z(b({},e),{[t]:r=>p.createElement(Xl,b({as:t},r))}),{}),OI=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(wu`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + ${Ht(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${tt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),qd=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),yR=k(qd)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),wR=k.div({display:"flex",alignItems:"center",width:"100%"});function xR(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var ER=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:c,argType:s})=>{var f;let d=v=>{r(TS(v.target.value))},u=t!==void 0,h=l.useMemo(()=>xR(a),[a]),g=!!((f=s==null?void 0:s.table)!=null&&f.readonly);return p.createElement(wR,{"aria-readonly":g},p.createElement(qd,null,n),p.createElement(bR,{id:Ne(e),type:"range",disabled:g,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:c,onBlur:i}),p.createElement(yR,{numberOFDecimalsPlaces:h,max:o},u?t.toFixed(h):"--"," / ",o))},CR=k.label({display:"flex"}),SR=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),RR=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{var f,v;let c=m=>{r(m.target.value)},s=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,u]=l.useState(!1),h=l.useCallback(()=>{r(""),u(!0)},[u]);if(t===void 0)return p.createElement(kt,{variant:"outline",size:"medium",disabled:s,id:Zn(e),onClick:h},"Set string");let g=typeof t=="string";return p.createElement(CR,null,p.createElement(Ar.Textarea,{id:Ne(e),maxLength:a,onChange:c,disabled:s,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:g?null:"error",name:e,value:g?t:"",onFocus:n,onBlur:o}),a&&p.createElement(SR,{isMaxed:(t==null?void 0:t.length)===a},(v=t==null?void 0:t.length)!=null?v:0," / ",a))},IR=k(Ar.Input)({padding:10});function AR(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var _R=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var s;let a=l.useRef(null),i=(s=o==null?void 0:o.control)==null?void 0:s.readOnly;function c(d){if(!d.target.files)return;let u=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(u),AR(n)}return l.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),p.createElement(IR,{ref:a,id:Ne(t),type:"file",name:t,multiple:!0,disabled:i,onChange:c,accept:r,size:"flex"})},kR=l.lazy(()=>Gt(()=>import("./Color-PRSJMWNM-KYYW3ulJ.js"),__vite__mapDeps([13,2,8,9,1,3,4,5,6,7,10]),import.meta.url)),$R=e=>p.createElement(l.Suspense,{fallback:p.createElement("div",null)},p.createElement(kR,b({},e))),OR={array:G0,object:G0,boolean:SS,color:$R,date:$S,number:LS,check:sr,"inline-check":sr,radio:sr,"inline-radio":sr,select:sr,"multi-select":sr,range:ER,text:RR,file:_R},Y0=()=>p.createElement(p.Fragment,null,"-"),TR=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var m;let{key:o,control:a}=e,[i,c]=l.useState(!1),[s,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let u=l.useCallback(x=>(d({value:x}),r({[o]:x}),x),[r,o]),h=l.useCallback(()=>c(!1),[]),g=l.useCallback(()=>c(!0),[]);if(!a||a.disable){let x=(a==null?void 0:a.disable)!==!0&&((m=e==null?void 0:e.type)==null?void 0:m.name)!=="function";return n&&x?p.createElement(Wt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):p.createElement(Y0,null)}let f={name:o,argType:e,value:s.value,onChange:u,onBlur:h,onFocus:g},v=OR[a.type]||Y0;return p.createElement(v,z(b(b({},f),a),{controlType:a.type}))},MR=k.span({fontWeight:"bold"}),LR=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),zR=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:z(b({},gt({theme:e})),{fontSize:12,fontFamily:e.typography.fonts.mono}),"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),BR=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ne(.1,e.color.defaultText):ne(.2,e.color.defaultText),marginTop:t?4:0})),PR=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ne(.1,e.color.defaultText):ne(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),FR=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),HR=e=>e&&{summary:typeof e=="string"?e:e.name},An=e=>{var m;let[t,r]=l.useState(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:c}=e,{name:s,description:d}=n,u=n.table||{},h=u.type||HR(n.type),g=u.defaultValue||n.defaultValue,f=(m=n.type)==null?void 0:m.required,v=d!=null&&d!=="";return p.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},p.createElement(FR,{expandable:i},p.createElement(MR,null,s),f?p.createElement(LR,{title:"Required"},"*"):null),a?null:p.createElement("td",null,v&&p.createElement(zR,null,p.createElement(vd,null,d)),u.jsDocTags!=null?p.createElement(p.Fragment,null,p.createElement(PR,{hasDescription:v},p.createElement(oo,{value:h,initialExpandedArgs:c})),p.createElement(uS,{tags:u.jsDocTags})):p.createElement(BR,{hasDescription:v},p.createElement(oo,{value:h,initialExpandedArgs:c}))),a?null:p.createElement("td",null,p.createElement(oo,{value:g,initialExpandedArgs:c})),o?p.createElement("td",null,p.createElement(TR,z(b({},e),{isHovered:t}))):null)},NR=k(Cc)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ne(.25,e.color.defaultText):ne(.3,e.color.defaultText),border:"none",display:"inline-block"})),DR=k(wl)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ne(.25,e.color.defaultText):ne(.3,e.color.defaultText),border:"none",display:"inline-block"})),jR=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),VR=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),UR=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),WR=k.td(()=>({position:"relative"})),qR=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Ht(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),K0=k.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),io=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=l.useState(n),c=e==="subsection"?UR:VR,s=(r==null?void 0:r.length)||0,d=e==="subsection"?`${s} item${s!==1?"s":""}`:"",u=`${a?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return p.createElement(p.Fragment,null,p.createElement(qR,{title:u},p.createElement(c,{colSpan:1},p.createElement(K0,{onClick:h=>i(!a),tabIndex:0},u),p.createElement(jR,null,a?p.createElement(NR,null):p.createElement(DR,null),t)),p.createElement(WR,{colSpan:o-1},p.createElement(K0,{onClick:h=>i(!a),tabIndex:-1,style:{outline:"none"}},u),a?null:d)),a?r:null)},_n=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),ge=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ue=k.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),ve=[2,4,2,2],GR=()=>p.createElement(p.Fragment,null,p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"}))),p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"80%"}),p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"}))),p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"80%"}),p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"}))),p.createElement(_n,null,p.createElement(ge,{numColumn:ve[0]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[1]},p.createElement(ue,{width:"80%"}),p.createElement(ue,{width:"30%"})),p.createElement(ge,{numColumn:ve[2]},p.createElement(ue,{width:"60%"})),p.createElement(ge,{numColumn:ve[3]},p.createElement(ue,{width:"60%"})))),YR=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),KR=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),XR=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),ZR=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:p.createElement(YR,{inAddonPanel:e},p.createElement(Ll,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:p.createElement(p.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:p.createElement(KR,null,e&&p.createElement(p.Fragment,null,p.createElement(Wt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},p.createElement(bc,null)," Watch 5m video"),p.createElement(XR,null),p.createElement(Wt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},p.createElement(Un,null)," Read docs")),!e&&p.createElement(Wt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},p.createElement(Un,null)," Learn how to set that up"))}))},JR=k.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":b({},t?null:{width:"35%"}),"td:nth-of-type(3)":b({},t?null:{width:"15%"}),"th:last-of-type, td:last-of-type":b({paddingRight:20},t?null:{width:"25%"}),th:{color:e.base==="light"?ne(.25,e.color.defaultText):ne(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:b(z(b({},r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"}),{"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`}}),r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}})}})),QR=k(St)(({theme:e})=>({margin:"-4px -12px -4px 0"})),eI=k.span({display:"flex",justifyContent:"space-between"}),tI={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},rI=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:c,subcategory:s}=(i==null?void 0:i.table)||{};if(c){let d=r.sections[c]||{ungrouped:[],subsections:{}};if(!s)d.ungrouped.push(b({key:a},i));else{let u=d.subsections[s]||[];u.push(b({key:a},i)),d.subsections[s]=u}r.sections[c]=d}else if(s){let d=r.ungroupedSubsections[s]||[];d.push(b({key:a},i)),r.ungroupedSubsections[s]=d}else r.ungrouped.push(b({key:a},i))});let n=tI[t],o=a=>n?Object.keys(a).reduce((i,c)=>z(b({},i),{[c]:a[c].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,i)=>z(b({},a),{[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},nI=(e,t,r)=>{try{return au(e,t,r)}catch(n){return LC.warn(n.message),!1}},jo=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:c}=e;if("error"in e){let{error:y}=e;return p.createElement(kd,null,y," ",p.createElement(Wt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},p.createElement(Un,null)," Read the docs"))}if(c)return p.createElement(GR,null);let{rows:s,args:d,globals:u}="rows"in e&&e,h=rI(b8(s,y=>{var w;return!((w=y==null?void 0:y.table)!=null&&w.disable)&&nI(y,d||{},u||{})}),i),g=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(g&&f&&v)return p.createElement(ZR,{inAddonPanel:o});let m=1;t&&(m+=1),n||(m+=2);let x=Object.keys(h.sections).length>0,S={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return p.createElement(kl,null,p.createElement(JR,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},p.createElement("thead",{className:"docblock-argstable-head"},p.createElement("tr",null,p.createElement("th",null,p.createElement("span",null,"Name")),n?null:p.createElement("th",null,p.createElement("span",null,"Description")),n?null:p.createElement("th",null,p.createElement("span",null,"Default")),t?p.createElement("th",null,p.createElement(eI,null,"Control"," ",!c&&r&&p.createElement(QR,{onClick:()=>r(),title:"Reset controls"},p.createElement(Rc,{"aria-hidden":!0})))):null)),p.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(y=>p.createElement(An,b({key:y.key,row:y,arg:d&&d[y.key]},S))),Object.entries(h.ungroupedSubsections).map(([y,w])=>p.createElement(io,{key:y,label:y,level:"subsection",colSpan:m},w.map(E=>p.createElement(An,b({key:E.key,row:E,arg:d&&d[E.key],expandable:x},S))))),Object.entries(h.sections).map(([y,w])=>p.createElement(io,{key:y,label:y,level:"section",colSpan:m},w.ungrouped.map(E=>p.createElement(An,b({key:E.key,row:E,arg:d&&d[E.key]},S))),Object.entries(w.subsections).map(([E,C])=>p.createElement(io,{key:E,label:E,level:"subsection",colSpan:m},C.map(I=>p.createElement(An,b({key:I.key,row:I,arg:d&&d[I.key],expandable:x},S))))))))))},aI=r=>{var n=r,{tabs:e}=n,t=R(n,["tabs"]);let o=Object.entries(e);return o.length===1?p.createElement(jo,b(b({},o[0][1]),t)):p.createElement(Pl,null,o.map((a,i)=>{let[c,s]=a,d=`prop_table_div_${c}`,u="div",h=i===0?t:{sort:t.sort};return p.createElement(u,{key:d,id:d,title:c},({active:g})=>g?p.createElement(jo,b(b({key:`prop_table_${c}`},s),h)):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(oe,({theme:e})=>z(b({},va(e)),{margin:"25px 0 40px",padding:"30px 20px"}));k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));k.div(({theme:e})=>({color:e.base==="light"?ne(.2,e.color.defaultText):ne(.6,e.color.defaultText)}));k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));k.div({display:"flex",flexDirection:"row"});k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));k.div(({theme:e})=>z(b({},va(e)),{display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});k.div({flex:1,display:"flex",flexDirection:"row"});k.div({display:"flex",alignItems:"flex-start"});k.div({flex:"0 0 30%"});k.div({flex:1});k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ne(.4,e.color.defaultText):ne(.6,e.color.defaultText)}));k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));k.div(({theme:e})=>z(b({},va(e)),{overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});k.div({display:"flex",flexFlow:"row wrap"});var oI=e=>`anchor--${e}`,Gd=({storyId:e,children:t})=>p.createElement("div",{id:oI(e),className:"sb-anchor"},t);Te&&Te.__DOCS_CONTEXT__===void 0&&(Te.__DOCS_CONTEXT__=l.createContext(null),Te.__DOCS_CONTEXT__.displayName="DocsContext");var je=Te?Te.__DOCS_CONTEXT__:l.createContext(null),Qt=(e,t)=>l.useContext(je).resolveOf(e,t),lI=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),iI=e=>{if(e)return typeof e=="string"?e.includes("-")?lI(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function sI(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function Yd(e){return AC(e,{allowFunction:!1})}var Kd=l.createContext({sources:{}}),Xd="--unknown--",cI=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let o=(a,i=null,c=!1)=>{let{id:s,args:d=void 0,source:u,format:h}=typeof a=="string"?{id:a,source:i,format:c}:a,g=d?Yd(d):Xd;n(f=>z(b({},f),{[s]:z(b({},f[s]),{[g]:{code:u,format:h}})}))};return t.on(ai,o),()=>t.off(ai,o)},[]),p.createElement(Kd.Provider,{value:{sources:r}},e)},dI=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[Yd(t)])||(o==null?void 0:o[Xd])||{code:""}},uI=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,d;let{__isArgsStory:o}=t.parameters,a=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||a.type||Ea.AUTO;if(a.code!==void 0)return a.code;let c=i===Ea.DYNAMIC||i===Ea.AUTO&&e&&o?e:a.originalSource||"";return((d=n!=null?n:a.transform)==null?void 0:d(c,t))||c},fI=(e,t,r)=>{var f,v,m,x,S,y,w,E,C,I,A;let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch(_){}let a=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,c=(m=e.format)!=null?m:a.format,s=(S=(x=e.language)!=null?x:a.language)!=null?S:"jsx",d=(w=(y=e.dark)!=null?y:a.dark)!=null?w:!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:c,language:s,dark:d};let u=t.getStoryContext(n),h=e.__forceInitialArgs?u.initialArgs:u.unmappedArgs,g=dI(n.id,h,r);return c=(A=(I=g.format)!=null?I:(C=(E=n.parameters.docs)==null?void 0:E.source)==null?void 0:C.format)!=null?A:!1,{code:uI({snippet:g.code,storyContext:z(b({},u),{args:h}),typeFromProps:e.type,transformFromProps:e.transform}),format:c,language:s,dark:d}};function pI(e,t){let r=hI([e],t);return r&&r[0]}function hI(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(o=>nr(this,null,function*(){let a=yield t.loadStory(o);n(i=>i[o]===a?i:z(b({},i),{[o]:a}))})))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch(a){return null}})}var mI=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},gI=(e,t,r)=>{var c,s,d,u,h,g,f,v;let{parameters:n={}}=t||{},{docs:o={}}=n,a=o.story||{};if(o.disable)return null;if((s=(c=e.inline)!=null?c:a.inline)!=null&&s){let m=(d=e.height)!=null?d:a.height,x=(h=(u=e.autoplay)!=null?u:a.autoplay)!=null?h:!1;return{story:t,inline:!0,height:m,autoplay:x,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=(v=(f=(g=e.height)!=null?g:a.height)!=null?f:a.iframeHeight)!=null?v:"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},vI=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(je),r=mI(e,t),n=pI(r,t);if(!n)return p.createElement(Td,null);let o=gI(e,n,t);return o?p.createElement(nS,b({},o)):null},bI=e=>{var g,f,v,m,x,S,y,w,E,C,I,A,_,$,O,T,M,L,N;let t=l.useContext(je),r=l.useContext(Kd),{of:n,source:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=Qt(n||"story",["story"]),i=fI(b(b({},o),n&&{of:n}),t,r),c=(x=(m=(g=e.layout)!=null?g:a.parameters.layout)!=null?m:(v=(f=a.parameters.docs)==null?void 0:f.canvas)==null?void 0:v.layout)!=null?x:"padded",s=(E=(w=e.withToolbar)!=null?w:(y=(S=a.parameters.docs)==null?void 0:S.canvas)==null?void 0:y.withToolbar)!=null?E:!1,d=(A=e.additionalActions)!=null?A:(I=(C=a.parameters.docs)==null?void 0:C.canvas)==null?void 0:I.additionalActions,u=(T=(O=e.sourceState)!=null?O:($=(_=a.parameters.docs)==null?void 0:_.canvas)==null?void 0:$.sourceState)!=null?T:"hidden",h=(N=e.className)!=null?N:(L=(M=a.parameters.docs)==null?void 0:M.canvas)==null?void 0:L.className;return p.createElement(Md,{withSource:u==="none"?void 0:i,isExpanded:u==="shown",withToolbar:s,additionalActions:d,className:h,layout:c},p.createElement(vI,b({of:n||a.moduleExport,meta:e.meta},e.story)))},yI=(e,t)=>{let r=t.getStoryContext(e),[n,o]=l.useState(r.globals);return l.useEffect(()=>{let a=i=>{o(i.globals)};return t.channel.on(B0,a),()=>t.channel.off(B0,a)},[t.channel]),[n]},wI=(e,t)=>{let r=xI(e,t);if(!r)throw new Error("No result when story was defined");return r},xI=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,a]=l.useState(r.args);l.useEffect(()=>{let s=d=>{d.storyId===n&&a(d.args)};return t.channel.on(P0,s),()=>t.channel.off(P0,s)},[n,t.channel]);let i=l.useCallback(s=>t.channel.emit(zC,{storyId:n,updatedArgs:s}),[n,t.channel]),c=l.useCallback(s=>t.channel.emit(BC,{storyId:n,argNames:s}),[n,t.channel]);return e&&[o,i,c]};function EI(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var CI=e=>{var E,C,I,A;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(je),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:i,subcomponents:c}=n,s=((E=o.docs)==null?void 0:E.controls)||{},d=(C=e.include)!=null?C:s.include,u=(I=e.exclude)!=null?I:s.exclude,h=(A=e.sort)!=null?A:s.sort,[g,f,v]=wI(n,r),[m]=yI(n,r),x=z0(a,d,u);if(!(c&&Object.keys(c).length>0))return Object.keys(x).length>0||Object.keys(g).length>0?p.createElement(jo,{rows:x,sort:h,args:g,globals:m,updateArgs:f,resetArgs:v}):null;let S=iI(i),y=Object.fromEntries(Object.entries(c).map(([_,$])=>[_,{rows:z0(EI($,o),d,u),sort:h}])),w=b({[S]:{rows:x,sort:h}},y);return p.createElement(aI,{tabs:w,sort:h,args:g,globals:m,updateArgs:f,resetArgs:v})},{document:Zd}=Te,SI=n=>{var o=n,{className:e,children:t}=o,r=R(o,["className","children"]);if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return p.createElement(Il,null,t);let a=e&&e.split("-");return p.createElement($d,b({language:a&&a[1]||"text",format:!1,code:t},r))};function Kl(e,t){e.channel.emit(PC,t)}var Vo=Y1.a,RI=({hash:e,children:t})=>{let r=l.useContext(je);return p.createElement(Vo,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);Zd.getElementById(o)&&Kl(r,e)}},t)},II=e=>{let i=e,{href:t,target:r,children:n}=i,o=R(i,["href","target","children"]),a=l.useContext(je);return!t||r==="_blank"||/^https?:\/\//.test(t)?p.createElement(Vo,b({},e)):t.startsWith("#")?p.createElement(RI,{hash:t},n):p.createElement(Vo,b({href:t,onClick:c=>{c.button===0&&!c.altKey&&!c.ctrlKey&&!c.metaKey&&!c.shiftKey&&(c.preventDefault(),Kl(a,c.currentTarget.getAttribute("href")))},target:r},o),n)},Jd=["h1","h2","h3","h4","h5","h6"],AI=Jd.reduce((e,t)=>z(b({},e),{[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),_I=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),kI=o=>{var a=o,{as:e,id:t,children:r}=a,n=R(a,["as","id","children"]);let i=l.useContext(je),c=AI[e],s=`#${t}`;return p.createElement(c,b({id:t},n),p.createElement(_I,{"aria-hidden":"true",href:s,tabIndex:-1,target:"_self",onClick:d=>{Zd.getElementById(t)&&Kl(i,s)}},p.createElement(Ec,null)),r)},Xl=e=>{let s=e,{as:t,id:r,children:n}=s,o=R(s,["as","id","children"]);if(r)return p.createElement(kI,b({as:t,id:r},o),n);let a=t,d=e,{as:i}=d,c=R(d,["as"]);return p.createElement(a,b({},ae(c,t)))},$I=Jd.reduce((e,t)=>z(b({},e),{[t]:r=>p.createElement(Xl,b({as:t},r))}),{}),OI=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(wu`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' This is often caused by not wrapping the child in a template string. This is invalid: @@ -516,7 +516,7 @@ ${t}`);let r=t.match(By);if(!r)return p.createElement(l.Fragment,null,t);let[,n, `);return p.createElement(vd,z(b({},e),{options:b({forceBlock:!0,overrides:b(b({code:SI,a:II},$I),(t=e==null?void 0:e.options)==null?void 0:t.overrides)},e==null?void 0:e.options)}))},TI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(TI||{}),MI=e=>{var t,r,n,o,a,i,c,s;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:u}=e.preparedMeta;return((o=(n=d.docs)==null?void 0:n.description)==null?void 0:o.component)||((i=(a=d.docs)==null?void 0:a.extractComponentDescription)==null?void 0:i.call(a,u,{component:u,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:u}}=e;return((s=(c=u.docs)==null?void 0:c.extractComponentDescription)==null?void 0:s.call(c,d,{component:d,parameters:u}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},Uo=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=Qt(t||"meta"),n=MI(r);return n?p.createElement(OI,null,n):null},LI=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),zI=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),BI=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),PI=({title:e})=>e===null?null:typeof e=="string"?p.createElement(BI,null,e):e,FI=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:o,unsafeTocbotOptions:a})=>(l.useEffect(()=>{let i=b({tocSelector:".toc-wrapper",contentSelector:n!=null?n:".sbdocs-content",headingSelector:r!=null?r:"h3",ignoreSelector:o!=null?o:".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1},a),c=setTimeout(()=>L0.init(i),100);return()=>{clearTimeout(c),L0.destroy()}},[t]),p.createElement(p.Fragment,null,p.createElement(LI,null,t?null:p.createElement(zI,null,p.createElement(PI,{title:e||null}),p.createElement("div",{className:"toc-wrapper"}))))),{document:HI,window:NI}=Te,DI=({context:e,theme:t,children:r})=>{var o,a,i,c,s;let n;try{n=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch(d){n=(s=(c=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:c.docs)==null?void 0:s.toc}return l.useEffect(()=>{let d;try{if(d=new URL(NI.parent.location.toString()),d.hash){let u=HI.getElementById(d.hash.substring(1));u&&setTimeout(()=>{sI(u)},200)}}catch(u){}}),p.createElement(je.Provider,{value:e},p.createElement(cI,{channel:e.channel},p.createElement(Cs,{theme:qp(t)},p.createElement(qC,{toc:n?p.createElement(FI,b({className:"sbdocs sbdocs-toc--custom"},n)):null},r))))},jI=/\s*\/\s*/,VI=e=>{let t=e.trim().split(jI);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},UI=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=Qt(r||"meta",["meta"]).preparedMeta}catch(a){if(t&&!a.message.includes("did you forget to use ?"))throw a}let o=t||VI(n==null?void 0:n.title);return o?p.createElement(jC,{className:"sbdocs-title sb-unstyled"},o):null},WI="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",qI=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=Qt(t||"meta",["meta"]).preparedMeta}catch(c){if(r&&!c.message.includes("did you forget to use ?"))throw c}let{componentSubtitle:o,docs:a}=(n==null?void 0:n.parameters)||{};o&&MC(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${WI}`);let i=r||(a==null?void 0:a.subtitle)||o;return i?p.createElement(VC,{className:"sbdocs-subtitle sb-unstyled"},i):null},GI=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return p.createElement(_l,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return p.createElement(Xl,{as:"h3",id:r},e)},Qd=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:o=!1})=>{var c,s,d;let{story:a}=Qt(e||"story",["story"]),i=(d=(s=(c=a.parameters.docs)==null?void 0:c.canvas)==null?void 0:s.withToolbar)!=null?d:r;return p.createElement(Gd,{storyId:a.id},t&&p.createElement(p.Fragment,null,p.createElement(GI,null,a.name),p.createElement(Uo,{of:e})),p.createElement(bI,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:o},source:{__forceInitialArgs:n}}))},YI=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=Qt(t||"meta",["meta"]),n=l.useContext(je).componentStoriesFromCSFFile(r)[0];return n?p.createElement(Qd,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},KI=n=>{var o=n,{children:e,disableAnchor:t}=o,r=R(o,["children","disableAnchor"]);if(t||typeof e!="string")return p.createElement(Al,null,e);let a=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return p.createElement(Xl,b({as:"h2",id:a},r),e)},XI=k(KI)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),ZI=({title:e="Stories",includePrimary:t=!0})=>{var c;let{componentStories:r,projectAnnotations:n,getStoryContext:o}=l.useContext(je),a=r(),{stories:{filter:i}={filter:void 0}}=((c=n.parameters)==null?void 0:c.docs)||{};return i&&(a=a.filter(s=>i(s,o(s)))),a.some(s=>{var d;return(d=s.tags)==null?void 0:d.includes("autodocs")})&&(a=a.filter(s=>{var d;return(d=s.tags)==null?void 0:d.includes("autodocs")})),t||(a=a.slice(1)),!a||a.length===0?null:p.createElement(p.Fragment,null,p.createElement(XI,null,e),a.map(s=>s&&p.createElement(Qd,{key:s.id,of:s.moduleExport,expanded:!0,__forceInitialArgs:!0})))},JI=()=>{let e=Qt("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return p.createElement(p.Fragment,null,p.createElement(UI,null),p.createElement(qI,null),p.createElement(Uo,{of:"meta"}),r?p.createElement(Uo,{of:"story"}):null,p.createElement(YI,null),p.createElement(CI,null),r?null:p.createElement(ZI,null))};function gA({context:e,docsParameter:t}){let r=t.container||DI,n=t.page||JI;return p.createElement(r,{context:e,theme:t.theme},p.createElement(n,null))}var vA=({of:e})=>{let t=l.useContext(je);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return p.createElement(Gd,{storyId:r.id})}catch(r){return null}};export{II as A,bI as C,gA as D,Ar as F,$I as H,vA as M,fl as S,w6 as T,jg as W,fm as a,Dg as b,Js as c,vI as d,SI as e,OI as f,u6 as g,T2 as h,Ne as i,Xt as m,k as n,uA as s}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-BP7B2CQK-BZ5xStxe.js","./iframe-CoIBAWfU.js","./index-CNk6hRaE.js","./index-D-4E_f9W.js","./extends-CF3RwP-h.js","./index-DYADbu9O.js","./isNativeReflectConstruct-CYew8PZR.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./index-eS13M_ii.js","./index-DrFu-skq.js","./formatter-2WMMO6ZP-C2iMpETE.js","./WithTooltip-KJL26V4Q-B96EUjWQ.js","./Color-PRSJMWNM-CLH98TlF.js"] + __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-BP7B2CQK-PNVCeGmS.js","./iframe-DsjYyBKh.js","./index-CNk6hRaE.js","./index-D-4E_f9W.js","./extends-CF3RwP-h.js","./index-DYADbu9O.js","./isNativeReflectConstruct-CYew8PZR.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./index-eS13M_ii.js","./index-DrFu-skq.js","./formatter-2WMMO6ZP-CrGQgcH5.js","./WithTooltip-KJL26V4Q-DYLwYeD-.js","./Color-PRSJMWNM-KYYW3ulJ.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/pr-preview/pr-459/assets/info-46DW6VJ7-DjQ8csF6.js b/pr-preview/pr-459/assets/info-46DW6VJ7-DjQ8csF6.js new file mode 100644 index 000000000..bc6325f78 --- /dev/null +++ b/pr-preview/pr-459/assets/info-46DW6VJ7-DjQ8csF6.js @@ -0,0 +1 @@ +import{I as l,c as u}from"./mermaid-parser.core-BmIAZpsh.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./Using existing ones-B8pwVpRB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";export{l as InfoModule,u as createInfoServices}; diff --git a/pr-preview/pr-459/assets/info-46DW6VJ7-Dz81Pcrg.js b/pr-preview/pr-459/assets/info-46DW6VJ7-Dz81Pcrg.js deleted file mode 100644 index a7a084b49..000000000 --- a/pr-preview/pr-459/assets/info-46DW6VJ7-Dz81Pcrg.js +++ /dev/null @@ -1 +0,0 @@ -import{I as l,c as u}from"./mermaid-parser.core-CbtfyxSr.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./Using existing ones-Dhq84SWT.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";export{l as InfoModule,u as createInfoServices}; diff --git a/pr-preview/pr-459/assets/infoDiagram-7APDZ6AT-CPMl50jG.js b/pr-preview/pr-459/assets/infoDiagram-7APDZ6AT-FIJAL2WJ.js similarity index 66% rename from pr-preview/pr-459/assets/infoDiagram-7APDZ6AT-CPMl50jG.js rename to pr-preview/pr-459/assets/infoDiagram-7APDZ6AT-FIJAL2WJ.js index b4f5ef3f3..81e5ed287 100644 --- a/pr-preview/pr-459/assets/infoDiagram-7APDZ6AT-CPMl50jG.js +++ b/pr-preview/pr-459/assets/infoDiagram-7APDZ6AT-FIJAL2WJ.js @@ -1,2 +1,2 @@ -var m=(a,e,t)=>new Promise((o,i)=>{var v=r=>{try{s(t.next(r))}catch(p){i(p)}},d=r=>{try{s(t.throw(r))}catch(p){i(p)}},s=r=>r.done?o(r.value):Promise.resolve(r.value).then(v,d);s((t=t.apply(a,e)).next())});import{_ as n,l as g,K as c,k as l,L as f}from"./Using existing ones-Dhq84SWT.js";import{p as u}from"./mermaid-parser.core-CbtfyxSr.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";var x={parse:n(a=>m(void 0,null,function*(){const e=yield u("info",a);g.debug(e)}),"parse")},_={version:f},b=n(()=>_.version,"getVersion"),w={getVersion:b},y=n((a,e,t)=>{g.debug(`rendering info diagram +var m=(a,e,t)=>new Promise((o,i)=>{var v=r=>{try{s(t.next(r))}catch(p){i(p)}},d=r=>{try{s(t.throw(r))}catch(p){i(p)}},s=r=>r.done?o(r.value):Promise.resolve(r.value).then(v,d);s((t=t.apply(a,e)).next())});import{_ as n,l as g,K as c,k as l,L as f}from"./Using existing ones-B8pwVpRB.js";import{p as u}from"./mermaid-parser.core-BmIAZpsh.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";var x={parse:n(a=>m(void 0,null,function*(){const e=yield u("info",a);g.debug(e)}),"parse")},_={version:f},b=n(()=>_.version,"getVersion"),w={getVersion:b},y=n((a,e,t)=>{g.debug(`rendering info diagram `+a);const o=c(e);l(o,100,400,!0),o.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${t}`)},"draw"),S={draw:y},T={parser:x,db:w,renderer:S};export{T as diagram}; diff --git a/pr-preview/pr-459/assets/journeyDiagram-G5LC7W2K-i0g1syVs.js b/pr-preview/pr-459/assets/journeyDiagram-G5LC7W2K-Ct6MtrXh.js similarity index 98% rename from pr-preview/pr-459/assets/journeyDiagram-G5LC7W2K-i0g1syVs.js rename to pr-preview/pr-459/assets/journeyDiagram-G5LC7W2K-Ct6MtrXh.js index 4beee2143..4ada0678f 100644 --- a/pr-preview/pr-459/assets/journeyDiagram-G5LC7W2K-i0g1syVs.js +++ b/pr-preview/pr-459/assets/journeyDiagram-G5LC7W2K-Ct6MtrXh.js @@ -1,4 +1,4 @@ -import{d as ft,f as gt,g as at,b as mt}from"./chunk-XVOYOM2C-B0PyF_8G.js";import{_ as i,d as A,q as xt,r as kt,s as _t,g as vt,c as bt,b as wt,t as Tt,j as W,k as St}from"./Using existing ones-Dhq84SWT.js";import{d as tt}from"./arc-uLSQqivB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v=="undefined")&&(v=Q()),w=S[P]&&S[P][v]),typeof w=="undefined"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: +import{d as ft,f as gt,g as at,b as mt}from"./chunk-XVOYOM2C-Ci0V97zV.js";import{_ as i,d as A,q as xt,r as kt,s as _t,g as vt,c as bt,b as wt,t as Tt,j as W,k as St}from"./Using existing ones-B8pwVpRB.js";import{d as tt}from"./arc-Dt1b6oZs.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v=="undefined")&&(v=Q()),w=S[P]&&S[P][v]),typeof w=="undefined"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: `+k.showPosition()+` Expecting `+N.join(", ")+", got '"+(this.terminals_[v]||v)+"'":G="Parse error on line "+(B+1)+": Unexpected "+(v==K?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(G,{text:k.match,token:this.terminals_[v]||v,line:k.yylineno,loc:Y,expected:N})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+v);switch(w[0]){case 1:l.push(v),f.push(k.yytext),o.push(k.yylloc),l.push(w[1]),v=null,J=k.yyleng,_=k.yytext,B=k.yylineno,Y=k.yylloc;break;case 2:if(M=this.productions_[w[1]][1],C.$=f[f.length-M],C._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},dt&&(C._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),q=this.performAction.apply(C,[_,J,B,E.yy,w[1],f,o].concat(yt)),typeof q!="undefined")return q;M&&(l=l.slice(0,-1*M*2),f=f.slice(0,-1*M),o=o.slice(0,-1*M)),l.push(this.productions_[w[1]][0]),f.push(C.$),o.push(C._$),D=S[l[l.length-2]][l[l.length-1]],l.push(D);break;case 3:return!0}}return!0},"parse")},x=function(){var g={EOF:1,parseError:i(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:i(function(r,a){return this.yy=a||this.yy||{},this._input=r,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:i(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:i(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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),l.length-1&&(this.yylineno-=l.length-1);var f=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:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(r){this.unput(this.match.slice(r))},"less"),pastInput:i(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/json-wyNrEGgq.js b/pr-preview/pr-459/assets/json-C1PkXS5l.js similarity index 68% rename from pr-preview/pr-459/assets/json-wyNrEGgq.js rename to pr-preview/pr-459/assets/json-C1PkXS5l.js index b6fa66bce..a636f57fb 100644 --- a/pr-preview/pr-459/assets/json-wyNrEGgq.js +++ b/pr-preview/pr-459/assets/json-C1PkXS5l.js @@ -1 +1 @@ -import"./graph-CTYIQWTo.js";import{i as o}from"./_baseUniq-l1FN7L1W.js";import{c as d}from"./clone-BEY0myKV.js";import{m as t}from"./_basePickBy-CAErHIeS.js";function v(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:u(e),edges:p(e)};return o(e.graph())||(r.value=d(e.graph())),r}function u(e){return t(e.nodes(),function(r){var i=e.node(r),n=e.parent(r),a={v:r};return o(i)||(a.value=i),o(n)||(a.parent=n),a})}function p(e){return t(e.edges(),function(r){var i=e.edge(r),n={v:r.v,w:r.w};return o(r.name)||(n.name=r.name),o(i)||(n.value=i),n})}export{v as w}; +import"./graph-BXEtUiHV.js";import{i as o}from"./_baseUniq-BCQ8vHUx.js";import{c as d}from"./clone-CBvD7XM0.js";import{m as t}from"./_basePickBy-D_dsH4p9.js";function v(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:u(e),edges:p(e)};return o(e.graph())||(r.value=d(e.graph())),r}function u(e){return t(e.nodes(),function(r){var i=e.node(r),n=e.parent(r),a={v:r};return o(i)||(a.value=i),o(n)||(a.parent=n),a})}function p(e){return t(e.edges(),function(r){var i=e.edge(r),n={v:r.v,w:r.w};return o(r.name)||(n.name=r.name),o(i)||(n.value=i),n})}export{v as w}; diff --git a/pr-preview/pr-459/assets/layout-nu6vrpop.js b/pr-preview/pr-459/assets/layout-DzKhK8C3.js similarity index 99% rename from pr-preview/pr-459/assets/layout-nu6vrpop.js rename to pr-preview/pr-459/assets/layout-DzKhK8C3.js index 8db57098e..625ca31ce 100644 --- a/pr-preview/pr-459/assets/layout-nu6vrpop.js +++ b/pr-preview/pr-459/assets/layout-DzKhK8C3.js @@ -1 +1 @@ -import{G as k}from"./graph-CTYIQWTo.js";import{b1 as Sn,b2 as On,b3 as Fn,b4 as Vn,aK as An,b5 as Bn,aO as vn,aN as pn,b6 as Gn,aJ as W,ay as Yn,aQ as Dn,aA as $n,b7 as j}from"./Using existing ones-Dhq84SWT.js";import{b as qn,p as mn,q as wn,g as X,e as en,m as A,o as Wn,s as jn,c as zn,u as Xn,d as s,h as m,i as g,f as I,v as y,r as O}from"./_baseUniq-l1FN7L1W.js";import{f as N,b as bn,a as Un,c as Hn,d as Jn,t as B,m as w,e as R,g as U,l as P,h as Kn}from"./_basePickBy-CAErHIeS.js";function Qn(n){return Sn(On(n,void 0,N),n+"")}var Zn=1,ne=4;function ee(n){return qn(n,Zn|ne)}var rn=function(){return Fn.Date.now()};function re(n,e){return n==null?n:Vn(n,mn(e),An)}function ie(n,e){return n&&wn(n,mn(e))}function te(n,e){return n>e}function F(n,e){var r={};return e=X(e),wn(n,function(i,t,a){Bn(r,t,e(i,t,a))}),r}function x(n){return n&&n.length?bn(n,vn,te):void 0}function H(n,e){return n&&n.length?bn(n,X(e),Un):void 0}function ae(n,e){var r=n.length;for(n.sort(e);r--;)n[r]=n[r].value;return n}function oe(n,e){if(n!==e){var r=n!==void 0,i=n===null,t=n===n,a=en(n),o=e!==void 0,u=e===null,d=e===e,f=en(e);if(!u&&!f&&!a&&n>e||a&&o&&d&&!u&&!f||i&&o&&d||!r&&d||!t)return 1;if(!i&&!a&&!f&&n=u)return d;var f=r[i];return d*(f=="desc"?-1:1)}}return n.index-e.index}function de(n,e,r){e.length?e=A(e,function(a){return pn(a)?function(o){return Wn(o,a.length===1?a[0]:a)}:a}):e=[vn];var i=-1;e=A(e,Gn(X));var t=Hn(n,function(a,o,u){var d=A(e,function(f){return f(a)});return{criteria:d,index:++i,value:a}});return ae(t,function(a,o){return ue(a,o,r)})}function fe(n,e){return Jn(n,e,function(r,i){return jn(n,i)})}var S=Qn(function(n,e){return n==null?{}:fe(n,e)}),se=Math.ceil,ce=Math.max;function le(n,e,r,i){for(var t=-1,a=ce(se((e-n)/(r||1)),0),o=Array(a);a--;)o[i?a:++t]=n,n+=r;return o}function he(n){return function(e,r,i){return i&&typeof i!="number"&&W(e,r,i)&&(r=i=void 0),e=B(e),r===void 0?(r=e,e=0):r=B(r),i=i===void 0?e1&&W(n,e[0],e[1])?e=[]:r>2&&W(e[0],e[1],e[2])&&(e=[e[0]]),de(n,zn(e,1),[])}),ve=0;function J(n){var e=++ve;return Xn(n)+e}function pe(n,e,r){for(var i=-1,t=n.length,a=e.length,o={};++i0;--u)if(o=e[u].dequeue(),o){i=i.concat(G(n,e,r,o,!0));break}}}return i}function G(n,e,r,i,t){var a=t?[]:void 0;return s(n.inEdges(i.v),function(o){var u=n.edge(o),d=n.node(o.v);t&&a.push({v:o.v,w:o.w}),d.out-=u,z(e,r,d)}),s(n.outEdges(i.v),function(o){var u=n.edge(o),d=o.w,f=n.node(d);f.in-=u,z(e,r,f)}),n.removeNode(i.v),a}function Ee(n,e){var r=new k,i=0,t=0;s(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(n.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=e(u),c=d+f;r.setEdge(u.v,u.w,c),t=Math.max(t,r.node(u.v).out+=f),i=Math.max(i,r.node(u.w).in+=f)});var a=L(t+i+3).map(function(){return new we}),o=i+1;return s(r.nodes(),function(u){z(a,o,r.node(u))}),{graph:r,buckets:a,zeroIdx:o}}function z(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function ye(n){var e=n.graph().acyclicer==="greedy"?ke(n,r(n)):Le(n);s(e,function(i){var t=n.edge(i);n.removeEdge(i),t.forwardName=i.name,t.reversed=!0,n.setEdge(i.w,i.v,t,J("rev"))});function r(i){return function(t){return i.edge(t).weight}}}function Le(n){var e=[],r={},i={};function t(a){m(i,a)||(i[a]=!0,r[a]=!0,s(n.outEdges(a),function(o){m(r,o.w)?e.push(o):t(o.w)}),delete r[a])}return s(n.nodes(),t),e}function Ne(n){s(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var i=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,i)}})}function C(n,e,r,i){var t;do t=J(i);while(n.hasNode(t));return r.dummy=e,n.setNode(t,r),t}function Ce(n){var e=new k().setGraph(n.graph());return s(n.nodes(),function(r){e.setNode(r,n.node(r))}),s(n.edges(),function(r){var i=e.edge(r.v,r.w)||{weight:0,minlen:1},t=n.edge(r);e.setEdge(r.v,r.w,{weight:i.weight+t.weight,minlen:Math.max(i.minlen,t.minlen)})}),e}function gn(n){var e=new k({multigraph:n.isMultigraph()}).setGraph(n.graph());return s(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),s(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function an(n,e){var r=n.x,i=n.y,t=e.x-r,a=e.y-i,o=n.width/2,u=n.height/2;if(!t&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(a)*o>Math.abs(t)*u?(a<0&&(u=-u),d=u*t/a,f=u):(t<0&&(o=-o),d=o,f=o*a/t),{x:r+d,y:i+f}}function V(n){var e=w(L(kn(n)+1),function(){return[]});return s(n.nodes(),function(r){var i=n.node(r),t=i.rank;g(t)||(e[t][i.order]=r)}),e}function _e(n){var e=R(w(n.nodes(),function(r){return n.node(r).rank}));s(n.nodes(),function(r){var i=n.node(r);m(i,"rank")&&(i.rank-=e)})}function Re(n){var e=R(w(n.nodes(),function(a){return n.node(a).rank})),r=[];s(n.nodes(),function(a){var o=n.node(a).rank-e;r[o]||(r[o]=[]),r[o].push(a)});var i=0,t=n.graph().nodeRankFactor;s(r,function(a,o){g(a)&&o%t!==0?--i:i&&s(a,function(u){n.node(u).rank+=i})})}function on(n,e,r,i){var t={width:0,height:0};return arguments.length>=4&&(t.rank=r,t.order=i),C(n,"border",t,e)}function kn(n){return x(w(n.nodes(),function(e){var r=n.node(e).rank;if(!g(r))return r}))}function Te(n,e){var r={lhs:[],rhs:[]};return s(n,function(i){e(i)?r.lhs.push(i):r.rhs.push(i)}),r}function Ie(n,e){var r=rn();try{return e()}finally{console.log(n+" time: "+(rn()-r)+"ms")}}function Me(n,e){return e()}function Pe(n){function e(r){var i=n.children(r),t=n.node(r);if(i.length&&s(i,e),m(t,"minRank")){t.borderLeft=[],t.borderRight=[];for(var a=t.minRank,o=t.maxRank+1;ao.lim&&(u=o,d=!0);var f=I(e.edges(),function(c){return d===fn(n,n.node(c.v),u)&&d!==fn(n,n.node(c.w),u)});return H(f,function(c){return T(e,c)})}function Tn(n,e,r,i){var t=r.v,a=r.w;n.removeEdge(t,a),n.setEdge(i.v,i.w,{}),Z(n),Q(n,e),Xe(n,e)}function Xe(n,e){var r=U(n.nodes(),function(t){return!e.node(t).parent}),i=je(n,r);i=i.slice(1),s(i,function(t){var a=n.node(t).parent,o=e.edge(t,a),u=!1;o||(o=e.edge(a,t),u=!0),e.node(t).rank=e.node(a).rank+(u?o.minlen:-o.minlen)})}function Ue(n,e,r){return n.hasEdge(e,r)}function fn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function He(n){switch(n.graph().ranker){case"network-simplex":sn(n);break;case"tight-tree":Ke(n);break;case"longest-path":Je(n);break;default:sn(n)}}var Je=K;function Ke(n){K(n),En(n)}function sn(n){E(n)}function Qe(n){var e=C(n,"root",{},"_root"),r=Ze(n),i=x(y(r))-1,t=2*i+1;n.graph().nestingRoot=e,s(n.edges(),function(o){n.edge(o).minlen*=t});var a=nr(n)+1;s(n.children(),function(o){In(n,e,t,a,i,r,o)}),n.graph().nodeRankFactor=t}function In(n,e,r,i,t,a,o){var u=n.children(o);if(!u.length){o!==e&&n.setEdge(e,o,{weight:0,minlen:r});return}var d=on(n,"_bt"),f=on(n,"_bb"),c=n.node(o);n.setParent(d,o),c.borderTop=d,n.setParent(f,o),c.borderBottom=f,s(u,function(l){In(n,e,r,i,t,a,l);var h=n.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?i:2*i,_=v!==p?1:t-a[o]+1;n.setEdge(d,v,{weight:b,minlen:_,nestingEdge:!0}),n.setEdge(p,f,{weight:b,minlen:_,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,d,{weight:0,minlen:t+a[o]})}function Ze(n){var e={};function r(i,t){var a=n.children(i);a&&a.length&&s(a,function(o){r(o,t+1)}),e[i]=t}return s(n.children(),function(i){r(i,1)}),e}function nr(n){return O(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function er(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,s(n.edges(),function(r){var i=n.edge(r);i.nestingEdge&&n.removeEdge(r)})}function rr(n,e,r){var i={},t;s(r,function(a){for(var o=n.parent(a),u,d;o;){if(u=n.parent(o),u?(d=i[u],i[u]=o):(d=t,t=o),d&&d!==o){e.setEdge(d,o);return}o=u}})}function ir(n,e,r){var i=tr(n),t=new k({compound:!0}).setGraph({root:i}).setDefaultNodeLabel(function(a){return n.node(a)});return s(n.nodes(),function(a){var o=n.node(a),u=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(t.setNode(a),t.setParent(a,u||i),s(n[r](a),function(d){var f=d.v===a?d.w:d.v,c=t.edge(f,a),l=g(c)?0:c.weight;t.setEdge(f,a,{weight:n.edge(d).weight+l})}),m(o,"minRank")&&t.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),t}function tr(n){for(var e;n.hasNode(e=J("_root")););return e}function ar(n,e){for(var r=0,i=1;i0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*l})),d}function ur(n){var e={},r=I(n.nodes(),function(u){return!n.children(u).length}),i=x(w(r,function(u){return n.node(u).rank})),t=w(L(i+1),function(){return[]});function a(u){if(!m(e,u)){e[u]=!0;var d=n.node(u);t[d.rank].push(u),s(n.successors(u),a)}}var o=M(r,function(u){return n.node(u).rank});return s(o,a),t}function dr(n,e){return w(e,function(r){var i=n.inEdges(r);if(i.length){var t=O(i,function(a,o){var u=n.edge(o),d=n.node(o.v);return{sum:a.sum+u.weight*d.order,weight:a.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:t.sum/t.weight,weight:t.weight}}else return{v:r}})}function fr(n,e){var r={};s(n,function(t,a){var o=r[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:a};g(t.barycenter)||(o.barycenter=t.barycenter,o.weight=t.weight)}),s(e.edges(),function(t){var a=r[t.v],o=r[t.w];!g(a)&&!g(o)&&(o.indegree++,a.out.push(r[t.w]))});var i=I(r,function(t){return!t.indegree});return sr(i)}function sr(n){var e=[];function r(a){return function(o){o.merged||(g(o.barycenter)||g(a.barycenter)||o.barycenter>=a.barycenter)&&cr(a,o)}}function i(a){return function(o){o.in.push(a),--o.indegree===0&&n.push(o)}}for(;n.length;){var t=n.pop();e.push(t),s(t.in.reverse(),r(t)),s(t.out,i(t))}return w(I(e,function(a){return!a.merged}),function(a){return S(a,["vs","i","barycenter","weight"])})}function cr(n,e){var r=0,i=0;n.weight&&(r+=n.barycenter*n.weight,i+=n.weight),e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/i,n.weight=i,n.i=Math.min(e.i,n.i),e.merged=!0}function lr(n,e){var r=Te(n,function(c){return m(c,"barycenter")}),i=r.lhs,t=M(r.rhs,function(c){return-c.i}),a=[],o=0,u=0,d=0;i.sort(hr(!!e)),d=cn(a,t,d),s(i,function(c){d+=c.vs.length,a.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=cn(a,t,d)});var f={vs:N(a)};return u&&(f.barycenter=o/u,f.weight=u),f}function cn(n,e,r){for(var i;e.length&&(i=P(e)).i<=r;)e.pop(),n.push(i.vs),r++;return r}function hr(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function Mn(n,e,r,i){var t=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,d={};o&&(t=I(t,function(p){return p!==o&&p!==u}));var f=dr(n,t);s(f,function(p){if(n.children(p.v).length){var b=Mn(n,p.v,r,i);d[p.v]=b,m(b,"barycenter")&&pr(p,b)}});var c=fr(f,r);vr(c,d);var l=lr(c,i);if(o&&(l.vs=N([o,l.vs,u]),n.predecessors(o).length)){var h=n.node(n.predecessors(o)[0]),v=n.node(n.predecessors(u)[0]);m(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function vr(n,e){s(n,function(r){r.vs=N(r.vs.map(function(i){return e[i]?e[i].vs:i}))})}function pr(n,e){g(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function mr(n){var e=kn(n),r=ln(n,L(1,e+1),"inEdges"),i=ln(n,L(e-1,-1,-1),"outEdges"),t=ur(n);hn(n,t);for(var a=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){wr(u%2?r:i,u%4>=2),t=V(n);var f=ar(n,t);fo||u>e[d].lim));for(f=d,d=i;(d=n.parent(d))!==f;)a.push(d);return{path:t.concat(a.reverse()),lca:f}}function kr(n){var e={},r=0;function i(t){var a=r;s(n.children(t),i),e[t]={low:a,lim:r++}}return s(n.children(),i),e}function xr(n,e){var r={};function i(t,a){var o=0,u=0,d=t.length,f=P(a);return s(a,function(c,l){var h=yr(n,c),v=h?n.node(h).order:d;(h||c===f)&&(s(a.slice(u,l+1),function(p){s(n.predecessors(p),function(b){var _=n.node(b),nn=_.order;(nnf)&&Pn(r,h,c)})})}function t(a,o){var u=-1,d,f=0;return s(o,function(c,l){if(n.node(c).dummy==="border"){var h=n.predecessors(c);h.length&&(d=n.node(h[0]).order,i(o,f,l,u,d),f=l,u=d)}i(o,f,o.length,d,a.length)}),o}return O(e,t),r}function yr(n,e){if(n.node(e).dummy)return U(n.predecessors(e),function(r){return n.node(r).dummy})}function Pn(n,e,r){if(e>r){var i=e;e=r,r=i}var t=n[e];t||(n[e]=t={}),t[r]=!0}function Lr(n,e,r){if(e>r){var i=e;e=r,r=i}return m(n[e],r)}function Nr(n,e,r,i){var t={},a={},o={};return s(e,function(u){s(u,function(d,f){t[d]=d,a[d]=d,o[d]=f})}),s(e,function(u){var d=-1;s(u,function(f){var c=i(f);if(c.length){c=M(c,function(b){return o[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];a[f]===f&&de}function F(n,e){var r={};return e=X(e),wn(n,function(i,t,a){Bn(r,t,e(i,t,a))}),r}function x(n){return n&&n.length?bn(n,vn,te):void 0}function H(n,e){return n&&n.length?bn(n,X(e),Un):void 0}function ae(n,e){var r=n.length;for(n.sort(e);r--;)n[r]=n[r].value;return n}function oe(n,e){if(n!==e){var r=n!==void 0,i=n===null,t=n===n,a=en(n),o=e!==void 0,u=e===null,d=e===e,f=en(e);if(!u&&!f&&!a&&n>e||a&&o&&d&&!u&&!f||i&&o&&d||!r&&d||!t)return 1;if(!i&&!a&&!f&&n=u)return d;var f=r[i];return d*(f=="desc"?-1:1)}}return n.index-e.index}function de(n,e,r){e.length?e=A(e,function(a){return pn(a)?function(o){return Wn(o,a.length===1?a[0]:a)}:a}):e=[vn];var i=-1;e=A(e,Gn(X));var t=Hn(n,function(a,o,u){var d=A(e,function(f){return f(a)});return{criteria:d,index:++i,value:a}});return ae(t,function(a,o){return ue(a,o,r)})}function fe(n,e){return Jn(n,e,function(r,i){return jn(n,i)})}var S=Qn(function(n,e){return n==null?{}:fe(n,e)}),se=Math.ceil,ce=Math.max;function le(n,e,r,i){for(var t=-1,a=ce(se((e-n)/(r||1)),0),o=Array(a);a--;)o[i?a:++t]=n,n+=r;return o}function he(n){return function(e,r,i){return i&&typeof i!="number"&&W(e,r,i)&&(r=i=void 0),e=B(e),r===void 0?(r=e,e=0):r=B(r),i=i===void 0?e1&&W(n,e[0],e[1])?e=[]:r>2&&W(e[0],e[1],e[2])&&(e=[e[0]]),de(n,zn(e,1),[])}),ve=0;function J(n){var e=++ve;return Xn(n)+e}function pe(n,e,r){for(var i=-1,t=n.length,a=e.length,o={};++i0;--u)if(o=e[u].dequeue(),o){i=i.concat(G(n,e,r,o,!0));break}}}return i}function G(n,e,r,i,t){var a=t?[]:void 0;return s(n.inEdges(i.v),function(o){var u=n.edge(o),d=n.node(o.v);t&&a.push({v:o.v,w:o.w}),d.out-=u,z(e,r,d)}),s(n.outEdges(i.v),function(o){var u=n.edge(o),d=o.w,f=n.node(d);f.in-=u,z(e,r,f)}),n.removeNode(i.v),a}function Ee(n,e){var r=new k,i=0,t=0;s(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(n.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=e(u),c=d+f;r.setEdge(u.v,u.w,c),t=Math.max(t,r.node(u.v).out+=f),i=Math.max(i,r.node(u.w).in+=f)});var a=L(t+i+3).map(function(){return new we}),o=i+1;return s(r.nodes(),function(u){z(a,o,r.node(u))}),{graph:r,buckets:a,zeroIdx:o}}function z(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function ye(n){var e=n.graph().acyclicer==="greedy"?ke(n,r(n)):Le(n);s(e,function(i){var t=n.edge(i);n.removeEdge(i),t.forwardName=i.name,t.reversed=!0,n.setEdge(i.w,i.v,t,J("rev"))});function r(i){return function(t){return i.edge(t).weight}}}function Le(n){var e=[],r={},i={};function t(a){m(i,a)||(i[a]=!0,r[a]=!0,s(n.outEdges(a),function(o){m(r,o.w)?e.push(o):t(o.w)}),delete r[a])}return s(n.nodes(),t),e}function Ne(n){s(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var i=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,i)}})}function C(n,e,r,i){var t;do t=J(i);while(n.hasNode(t));return r.dummy=e,n.setNode(t,r),t}function Ce(n){var e=new k().setGraph(n.graph());return s(n.nodes(),function(r){e.setNode(r,n.node(r))}),s(n.edges(),function(r){var i=e.edge(r.v,r.w)||{weight:0,minlen:1},t=n.edge(r);e.setEdge(r.v,r.w,{weight:i.weight+t.weight,minlen:Math.max(i.minlen,t.minlen)})}),e}function gn(n){var e=new k({multigraph:n.isMultigraph()}).setGraph(n.graph());return s(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),s(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function an(n,e){var r=n.x,i=n.y,t=e.x-r,a=e.y-i,o=n.width/2,u=n.height/2;if(!t&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(a)*o>Math.abs(t)*u?(a<0&&(u=-u),d=u*t/a,f=u):(t<0&&(o=-o),d=o,f=o*a/t),{x:r+d,y:i+f}}function V(n){var e=w(L(kn(n)+1),function(){return[]});return s(n.nodes(),function(r){var i=n.node(r),t=i.rank;g(t)||(e[t][i.order]=r)}),e}function _e(n){var e=R(w(n.nodes(),function(r){return n.node(r).rank}));s(n.nodes(),function(r){var i=n.node(r);m(i,"rank")&&(i.rank-=e)})}function Re(n){var e=R(w(n.nodes(),function(a){return n.node(a).rank})),r=[];s(n.nodes(),function(a){var o=n.node(a).rank-e;r[o]||(r[o]=[]),r[o].push(a)});var i=0,t=n.graph().nodeRankFactor;s(r,function(a,o){g(a)&&o%t!==0?--i:i&&s(a,function(u){n.node(u).rank+=i})})}function on(n,e,r,i){var t={width:0,height:0};return arguments.length>=4&&(t.rank=r,t.order=i),C(n,"border",t,e)}function kn(n){return x(w(n.nodes(),function(e){var r=n.node(e).rank;if(!g(r))return r}))}function Te(n,e){var r={lhs:[],rhs:[]};return s(n,function(i){e(i)?r.lhs.push(i):r.rhs.push(i)}),r}function Ie(n,e){var r=rn();try{return e()}finally{console.log(n+" time: "+(rn()-r)+"ms")}}function Me(n,e){return e()}function Pe(n){function e(r){var i=n.children(r),t=n.node(r);if(i.length&&s(i,e),m(t,"minRank")){t.borderLeft=[],t.borderRight=[];for(var a=t.minRank,o=t.maxRank+1;ao.lim&&(u=o,d=!0);var f=I(e.edges(),function(c){return d===fn(n,n.node(c.v),u)&&d!==fn(n,n.node(c.w),u)});return H(f,function(c){return T(e,c)})}function Tn(n,e,r,i){var t=r.v,a=r.w;n.removeEdge(t,a),n.setEdge(i.v,i.w,{}),Z(n),Q(n,e),Xe(n,e)}function Xe(n,e){var r=U(n.nodes(),function(t){return!e.node(t).parent}),i=je(n,r);i=i.slice(1),s(i,function(t){var a=n.node(t).parent,o=e.edge(t,a),u=!1;o||(o=e.edge(a,t),u=!0),e.node(t).rank=e.node(a).rank+(u?o.minlen:-o.minlen)})}function Ue(n,e,r){return n.hasEdge(e,r)}function fn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function He(n){switch(n.graph().ranker){case"network-simplex":sn(n);break;case"tight-tree":Ke(n);break;case"longest-path":Je(n);break;default:sn(n)}}var Je=K;function Ke(n){K(n),En(n)}function sn(n){E(n)}function Qe(n){var e=C(n,"root",{},"_root"),r=Ze(n),i=x(y(r))-1,t=2*i+1;n.graph().nestingRoot=e,s(n.edges(),function(o){n.edge(o).minlen*=t});var a=nr(n)+1;s(n.children(),function(o){In(n,e,t,a,i,r,o)}),n.graph().nodeRankFactor=t}function In(n,e,r,i,t,a,o){var u=n.children(o);if(!u.length){o!==e&&n.setEdge(e,o,{weight:0,minlen:r});return}var d=on(n,"_bt"),f=on(n,"_bb"),c=n.node(o);n.setParent(d,o),c.borderTop=d,n.setParent(f,o),c.borderBottom=f,s(u,function(l){In(n,e,r,i,t,a,l);var h=n.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?i:2*i,_=v!==p?1:t-a[o]+1;n.setEdge(d,v,{weight:b,minlen:_,nestingEdge:!0}),n.setEdge(p,f,{weight:b,minlen:_,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,d,{weight:0,minlen:t+a[o]})}function Ze(n){var e={};function r(i,t){var a=n.children(i);a&&a.length&&s(a,function(o){r(o,t+1)}),e[i]=t}return s(n.children(),function(i){r(i,1)}),e}function nr(n){return O(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function er(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,s(n.edges(),function(r){var i=n.edge(r);i.nestingEdge&&n.removeEdge(r)})}function rr(n,e,r){var i={},t;s(r,function(a){for(var o=n.parent(a),u,d;o;){if(u=n.parent(o),u?(d=i[u],i[u]=o):(d=t,t=o),d&&d!==o){e.setEdge(d,o);return}o=u}})}function ir(n,e,r){var i=tr(n),t=new k({compound:!0}).setGraph({root:i}).setDefaultNodeLabel(function(a){return n.node(a)});return s(n.nodes(),function(a){var o=n.node(a),u=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(t.setNode(a),t.setParent(a,u||i),s(n[r](a),function(d){var f=d.v===a?d.w:d.v,c=t.edge(f,a),l=g(c)?0:c.weight;t.setEdge(f,a,{weight:n.edge(d).weight+l})}),m(o,"minRank")&&t.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),t}function tr(n){for(var e;n.hasNode(e=J("_root")););return e}function ar(n,e){for(var r=0,i=1;i0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*l})),d}function ur(n){var e={},r=I(n.nodes(),function(u){return!n.children(u).length}),i=x(w(r,function(u){return n.node(u).rank})),t=w(L(i+1),function(){return[]});function a(u){if(!m(e,u)){e[u]=!0;var d=n.node(u);t[d.rank].push(u),s(n.successors(u),a)}}var o=M(r,function(u){return n.node(u).rank});return s(o,a),t}function dr(n,e){return w(e,function(r){var i=n.inEdges(r);if(i.length){var t=O(i,function(a,o){var u=n.edge(o),d=n.node(o.v);return{sum:a.sum+u.weight*d.order,weight:a.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:t.sum/t.weight,weight:t.weight}}else return{v:r}})}function fr(n,e){var r={};s(n,function(t,a){var o=r[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:a};g(t.barycenter)||(o.barycenter=t.barycenter,o.weight=t.weight)}),s(e.edges(),function(t){var a=r[t.v],o=r[t.w];!g(a)&&!g(o)&&(o.indegree++,a.out.push(r[t.w]))});var i=I(r,function(t){return!t.indegree});return sr(i)}function sr(n){var e=[];function r(a){return function(o){o.merged||(g(o.barycenter)||g(a.barycenter)||o.barycenter>=a.barycenter)&&cr(a,o)}}function i(a){return function(o){o.in.push(a),--o.indegree===0&&n.push(o)}}for(;n.length;){var t=n.pop();e.push(t),s(t.in.reverse(),r(t)),s(t.out,i(t))}return w(I(e,function(a){return!a.merged}),function(a){return S(a,["vs","i","barycenter","weight"])})}function cr(n,e){var r=0,i=0;n.weight&&(r+=n.barycenter*n.weight,i+=n.weight),e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/i,n.weight=i,n.i=Math.min(e.i,n.i),e.merged=!0}function lr(n,e){var r=Te(n,function(c){return m(c,"barycenter")}),i=r.lhs,t=M(r.rhs,function(c){return-c.i}),a=[],o=0,u=0,d=0;i.sort(hr(!!e)),d=cn(a,t,d),s(i,function(c){d+=c.vs.length,a.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=cn(a,t,d)});var f={vs:N(a)};return u&&(f.barycenter=o/u,f.weight=u),f}function cn(n,e,r){for(var i;e.length&&(i=P(e)).i<=r;)e.pop(),n.push(i.vs),r++;return r}function hr(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function Mn(n,e,r,i){var t=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,d={};o&&(t=I(t,function(p){return p!==o&&p!==u}));var f=dr(n,t);s(f,function(p){if(n.children(p.v).length){var b=Mn(n,p.v,r,i);d[p.v]=b,m(b,"barycenter")&&pr(p,b)}});var c=fr(f,r);vr(c,d);var l=lr(c,i);if(o&&(l.vs=N([o,l.vs,u]),n.predecessors(o).length)){var h=n.node(n.predecessors(o)[0]),v=n.node(n.predecessors(u)[0]);m(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function vr(n,e){s(n,function(r){r.vs=N(r.vs.map(function(i){return e[i]?e[i].vs:i}))})}function pr(n,e){g(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function mr(n){var e=kn(n),r=ln(n,L(1,e+1),"inEdges"),i=ln(n,L(e-1,-1,-1),"outEdges"),t=ur(n);hn(n,t);for(var a=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){wr(u%2?r:i,u%4>=2),t=V(n);var f=ar(n,t);fo||u>e[d].lim));for(f=d,d=i;(d=n.parent(d))!==f;)a.push(d);return{path:t.concat(a.reverse()),lca:f}}function kr(n){var e={},r=0;function i(t){var a=r;s(n.children(t),i),e[t]={low:a,lim:r++}}return s(n.children(),i),e}function xr(n,e){var r={};function i(t,a){var o=0,u=0,d=t.length,f=P(a);return s(a,function(c,l){var h=yr(n,c),v=h?n.node(h).order:d;(h||c===f)&&(s(a.slice(u,l+1),function(p){s(n.predecessors(p),function(b){var _=n.node(b),nn=_.order;(nnf)&&Pn(r,h,c)})})}function t(a,o){var u=-1,d,f=0;return s(o,function(c,l){if(n.node(c).dummy==="border"){var h=n.predecessors(c);h.length&&(d=n.node(h[0]).order,i(o,f,l,u,d),f=l,u=d)}i(o,f,o.length,d,a.length)}),o}return O(e,t),r}function yr(n,e){if(n.node(e).dummy)return U(n.predecessors(e),function(r){return n.node(r).dummy})}function Pn(n,e,r){if(e>r){var i=e;e=r,r=i}var t=n[e];t||(n[e]=t={}),t[r]=!0}function Lr(n,e,r){if(e>r){var i=e;e=r,r=i}return m(n[e],r)}function Nr(n,e,r,i){var t={},a={},o={};return s(e,function(u){s(u,function(d,f){t[d]=d,a[d]=d,o[d]=f})}),s(e,function(u){var d=-1;s(u,function(f){var c=i(f);if(c.length){c=M(c,function(b){return o[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];a[f]===f&&dt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function W(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=W(F),dn=sn.right;W(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function U(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const _={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:bn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>U(n*100,t),r:U,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function H(n){return n}var J=Array.prototype.map,K=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?H:jn(J.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?H:Pn(J.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,S=h.symbol,k=h.zero,b=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):_[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=S==="$"?e:S==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=S==="$"?r:/[%p]/.test(d)?a:"",O=_[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?K[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,S=Math.pow(10,-y),k=K[8+y/3];return function(b){return p(S*b)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var Q=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=Sn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Yn(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r==null?",f":r),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Zn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e==null?10:e)},n.tickFormat=function(e,r){var i=t();return Yn(i[0],i[i.length-1],e==null?10:e,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Un(){var n=Xn();return n.copy=function(){return On(n,Un())},cn.apply(n,arguments),Zn(n)}export{On as a,W as b,Xn as c,Un as l,wn as t}; +import{aY as un,aZ as I,a_ as Y,a$ as Z,b0 as fn}from"./Using existing ones-B8pwVpRB.js";import{i as cn}from"./init-Gi6I4Gst.js";function F(n,t){return n==null||t==null?NaN:nt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function W(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=W(F),dn=sn.right;W(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function U(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const _={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:bn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>U(n*100,t),r:U,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function H(n){return n}var J=Array.prototype.map,K=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?H:jn(J.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?H:Pn(J.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,S=h.symbol,k=h.zero,b=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):_[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=S==="$"?e:S==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=S==="$"?r:/[%p]/.test(d)?a:"",O=_[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?K[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,S=Math.pow(10,-y),k=K[8+y/3];return function(b){return p(S*b)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var Q=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=Sn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Yn(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r==null?",f":r),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Zn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e==null?10:e)},n.tickFormat=function(e,r){var i=t();return Yn(i[0],i[i.length-1],e==null?10:e,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Un(){var n=Xn();return n.copy=function(){return On(n,Un())},cn.apply(n,arguments),Zn(n)}export{On as a,W as b,Xn as c,Un as l,wn as t}; diff --git a/pr-preview/pr-459/assets/mermaid-parser.core-CbtfyxSr.js b/pr-preview/pr-459/assets/mermaid-parser.core-BmIAZpsh.js similarity index 99% rename from pr-preview/pr-459/assets/mermaid-parser.core-CbtfyxSr.js rename to pr-preview/pr-459/assets/mermaid-parser.core-BmIAZpsh.js index 04467afa2..570b18f35 100644 --- a/pr-preview/pr-459/assets/mermaid-parser.core-CbtfyxSr.js +++ b/pr-preview/pr-459/assets/mermaid-parser.core-BmIAZpsh.js @@ -1,4 +1,4 @@ -var Oc=Object.defineProperty;var bc=(n,e,t)=>e in n?Oc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Qe=(n,e,t)=>(bc(n,typeof e!="symbol"?e+"":e,t),t);var $=(n,e,t)=>new Promise((r,i)=>{var s=l=>{try{o(t.next(l))}catch(c){i(c)}},a=l=>{try{o(t.throw(l))}catch(c){i(c)}},o=l=>l.done?r(l.value):Promise.resolve(l.value).then(s,a);o((t=t.apply(n,e)).next())});import{_ as Wt}from"./iframe-CoIBAWfU.js";import{bv as Pc,bw as Mc,aM as ao,bf as Dc,aQ as Fc,aN as ee,b6 as oo,ay as Gc,az as is,aJ as lo,b5 as Uc,b8 as co,b9 as uo,bk as ss,aB as gt,aC as F,aO as as,aI as Bc}from"./Using existing ones-Dhq84SWT.js";import{k as St,l as Ni,g as bt,m as fo,S as Vc,w as Wc,x as jc,y as Hc,c as ho,v as z,z as po,A as Kc,B as zc,C as qc,D as Yc,a as mo,d as C,i as qe,h as w,r as le,f as ve,E as Y}from"./_baseUniq-l1FN7L1W.js";import{i as cr,m as S,d as Xc,f as Ce,g as It,h as Ci,l as xt,e as Jc}from"./_basePickBy-CAErHIeS.js";import{c as ne}from"./clone-BEY0myKV.js";var Qc=Object.prototype,Zc=Qc.hasOwnProperty,Ee=Pc(function(n,e){if(Mc(e)||ao(e)){Dc(e,St(e),n);return}for(var t in e)Zc.call(e,t)&&Fc(n,t,e[t])});function go(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=ru&&(s=Hc,a=!1,e=new Vc(e));e:for(;++i-1:!!i&&po(n,e,t)>-1}var fu=Math.max;function os(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=t==null?0:cr(t);return i<0&&(i=fu(r+i,0)),po(n,e,i)}var hu="[object RegExp]";function pu(n){return co(n)&&uo(n)==hu}var ls=ss&&ss.isRegExp,Ye=ls?oo(ls):pu,mu="Expected a function";function gu(n){if(typeof n!="function")throw new TypeError(mu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Me(n,e){if(n==null)return{};var t=fo(Kc(n),function(r){return[r]});return e=bt(e),Xc(n,t,function(r,i){return e(r,i[0])})}function dr(n,e){var t=ee(n)?zc:qc;return t(n,gu(bt(e)))}function yu(n,e){var t;return Ni(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function yo(n,e,t){var r=ee(n)?Yc:yu;return t&&lo(n,e,t)&&(e=void 0),r(n,bt(e))}function wi(n){return n&&n.length?mo(n):[]}function Tu(n,e){return n&&n.length?mo(n,bt(e)):[]}function oe(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ue(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Ru(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function $n(n){return typeof n=="object"&&n!==null&&oe(n.container)&&Ue(n.reference)&&typeof n.message=="string"}class To{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return oe(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Nt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function Ro(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function Ao(n){return Nt(n)&&typeof n.fullText=="string"}class se{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new se(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return Ne})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=Au(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new se(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?Ne:{done:!1,value:e(i)}})}filter(e){return new se(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return Ne})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new se(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(Fn(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return Ne})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new se(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(Fn(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return Ne})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new se(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?Ne:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function Au(n){return typeof n=="string"?n:typeof n=="undefined"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function Fn(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Eu=new se(()=>{},()=>Ne),Ne=Object.freeze({done:!0,value:void 0});function Z(...n){if(n.length===1){const e=n[0];if(e instanceof se)return e;if(Fn(e))return new se(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new se(()=>({index:0}),t=>t.index1?new se(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return Ne})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Vr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Vr||(Vr={}));function Wr(n){return new Gn(n,e=>Nt(e)?e.content:[],{includeRoot:!0})}function vu(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function jr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Un(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var et;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(et||(et={}));function ku(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return et.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineet.After}const Iu=/^[\w\p{L}]$/u;function xu(n,e){if(n){const t=Nu(n,!0);if(t&&cs(t,e))return t;if(Ao(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(cs(s,e))return s}}}}function cs(n,e){return Ro(n)&&e.includes(n.tokenType.name)}function Nu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class Eo extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function fr(n){throw new Error("Error! The input value was not handled.")}const Cr="AbstractRule",wr="AbstractType",us="Condition",Cu="TypeDefinition",ds="ValueLiteral",vo="AbstractElement";function wu(n){return D.isInstance(n,vo)}const _u="ArrayLiteral",Lu="ArrayType",ko="BooleanLiteral";function $u(n){return D.isInstance(n,ko)}const So="Conjunction";function Ou(n){return D.isInstance(n,So)}const Io="Disjunction";function bu(n){return D.isInstance(n,Io)}const Pu="Grammar",xo="InferredType";function No(n){return D.isInstance(n,xo)}const Co="Interface";function wo(n){return D.isInstance(n,Co)}const _o="Negation";function Mu(n){return D.isInstance(n,_o)}const Du="NumberLiteral",Fu="Parameter",Lo="ParameterReference";function Gu(n){return D.isInstance(n,Lo)}const $o="ParserRule";function we(n){return D.isInstance(n,$o)}const Uu="ReferenceType",Bu="ReturnType";function Vu(n){return D.isInstance(n,Bu)}const Oo="SimpleType";function Wu(n){return D.isInstance(n,Oo)}const ju="StringLiteral",Hr="TerminalRule";function yt(n){return D.isInstance(n,Hr)}const bo="Type";function Po(n){return D.isInstance(n,bo)}const Hu="UnionType",Mo="Action";function hr(n){return D.isInstance(n,Mo)}const Do="Alternatives";function Fo(n){return D.isInstance(n,Do)}const Go="Assignment";function dt(n){return D.isInstance(n,Go)}const Uo="CharacterRange";function Ku(n){return D.isInstance(n,Uo)}const Bo="CrossReference";function _i(n){return D.isInstance(n,Bo)}const Vo="EndOfFile";function zu(n){return D.isInstance(n,Vo)}const Wo="Group";function Li(n){return D.isInstance(n,Wo)}const jo="Keyword";function ft(n){return D.isInstance(n,jo)}const Ho="NegatedToken";function qu(n){return D.isInstance(n,Ho)}const Ko="RegexToken";function Yu(n){return D.isInstance(n,Ko)}const zo="RuleCall";function ht(n){return D.isInstance(n,zo)}const qo="TerminalAlternatives";function Xu(n){return D.isInstance(n,qo)}const Yo="TerminalGroup";function Ju(n){return D.isInstance(n,Yo)}const Xo="TerminalRuleCall";function Jo(n){return D.isInstance(n,Xo)}const Qo="UnorderedGroup";function Zo(n){return D.isInstance(n,Qo)}const el="UntilToken";function Qu(n){return D.isInstance(n,el)}const tl="Wildcard";function Zu(n){return D.isInstance(n,tl)}class nl extends To{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Mo:case Do:case Go:case Uo:case Bo:case Vo:case Wo:case jo:case Ho:case Ko:case zo:case qo:case Yo:case Xo:case Qo:case el:case tl:return this.isSubtype(vo,t);case _u:case Du:case ju:return this.isSubtype(ds,t);case Lu:case Uu:case Oo:case Hu:return this.isSubtype(Cu,t);case ko:return this.isSubtype(us,t)||this.isSubtype(ds,t);case So:case Io:case _o:case Lo:return this.isSubtype(us,t);case xo:case Co:case bo:return this.isSubtype(wr,t);case $o:return this.isSubtype(Cr,t)||this.isSubtype(wr,t);case Hr:return this.isSubtype(Cr,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return wr;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return Cr;case"Grammar:usedGrammars":return Pu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Fu;case"TerminalRuleCall:rule":return Hr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const D=new nl;function ed(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{oe(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):oe(t)&&(t.$container=n,t.$containerProperty=e))}function pr(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Be(n){const t=td(n).$document;if(!t)throw new Error("AST node has no document.");return t}function td(n){for(;n.$container;)n=n.$container;return n}function $i(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new se(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndex$i(t,e))}function vt(n,e){if(n){if(e!=null&&e.range&&!Kr(n,e.range))return new Gn(n,()=>[])}else throw new Error("Root node must be an AstNode.");return new Gn(n,t=>$i(t,e),{includeRoot:!0})}function Kr(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Su(r,e):!1}function rl(n){return new se(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexe in n?Oc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Qe=(n,e,t)=>(bc(n,typeof e!="symbol"?e+"":e,t),t);var $=(n,e,t)=>new Promise((r,i)=>{var s=l=>{try{o(t.next(l))}catch(c){i(c)}},a=l=>{try{o(t.throw(l))}catch(c){i(c)}},o=l=>l.done?r(l.value):Promise.resolve(l.value).then(s,a);o((t=t.apply(n,e)).next())});import{_ as Wt}from"./iframe-DsjYyBKh.js";import{bv as Pc,bw as Mc,aM as ao,bf as Dc,aQ as Fc,aN as ee,b6 as oo,ay as Gc,az as is,aJ as lo,b5 as Uc,b8 as co,b9 as uo,bk as ss,aB as gt,aC as F,aO as as,aI as Bc}from"./Using existing ones-B8pwVpRB.js";import{k as St,l as Ni,g as bt,m as fo,S as Vc,w as Wc,x as jc,y as Hc,c as ho,v as z,z as po,A as Kc,B as zc,C as qc,D as Yc,a as mo,d as C,i as qe,h as w,r as le,f as ve,E as Y}from"./_baseUniq-BCQ8vHUx.js";import{i as cr,m as S,d as Xc,f as Ce,g as It,h as Ci,l as xt,e as Jc}from"./_basePickBy-D_dsH4p9.js";import{c as ne}from"./clone-CBvD7XM0.js";var Qc=Object.prototype,Zc=Qc.hasOwnProperty,Ee=Pc(function(n,e){if(Mc(e)||ao(e)){Dc(e,St(e),n);return}for(var t in e)Zc.call(e,t)&&Fc(n,t,e[t])});function go(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=ru&&(s=Hc,a=!1,e=new Vc(e));e:for(;++i-1:!!i&&po(n,e,t)>-1}var fu=Math.max;function os(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=t==null?0:cr(t);return i<0&&(i=fu(r+i,0)),po(n,e,i)}var hu="[object RegExp]";function pu(n){return co(n)&&uo(n)==hu}var ls=ss&&ss.isRegExp,Ye=ls?oo(ls):pu,mu="Expected a function";function gu(n){if(typeof n!="function")throw new TypeError(mu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Me(n,e){if(n==null)return{};var t=fo(Kc(n),function(r){return[r]});return e=bt(e),Xc(n,t,function(r,i){return e(r,i[0])})}function dr(n,e){var t=ee(n)?zc:qc;return t(n,gu(bt(e)))}function yu(n,e){var t;return Ni(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function yo(n,e,t){var r=ee(n)?Yc:yu;return t&&lo(n,e,t)&&(e=void 0),r(n,bt(e))}function wi(n){return n&&n.length?mo(n):[]}function Tu(n,e){return n&&n.length?mo(n,bt(e)):[]}function oe(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ue(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Ru(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function $n(n){return typeof n=="object"&&n!==null&&oe(n.container)&&Ue(n.reference)&&typeof n.message=="string"}class To{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return oe(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Nt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function Ro(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function Ao(n){return Nt(n)&&typeof n.fullText=="string"}class se{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new se(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return Ne})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=Au(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new se(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?Ne:{done:!1,value:e(i)}})}filter(e){return new se(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return Ne})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new se(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(Fn(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return Ne})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new se(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(Fn(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return Ne})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new se(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?Ne:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function Au(n){return typeof n=="string"?n:typeof n=="undefined"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function Fn(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Eu=new se(()=>{},()=>Ne),Ne=Object.freeze({done:!0,value:void 0});function Z(...n){if(n.length===1){const e=n[0];if(e instanceof se)return e;if(Fn(e))return new se(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new se(()=>({index:0}),t=>t.index1?new se(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return Ne})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Vr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Vr||(Vr={}));function Wr(n){return new Gn(n,e=>Nt(e)?e.content:[],{includeRoot:!0})}function vu(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function jr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Un(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var et;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(et||(et={}));function ku(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return et.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineet.After}const Iu=/^[\w\p{L}]$/u;function xu(n,e){if(n){const t=Nu(n,!0);if(t&&cs(t,e))return t;if(Ao(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(cs(s,e))return s}}}}function cs(n,e){return Ro(n)&&e.includes(n.tokenType.name)}function Nu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class Eo extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function fr(n){throw new Error("Error! The input value was not handled.")}const Cr="AbstractRule",wr="AbstractType",us="Condition",Cu="TypeDefinition",ds="ValueLiteral",vo="AbstractElement";function wu(n){return D.isInstance(n,vo)}const _u="ArrayLiteral",Lu="ArrayType",ko="BooleanLiteral";function $u(n){return D.isInstance(n,ko)}const So="Conjunction";function Ou(n){return D.isInstance(n,So)}const Io="Disjunction";function bu(n){return D.isInstance(n,Io)}const Pu="Grammar",xo="InferredType";function No(n){return D.isInstance(n,xo)}const Co="Interface";function wo(n){return D.isInstance(n,Co)}const _o="Negation";function Mu(n){return D.isInstance(n,_o)}const Du="NumberLiteral",Fu="Parameter",Lo="ParameterReference";function Gu(n){return D.isInstance(n,Lo)}const $o="ParserRule";function we(n){return D.isInstance(n,$o)}const Uu="ReferenceType",Bu="ReturnType";function Vu(n){return D.isInstance(n,Bu)}const Oo="SimpleType";function Wu(n){return D.isInstance(n,Oo)}const ju="StringLiteral",Hr="TerminalRule";function yt(n){return D.isInstance(n,Hr)}const bo="Type";function Po(n){return D.isInstance(n,bo)}const Hu="UnionType",Mo="Action";function hr(n){return D.isInstance(n,Mo)}const Do="Alternatives";function Fo(n){return D.isInstance(n,Do)}const Go="Assignment";function dt(n){return D.isInstance(n,Go)}const Uo="CharacterRange";function Ku(n){return D.isInstance(n,Uo)}const Bo="CrossReference";function _i(n){return D.isInstance(n,Bo)}const Vo="EndOfFile";function zu(n){return D.isInstance(n,Vo)}const Wo="Group";function Li(n){return D.isInstance(n,Wo)}const jo="Keyword";function ft(n){return D.isInstance(n,jo)}const Ho="NegatedToken";function qu(n){return D.isInstance(n,Ho)}const Ko="RegexToken";function Yu(n){return D.isInstance(n,Ko)}const zo="RuleCall";function ht(n){return D.isInstance(n,zo)}const qo="TerminalAlternatives";function Xu(n){return D.isInstance(n,qo)}const Yo="TerminalGroup";function Ju(n){return D.isInstance(n,Yo)}const Xo="TerminalRuleCall";function Jo(n){return D.isInstance(n,Xo)}const Qo="UnorderedGroup";function Zo(n){return D.isInstance(n,Qo)}const el="UntilToken";function Qu(n){return D.isInstance(n,el)}const tl="Wildcard";function Zu(n){return D.isInstance(n,tl)}class nl extends To{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Mo:case Do:case Go:case Uo:case Bo:case Vo:case Wo:case jo:case Ho:case Ko:case zo:case qo:case Yo:case Xo:case Qo:case el:case tl:return this.isSubtype(vo,t);case _u:case Du:case ju:return this.isSubtype(ds,t);case Lu:case Uu:case Oo:case Hu:return this.isSubtype(Cu,t);case ko:return this.isSubtype(us,t)||this.isSubtype(ds,t);case So:case Io:case _o:case Lo:return this.isSubtype(us,t);case xo:case Co:case bo:return this.isSubtype(wr,t);case $o:return this.isSubtype(Cr,t)||this.isSubtype(wr,t);case Hr:return this.isSubtype(Cr,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return wr;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return Cr;case"Grammar:usedGrammars":return Pu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Fu;case"TerminalRuleCall:rule":return Hr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const D=new nl;function ed(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{oe(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):oe(t)&&(t.$container=n,t.$containerProperty=e))}function pr(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Be(n){const t=td(n).$document;if(!t)throw new Error("AST node has no document.");return t}function td(n){for(;n.$container;)n=n.$container;return n}function $i(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new se(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndex$i(t,e))}function vt(n,e){if(n){if(e!=null&&e.range&&!Kr(n,e.range))return new Gn(n,()=>[])}else throw new Error("Root node must be an AstNode.");return new Gn(n,t=>$i(t,e),{includeRoot:!0})}function Kr(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Su(r,e):!1}function rl(n){return new se(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexthis.documentationLinkRenderer(e,i,s),renderTag:i=>this.documentationTagRenderer(e,i)})}documentationLinkRenderer(e,t,r){var i;const s=(i=this.findNameInPrecomputedScopes(e,t))!==null&&i!==void 0?i:this.findNameInGlobalScope(e,t);if(s&&s.nameSegment){const a=s.nameSegment.range.start.line+1,o=s.nameSegment.range.start.character+1,l=s.documentUri.with({fragment:`L${a},${o}`});return`[${r}](${l.toString()})`}else return}documentationTagRenderer(e,t){}findNameInPrecomputedScopes(e,t){const i=Be(e).precomputedScopes;if(!i)return;let s=e;do{const o=i.get(s).find(l=>l.name===t);if(o)return o;s=s.$container}while(s)}findNameInGlobalScope(e,t){return this.indexManager.allElements().find(i=>i.name===t)}}class Bm{constructor(e){this.grammarConfig=()=>e.parser.GrammarConfig}getComment(e){var t;return dm(e)?e.$comment:(t=xu(e.$cstNode,this.grammarConfig().multilineCommentRules))===null||t===void 0?void 0:t.text}}class Vm{constructor(e){this.syncParser=e.parser.LangiumParser}parse(e){return Promise.resolve(this.syncParser.parse(e))}}class Wm{constructor(){this.previousTokenSource=new Ei,this.writeQueue=[],this.readQueue=[],this.done=!0}write(e){this.cancelWrite();const t=new Ei;return this.previousTokenSource=t,this.enqueue(this.writeQueue,e,t.token)}read(e){return this.enqueue(this.readQueue,e)}enqueue(e,t,r){const i=new Xi,s={action:t,deferred:i,cancellationToken:r!=null?r:J.None};return e.push(s),this.performNextOperation(),i.promise}performNextOperation(){return $(this,null,function*(){if(!this.done)return;const e=[];if(this.writeQueue.length>0)e.push(this.writeQueue.shift());else if(this.readQueue.length>0)e.push(...this.readQueue.splice(0,this.readQueue.length));else return;this.done=!1,yield Promise.all(e.map(s=>$(this,[s],function*({action:t,deferred:r,cancellationToken:i}){try{const a=yield Promise.resolve().then(()=>t(i));r.resolve(a)}catch(a){Yi(a)?r.resolve(void 0):r.reject(a)}}))),this.done=!0,this.performNextOperation()})}cancelWrite(){this.previousTokenSource.cancel()}}class jm{constructor(e){this.grammarElementIdMap=new qa,this.tokenTypeIdMap=new qa,this.grammar=e.Grammar,this.lexer=e.parser.Lexer,this.linker=e.references.Linker}dehydrate(e){return{lexerErrors:e.lexerErrors.map(t=>Object.assign({},t)),parserErrors:e.parserErrors.map(t=>Object.assign({},t)),value:this.dehydrateAstNode(e.value,this.createDehyrationContext(e.value))}}createDehyrationContext(e){const t=new Map,r=new Map;for(const i of vt(e))t.set(i,{});if(e.$cstNode)for(const i of Wr(e.$cstNode))r.set(i,{});return{astNodes:t,cstNodes:r}}dehydrateAstNode(e,t){const r=t.astNodes.get(e);r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,e.$cstNode!==void 0&&(r.$cstNode=this.dehydrateCstNode(e.$cstNode,t));for(const[i,s]of Object.entries(e))if(!i.startsWith("$"))if(Array.isArray(s)){const a=[];r[i]=a;for(const o of s)oe(o)?a.push(this.dehydrateAstNode(o,t)):Ue(o)?a.push(this.dehydrateReference(o,t)):a.push(o)}else oe(s)?r[i]=this.dehydrateAstNode(s,t):Ue(s)?r[i]=this.dehydrateReference(s,t):s!==void 0&&(r[i]=s);return r}dehydrateReference(e,t){const r={};return r.$refText=e.$refText,e.$refNode&&(r.$refNode=t.cstNodes.get(e.$refNode)),r}dehydrateCstNode(e,t){const r=t.cstNodes.get(e);return Ao(e)?r.fullText=e.fullText:r.grammarSource=this.getGrammarElementId(e.grammarSource),r.hidden=e.hidden,r.astNode=t.astNodes.get(e.astNode),Nt(e)?r.content=e.content.map(i=>this.dehydrateCstNode(i,t)):Ro(e)&&(r.tokenType=e.tokenType.name,r.offset=e.offset,r.length=e.length,r.startLine=e.range.start.line,r.startColumn=e.range.start.character,r.endLine=e.range.end.line,r.endColumn=e.range.end.character),r}hydrate(e){const t=e.value,r=this.createHydrationContext(t);return"$cstNode"in t&&this.hydrateCstNode(t.$cstNode,r),{lexerErrors:e.lexerErrors,parserErrors:e.parserErrors,value:this.hydrateAstNode(t,r)}}createHydrationContext(e){const t=new Map,r=new Map;for(const s of vt(e))t.set(s,{});let i;if(e.$cstNode)for(const s of Wr(e.$cstNode)){let a;"fullText"in s?(a=new ic(s.fullText),i=a):"content"in s?a=new zi:"tokenType"in s&&(a=this.hydrateCstLeafNode(s)),a&&(r.set(s,a),a.root=i)}return{astNodes:t,cstNodes:r}}hydrateAstNode(e,t){const r=t.astNodes.get(e);r.$type=e.$type,r.$containerIndex=e.$containerIndex,r.$containerProperty=e.$containerProperty,e.$cstNode&&(r.$cstNode=t.cstNodes.get(e.$cstNode));for(const[i,s]of Object.entries(e))if(!i.startsWith("$"))if(Array.isArray(s)){const a=[];r[i]=a;for(const o of s)oe(o)?a.push(this.setParent(this.hydrateAstNode(o,t),r)):Ue(o)?a.push(this.hydrateReference(o,r,i,t)):a.push(o)}else oe(s)?r[i]=this.setParent(this.hydrateAstNode(s,t),r):Ue(s)?r[i]=this.hydrateReference(s,r,i,t):s!==void 0&&(r[i]=s);return r}setParent(e,t){return e.$container=t,e}hydrateReference(e,t,r,i){return this.linker.buildReference(t,r,i.cstNodes.get(e.$refNode),e.$refText)}hydrateCstNode(e,t,r=0){const i=t.cstNodes.get(e);if(typeof e.grammarSource=="number"&&(i.grammarSource=this.getGrammarElement(e.grammarSource)),i.astNode=t.astNodes.get(e.astNode),Nt(i))for(const s of e.content){const a=this.hydrateCstNode(s,t,r++);i.content.push(a)}return i}hydrateCstLeafNode(e){const t=this.getTokenType(e.tokenType),r=e.offset,i=e.length,s=e.startLine,a=e.startColumn,o=e.endLine,l=e.endColumn,c=e.hidden;return new gi(r,i,{start:{line:s,character:a},end:{line:o,character:l}},t,c)}getTokenType(e){return this.lexer.definition[e]}getGrammarElementId(e){return this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(e)}getGrammarElement(e){this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap();const t=this.grammarElementIdMap.getKey(e);if(t)return t;throw new Error("Invalid grammar element id: "+e)}createGrammarElementIdMap(){let e=0;for(const t of vt(this.grammar))wu(t)&&this.grammarElementIdMap.set(t,e++)}}function Gt(n){return{documentation:{CommentProvider:e=>new Bm(e),DocumentationProvider:e=>new Um(e)},parser:{AsyncParser:e=>new Vm(e),GrammarConfig:e=>Cd(e),LangiumParser:e=>Dp(e),CompletionParser:e=>Mp(e),ValueConverter:()=>new hc,TokenBuilder:()=>new fc,Lexer:e=>new Sm(e),ParserErrorMessageProvider:()=>new oc},workspace:{AstNodeLocator:()=>new Rm,AstNodeDescriptionProvider:e=>new ym(e),ReferenceDescriptionProvider:e=>new Tm(e)},references:{Linker:e=>new tm(e),NameProvider:()=>new rm,ScopeProvider:e=>new um(e),ScopeComputation:e=>new sm(e),References:e=>new im(e)},serializer:{Hydrator:e=>new jm(e),JsonSerializer:e=>new fm(e)},validation:{DocumentValidator:e=>new mm(e),ValidationRegistry:e=>new pm(e)},shared:()=>n.shared}}function Ut(n){return{ServiceRegistry:()=>new hm,workspace:{LangiumDocuments:e=>new em(e),LangiumDocumentFactory:e=>new Zp(e),DocumentBuilder:e=>new Em(e),IndexManager:e=>new vm(e),WorkspaceManager:e=>new km(e),FileSystemProvider:e=>n.fileSystemProvider(e),WorkspaceLock:()=>new Wm,ConfigurationProvider:e=>new Am(e)}}}var no;(function(n){n.merge=(e,t)=>lr(lr({},e),t)})(no||(no={}));function _e(n,e,t,r,i,s,a,o,l){const c=[n,e,t,r,i,s,a,o,l].reduce(lr,{});return xc(c)}const ro=Symbol("isProxy");function xc(n,e){const t=new Proxy({},{deleteProperty:()=>!1,get:(r,i)=>so(r,i,n,e||t),getOwnPropertyDescriptor:(r,i)=>(so(r,i,n,e||t),Object.getOwnPropertyDescriptor(r,i)),has:(r,i)=>i in n,ownKeys:()=>[...Reflect.ownKeys(n),ro]});return t[ro]=!0,t}const io=Symbol();function so(n,e,t,r){if(e in n){if(n[e]instanceof Error)throw new Error("Construction failure. Please make sure that your dependencies are constructable.",{cause:n[e]});if(n[e]===io)throw new Error('Cycle detected. Please make "'+String(e)+'" lazy. See https://langium.org/docs/configuration-services/#resolving-cyclic-dependencies');return n[e]}else if(e in t){const i=t[e];n[e]=io;try{n[e]=typeof i=="function"?i(r):xc(i,r)}catch(s){throw n[e]=s instanceof Error?s:void 0,s}return n[e]}else return}function lr(n,e){if(e){for(const[t,r]of Object.entries(e))if(r!==void 0){const i=n[t];i!==null&&r!==null&&typeof i=="object"&&typeof r=="object"?n[t]=lr(i,r):n[t]=r}}return n}class Hm{readFile(){throw new Error("No file system is available.")}readDirectory(){return $(this,null,function*(){return[]})}}const Bt={fileSystemProvider:()=>new Hm},Km={Grammar:()=>{},LanguageMetaData:()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"})},zm={AstReflection:()=>new nl};function qm(){const n=_e(Ut(Bt),zm),e=_e(Gt({shared:n}),Km);return n.ServiceRegistry.register(e),e}function En(n){var e;const t=qm(),r=t.serializer.JsonSerializer.deserialize(n);return t.shared.workspace.LangiumDocumentFactory.fromModel(r,Ot.parse(`memory://${(e=r.name)!==null&&e!==void 0?e:"grammar"}.langium`)),r}var Ym=Object.defineProperty,x=(n,e)=>Ym(n,"name",{value:e,configurable:!0}),Xm="Statement",Jm="Architecture";function Qm(n){return De.isInstance(n,Jm)}x(Qm,"isArchitecture");var Nc="Branch";function Zm(n){return De.isInstance(n,Nc)}x(Zm,"isBranch");var eg="Checkout",tg="CherryPicking",Cc="Commit";function ng(n){return De.isInstance(n,Cc)}x(ng,"isCommit");var rg="Common";function ig(n){return De.isInstance(n,rg)}x(ig,"isCommon");var wc="GitGraph";function sg(n){return De.isInstance(n,wc)}x(sg,"isGitGraph");var ag="Info";function og(n){return De.isInstance(n,ag)}x(og,"isInfo");var _c="Merge";function lg(n){return De.isInstance(n,_c)}x(lg,"isMerge");var cg="Packet";function ug(n){return De.isInstance(n,cg)}x(ug,"isPacket");var dg="PacketBlock";function fg(n){return De.isInstance(n,dg)}x(fg,"isPacketBlock");var hg="Pie";function pg(n){return De.isInstance(n,hg)}x(pg,"isPie");var mg="PieSection";function gg(n){return De.isInstance(n,mg)}x(gg,"isPieSection");var yg="Direction",en,Lc=(en=class extends To{getAllTypes(){return["Architecture","Branch","Checkout","CherryPicking","Commit","Common","Direction","Edge","GitGraph","Group","Info","Junction","Merge","Packet","PacketBlock","Pie","PieSection","Service","Statement"]}computeIsSubtype(e,t){switch(e){case Nc:case eg:case tg:case Cc:case _c:return this.isSubtype(Xm,t);case yg:return this.isSubtype(wc,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"Architecture":return{name:"Architecture",properties:[{name:"accDescr"},{name:"accTitle"},{name:"edges",defaultValue:[]},{name:"groups",defaultValue:[]},{name:"junctions",defaultValue:[]},{name:"services",defaultValue:[]},{name:"title"}]};case"Branch":return{name:"Branch",properties:[{name:"name"},{name:"order"}]};case"Checkout":return{name:"Checkout",properties:[{name:"branch"}]};case"CherryPicking":return{name:"CherryPicking",properties:[{name:"id"},{name:"parent"},{name:"tags",defaultValue:[]}]};case"Commit":return{name:"Commit",properties:[{name:"id"},{name:"message"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Common":return{name:"Common",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Edge":return{name:"Edge",properties:[{name:"lhsDir"},{name:"lhsGroup",defaultValue:!1},{name:"lhsId"},{name:"lhsInto",defaultValue:!1},{name:"rhsDir"},{name:"rhsGroup",defaultValue:!1},{name:"rhsId"},{name:"rhsInto",defaultValue:!1},{name:"title"}]};case"GitGraph":return{name:"GitGraph",properties:[{name:"accDescr"},{name:"accTitle"},{name:"statements",defaultValue:[]},{name:"title"}]};case"Group":return{name:"Group",properties:[{name:"icon"},{name:"id"},{name:"in"},{name:"title"}]};case"Info":return{name:"Info",properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case"Junction":return{name:"Junction",properties:[{name:"id"},{name:"in"}]};case"Merge":return{name:"Merge",properties:[{name:"branch"},{name:"id"},{name:"tags",defaultValue:[]},{name:"type"}]};case"Packet":return{name:"Packet",properties:[{name:"accDescr"},{name:"accTitle"},{name:"blocks",defaultValue:[]},{name:"title"}]};case"PacketBlock":return{name:"PacketBlock",properties:[{name:"end"},{name:"label"},{name:"start"}]};case"Pie":return{name:"Pie",properties:[{name:"accDescr"},{name:"accTitle"},{name:"sections",defaultValue:[]},{name:"showData",defaultValue:!1},{name:"title"}]};case"PieSection":return{name:"PieSection",properties:[{name:"label"},{name:"value"}]};case"Service":return{name:"Service",properties:[{name:"icon"},{name:"iconText"},{name:"id"},{name:"in"},{name:"title"}]};case"Direction":return{name:"Direction",properties:[{name:"accDescr"},{name:"accTitle"},{name:"dir"},{name:"statements",defaultValue:[]},{name:"title"}]};default:return{name:e,properties:[]}}}},x(en,"MermaidAstReflection"),en),De=new Lc,Nn,Tg=x(()=>Nn!=null?Nn:Nn=En('{"$type":"Grammar","isDeclared":true,"name":"Info","imports":[],"rules":[{"$type":"ParserRule","name":"Info","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}'),"InfoGrammar"),Cn,Rg=x(()=>Cn!=null?Cn:Cn=En(`{"$type":"Grammar","isDeclared":true,"name":"Packet","imports":[],"rules":[{"$type":"ParserRule","name":"Packet","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"packet-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"?"},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}`),"PacketGrammar"),wn,Ag=x(()=>wn!=null?wn:wn=En('{"$type":"Grammar","isDeclared":true,"name":"Pie","imports":[],"rules":[{"$type":"ParserRule","name":"Pie","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},"cardinality":"+"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"PIE_SECTION_LABEL","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]+\\"/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"PIE_SECTION_VALUE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/(0|[1-9][0-9]*)(\\\\.[0-9]+)?/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}'),"PieGrammar"),_n,Eg=x(()=>_n!=null?_n:_n=En('{"$type":"Grammar","isDeclared":true,"name":"Architecture","imports":[],"rules":[{"$type":"ParserRule","name":"Architecture","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","fragment":true,"definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"LeftPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"RightPort","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Arrow","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ID","definition":{"$type":"RegexToken","regex":"/[\\\\w]+/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TEXT_ICON","definition":{"$type":"RegexToken","regex":"/\\\\(\\"[^\\"]+\\"\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[[\\\\w ]+\\\\]/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"types":[],"usedGrammars":[]}'),"ArchitectureGrammar"),Ln,vg=x(()=>Ln!=null?Ln:Ln=En(`{"$type":"Grammar","isDeclared":true,"name":"GitGraph","interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"rules":[{"$type":"ParserRule","name":"TitleAndAccessibilities","fragment":true,"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"EOL","fragment":true,"dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"ParserRule","name":"GitGraph","entry":true,"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"*"}]}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+(?=\\\\s)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"imports":[],"types":[],"usedGrammars":[]}`),"GitGraphGrammar"),kg={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},Sg={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},Ig={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},xg={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},Ng={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1},vn={AstReflection:x(()=>new Lc,"AstReflection")},Cg={Grammar:x(()=>Tg(),"Grammar"),LanguageMetaData:x(()=>kg,"LanguageMetaData"),parser:{}},wg={Grammar:x(()=>Rg(),"Grammar"),LanguageMetaData:x(()=>Sg,"LanguageMetaData"),parser:{}},_g={Grammar:x(()=>Ag(),"Grammar"),LanguageMetaData:x(()=>Ig,"LanguageMetaData"),parser:{}},Lg={Grammar:x(()=>Eg(),"Grammar"),LanguageMetaData:x(()=>xg,"LanguageMetaData"),parser:{}},$g={Grammar:x(()=>vg(),"Grammar"),LanguageMetaData:x(()=>Ng,"LanguageMetaData"),parser:{}},Og=/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,bg=/accTitle[\t ]*:([^\n\r]*)/,Pg=/title([\t ][^\n\r]*|)/,Mg={ACC_DESCR:Og,ACC_TITLE:bg,TITLE:Pg},tn,Zi=(tn=class extends hc{runConverter(e,t,r){let i=this.runCommonConverter(e,t,r);return i===void 0&&(i=this.runCustomConverter(e,t,r)),i===void 0?super.runConverter(e,t,r):i}runCommonConverter(e,t,r){const i=Mg[e.name];if(i===void 0)return;const s=i.exec(t);if(s!==null){if(s[1]!==void 0)return s[1].trim().replace(/[\t ]{2,}/gm," ");if(s[2]!==void 0)return s[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,` -`)}}},x(tn,"AbstractMermaidValueConverter"),tn),nn,es=(nn=class extends Zi{runCustomConverter(e,t,r){}},x(nn,"CommonValueConverter"),nn),rn,Vt=(rn=class extends fc{constructor(e){super(),this.keywords=new Set(e)}buildKeywordTokens(e,t,r){const i=super.buildKeywordTokens(e,t,r);return i.forEach(s=>{this.keywords.has(s.name)&&s.PATTERN!==void 0&&(s.PATTERN=new RegExp(s.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),i}},x(rn,"AbstractMermaidTokenBuilder"),rn),sn;sn=class extends Vt{},x(sn,"CommonTokenBuilder");var an,Dg=(an=class extends Vt{constructor(){super(["gitGraph"])}},x(an,"GitGraphTokenBuilder"),an),Fg={parser:{TokenBuilder:x(()=>new Dg,"TokenBuilder"),ValueConverter:x(()=>new es,"ValueConverter")}};function Gg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),$g,Fg);return e.ServiceRegistry.register(t),{shared:e,GitGraph:t}}x(Gg,"createGitGraphServices");var on,Ug=(on=class extends Vt{constructor(){super(["info","showInfo"])}},x(on,"InfoTokenBuilder"),on),Bg={parser:{TokenBuilder:x(()=>new Ug,"TokenBuilder"),ValueConverter:x(()=>new es,"ValueConverter")}};function Vg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),Cg,Bg);return e.ServiceRegistry.register(t),{shared:e,Info:t}}x(Vg,"createInfoServices");var ln,Wg=(ln=class extends Vt{constructor(){super(["packet-beta"])}},x(ln,"PacketTokenBuilder"),ln),jg={parser:{TokenBuilder:x(()=>new Wg,"TokenBuilder"),ValueConverter:x(()=>new es,"ValueConverter")}};function Hg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),wg,jg);return e.ServiceRegistry.register(t),{shared:e,Packet:t}}x(Hg,"createPacketServices");var cn,Kg=(cn=class extends Vt{constructor(){super(["pie","showData"])}},x(cn,"PieTokenBuilder"),cn),un,zg=(un=class extends Zi{runCustomConverter(e,t,r){if(e.name==="PIE_SECTION_LABEL")return t.replace(/"/g,"").trim()}},x(un,"PieValueConverter"),un),qg={parser:{TokenBuilder:x(()=>new Kg,"TokenBuilder"),ValueConverter:x(()=>new zg,"ValueConverter")}};function Yg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),_g,qg);return e.ServiceRegistry.register(t),{shared:e,Pie:t}}x(Yg,"createPieServices");var dn,Xg=(dn=class extends Vt{constructor(){super(["architecture"])}},x(dn,"ArchitectureTokenBuilder"),dn),fn,Jg=(fn=class extends Zi{runCustomConverter(e,t,r){if(e.name==="ARCH_ICON")return t.replace(/[()]/g,"").trim();if(e.name==="ARCH_TEXT_ICON")return t.replace(/["()]/g,"");if(e.name==="ARCH_TITLE")return t.replace(/[[\]]/g,"").trim()}},x(fn,"ArchitectureValueConverter"),fn),Qg={parser:{TokenBuilder:x(()=>new Xg,"TokenBuilder"),ValueConverter:x(()=>new Jg,"ValueConverter")}};function Zg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),Lg,Qg);return e.ServiceRegistry.register(t),{shared:e,Architecture:t}}x(Zg,"createArchitectureServices");var ct={},ey={info:x(()=>$(void 0,null,function*(){const{createInfoServices:n}=yield Wt(()=>import("./info-46DW6VJ7-Dz81Pcrg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Info.parser.LangiumParser;ct.info=e}),"info"),packet:x(()=>$(void 0,null,function*(){const{createPacketServices:n}=yield Wt(()=>import("./packet-W2GHVCYJ-Cj3AkWPG.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Packet.parser.LangiumParser;ct.packet=e}),"packet"),pie:x(()=>$(void 0,null,function*(){const{createPieServices:n}=yield Wt(()=>import("./pie-BEWT4RHE-D5GAYqIk.js"),__vite__mapDeps([13,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Pie.parser.LangiumParser;ct.pie=e}),"pie"),architecture:x(()=>$(void 0,null,function*(){const{createArchitectureServices:n}=yield Wt(()=>import("./architecture-I3QFYML2-DPAffK-B.js"),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Architecture.parser.LangiumParser;ct.architecture=e}),"architecture"),gitGraph:x(()=>$(void 0,null,function*(){const{createGitGraphServices:n}=yield Wt(()=>import("./gitGraph-YCYPL57B-DeZdYtSy.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().GitGraph.parser.LangiumParser;ct.gitGraph=e}),"gitGraph")};function ty(n,e){return $(this,null,function*(){const t=ey[n];if(!t)throw new Error(`Unknown diagram type: ${n}`);ct[n]||(yield t());const i=ct[n].parse(e);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new ny(i);return i.value})}x(ty,"parse");var hn,ny=(hn=class extends Error{constructor(e){const t=e.lexerErrors.map(i=>i.message).join(` +`)}}},x(tn,"AbstractMermaidValueConverter"),tn),nn,es=(nn=class extends Zi{runCustomConverter(e,t,r){}},x(nn,"CommonValueConverter"),nn),rn,Vt=(rn=class extends fc{constructor(e){super(),this.keywords=new Set(e)}buildKeywordTokens(e,t,r){const i=super.buildKeywordTokens(e,t,r);return i.forEach(s=>{this.keywords.has(s.name)&&s.PATTERN!==void 0&&(s.PATTERN=new RegExp(s.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),i}},x(rn,"AbstractMermaidTokenBuilder"),rn),sn;sn=class extends Vt{},x(sn,"CommonTokenBuilder");var an,Dg=(an=class extends Vt{constructor(){super(["gitGraph"])}},x(an,"GitGraphTokenBuilder"),an),Fg={parser:{TokenBuilder:x(()=>new Dg,"TokenBuilder"),ValueConverter:x(()=>new es,"ValueConverter")}};function Gg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),$g,Fg);return e.ServiceRegistry.register(t),{shared:e,GitGraph:t}}x(Gg,"createGitGraphServices");var on,Ug=(on=class extends Vt{constructor(){super(["info","showInfo"])}},x(on,"InfoTokenBuilder"),on),Bg={parser:{TokenBuilder:x(()=>new Ug,"TokenBuilder"),ValueConverter:x(()=>new es,"ValueConverter")}};function Vg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),Cg,Bg);return e.ServiceRegistry.register(t),{shared:e,Info:t}}x(Vg,"createInfoServices");var ln,Wg=(ln=class extends Vt{constructor(){super(["packet-beta"])}},x(ln,"PacketTokenBuilder"),ln),jg={parser:{TokenBuilder:x(()=>new Wg,"TokenBuilder"),ValueConverter:x(()=>new es,"ValueConverter")}};function Hg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),wg,jg);return e.ServiceRegistry.register(t),{shared:e,Packet:t}}x(Hg,"createPacketServices");var cn,Kg=(cn=class extends Vt{constructor(){super(["pie","showData"])}},x(cn,"PieTokenBuilder"),cn),un,zg=(un=class extends Zi{runCustomConverter(e,t,r){if(e.name==="PIE_SECTION_LABEL")return t.replace(/"/g,"").trim()}},x(un,"PieValueConverter"),un),qg={parser:{TokenBuilder:x(()=>new Kg,"TokenBuilder"),ValueConverter:x(()=>new zg,"ValueConverter")}};function Yg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),_g,qg);return e.ServiceRegistry.register(t),{shared:e,Pie:t}}x(Yg,"createPieServices");var dn,Xg=(dn=class extends Vt{constructor(){super(["architecture"])}},x(dn,"ArchitectureTokenBuilder"),dn),fn,Jg=(fn=class extends Zi{runCustomConverter(e,t,r){if(e.name==="ARCH_ICON")return t.replace(/[()]/g,"").trim();if(e.name==="ARCH_TEXT_ICON")return t.replace(/["()]/g,"");if(e.name==="ARCH_TITLE")return t.replace(/[[\]]/g,"").trim()}},x(fn,"ArchitectureValueConverter"),fn),Qg={parser:{TokenBuilder:x(()=>new Xg,"TokenBuilder"),ValueConverter:x(()=>new Jg,"ValueConverter")}};function Zg(n=Bt){const e=_e(Ut(n),vn),t=_e(Gt({shared:e}),Lg,Qg);return e.ServiceRegistry.register(t),{shared:e,Architecture:t}}x(Zg,"createArchitectureServices");var ct={},ey={info:x(()=>$(void 0,null,function*(){const{createInfoServices:n}=yield Wt(()=>import("./info-46DW6VJ7-DjQ8csF6.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Info.parser.LangiumParser;ct.info=e}),"info"),packet:x(()=>$(void 0,null,function*(){const{createPacketServices:n}=yield Wt(()=>import("./packet-W2GHVCYJ-DflknLun.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Packet.parser.LangiumParser;ct.packet=e}),"packet"),pie:x(()=>$(void 0,null,function*(){const{createPieServices:n}=yield Wt(()=>import("./pie-BEWT4RHE-BJ7e4FYD.js"),__vite__mapDeps([13,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Pie.parser.LangiumParser;ct.pie=e}),"pie"),architecture:x(()=>$(void 0,null,function*(){const{createArchitectureServices:n}=yield Wt(()=>import("./architecture-I3QFYML2-Dn5bfUCZ.js"),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().Architecture.parser.LangiumParser;ct.architecture=e}),"architecture"),gitGraph:x(()=>$(void 0,null,function*(){const{createGitGraphServices:n}=yield Wt(()=>import("./gitGraph-YCYPL57B-B2VYHoo0.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),e=n().GitGraph.parser.LangiumParser;ct.gitGraph=e}),"gitGraph")};function ty(n,e){return $(this,null,function*(){const t=ey[n];if(!t)throw new Error(`Unknown diagram type: ${n}`);ct[n]||(yield t());const i=ct[n].parse(e);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new ny(i);return i.value})}x(ty,"parse");var hn,ny=(hn=class extends Error{constructor(e){const t=e.lexerErrors.map(i=>i.message).join(` `),r=e.parserErrors.map(i=>i.message).join(` `);super(`Parsing failed: ${t} ${r}`),this.result=e}},x(hn,"MermaidParseError"),hn);export{Qg as A,Fg as G,Bg as I,jg as P,Hg as a,qg as b,Vg as c,Yg as d,Zg as e,Gg as f,ty as p}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./info-46DW6VJ7-Dz81Pcrg.js","./iframe-CoIBAWfU.js","./Using existing ones-Dhq84SWT.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./index-BI4Okn8T.js","./dayjs.min-KGLNs1IR.js","./index-DrFu-skq.js","./Serializer-OW4gUFyn.js","./_baseUniq-l1FN7L1W.js","./_basePickBy-CAErHIeS.js","./clone-BEY0myKV.js","./packet-W2GHVCYJ-Cj3AkWPG.js","./pie-BEWT4RHE-D5GAYqIk.js","./architecture-I3QFYML2-DPAffK-B.js","./gitGraph-YCYPL57B-DeZdYtSy.js"] + __vite__mapDeps.viteFileDeps = ["./info-46DW6VJ7-DjQ8csF6.js","./iframe-DsjYyBKh.js","./Using existing ones-B8pwVpRB.js","./jsx-runtime-BcCOBRXo.js","./index-CNk6hRaE.js","./index-BI4Okn8T.js","./dayjs.min-KGLNs1IR.js","./index-DrFu-skq.js","./Serializer-OW4gUFyn.js","./_baseUniq-BCQ8vHUx.js","./_basePickBy-D_dsH4p9.js","./clone-CBvD7XM0.js","./packet-W2GHVCYJ-DflknLun.js","./pie-BEWT4RHE-BJ7e4FYD.js","./architecture-I3QFYML2-Dn5bfUCZ.js","./gitGraph-YCYPL57B-B2VYHoo0.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/pr-preview/pr-459/assets/mindmap-definition-FCEC46F3-FygCiHj-.js b/pr-preview/pr-459/assets/mindmap-definition-FCEC46F3-C9m3rMUK.js similarity index 99% rename from pr-preview/pr-459/assets/mindmap-definition-FCEC46F3-FygCiHj-.js rename to pr-preview/pr-459/assets/mindmap-definition-FCEC46F3-C9m3rMUK.js index bc914e52b..5e50a2822 100644 --- a/pr-preview/pr-459/assets/mindmap-definition-FCEC46F3-FygCiHj-.js +++ b/pr-preview/pr-459/assets/mindmap-definition-FCEC46F3-C9m3rMUK.js @@ -1,4 +1,4 @@ -var tt=(A,w,u)=>new Promise((D,v)=>{var r=i=>{try{e(u.next(i))}catch(o){v(o)}},t=i=>{try{e(u.throw(i))}catch(o){v(o)}},e=i=>i.done?D(i.value):Promise.resolve(i.value).then(r,t);e((u=u.apply(A,w)).next())});import{_ as S,l as z,j as mt,D as Dt,a6 as Ot,d as ot,K as At,aa as It,F as et,i as rt,aj as Ct,ak as Rt,al as xt}from"./Using existing ones-Dhq84SWT.js";import{c as dt}from"./cytoscape.esm-BI0LHGOR.js";import{c as ht,g as Mt}from"./index-CNk6hRaE.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var vt={exports:{}},nt={exports:{}},st={exports:{}},ft;function wt(){return ft||(ft=1,function(A,w){(function(D,v){A.exports=v()})(ht,function(){return function(u){var D={};function v(r){if(D[r])return D[r].exports;var t=D[r]={i:r,l:!1,exports:{}};return u[r].call(t.exports,t,t.exports,v),t.l=!0,t.exports}return v.m=u,v.c=D,v.i=function(r){return r},v.d=function(r,t,e){v.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},v.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return v.d(t,"a",t),t},v.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},v.p="",v(v.s=26)}([function(u,D,v){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,u.exports=r},function(u,D,v){var r=v(2),t=v(8),e=v(9);function i(g,a,y){r.call(this,y),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=y,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(var o in r)i[o]=r[o];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(var y=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(y.getOwner()==a)return y;if(y.getOwner()==n)break;y=y.getOwner().getParent()}return null},i.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},u.exports=i},function(u,D,v){function r(t){this.vGraphObject=t}u.exports=r},function(u,D,v){var r=v(2),t=v(10),e=v(13),i=v(0),o=v(16),g=v(4);function a(n,h,c,E){c==null&&E==null&&(E=h),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,c!=null&&h!=null?this.rect=new e(h.x,h.y,c.width,c.height):this.rect=new e}a.prototype=Object.create(r.prototype);for(var y in r)a[y]=r[y];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(n){this.rect.width=n},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(n){this.rect.height=n},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(n,h){this.rect.x=n.x,this.rect.y=n.y,this.rect.width=h.width,this.rect.height=h.height},a.prototype.setCenter=function(n,h){this.rect.x=n-this.rect.width/2,this.rect.y=h-this.rect.height/2},a.prototype.setLocation=function(n,h){this.rect.x=n,this.rect.y=h},a.prototype.moveBy=function(n,h){this.rect.x+=n,this.rect.y+=h},a.prototype.getEdgeListToNode=function(n){var h=[],c=this;return c.edges.forEach(function(E){if(E.target==n){if(E.source!=c)throw"Incorrect edge source!";h.push(E)}}),h},a.prototype.getEdgesBetween=function(n){var h=[],c=this;return c.edges.forEach(function(E){if(!(E.source==c||E.target==c))throw"Incorrect edge source and/or target";(E.target==n||E.source==n)&&h.push(E)}),h},a.prototype.getNeighborsList=function(){var n=new Set,h=this;return h.edges.forEach(function(c){if(c.source==h)n.add(c.target);else{if(c.target!=h)throw"Incorrect incidency!";n.add(c.source)}}),n},a.prototype.withChildren=function(){var n=new Set,h,c;if(n.add(this),this.child!=null)for(var E=this.child.getNodes(),T=0;Th&&(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)),this.labelHeight>c&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-c)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-c),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var h=this.rect.x;h>i.WORLD_BOUNDARY?h=i.WORLD_BOUNDARY:h<-i.WORLD_BOUNDARY&&(h=-i.WORLD_BOUNDARY);var c=this.rect.y;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var E=new g(h,c),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},u.exports=a},function(u,D,v){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},u.exports=r},function(u,D,v){var r=v(2),t=v(10),e=v(0),i=v(6),o=v(3),g=v(1),a=v(13),y=v(12),n=v(11);function h(E,T,m){r.call(this,m),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}h.prototype=Object.create(r.prototype);for(var c in r)h[c]=r[c];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(E,T,m){if(T==null&&m==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(m)>-1))throw"Source or target not in graph!";if(!(T.owner==m.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=m.owner?null:(O.source=T,O.target=m,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),m!=T&&m.edges.push(O),O)}},h.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var m=T.edges.slice(),L,O=m.length,d=0;d-1&&l>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(l,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},h.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,m,L,O,d=this.getNodes(),N=d.length,s=0;sm&&(E=m),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new y(this.left,this.top))},h.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,m=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,l,f,p=this.nodes,I=p.length,C=0;Cd&&(T=d),ms&&(L=s),Od&&(T=d),ms&&(L=s),O=this.nodes.length){var I=0;m.forEach(function(C){C.owner==E&&I++}),I==this.nodes.length&&(this.isConnected=!0)}},u.exports=h},function(u,D,v){var r,t=v(1);function e(i){r=v(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,y){if(g==null&&a==null&&y==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{y=g,a=o,g=i;var n=a.getOwner(),h=y.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==h)return g.isInterGraph=!1,n.add(g,a,y);if(g.isInterGraph=!0,g.source=a,g.target=y,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,y=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var y=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(y=1);var n=y*o[0],h=o[1]/y;o[0]n)return o[0]=g,o[1]=c,o[2]=y,o[3]=p,!1;if(ay)return o[0]=h,o[1]=a,o[2]=l,o[3]=n,!1;if(gy?(o[0]=T,o[1]=m,x=!0):(o[0]=E,o[1]=c,x=!0):U===M&&(g>y?(o[0]=h,o[1]=c,x=!0):(o[0]=L,o[1]=m,x=!0)),-X===M?y>g?(o[2]=f,o[3]=p,_=!0):(o[2]=l,o[3]=s,_=!0):X===M&&(y>g?(o[2]=N,o[3]=s,_=!0):(o[2]=I,o[3]=p,_=!0)),x&&_)return!1;if(g>y?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=c,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=m,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=y+-R/M,o[2]=k,o[3]=H;break;case 2:k=I,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=y+R/M,o[2]=k,o[3]=H;break;case 4:k=f,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,y=e.y,n=i.x,h=i.y,c=o.x,E=o.y,T=g.x,m=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,l=void 0,f=void 0,p=void 0,I=void 0;return d=h-y,s=a-n,f=n*y-a*h,N=m-E,l=c-T,p=T*E-c*m,I=d*l-N*s,I===0?null:(L=(s*p-l*f)/I,O=(N*f-d*p)/I,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},u.exports=r},function(u,D,v){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,u.exports=r},function(u,D,v){var r=function(){function a(y,n){for(var h=0;h0&&E;){for(d.push(s[0]);d.length>0&&E;){var l=d[0];d.splice(0,1),O.add(l);for(var f=l.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return c},h.prototype.createDummyNodesForBendpoints=function(c){for(var E=[],T=c.source,m=this.graphManager.calcLowestCommonAncestor(c.source,c.target),L=0;L0){for(var m=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var I=N.getNeighborsList();I.forEach(function(x){if(T.indexOf(x)<0){var _=m.get(x),U=_-1;U==1&&l.push(x),m.set(x,U)}})}T=T.concat(l),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},h.prototype.setGraphManager=function(c){this.graphManager=c},u.exports=h},function(u,D,v){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},u.exports=r},function(u,D,v){var r=v(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},u.exports=t},function(u,D,v){function r(n){if(Array.isArray(n)){for(var h=0,c=Array(n.length);he.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),h,c=0;c0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c,E,T,m,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,c=0;cd||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*m)):(d=h.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*m*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();u.exports=i},function(u,D,v){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var y=this.getChild().getNodes(),n,h=0;h0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var l=new Set(this.getAllNodes()),f=this.nodesWithGravity.filter(function(p){return l.has(p)});this.graphManager.setAllNodesToApplyGravitation(f),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%y.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),l=this.nodesWithGravity.filter(function(I){return s.has(I)});this.graphManager.setAllNodesToApplyGravitation(l),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var f=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(f,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),l={},f=0;f1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new c(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,l,f){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(l,null,0,359,0,p);var I=L.calculateBounds(s),C=new O;C.setDeviceOrgX(I.getMinX()),C.setDeviceOrgY(I.getMinY()),C.setWorldOrgX(f.x),C.setWorldOrgY(f.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}l!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-f)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=l){var Q=(f+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,I+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var l=T.MIN_VALUE,f=0;fl&&(l=I)}return l},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,l={};this.memberGroups={},this.idToDummyNode={};for(var f=[],p=this.graphManager.getAllNodes(),I=0;I1){var U="DummyCompound_"+_;s.memberGroups[U]=l[_];var X=l[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var l=this.compoundOrder[s],f=l.id,p=l.paddingLeft,I=l.paddingTop;this.adjustLocations(this.tiledMemberPack[f],l.rect.x,l.rect.y,p,I)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,l=this.tiledZeroDegreePack;Object.keys(l).forEach(function(f){var p=s.idToDummyNode[f],I=p.paddingLeft,C=p.paddingTop;s.adjustLocations(l[f],p.rect.x,p.rect.y,I,C)})},d.prototype.getToBeTiled=function(s){var l=s.id;if(this.toBeTiled[l]!=null)return this.toBeTiled[l];var f=s.getChild();if(f==null)return this.toBeTiled[l]=!1,!1;for(var p=f.getNodes(),I=0;I0)return this.toBeTiled[l]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[l]=!1,!1}return this.toBeTiled[l]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var l=s.getEdges(),f=0,p=0;p_&&(_=X.rect.height)}f+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,l){var f=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var I=l[p];f.tiledMemberPack[p]=f.tileNodes(s[p],I.paddingLeft+I.paddingRight),I.rect.width=f.tiledMemberPack[p].width,I.rect.height=f.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,l){var f=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,I={rows:[],rowWidth:[],rowHeight:[],width:0,height:l,verticalPadding:f,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[f]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[f]&&(_=s.rowHeight[f],s.rowHeight[f]=x,_=s.rowHeight[f]-_),s.height+=_,s.rows[f].push(l)},d.prototype.getShortestRowIndex=function(s){for(var l=-1,f=Number.MAX_VALUE,p=0;pf&&(l=p,f=s.rowWidth[p]);return l},d.prototype.canAddHorizontal=function(s,l,f){var p=this.getShortestRowIndex(s);if(p<0)return!0;var I=s.rowWidth[p];if(I+s.horizontalPadding+l<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=f+s.verticalPadding-s.rowHeight[p]);var R;s.width-I>=l+s.horizontalPadding?R=(s.height+C)/(I+l+s.horizontalPadding):R=(s.height+C)/s.width,C=f+s.verticalPadding;var x;return s.widthC&&l!=f){p.splice(-1,1),s.rows[f].push(I),s.rowWidth[l]=s.rowWidth[l]-C,s.rowWidth[f]=s.rowWidth[f]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);l>0&&(R+=s.verticalPadding);var _=s.rowHeight[l]+s.rowHeight[f];s.rowHeight[l]=R,s.rowHeight[f]0)for(var F=I;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[I-1][F].length+this.grid[I][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),f),this.processChildrenList(x,l,O)}}},c.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",c)};typeof cytoscape!="undefined"&&T(cytoscape),D.exports=T}])})})(vt);var Gt=vt.exports;const _t=Mt(Gt);var at=function(){var A=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],u=[1,13],D=[1,12],v=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],y=[6,7,11],n=[1,6,13,15,16,19,22],h=[1,33],c=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,l,f,p,I){var C=p.length-1;switch(f){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",p[C].id),l.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:l.getLogger().trace("Icon: ",p[C]),l.decorateNode({icon:p[C]});break;case 17:case 21:l.decorateNode({class:p[C]});break;case 18:l.getLogger().trace("SPACELIST");break;case 19:l.getLogger().trace("Node: ",p[C].id),l.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:l.decorateNode({icon:p[C]});break;case 25:l.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:l.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:l.nodeType.DEFAULT};break;case 27:l.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:l.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:u,7:[1,10],9:9,12:11,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},A(i,[2,3]),{1:[2,2]},A(i,[2,4]),A(i,[2,5]),{1:[2,6],6:u,12:21,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},{6:u,9:22,12:11,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},A(y,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),A(y,[2,18]),A(y,[2,19]),A(y,[2,20]),A(y,[2,21]),A(y,[2,23]),A(y,[2,24]),A(y,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:u,12:21,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},A(n,[2,14],{7:h,11:c}),A(E,[2,8]),A(E,[2,9]),A(E,[2,10]),A(y,[2,15]),A(y,[2,16]),A(y,[2,17]),{20:[1,35]},{21:[1,36]},A(n,[2,13],{7:h,11:c}),A(E,[2,11]),A(E,[2,12]),{21:[1,37]},A(y,[2,25]),A(y,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],l=[],f=[null],p=[],I=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc=="undefined"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,f.length=f.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=l.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(l=V,V=l.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,ut,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P=="undefined")&&(P=H()),$=I[B]&&I[B][P]),typeof $=="undefined"||!$.length||!$[0]){var it="";q=[];for(J in I[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?it="Parse error on line "+(R+1)+`: +var tt=(A,w,u)=>new Promise((D,v)=>{var r=i=>{try{e(u.next(i))}catch(o){v(o)}},t=i=>{try{e(u.throw(i))}catch(o){v(o)}},e=i=>i.done?D(i.value):Promise.resolve(i.value).then(r,t);e((u=u.apply(A,w)).next())});import{_ as S,l as z,j as mt,D as Dt,a6 as Ot,d as ot,K as At,aa as It,F as et,i as rt,aj as Ct,ak as Rt,al as xt}from"./Using existing ones-B8pwVpRB.js";import{c as dt}from"./cytoscape.esm-BI0LHGOR.js";import{c as ht,g as Mt}from"./index-CNk6hRaE.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var vt={exports:{}},nt={exports:{}},st={exports:{}},ft;function wt(){return ft||(ft=1,function(A,w){(function(D,v){A.exports=v()})(ht,function(){return function(u){var D={};function v(r){if(D[r])return D[r].exports;var t=D[r]={i:r,l:!1,exports:{}};return u[r].call(t.exports,t,t.exports,v),t.l=!0,t.exports}return v.m=u,v.c=D,v.i=function(r){return r},v.d=function(r,t,e){v.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},v.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return v.d(t,"a",t),t},v.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},v.p="",v(v.s=26)}([function(u,D,v){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,u.exports=r},function(u,D,v){var r=v(2),t=v(8),e=v(9);function i(g,a,y){r.call(this,y),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=y,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(var o in r)i[o]=r[o];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(var y=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(y.getOwner()==a)return y;if(y.getOwner()==n)break;y=y.getOwner().getParent()}return null},i.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},u.exports=i},function(u,D,v){function r(t){this.vGraphObject=t}u.exports=r},function(u,D,v){var r=v(2),t=v(10),e=v(13),i=v(0),o=v(16),g=v(4);function a(n,h,c,E){c==null&&E==null&&(E=h),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,c!=null&&h!=null?this.rect=new e(h.x,h.y,c.width,c.height):this.rect=new e}a.prototype=Object.create(r.prototype);for(var y in r)a[y]=r[y];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(n){this.rect.width=n},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(n){this.rect.height=n},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(n,h){this.rect.x=n.x,this.rect.y=n.y,this.rect.width=h.width,this.rect.height=h.height},a.prototype.setCenter=function(n,h){this.rect.x=n-this.rect.width/2,this.rect.y=h-this.rect.height/2},a.prototype.setLocation=function(n,h){this.rect.x=n,this.rect.y=h},a.prototype.moveBy=function(n,h){this.rect.x+=n,this.rect.y+=h},a.prototype.getEdgeListToNode=function(n){var h=[],c=this;return c.edges.forEach(function(E){if(E.target==n){if(E.source!=c)throw"Incorrect edge source!";h.push(E)}}),h},a.prototype.getEdgesBetween=function(n){var h=[],c=this;return c.edges.forEach(function(E){if(!(E.source==c||E.target==c))throw"Incorrect edge source and/or target";(E.target==n||E.source==n)&&h.push(E)}),h},a.prototype.getNeighborsList=function(){var n=new Set,h=this;return h.edges.forEach(function(c){if(c.source==h)n.add(c.target);else{if(c.target!=h)throw"Incorrect incidency!";n.add(c.source)}}),n},a.prototype.withChildren=function(){var n=new Set,h,c;if(n.add(this),this.child!=null)for(var E=this.child.getNodes(),T=0;Th&&(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)),this.labelHeight>c&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-c)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-c),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var h=this.rect.x;h>i.WORLD_BOUNDARY?h=i.WORLD_BOUNDARY:h<-i.WORLD_BOUNDARY&&(h=-i.WORLD_BOUNDARY);var c=this.rect.y;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var E=new g(h,c),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},u.exports=a},function(u,D,v){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},u.exports=r},function(u,D,v){var r=v(2),t=v(10),e=v(0),i=v(6),o=v(3),g=v(1),a=v(13),y=v(12),n=v(11);function h(E,T,m){r.call(this,m),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}h.prototype=Object.create(r.prototype);for(var c in r)h[c]=r[c];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(E,T,m){if(T==null&&m==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(m)>-1))throw"Source or target not in graph!";if(!(T.owner==m.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=m.owner?null:(O.source=T,O.target=m,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),m!=T&&m.edges.push(O),O)}},h.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var m=T.edges.slice(),L,O=m.length,d=0;d-1&&l>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(l,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},h.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,m,L,O,d=this.getNodes(),N=d.length,s=0;sm&&(E=m),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new y(this.left,this.top))},h.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,m=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,l,f,p=this.nodes,I=p.length,C=0;Cd&&(T=d),ms&&(L=s),Od&&(T=d),ms&&(L=s),O=this.nodes.length){var I=0;m.forEach(function(C){C.owner==E&&I++}),I==this.nodes.length&&(this.isConnected=!0)}},u.exports=h},function(u,D,v){var r,t=v(1);function e(i){r=v(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,y){if(g==null&&a==null&&y==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{y=g,a=o,g=i;var n=a.getOwner(),h=y.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==h)return g.isInterGraph=!1,n.add(g,a,y);if(g.isInterGraph=!0,g.source=a,g.target=y,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,y=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var y=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(y=1);var n=y*o[0],h=o[1]/y;o[0]n)return o[0]=g,o[1]=c,o[2]=y,o[3]=p,!1;if(ay)return o[0]=h,o[1]=a,o[2]=l,o[3]=n,!1;if(gy?(o[0]=T,o[1]=m,x=!0):(o[0]=E,o[1]=c,x=!0):U===M&&(g>y?(o[0]=h,o[1]=c,x=!0):(o[0]=L,o[1]=m,x=!0)),-X===M?y>g?(o[2]=f,o[3]=p,_=!0):(o[2]=l,o[3]=s,_=!0):X===M&&(y>g?(o[2]=N,o[3]=s,_=!0):(o[2]=I,o[3]=p,_=!0)),x&&_)return!1;if(g>y?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=c,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=m,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=y+-R/M,o[2]=k,o[3]=H;break;case 2:k=I,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=y+R/M,o[2]=k,o[3]=H;break;case 4:k=f,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,y=e.y,n=i.x,h=i.y,c=o.x,E=o.y,T=g.x,m=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,l=void 0,f=void 0,p=void 0,I=void 0;return d=h-y,s=a-n,f=n*y-a*h,N=m-E,l=c-T,p=T*E-c*m,I=d*l-N*s,I===0?null:(L=(s*p-l*f)/I,O=(N*f-d*p)/I,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},u.exports=r},function(u,D,v){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,u.exports=r},function(u,D,v){var r=function(){function a(y,n){for(var h=0;h0&&E;){for(d.push(s[0]);d.length>0&&E;){var l=d[0];d.splice(0,1),O.add(l);for(var f=l.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return c},h.prototype.createDummyNodesForBendpoints=function(c){for(var E=[],T=c.source,m=this.graphManager.calcLowestCommonAncestor(c.source,c.target),L=0;L0){for(var m=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var I=N.getNeighborsList();I.forEach(function(x){if(T.indexOf(x)<0){var _=m.get(x),U=_-1;U==1&&l.push(x),m.set(x,U)}})}T=T.concat(l),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},h.prototype.setGraphManager=function(c){this.graphManager=c},u.exports=h},function(u,D,v){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},u.exports=r},function(u,D,v){var r=v(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},u.exports=t},function(u,D,v){function r(n){if(Array.isArray(n)){for(var h=0,c=Array(n.length);he.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),h,c=0;c0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c,E,T,m,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,c=0;cd||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*m)):(d=h.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*m*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();u.exports=i},function(u,D,v){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var y=this.getChild().getNodes(),n,h=0;h0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var l=new Set(this.getAllNodes()),f=this.nodesWithGravity.filter(function(p){return l.has(p)});this.graphManager.setAllNodesToApplyGravitation(f),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%y.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),l=this.nodesWithGravity.filter(function(I){return s.has(I)});this.graphManager.setAllNodesToApplyGravitation(l),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var f=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(f,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),l={},f=0;f1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new c(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,l,f){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(l,null,0,359,0,p);var I=L.calculateBounds(s),C=new O;C.setDeviceOrgX(I.getMinX()),C.setDeviceOrgY(I.getMinY()),C.setWorldOrgX(f.x),C.setWorldOrgY(f.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}l!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-f)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=l){var Q=(f+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,I+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var l=T.MIN_VALUE,f=0;fl&&(l=I)}return l},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,l={};this.memberGroups={},this.idToDummyNode={};for(var f=[],p=this.graphManager.getAllNodes(),I=0;I1){var U="DummyCompound_"+_;s.memberGroups[U]=l[_];var X=l[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var l=this.compoundOrder[s],f=l.id,p=l.paddingLeft,I=l.paddingTop;this.adjustLocations(this.tiledMemberPack[f],l.rect.x,l.rect.y,p,I)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,l=this.tiledZeroDegreePack;Object.keys(l).forEach(function(f){var p=s.idToDummyNode[f],I=p.paddingLeft,C=p.paddingTop;s.adjustLocations(l[f],p.rect.x,p.rect.y,I,C)})},d.prototype.getToBeTiled=function(s){var l=s.id;if(this.toBeTiled[l]!=null)return this.toBeTiled[l];var f=s.getChild();if(f==null)return this.toBeTiled[l]=!1,!1;for(var p=f.getNodes(),I=0;I0)return this.toBeTiled[l]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[l]=!1,!1}return this.toBeTiled[l]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var l=s.getEdges(),f=0,p=0;p_&&(_=X.rect.height)}f+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,l){var f=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var I=l[p];f.tiledMemberPack[p]=f.tileNodes(s[p],I.paddingLeft+I.paddingRight),I.rect.width=f.tiledMemberPack[p].width,I.rect.height=f.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,l){var f=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,I={rows:[],rowWidth:[],rowHeight:[],width:0,height:l,verticalPadding:f,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[f]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[f]&&(_=s.rowHeight[f],s.rowHeight[f]=x,_=s.rowHeight[f]-_),s.height+=_,s.rows[f].push(l)},d.prototype.getShortestRowIndex=function(s){for(var l=-1,f=Number.MAX_VALUE,p=0;pf&&(l=p,f=s.rowWidth[p]);return l},d.prototype.canAddHorizontal=function(s,l,f){var p=this.getShortestRowIndex(s);if(p<0)return!0;var I=s.rowWidth[p];if(I+s.horizontalPadding+l<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=f+s.verticalPadding-s.rowHeight[p]);var R;s.width-I>=l+s.horizontalPadding?R=(s.height+C)/(I+l+s.horizontalPadding):R=(s.height+C)/s.width,C=f+s.verticalPadding;var x;return s.widthC&&l!=f){p.splice(-1,1),s.rows[f].push(I),s.rowWidth[l]=s.rowWidth[l]-C,s.rowWidth[f]=s.rowWidth[f]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);l>0&&(R+=s.verticalPadding);var _=s.rowHeight[l]+s.rowHeight[f];s.rowHeight[l]=R,s.rowHeight[f]0)for(var F=I;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[I-1][F].length+this.grid[I][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),f),this.processChildrenList(x,l,O)}}},c.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",c)};typeof cytoscape!="undefined"&&T(cytoscape),D.exports=T}])})})(vt);var Gt=vt.exports;const _t=Mt(Gt);var at=function(){var A=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],u=[1,13],D=[1,12],v=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],y=[6,7,11],n=[1,6,13,15,16,19,22],h=[1,33],c=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,l,f,p,I){var C=p.length-1;switch(f){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",p[C].id),l.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:l.getLogger().trace("Icon: ",p[C]),l.decorateNode({icon:p[C]});break;case 17:case 21:l.decorateNode({class:p[C]});break;case 18:l.getLogger().trace("SPACELIST");break;case 19:l.getLogger().trace("Node: ",p[C].id),l.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:l.decorateNode({icon:p[C]});break;case 25:l.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:l.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:l.nodeType.DEFAULT};break;case 27:l.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:l.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:u,7:[1,10],9:9,12:11,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},A(i,[2,3]),{1:[2,2]},A(i,[2,4]),A(i,[2,5]),{1:[2,6],6:u,12:21,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},{6:u,9:22,12:11,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},A(y,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),A(y,[2,18]),A(y,[2,19]),A(y,[2,20]),A(y,[2,21]),A(y,[2,23]),A(y,[2,24]),A(y,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:u,12:21,13:D,14:14,15:v,16:r,17:17,18:18,19:t,22:e},A(n,[2,14],{7:h,11:c}),A(E,[2,8]),A(E,[2,9]),A(E,[2,10]),A(y,[2,15]),A(y,[2,16]),A(y,[2,17]),{20:[1,35]},{21:[1,36]},A(n,[2,13],{7:h,11:c}),A(E,[2,11]),A(E,[2,12]),{21:[1,37]},A(y,[2,25]),A(y,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],l=[],f=[null],p=[],I=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc=="undefined"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,f.length=f.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=l.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(l=V,V=l.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,ut,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P=="undefined")&&(P=H()),$=I[B]&&I[B][P]),typeof $=="undefined"||!$.length||!$[0]){var it="";q=[];for(J in I[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?it="Parse error on line "+(R+1)+`: `+M.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[P]||P)+"'":it="Parse error on line "+(R+1)+": Unexpected "+(P==U?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(it,{text:M.match,token:this.terminals_[P]||P,line:M.yylineno,loc:b,expected:q})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+B+", token: "+P);switch($[0]){case 1:s.push(P),f.push(M.yytext),p.push(M.yylloc),s.push($[1]),P=null,x=M.yyleng,C=M.yytext,R=M.yylineno,b=M.yylloc;break;case 2:if(j=this.productions_[$[1]][1],Q.$=f[f.length-j],Q._$={first_line:p[p.length-(j||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(j||1)].first_column,last_column:p[p.length-1].last_column},Y&&(Q._$.range=[p[p.length-(j||1)].range[0],p[p.length-1].range[1]]),K=this.performAction.apply(Q,[C,x,R,G.yy,$[1],f,p].concat(X)),typeof K!="undefined")return K;j&&(s=s.slice(0,-1*j*2),f=f.slice(0,-1*j),p=p.slice(0,-1*j)),s.push(this.productions_[$[1]][0]),f.push(Q.$),p.push(Q._$),ut=I[s[s.length-2]][s[s.length-1]],s.push(ut);break;case 3:return!0}}return!0},"parse")},m=function(){var O={EOF:1,parseError:S(function(N,s){if(this.yy.parser)this.yy.parser.parseError(N,s);else throw new Error(N)},"parseError"),setInput:S(function(d,N){return this.yy=N||this.yy||{},this._input=d,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:S(function(){var d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var N=d.match(/(?:\r\n?|\n).*/g);return N?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),d},"input"),unput:S(function(d){var N=d.length,s=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-N),this.offset-=N;var l=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),s.length-1&&(this.yylineno-=s.length-1);var f=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:s?(s.length===l.length?this.yylloc.first_column:0)+l[l.length-s.length].length-s[0].length:this.yylloc.first_column-N},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-N]),this.yyleng=this.yytext.length,this},"unput"),more:S(function(){return this._more=!0,this},"more"),reject:S(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:S(function(d){this.unput(this.match.slice(d))},"less"),pastInput:S(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:S(function(){var d=this.match;return d.length<20&&(d+=this._input.substr(0,20-d.length)),(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:S(function(){var d=this.pastInput(),N=new Array(d.length+1).join("-");return d+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/packet-W2GHVCYJ-Cj3AkWPG.js b/pr-preview/pr-459/assets/packet-W2GHVCYJ-Cj3AkWPG.js deleted file mode 100644 index 668bb2013..000000000 --- a/pr-preview/pr-459/assets/packet-W2GHVCYJ-Cj3AkWPG.js +++ /dev/null @@ -1 +0,0 @@ -import{P as l,a as u}from"./mermaid-parser.core-CbtfyxSr.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./Using existing ones-Dhq84SWT.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";export{l as PacketModule,u as createPacketServices}; diff --git a/pr-preview/pr-459/assets/packet-W2GHVCYJ-DflknLun.js b/pr-preview/pr-459/assets/packet-W2GHVCYJ-DflknLun.js new file mode 100644 index 000000000..eae600e23 --- /dev/null +++ b/pr-preview/pr-459/assets/packet-W2GHVCYJ-DflknLun.js @@ -0,0 +1 @@ +import{P as l,a as u}from"./mermaid-parser.core-BmIAZpsh.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./Using existing ones-B8pwVpRB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";export{l as PacketModule,u as createPacketServices}; diff --git a/pr-preview/pr-459/assets/pie-BEWT4RHE-BJ7e4FYD.js b/pr-preview/pr-459/assets/pie-BEWT4RHE-BJ7e4FYD.js new file mode 100644 index 000000000..6de003bcd --- /dev/null +++ b/pr-preview/pr-459/assets/pie-BEWT4RHE-BJ7e4FYD.js @@ -0,0 +1 @@ +import{b as l,d as u}from"./mermaid-parser.core-BmIAZpsh.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./Using existing ones-B8pwVpRB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";export{l as PieModule,u as createPieServices}; diff --git a/pr-preview/pr-459/assets/pie-BEWT4RHE-D5GAYqIk.js b/pr-preview/pr-459/assets/pie-BEWT4RHE-D5GAYqIk.js deleted file mode 100644 index 2ffb42895..000000000 --- a/pr-preview/pr-459/assets/pie-BEWT4RHE-D5GAYqIk.js +++ /dev/null @@ -1 +0,0 @@ -import{b as l,d as u}from"./mermaid-parser.core-CbtfyxSr.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./Using existing ones-Dhq84SWT.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";export{l as PieModule,u as createPieServices}; diff --git a/pr-preview/pr-459/assets/pieDiagram-OZX6XH5M-DzBienBm.js b/pr-preview/pr-459/assets/pieDiagram-OZX6XH5M-DFzYWB0T.js similarity index 91% rename from pr-preview/pr-459/assets/pieDiagram-OZX6XH5M-DzBienBm.js rename to pr-preview/pr-459/assets/pieDiagram-OZX6XH5M-DFzYWB0T.js index 483848ccf..6548b3bb0 100644 --- a/pr-preview/pr-459/assets/pieDiagram-OZX6XH5M-DzBienBm.js +++ b/pr-preview/pr-459/assets/pieDiagram-OZX6XH5M-DFzYWB0T.js @@ -1,4 +1,4 @@ -var R=(t,r,p)=>new Promise((o,c)=>{var h=a=>{try{e(p.next(a))}catch(s){c(s)}},i=a=>{try{e(p.throw(a))}catch(s){c(s)}},e=a=>a.done?o(a.value):Promise.resolve(a.value).then(h,i);e((p=p.apply(t,r)).next())});import{p as j}from"./chunk-OQCM5LHU-_hEzITn5.js";import{Y as A,P as z,aE as q,F as K,q as Y,r as Z,s as H,g as J,c as Q,b as X,_ as d,l as F,t as tt,d as et,G as at,K as rt,a6 as nt,k as it}from"./Using existing ones-Dhq84SWT.js";import{p as st}from"./mermaid-parser.core-CbtfyxSr.js";import{d as I}from"./arc-uLSQqivB.js";import{o as ot}from"./ordinal-Cboi1Yqb.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";import"./clone-BEY0myKV.js";import"./init-Gi6I4Gst.js";function lt(t,r){return rt?1:r>=t?0:NaN}function ct(t){return t}function pt(){var t=ct,r=lt,p=null,o=A(0),c=A(z),h=A(0);function i(e){var a,s=(e=q(e)).length,u,w,y=0,g=new Array(s),n=new Array(s),f=+o.apply(this,arguments),C=Math.min(z,Math.max(-z,c.apply(this,arguments)-f)),v,$=Math.min(Math.abs(C)/s,h.apply(this,arguments)),E=$*(C<0?-1:1),m;for(a=0;a0&&(y+=m);for(r!=null?g.sort(function(x,D){return r(n[x],n[D])}):p!=null&&g.sort(function(x,D){return p(e[x],e[D])}),a=0,w=y?(C-s*E)/y:0;a0?m*w:0)+E,n[u]={data:e[u],index:a,value:m,startAngle:f,endAngle:v,padAngle:$};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:A(+e),i):t},i.sortValues=function(e){return arguments.length?(r=e,p=null,i):r},i.sort=function(e){return arguments.length?(p=e,r=null,i):p},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:A(+e),i):o},i.endAngle=function(e){return arguments.length?(c=typeof e=="function"?e:A(+e),i):c},i.padAngle=function(e){return arguments.length?(h=typeof e=="function"?e:A(+e),i):h},i}var L=K.pie,G={sections:new Map,showData:!1,config:L},k=G.sections,P=G.showData,ut=structuredClone(L),gt=d(()=>structuredClone(ut),"getConfig"),dt=d(()=>{k=new Map,P=G.showData,tt()},"clear"),ft=d(({label:t,value:r})=>{k.has(t)||(k.set(t,r),F.debug(`added new section: ${t}, with value: ${r}`))},"addSection"),mt=d(()=>k,"getSections"),ht=d(t=>{P=t},"setShowData"),vt=d(()=>P,"getShowData"),W={getConfig:gt,clear:dt,setDiagramTitle:Y,getDiagramTitle:Z,setAccTitle:H,getAccTitle:J,setAccDescription:Q,getAccDescription:X,addSection:ft,getSections:mt,setShowData:ht,getShowData:vt},yt=d((t,r)=>{j(t,r),r.setShowData(t.showData),t.sections.map(r.addSection)},"populateDb"),xt={parse:d(t=>R(void 0,null,function*(){const r=yield st("pie",t);F.debug(r),yt(r,W)}),"parse")},St=d(t=>` +var R=(t,r,p)=>new Promise((o,c)=>{var h=a=>{try{e(p.next(a))}catch(s){c(s)}},i=a=>{try{e(p.throw(a))}catch(s){c(s)}},e=a=>a.done?o(a.value):Promise.resolve(a.value).then(h,i);e((p=p.apply(t,r)).next())});import{p as j}from"./chunk-OQCM5LHU-7z38PKjx.js";import{Y as A,P as z,aE as q,F as K,q as Y,r as Z,s as H,g as J,c as Q,b as X,_ as d,l as F,t as tt,d as et,G as at,K as rt,a6 as nt,k as it}from"./Using existing ones-B8pwVpRB.js";import{p as st}from"./mermaid-parser.core-BmIAZpsh.js";import{d as I}from"./arc-Dt1b6oZs.js";import{o as ot}from"./ordinal-Cboi1Yqb.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";import"./clone-CBvD7XM0.js";import"./init-Gi6I4Gst.js";function lt(t,r){return rt?1:r>=t?0:NaN}function ct(t){return t}function pt(){var t=ct,r=lt,p=null,o=A(0),c=A(z),h=A(0);function i(e){var a,s=(e=q(e)).length,u,w,y=0,g=new Array(s),n=new Array(s),f=+o.apply(this,arguments),C=Math.min(z,Math.max(-z,c.apply(this,arguments)-f)),v,$=Math.min(Math.abs(C)/s,h.apply(this,arguments)),E=$*(C<0?-1:1),m;for(a=0;a0&&(y+=m);for(r!=null?g.sort(function(x,D){return r(n[x],n[D])}):p!=null&&g.sort(function(x,D){return p(e[x],e[D])}),a=0,w=y?(C-s*E)/y:0;a0?m*w:0)+E,n[u]={data:e[u],index:a,value:m,startAngle:f,endAngle:v,padAngle:$};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:A(+e),i):t},i.sortValues=function(e){return arguments.length?(r=e,p=null,i):r},i.sort=function(e){return arguments.length?(p=e,r=null,i):p},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:A(+e),i):o},i.endAngle=function(e){return arguments.length?(c=typeof e=="function"?e:A(+e),i):c},i.padAngle=function(e){return arguments.length?(h=typeof e=="function"?e:A(+e),i):h},i}var L=K.pie,G={sections:new Map,showData:!1,config:L},k=G.sections,P=G.showData,ut=structuredClone(L),gt=d(()=>structuredClone(ut),"getConfig"),dt=d(()=>{k=new Map,P=G.showData,tt()},"clear"),ft=d(({label:t,value:r})=>{k.has(t)||(k.set(t,r),F.debug(`added new section: ${t}, with value: ${r}`))},"addSection"),mt=d(()=>k,"getSections"),ht=d(t=>{P=t},"setShowData"),vt=d(()=>P,"getShowData"),W={getConfig:gt,clear:dt,setDiagramTitle:Y,getDiagramTitle:Z,setAccTitle:H,getAccTitle:J,setAccDescription:Q,getAccDescription:X,addSection:ft,getSections:mt,setShowData:ht,getShowData:vt},yt=d((t,r)=>{j(t,r),r.setShowData(t.showData),t.sections.map(r.addSection)},"populateDb"),xt={parse:d(t=>R(void 0,null,function*(){const r=yield st("pie",t);F.debug(r),yt(r,W)}),"parse")},St=d(t=>` .pieCircle{ stroke: ${t.pieStrokeColor}; stroke-width : ${t.pieStrokeWidth}; diff --git a/pr-preview/pr-459/assets/preview-yDWbSQfF.js b/pr-preview/pr-459/assets/preview-wqPP8BOU.js similarity index 75% rename from pr-preview/pr-459/assets/preview-yDWbSQfF.js rename to pr-preview/pr-459/assets/preview-wqPP8BOU.js index 40a9e45ba..d03fb38f5 100644 --- a/pr-preview/pr-459/assets/preview-yDWbSQfF.js +++ b/pr-preview/pr-459/assets/preview-wqPP8BOU.js @@ -1,7 +1,7 @@ -var l=(e,o,r)=>new Promise((a,i)=>{var n=t=>{try{s(r.next(t))}catch(_){i(_)}},m=t=>{try{s(r.throw(t))}catch(_){i(_)}},s=t=>t.done?a(t.value):Promise.resolve(t.value).then(n,m);s((r=r.apply(e,o)).next())});import{_ as O}from"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";const{global:c}=__STORYBOOK_MODULE_GLOBAL__;var d,p=Object.entries((d=c.TAGS_OPTIONS)!=null?d:{}).reduce((e,o)=>{let[r,a]=o;return a.excludeFromDocsStories&&(e[r]=!0),e},{}),D={docs:{renderer:()=>l(void 0,null,function*(){let{DocsRenderer:e}=yield O(()=>import("./DocsRenderer-K4EAMTCU-Cg1MDJWm.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url);return new e}),stories:{filter:e=>{var o;return(e.tags||[]).filter(r=>p[r]).length===0&&!((o=e.parameters.docs)!=null&&o.disable)}}}};export{D as parameters}; +var l=(e,o,r)=>new Promise((a,i)=>{var n=t=>{try{s(r.next(t))}catch(_){i(_)}},m=t=>{try{s(r.throw(t))}catch(_){i(_)}},s=t=>t.done?a(t.value):Promise.resolve(t.value).then(n,m);s((r=r.apply(e,o)).next())});import{_ as O}from"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";const{global:c}=__STORYBOOK_MODULE_GLOBAL__;var d,p=Object.entries((d=c.TAGS_OPTIONS)!=null?d:{}).reduce((e,o)=>{let[r,a]=o;return a.excludeFromDocsStories&&(e[r]=!0),e},{}),D={docs:{renderer:()=>l(void 0,null,function*(){let{DocsRenderer:e}=yield O(()=>import("./DocsRenderer-K4EAMTCU-rQ2fHZLy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url);return new e}),stories:{filter:e=>{var o;return(e.tags||[]).filter(r=>p[r]).length===0&&!((o=e.parameters.docs)!=null&&o.disable)}}}};export{D as parameters}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./DocsRenderer-K4EAMTCU-Cg1MDJWm.js","./iframe-CoIBAWfU.js","./index-CNk6hRaE.js","./react-18-CptRw6kM.js","./index-D-4E_f9W.js","./index-ZtHH_h5v.js","./extends-CF3RwP-h.js","./index-DYADbu9O.js","./isNativeReflectConstruct-CYew8PZR.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./index-eS13M_ii.js","./index-DrFu-skq.js"] + __vite__mapDeps.viteFileDeps = ["./DocsRenderer-K4EAMTCU-rQ2fHZLy.js","./iframe-DsjYyBKh.js","./index-CNk6hRaE.js","./react-18-CptRw6kM.js","./index-D-4E_f9W.js","./index-Bf2yN5NY.js","./extends-CF3RwP-h.js","./index-DYADbu9O.js","./isNativeReflectConstruct-CYew8PZR.js","./_baseClone-BjCwUuX-.js","./_getPrototype-CAOE_2rY.js","./index-eS13M_ii.js","./index-DrFu-skq.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/pr-preview/pr-459/assets/quadrantDiagram-VG34DGKC-CIunfM3y.js b/pr-preview/pr-459/assets/quadrantDiagram-VG34DGKC-DNtzXGqk.js similarity index 99% rename from pr-preview/pr-459/assets/quadrantDiagram-VG34DGKC-CIunfM3y.js rename to pr-preview/pr-459/assets/quadrantDiagram-VG34DGKC-DNtzXGqk.js index 219bb6f57..7444e7b1a 100644 --- a/pr-preview/pr-459/assets/quadrantDiagram-VG34DGKC-CIunfM3y.js +++ b/pr-preview/pr-459/assets/quadrantDiagram-VG34DGKC-DNtzXGqk.js @@ -1,4 +1,4 @@ -var Fe=Object.defineProperty;var ie=Object.getOwnPropertySymbols;var Pe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var ae=(t,a,o)=>a in t?Fe(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,Q=(t,a)=>{for(var o in a||(a={}))Pe.call(a,o)&&ae(t,o,a[o]);if(ie)for(var o of ie(a))ve.call(a,o)&&ae(t,o,a[o]);return t};import{_ as l,a1 as Ce,F as D,l as Ft,d as Rt,i as Le,r as se,s as Ee,g as De,q as ze,b as Ve,c as Ie,t as we,j as It,k as Be}from"./Using existing ones-Dhq84SWT.js";import{l as ne}from"./linear-CaMgb0mo.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./init-Gi6I4Gst.js";var wt=function(){var t=l(function(j,r,h,g){for(h=h||{},g=j.length;g--;h[j[g]]=r);return h},"o"),a=[1,3],o=[1,4],u=[1,5],c=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],n=[55,56,57],A=[2,36],x=[1,37],q=[1,36],b=[1,38],T=[1,35],m=[1,43],d=[1,41],N=[1,14],Y=[1,23],G=[1,18],mt=[1,19],qt=[1,20],ht=[1,21],vt=[1,22],ct=[1,24],dt=[1,25],ut=[1,26],xt=[1,27],ft=[1,28],gt=[1,29],B=[1,32],e=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,65],Wt=[1,66],Ut=[1,67],Qt=[1,68],Ot=[1,69],Ht=[1,70],Xt=[1,71],Mt=[1,72],Yt=[1,73],jt=[1,74],Gt=[1,75],Kt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Ct=[1,102],Zt=[10,55,56,57],W=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],Lt={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:l(function(r,h,g,f,_,i,pt){var s=i.length-1;switch(_){case 23:this.$=i[s];break;case 24:this.$=i[s-1]+""+i[s];break;case 26:this.$=i[s-1]+i[s];break;case 27:this.$=[i[s].trim()];break;case 28:i[s-2].push(i[s].trim()),this.$=i[s-2];break;case 29:this.$=i[s-4],f.addClass(i[s-2],i[s]);break;case 37:this.$=[];break;case 42:this.$=i[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=i[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=i[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(i[s].substr(8)),this.$=i[s].substr(8);break;case 47:f.addPoint(i[s-3],"",i[s-1],i[s],[]);break;case 48:f.addPoint(i[s-4],i[s-3],i[s-1],i[s],[]);break;case 49:f.addPoint(i[s-4],"",i[s-2],i[s-1],i[s]);break;case 50:f.addPoint(i[s-5],i[s-4],i[s-2],i[s-1],i[s]);break;case 51:f.setXAxisLeftText(i[s-2]),f.setXAxisRightText(i[s]);break;case 52:i[s-1].text+=" ⟶ ",f.setXAxisLeftText(i[s-1]);break;case 53:f.setXAxisLeftText(i[s]);break;case 54:f.setYAxisBottomText(i[s-2]),f.setYAxisTopText(i[s]);break;case 55:i[s-1].text+=" ⟶ ",f.setYAxisBottomText(i[s-1]);break;case 56:f.setYAxisBottomText(i[s]);break;case 57:f.setQuadrant1Text(i[s]);break;case 58:f.setQuadrant2Text(i[s]);break;case 59:f.setQuadrant3Text(i[s]);break;case 60:f.setQuadrant4Text(i[s]);break;case 64:this.$={text:i[s],type:"text"};break;case 65:this.$={text:i[s-1].text+""+i[s],type:i[s-1].type};break;case 66:this.$={text:i[s],type:"text"};break;case 67:this.$={text:i[s],type:"markdown"};break;case 68:this.$=i[s];break;case 69:this.$=i[s-1]+""+i[s];break}},"anonymous"),table:[{18:a,26:1,27:2,28:o,55:u,56:c,57:p},{1:[3]},{18:a,26:8,27:2,28:o,55:u,56:c,57:p},{18:a,26:9,27:2,28:o,55:u,56:c,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(n,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:x,5:q,10:b,12:T,13:m,14:d,18:N,25:Y,35:G,37:mt,39:qt,41:ht,42:vt,48:ct,50:dt,51:ut,52:xt,53:ft,54:gt,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:u,56:c,57:p},t(n,[2,37]),t(n,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:x,5:q,10:b,12:T,13:m,14:d,18:N,25:Y,35:G,37:mt,39:qt,41:ht,42:vt,48:ct,50:dt,51:ut,52:xt,53:ft,54:gt,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(n,[2,45]),t(n,[2,46]),{18:[1,50]},{4:x,5:q,10:b,12:T,13:m,14:d,43:51,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:52,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:53,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:54,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:55,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:56,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(n,[2,38]),t(n,[2,42]),t(n,[2,43]),t(n,[2,44]),{3:64,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:63},t(n,[2,53],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(n,[2,56],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(n,[2,57],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,58],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,59],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,60],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(n,[2,52],{58:31,43:83,4:x,5:q,10:b,12:T,13:m,14:d,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),t(n,[2,55],{58:31,43:84,4:x,5:q,10:b,12:T,13:m,14:d,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(n,[2,51],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,54],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(n,[2,29],{10:Ct}),t(Zt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(W,[2,25]),t(W,[2,13]),t(W,[2,14]),t(W,[2,15]),t(W,[2,16]),t(W,[2,17]),t(W,[2,18]),t(W,[2,19]),t(W,[2,20]),t(W,[2,21]),t(W,[2,22]),t(n,[2,49],{10:Ct}),t(n,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(W,[2,26]),t(n,[2,50],{10:Ct}),t(Zt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:l(function(r,h){if(h.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=h,g}},"parseError"),parse:l(function(r){var h=this,g=[0],f=[],_=[null],i=[],pt=this.table,s="",St=0,Jt=0,Se=2,$t=1,_e=i.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(K.yy[Et]=this.yy[Et]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc=="undefined"&&(E.yylloc={});var Dt=E.yylloc;i.push(Dt);var Ae=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(R){g.length=g.length-2*R,_.length=_.length-R,i.length=i.length-R}l(ke,"popStack");function te(){var R;return R=f.pop()||E.lex()||$t,typeof R!="number"&&(R instanceof Array&&(f=R,R=f.pop()),R=h.symbols_[R]||R),R}l(te,"lex");for(var w,Z,U,zt,lt={},_t,M,ee,At;;){if(Z=g[g.length-1],this.defaultActions[Z]?U=this.defaultActions[Z]:((w===null||typeof w=="undefined")&&(w=te()),U=pt[Z]&&pt[Z][w]),typeof U=="undefined"||!U.length||!U[0]){var Vt="";At=[];for(_t in pt[Z])this.terminals_[_t]&&_t>Se&&At.push("'"+this.terminals_[_t]+"'");E.showPosition?Vt="Parse error on line "+(St+1)+`: +var Fe=Object.defineProperty;var ie=Object.getOwnPropertySymbols;var Pe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var ae=(t,a,o)=>a in t?Fe(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,Q=(t,a)=>{for(var o in a||(a={}))Pe.call(a,o)&&ae(t,o,a[o]);if(ie)for(var o of ie(a))ve.call(a,o)&&ae(t,o,a[o]);return t};import{_ as l,a1 as Ce,F as D,l as Ft,d as Rt,i as Le,r as se,s as Ee,g as De,q as ze,b as Ve,c as Ie,t as we,j as It,k as Be}from"./Using existing ones-B8pwVpRB.js";import{l as ne}from"./linear-DOmJOZCQ.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./init-Gi6I4Gst.js";var wt=function(){var t=l(function(j,r,h,g){for(h=h||{},g=j.length;g--;h[j[g]]=r);return h},"o"),a=[1,3],o=[1,4],u=[1,5],c=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],n=[55,56,57],A=[2,36],x=[1,37],q=[1,36],b=[1,38],T=[1,35],m=[1,43],d=[1,41],N=[1,14],Y=[1,23],G=[1,18],mt=[1,19],qt=[1,20],ht=[1,21],vt=[1,22],ct=[1,24],dt=[1,25],ut=[1,26],xt=[1,27],ft=[1,28],gt=[1,29],B=[1,32],e=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,65],Wt=[1,66],Ut=[1,67],Qt=[1,68],Ot=[1,69],Ht=[1,70],Xt=[1,71],Mt=[1,72],Yt=[1,73],jt=[1,74],Gt=[1,75],Kt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Ct=[1,102],Zt=[10,55,56,57],W=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],Lt={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:l(function(r,h,g,f,_,i,pt){var s=i.length-1;switch(_){case 23:this.$=i[s];break;case 24:this.$=i[s-1]+""+i[s];break;case 26:this.$=i[s-1]+i[s];break;case 27:this.$=[i[s].trim()];break;case 28:i[s-2].push(i[s].trim()),this.$=i[s-2];break;case 29:this.$=i[s-4],f.addClass(i[s-2],i[s]);break;case 37:this.$=[];break;case 42:this.$=i[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=i[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=i[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(i[s].substr(8)),this.$=i[s].substr(8);break;case 47:f.addPoint(i[s-3],"",i[s-1],i[s],[]);break;case 48:f.addPoint(i[s-4],i[s-3],i[s-1],i[s],[]);break;case 49:f.addPoint(i[s-4],"",i[s-2],i[s-1],i[s]);break;case 50:f.addPoint(i[s-5],i[s-4],i[s-2],i[s-1],i[s]);break;case 51:f.setXAxisLeftText(i[s-2]),f.setXAxisRightText(i[s]);break;case 52:i[s-1].text+=" ⟶ ",f.setXAxisLeftText(i[s-1]);break;case 53:f.setXAxisLeftText(i[s]);break;case 54:f.setYAxisBottomText(i[s-2]),f.setYAxisTopText(i[s]);break;case 55:i[s-1].text+=" ⟶ ",f.setYAxisBottomText(i[s-1]);break;case 56:f.setYAxisBottomText(i[s]);break;case 57:f.setQuadrant1Text(i[s]);break;case 58:f.setQuadrant2Text(i[s]);break;case 59:f.setQuadrant3Text(i[s]);break;case 60:f.setQuadrant4Text(i[s]);break;case 64:this.$={text:i[s],type:"text"};break;case 65:this.$={text:i[s-1].text+""+i[s],type:i[s-1].type};break;case 66:this.$={text:i[s],type:"text"};break;case 67:this.$={text:i[s],type:"markdown"};break;case 68:this.$=i[s];break;case 69:this.$=i[s-1]+""+i[s];break}},"anonymous"),table:[{18:a,26:1,27:2,28:o,55:u,56:c,57:p},{1:[3]},{18:a,26:8,27:2,28:o,55:u,56:c,57:p},{18:a,26:9,27:2,28:o,55:u,56:c,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(n,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:x,5:q,10:b,12:T,13:m,14:d,18:N,25:Y,35:G,37:mt,39:qt,41:ht,42:vt,48:ct,50:dt,51:ut,52:xt,53:ft,54:gt,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:u,56:c,57:p},t(n,[2,37]),t(n,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:x,5:q,10:b,12:T,13:m,14:d,18:N,25:Y,35:G,37:mt,39:qt,41:ht,42:vt,48:ct,50:dt,51:ut,52:xt,53:ft,54:gt,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(n,[2,45]),t(n,[2,46]),{18:[1,50]},{4:x,5:q,10:b,12:T,13:m,14:d,43:51,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:52,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:53,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:54,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:55,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,10:b,12:T,13:m,14:d,43:56,58:31,60:B,61:e,63:k,64:F,65:P,66:v,67:C},{4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(n,[2,38]),t(n,[2,42]),t(n,[2,43]),t(n,[2,44]),{3:64,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:63},t(n,[2,53],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(n,[2,56],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(n,[2,57],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,58],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,59],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,60],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(n,[2,52],{58:31,43:83,4:x,5:q,10:b,12:T,13:m,14:d,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),t(n,[2,55],{58:31,43:84,4:x,5:q,10:b,12:T,13:m,14:d,60:B,61:e,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(n,[2,51],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,54],{59:59,58:60,4:x,5:q,8:H,10:b,12:T,13:m,14:d,18:X,63:k,64:F,65:P,66:v,67:C}),t(n,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(n,[2,29],{10:Ct}),t(Zt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(W,[2,25]),t(W,[2,13]),t(W,[2,14]),t(W,[2,15]),t(W,[2,16]),t(W,[2,17]),t(W,[2,18]),t(W,[2,19]),t(W,[2,20]),t(W,[2,21]),t(W,[2,22]),t(n,[2,49],{10:Ct}),t(n,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(W,[2,26]),t(n,[2,50],{10:Ct}),t(Zt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:l(function(r,h){if(h.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=h,g}},"parseError"),parse:l(function(r){var h=this,g=[0],f=[],_=[null],i=[],pt=this.table,s="",St=0,Jt=0,Se=2,$t=1,_e=i.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(K.yy[Et]=this.yy[Et]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc=="undefined"&&(E.yylloc={});var Dt=E.yylloc;i.push(Dt);var Ae=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(R){g.length=g.length-2*R,_.length=_.length-R,i.length=i.length-R}l(ke,"popStack");function te(){var R;return R=f.pop()||E.lex()||$t,typeof R!="number"&&(R instanceof Array&&(f=R,R=f.pop()),R=h.symbols_[R]||R),R}l(te,"lex");for(var w,Z,U,zt,lt={},_t,M,ee,At;;){if(Z=g[g.length-1],this.defaultActions[Z]?U=this.defaultActions[Z]:((w===null||typeof w=="undefined")&&(w=te()),U=pt[Z]&&pt[Z][w]),typeof U=="undefined"||!U.length||!U[0]){var Vt="";At=[];for(_t in pt[Z])this.terminals_[_t]&&_t>Se&&At.push("'"+this.terminals_[_t]+"'");E.showPosition?Vt="Parse error on line "+(St+1)+`: `+E.showPosition()+` Expecting `+At.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Vt="Parse error on line "+(St+1)+": Unexpected "+(w==$t?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Vt,{text:E.match,token:this.terminals_[w]||w,line:E.yylineno,loc:Dt,expected:At})}if(U[0]instanceof Array&&U.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z+", token: "+w);switch(U[0]){case 1:g.push(w),_.push(E.yytext),i.push(E.yylloc),g.push(U[1]),w=null,Jt=E.yyleng,s=E.yytext,St=E.yylineno,Dt=E.yylloc;break;case 2:if(M=this.productions_[U[1]][1],lt.$=_[_.length-M],lt._$={first_line:i[i.length-(M||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(M||1)].first_column,last_column:i[i.length-1].last_column},Ae&&(lt._$.range=[i[i.length-(M||1)].range[0],i[i.length-1].range[1]]),zt=this.performAction.apply(lt,[s,Jt,St,K.yy,U[1],_,i].concat(_e)),typeof zt!="undefined")return zt;M&&(g=g.slice(0,-1*M*2),_=_.slice(0,-1*M),i=i.slice(0,-1*M)),g.push(this.productions_[U[1]][0]),_.push(lt.$),i.push(lt._$),ee=pt[g[g.length-2]][g[g.length-1]],g.push(ee);break;case 3:return!0}}return!0},"parse")},be=function(){var j={EOF:1,parseError:l(function(h,g){if(this.yy.parser)this.yy.parser.parseError(h,g);else throw new Error(h)},"parseError"),setInput:l(function(r,h){return this.yy=h||this.yy||{},this._input=r,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:l(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var h=r.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:l(function(r){var h=r.length,g=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var f=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),g.length-1&&(this.yylineno-=g.length-1);var _=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:g?(g.length===f.length?this.yylloc.first_column:0)+f[f.length-g.length].length-g[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(r){this.unput(this.match.slice(r))},"less"),pastInput:l(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var r=this.pastInput(),h=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/requirementDiagram-FPZB6IJI-BDKUJLsh.js b/pr-preview/pr-459/assets/requirementDiagram-FPZB6IJI-CwjdyFeh.js similarity index 98% rename from pr-preview/pr-459/assets/requirementDiagram-FPZB6IJI-BDKUJLsh.js rename to pr-preview/pr-459/assets/requirementDiagram-FPZB6IJI-CwjdyFeh.js index 8d5e4a081..fdf056e3f 100644 --- a/pr-preview/pr-459/assets/requirementDiagram-FPZB6IJI-BDKUJLsh.js +++ b/pr-preview/pr-459/assets/requirementDiagram-FPZB6IJI-CwjdyFeh.js @@ -1,4 +1,4 @@ -import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,t as Ue,j as ce,k as Be,a2 as Qe,e as Te}from"./Using existing ones-Dhq84SWT.js";import{G as He}from"./graph-CTYIQWTo.js";import{l as We}from"./layout-nu6vrpop.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc=="undefined"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k=="undefined")&&(k=Se()),x=K[M]&&K[M][k]),typeof x=="undefined"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: +import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,t as Ue,j as ce,k as Be,a2 as Qe,e as Te}from"./Using existing ones-B8pwVpRB.js";import{G as He}from"./graph-BXEtUiHV.js";import{l as We}from"./layout-DzKhK8C3.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc=="undefined"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k=="undefined")&&(k=Se()),x=K[M]&&K[M][k]),typeof x=="undefined"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: `+m.showPosition()+` Expecting `+re.join(", ")+", got '"+(this.terminals_[k]||k)+"'":oe="Parse error on line "+(te+1)+": Unexpected "+(k==be?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(oe,{text:m.match,token:this.terminals_[k]||k,line:m.yylineno,loc:ae,expected:re})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+k);switch(x[0]){case 1:l.push(k),f.push(m.yytext),s.push(m.yylloc),l.push(x[1]),k=null,Ie=m.yyleng,E=m.yytext,te=m.yylineno,ae=m.yylloc;break;case 2:if(V=this.productions_[x[1]][1],H.$=f[f.length-V],H._$={first_line:s[s.length-(V||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(V||1)].first_column,last_column:s[s.length-1].last_column},Ce&&(H._$.range=[s[s.length-(V||1)].range[0],s[s.length-1].range[1]]),le=this.performAction.apply(H,[E,Ie,te,C.yy,x[1],f,s].concat(Oe)),typeof le!="undefined")return le;V&&(l=l.slice(0,-1*V*2),f=f.slice(0,-1*V),s=s.slice(0,-1*V)),l.push(this.productions_[x[1]][0]),f.push(H.$),s.push(H._$),ke=K[l[l.length-2]][l[l.length-1]],l.push(ke);break;case 3:return!0}}return!0},"parse")},$e=function(){var $={EOF:1,parseError:r(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:r(function(i,a){return this.yy=a||this.yy||{},this._input=i,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:r(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r(function(i){var a=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=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),l.length-1&&(this.yylineno-=l.length-1);var f=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:l?(l.length===n.length?this.yylloc.first_column:0)+n[n.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/sankeyDiagram-KMMQDL5K-BuUc1aK7.js b/pr-preview/pr-459/assets/sankeyDiagram-KMMQDL5K-BvEriBNd.js similarity index 99% rename from pr-preview/pr-459/assets/sankeyDiagram-KMMQDL5K-BuUc1aK7.js rename to pr-preview/pr-459/assets/sankeyDiagram-KMMQDL5K-BvEriBNd.js index 4fff62ac8..efc79e04e 100644 --- a/pr-preview/pr-459/assets/sankeyDiagram-KMMQDL5K-BuUc1aK7.js +++ b/pr-preview/pr-459/assets/sankeyDiagram-KMMQDL5K-BvEriBNd.js @@ -1,4 +1,4 @@ -import{_ as g,d as lt,g as _t,s as xt,b as vt,c as bt,r as wt,q as St,t as Lt,e as Et,p as At,j as H,aa as Tt}from"./Using existing ones-Dhq84SWT.js";import{o as Mt}from"./ordinal-Cboi1Yqb.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./init-Gi6I4Gst.js";function Nt(t){for(var i=t.length/6|0,s=new Array(i),l=0;l=l)&&(s=l);else{let l=-1;for(let h of t)(h=i(h,++l,t))!=null&&(s=h)&&(s=h)}return s}function gt(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s>l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let h of t)(h=i(h,++l,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}function nt(t,i){let s=0;if(i===void 0)for(let l of t)(l=+l)&&(s+=l);else{let l=-1;for(let h of t)(h=+i(h,++l,t))&&(s+=h)}return s}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,i){return i-1-t.height}function mt(t,i){return t.sourceLinks.length?t.depth:i-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?gt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,i){return Q(t.source,i.source)||t.index-i.index}function ht(t,i){return Q(t.target,i.target)||t.index-i.index}function Q(t,i){return t.y0-i.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}function yt({nodes:t}){for(const i of t){let s=i.y0,l=s;for(const h of i.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of i.targetLinks)h.y1=l+h.width/2,l+=h.width}}function Bt(){let t=0,i=0,s=1,l=1,h=24,d=8,p,k=jt,o=mt,a,c,_=zt,x=$t,y=6;function v(){const n={nodes:_.apply(null,arguments),links:x.apply(null,arguments)};return T(n),A(n),M(n),P(n),w(n),yt(n),n}v.update=function(n){return yt(n),n},v.nodeId=function(n){return arguments.length?(k=typeof n=="function"?n:X(n),v):k},v.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:X(n),v):o},v.nodeSort=function(n){return arguments.length?(a=n,v):a},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(d=p=+n,v):d},v.nodes=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),v):_},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),v):x},v.linkSort=function(n){return arguments.length?(c=n,v):c},v.size=function(n){return arguments.length?(t=i=0,s=+n[0],l=+n[1],v):[s-t,l-i]},v.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],l=+n[1][1],v):[[t,i],[s,l]]},v.iterations=function(n){return arguments.length?(y=+n,v):y};function T({nodes:n,links:f}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((e,r)=>[k(e,r,n),e]));for(const[e,r]of f.entries()){r.index=e;let{source:m,target:b}=r;typeof m!="object"&&(m=r.source=ft(u,m)),typeof b!="object"&&(b=r.target=ft(u,b)),m.sourceLinks.push(r),b.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(c),r.sort(c)}function A({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function M({nodes:n}){const f=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const m of u){m.depth=r;for(const{target:b}of m.sourceLinks)e.add(b)}if(++r>f)throw new Error("circular link");u=e,e=new Set}}function P({nodes:n}){const f=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const m of u){m.height=r;for(const{source:b}of m.targetLinks)e.add(b)}if(++r>f)throw new Error("circular link");u=e,e=new Set}}function D({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(s-t-h)/(f-1),e=new Array(f);for(const r of n){const m=Math.max(0,Math.min(f-1,Math.floor(o.call(null,r,f))));r.layer=m,r.x0=t+m*u,r.x1=r.x0+h,e[m]?e[m].push(r):e[m]=[r]}if(a)for(const r of e)r.sort(a);return e}function B(n){const f=gt(n,u=>(l-i-(u.length-1)*p)/nt(u,it));for(const u of n){let e=i;for(const r of u){r.y0=e,r.y1=e+r.value*f,e=r.y1+p;for(const m of r.sourceLinks)m.width=m.value*f}e=(l-e+p)/(u.length+1);for(let r=0;ru.length)-1)),B(f);for(let u=0;u0))continue;let W=(L/V-b.y0)*f;b.y0+=W,b.y1+=W,z(b)}a===void 0&&m.sort(Q),C(m,u)}}function j(n,f,u){for(let e=n.length,r=e-2;r>=0;--r){const m=n[r];for(const b of m){let L=0,V=0;for(const{target:U,value:et}of b.sourceLinks){let G=et*(U.layer-b.layer);L+=E(b,U)*G,V+=G}if(!(V>0))continue;let W=(L/V-b.y0)*f;b.y0+=W,b.y1+=W,z(b)}a===void 0&&m.sort(Q),C(m,u)}}function C(n,f){const u=n.length>>1,e=n[u];R(n,e.y0-p,u-1,f),O(n,e.y1+p,u+1,f),R(n,l,n.length-1,f),O(n,i,0,f)}function O(n,f,u,e){for(;u1e-6&&(r.y0+=m,r.y1+=m),f=r.y1+p}}function R(n,f,u,e){for(;u>=0;--u){const r=n[u],m=(r.y1-f)*e;m>1e-6&&(r.y0-=m,r.y1-=m),f=r.y0-p}}function z({sourceLinks:n,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function S(n){if(c===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function N(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;u+=r+p}for(const{source:e,width:r}of f.targetLinks){if(e===n)break;u-=r}return u}function E(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:e,width:r}of f.targetLinks){if(e===n)break;u+=r+p}for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;u-=r}return u}return v}var rt=Math.PI,st=2*rt,F=1e-6,Rt=st-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},quadraticCurveTo:function(t,i,s,l){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+l)},bezierCurveTo:function(t,i,s,l,h,d){this._+="C"+ +t+","+ +i+","+ +s+","+ +l+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,i,s,l,h){t=+t,i=+i,s=+s,l=+l,h=+h;var d=this._x1,p=this._y1,k=s-t,o=l-i,a=d-t,c=p-i,_=a*a+c*c;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(_>F)if(!(Math.abs(c*k-o*a)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var x=s-d,y=l-p,v=k*k+o*o,T=x*x+y*y,A=Math.sqrt(v),M=Math.sqrt(_),P=h*Math.tan((rt-Math.acos((v+_-T)/(2*A*M)))/2),D=P/M,B=P/A;Math.abs(D-1)>F&&(this._+="L"+(t+D*a)+","+(i+D*c)),this._+="A"+h+","+h+",0,0,"+ +(c*x>a*y)+","+(this._x1=t+B*k)+","+(this._y1=i+B*o)}},arc:function(t,i,s,l,h,d){t=+t,i=+i,s=+s,d=!!d;var p=s*Math.cos(l),k=s*Math.sin(l),o=t+p,a=i+k,c=1^d,_=d?l-h:h-l;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+a:(Math.abs(this._x1-o)>F||Math.abs(this._y1-a)>F)&&(this._+="L"+o+","+a),s&&(_<0&&(_=_%st+st),_>Rt?this._+="A"+s+","+s+",0,1,"+c+","+(t-p)+","+(i-k)+"A"+s+","+s+",0,1,"+c+","+(this._x1=o)+","+(this._y1=a):_>F&&(this._+="A"+s+","+s+",0,"+ +(_>=rt)+","+c+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=i+s*Math.sin(h))))},rect:function(t,i,s,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +l+"h"+-s+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var i=Ut,s=Gt,l=Vt,h=Ft,d=null;function p(){var k,o=Wt.call(arguments),a=i.apply(this,o),c=s.apply(this,o);if(d||(d=k=kt()),t(d,+l.apply(this,(o[0]=a,o)),+h.apply(this,o),+l.apply(this,(o[0]=c,o)),+h.apply(this,o)),k)return d=null,k+""||null}return p.source=function(k){return arguments.length?(i=k,p):i},p.target=function(k){return arguments.length?(s=k,p):s},p.x=function(k){return arguments.length?(l=typeof k=="function"?k:dt(+k),p):l},p.y=function(k){return arguments.length?(h=typeof k=="function"?k:dt(+k),p):h},p.context=function(k){return arguments.length?(d=k==null?null:k,p):d},p}function qt(t,i,s,l,h){t.moveTo(i,s),t.bezierCurveTo(i=(i+l)/2,s,i,h,l,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=g(function(k,o,a,c){for(a=a||{},c=k.length;c--;a[k[c]]=o);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],h={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:g(function(o,a,c,_,x,y,v){var T=y.length-1;switch(x){case 7:const A=_.findOrCreateNode(y[T-4].trim().replaceAll('""','"')),M=_.findOrCreateNode(y[T-2].trim().replaceAll('""','"')),P=parseFloat(y[T].trim());_.addLink(A,M,P);break;case 8:case 9:case 11:this.$=y[T];break;case 10:this.$=y[T-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:g(function(o,a){if(a.recoverable)this.trace(o);else{var c=new Error(o);throw c.hash=a,c}},"parseError"),parse:g(function(o){var a=this,c=[0],_=[],x=[null],y=[],v=this.table,T="",A=0,M=0,P=2,D=1,B=y.slice.call(arguments,1),w=Object.create(this.lexer),I={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(I.yy[j]=this.yy[j]);w.setInput(o,I.yy),I.yy.lexer=w,I.yy.parser=this,typeof w.yylloc=="undefined"&&(w.yylloc={});var C=w.yylloc;y.push(C);var O=w.options&&w.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(L){c.length=c.length-2*L,x.length=x.length-L,y.length=y.length-L}g(R,"popStack");function z(){var L;return L=_.pop()||w.lex()||D,typeof L!="number"&&(L instanceof Array&&(_=L,L=_.pop()),L=a.symbols_[L]||L),L}g(z,"lex");for(var S,N,E,n,f={},u,e,r,m;;){if(N=c[c.length-1],this.defaultActions[N]?E=this.defaultActions[N]:((S===null||typeof S=="undefined")&&(S=z()),E=v[N]&&v[N][S]),typeof E=="undefined"||!E.length||!E[0]){var b="";m=[];for(u in v[N])this.terminals_[u]&&u>P&&m.push("'"+this.terminals_[u]+"'");w.showPosition?b="Parse error on line "+(A+1)+`: +import{_ as g,d as lt,g as _t,s as xt,b as vt,c as bt,r as wt,q as St,t as Lt,e as Et,p as At,j as H,aa as Tt}from"./Using existing ones-B8pwVpRB.js";import{o as Mt}from"./ordinal-Cboi1Yqb.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./init-Gi6I4Gst.js";function Nt(t){for(var i=t.length/6|0,s=new Array(i),l=0;l=l)&&(s=l);else{let l=-1;for(let h of t)(h=i(h,++l,t))!=null&&(s=h)&&(s=h)}return s}function gt(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s>l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let h of t)(h=i(h,++l,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}function nt(t,i){let s=0;if(i===void 0)for(let l of t)(l=+l)&&(s+=l);else{let l=-1;for(let h of t)(h=+i(h,++l,t))&&(s+=h)}return s}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,i){return i-1-t.height}function mt(t,i){return t.sourceLinks.length?t.depth:i-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?gt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,i){return Q(t.source,i.source)||t.index-i.index}function ht(t,i){return Q(t.target,i.target)||t.index-i.index}function Q(t,i){return t.y0-i.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}function yt({nodes:t}){for(const i of t){let s=i.y0,l=s;for(const h of i.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of i.targetLinks)h.y1=l+h.width/2,l+=h.width}}function Bt(){let t=0,i=0,s=1,l=1,h=24,d=8,p,k=jt,o=mt,a,c,_=zt,x=$t,y=6;function v(){const n={nodes:_.apply(null,arguments),links:x.apply(null,arguments)};return T(n),A(n),M(n),P(n),w(n),yt(n),n}v.update=function(n){return yt(n),n},v.nodeId=function(n){return arguments.length?(k=typeof n=="function"?n:X(n),v):k},v.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:X(n),v):o},v.nodeSort=function(n){return arguments.length?(a=n,v):a},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(d=p=+n,v):d},v.nodes=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),v):_},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),v):x},v.linkSort=function(n){return arguments.length?(c=n,v):c},v.size=function(n){return arguments.length?(t=i=0,s=+n[0],l=+n[1],v):[s-t,l-i]},v.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],l=+n[1][1],v):[[t,i],[s,l]]},v.iterations=function(n){return arguments.length?(y=+n,v):y};function T({nodes:n,links:f}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((e,r)=>[k(e,r,n),e]));for(const[e,r]of f.entries()){r.index=e;let{source:m,target:b}=r;typeof m!="object"&&(m=r.source=ft(u,m)),typeof b!="object"&&(b=r.target=ft(u,b)),m.sourceLinks.push(r),b.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(c),r.sort(c)}function A({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function M({nodes:n}){const f=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const m of u){m.depth=r;for(const{target:b}of m.sourceLinks)e.add(b)}if(++r>f)throw new Error("circular link");u=e,e=new Set}}function P({nodes:n}){const f=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const m of u){m.height=r;for(const{source:b}of m.targetLinks)e.add(b)}if(++r>f)throw new Error("circular link");u=e,e=new Set}}function D({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(s-t-h)/(f-1),e=new Array(f);for(const r of n){const m=Math.max(0,Math.min(f-1,Math.floor(o.call(null,r,f))));r.layer=m,r.x0=t+m*u,r.x1=r.x0+h,e[m]?e[m].push(r):e[m]=[r]}if(a)for(const r of e)r.sort(a);return e}function B(n){const f=gt(n,u=>(l-i-(u.length-1)*p)/nt(u,it));for(const u of n){let e=i;for(const r of u){r.y0=e,r.y1=e+r.value*f,e=r.y1+p;for(const m of r.sourceLinks)m.width=m.value*f}e=(l-e+p)/(u.length+1);for(let r=0;ru.length)-1)),B(f);for(let u=0;u0))continue;let W=(L/V-b.y0)*f;b.y0+=W,b.y1+=W,z(b)}a===void 0&&m.sort(Q),C(m,u)}}function j(n,f,u){for(let e=n.length,r=e-2;r>=0;--r){const m=n[r];for(const b of m){let L=0,V=0;for(const{target:U,value:et}of b.sourceLinks){let G=et*(U.layer-b.layer);L+=E(b,U)*G,V+=G}if(!(V>0))continue;let W=(L/V-b.y0)*f;b.y0+=W,b.y1+=W,z(b)}a===void 0&&m.sort(Q),C(m,u)}}function C(n,f){const u=n.length>>1,e=n[u];R(n,e.y0-p,u-1,f),O(n,e.y1+p,u+1,f),R(n,l,n.length-1,f),O(n,i,0,f)}function O(n,f,u,e){for(;u1e-6&&(r.y0+=m,r.y1+=m),f=r.y1+p}}function R(n,f,u,e){for(;u>=0;--u){const r=n[u],m=(r.y1-f)*e;m>1e-6&&(r.y0-=m,r.y1-=m),f=r.y0-p}}function z({sourceLinks:n,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function S(n){if(c===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function N(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;u+=r+p}for(const{source:e,width:r}of f.targetLinks){if(e===n)break;u-=r}return u}function E(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:e,width:r}of f.targetLinks){if(e===n)break;u+=r+p}for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;u-=r}return u}return v}var rt=Math.PI,st=2*rt,F=1e-6,Rt=st-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},quadraticCurveTo:function(t,i,s,l){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+l)},bezierCurveTo:function(t,i,s,l,h,d){this._+="C"+ +t+","+ +i+","+ +s+","+ +l+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,i,s,l,h){t=+t,i=+i,s=+s,l=+l,h=+h;var d=this._x1,p=this._y1,k=s-t,o=l-i,a=d-t,c=p-i,_=a*a+c*c;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(_>F)if(!(Math.abs(c*k-o*a)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var x=s-d,y=l-p,v=k*k+o*o,T=x*x+y*y,A=Math.sqrt(v),M=Math.sqrt(_),P=h*Math.tan((rt-Math.acos((v+_-T)/(2*A*M)))/2),D=P/M,B=P/A;Math.abs(D-1)>F&&(this._+="L"+(t+D*a)+","+(i+D*c)),this._+="A"+h+","+h+",0,0,"+ +(c*x>a*y)+","+(this._x1=t+B*k)+","+(this._y1=i+B*o)}},arc:function(t,i,s,l,h,d){t=+t,i=+i,s=+s,d=!!d;var p=s*Math.cos(l),k=s*Math.sin(l),o=t+p,a=i+k,c=1^d,_=d?l-h:h-l;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+a:(Math.abs(this._x1-o)>F||Math.abs(this._y1-a)>F)&&(this._+="L"+o+","+a),s&&(_<0&&(_=_%st+st),_>Rt?this._+="A"+s+","+s+",0,1,"+c+","+(t-p)+","+(i-k)+"A"+s+","+s+",0,1,"+c+","+(this._x1=o)+","+(this._y1=a):_>F&&(this._+="A"+s+","+s+",0,"+ +(_>=rt)+","+c+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=i+s*Math.sin(h))))},rect:function(t,i,s,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +l+"h"+-s+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var i=Ut,s=Gt,l=Vt,h=Ft,d=null;function p(){var k,o=Wt.call(arguments),a=i.apply(this,o),c=s.apply(this,o);if(d||(d=k=kt()),t(d,+l.apply(this,(o[0]=a,o)),+h.apply(this,o),+l.apply(this,(o[0]=c,o)),+h.apply(this,o)),k)return d=null,k+""||null}return p.source=function(k){return arguments.length?(i=k,p):i},p.target=function(k){return arguments.length?(s=k,p):s},p.x=function(k){return arguments.length?(l=typeof k=="function"?k:dt(+k),p):l},p.y=function(k){return arguments.length?(h=typeof k=="function"?k:dt(+k),p):h},p.context=function(k){return arguments.length?(d=k==null?null:k,p):d},p}function qt(t,i,s,l,h){t.moveTo(i,s),t.bezierCurveTo(i=(i+l)/2,s,i,h,l,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=g(function(k,o,a,c){for(a=a||{},c=k.length;c--;a[k[c]]=o);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],h={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:g(function(o,a,c,_,x,y,v){var T=y.length-1;switch(x){case 7:const A=_.findOrCreateNode(y[T-4].trim().replaceAll('""','"')),M=_.findOrCreateNode(y[T-2].trim().replaceAll('""','"')),P=parseFloat(y[T].trim());_.addLink(A,M,P);break;case 8:case 9:case 11:this.$=y[T];break;case 10:this.$=y[T-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:g(function(o,a){if(a.recoverable)this.trace(o);else{var c=new Error(o);throw c.hash=a,c}},"parseError"),parse:g(function(o){var a=this,c=[0],_=[],x=[null],y=[],v=this.table,T="",A=0,M=0,P=2,D=1,B=y.slice.call(arguments,1),w=Object.create(this.lexer),I={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(I.yy[j]=this.yy[j]);w.setInput(o,I.yy),I.yy.lexer=w,I.yy.parser=this,typeof w.yylloc=="undefined"&&(w.yylloc={});var C=w.yylloc;y.push(C);var O=w.options&&w.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(L){c.length=c.length-2*L,x.length=x.length-L,y.length=y.length-L}g(R,"popStack");function z(){var L;return L=_.pop()||w.lex()||D,typeof L!="number"&&(L instanceof Array&&(_=L,L=_.pop()),L=a.symbols_[L]||L),L}g(z,"lex");for(var S,N,E,n,f={},u,e,r,m;;){if(N=c[c.length-1],this.defaultActions[N]?E=this.defaultActions[N]:((S===null||typeof S=="undefined")&&(S=z()),E=v[N]&&v[N][S]),typeof E=="undefined"||!E.length||!E[0]){var b="";m=[];for(u in v[N])this.terminals_[u]&&u>P&&m.push("'"+this.terminals_[u]+"'");w.showPosition?b="Parse error on line "+(A+1)+`: `+w.showPosition()+` Expecting `+m.join(", ")+", got '"+(this.terminals_[S]||S)+"'":b="Parse error on line "+(A+1)+": Unexpected "+(S==D?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(b,{text:w.match,token:this.terminals_[S]||S,line:w.yylineno,loc:C,expected:m})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+N+", token: "+S);switch(E[0]){case 1:c.push(S),x.push(w.yytext),y.push(w.yylloc),c.push(E[1]),S=null,M=w.yyleng,T=w.yytext,A=w.yylineno,C=w.yylloc;break;case 2:if(e=this.productions_[E[1]][1],f.$=x[x.length-e],f._$={first_line:y[y.length-(e||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(e||1)].first_column,last_column:y[y.length-1].last_column},O&&(f._$.range=[y[y.length-(e||1)].range[0],y[y.length-1].range[1]]),n=this.performAction.apply(f,[T,M,A,I.yy,E[1],x,y].concat(B)),typeof n!="undefined")return n;e&&(c=c.slice(0,-1*e*2),x=x.slice(0,-1*e),y=y.slice(0,-1*e)),c.push(this.productions_[E[1]][0]),x.push(f.$),y.push(f._$),r=v[c[c.length-2]][c[c.length-1]],c.push(r);break;case 3:return!0}}return!0},"parse")},d=function(){var k={EOF:1,parseError:g(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:g(function(o,a){return this.yy=a||this.yy||{},this._input=o,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:g(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var a=o.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:g(function(o){var a=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var _=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),c.length-1&&(this.yylineno-=c.length-1);var x=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:c?(c.length===_.length?this.yylloc.first_column:0)+_[_.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:g(function(o){this.unput(this.match.slice(o))},"less"),pastInput:g(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var o=this.pastInput(),a=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/sequenceDiagram-PQT5PN7B-BJBRwZh4.js b/pr-preview/pr-459/assets/sequenceDiagram-PQT5PN7B-CQsQokNg.js similarity index 99% rename from pr-preview/pr-459/assets/sequenceDiagram-PQT5PN7B-BJBRwZh4.js rename to pr-preview/pr-459/assets/sequenceDiagram-PQT5PN7B-CQsQokNg.js index 593e302b8..f3a498e50 100644 --- a/pr-preview/pr-459/assets/sequenceDiagram-PQT5PN7B-BJBRwZh4.js +++ b/pr-preview/pr-459/assets/sequenceDiagram-PQT5PN7B-CQsQokNg.js @@ -1,4 +1,4 @@ -var J=(t,e,n)=>new Promise((r,a)=>{var i=p=>{try{d(n.next(p))}catch(s){a(s)}},c=p=>{try{d(n.throw(p))}catch(s){a(s)}},d=p=>p.done?r(p.value):Promise.resolve(p.value).then(i,c);d((n=n.apply(t,e)).next())});import{g as Mt,a as Ut,d as Me,b as Re,c as De,e as Ce}from"./chunk-XVOYOM2C-B0PyF_8G.js";import{I as Oe}from"./chunk-2RYQ3QTB-Cnh_I8p8.js";import{_ as h,g as Be,r as Ve,q as Ye,d as it,s as ae,c as Fe,b as We,e as _,a3 as dt,a4 as It,u as F,l as Z,t as qe,i as Rt,a as ze,j as Nt,k as He,m as ie,a5 as ne,H as Wt,a6 as oe,a7 as Ke}from"./Using existing ones-Dhq84SWT.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var qt=function(){var t=h(function(ut,I,L,A){for(L=L||{},A=ut.length;A--;L[ut[A]]=I);return L},"o"),e=[1,2],n=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],d=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Q=[1,35],rt=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],j=[1,42],G=[1,43],$=[1,44],st=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],tt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],nt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Zt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ct=[68,69,70],ht=[1,122],Ot={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:h(function(I,L,A,b,D,l,vt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:d,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},t(y,[2,5]),{9:47,12:12,13:d,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(tt,a,{7:99}),t(tt,a,{7:100}),t(tt,a,{7:101}),t(nt,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Zt,a,{45:107,7:108}),t(tt,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ct,[2,69]),t(ct,[2,70]),t(ct,[2,71]),t(ct,[2,72]),t(ct,[2,73]),t(ct,[2,74]),t(ct,[2,75]),t(ct,[2,76]),t(ct,[2,77]),t(ct,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:ht},{56:123,81:ht},{56:124,81:ht},{56:125,81:ht},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,49:[1,136],50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,48:[1,138],50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,47:[1,141],50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:ht},{56:148,81:ht},{56:149,81:ht},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:ht},{56:158,81:ht},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(nt,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Zt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:h(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:h(function(I){var L=this,A=[0],b=[],D=[null],l=[],vt=this.table,u="",Pt=0,Qt=0,Ae=2,jt=1,ke=l.slice.call(arguments,1),W=Object.create(this.lexer),gt={yy:{}};for(var Bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Bt)&&(gt.yy[Bt]=this.yy[Bt]);W.setInput(I,gt.yy),gt.yy.lexer=W,gt.yy.parser=this,typeof W.yylloc=="undefined"&&(W.yylloc={});var Vt=W.yylloc;l.push(Vt);var Ne=W.options&&W.options.ranges;typeof gt.yy.parseError=="function"?this.parseError=gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(et){A.length=A.length-2*et,D.length=D.length-et,l.length=l.length-et}h(Se,"popStack");function $t(){var et;return et=b.pop()||W.lex()||jt,typeof et!="number"&&(et instanceof Array&&(b=et,et=b.pop()),et=L.symbols_[et]||et),et}h($t,"lex");for(var X,ft,at,Yt,Et={},At,pt,te,kt;;){if(ft=A[A.length-1],this.defaultActions[ft]?at=this.defaultActions[ft]:((X===null||typeof X=="undefined")&&(X=$t()),at=vt[ft]&&vt[ft][X]),typeof at=="undefined"||!at.length||!at[0]){var Ft="";kt=[];for(At in vt[ft])this.terminals_[At]&&At>Ae&&kt.push("'"+this.terminals_[At]+"'");W.showPosition?Ft="Parse error on line "+(Pt+1)+`: +var J=(t,e,n)=>new Promise((r,a)=>{var i=p=>{try{d(n.next(p))}catch(s){a(s)}},c=p=>{try{d(n.throw(p))}catch(s){a(s)}},d=p=>p.done?r(p.value):Promise.resolve(p.value).then(i,c);d((n=n.apply(t,e)).next())});import{g as Mt,a as Ut,d as Me,b as Re,c as De,e as Ce}from"./chunk-XVOYOM2C-Ci0V97zV.js";import{I as Oe}from"./chunk-2RYQ3QTB-OT2l6tiE.js";import{_ as h,g as Be,r as Ve,q as Ye,d as it,s as ae,c as Fe,b as We,e as _,a3 as dt,a4 as It,u as F,l as Z,t as qe,i as Rt,a as ze,j as Nt,k as He,m as ie,a5 as ne,H as Wt,a6 as oe,a7 as Ke}from"./Using existing ones-B8pwVpRB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var qt=function(){var t=h(function(ut,I,L,A){for(L=L||{},A=ut.length;A--;L[ut[A]]=I);return L},"o"),e=[1,2],n=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],d=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Q=[1,35],rt=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],j=[1,42],G=[1,43],$=[1,44],st=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],tt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],nt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Zt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ct=[68,69,70],ht=[1,122],Ot={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:h(function(I,L,A,b,D,l,vt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:d,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},t(y,[2,5]),{9:47,12:12,13:d,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(tt,a,{7:99}),t(tt,a,{7:100}),t(tt,a,{7:101}),t(nt,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Zt,a,{45:107,7:108}),t(tt,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ct,[2,69]),t(ct,[2,70]),t(ct,[2,71]),t(ct,[2,72]),t(ct,[2,73]),t(ct,[2,74]),t(ct,[2,75]),t(ct,[2,76]),t(ct,[2,77]),t(ct,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:ht},{56:123,81:ht},{56:124,81:ht},{56:125,81:ht},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,49:[1,136],50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,48:[1,138],50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,47:[1,141],50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{4:i,5:c,8:8,9:10,12:12,13:d,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Q,46:rt,50:K,52:U,53:q,54:R,59:j,60:G,61:$,62:st,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:ht},{56:148,81:ht},{56:149,81:ht},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:ht},{56:158,81:ht},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(nt,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Zt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:h(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:h(function(I){var L=this,A=[0],b=[],D=[null],l=[],vt=this.table,u="",Pt=0,Qt=0,Ae=2,jt=1,ke=l.slice.call(arguments,1),W=Object.create(this.lexer),gt={yy:{}};for(var Bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Bt)&&(gt.yy[Bt]=this.yy[Bt]);W.setInput(I,gt.yy),gt.yy.lexer=W,gt.yy.parser=this,typeof W.yylloc=="undefined"&&(W.yylloc={});var Vt=W.yylloc;l.push(Vt);var Ne=W.options&&W.options.ranges;typeof gt.yy.parseError=="function"?this.parseError=gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(et){A.length=A.length-2*et,D.length=D.length-et,l.length=l.length-et}h(Se,"popStack");function $t(){var et;return et=b.pop()||W.lex()||jt,typeof et!="number"&&(et instanceof Array&&(b=et,et=b.pop()),et=L.symbols_[et]||et),et}h($t,"lex");for(var X,ft,at,Yt,Et={},At,pt,te,kt;;){if(ft=A[A.length-1],this.defaultActions[ft]?at=this.defaultActions[ft]:((X===null||typeof X=="undefined")&&(X=$t()),at=vt[ft]&&vt[ft][X]),typeof at=="undefined"||!at.length||!at[0]){var Ft="";kt=[];for(At in vt[ft])this.terminals_[At]&&At>Ae&&kt.push("'"+this.terminals_[At]+"'");W.showPosition?Ft="Parse error on line "+(Pt+1)+`: `+W.showPosition()+` Expecting `+kt.join(", ")+", got '"+(this.terminals_[X]||X)+"'":Ft="Parse error on line "+(Pt+1)+": Unexpected "+(X==jt?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError(Ft,{text:W.match,token:this.terminals_[X]||X,line:W.yylineno,loc:Vt,expected:kt})}if(at[0]instanceof Array&&at.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ft+", token: "+X);switch(at[0]){case 1:A.push(X),D.push(W.yytext),l.push(W.yylloc),A.push(at[1]),X=null,Qt=W.yyleng,u=W.yytext,Pt=W.yylineno,Vt=W.yylloc;break;case 2:if(pt=this.productions_[at[1]][1],Et.$=D[D.length-pt],Et._$={first_line:l[l.length-(pt||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(pt||1)].first_column,last_column:l[l.length-1].last_column},Ne&&(Et._$.range=[l[l.length-(pt||1)].range[0],l[l.length-1].range[1]]),Yt=this.performAction.apply(Et,[u,Qt,Pt,gt.yy,at[1],D,l].concat(ke)),typeof Yt!="undefined")return Yt;pt&&(A=A.slice(0,-1*pt*2),D=D.slice(0,-1*pt),l=l.slice(0,-1*pt)),A.push(this.productions_[at[1]][0]),D.push(Et.$),l.push(Et._$),te=vt[A[A.length-2]][A[A.length-1]],A.push(te);break;case 3:return!0}}return!0},"parse")},Pe=function(){var ut={EOF:1,parseError:h(function(L,A){if(this.yy.parser)this.yy.parser.parseError(L,A);else throw new Error(L)},"parseError"),setInput:h(function(I,L){return this.yy=L||this.yy||{},this._input=I,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:h(function(){var I=this._input[0];this.yytext+=I,this.yyleng++,this.offset++,this.match+=I,this.matched+=I;var L=I.match(/(?:\r\n?|\n).*/g);return L?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),I},"input"),unput:h(function(I){var L=I.length,A=I.split(/(?:\r\n?|\n)/g);this._input=I+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var b=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),A.length-1&&(this.yylineno-=A.length-1);var D=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:A?(A.length===b.length?this.yylloc.first_column:0)+b[b.length-A.length].length-A[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(I){this.unput(this.match.slice(I))},"less"),pastInput:h(function(){var I=this.matched.substr(0,this.matched.length-this.match.length);return(I.length>20?"...":"")+I.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var I=this.match;return I.length<20&&(I+=this._input.substr(0,20-I.length)),(I.substr(0,20)+(I.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var I=this.pastInput(),L=new Array(I.length+1).join("-");return I+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/stateDiagram-TQSDS2D4-CWcHtJIu.js b/pr-preview/pr-459/assets/stateDiagram-TQSDS2D4-Cl4ZsN_a.js similarity index 95% rename from pr-preview/pr-459/assets/stateDiagram-TQSDS2D4-CWcHtJIu.js rename to pr-preview/pr-459/assets/stateDiagram-TQSDS2D4-Cl4ZsN_a.js index eaa286c47..5f8063150 100644 --- a/pr-preview/pr-459/assets/stateDiagram-TQSDS2D4-CWcHtJIu.js +++ b/pr-preview/pr-459/assets/stateDiagram-TQSDS2D4-Cl4ZsN_a.js @@ -1 +1 @@ -import{s as W,a as N,b as P}from"./chunk-2JBRQKJ5-OmpQal4x.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,a2 as U,a8 as F,u as O}from"./Using existing ones-Dhq84SWT.js";import"./chunk-YWFND7JV-CGN8NYbJ.js";import{G as J}from"./graph-CTYIQWTo.js";import{l as X}from"./layout-nu6vrpop.js";import"./chunk-DUMQOTYW-BjCuNlre.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-l1FN7L1W.js";import"./_basePickBy-CAErHIeS.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),K=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,h=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(h,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=h.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Q=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),h=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,h);c===h&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>h&&(l=(h-c)/2+o),Math.abs(a-B.x)h&&(l=a-(x-h)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=h&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let h=e.replace(/\r\n/g,"
");h=h.replace(/\n/g,"
");const a=h.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&Z(n,i),i.type==="default"&&i.descriptions.length>0&&K(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),h=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),h.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const p=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=p.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=p.node().getBBox().height,S.info("Title height",l,x)),B.push(p)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((p,w)=>p.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const h=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=h.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,h,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,h)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=p.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),p.setAttribute("x1",0-M+8),p.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},Et={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{Et as diagram}; +import{s as W,a as N,b as P}from"./chunk-2JBRQKJ5-C94RoRJd.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,a2 as U,a8 as F,u as O}from"./Using existing ones-B8pwVpRB.js";import"./chunk-YWFND7JV-DWdokYeW.js";import{G as J}from"./graph-BXEtUiHV.js";import{l as X}from"./layout-DzKhK8C3.js";import"./chunk-DUMQOTYW-0xJyfB2B.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";import"./_baseUniq-BCQ8vHUx.js";import"./_basePickBy-D_dsH4p9.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),K=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,h=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(h,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=h.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Q=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),h=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,h);c===h&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>h&&(l=(h-c)/2+o),Math.abs(a-B.x)h&&(l=a-(x-h)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=h&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let h=e.replace(/\r\n/g,"
");h=h.replace(/\n/g,"
");const a=h.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&Z(n,i),i.type==="default"&&i.descriptions.length>0&&K(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),h=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),h.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const p=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=p.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=p.node().getBBox().height,S.info("Title height",l,x)),B.push(p)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((p,w)=>p.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const h=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=h.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,h,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,h)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=p.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),p.setAttribute("x1",0-M+8),p.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},Et={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{Et as diagram}; diff --git a/pr-preview/pr-459/assets/stateDiagram-v2-J5TZWJW5-D3CsobR0.js b/pr-preview/pr-459/assets/stateDiagram-v2-J5TZWJW5-D3CsobR0.js deleted file mode 100644 index 164cb6edd..000000000 --- a/pr-preview/pr-459/assets/stateDiagram-v2-J5TZWJW5-D3CsobR0.js +++ /dev/null @@ -1 +0,0 @@ -import{s as a,a as r,c as e,b as i}from"./chunk-2JBRQKJ5-OmpQal4x.js";import{_ as o}from"./Using existing ones-Dhq84SWT.js";import"./chunk-YWFND7JV-CGN8NYbJ.js";import"./chunk-DUMQOTYW-BjCuNlre.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var v={parser:a,db:r,renderer:e,styles:i,init:o(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.clear()},"init")};export{v as diagram}; diff --git a/pr-preview/pr-459/assets/stateDiagram-v2-J5TZWJW5-y5xB3O-E.js b/pr-preview/pr-459/assets/stateDiagram-v2-J5TZWJW5-y5xB3O-E.js new file mode 100644 index 000000000..b3e0805ae --- /dev/null +++ b/pr-preview/pr-459/assets/stateDiagram-v2-J5TZWJW5-y5xB3O-E.js @@ -0,0 +1 @@ +import{s as a,a as r,c as e,b as i}from"./chunk-2JBRQKJ5-C94RoRJd.js";import{_ as o}from"./Using existing ones-B8pwVpRB.js";import"./chunk-YWFND7JV-DWdokYeW.js";import"./chunk-DUMQOTYW-0xJyfB2B.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var v={parser:a,db:r,renderer:e,styles:i,init:o(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.clear()},"init")};export{v as diagram}; diff --git a/pr-preview/pr-459/assets/syntaxhighlighter-BP7B2CQK-BZ5xStxe.js b/pr-preview/pr-459/assets/syntaxhighlighter-BP7B2CQK-PNVCeGmS.js similarity index 75% rename from pr-preview/pr-459/assets/syntaxhighlighter-BP7B2CQK-BZ5xStxe.js rename to pr-preview/pr-459/assets/syntaxhighlighter-BP7B2CQK-PNVCeGmS.js index ea2f1f206..9da7df06d 100644 --- a/pr-preview/pr-459/assets/syntaxhighlighter-BP7B2CQK-BZ5xStxe.js +++ b/pr-preview/pr-459/assets/syntaxhighlighter-BP7B2CQK-PNVCeGmS.js @@ -1 +1 @@ -import{S as d,c as l,s as f,a as h}from"./index-ZtHH_h5v.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./index-CNk6hRaE.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";export{d as SyntaxHighlighter,l as createCopyToClipboardFunction,f as default,h as supportedLanguages}; +import{S as d,c as l,s as f,a as h}from"./index-Bf2yN5NY.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./index-CNk6hRaE.js";import"./index-D-4E_f9W.js";import"./extends-CF3RwP-h.js";import"./index-DYADbu9O.js";import"./isNativeReflectConstruct-CYew8PZR.js";import"./_baseClone-BjCwUuX-.js";import"./_getPrototype-CAOE_2rY.js";import"./index-eS13M_ii.js";import"./index-DrFu-skq.js";export{d as SyntaxHighlighter,l as createCopyToClipboardFunction,f as default,h as supportedLanguages}; diff --git a/pr-preview/pr-459/assets/timeline-definition-KYQAIZUX-BFXxY8tX.js b/pr-preview/pr-459/assets/timeline-definition-KYQAIZUX-DF1ndmkz.js similarity index 99% rename from pr-preview/pr-459/assets/timeline-definition-KYQAIZUX-BFXxY8tX.js rename to pr-preview/pr-459/assets/timeline-definition-KYQAIZUX-DF1ndmkz.js index 4efbeb3ca..45032351b 100644 --- a/pr-preview/pr-459/assets/timeline-definition-KYQAIZUX-BFXxY8tX.js +++ b/pr-preview/pr-459/assets/timeline-definition-KYQAIZUX-DF1ndmkz.js @@ -1,4 +1,4 @@ -import{_ as s,ah as xt,ai as kt,t as vt,j as U,d as _t,l as T,aa as bt,aj as wt,ak as St,al as Et}from"./Using existing ones-Dhq84SWT.js";import{d as nt}from"./arc-uLSQqivB.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,E){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],E=this.table,k="",$=0,C=0,B=2,K=1,j=o.slice.call(arguments,1),v=Object.create(this.lexer),L={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(L.yy[R]=this.yy[R]);v.setInput(i,L.yy),L.yy.lexer=v,L.yy.parser=this,typeof v.yylloc=="undefined"&&(v.yylloc={});var F=v.yylloc;o.push(F);var A=v.options&&v.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function S(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(S,"popStack");function M(){var I;return I=u.pop()||v.lex()||K,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(M,"lex");for(var b,N,w,O,z={},G,P,et,q;;){if(N=d[d.length-1],this.defaultActions[N]?w=this.defaultActions[N]:((b===null||typeof b=="undefined")&&(b=M()),w=E[N]&&E[N][b]),typeof w=="undefined"||!w.length||!w[0]){var Q="";q=[];for(G in E[N])this.terminals_[G]&&G>B&&q.push("'"+this.terminals_[G]+"'");v.showPosition?Q="Parse error on line "+($+1)+`: +import{_ as s,ah as xt,ai as kt,t as vt,j as U,d as _t,l as T,aa as bt,aj as wt,ak as St,al as Et}from"./Using existing ones-B8pwVpRB.js";import{d as nt}from"./arc-Dt1b6oZs.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,E){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],E=this.table,k="",$=0,C=0,B=2,K=1,j=o.slice.call(arguments,1),v=Object.create(this.lexer),L={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(L.yy[R]=this.yy[R]);v.setInput(i,L.yy),L.yy.lexer=v,L.yy.parser=this,typeof v.yylloc=="undefined"&&(v.yylloc={});var F=v.yylloc;o.push(F);var A=v.options&&v.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function S(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(S,"popStack");function M(){var I;return I=u.pop()||v.lex()||K,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(M,"lex");for(var b,N,w,O,z={},G,P,et,q;;){if(N=d[d.length-1],this.defaultActions[N]?w=this.defaultActions[N]:((b===null||typeof b=="undefined")&&(b=M()),w=E[N]&&E[N][b]),typeof w=="undefined"||!w.length||!w[0]){var Q="";q=[];for(G in E[N])this.terminals_[G]&&G>B&&q.push("'"+this.terminals_[G]+"'");v.showPosition?Q="Parse error on line "+($+1)+`: `+v.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[b]||b)+"'":Q="Parse error on line "+($+1)+": Unexpected "+(b==K?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(Q,{text:v.match,token:this.terminals_[b]||b,line:v.yylineno,loc:F,expected:q})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+N+", token: "+b);switch(w[0]){case 1:d.push(b),y.push(v.yytext),o.push(v.yylloc),d.push(w[1]),b=null,C=v.yyleng,k=v.yytext,$=v.yylineno,F=v.yylloc;break;case 2:if(P=this.productions_[w[1]][1],z.$=y[y.length-P],z._$={first_line:o[o.length-(P||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(P||1)].first_column,last_column:o[o.length-1].last_column},A&&(z._$.range=[o[o.length-(P||1)].range[0],o[o.length-1].range[1]]),O=this.performAction.apply(z,[k,C,$,L.yy,w[1],y,o].concat(j)),typeof O!="undefined")return O;P&&(d=d.slice(0,-1*P*2),y=y.slice(0,-1*P),o=o.slice(0,-1*P)),d.push(this.productions_[w[1]][0]),y.push(z.$),o.push(z._$),et=E[d[d.length-2]][d[d.length-1]],d.push(et);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,d){if(this.yy.parser)this.yy.parser.parseError(a,d);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,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:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,d=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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),d.length-1&&(this.yylineno-=d.length-1);var y=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:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/pr-preview/pr-459/assets/xychartDiagram-LESROZAQ-BOosBHak.js b/pr-preview/pr-459/assets/xychartDiagram-LESROZAQ-DwFaHM6i.js similarity index 99% rename from pr-preview/pr-459/assets/xychartDiagram-LESROZAQ-BOosBHak.js rename to pr-preview/pr-459/assets/xychartDiagram-LESROZAQ-DwFaHM6i.js index 969574491..7a6278371 100644 --- a/pr-preview/pr-459/assets/xychartDiagram-LESROZAQ-BOosBHak.js +++ b/pr-preview/pr-459/assets/xychartDiagram-LESROZAQ-DwFaHM6i.js @@ -1,4 +1,4 @@ -import{_ as a,aD as ui,l as Ft,a2 as Bt,a1 as gi,H as At,G as Xt,F as xi,i as di,r as Nt,s as pi,g as fi,q as mi,b as yi,c as bi,t as Ai,K as wi,k as Ci}from"./Using existing ones-Dhq84SWT.js";import{i as Si}from"./init-Gi6I4Gst.js";import{o as _i}from"./ordinal-Cboi1Yqb.js";import{l as Wt}from"./linear-CaMgb0mo.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-CoIBAWfU.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++soi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: +import{_ as a,aD as ui,l as Ft,a2 as Bt,a1 as gi,H as At,G as Xt,F as xi,i as di,r as Nt,s as pi,g as fi,q as mi,b as yi,c as bi,t as Ai,K as wi,k as Ci}from"./Using existing ones-B8pwVpRB.js";import{i as Si}from"./init-Gi6I4Gst.js";import{o as _i}from"./ordinal-Cboi1Yqb.js";import{l as Wt}from"./linear-DOmJOZCQ.js";import"./jsx-runtime-BcCOBRXo.js";import"./index-CNk6hRaE.js";import"./index-BI4Okn8T.js";import"./iframe-DsjYyBKh.js";import"../sb-preview/runtime.js";import"./dayjs.min-KGLNs1IR.js";import"./index-DrFu-skq.js";import"./Serializer-OW4gUFyn.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++soi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: `+T.showPosition()+` Expecting `+rt.join(", ")+", got '"+(this.terminals_[P]||P)+"'":dt="Parse error on line "+(nt+1)+": Unexpected "+(P==It?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(dt,{text:T.match,token:this.terminals_[P]||P,line:T.yylineno,loc:gt,expected:rt})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+P);switch(M[0]){case 1:g.push(P),A.push(T.yytext),r.push(T.yylloc),g.push(M[1]),P=null,Et=T.yyleng,d=T.yytext,nt=T.yylineno,gt=T.yylloc;break;case 2:if(V=this.productions_[M[1]][1],z.$=A[A.length-V],z._$={first_line:r[r.length-(V||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(V||1)].first_column,last_column:r[r.length-1].last_column},li&&(z._$.range=[r[r.length-(V||1)].range[0],r[r.length-1].range[1]]),xt=this.performAction.apply(z,[d,Et,nt,W.yy,M[1],A,r].concat(hi)),typeof xt!="undefined")return xt;V&&(g=g.slice(0,-1*V*2),A=A.slice(0,-1*V),r=r.slice(0,-1*V)),g.push(this.productions_[M[1]][0]),A.push(z.$),r.push(z._$),Vt=N[g[g.length-2]][g[g.length-1]],g.push(Vt);break;case 3:return!0}}return!0},"parse")},ri=function(){var B={EOF:1,parseError:a(function(c,g){if(this.yy.parser)this.yy.parser.parseError(c,g);else throw new Error(c)},"parseError"),setInput:a(function(h,c){return this.yy=c||this.yy||{},this._input=h,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:a(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var c=h.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),h},"input"),unput:a(function(h){var c=h.length,g=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var x=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),g.length-1&&(this.yylineno-=g.length-1);var A=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:g?(g.length===x.length?this.yylloc.first_column:0)+x[x.length-g.length].length-g[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(h){this.unput(this.match.slice(h))},"less"),pastInput:a(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var h=this.pastInput(),c=new Array(h.length+1).join("-");return h+this.upcomingInput()+` diff --git a/pr-preview/pr-459/iframe.html b/pr-preview/pr-459/iframe.html index bce3802d6..c43e06e00 100644 --- a/pr-preview/pr-459/iframe.html +++ b/pr-preview/pr-459/iframe.html @@ -505,7 +505,7 @@ } - + diff --git a/pr-preview/pr-459/index.json b/pr-preview/pr-459/index.json index a2ba85183..650383a0b 100644 --- a/pr-preview/pr-459/index.json +++ b/pr-preview/pr-459/index.json @@ -1 +1 @@ -{"v":5,"entries":{"about-introduction--documentation":{"id":"about-introduction--documentation","title":"About/Introduction","name":"Documentation","importPath":"./docs/About/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"about-changelog--documentation":{"id":"about-changelog--documentation","title":"About/Changelog","name":"Documentation","importPath":"./docs/About/Changelog.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"about-faq--documentation":{"id":"about-faq--documentation","title":"About/FAQ","name":"Documentation","importPath":"./docs/About/FAQ.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"about-feedback--documentation":{"id":"about-feedback--documentation","title":"About/Feedback","name":"Documentation","importPath":"./docs/About/Feedback.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-introduction--documentation":{"id":"component-process-introduction--documentation","title":"Component Process/Introduction","name":"Documentation","importPath":"./docs/Component Process/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-components-using-components--documentation":{"id":"component-process-components-using-components--documentation","title":"Component Process/Components/Using components","name":"Documentation","importPath":"./docs/Component Process/Components/Using components.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-components-change-process--documentation":{"id":"component-process-components-change-process--documentation","title":"Component Process/Components/Change process","name":"Documentation","importPath":"./docs/Component Process/Components/Change process.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-candidate-components-introducing-new-ones--documentation":{"id":"component-process-candidate-components-introducing-new-ones--documentation","title":"Component Process/Candidate Components/Introducing new ones","name":"Documentation","importPath":"./docs/Component Process/Candidate Components/Introducing new ones.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-candidate-components-using-existing-ones--documentation":{"id":"component-process-candidate-components-using-existing-ones--documentation","title":"Component Process/Candidate Components/Using existing ones","name":"Documentation","importPath":"./docs/Component Process/Candidate Components/Using existing ones.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-candidate-components-promoting-to-a-component--documentation":{"id":"component-process-candidate-components-promoting-to-a-component--documentation","title":"Component Process/Candidate Components/Promoting to a component","name":"Documentation","importPath":"./docs/Component Process/Candidate Components/Promoting to a component.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-design-templates-introduction--documentation":{"id":"component-process-design-templates-introduction--documentation","title":"Component Process/Design Templates/Introduction","name":"Documentation","importPath":"./docs/Component Process/Design Templates/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-colors--documentation":{"id":"foundations-colors--documentation","title":"Foundations/Colors","name":"Documentation","importPath":"./docs/Foundations/Colors.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-typography--documentation":{"id":"foundations-typography--documentation","title":"Foundations/Typography","name":"Documentation","importPath":"./docs/Foundations/Typography.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-icons-how-to-use--documentation":{"id":"foundations-icons-how-to-use--documentation","title":"Foundations/Icons/How to use","name":"Documentation","importPath":"./docs/Foundations/Icons/How to use.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-icons-icon-library--documentation":{"id":"foundations-icons-icon-library--documentation","title":"Foundations/Icons/Icon Library","name":"Documentation","importPath":"./docs/Foundations/Icons/Icon Library.mdx","storiesImports":["./src/components/general/Icon/Icon.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"components-data-display-avatar--documentation":{"id":"components-data-display-avatar--documentation","title":"Components/Data Display/Avatar","name":"Documentation","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-avatar--primary":{"type":"story","id":"components-data-display-avatar--primary","name":"Primary","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--square":{"type":"story","id":"components-data-display-avatar--square","name":"Square","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--large":{"type":"story","id":"components-data-display-avatar--large","name":"Large","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--small":{"type":"story","id":"components-data-display-avatar--small","name":"Small","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--custom-sizes":{"type":"story","id":"components-data-display-avatar--custom-sizes","name":"Custom Sizes","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--custom-icon":{"type":"story","id":"components-data-display-avatar--custom-icon","name":"Custom Icon","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-basic":{"type":"story","id":"components-data-display-avatar--example-basic","name":"Example Basic","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-types":{"type":"story","id":"components-data-display-avatar--example-types","name":"Example Types","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-with-badge":{"type":"story","id":"components-data-display-avatar--example-with-badge","name":"Example With Badge","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-responsive":{"type":"story","id":"components-data-display-avatar--example-responsive","name":"Example Responsive","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-autoset-font-size":{"type":"story","id":"components-data-display-avatar--example-autoset-font-size","name":"Example Autoset Font Size","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--documentation":{"id":"components-data-display-badge--documentation","title":"Components/Data Display/Badge","name":"Documentation","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-badge--primary":{"type":"story","id":"components-data-display-badge--primary","name":"Primary","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--dot-badge":{"type":"story","id":"components-data-display-badge--dot-badge","name":"Dot Badge","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--small-size":{"type":"story","id":"components-data-display-badge--small-size","name":"Small Size","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--overflow-count":{"type":"story","id":"components-data-display-badge--overflow-count","name":"Overflow Count","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--custom-color":{"type":"story","id":"components-data-display-badge--custom-color","name":"Custom Color","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--custom-text":{"type":"story","id":"components-data-display-badge--custom-text","name":"Custom Text","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--hover-title":{"type":"story","id":"components-data-display-badge--hover-title","name":"Hover Title","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-basic":{"type":"story","id":"components-data-display-badge--example-basic","name":"Example Basic","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-standalone":{"type":"story","id":"components-data-display-badge--example-standalone","name":"Example Standalone","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-overflow-count":{"type":"story","id":"components-data-display-badge--example-overflow-count","name":"Example Overflow Count","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-dynamic":{"type":"story","id":"components-data-display-badge--example-dynamic","name":"Example Dynamic","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-offset":{"type":"story","id":"components-data-display-badge--example-offset","name":"Example Offset","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-status":{"type":"story","id":"components-data-display-badge--example-status","name":"Example Status","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-ribbon":{"type":"story","id":"components-data-display-badge--example-ribbon","name":"Example Ribbon","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-clickable":{"type":"story","id":"components-data-display-badge--example-clickable","name":"Example Clickable","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-colors":{"type":"story","id":"components-data-display-badge--example-colors","name":"Example Colors","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--documentation":{"id":"components-data-display-card--documentation","title":"Components/Data Display/Card","name":"Documentation","importPath":"./src/components/data-display/Card/Card.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-card--primary":{"type":"story","id":"components-data-display-card--primary","name":"Primary","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--small-size":{"type":"story","id":"components-data-display-card--small-size","name":"Small Size","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--no-border":{"type":"story","id":"components-data-display-card--no-border","name":"No Border","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--hoverable":{"type":"story","id":"components-data-display-card--hoverable","name":"Hoverable","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--loading":{"type":"story","id":"components-data-display-card--loading","name":"Loading","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--with-actions":{"type":"story","id":"components-data-display-card--with-actions","name":"With Actions","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--with-tabs":{"type":"story","id":"components-data-display-card--with-tabs","name":"With Tabs","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--with-cover":{"type":"story","id":"components-data-display-card--with-cover","name":"With Cover","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--custom-title":{"type":"story","id":"components-data-display-card--custom-title","name":"Custom Title","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--inner-style":{"type":"story","id":"components-data-display-card--inner-style","name":"Inner Style","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-meta":{"type":"story","id":"components-data-display-card--example-meta","name":"Example Meta","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-column":{"type":"story","id":"components-data-display-card--example-column","name":"Example Column","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-grid":{"type":"story","id":"components-data-display-card--example-grid","name":"Example Grid","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-loading":{"type":"story","id":"components-data-display-card--example-loading","name":"Example Loading","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-inner-card":{"type":"story","id":"components-data-display-card--example-inner-card","name":"Example Inner Card","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-with-tabs":{"type":"story","id":"components-data-display-card--example-with-tabs","name":"Example With Tabs","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-content-configuration":{"type":"story","id":"components-data-display-card--example-content-configuration","name":"Example Content Configuration","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--documentation":{"id":"components-data-display-collapse--documentation","title":"Components/Data Display/Collapse","name":"Documentation","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-collapse--primary":{"type":"story","id":"components-data-display-collapse--primary","name":"Primary","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--accordion-mode":{"type":"story","id":"components-data-display-collapse--accordion-mode","name":"Accordion Mode","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--with-active-panel":{"type":"story","id":"components-data-display-collapse--with-active-panel","name":"With Active Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--borderless-collapse":{"type":"story","id":"components-data-display-collapse--borderless-collapse","name":"Borderless Collapse","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--with-collapsible-headers":{"type":"story","id":"components-data-display-collapse--with-collapsible-headers","name":"With Collapsible Headers","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--with-custom-active-panel":{"type":"story","id":"components-data-display-collapse--with-custom-active-panel","name":"With Custom Active Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--destroy-inactive-panels":{"type":"story","id":"components-data-display-collapse--destroy-inactive-panels","name":"Destroy Inactive Panels","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-basic":{"type":"story","id":"components-data-display-collapse--example-basic","name":"Example Basic","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-size":{"type":"story","id":"components-data-display-collapse--example-size","name":"Example Size","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-accordion":{"type":"story","id":"components-data-display-collapse--example-accordion","name":"Example Accordion","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-nested-panel":{"type":"story","id":"components-data-display-collapse--example-nested-panel","name":"Example Nested Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-borderless":{"type":"story","id":"components-data-display-collapse--example-borderless","name":"Example Borderless","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-custom-panel":{"type":"story","id":"components-data-display-collapse--example-custom-panel","name":"Example Custom Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-no-arrow":{"type":"story","id":"components-data-display-collapse--example-no-arrow","name":"Example No Arrow","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-extra-node":{"type":"story","id":"components-data-display-collapse--example-extra-node","name":"Example Extra Node","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-ghost-collaps":{"type":"story","id":"components-data-display-collapse--example-ghost-collaps","name":"Example Ghost Collaps","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-collapsible":{"type":"story","id":"components-data-display-collapse--example-collapsible","name":"Example Collapsible","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--documentation":{"id":"components-data-display-descriptions--documentation","title":"Components/Data Display/Descriptions","name":"Documentation","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-descriptions--primary":{"type":"story","id":"components-data-display-descriptions--primary","name":"Primary","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--bordered":{"type":"story","id":"components-data-display-descriptions--bordered","name":"Bordered","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--vertical":{"type":"story","id":"components-data-display-descriptions--vertical","name":"Vertical","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--small":{"type":"story","id":"components-data-display-descriptions--small","name":"Small","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--custom-title":{"type":"story","id":"components-data-display-descriptions--custom-title","name":"Custom Title","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-extra":{"type":"story","id":"components-data-display-descriptions--with-extra","name":"With Extra","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-title-and-extra":{"type":"story","id":"components-data-display-descriptions--with-title-and-extra","name":"With Title And Extra","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-content-style":{"type":"story","id":"components-data-display-descriptions--with-content-style","name":"With Content Style","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-label-style":{"type":"story","id":"components-data-display-descriptions--with-label-style","name":"With Label Style","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--responsive-column":{"type":"story","id":"components-data-display-descriptions--responsive-column","name":"Responsive Column","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--example-table-look":{"type":"story","id":"components-data-display-descriptions--example-table-look","name":"Example Table Look","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--example-size":{"type":"story","id":"components-data-display-descriptions--example-size","name":"Example Size","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--example-responsive-descriptions":{"type":"story","id":"components-data-display-descriptions--example-responsive-descriptions","name":"Example Responsive Descriptions","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--documentation":{"id":"components-data-display-empty--documentation","title":"Components/Data Display/Empty","name":"Documentation","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-empty--primary":{"type":"story","id":"components-data-display-empty--primary","name":"Primary","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-description":{"type":"story","id":"components-data-display-empty--custom-description","name":"Custom Description","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-image-style":{"type":"story","id":"components-data-display-empty--custom-image-style","name":"Custom Image Style","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--no-image":{"type":"story","id":"components-data-display-empty--no-image","name":"No Image","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--alt-image":{"type":"story","id":"components-data-display-empty--alt-image","name":"Alt Image","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-description-and-image":{"type":"story","id":"components-data-display-empty--custom-description-and-image","name":"Custom Description And Image","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--no-description":{"type":"story","id":"components-data-display-empty--no-description","name":"No Description","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-image-and-style":{"type":"story","id":"components-data-display-empty--custom-image-and-style","name":"Custom Image And Style","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--no-image-and-no-description":{"type":"story","id":"components-data-display-empty--no-image-and-no-description","name":"No Image And No Description","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--example-global-empty":{"type":"story","id":"components-data-display-empty--example-global-empty","name":"Example Global Empty","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-image--documentation":{"id":"components-data-display-image--documentation","title":"Components/Data Display/Image","name":"Documentation","importPath":"./src/components/data-display/Image/Image.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-image--primary":{"type":"story","id":"components-data-display-image--primary","name":"Primary","title":"Components/Data Display/Image","importPath":"./src/components/data-display/Image/Image.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--documentation":{"id":"components-data-display-list--documentation","title":"Components/Data Display/List","name":"Documentation","importPath":"./src/components/data-display/List/List.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-list--primary":{"type":"story","id":"components-data-display-list--primary","name":"Primary","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--bordered-list":{"type":"story","id":"components-data-display-list--bordered-list","name":"Bordered List","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--vertical-layout":{"type":"story","id":"components-data-display-list--vertical-layout","name":"Vertical Layout","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--loading-indicator":{"type":"story","id":"components-data-display-list--loading-indicator","name":"Loading Indicator","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--custom-pagination":{"type":"story","id":"components-data-display-list--custom-pagination","name":"Custom Pagination","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--custom-grid":{"type":"story","id":"components-data-display-list--custom-grid","name":"Custom Grid","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--large-size-list":{"type":"story","id":"components-data-display-list--large-size-list","name":"Large Size List","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--custom-footer":{"type":"story","id":"components-data-display-list--custom-footer","name":"Custom Footer","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--no-split-under-list-item":{"type":"story","id":"components-data-display-list--no-split-under-list-item","name":"No Split Under List Item","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-popover--documentation":{"id":"components-data-display-popover--documentation","title":"Components/Data Display/Popover","name":"Documentation","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-popover--primary":{"type":"story","id":"components-data-display-popover--primary","name":"Primary","title":"Components/Data Display/Popover","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-popover--hover":{"type":"story","id":"components-data-display-popover--hover","name":"Hover","title":"Components/Data Display/Popover","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-popover--focus":{"type":"story","id":"components-data-display-popover--focus","name":"Focus","title":"Components/Data Display/Popover","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-segmented--documentation":{"id":"components-data-display-segmented--documentation","title":"Components/Data Display/Segmented","name":"Documentation","importPath":"./src/components/data-display/Segmented/Segmented.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-segmented--primary":{"type":"story","id":"components-data-display-segmented--primary","name":"Primary","title":"Components/Data Display/Segmented","importPath":"./src/components/data-display/Segmented/Segmented.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--documentation":{"id":"components-data-display-statistic--documentation","title":"Components/Data Display/Statistic","name":"Documentation","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-statistic--primary":{"type":"story","id":"components-data-display-statistic--primary","name":"Primary","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-decimal-separator":{"type":"story","id":"components-data-display-statistic--custom-decimal-separator","name":"Custom Decimal Separator","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-formatter":{"type":"story","id":"components-data-display-statistic--custom-formatter","name":"Custom Formatter","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-group-separator":{"type":"story","id":"components-data-display-statistic--custom-group-separator","name":"Custom Group Separator","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-loading":{"type":"story","id":"components-data-display-statistic--custom-loading","name":"Custom Loading","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-precision":{"type":"story","id":"components-data-display-statistic--custom-precision","name":"Custom Precision","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-prefix":{"type":"story","id":"components-data-display-statistic--custom-prefix","name":"Custom Prefix","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-suffix":{"type":"story","id":"components-data-display-statistic--custom-suffix","name":"Custom Suffix","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-title":{"type":"story","id":"components-data-display-statistic--custom-title","name":"Custom Title","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-value":{"type":"story","id":"components-data-display-statistic--custom-value","name":"Custom Value","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-value-style":{"type":"story","id":"components-data-display-statistic--custom-value-style","name":"Custom Value Style","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-basic":{"type":"story","id":"components-data-display-statistic--example-basic","name":"Example Basic","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-with-unit":{"type":"story","id":"components-data-display-statistic--example-with-unit","name":"Example With Unit","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-with-card":{"type":"story","id":"components-data-display-statistic--example-with-card","name":"Example With Card","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-with-countdown":{"type":"story","id":"components-data-display-statistic--example-with-countdown","name":"Example With Countdown","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tabs--documentation":{"id":"components-data-display-tabs--documentation","title":"Components/Data Display/Tabs","name":"Documentation","importPath":"./src/components/data-display/Tabs/Tabs.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-tabs--primary":{"type":"story","id":"components-data-display-tabs--primary","name":"Primary","title":"Components/Data Display/Tabs","importPath":"./src/components/data-display/Tabs/Tabs.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--documentation":{"id":"components-data-display-tag--documentation","title":"Components/Data Display/Tag","name":"Documentation","importPath":"./docs/components/Data Display/Tag/Documentation.mdx","storiesImports":["./src/components/data-display/Tag/Tag.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-display-tag--primary":{"type":"story","id":"components-data-display-tag--primary","name":"Primary","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-close-icon":{"type":"story","id":"components-data-display-tag--with-close-icon","name":"With Close Icon","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-color":{"type":"story","id":"components-data-display-tag--with-color","name":"With Color","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-icon":{"type":"story","id":"components-data-display-tag--with-icon","name":"With Icon","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--without-border":{"type":"story","id":"components-data-display-tag--without-border","name":"Without Border","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-on-close-callback":{"type":"story","id":"components-data-display-tag--with-on-close-callback","name":"With On Close Callback","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--example-checkable-tag-primary":{"type":"story","id":"components-data-display-tag--example-checkable-tag-primary","name":"Example Checkable Tag Primary","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-data-display-tag--example-colors":{"type":"story","id":"components-data-display-tag--example-colors","name":"Example Colors","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--example-status-tags":{"type":"story","id":"components-data-display-tag--example-status-tags","name":"Example Status Tags","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-timeline--documentation":{"id":"components-data-display-timeline--documentation","title":"Components/Data Display/Timeline","name":"Documentation","importPath":"./src/components/data-display/Timeline/Timeline.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-timeline--primary":{"type":"story","id":"components-data-display-timeline--primary","name":"Primary","title":"Components/Data Display/Timeline","importPath":"./src/components/data-display/Timeline/Timeline.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--documentation":{"id":"components-data-display-tooltip--documentation","title":"Components/Data Display/Tooltip","name":"Documentation","importPath":"./docs/components/Data Display/Tooltip/Documentation.mdx","storiesImports":["./src/components/data-display/Tooltip/Tooltip.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-display-tooltip--primary":{"type":"story","id":"components-data-display-tooltip--primary","name":"Primary","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--title":{"type":"story","id":"components-data-display-tooltip--title","name":"Title","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--color":{"type":"story","id":"components-data-display-tooltip--color","name":"Color","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--no-arrow":{"type":"story","id":"components-data-display-tooltip--no-arrow","name":"No Arrow","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--bottom-placement":{"type":"story","id":"components-data-display-tooltip--bottom-placement","name":"Bottom Placement","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--click-trigger":{"type":"story","id":"components-data-display-tooltip--click-trigger","name":"Click Trigger","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--always-open":{"type":"story","id":"components-data-display-tooltip--always-open","name":"Always Open","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--right-click":{"type":"story","id":"components-data-display-tooltip--right-click","name":"Right Click","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--click-with-on-change":{"type":"story","id":"components-data-display-tooltip--click-with-on-change","name":"Click With On Change","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--example-arrow-placements":{"type":"story","id":"components-data-display-tooltip--example-arrow-placements","name":"Example Arrow Placements","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--example-disabled":{"type":"story","id":"components-data-display-tooltip--example-disabled","name":"Example Disabled","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--example-auto-shift":{"type":"story","id":"components-data-display-tooltip--example-auto-shift","name":"Example Auto Shift","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tour--documentation":{"id":"components-data-display-tour--documentation","title":"Components/Data Display/Tour","name":"Documentation","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-tour--primary":{"type":"story","id":"components-data-display-tour--primary","name":"Primary","title":"Components/Data Display/Tour","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tour--example-placement":{"type":"story","id":"components-data-display-tour--example-placement","name":"Example Placement","title":"Components/Data Display/Tour","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tour--example-nav-logo":{"type":"story","id":"components-data-display-tour--example-nav-logo","name":"Example Nav Logo","title":"Components/Data Display/Tour","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tree--documentation":{"id":"components-data-display-tree--documentation","title":"Components/Data Display/Tree","name":"Documentation","importPath":"./src/components/data-display/Tree/Tree.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-tree--primary":{"type":"story","id":"components-data-display-tree--primary","name":"Primary","title":"Components/Data Display/Tree","importPath":"./src/components/data-display/Tree/Tree.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--documentation":{"id":"components-data-entry-autocomplete--documentation","title":"Components/Data Entry/AutoComplete","name":"Documentation","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-autocomplete--primary":{"type":"story","id":"components-data-entry-autocomplete--primary","name":"Primary","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--clear-button":{"type":"story","id":"components-data-entry-autocomplete--clear-button","name":"Clear Button","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--placeholder":{"type":"story","id":"components-data-entry-autocomplete--placeholder","name":"Placeholder","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--disabled":{"type":"story","id":"components-data-entry-autocomplete--disabled","name":"Disabled","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--not-found":{"type":"story","id":"components-data-entry-autocomplete--not-found","name":"Not Found","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--borderless":{"type":"story","id":"components-data-entry-autocomplete--borderless","name":"Borderless","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-basic":{"type":"story","id":"components-data-entry-autocomplete--example-basic","name":"Example Basic","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-customized":{"type":"story","id":"components-data-entry-autocomplete--example-customized","name":"Example Customized","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-customize-input":{"type":"story","id":"components-data-entry-autocomplete--example-customize-input","name":"Example Customize Input","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-non-case-sensitive":{"type":"story","id":"components-data-entry-autocomplete--example-non-case-sensitive","name":"Example Non Case Sensitive","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-lookup-patterns-certain-category":{"type":"story","id":"components-data-entry-autocomplete--example-lookup-patterns-certain-category","name":"Example Lookup Patterns Certain Category","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-lookup-patterns-un-certain-category":{"type":"story","id":"components-data-entry-autocomplete--example-lookup-patterns-un-certain-category","name":"Example Lookup Patterns Un Certain Category","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-status":{"type":"story","id":"components-data-entry-autocomplete--example-status","name":"Example Status","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-clear-button":{"type":"story","id":"components-data-entry-autocomplete--example-clear-button","name":"Example Clear Button","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--documentation":{"id":"components-data-entry-cascader--documentation","title":"Components/Data Entry/Cascader","name":"Documentation","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-cascader--primary":{"type":"story","id":"components-data-entry-cascader--primary","name":"Primary","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--allow-clear":{"type":"story","id":"components-data-entry-cascader--allow-clear","name":"Allow Clear","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--auto-focus":{"type":"story","id":"components-data-entry-cascader--auto-focus","name":"Auto Focus","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--hover-expand":{"type":"story","id":"components-data-entry-cascader--hover-expand","name":"Hover Expand","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--no-border":{"type":"story","id":"components-data-entry-cascader--no-border","name":"No Border","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--multiple-cascader":{"type":"story","id":"components-data-entry-cascader--multiple-cascader","name":"Multiple Cascader","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--search-icon":{"type":"story","id":"components-data-entry-cascader--search-icon","name":"Search Icon","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--custom-dropdown-style":{"type":"story","id":"components-data-entry-cascader--custom-dropdown-style","name":"Custom Dropdown Style","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--suffix-icon":{"type":"story","id":"components-data-entry-cascader--suffix-icon","name":"Suffix Icon","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--display-render":{"type":"story","id":"components-data-entry-cascader--display-render","name":"Display Render","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--disabled":{"type":"story","id":"components-data-entry-cascader--disabled","name":"Disabled","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--disabled-option":{"type":"story","id":"components-data-entry-cascader--disabled-option","name":"Disabled Option","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--default-value":{"type":"story","id":"components-data-entry-cascader--default-value","name":"Default Value","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--example-custom-trigger":{"type":"story","id":"components-data-entry-cascader--example-custom-trigger","name":"Example Custom Trigger","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--example-lazy-load":{"type":"story","id":"components-data-entry-cascader--example-lazy-load","name":"Example Lazy Load","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--documentation":{"id":"components-data-entry-checkbox--documentation","title":"Components/Data Entry/Checkbox","name":"Documentation","importPath":"./docs/components/Data Entry/Checkbox/Documentation.mdx","storiesImports":["./src/components/data-entry/Checkbox/Checkbox.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-entry-checkbox--primary":{"type":"story","id":"components-data-entry-checkbox--primary","name":"Primary","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--with-auto-focus":{"type":"story","id":"components-data-entry-checkbox--with-auto-focus","name":"With Auto Focus","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--default-checked":{"type":"story","id":"components-data-entry-checkbox--default-checked","name":"Default Checked","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--disabled":{"type":"story","id":"components-data-entry-checkbox--disabled","name":"Disabled","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--indeterminate":{"type":"story","id":"components-data-entry-checkbox--indeterminate","name":"Indeterminate","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--example-check-all":{"type":"story","id":"components-data-entry-checkbox--example-check-all","name":"Example Check All","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-data-entry-date-picker--documentation":{"id":"components-data-entry-date-picker--documentation","title":"Components/Data Entry/Date Picker","name":"Documentation","importPath":"./docs/components/Data Entry/Date Picker/Documentation.mdx","storiesImports":["./src/components/data-entry/DatePicker/DatePicker.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-entry-date-picker--date-picker-with-disabled-years":{"type":"story","id":"components-data-entry-date-picker--date-picker-with-disabled-years","name":"Date Picker With Disabled Years","title":"Components/Data Entry/Date Picker","importPath":"./src/components/data-entry/DatePicker/DatePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-date-picker--primary":{"type":"story","id":"components-data-entry-date-picker--primary","name":"Primary","title":"Components/Data Entry/Date Picker","importPath":"./src/components/data-entry/DatePicker/DatePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-date-picker--with-date-picker-with-disabled-years":{"type":"story","id":"components-data-entry-date-picker--with-date-picker-with-disabled-years","name":"With Date Picker With Disabled Years","title":"Components/Data Entry/Date Picker","importPath":"./src/components/data-entry/DatePicker/DatePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-form--documentation":{"id":"components-data-entry-form--documentation","title":"Components/Data Entry/Form","name":"Documentation","importPath":"./src/components/data-entry/Form/Form.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-form--primary":{"type":"story","id":"components-data-entry-form--primary","name":"Primary","title":"Components/Data Entry/Form","importPath":"./src/components/data-entry/Form/Form.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--documentation":{"id":"components-data-entry-input--documentation","title":"Components/Data Entry/Input","name":"Documentation","importPath":"./src/components/data-entry/Input/Input.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-input--error":{"type":"story","id":"components-data-entry-input--error","name":"Error","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--text-area":{"type":"story","id":"components-data-entry-input--text-area","name":"Text Area","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--large":{"type":"story","id":"components-data-entry-input--large","name":"Large","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--middle":{"type":"story","id":"components-data-entry-input--middle","name":"Middle","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--small":{"type":"story","id":"components-data-entry-input--small","name":"Small","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--primary":{"type":"story","id":"components-data-entry-input--primary","name":"Primary","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-https-before":{"type":"story","id":"components-data-entry-input--with-https-before","name":"With Https Before","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-dot-com-after":{"type":"story","id":"components-data-entry-input--with-dot-com-after","name":"With Dot Com After","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--allow-clear":{"type":"story","id":"components-data-entry-input--allow-clear","name":"Allow Clear","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--disabled":{"type":"story","id":"components-data-entry-input--disabled","name":"Disabled","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-max-length":{"type":"story","id":"components-data-entry-input--with-max-length","name":"With Max Length","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-prefix-and-suffix":{"type":"story","id":"components-data-entry-input--with-prefix-and-suffix","name":"With Prefix And Suffix","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-focus-management":{"type":"story","id":"components-data-entry-input--with-focus-management","name":"With Focus Management","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-data-entry-inputnumber--documentation":{"id":"components-data-entry-inputnumber--documentation","title":"Components/Data Entry/InputNumber","name":"Documentation","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-inputnumber--primary":{"type":"story","id":"components-data-entry-inputnumber--primary","name":"Primary","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--small":{"type":"story","id":"components-data-entry-inputnumber--small","name":"Small","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--large":{"type":"story","id":"components-data-entry-inputnumber--large","name":"Large","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--warning":{"type":"story","id":"components-data-entry-inputnumber--warning","name":"Warning","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--error":{"type":"story","id":"components-data-entry-inputnumber--error","name":"Error","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--disabled":{"type":"story","id":"components-data-entry-inputnumber--disabled","name":"Disabled","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--read-only":{"type":"story","id":"components-data-entry-inputnumber--read-only","name":"Read Only","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--prefix":{"type":"story","id":"components-data-entry-inputnumber--prefix","name":"$ Prefix","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--string-mode":{"type":"story","id":"components-data-entry-inputnumber--string-mode","name":"String Mode","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--with-controls-and-precision":{"type":"story","id":"components-data-entry-inputnumber--with-controls-and-precision","name":"With Controls And Precision","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--decimal-separator-comma":{"type":"story","id":"components-data-entry-inputnumber--decimal-separator-comma","name":"Decimal Separator Comma","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--with-formatter":{"type":"story","id":"components-data-entry-inputnumber--with-formatter","name":"With Formatter","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--min-max-constraints":{"type":"story","id":"components-data-entry-inputnumber--min-max-constraints","name":"Min Max Constraints","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--step-05":{"type":"story","id":"components-data-entry-inputnumber--step-05","name":"Step 05","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--documentation":{"id":"components-data-entry-mentions--documentation","title":"Components/Data Entry/Mentions","name":"Documentation","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-mentions--primary":{"type":"story","id":"components-data-entry-mentions--primary","name":"Primary","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--clearable":{"type":"story","id":"components-data-entry-mentions--clearable","name":"Clearable","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--auto-focus":{"type":"story","id":"components-data-entry-mentions--auto-focus","name":"Auto Focus","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--auto-size":{"type":"story","id":"components-data-entry-mentions--auto-size","name":"Auto Size","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--custom-not-found-content":{"type":"story","id":"components-data-entry-mentions--custom-not-found-content","name":"Custom Not Found Content","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--borderless":{"type":"story","id":"components-data-entry-mentions--borderless","name":"Borderless","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--warning":{"type":"story","id":"components-data-entry-mentions--warning","name":"Warning","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--custom-placeholder":{"type":"story","id":"components-data-entry-mentions--custom-placeholder","name":"Custom Placeholder","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-basic":{"type":"story","id":"components-data-entry-mentions--example-basic","name":"Example Basic","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-variants":{"type":"story","id":"components-data-entry-mentions--example-variants","name":"Example Variants","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-async":{"type":"story","id":"components-data-entry-mentions--example-async","name":"Example Async","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-form":{"type":"story","id":"components-data-entry-mentions--example-form","name":"Example Form","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-disabled-or-read-only":{"type":"story","id":"components-data-entry-mentions--example-disabled-or-read-only","name":"Example Disabled Or Read Only","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-clear-icon":{"type":"story","id":"components-data-entry-mentions--example-clear-icon","name":"Example Clear Icon","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-status":{"type":"story","id":"components-data-entry-mentions--example-status","name":"Example Status","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem--documentation":{"id":"components-data-entry-queryitem--documentation","title":"Components/Data Entry/QueryItem","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/QueryItem.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem--dont-use-this-or-you-will-be-fired":{"type":"story","id":"components-data-entry-queryitem--dont-use-this-or-you-will-be-fired","name":"Dont Use This Or You Will Be Fired","title":"Components/Data Entry/QueryItem","importPath":"./src/components/data-entry/QueryItem/QueryItem.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--documentation":{"id":"components-data-entry-queryitem-action--documentation","title":"Components/Data Entry/QueryItem/Action","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-action--primary":{"type":"story","id":"components-data-entry-queryitem-action--primary","name":"Primary","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--secondary":{"type":"story","id":"components-data-entry-queryitem-action--secondary","name":"Secondary","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--disabled":{"type":"story","id":"components-data-entry-queryitem-action--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--on-click":{"type":"story","id":"components-data-entry-queryitem-action--on-click","name":"On Click","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--loading":{"type":"story","id":"components-data-entry-queryitem-action--loading","name":"Loading","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--documentation":{"id":"components-data-entry-queryitem-valueselector-cascader--documentation","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector-cascader--default":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--default","name":"Default","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--simple-list":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--simple-list","name":"Simple List","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--error":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--error","name":"Error","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--with-icon":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--with-icon","name":"With Icon","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--on-select":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--on-select","name":"On Select","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--pre-selected-value":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--pre-selected-value","name":"Pre Selected Value","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--load-data":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--load-data","name":"Load Data","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--suffix-icon":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--suffix-icon","name":"Suffix Icon","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--loading":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--loading","name":"Loading","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--search-label":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--search-label","name":"Search Label","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--documentation":{"id":"components-data-entry-queryitem-valueselector-numberinput--documentation","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector-numberinput--primary":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--primary","name":"Primary","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--default":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--default","name":"Default","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--placeholder":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--placeholder","name":"Placeholder","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--error-message":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--error-message","name":"Error Message","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--disabled":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--min":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--min","name":"Min","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--max":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--max","name":"Max","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--auto-focus":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--auto-focus","name":"Auto Focus","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--documentation":{"id":"components-data-entry-queryitem-qualifier--documentation","title":"Components/Data Entry/QueryItem/Qualifier","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-qualifier--empty":{"type":"story","id":"components-data-entry-queryitem-qualifier--empty","name":"Empty","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--simple":{"type":"story","id":"components-data-entry-queryitem-qualifier--simple","name":"Simple","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--error":{"type":"story","id":"components-data-entry-queryitem-qualifier--error","name":"Error","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--disabled":{"type":"story","id":"components-data-entry-queryitem-qualifier--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--pre-selected":{"type":"story","id":"components-data-entry-queryitem-qualifier--pre-selected","name":"Pre Selected","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-text--documentation":{"id":"components-data-entry-queryitem-text--documentation","title":"Components/Data Entry/QueryItem/Text","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Text.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-text--primary":{"type":"story","id":"components-data-entry-queryitem-text--primary","name":"Primary","title":"Components/Data Entry/QueryItem/Text","importPath":"./src/components/data-entry/QueryItem/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-text--disabled":{"type":"story","id":"components-data-entry-queryitem-text--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/Text","importPath":"./src/components/data-entry/QueryItem/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector--documentation":{"id":"components-data-entry-queryitem-valueselector--documentation","title":"Components/Data Entry/QueryItem/ValueSelector","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/ValueSelector.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector--dont-use-this-or-you-will-be-fired":{"type":"story","id":"components-data-entry-queryitem-valueselector--dont-use-this-or-you-will-be-fired","name":"Dont Use This Or You Will Be Fired","title":"Components/Data Entry/QueryItem/ValueSelector","importPath":"./src/components/data-entry/QueryItem/ValueSelector.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--documentation":{"id":"components-data-entry-queryitem-valueselector-textinput--documentation","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector-textinput--primary":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--primary","name":"Primary","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--default":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--default","name":"Default","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--placeholder":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--placeholder","name":"Placeholder","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--error-message":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--error-message","name":"Error Message","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--documentation":{"id":"components-data-entry-radio--documentation","title":"Components/Data Entry/Radio","name":"Documentation","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-radio--primary":{"type":"story","id":"components-data-entry-radio--primary","name":"Primary","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--with-auto-focus":{"type":"story","id":"components-data-entry-radio--with-auto-focus","name":"With Auto Focus","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--checked":{"type":"story","id":"components-data-entry-radio--checked","name":"Checked","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--default-checked":{"type":"story","id":"components-data-entry-radio--default-checked","name":"Default Checked","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--disabled":{"type":"story","id":"components-data-entry-radio--disabled","name":"Disabled","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--with-on-change":{"type":"story","id":"components-data-entry-radio--with-on-change","name":"With On Change","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio-radiobutton--documentation":{"id":"components-data-entry-radio-radiobutton--documentation","title":"Components/Data Entry/Radio/RadioButton","name":"Documentation","importPath":"./src/components/data-entry/Radio/RadioButton.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-radio-radiobutton--primary":{"type":"story","id":"components-data-entry-radio-radiobutton--primary","name":"Primary","title":"Components/Data Entry/Radio/RadioButton","importPath":"./src/components/data-entry/Radio/RadioButton.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio-radiogroup--documentation":{"id":"components-data-entry-radio-radiogroup--documentation","title":"Components/Data Entry/Radio/RadioGroup","name":"Documentation","importPath":"./src/components/data-entry/Radio/RadioGroup.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-radio-radiogroup--with-options-and-option-type":{"type":"story","id":"components-data-entry-radio-radiogroup--with-options-and-option-type","name":"With Options And Option Type","title":"Components/Data Entry/Radio/RadioGroup","importPath":"./src/components/data-entry/Radio/RadioGroup.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio-radiogroup--with-radio-buttons":{"type":"story","id":"components-data-entry-radio-radiogroup--with-radio-buttons","name":"With Radio Buttons","title":"Components/Data Entry/Radio/RadioGroup","importPath":"./src/components/data-entry/Radio/RadioGroup.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-select--documentation":{"id":"components-data-entry-select--documentation","title":"Components/Data Entry/Select","name":"Documentation","importPath":"./docs/components/Data Entry/Select/Documentation.mdx","storiesImports":["./src/components/data-entry/Select/Select.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-entry-select--primary":{"type":"story","id":"components-data-entry-select--primary","name":"Primary","title":"Components/Data Entry/Select","importPath":"./src/components/data-entry/Select/Select.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-slider--documentation":{"id":"components-data-entry-slider--documentation","title":"Components/Data Entry/Slider","name":"Documentation","importPath":"./src/components/data-entry/Slider/Slider.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-slider--primary":{"type":"story","id":"components-data-entry-slider--primary","name":"Primary","title":"Components/Data Entry/Slider","importPath":"./src/components/data-entry/Slider/Slider.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--documentation":{"id":"components-data-entry-switch--documentation","title":"Components/Data Entry/Switch","name":"Documentation","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-switch--primary":{"type":"story","id":"components-data-entry-switch--primary","name":"Primary","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--checked":{"type":"story","id":"components-data-entry-switch--checked","name":"Checked","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--custom-copy":{"type":"story","id":"components-data-entry-switch--custom-copy","name":"Custom Copy","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--disabled":{"type":"story","id":"components-data-entry-switch--disabled","name":"Disabled","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--loading":{"type":"story","id":"components-data-entry-switch--loading","name":"Loading","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--small":{"type":"story","id":"components-data-entry-switch--small","name":"Small","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-disabled":{"type":"story","id":"components-data-entry-switch--example-disabled","name":"Example Disabled","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-sizes":{"type":"story","id":"components-data-entry-switch--example-sizes","name":"Example Sizes","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-loading":{"type":"story","id":"components-data-entry-switch--example-loading","name":"Example Loading","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-text-and-icon":{"type":"story","id":"components-data-entry-switch--example-text-and-icon","name":"Example Text And Icon","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-timepicker--documentation":{"id":"components-data-entry-timepicker--documentation","title":"Components/Data Entry/TimePicker","name":"Documentation","importPath":"./src/components/data-entry/TimePicker/TimePicker.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-timepicker--primary":{"type":"story","id":"components-data-entry-timepicker--primary","name":"Primary","title":"Components/Data Entry/TimePicker","importPath":"./src/components/data-entry/TimePicker/TimePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-transfer--documentation":{"id":"components-data-entry-transfer--documentation","title":"Components/Data Entry/Transfer","name":"Documentation","importPath":"./src/components/data-entry/Transfer/Transfer.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-transfer--primary":{"type":"story","id":"components-data-entry-transfer--primary","name":"Primary","title":"Components/Data Entry/Transfer","importPath":"./src/components/data-entry/Transfer/Transfer.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-treeselect--documentation":{"id":"components-data-entry-treeselect--documentation","title":"Components/Data Entry/TreeSelect","name":"Documentation","importPath":"./src/components/data-entry/TreeSelect/TreeSelect.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-treeselect--primary":{"type":"story","id":"components-data-entry-treeselect--primary","name":"Primary","title":"Components/Data Entry/TreeSelect","importPath":"./src/components/data-entry/TreeSelect/TreeSelect.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--documentation":{"id":"components-data-entry-upload--documentation","title":"Components/Data Entry/Upload","name":"Documentation","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-upload--primary":{"type":"story","id":"components-data-entry-upload--primary","name":"Primary","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--custom-list-type":{"type":"story","id":"components-data-entry-upload--custom-list-type","name":"Custom List Type","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--drag-and-drop-upload":{"type":"story","id":"components-data-entry-upload--drag-and-drop-upload","name":"Drag And Drop Upload","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--custom-progress":{"type":"story","id":"components-data-entry-upload--custom-progress","name":"Custom Progress","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--custom-accept-file-type":{"type":"story","id":"components-data-entry-upload--custom-accept-file-type","name":"Custom Accept File Type","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--disabled-upload":{"type":"story","id":"components-data-entry-upload--disabled-upload","name":"Disabled Upload","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--documentation":{"id":"components-general-button--documentation","title":"Components/General/Button","name":"Documentation","importPath":"./src/components/general/Button/Button.stories.tsx","type":"docs","tags":["dev","test","autodocs","play-fn"],"storiesImports":[]},"components-general-button--primary":{"type":"story","id":"components-general-button--primary","name":"Primary","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-general-button--default":{"type":"story","id":"components-general-button--default","name":"Default","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--dashed":{"type":"story","id":"components-general-button--dashed","name":"Dashed","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--text":{"type":"story","id":"components-general-button--text","name":"Text","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--link":{"type":"story","id":"components-general-button--link","name":"Link","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-danger":{"type":"story","id":"components-general-button--with-danger","name":"With Danger","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--disabled":{"type":"story","id":"components-general-button--disabled","name":"Disabled","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--ghost":{"type":"story","id":"components-general-button--ghost","name":"Ghost","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--block":{"type":"story","id":"components-general-button--block","name":"Block","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-icon":{"type":"story","id":"components-general-button--with-icon","name":"With Icon","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-icon-sm":{"type":"story","id":"components-general-button--with-icon-sm","name":"With Icon SM","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-icon-default-color-sm":{"type":"story","id":"components-general-button--with-icon-default-color-sm","name":"With Icon Default Color SM","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--round-icon-button":{"type":"story","id":"components-general-button--round-icon-button","name":"Round Icon Button","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--loading":{"type":"story","id":"components-general-button--loading","name":"Loading","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--circle":{"type":"story","id":"components-general-button--circle","name":"Circle","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--round":{"type":"story","id":"components-general-button--round","name":"Round","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--large":{"type":"story","id":"components-general-button--large","name":"Large","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--small":{"type":"story","id":"components-general-button--small","name":"Small","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--primary-button-with-click":{"type":"story","id":"components-general-button--primary-button-with-click","name":"Primary Button With Click","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-floatbutton--documentation":{"id":"components-general-floatbutton--documentation","title":"Components/General/FloatButton","name":"Documentation","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-floatbutton--primary":{"type":"story","id":"components-general-floatbutton--primary","name":"Primary","title":"Components/General/FloatButton","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","tags":["dev","test","autodocs"]},"components-general-floatbutton--with-badge":{"type":"story","id":"components-general-floatbutton--with-badge","name":"With Badge","title":"Components/General/FloatButton","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","tags":["dev","test","autodocs"]},"components-general-floatbutton--square":{"type":"story","id":"components-general-floatbutton--square","name":"Square","title":"Components/General/FloatButton","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","tags":["dev","test","autodocs"]},"components-general-icons--documentation":{"id":"components-general-icons--documentation","title":"Components/General/Icons","name":"Documentation","importPath":"./src/components/general/Icon/Icon.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-icons--icon-table":{"type":"story","id":"components-general-icons--icon-table","name":"Icon Table","title":"Components/General/Icons","importPath":"./src/components/general/Icon/Icon.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--documentation":{"id":"components-general-link--documentation","title":"Components/General/Link","name":"Documentation","importPath":"./src/components/general/Typography/Link.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-link--primary":{"type":"story","id":"components-general-link--primary","name":"Primary","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--code":{"type":"story","id":"components-general-link--code","name":"Code","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--copyable":{"type":"story","id":"components-general-link--copyable","name":"Copyable","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--deleted":{"type":"story","id":"components-general-link--deleted","name":"Deleted","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--disabled":{"type":"story","id":"components-general-link--disabled","name":"Disabled","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--editable":{"type":"story","id":"components-general-link--editable","name":"Editable","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--keyboard":{"type":"story","id":"components-general-link--keyboard","name":"Keyboard","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--marked":{"type":"story","id":"components-general-link--marked","name":"Marked","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--strong":{"type":"story","id":"components-general-link--strong","name":"Strong","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--italic":{"type":"story","id":"components-general-link--italic","name":"Italic","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--success":{"type":"story","id":"components-general-link--success","name":"Success","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--secondary":{"type":"story","id":"components-general-link--secondary","name":"Secondary","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--warning":{"type":"story","id":"components-general-link--warning","name":"Warning","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--danger":{"type":"story","id":"components-general-link--danger","name":"Danger","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--underline":{"type":"story","id":"components-general-link--underline","name":"Underline","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--custom-on-click":{"type":"story","id":"components-general-link--custom-on-click","name":"Custom On Click","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--example-links":{"type":"story","id":"components-general-link--example-links","name":"Example Links","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--documentation":{"id":"components-general-typography-paragraph--documentation","title":"Components/General/Typography.Paragraph","name":"Documentation","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-typography-paragraph--primary":{"type":"story","id":"components-general-typography-paragraph--primary","name":"Primary","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--code":{"type":"story","id":"components-general-typography-paragraph--code","name":"Code","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--copyable":{"type":"story","id":"components-general-typography-paragraph--copyable","name":"Copyable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--deleted-line":{"type":"story","id":"components-general-typography-paragraph--deleted-line","name":"Deleted Line","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--disabled":{"type":"story","id":"components-general-typography-paragraph--disabled","name":"Disabled","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--editable":{"type":"story","id":"components-general-typography-paragraph--editable","name":"Editable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--ellipsis":{"type":"story","id":"components-general-typography-paragraph--ellipsis","name":"Ellipsis","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--marked":{"type":"story","id":"components-general-typography-paragraph--marked","name":"Marked","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--strong":{"type":"story","id":"components-general-typography-paragraph--strong","name":"Strong","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--italic":{"type":"story","id":"components-general-typography-paragraph--italic","name":"Italic","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--success":{"type":"story","id":"components-general-typography-paragraph--success","name":"Success","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--secondary":{"type":"story","id":"components-general-typography-paragraph--secondary","name":"Secondary","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--warning":{"type":"story","id":"components-general-typography-paragraph--warning","name":"Warning","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--danger":{"type":"story","id":"components-general-typography-paragraph--danger","name":"Danger","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--underline":{"type":"story","id":"components-general-typography-paragraph--underline","name":"Underline","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--custom-on-click":{"type":"story","id":"components-general-typography-paragraph--custom-on-click","name":"Custom On Click","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-editable":{"type":"story","id":"components-general-typography-paragraph--example-editable","name":"Example Editable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-copyable":{"type":"story","id":"components-general-typography-paragraph--example-copyable","name":"Example Copyable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-ellipsis":{"type":"story","id":"components-general-typography-paragraph--example-ellipsis","name":"Example Ellipsis","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-suffix":{"type":"story","id":"components-general-typography-paragraph--example-suffix","name":"Example Suffix","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--documentation":{"id":"components-general-typography-text--documentation","title":"Components/General/Typography.Text","name":"Documentation","importPath":"./src/components/general/Typography/Text.stories.tsx","type":"docs","tags":["dev","test","autodocs","play-fn"],"storiesImports":[]},"components-general-typography-text--primary":{"type":"story","id":"components-general-typography-text--primary","name":"Primary","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-general-typography-text--code":{"type":"story","id":"components-general-typography-text--code","name":"Code","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--copyable":{"type":"story","id":"components-general-typography-text--copyable","name":"Copyable","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--deleted":{"type":"story","id":"components-general-typography-text--deleted","name":"Deleted","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--disabled":{"type":"story","id":"components-general-typography-text--disabled","name":"Disabled","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--editable":{"type":"story","id":"components-general-typography-text--editable","name":"Editable","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--keyboard":{"type":"story","id":"components-general-typography-text--keyboard","name":"Keyboard","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--marked":{"type":"story","id":"components-general-typography-text--marked","name":"Marked","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--strong":{"type":"story","id":"components-general-typography-text--strong","name":"Strong","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--italic":{"type":"story","id":"components-general-typography-text--italic","name":"Italic","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--success":{"type":"story","id":"components-general-typography-text--success","name":"Success","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--secondary":{"type":"story","id":"components-general-typography-text--secondary","name":"Secondary","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--warning":{"type":"story","id":"components-general-typography-text--warning","name":"Warning","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--danger":{"type":"story","id":"components-general-typography-text--danger","name":"Danger","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--underline":{"type":"story","id":"components-general-typography-text--underline","name":"Underline","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--custom-on-click":{"type":"story","id":"components-general-typography-text--custom-on-click","name":"Custom On Click","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--example-texts":{"type":"story","id":"components-general-typography-text--example-texts","name":"Example Texts","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--example-ellipsis":{"type":"story","id":"components-general-typography-text--example-ellipsis","name":"Example Ellipsis","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-title--documentation":{"id":"components-general-title--documentation","title":"Components/General/Title","name":"Documentation","importPath":"./src/components/general/Typography/Title.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-title--primary":{"type":"story","id":"components-general-title--primary","name":"Primary","title":"Components/General/Title","importPath":"./src/components/general/Typography/Title.stories.tsx","tags":["dev","test","autodocs"]},"components-general-title--example-headings":{"type":"story","id":"components-general-title--example-headings","name":"Example Headings","title":"Components/General/Title","importPath":"./src/components/general/Typography/Title.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--documentation":{"id":"components-feedback-alert--documentation","title":"Components/Feedback/Alert","name":"Documentation","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-alert--primary":{"type":"story","id":"components-feedback-alert--primary","name":"Primary","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--success":{"type":"story","id":"components-feedback-alert--success","name":"Success","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--error-type":{"type":"story","id":"components-feedback-alert--error-type","name":"Error Type","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--warning-banner":{"type":"story","id":"components-feedback-alert--warning-banner","name":"Warning Banner","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--description":{"type":"story","id":"components-feedback-alert--description","name":"Description","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--custom-action":{"type":"story","id":"components-feedback-alert--custom-action","name":"Custom Action","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--custom-close-icon":{"type":"story","id":"components-feedback-alert--custom-close-icon","name":"Custom Close Icon","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-all-types":{"type":"story","id":"components-feedback-alert--example-all-types","name":"Example All Types","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-closable":{"type":"story","id":"components-feedback-alert--example-closable","name":"Example Closable","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-banner":{"type":"story","id":"components-feedback-alert--example-banner","name":"Example Banner","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-catch-error":{"type":"story","id":"components-feedback-alert--example-catch-error","name":"Example Catch Error","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-custom-actions":{"type":"story","id":"components-feedback-alert--example-custom-actions","name":"Example Custom Actions","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-drawer--documentation":{"id":"components-feedback-drawer--documentation","title":"Components/Feedback/Drawer","name":"Documentation","importPath":"./src/components/feedback/Drawer/Drawer.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-drawer--primary":{"type":"story","id":"components-feedback-drawer--primary","name":"Primary","title":"Components/Feedback/Drawer","importPath":"./src/components/feedback/Drawer/Drawer.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-loading-modal--documentation":{"id":"components-feedback-loading-modal--documentation","title":"Components/Feedback/Loading Modal","name":"Documentation","importPath":"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-loading-modal--primary":{"type":"story","id":"components-feedback-loading-modal--primary","name":"Primary","title":"Components/Feedback/Loading Modal","importPath":"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-loading-modal--error-story":{"type":"story","id":"components-feedback-loading-modal--error-story","name":"Error Story","title":"Components/Feedback/Loading Modal","importPath":"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--documentation":{"id":"components-feedback-message--documentation","title":"Components/Feedback/Message","name":"Documentation","importPath":"./src/components/feedback/Message/Message.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-message--primary":{"type":"story","id":"components-feedback-message--primary","name":"Primary","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--short":{"type":"story","id":"components-feedback-message--short","name":"Short","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--custom-style":{"type":"story","id":"components-feedback-message--custom-style","name":"Custom Style","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--clickable":{"type":"story","id":"components-feedback-message--clickable","name":"Clickable","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-modal--documentation":{"id":"components-feedback-modal--documentation","title":"Components/Feedback/Modal","name":"Documentation","importPath":"./docs/components/Feedback/Modal/Documentation.mdx","storiesImports":["./src/components/feedback/Modal/Modal.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-feedback-modal--primary":{"type":"story","id":"components-feedback-modal--primary","name":"Primary","title":"Components/Feedback/Modal","importPath":"./src/components/feedback/Modal/Modal.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--documentation":{"id":"components-feedback-notification--documentation","title":"Components/Feedback/Notification","name":"Documentation","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-notification--primary":{"type":"story","id":"components-feedback-notification--primary","name":"Primary","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--short":{"type":"story","id":"components-feedback-notification--short","name":"Short","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--info":{"type":"story","id":"components-feedback-notification--info","name":"Info","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--warning":{"type":"story","id":"components-feedback-notification--warning","name":"Warning","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--success":{"type":"story","id":"components-feedback-notification--success","name":"Success","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--error":{"type":"story","id":"components-feedback-notification--error","name":"Error","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-popconfirm--documentation":{"id":"components-feedback-popconfirm--documentation","title":"Components/Feedback/Popconfirm","name":"Documentation","importPath":"./src/components/feedback/Popconfirm/Popconfirm.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-popconfirm--primary":{"type":"story","id":"components-feedback-popconfirm--primary","name":"Primary","title":"Components/Feedback/Popconfirm","importPath":"./src/components/feedback/Popconfirm/Popconfirm.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--documentation":{"id":"components-feedback-progress--documentation","title":"Components/Feedback/Progress","name":"Documentation","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-progress--primary":{"type":"story","id":"components-feedback-progress--primary","name":"Primary","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--half-way":{"type":"story","id":"components-feedback-progress--half-way","name":"Half Way","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--success":{"type":"story","id":"components-feedback-progress--success","name":"Success","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--exception":{"type":"story","id":"components-feedback-progress--exception","name":"Exception","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--active":{"type":"story","id":"components-feedback-progress--active","name":"Active","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--with-custom-colors":{"type":"story","id":"components-feedback-progress--with-custom-colors","name":"With Custom Colors","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--circle-type":{"type":"story","id":"components-feedback-progress--circle-type","name":"Circle Type","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--dashboard-type":{"type":"story","id":"components-feedback-progress--dashboard-type","name":"Dashboard Type","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--small-size":{"type":"story","id":"components-feedback-progress--small-size","name":"Small Size","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--custom-format":{"type":"story","id":"components-feedback-progress--custom-format","name":"Custom Format","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-progress":{"type":"story","id":"components-feedback-progress--example-progress","name":"Example Progress","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-circle":{"type":"story","id":"components-feedback-progress--example-circle","name":"Example Circle","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-small":{"type":"story","id":"components-feedback-progress--example-small","name":"Example Small","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-responsive":{"type":"story","id":"components-feedback-progress--example-responsive","name":"Example Responsive","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-dynamic":{"type":"story","id":"components-feedback-progress--example-dynamic","name":"Example Dynamic","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-segments":{"type":"story","id":"components-feedback-progress--example-segments","name":"Example Segments","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-gradient":{"type":"story","id":"components-feedback-progress--example-gradient","name":"Example Gradient","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-progress-size":{"type":"story","id":"components-feedback-progress--example-progress-size","name":"Example Progress Size","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--documentation":{"id":"components-feedback-result--documentation","title":"Components/Feedback/Result","name":"Documentation","importPath":"./src/components/feedback/Result/Result.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-result--primary":{"type":"story","id":"components-feedback-result--primary","name":"Primary","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--error":{"type":"story","id":"components-feedback-result--error","name":"Error","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--warning":{"type":"story","id":"components-feedback-result--warning","name":"Warning","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--info":{"type":"story","id":"components-feedback-result--info","name":"Info","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--documentation":{"id":"components-feedback-skeleton--documentation","title":"Components/Feedback/Skeleton","name":"Documentation","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-skeleton--primary":{"type":"story","id":"components-feedback-skeleton--primary","name":"Primary","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--avatar-placeholder":{"type":"story","id":"components-feedback-skeleton--avatar-placeholder","name":"Avatar Placeholder","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--paragraph":{"type":"story","id":"components-feedback-skeleton--paragraph","name":"Paragraph","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--round-edges":{"type":"story","id":"components-feedback-skeleton--round-edges","name":"Round Edges","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--title":{"type":"story","id":"components-feedback-skeleton--title","name":"Title","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-basic":{"type":"story","id":"components-feedback-skeleton--example-basic","name":"Example Basic","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-combiniation":{"type":"story","id":"components-feedback-skeleton--example-combiniation","name":"Example Combiniation","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-configs":{"type":"story","id":"components-feedback-skeleton--example-configs","name":"Example Configs","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-sub-component":{"type":"story","id":"components-feedback-skeleton--example-sub-component","name":"Example Sub Component","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-list":{"type":"story","id":"components-feedback-skeleton--example-list","name":"Example List","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--documentation":{"id":"components-feedback-spin--documentation","title":"Components/Feedback/Spin","name":"Documentation","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-spin--primary":{"type":"story","id":"components-feedback-spin--primary","name":"Primary","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--small-size":{"type":"story","id":"components-feedback-spin--small-size","name":"Small Size","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--large-size":{"type":"story","id":"components-feedback-spin--large-size","name":"Large Size","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-custom-delay":{"type":"story","id":"components-feedback-spin--with-custom-delay","name":"With Custom Delay","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-custom-indicator":{"type":"story","id":"components-feedback-spin--with-custom-indicator","name":"With Custom Indicator","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--spinning-disabled":{"type":"story","id":"components-feedback-spin--spinning-disabled","name":"Spinning Disabled","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-custom-tip":{"type":"story","id":"components-feedback-spin--with-custom-tip","name":"With Custom Tip","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-wrapper-class-name":{"type":"story","id":"components-feedback-spin--with-wrapper-class-name","name":"With Wrapper Class Name","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--fullscreen-mode":{"type":"story","id":"components-feedback-spin--fullscreen-mode","name":"Fullscreen Mode","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-size":{"type":"story","id":"components-feedback-spin--example-size","name":"Example Size","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-embedded":{"type":"story","id":"components-feedback-spin--example-embedded","name":"Example Embedded","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-customized-description":{"type":"story","id":"components-feedback-spin--example-customized-description","name":"Example Customized Description","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-delay":{"type":"story","id":"components-feedback-spin--example-delay","name":"Example Delay","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-fullscreen":{"type":"story","id":"components-feedback-spin--example-fullscreen","name":"Example Fullscreen","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-center--documentation":{"id":"components-layout-center--documentation","title":"Components/Layout/Center","name":"Documentation","importPath":"./src/components/layout/Center/Center.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-center--primary":{"type":"story","id":"components-layout-center--primary","name":"Primary","title":"Components/Layout/Center","importPath":"./src/components/layout/Center/Center.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--documentation":{"id":"components-layout-divider--documentation","title":"Components/Layout/Divider","name":"Documentation","importPath":"./src/components/layout/Divider/Divider.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-divider--primary":{"type":"story","id":"components-layout-divider--primary","name":"Primary","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--dashed":{"type":"story","id":"components-layout-divider--dashed","name":"Dashed","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--with-orientation":{"type":"story","id":"components-layout-divider--with-orientation","name":"With Orientation","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--with-orientation-margin":{"type":"story","id":"components-layout-divider--with-orientation-margin","name":"With Orientation Margin","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--not-plain":{"type":"story","id":"components-layout-divider--not-plain","name":"Not Plain","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--with-style":{"type":"story","id":"components-layout-divider--with-style","name":"With Style","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--vertical-divider":{"type":"story","id":"components-layout-divider--vertical-divider","name":"Vertical Divider","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--documentation":{"id":"components-layout-flex--documentation","title":"Components/Layout/Flex","name":"Documentation","importPath":"./src/components/layout/Flex/Flex.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-flex--primary":{"type":"story","id":"components-layout-flex--primary","name":"Primary","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--vertical-flex":{"type":"story","id":"components-layout-flex--vertical-flex","name":"Vertical Flex","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--justify-flex-start":{"type":"story","id":"components-layout-flex--justify-flex-start","name":"Justify Flex Start","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--justify-center":{"type":"story","id":"components-layout-flex--justify-center","name":"Justify Center","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--justify-flex-end":{"type":"story","id":"components-layout-flex--justify-flex-end","name":"Justify Flex End","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--align-flex-start":{"type":"story","id":"components-layout-flex--align-flex-start","name":"Align Flex Start","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--align-center":{"type":"story","id":"components-layout-flex--align-center","name":"Align Center","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--align-flex-end":{"type":"story","id":"components-layout-flex--align-flex-end","name":"Align Flex End","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--large-gap":{"type":"story","id":"components-layout-flex--large-gap","name":"Large Gap","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-basic":{"type":"story","id":"components-layout-flex--example-basic","name":"Example Basic","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-align":{"type":"story","id":"components-layout-flex--example-align","name":"Example Align","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-gap":{"type":"story","id":"components-layout-flex--example-gap","name":"Example Gap","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-wrap":{"type":"story","id":"components-layout-flex--example-wrap","name":"Example Wrap","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-nesting":{"type":"story","id":"components-layout-flex--example-nesting","name":"Example Nesting","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-grid--documentation":{"id":"components-layout-grid--documentation","title":"Components/Layout/Grid","name":"Documentation","importPath":"./src/components/layout/Grid/Grid.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-grid--primary":{"type":"story","id":"components-layout-grid--primary","name":"Primary","title":"Components/Layout/Grid","importPath":"./src/components/layout/Grid/Grid.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--documentation":{"id":"components-layout-layout--documentation","title":"Components/Layout/Layout","name":"Documentation","importPath":"./src/components/layout/Layout/Layout.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-layout--primary":{"type":"story","id":"components-layout-layout--primary","name":"Primary","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--no-sider":{"type":"story","id":"components-layout-layout--no-sider","name":"No Sider","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--right-sider":{"type":"story","id":"components-layout-layout--right-sider","name":"Right Sider","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--content-sider":{"type":"story","id":"components-layout-layout--content-sider","name":"Content Sider","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--documentation":{"id":"components-layout-space--documentation","title":"Components/Layout/Space","name":"Documentation","importPath":"./src/components/layout/Space/Space.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-space--primary":{"type":"story","id":"components-layout-space--primary","name":"Primary","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--vertical-space":{"type":"story","id":"components-layout-space--vertical-space","name":"Vertical Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--large-size-space":{"type":"story","id":"components-layout-space--large-size-space","name":"Large Size Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--split-space":{"type":"story","id":"components-layout-space--split-space","name":"Split Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--wrapped-space":{"type":"story","id":"components-layout-space--wrapped-space","name":"Wrapped Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--center-aligned-space":{"type":"story","id":"components-layout-space--center-aligned-space","name":"Center Aligned Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--end-aligned-space":{"type":"story","id":"components-layout-space--end-aligned-space","name":"End Aligned Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--horizontal-space-with-split":{"type":"story","id":"components-layout-space--horizontal-space-with-split","name":"Horizontal Space With Split","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--documentation":{"id":"components-navigation-anchor--documentation","title":"Components/Navigation/Anchor","name":"Documentation","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-anchor--primary":{"type":"story","id":"components-navigation-anchor--primary","name":"Primary","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--horizontal-direction":{"type":"story","id":"components-navigation-anchor--horizontal-direction","name":"Horizontal Direction","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--with-custom-items":{"type":"story","id":"components-navigation-anchor--with-custom-items","name":"With Custom Items","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--show-ink-in-fixed":{"type":"story","id":"components-navigation-anchor--show-ink-in-fixed","name":"Show Ink In Fixed","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-basic":{"type":"story","id":"components-navigation-anchor--example-basic","name":"Example Basic","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-horizontal":{"type":"story","id":"components-navigation-anchor--example-horizontal","name":"Example Horizontal","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-anchor-static":{"type":"story","id":"components-navigation-anchor--example-anchor-static","name":"Example Anchor Static","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-onclick":{"type":"story","id":"components-navigation-anchor--example-onclick","name":"Example Onclick","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-scroll-offset":{"type":"story","id":"components-navigation-anchor--example-scroll-offset","name":"Example Scroll Offset","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-link-change":{"type":"story","id":"components-navigation-anchor--example-link-change","name":"Example Link Change","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-replace-history":{"type":"story","id":"components-navigation-anchor--example-replace-history","name":"Example Replace History","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--documentation":{"id":"components-navigation-breadcrumb--documentation","title":"Components/Navigation/Breadcrumb","name":"Documentation","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-breadcrumb--primary":{"type":"story","id":"components-navigation-breadcrumb--primary","name":"Primary","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--with-custom-separator":{"type":"story","id":"components-navigation-breadcrumb--with-custom-separator","name":"With Custom Separator","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--with-long-item-labels":{"type":"story","id":"components-navigation-breadcrumb--with-long-item-labels","name":"With Long Item Labels","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--with-custom-item-render":{"type":"story","id":"components-navigation-breadcrumb--with-custom-item-render","name":"With Custom Item Render","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-basic":{"type":"story","id":"components-navigation-breadcrumb--example-basic","name":"Example Basic","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-icon":{"type":"story","id":"components-navigation-breadcrumb--example-icon","name":"Example Icon","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-seperator":{"type":"story","id":"components-navigation-breadcrumb--example-seperator","name":"Example Seperator","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-dropdown":{"type":"story","id":"components-navigation-breadcrumb--example-dropdown","name":"Example Dropdown","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-independent-separators":{"type":"story","id":"components-navigation-breadcrumb--example-independent-separators","name":"Example Independent Separators","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--documentation":{"id":"components-navigation-dropdown--documentation","title":"Components/Navigation/Dropdown","name":"Documentation","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-dropdown--primary":{"type":"story","id":"components-navigation-dropdown--primary","name":"Primary","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--with-arrow":{"type":"story","id":"components-navigation-dropdown--with-arrow","name":"With Arrow","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--disabled":{"type":"story","id":"components-navigation-dropdown--disabled","name":"Disabled","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--custom-dropdown-render":{"type":"story","id":"components-navigation-dropdown--custom-dropdown-render","name":"Custom Dropdown Render","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--auto-adjust-overflow":{"type":"story","id":"components-navigation-dropdown--auto-adjust-overflow","name":"Auto Adjust Overflow","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--destroy-popup-on-hide":{"type":"story","id":"components-navigation-dropdown--destroy-popup-on-hide","name":"Destroy Popup On Hide","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--with-overlay-style":{"type":"story","id":"components-navigation-dropdown--with-overlay-style","name":"With Overlay Style","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--custom-placement":{"type":"story","id":"components-navigation-dropdown--custom-placement","name":"Custom Placement","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--trigger-click":{"type":"story","id":"components-navigation-dropdown--trigger-click","name":"Trigger Click","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--open-dropdown":{"type":"story","id":"components-navigation-dropdown--open-dropdown","name":"Open Dropdown","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--on-open-change-callback":{"type":"story","id":"components-navigation-dropdown--on-open-change-callback","name":"On Open Change Callback","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-basic":{"type":"story","id":"components-navigation-dropdown--example-basic","name":"Example Basic","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-placement":{"type":"story","id":"components-navigation-dropdown--example-placement","name":"Example Placement","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-arrow":{"type":"story","id":"components-navigation-dropdown--example-arrow","name":"Example Arrow","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-arrow-center":{"type":"story","id":"components-navigation-dropdown--example-arrow-center","name":"Example Arrow Center","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-click-event":{"type":"story","id":"components-navigation-dropdown--example-click-event","name":"Example Click Event","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-custom-dropdown":{"type":"story","id":"components-navigation-dropdown--example-custom-dropdown","name":"Example Custom Dropdown","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-closing-menu":{"type":"story","id":"components-navigation-dropdown--example-closing-menu","name":"Example Closing Menu","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-loading":{"type":"story","id":"components-navigation-dropdown--example-loading","name":"Example Loading","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-selectable":{"type":"story","id":"components-navigation-dropdown--example-selectable","name":"Example Selectable","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-context-menu":{"type":"story","id":"components-navigation-dropdown--example-context-menu","name":"Example Context Menu","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-nested":{"type":"story","id":"components-navigation-dropdown--example-nested","name":"Example Nested","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-buttons":{"type":"story","id":"components-navigation-dropdown--example-buttons","name":"Example Buttons","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-container-divider":{"type":"story","id":"components-navigation-dropdown--example-container-divider","name":"Example Container Divider","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--documentation":{"id":"components-navigation-globalnavigation--documentation","title":"Components/Navigation/GlobalNavigation","name":"Documentation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","type":"docs","tags":["dev","test","autodocs","play-fn"],"storiesImports":[]},"components-navigation-globalnavigation--primary":{"type":"story","id":"components-navigation-globalnavigation--primary","name":"Primary","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-navigation-globalnavigation--mp":{"type":"story","id":"components-navigation-globalnavigation--mp","name":"MP","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-thousand-orgs":{"type":"story","id":"components-navigation-globalnavigation--mp-thousand-orgs","name":"MP Thousand Orgs","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--indicative":{"type":"story","id":"components-navigation-globalnavigation--indicative","name":"Indicative","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--indicative-with-suite-switcher":{"type":"story","id":"components-navigation-globalnavigation--indicative-with-suite-switcher","name":"Indicative With Suite Switcher","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--cortex":{"type":"story","id":"components-navigation-globalnavigation--cortex","name":"Cortex","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--workspace-search-with-no-results":{"type":"story","id":"components-navigation-globalnavigation--workspace-search-with-no-results","name":"Workspace Search With No Results","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-navigation-globalnavigation--use-new-experience-reminder-hook":{"type":"story","id":"components-navigation-globalnavigation--use-new-experience-reminder-hook","name":"Use New Experience Reminder Hook","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-navigation-globalnavigation--mp-without-logo":{"type":"story","id":"components-navigation-globalnavigation--mp-without-logo","name":"MP Without Logo","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-background-logo":{"type":"story","id":"components-navigation-globalnavigation--mp-with-background-logo","name":"MP With Background Logo","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-without-custom-size-logo":{"type":"story","id":"components-navigation-globalnavigation--mp-without-custom-size-logo","name":"MP Without Custom Size Logo","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-nav-switcher-tour":{"type":"story","id":"components-navigation-globalnavigation--mp-with-nav-switcher-tour","name":"MP With Nav Switcher Tour","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-suite-selector":{"type":"story","id":"components-navigation-globalnavigation--mp-with-suite-selector","name":"MP With Suite Selector","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-notification-center":{"type":"story","id":"components-navigation-globalnavigation--mp-with-notification-center","name":"MP With Notification Center","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-notification-center-long-content":{"type":"story","id":"components-navigation-globalnavigation--mp-with-notification-center-long-content","name":"MP With Notification Center Long Content","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-notification-center-message-modal":{"type":"story","id":"components-navigation-globalnavigation--mp-with-notification-center-message-modal","name":"MP With Notification Center Message Modal","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-navigationitem--documentation":{"id":"components-navigation-navigationitem--documentation","title":"Components/Navigation/NavigationItem","name":"Documentation","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-navigationitem--primary":{"type":"story","id":"components-navigation-navigationitem--primary","name":"Primary","title":"Components/Navigation/NavigationItem","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-navigationitem--nav-icon":{"type":"story","id":"components-navigation-navigationitem--nav-icon","name":"Nav Icon","title":"Components/Navigation/NavigationItem","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-navigationitem--nav-list":{"type":"story","id":"components-navigation-navigationitem--nav-list","name":"Nav List","title":"Components/Navigation/NavigationItem","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--documentation":{"id":"components-navigation-menu--documentation","title":"Components/Navigation/Menu","name":"Documentation","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-menu--primary":{"type":"story","id":"components-navigation-menu--primary","name":"Primary","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--inline":{"type":"story","id":"components-navigation-menu--inline","name":"Inline","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--horizontal":{"type":"story","id":"components-navigation-menu--horizontal","name":"Horizontal","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--multiple-selection":{"type":"story","id":"components-navigation-menu--multiple-selection","name":"Multiple Selection","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--custom-expand-icon":{"type":"story","id":"components-navigation-menu--custom-expand-icon","name":"Custom Expand Icon","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--inline-collapsed-state":{"type":"story","id":"components-navigation-menu--inline-collapsed-state","name":"Inline Collapsed State","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--dark":{"type":"story","id":"components-navigation-menu--dark","name":"Dark","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--custom-style":{"type":"story","id":"components-navigation-menu--custom-style","name":"Custom Style","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--with-sub-menu-delay":{"type":"story","id":"components-navigation-menu--with-sub-menu-delay","name":"With Sub Menu Delay","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-horizontal-top":{"type":"story","id":"components-navigation-menu--example-horizontal-top","name":"Example Horizontal Top","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-vertical-inline":{"type":"story","id":"components-navigation-menu--example-vertical-inline","name":"Example Vertical Inline","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-collapsable":{"type":"story","id":"components-navigation-menu--example-collapsable","name":"Example Collapsable","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-open-current-submenu":{"type":"story","id":"components-navigation-menu--example-open-current-submenu","name":"Example Open Current Submenu","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-vertical-menu":{"type":"story","id":"components-navigation-menu--example-vertical-menu","name":"Example Vertical Menu","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--documentation":{"id":"components-navigation-pagination--documentation","title":"Components/Navigation/Pagination","name":"Documentation","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-pagination--primary":{"type":"story","id":"components-navigation-pagination--primary","name":"Primary","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--small-size":{"type":"story","id":"components-navigation-pagination--small-size","name":"Small Size","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--responsive-pagination":{"type":"story","id":"components-navigation-pagination--responsive-pagination","name":"Responsive Pagination","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--show-quick-jumper-with-button":{"type":"story","id":"components-navigation-pagination--show-quick-jumper-with-button","name":"Show Quick Jumper With Button","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--show-size-changer-dynamic":{"type":"story","id":"components-navigation-pagination--show-size-changer-dynamic","name":"Show Size Changer Dynamic","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--simple-pagination":{"type":"story","id":"components-navigation-pagination--simple-pagination","name":"Simple Pagination","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--show-less-items-pagination":{"type":"story","id":"components-navigation-pagination--show-less-items-pagination","name":"Show Less Items Pagination","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--custom-total-text":{"type":"story","id":"components-navigation-pagination--custom-total-text","name":"Custom Total Text","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-basic":{"type":"story","id":"components-navigation-pagination--example-basic","name":"Example Basic","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-more-pages":{"type":"story","id":"components-navigation-pagination--example-more-pages","name":"Example More Pages","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-change-page-size":{"type":"story","id":"components-navigation-pagination--example-change-page-size","name":"Example Change Page Size","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-jump":{"type":"story","id":"components-navigation-pagination--example-jump","name":"Example Jump","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-mini":{"type":"story","id":"components-navigation-pagination--example-mini","name":"Example Mini","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-simple":{"type":"story","id":"components-navigation-pagination--example-simple","name":"Example Simple","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-controlled":{"type":"story","id":"components-navigation-pagination--example-controlled","name":"Example Controlled","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-total-number":{"type":"story","id":"components-navigation-pagination--example-total-number","name":"Example Total Number","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-show-all":{"type":"story","id":"components-navigation-pagination--example-show-all","name":"Example Show All","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-prev-next":{"type":"story","id":"components-navigation-pagination--example-prev-next","name":"Example Prev Next","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--documentation":{"id":"components-navigation-steps--documentation","title":"Components/Navigation/Steps","name":"Documentation","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-steps--primary":{"type":"story","id":"components-navigation-steps--primary","name":"Primary","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--vertical-direction":{"type":"story","id":"components-navigation-steps--vertical-direction","name":"Vertical Direction","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--small-size":{"type":"story","id":"components-navigation-steps--small-size","name":"Small Size","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--progress-dot":{"type":"story","id":"components-navigation-steps--progress-dot","name":"Progress Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--custom-progress-dot":{"type":"story","id":"components-navigation-steps--custom-progress-dot","name":"Custom Progress Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--different-statuses":{"type":"story","id":"components-navigation-steps--different-statuses","name":"Different Statuses","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--navigation":{"type":"story","id":"components-navigation-steps--navigation","name":"Navigation","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--inline":{"type":"story","id":"components-navigation-steps--inline","name":"Inline","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-basic":{"type":"story","id":"components-navigation-steps--example-basic","name":"Example Basic","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-small":{"type":"story","id":"components-navigation-steps--example-small","name":"Example Small","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-icon":{"type":"story","id":"components-navigation-steps--example-icon","name":"Example Icon","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-switch":{"type":"story","id":"components-navigation-steps--example-switch","name":"Example Switch","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-vertical":{"type":"story","id":"components-navigation-steps--example-vertical","name":"Example Vertical","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-vertical-small":{"type":"story","id":"components-navigation-steps--example-vertical-small","name":"Example Vertical Small","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-error":{"type":"story","id":"components-navigation-steps--example-error","name":"Example Error","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-dot":{"type":"story","id":"components-navigation-steps--example-dot","name":"Example Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-custom-dot":{"type":"story","id":"components-navigation-steps--example-custom-dot","name":"Example Custom Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-clickable":{"type":"story","id":"components-navigation-steps--example-clickable","name":"Example Clickable","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-navigation":{"type":"story","id":"components-navigation-steps--example-navigation","name":"Example Navigation","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-progress":{"type":"story","id":"components-navigation-steps--example-progress","name":"Example Progress","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-label-placement":{"type":"story","id":"components-navigation-steps--example-label-placement","name":"Example Label Placement","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-inline":{"type":"story","id":"components-navigation-steps--example-inline","name":"Example Inline","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-other-affix--documentation":{"id":"components-other-affix--documentation","title":"Components/Other/Affix","name":"Documentation","importPath":"./src/components/other/Affix/Affix.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-affix--primary":{"type":"story","id":"components-other-affix--primary","name":"Primary","title":"Components/Other/Affix","importPath":"./src/components/other/Affix/Affix.stories.tsx","tags":["dev","test","autodocs"]},"components-other-app--documentation":{"id":"components-other-app--documentation","title":"Components/Other/App","name":"Documentation","importPath":"./src/components/other/App/App.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-app--primary":{"type":"story","id":"components-other-app--primary","name":"Primary","title":"Components/Other/App","importPath":"./src/components/other/App/App.stories.tsx","tags":["dev","test","autodocs"]},"components-other-configprovider--documentation":{"id":"components-other-configprovider--documentation","title":"Components/Other/ConfigProvider","name":"Documentation","importPath":"./src/components/other/ConfigProvider/ConfigProvider.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-configprovider--primary":{"type":"story","id":"components-other-configprovider--primary","name":"Primary","title":"Components/Other/ConfigProvider","importPath":"./src/components/other/ConfigProvider/ConfigProvider.stories.tsx","tags":["dev","test","autodocs"]},"components-other-getglobaltoken--documentation":{"id":"components-other-getglobaltoken--documentation","title":"Components/Other/GetGlobalToken","name":"Documentation","importPath":"./src/utils/GetGlobalToken.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-getglobaltoken--primary":{"type":"story","id":"components-other-getglobaltoken--primary","name":"Primary","title":"Components/Other/GetGlobalToken","importPath":"./src/utils/GetGlobalToken.stories.tsx","tags":["dev","test","autodocs"]},"components-other-svgprettifier--documentation":{"id":"components-other-svgprettifier--documentation","title":"Components/Other/SVGPrettifier","name":"Documentation","importPath":"./src/utils/svg-prettifier/SvgPrettfier.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-svgprettifier--primary":{"type":"story","id":"components-other-svgprettifier--primary","name":"Primary","title":"Components/Other/SVGPrettifier","importPath":"./src/utils/svg-prettifier/SvgPrettfier.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-calendar--documentation":{"id":"components-unused-calendar--documentation","title":"Components/Unused/Calendar","name":"Documentation","importPath":"./src/components/unused/Calendar/Calendar.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-calendar--primary":{"type":"story","id":"components-unused-calendar--primary","name":"Primary","title":"Components/Unused/Calendar","importPath":"./src/components/unused/Calendar/Calendar.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--documentation":{"id":"components-unused-carousel--documentation","title":"Components/Unused/Carousel","name":"Documentation","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-carousel--primary":{"type":"story","id":"components-unused-carousel--primary","name":"Primary","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--with-autoplay":{"type":"story","id":"components-unused-carousel--with-autoplay","name":"With Autoplay","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--custom-autoplay-speed":{"type":"story","id":"components-unused-carousel--custom-autoplay-speed","name":"Custom Autoplay Speed","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--custom-dot-position":{"type":"story","id":"components-unused-carousel--custom-dot-position","name":"Custom Dot Position","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--without-dots":{"type":"story","id":"components-unused-carousel--without-dots","name":"Without Dots","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--with-fade-effect":{"type":"story","id":"components-unused-carousel--with-fade-effect","name":"With Fade Effect","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--with-linear-easing":{"type":"story","id":"components-unused-carousel--with-linear-easing","name":"With Linear Easing","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--without-infinite-loop":{"type":"story","id":"components-unused-carousel--without-infinite-loop","name":"Without Infinite Loop","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--custom-speed":{"type":"story","id":"components-unused-carousel--custom-speed","name":"Custom Speed","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--wait-for-animate":{"type":"story","id":"components-unused-carousel--wait-for-animate","name":"Wait For Animate","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-basic":{"type":"story","id":"components-unused-carousel--example-basic","name":"Example Basic","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-position":{"type":"story","id":"components-unused-carousel--example-position","name":"Example Position","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-auto-scroll":{"type":"story","id":"components-unused-carousel--example-auto-scroll","name":"Example Auto Scroll","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-fade-in":{"type":"story","id":"components-unused-carousel--example-fade-in","name":"Example Fade In","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-colorpicker--documentation":{"id":"components-unused-colorpicker--documentation","title":"Components/Unused/ColorPicker","name":"Documentation","importPath":"./src/components/unused/ColorPicker/ColorPicker.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-colorpicker--primary":{"type":"story","id":"components-unused-colorpicker--primary","name":"Primary","title":"Components/Unused/ColorPicker","importPath":"./src/components/unused/ColorPicker/ColorPicker.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-qrcode--documentation":{"id":"components-unused-qrcode--documentation","title":"Components/Unused/QRCode","name":"Documentation","importPath":"./src/components/unused/QRCode/QRCode.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-qrcode--primary":{"type":"story","id":"components-unused-qrcode--primary","name":"Primary","title":"Components/Unused/QRCode","importPath":"./src/components/unused/QRCode/QRCode.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-rate--documentation":{"id":"components-unused-rate--documentation","title":"Components/Unused/Rate","name":"Documentation","importPath":"./src/components/unused/Rate/Rate.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-rate--primary":{"type":"story","id":"components-unused-rate--primary","name":"Primary","title":"Components/Unused/Rate","importPath":"./src/components/unused/Rate/Rate.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--documentation":{"id":"components-unused-watermark--documentation","title":"Components/Unused/Watermark","name":"Documentation","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-watermark--primary":{"type":"story","id":"components-unused-watermark--primary","name":"Primary","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--content":{"type":"story","id":"components-unused-watermark--content","name":"Content","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--font":{"type":"story","id":"components-unused-watermark--font","name":"Font","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--gap":{"type":"story","id":"components-unused-watermark--gap","name":"Gap","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--offset":{"type":"story","id":"components-unused-watermark--offset","name":"Offset","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--rotated-watermark":{"type":"story","id":"components-unused-watermark--rotated-watermark","name":"Rotated Watermark","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-basic":{"type":"story","id":"components-unused-watermark--example-basic","name":"Example Basic","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-multiline":{"type":"story","id":"components-unused-watermark--example-multiline","name":"Example Multiline","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-config":{"type":"story","id":"components-unused-watermark--example-config","name":"Example Config","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-modal-or-drawer":{"type":"story","id":"components-unused-watermark--example-modal-or-drawer","name":"Example Modal Or Drawer","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"candidate-components-directory-date-range-filter--documentation":{"id":"candidate-components-directory-date-range-filter--documentation","title":"Candidate Components/Directory/Date Range Filter","name":"Documentation","importPath":"./docs/Candidate Components/Directory/Date Range Filter/Documentation.mdx","storiesImports":["./docs/Candidate Components/Directory/Date Range Filter/SelectWithRangePicker.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"candidate-components-directory-date-range-filter--date-range-filter":{"type":"story","id":"candidate-components-directory-date-range-filter--date-range-filter","name":"Date Range Filter","title":"Candidate Components/Directory/Date Range Filter","importPath":"./docs/Candidate Components/Directory/Date Range Filter/SelectWithRangePicker.stories.tsx","tags":["dev","test","autodocs"]},"candidate-components-introduction--documentation":{"id":"candidate-components-introduction--documentation","title":"Candidate Components/Introduction","name":"Documentation","importPath":"./docs/Candidate Components/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"ux-patterns-table-table--documentation":{"id":"ux-patterns-table-table--documentation","title":"UX Patterns/Table/Table","name":"Documentation","importPath":"./docs/UX Patterns/Table/Table.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--basic-table":{"type":"story","id":"ux-patterns-table-table--basic-table","name":"Basic Table","title":"UX Patterns/Table/Table","importPath":"./docs/UX Patterns/Table/Table.stories.tsx","tags":["dev","test","autodocs"]},"ux-patterns-table-table--cell-badge":{"id":"ux-patterns-table-table--cell-badge","title":"UX Patterns/Table/Table","name":"Cell Badge","importPath":"./docs/UX Patterns/Table/Cell Badge.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--cell-link":{"id":"ux-patterns-table-table--cell-link","title":"UX Patterns/Table/Table","name":"Cell Link","importPath":"./docs/UX Patterns/Table/Cell Link.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--cell-more-actions":{"id":"ux-patterns-table-table--cell-more-actions","title":"UX Patterns/Table/Table","name":"Cell More Actions","importPath":"./docs/UX Patterns/Table/Cell More Actions.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--cell-tag":{"id":"ux-patterns-table-table--cell-tag","title":"UX Patterns/Table/Table","name":"Cell Tag","importPath":"./docs/UX Patterns/Table/Cell Tag.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-filters--documentation":{"id":"ux-patterns-table-filters--documentation","title":"UX Patterns/Table/Filters","name":"Documentation","importPath":"./docs/UX Patterns/Table/Filters.mdx","storiesImports":["./docs/UX Patterns/Table/Filters.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-filters--with-basic-filters":{"type":"story","id":"ux-patterns-table-filters--with-basic-filters","name":"Basic","title":"UX Patterns/Table/Filters","importPath":"./docs/UX Patterns/Table/Filters.stories.tsx","tags":["dev","test","autodocs"]},"ux-patterns-table-filters--with-complex-filters":{"type":"story","id":"ux-patterns-table-filters--with-complex-filters","name":"Complex","title":"UX Patterns/Table/Filters","importPath":"./docs/UX Patterns/Table/Filters.stories.tsx","tags":["dev","test","autodocs"]},"ux-patterns-table-documentation--documentation":{"id":"ux-patterns-table-documentation--documentation","title":"UX Patterns/Table/Documentation","name":"Documentation","importPath":"./docs/UX Patterns/Table/Documentation.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"ux-patterns-table-tags--documentation":{"id":"ux-patterns-table-tags--documentation","title":"UX Patterns/Table/Tags","name":"Documentation","importPath":"./docs/UX Patterns/Table/Tags.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"ux-patterns-directory--documentation":{"id":"ux-patterns-directory--documentation","title":"UX Patterns/Directory","name":"Documentation","importPath":"./docs/UX Patterns/Directory.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-introduction--documentation":{"id":"contributing-introduction--documentation","title":"Contributing/Introduction","name":"Documentation","importPath":"./docs/Contributing/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-commits--documentation":{"id":"contributing-commits--documentation","title":"Contributing/Commits","name":"Documentation","importPath":"./docs/Contributing/Commits.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-testing-in-the-platforms--documentation":{"id":"contributing-testing-in-the-platforms--documentation","title":"Contributing/Testing in the platforms","name":"Documentation","importPath":"./docs/Contributing/Testing in the platforms.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-release-process--documentation":{"id":"contributing-release-process--documentation","title":"Contributing/Release Process","name":"Documentation","importPath":"./docs/Contributing/Release Process.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-maintainers--documentation":{"id":"contributing-maintainers--documentation","title":"Contributing/Maintainers","name":"Documentation","importPath":"./docs/Contributing/Maintainers.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"design-templates-tbd-errors--documentation":{"id":"design-templates-tbd-errors--documentation","title":"Design Templates/TBD/Errors","name":"Documentation","importPath":"./docs/Design Templates/TBD/Errors.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"design-templates-tbd-loading--documentation":{"id":"design-templates-tbd-loading--documentation","title":"Design Templates/TBD/Loading","name":"Documentation","importPath":"./docs/Design Templates/TBD/Loading.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"components-unused-documentation--documentation":{"id":"components-unused-documentation--documentation","title":"components/Unused/Documentation","name":"Documentation","importPath":"./docs/components/Unused/Documentation.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]}}} +{"v":5,"entries":{"about-introduction--documentation":{"id":"about-introduction--documentation","title":"About/Introduction","name":"Documentation","importPath":"./docs/About/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"about-changelog--documentation":{"id":"about-changelog--documentation","title":"About/Changelog","name":"Documentation","importPath":"./docs/About/Changelog.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"about-faq--documentation":{"id":"about-faq--documentation","title":"About/FAQ","name":"Documentation","importPath":"./docs/About/FAQ.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"about-feedback--documentation":{"id":"about-feedback--documentation","title":"About/Feedback","name":"Documentation","importPath":"./docs/About/Feedback.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-introduction--documentation":{"id":"component-process-introduction--documentation","title":"Component Process/Introduction","name":"Documentation","importPath":"./docs/Component Process/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-components-using-components--documentation":{"id":"component-process-components-using-components--documentation","title":"Component Process/Components/Using components","name":"Documentation","importPath":"./docs/Component Process/Components/Using components.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-components-change-process--documentation":{"id":"component-process-components-change-process--documentation","title":"Component Process/Components/Change process","name":"Documentation","importPath":"./docs/Component Process/Components/Change process.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-candidate-components-introducing-new-ones--documentation":{"id":"component-process-candidate-components-introducing-new-ones--documentation","title":"Component Process/Candidate Components/Introducing new ones","name":"Documentation","importPath":"./docs/Component Process/Candidate Components/Introducing new ones.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-candidate-components-using-existing-ones--documentation":{"id":"component-process-candidate-components-using-existing-ones--documentation","title":"Component Process/Candidate Components/Using existing ones","name":"Documentation","importPath":"./docs/Component Process/Candidate Components/Using existing ones.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-candidate-components-promoting-to-a-component--documentation":{"id":"component-process-candidate-components-promoting-to-a-component--documentation","title":"Component Process/Candidate Components/Promoting to a component","name":"Documentation","importPath":"./docs/Component Process/Candidate Components/Promoting to a component.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"component-process-design-templates-introduction--documentation":{"id":"component-process-design-templates-introduction--documentation","title":"Component Process/Design Templates/Introduction","name":"Documentation","importPath":"./docs/Component Process/Design Templates/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-colors--documentation":{"id":"foundations-colors--documentation","title":"Foundations/Colors","name":"Documentation","importPath":"./docs/Foundations/Colors.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-typography--documentation":{"id":"foundations-typography--documentation","title":"Foundations/Typography","name":"Documentation","importPath":"./docs/Foundations/Typography.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-icons-how-to-use--documentation":{"id":"foundations-icons-how-to-use--documentation","title":"Foundations/Icons/How to use","name":"Documentation","importPath":"./docs/Foundations/Icons/How to use.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"foundations-icons-icon-library--documentation":{"id":"foundations-icons-icon-library--documentation","title":"Foundations/Icons/Icon Library","name":"Documentation","importPath":"./docs/Foundations/Icons/Icon Library.mdx","storiesImports":["./src/components/general/Icon/Icon.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"components-data-display-avatar--documentation":{"id":"components-data-display-avatar--documentation","title":"Components/Data Display/Avatar","name":"Documentation","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-avatar--primary":{"type":"story","id":"components-data-display-avatar--primary","name":"Primary","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--square":{"type":"story","id":"components-data-display-avatar--square","name":"Square","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--large":{"type":"story","id":"components-data-display-avatar--large","name":"Large","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--small":{"type":"story","id":"components-data-display-avatar--small","name":"Small","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--custom-sizes":{"type":"story","id":"components-data-display-avatar--custom-sizes","name":"Custom Sizes","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--custom-icon":{"type":"story","id":"components-data-display-avatar--custom-icon","name":"Custom Icon","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-basic":{"type":"story","id":"components-data-display-avatar--example-basic","name":"Example Basic","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-types":{"type":"story","id":"components-data-display-avatar--example-types","name":"Example Types","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-with-badge":{"type":"story","id":"components-data-display-avatar--example-with-badge","name":"Example With Badge","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-responsive":{"type":"story","id":"components-data-display-avatar--example-responsive","name":"Example Responsive","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-avatar--example-autoset-font-size":{"type":"story","id":"components-data-display-avatar--example-autoset-font-size","name":"Example Autoset Font Size","title":"Components/Data Display/Avatar","importPath":"./src/components/data-display/Avatar/Avatar.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--documentation":{"id":"components-data-display-badge--documentation","title":"Components/Data Display/Badge","name":"Documentation","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-badge--primary":{"type":"story","id":"components-data-display-badge--primary","name":"Primary","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--dot-badge":{"type":"story","id":"components-data-display-badge--dot-badge","name":"Dot Badge","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--small-size":{"type":"story","id":"components-data-display-badge--small-size","name":"Small Size","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--overflow-count":{"type":"story","id":"components-data-display-badge--overflow-count","name":"Overflow Count","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--custom-color":{"type":"story","id":"components-data-display-badge--custom-color","name":"Custom Color","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--custom-text":{"type":"story","id":"components-data-display-badge--custom-text","name":"Custom Text","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--hover-title":{"type":"story","id":"components-data-display-badge--hover-title","name":"Hover Title","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-basic":{"type":"story","id":"components-data-display-badge--example-basic","name":"Example Basic","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-standalone":{"type":"story","id":"components-data-display-badge--example-standalone","name":"Example Standalone","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-overflow-count":{"type":"story","id":"components-data-display-badge--example-overflow-count","name":"Example Overflow Count","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-dynamic":{"type":"story","id":"components-data-display-badge--example-dynamic","name":"Example Dynamic","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-offset":{"type":"story","id":"components-data-display-badge--example-offset","name":"Example Offset","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-status":{"type":"story","id":"components-data-display-badge--example-status","name":"Example Status","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-ribbon":{"type":"story","id":"components-data-display-badge--example-ribbon","name":"Example Ribbon","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-clickable":{"type":"story","id":"components-data-display-badge--example-clickable","name":"Example Clickable","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-badge--example-colors":{"type":"story","id":"components-data-display-badge--example-colors","name":"Example Colors","title":"Components/Data Display/Badge","importPath":"./src/components/data-display/Badge/Badge.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--documentation":{"id":"components-data-display-card--documentation","title":"Components/Data Display/Card","name":"Documentation","importPath":"./src/components/data-display/Card/Card.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-card--primary":{"type":"story","id":"components-data-display-card--primary","name":"Primary","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--small-size":{"type":"story","id":"components-data-display-card--small-size","name":"Small Size","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--no-border":{"type":"story","id":"components-data-display-card--no-border","name":"No Border","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--hoverable":{"type":"story","id":"components-data-display-card--hoverable","name":"Hoverable","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--loading":{"type":"story","id":"components-data-display-card--loading","name":"Loading","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--with-actions":{"type":"story","id":"components-data-display-card--with-actions","name":"With Actions","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--with-tabs":{"type":"story","id":"components-data-display-card--with-tabs","name":"With Tabs","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--with-cover":{"type":"story","id":"components-data-display-card--with-cover","name":"With Cover","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--custom-title":{"type":"story","id":"components-data-display-card--custom-title","name":"Custom Title","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--inner-style":{"type":"story","id":"components-data-display-card--inner-style","name":"Inner Style","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-meta":{"type":"story","id":"components-data-display-card--example-meta","name":"Example Meta","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-column":{"type":"story","id":"components-data-display-card--example-column","name":"Example Column","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-grid":{"type":"story","id":"components-data-display-card--example-grid","name":"Example Grid","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-loading":{"type":"story","id":"components-data-display-card--example-loading","name":"Example Loading","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-inner-card":{"type":"story","id":"components-data-display-card--example-inner-card","name":"Example Inner Card","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-with-tabs":{"type":"story","id":"components-data-display-card--example-with-tabs","name":"Example With Tabs","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-card--example-content-configuration":{"type":"story","id":"components-data-display-card--example-content-configuration","name":"Example Content Configuration","title":"Components/Data Display/Card","importPath":"./src/components/data-display/Card/Card.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--documentation":{"id":"components-data-display-collapse--documentation","title":"Components/Data Display/Collapse","name":"Documentation","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-collapse--primary":{"type":"story","id":"components-data-display-collapse--primary","name":"Primary","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--accordion-mode":{"type":"story","id":"components-data-display-collapse--accordion-mode","name":"Accordion Mode","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--with-active-panel":{"type":"story","id":"components-data-display-collapse--with-active-panel","name":"With Active Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--borderless-collapse":{"type":"story","id":"components-data-display-collapse--borderless-collapse","name":"Borderless Collapse","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--with-collapsible-headers":{"type":"story","id":"components-data-display-collapse--with-collapsible-headers","name":"With Collapsible Headers","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--with-custom-active-panel":{"type":"story","id":"components-data-display-collapse--with-custom-active-panel","name":"With Custom Active Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--destroy-inactive-panels":{"type":"story","id":"components-data-display-collapse--destroy-inactive-panels","name":"Destroy Inactive Panels","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-basic":{"type":"story","id":"components-data-display-collapse--example-basic","name":"Example Basic","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-size":{"type":"story","id":"components-data-display-collapse--example-size","name":"Example Size","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-accordion":{"type":"story","id":"components-data-display-collapse--example-accordion","name":"Example Accordion","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-nested-panel":{"type":"story","id":"components-data-display-collapse--example-nested-panel","name":"Example Nested Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-borderless":{"type":"story","id":"components-data-display-collapse--example-borderless","name":"Example Borderless","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-custom-panel":{"type":"story","id":"components-data-display-collapse--example-custom-panel","name":"Example Custom Panel","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-no-arrow":{"type":"story","id":"components-data-display-collapse--example-no-arrow","name":"Example No Arrow","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-extra-node":{"type":"story","id":"components-data-display-collapse--example-extra-node","name":"Example Extra Node","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-ghost-collaps":{"type":"story","id":"components-data-display-collapse--example-ghost-collaps","name":"Example Ghost Collaps","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-collapse--example-collapsible":{"type":"story","id":"components-data-display-collapse--example-collapsible","name":"Example Collapsible","title":"Components/Data Display/Collapse","importPath":"./src/components/data-display/Collapse/Collapse.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--documentation":{"id":"components-data-display-descriptions--documentation","title":"Components/Data Display/Descriptions","name":"Documentation","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-descriptions--primary":{"type":"story","id":"components-data-display-descriptions--primary","name":"Primary","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--bordered":{"type":"story","id":"components-data-display-descriptions--bordered","name":"Bordered","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--vertical":{"type":"story","id":"components-data-display-descriptions--vertical","name":"Vertical","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--small":{"type":"story","id":"components-data-display-descriptions--small","name":"Small","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--custom-title":{"type":"story","id":"components-data-display-descriptions--custom-title","name":"Custom Title","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-extra":{"type":"story","id":"components-data-display-descriptions--with-extra","name":"With Extra","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-title-and-extra":{"type":"story","id":"components-data-display-descriptions--with-title-and-extra","name":"With Title And Extra","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-content-style":{"type":"story","id":"components-data-display-descriptions--with-content-style","name":"With Content Style","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--with-label-style":{"type":"story","id":"components-data-display-descriptions--with-label-style","name":"With Label Style","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--responsive-column":{"type":"story","id":"components-data-display-descriptions--responsive-column","name":"Responsive Column","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--example-table-look":{"type":"story","id":"components-data-display-descriptions--example-table-look","name":"Example Table Look","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--example-size":{"type":"story","id":"components-data-display-descriptions--example-size","name":"Example Size","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-descriptions--example-responsive-descriptions":{"type":"story","id":"components-data-display-descriptions--example-responsive-descriptions","name":"Example Responsive Descriptions","title":"Components/Data Display/Descriptions","importPath":"./src/components/data-display/Descriptions/Descriptions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--documentation":{"id":"components-data-display-empty--documentation","title":"Components/Data Display/Empty","name":"Documentation","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-empty--primary":{"type":"story","id":"components-data-display-empty--primary","name":"Primary","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-description":{"type":"story","id":"components-data-display-empty--custom-description","name":"Custom Description","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-image-style":{"type":"story","id":"components-data-display-empty--custom-image-style","name":"Custom Image Style","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--no-image":{"type":"story","id":"components-data-display-empty--no-image","name":"No Image","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--alt-image":{"type":"story","id":"components-data-display-empty--alt-image","name":"Alt Image","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-description-and-image":{"type":"story","id":"components-data-display-empty--custom-description-and-image","name":"Custom Description And Image","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--no-description":{"type":"story","id":"components-data-display-empty--no-description","name":"No Description","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--custom-image-and-style":{"type":"story","id":"components-data-display-empty--custom-image-and-style","name":"Custom Image And Style","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--no-image-and-no-description":{"type":"story","id":"components-data-display-empty--no-image-and-no-description","name":"No Image And No Description","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-empty--example-global-empty":{"type":"story","id":"components-data-display-empty--example-global-empty","name":"Example Global Empty","title":"Components/Data Display/Empty","importPath":"./src/components/data-display/Empty/Empty.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-image--documentation":{"id":"components-data-display-image--documentation","title":"Components/Data Display/Image","name":"Documentation","importPath":"./src/components/data-display/Image/Image.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-image--primary":{"type":"story","id":"components-data-display-image--primary","name":"Primary","title":"Components/Data Display/Image","importPath":"./src/components/data-display/Image/Image.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--documentation":{"id":"components-data-display-list--documentation","title":"Components/Data Display/List","name":"Documentation","importPath":"./src/components/data-display/List/List.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-list--primary":{"type":"story","id":"components-data-display-list--primary","name":"Primary","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--bordered-list":{"type":"story","id":"components-data-display-list--bordered-list","name":"Bordered List","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--vertical-layout":{"type":"story","id":"components-data-display-list--vertical-layout","name":"Vertical Layout","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--loading-indicator":{"type":"story","id":"components-data-display-list--loading-indicator","name":"Loading Indicator","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--custom-pagination":{"type":"story","id":"components-data-display-list--custom-pagination","name":"Custom Pagination","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--custom-grid":{"type":"story","id":"components-data-display-list--custom-grid","name":"Custom Grid","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--large-size-list":{"type":"story","id":"components-data-display-list--large-size-list","name":"Large Size List","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--custom-footer":{"type":"story","id":"components-data-display-list--custom-footer","name":"Custom Footer","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-list--no-split-under-list-item":{"type":"story","id":"components-data-display-list--no-split-under-list-item","name":"No Split Under List Item","title":"Components/Data Display/List","importPath":"./src/components/data-display/List/List.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-popover--documentation":{"id":"components-data-display-popover--documentation","title":"Components/Data Display/Popover","name":"Documentation","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-popover--primary":{"type":"story","id":"components-data-display-popover--primary","name":"Primary","title":"Components/Data Display/Popover","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-popover--hover":{"type":"story","id":"components-data-display-popover--hover","name":"Hover","title":"Components/Data Display/Popover","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-popover--focus":{"type":"story","id":"components-data-display-popover--focus","name":"Focus","title":"Components/Data Display/Popover","importPath":"./src/components/data-display/Popover/Popover.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-segmented--documentation":{"id":"components-data-display-segmented--documentation","title":"Components/Data Display/Segmented","name":"Documentation","importPath":"./src/components/data-display/Segmented/Segmented.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-segmented--primary":{"type":"story","id":"components-data-display-segmented--primary","name":"Primary","title":"Components/Data Display/Segmented","importPath":"./src/components/data-display/Segmented/Segmented.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--documentation":{"id":"components-data-display-statistic--documentation","title":"Components/Data Display/Statistic","name":"Documentation","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-statistic--primary":{"type":"story","id":"components-data-display-statistic--primary","name":"Primary","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-decimal-separator":{"type":"story","id":"components-data-display-statistic--custom-decimal-separator","name":"Custom Decimal Separator","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-formatter":{"type":"story","id":"components-data-display-statistic--custom-formatter","name":"Custom Formatter","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-group-separator":{"type":"story","id":"components-data-display-statistic--custom-group-separator","name":"Custom Group Separator","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-loading":{"type":"story","id":"components-data-display-statistic--custom-loading","name":"Custom Loading","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-precision":{"type":"story","id":"components-data-display-statistic--custom-precision","name":"Custom Precision","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-prefix":{"type":"story","id":"components-data-display-statistic--custom-prefix","name":"Custom Prefix","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-suffix":{"type":"story","id":"components-data-display-statistic--custom-suffix","name":"Custom Suffix","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-title":{"type":"story","id":"components-data-display-statistic--custom-title","name":"Custom Title","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-value":{"type":"story","id":"components-data-display-statistic--custom-value","name":"Custom Value","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--custom-value-style":{"type":"story","id":"components-data-display-statistic--custom-value-style","name":"Custom Value Style","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-basic":{"type":"story","id":"components-data-display-statistic--example-basic","name":"Example Basic","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-with-unit":{"type":"story","id":"components-data-display-statistic--example-with-unit","name":"Example With Unit","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-with-card":{"type":"story","id":"components-data-display-statistic--example-with-card","name":"Example With Card","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-statistic--example-with-countdown":{"type":"story","id":"components-data-display-statistic--example-with-countdown","name":"Example With Countdown","title":"Components/Data Display/Statistic","importPath":"./src/components/data-display/Statistic/Statistic.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tabs--documentation":{"id":"components-data-display-tabs--documentation","title":"Components/Data Display/Tabs","name":"Documentation","importPath":"./src/components/data-display/Tabs/Tabs.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-tabs--primary":{"type":"story","id":"components-data-display-tabs--primary","name":"Primary","title":"Components/Data Display/Tabs","importPath":"./src/components/data-display/Tabs/Tabs.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--documentation":{"id":"components-data-display-tag--documentation","title":"Components/Data Display/Tag","name":"Documentation","importPath":"./docs/components/Data Display/Tag/Documentation.mdx","storiesImports":["./src/components/data-display/Tag/Tag.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-display-tag--primary":{"type":"story","id":"components-data-display-tag--primary","name":"Primary","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-close-icon":{"type":"story","id":"components-data-display-tag--with-close-icon","name":"With Close Icon","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-color":{"type":"story","id":"components-data-display-tag--with-color","name":"With Color","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-icon":{"type":"story","id":"components-data-display-tag--with-icon","name":"With Icon","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--without-border":{"type":"story","id":"components-data-display-tag--without-border","name":"Without Border","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--with-on-close-callback":{"type":"story","id":"components-data-display-tag--with-on-close-callback","name":"With On Close Callback","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--example-checkable-tag-primary":{"type":"story","id":"components-data-display-tag--example-checkable-tag-primary","name":"Example Checkable Tag Primary","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-data-display-tag--example-colors":{"type":"story","id":"components-data-display-tag--example-colors","name":"Example Colors","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tag--example-status-tags":{"type":"story","id":"components-data-display-tag--example-status-tags","name":"Example Status Tags","title":"Components/Data Display/Tag","importPath":"./src/components/data-display/Tag/Tag.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-timeline--documentation":{"id":"components-data-display-timeline--documentation","title":"Components/Data Display/Timeline","name":"Documentation","importPath":"./src/components/data-display/Timeline/Timeline.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-timeline--primary":{"type":"story","id":"components-data-display-timeline--primary","name":"Primary","title":"Components/Data Display/Timeline","importPath":"./src/components/data-display/Timeline/Timeline.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--documentation":{"id":"components-data-display-tooltip--documentation","title":"Components/Data Display/Tooltip","name":"Documentation","importPath":"./docs/components/Data Display/Tooltip/Documentation.mdx","storiesImports":["./src/components/data-display/Tooltip/Tooltip.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-display-tooltip--primary":{"type":"story","id":"components-data-display-tooltip--primary","name":"Primary","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--title":{"type":"story","id":"components-data-display-tooltip--title","name":"Title","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--color":{"type":"story","id":"components-data-display-tooltip--color","name":"Color","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--no-arrow":{"type":"story","id":"components-data-display-tooltip--no-arrow","name":"No Arrow","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--bottom-placement":{"type":"story","id":"components-data-display-tooltip--bottom-placement","name":"Bottom Placement","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--click-trigger":{"type":"story","id":"components-data-display-tooltip--click-trigger","name":"Click Trigger","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--always-open":{"type":"story","id":"components-data-display-tooltip--always-open","name":"Always Open","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--right-click":{"type":"story","id":"components-data-display-tooltip--right-click","name":"Right Click","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--click-with-on-change":{"type":"story","id":"components-data-display-tooltip--click-with-on-change","name":"Click With On Change","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--example-arrow-placements":{"type":"story","id":"components-data-display-tooltip--example-arrow-placements","name":"Example Arrow Placements","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--example-disabled":{"type":"story","id":"components-data-display-tooltip--example-disabled","name":"Example Disabled","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tooltip--example-auto-shift":{"type":"story","id":"components-data-display-tooltip--example-auto-shift","name":"Example Auto Shift","title":"Components/Data Display/Tooltip","importPath":"./src/components/data-display/Tooltip/Tooltip.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tour--documentation":{"id":"components-data-display-tour--documentation","title":"Components/Data Display/Tour","name":"Documentation","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-tour--primary":{"type":"story","id":"components-data-display-tour--primary","name":"Primary","title":"Components/Data Display/Tour","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tour--example-placement":{"type":"story","id":"components-data-display-tour--example-placement","name":"Example Placement","title":"Components/Data Display/Tour","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tour--example-nav-logo":{"type":"story","id":"components-data-display-tour--example-nav-logo","name":"Example Nav Logo","title":"Components/Data Display/Tour","importPath":"./src/components/data-display/Tour/Tour.stories.tsx","tags":["dev","test","autodocs"]},"components-data-display-tree--documentation":{"id":"components-data-display-tree--documentation","title":"Components/Data Display/Tree","name":"Documentation","importPath":"./src/components/data-display/Tree/Tree.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-display-tree--primary":{"type":"story","id":"components-data-display-tree--primary","name":"Primary","title":"Components/Data Display/Tree","importPath":"./src/components/data-display/Tree/Tree.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--documentation":{"id":"components-data-entry-autocomplete--documentation","title":"Components/Data Entry/AutoComplete","name":"Documentation","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-autocomplete--primary":{"type":"story","id":"components-data-entry-autocomplete--primary","name":"Primary","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--clear-button":{"type":"story","id":"components-data-entry-autocomplete--clear-button","name":"Clear Button","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--placeholder":{"type":"story","id":"components-data-entry-autocomplete--placeholder","name":"Placeholder","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--disabled":{"type":"story","id":"components-data-entry-autocomplete--disabled","name":"Disabled","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--not-found":{"type":"story","id":"components-data-entry-autocomplete--not-found","name":"Not Found","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--borderless":{"type":"story","id":"components-data-entry-autocomplete--borderless","name":"Borderless","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-basic":{"type":"story","id":"components-data-entry-autocomplete--example-basic","name":"Example Basic","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-customized":{"type":"story","id":"components-data-entry-autocomplete--example-customized","name":"Example Customized","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-customize-input":{"type":"story","id":"components-data-entry-autocomplete--example-customize-input","name":"Example Customize Input","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-non-case-sensitive":{"type":"story","id":"components-data-entry-autocomplete--example-non-case-sensitive","name":"Example Non Case Sensitive","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-lookup-patterns-certain-category":{"type":"story","id":"components-data-entry-autocomplete--example-lookup-patterns-certain-category","name":"Example Lookup Patterns Certain Category","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-lookup-patterns-un-certain-category":{"type":"story","id":"components-data-entry-autocomplete--example-lookup-patterns-un-certain-category","name":"Example Lookup Patterns Un Certain Category","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-status":{"type":"story","id":"components-data-entry-autocomplete--example-status","name":"Example Status","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-autocomplete--example-clear-button":{"type":"story","id":"components-data-entry-autocomplete--example-clear-button","name":"Example Clear Button","title":"Components/Data Entry/AutoComplete","importPath":"./src/components/data-entry/AutoComplete/AutoComplete.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--documentation":{"id":"components-data-entry-cascader--documentation","title":"Components/Data Entry/Cascader","name":"Documentation","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-cascader--primary":{"type":"story","id":"components-data-entry-cascader--primary","name":"Primary","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--allow-clear":{"type":"story","id":"components-data-entry-cascader--allow-clear","name":"Allow Clear","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--auto-focus":{"type":"story","id":"components-data-entry-cascader--auto-focus","name":"Auto Focus","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--hover-expand":{"type":"story","id":"components-data-entry-cascader--hover-expand","name":"Hover Expand","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--no-border":{"type":"story","id":"components-data-entry-cascader--no-border","name":"No Border","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--multiple-cascader":{"type":"story","id":"components-data-entry-cascader--multiple-cascader","name":"Multiple Cascader","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--search-icon":{"type":"story","id":"components-data-entry-cascader--search-icon","name":"Search Icon","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--custom-dropdown-style":{"type":"story","id":"components-data-entry-cascader--custom-dropdown-style","name":"Custom Dropdown Style","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--suffix-icon":{"type":"story","id":"components-data-entry-cascader--suffix-icon","name":"Suffix Icon","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--display-render":{"type":"story","id":"components-data-entry-cascader--display-render","name":"Display Render","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--disabled":{"type":"story","id":"components-data-entry-cascader--disabled","name":"Disabled","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--disabled-option":{"type":"story","id":"components-data-entry-cascader--disabled-option","name":"Disabled Option","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--default-value":{"type":"story","id":"components-data-entry-cascader--default-value","name":"Default Value","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--example-custom-trigger":{"type":"story","id":"components-data-entry-cascader--example-custom-trigger","name":"Example Custom Trigger","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-cascader--example-lazy-load":{"type":"story","id":"components-data-entry-cascader--example-lazy-load","name":"Example Lazy Load","title":"Components/Data Entry/Cascader","importPath":"./src/components/data-entry/Cascader/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--documentation":{"id":"components-data-entry-checkbox--documentation","title":"Components/Data Entry/Checkbox","name":"Documentation","importPath":"./docs/components/Data Entry/Checkbox/Documentation.mdx","storiesImports":["./src/components/data-entry/Checkbox/Checkbox.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-entry-checkbox--primary":{"type":"story","id":"components-data-entry-checkbox--primary","name":"Primary","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--with-auto-focus":{"type":"story","id":"components-data-entry-checkbox--with-auto-focus","name":"With Auto Focus","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--default-checked":{"type":"story","id":"components-data-entry-checkbox--default-checked","name":"Default Checked","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--disabled":{"type":"story","id":"components-data-entry-checkbox--disabled","name":"Disabled","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--indeterminate":{"type":"story","id":"components-data-entry-checkbox--indeterminate","name":"Indeterminate","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-checkbox--example-check-all":{"type":"story","id":"components-data-entry-checkbox--example-check-all","name":"Example Check All","title":"Components/Data Entry/Checkbox","importPath":"./src/components/data-entry/Checkbox/Checkbox.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-data-entry-date-picker--documentation":{"id":"components-data-entry-date-picker--documentation","title":"Components/Data Entry/Date Picker","name":"Documentation","importPath":"./docs/components/Data Entry/Date Picker/Documentation.mdx","storiesImports":["./src/components/data-entry/DatePicker/DatePicker.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-entry-date-picker--date-picker-with-disabled-years":{"type":"story","id":"components-data-entry-date-picker--date-picker-with-disabled-years","name":"Date Picker With Disabled Years","title":"Components/Data Entry/Date Picker","importPath":"./src/components/data-entry/DatePicker/DatePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-date-picker--primary":{"type":"story","id":"components-data-entry-date-picker--primary","name":"Primary","title":"Components/Data Entry/Date Picker","importPath":"./src/components/data-entry/DatePicker/DatePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-date-picker--with-date-picker-with-disabled-years":{"type":"story","id":"components-data-entry-date-picker--with-date-picker-with-disabled-years","name":"With Date Picker With Disabled Years","title":"Components/Data Entry/Date Picker","importPath":"./src/components/data-entry/DatePicker/DatePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-form--documentation":{"id":"components-data-entry-form--documentation","title":"Components/Data Entry/Form","name":"Documentation","importPath":"./src/components/data-entry/Form/Form.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-form--primary":{"type":"story","id":"components-data-entry-form--primary","name":"Primary","title":"Components/Data Entry/Form","importPath":"./src/components/data-entry/Form/Form.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--documentation":{"id":"components-data-entry-input--documentation","title":"Components/Data Entry/Input","name":"Documentation","importPath":"./src/components/data-entry/Input/Input.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-input--error":{"type":"story","id":"components-data-entry-input--error","name":"Error","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--text-area":{"type":"story","id":"components-data-entry-input--text-area","name":"Text Area","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--large":{"type":"story","id":"components-data-entry-input--large","name":"Large","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--middle":{"type":"story","id":"components-data-entry-input--middle","name":"Middle","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--small":{"type":"story","id":"components-data-entry-input--small","name":"Small","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--primary":{"type":"story","id":"components-data-entry-input--primary","name":"Primary","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-https-before":{"type":"story","id":"components-data-entry-input--with-https-before","name":"With Https Before","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-dot-com-after":{"type":"story","id":"components-data-entry-input--with-dot-com-after","name":"With Dot Com After","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--allow-clear":{"type":"story","id":"components-data-entry-input--allow-clear","name":"Allow Clear","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--disabled":{"type":"story","id":"components-data-entry-input--disabled","name":"Disabled","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-max-length":{"type":"story","id":"components-data-entry-input--with-max-length","name":"With Max Length","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-prefix-and-suffix":{"type":"story","id":"components-data-entry-input--with-prefix-and-suffix","name":"With Prefix And Suffix","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-input--with-focus-management":{"type":"story","id":"components-data-entry-input--with-focus-management","name":"With Focus Management","title":"Components/Data Entry/Input","importPath":"./src/components/data-entry/Input/Input.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-data-entry-inputnumber--documentation":{"id":"components-data-entry-inputnumber--documentation","title":"Components/Data Entry/InputNumber","name":"Documentation","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-inputnumber--primary":{"type":"story","id":"components-data-entry-inputnumber--primary","name":"Primary","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--small":{"type":"story","id":"components-data-entry-inputnumber--small","name":"Small","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--large":{"type":"story","id":"components-data-entry-inputnumber--large","name":"Large","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--warning":{"type":"story","id":"components-data-entry-inputnumber--warning","name":"Warning","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--error":{"type":"story","id":"components-data-entry-inputnumber--error","name":"Error","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--disabled":{"type":"story","id":"components-data-entry-inputnumber--disabled","name":"Disabled","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--read-only":{"type":"story","id":"components-data-entry-inputnumber--read-only","name":"Read Only","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--prefix":{"type":"story","id":"components-data-entry-inputnumber--prefix","name":"$ Prefix","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--string-mode":{"type":"story","id":"components-data-entry-inputnumber--string-mode","name":"String Mode","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--with-controls-and-precision":{"type":"story","id":"components-data-entry-inputnumber--with-controls-and-precision","name":"With Controls And Precision","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--decimal-separator-comma":{"type":"story","id":"components-data-entry-inputnumber--decimal-separator-comma","name":"Decimal Separator Comma","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--with-formatter":{"type":"story","id":"components-data-entry-inputnumber--with-formatter","name":"With Formatter","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--min-max-constraints":{"type":"story","id":"components-data-entry-inputnumber--min-max-constraints","name":"Min Max Constraints","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-inputnumber--step-05":{"type":"story","id":"components-data-entry-inputnumber--step-05","name":"Step 05","title":"Components/Data Entry/InputNumber","importPath":"./src/components/data-entry/InputNumber/InputNumber.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--documentation":{"id":"components-data-entry-mentions--documentation","title":"Components/Data Entry/Mentions","name":"Documentation","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-mentions--primary":{"type":"story","id":"components-data-entry-mentions--primary","name":"Primary","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--clearable":{"type":"story","id":"components-data-entry-mentions--clearable","name":"Clearable","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--auto-focus":{"type":"story","id":"components-data-entry-mentions--auto-focus","name":"Auto Focus","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--auto-size":{"type":"story","id":"components-data-entry-mentions--auto-size","name":"Auto Size","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--custom-not-found-content":{"type":"story","id":"components-data-entry-mentions--custom-not-found-content","name":"Custom Not Found Content","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--borderless":{"type":"story","id":"components-data-entry-mentions--borderless","name":"Borderless","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--warning":{"type":"story","id":"components-data-entry-mentions--warning","name":"Warning","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--custom-placeholder":{"type":"story","id":"components-data-entry-mentions--custom-placeholder","name":"Custom Placeholder","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-basic":{"type":"story","id":"components-data-entry-mentions--example-basic","name":"Example Basic","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-variants":{"type":"story","id":"components-data-entry-mentions--example-variants","name":"Example Variants","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-async":{"type":"story","id":"components-data-entry-mentions--example-async","name":"Example Async","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-form":{"type":"story","id":"components-data-entry-mentions--example-form","name":"Example Form","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-disabled-or-read-only":{"type":"story","id":"components-data-entry-mentions--example-disabled-or-read-only","name":"Example Disabled Or Read Only","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-clear-icon":{"type":"story","id":"components-data-entry-mentions--example-clear-icon","name":"Example Clear Icon","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-mentions--example-status":{"type":"story","id":"components-data-entry-mentions--example-status","name":"Example Status","title":"Components/Data Entry/Mentions","importPath":"./src/components/data-entry/Mentions/Mentions.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem--documentation":{"id":"components-data-entry-queryitem--documentation","title":"Components/Data Entry/QueryItem","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/QueryItem.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem--dont-use-this-or-you-will-be-fired":{"type":"story","id":"components-data-entry-queryitem--dont-use-this-or-you-will-be-fired","name":"Dont Use This Or You Will Be Fired","title":"Components/Data Entry/QueryItem","importPath":"./src/components/data-entry/QueryItem/QueryItem.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--documentation":{"id":"components-data-entry-queryitem-action--documentation","title":"Components/Data Entry/QueryItem/Action","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-action--primary":{"type":"story","id":"components-data-entry-queryitem-action--primary","name":"Primary","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--secondary":{"type":"story","id":"components-data-entry-queryitem-action--secondary","name":"Secondary","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--disabled":{"type":"story","id":"components-data-entry-queryitem-action--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--on-click":{"type":"story","id":"components-data-entry-queryitem-action--on-click","name":"On Click","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-action--loading":{"type":"story","id":"components-data-entry-queryitem-action--loading","name":"Loading","title":"Components/Data Entry/QueryItem/Action","importPath":"./src/components/data-entry/QueryItem/Action.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--documentation":{"id":"components-data-entry-queryitem-valueselector-cascader--documentation","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector-cascader--default":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--default","name":"Default","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--simple-list":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--simple-list","name":"Simple List","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--error":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--error","name":"Error","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--with-icon":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--with-icon","name":"With Icon","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--on-select":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--on-select","name":"On Select","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--pre-selected-value":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--pre-selected-value","name":"Pre Selected Value","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--load-data":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--load-data","name":"Load Data","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--suffix-icon":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--suffix-icon","name":"Suffix Icon","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--loading":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--loading","name":"Loading","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-cascader--search-label":{"type":"story","id":"components-data-entry-queryitem-valueselector-cascader--search-label","name":"Search Label","title":"Components/Data Entry/QueryItem/ValueSelector/Cascader","importPath":"./src/components/data-entry/QueryItem/Cascader.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--documentation":{"id":"components-data-entry-queryitem-valueselector-numberinput--documentation","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector-numberinput--primary":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--primary","name":"Primary","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--default":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--default","name":"Default","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--placeholder":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--placeholder","name":"Placeholder","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--error-message":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--error-message","name":"Error Message","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--disabled":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--min":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--min","name":"Min","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--max":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--max","name":"Max","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-numberinput--auto-focus":{"type":"story","id":"components-data-entry-queryitem-valueselector-numberinput--auto-focus","name":"Auto Focus","title":"Components/Data Entry/QueryItem/ValueSelector/NumberInput","importPath":"./src/components/data-entry/QueryItem/NumberInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--documentation":{"id":"components-data-entry-queryitem-qualifier--documentation","title":"Components/Data Entry/QueryItem/Qualifier","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-qualifier--empty":{"type":"story","id":"components-data-entry-queryitem-qualifier--empty","name":"Empty","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--simple":{"type":"story","id":"components-data-entry-queryitem-qualifier--simple","name":"Simple","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--error":{"type":"story","id":"components-data-entry-queryitem-qualifier--error","name":"Error","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--disabled":{"type":"story","id":"components-data-entry-queryitem-qualifier--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-qualifier--pre-selected":{"type":"story","id":"components-data-entry-queryitem-qualifier--pre-selected","name":"Pre Selected","title":"Components/Data Entry/QueryItem/Qualifier","importPath":"./src/components/data-entry/QueryItem/Qualifier.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-text--documentation":{"id":"components-data-entry-queryitem-text--documentation","title":"Components/Data Entry/QueryItem/Text","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/Text.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-text--primary":{"type":"story","id":"components-data-entry-queryitem-text--primary","name":"Primary","title":"Components/Data Entry/QueryItem/Text","importPath":"./src/components/data-entry/QueryItem/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-text--disabled":{"type":"story","id":"components-data-entry-queryitem-text--disabled","name":"Disabled","title":"Components/Data Entry/QueryItem/Text","importPath":"./src/components/data-entry/QueryItem/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector--documentation":{"id":"components-data-entry-queryitem-valueselector--documentation","title":"Components/Data Entry/QueryItem/ValueSelector","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/ValueSelector.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector--dont-use-this-or-you-will-be-fired":{"type":"story","id":"components-data-entry-queryitem-valueselector--dont-use-this-or-you-will-be-fired","name":"Dont Use This Or You Will Be Fired","title":"Components/Data Entry/QueryItem/ValueSelector","importPath":"./src/components/data-entry/QueryItem/ValueSelector.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--documentation":{"id":"components-data-entry-queryitem-valueselector-textinput--documentation","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","name":"Documentation","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-queryitem-valueselector-textinput--primary":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--primary","name":"Primary","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--default":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--default","name":"Default","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--placeholder":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--placeholder","name":"Placeholder","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-queryitem-valueselector-textinput--error-message":{"type":"story","id":"components-data-entry-queryitem-valueselector-textinput--error-message","name":"Error Message","title":"Components/Data Entry/QueryItem/ValueSelector/TextInput","importPath":"./src/components/data-entry/QueryItem/TextInput.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--documentation":{"id":"components-data-entry-radio--documentation","title":"Components/Data Entry/Radio","name":"Documentation","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-radio--primary":{"type":"story","id":"components-data-entry-radio--primary","name":"Primary","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--with-auto-focus":{"type":"story","id":"components-data-entry-radio--with-auto-focus","name":"With Auto Focus","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--checked":{"type":"story","id":"components-data-entry-radio--checked","name":"Checked","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--default-checked":{"type":"story","id":"components-data-entry-radio--default-checked","name":"Default Checked","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--disabled":{"type":"story","id":"components-data-entry-radio--disabled","name":"Disabled","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio--with-on-change":{"type":"story","id":"components-data-entry-radio--with-on-change","name":"With On Change","title":"Components/Data Entry/Radio","importPath":"./src/components/data-entry/Radio/Radio.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio-radiobutton--documentation":{"id":"components-data-entry-radio-radiobutton--documentation","title":"Components/Data Entry/Radio/RadioButton","name":"Documentation","importPath":"./src/components/data-entry/Radio/RadioButton.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-radio-radiobutton--primary":{"type":"story","id":"components-data-entry-radio-radiobutton--primary","name":"Primary","title":"Components/Data Entry/Radio/RadioButton","importPath":"./src/components/data-entry/Radio/RadioButton.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio-radiogroup--documentation":{"id":"components-data-entry-radio-radiogroup--documentation","title":"Components/Data Entry/Radio/RadioGroup","name":"Documentation","importPath":"./src/components/data-entry/Radio/RadioGroup.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-radio-radiogroup--with-options-and-option-type":{"type":"story","id":"components-data-entry-radio-radiogroup--with-options-and-option-type","name":"With Options And Option Type","title":"Components/Data Entry/Radio/RadioGroup","importPath":"./src/components/data-entry/Radio/RadioGroup.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-radio-radiogroup--with-radio-buttons":{"type":"story","id":"components-data-entry-radio-radiogroup--with-radio-buttons","name":"With Radio Buttons","title":"Components/Data Entry/Radio/RadioGroup","importPath":"./src/components/data-entry/Radio/RadioGroup.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-select--documentation":{"id":"components-data-entry-select--documentation","title":"Components/Data Entry/Select","name":"Documentation","importPath":"./docs/components/Data Entry/Select/Documentation.mdx","storiesImports":["./src/components/data-entry/Select/Select.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-data-entry-select--primary":{"type":"story","id":"components-data-entry-select--primary","name":"Primary","title":"Components/Data Entry/Select","importPath":"./src/components/data-entry/Select/Select.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-slider--documentation":{"id":"components-data-entry-slider--documentation","title":"Components/Data Entry/Slider","name":"Documentation","importPath":"./src/components/data-entry/Slider/Slider.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-slider--primary":{"type":"story","id":"components-data-entry-slider--primary","name":"Primary","title":"Components/Data Entry/Slider","importPath":"./src/components/data-entry/Slider/Slider.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--documentation":{"id":"components-data-entry-switch--documentation","title":"Components/Data Entry/Switch","name":"Documentation","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-switch--primary":{"type":"story","id":"components-data-entry-switch--primary","name":"Primary","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--checked":{"type":"story","id":"components-data-entry-switch--checked","name":"Checked","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--custom-copy":{"type":"story","id":"components-data-entry-switch--custom-copy","name":"Custom Copy","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--disabled":{"type":"story","id":"components-data-entry-switch--disabled","name":"Disabled","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--loading":{"type":"story","id":"components-data-entry-switch--loading","name":"Loading","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--small":{"type":"story","id":"components-data-entry-switch--small","name":"Small","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-disabled":{"type":"story","id":"components-data-entry-switch--example-disabled","name":"Example Disabled","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-sizes":{"type":"story","id":"components-data-entry-switch--example-sizes","name":"Example Sizes","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-loading":{"type":"story","id":"components-data-entry-switch--example-loading","name":"Example Loading","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-switch--example-text-and-icon":{"type":"story","id":"components-data-entry-switch--example-text-and-icon","name":"Example Text And Icon","title":"Components/Data Entry/Switch","importPath":"./src/components/data-entry/Switch/Switch.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-timepicker--documentation":{"id":"components-data-entry-timepicker--documentation","title":"Components/Data Entry/TimePicker","name":"Documentation","importPath":"./src/components/data-entry/TimePicker/TimePicker.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-timepicker--primary":{"type":"story","id":"components-data-entry-timepicker--primary","name":"Primary","title":"Components/Data Entry/TimePicker","importPath":"./src/components/data-entry/TimePicker/TimePicker.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-transfer--documentation":{"id":"components-data-entry-transfer--documentation","title":"Components/Data Entry/Transfer","name":"Documentation","importPath":"./src/components/data-entry/Transfer/Transfer.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-transfer--primary":{"type":"story","id":"components-data-entry-transfer--primary","name":"Primary","title":"Components/Data Entry/Transfer","importPath":"./src/components/data-entry/Transfer/Transfer.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-treeselect--documentation":{"id":"components-data-entry-treeselect--documentation","title":"Components/Data Entry/TreeSelect","name":"Documentation","importPath":"./src/components/data-entry/TreeSelect/TreeSelect.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-treeselect--primary":{"type":"story","id":"components-data-entry-treeselect--primary","name":"Primary","title":"Components/Data Entry/TreeSelect","importPath":"./src/components/data-entry/TreeSelect/TreeSelect.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--documentation":{"id":"components-data-entry-upload--documentation","title":"Components/Data Entry/Upload","name":"Documentation","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-data-entry-upload--primary":{"type":"story","id":"components-data-entry-upload--primary","name":"Primary","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--custom-list-type":{"type":"story","id":"components-data-entry-upload--custom-list-type","name":"Custom List Type","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--drag-and-drop-upload":{"type":"story","id":"components-data-entry-upload--drag-and-drop-upload","name":"Drag And Drop Upload","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--custom-progress":{"type":"story","id":"components-data-entry-upload--custom-progress","name":"Custom Progress","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--custom-accept-file-type":{"type":"story","id":"components-data-entry-upload--custom-accept-file-type","name":"Custom Accept File Type","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-data-entry-upload--disabled-upload":{"type":"story","id":"components-data-entry-upload--disabled-upload","name":"Disabled Upload","title":"Components/Data Entry/Upload","importPath":"./src/components/data-entry/Upload/Upload.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--documentation":{"id":"components-general-button--documentation","title":"Components/General/Button","name":"Documentation","importPath":"./src/components/general/Button/Button.stories.tsx","type":"docs","tags":["dev","test","autodocs","play-fn"],"storiesImports":[]},"components-general-button--primary":{"type":"story","id":"components-general-button--primary","name":"Primary","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-general-button--default":{"type":"story","id":"components-general-button--default","name":"Default","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--dashed":{"type":"story","id":"components-general-button--dashed","name":"Dashed","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--text":{"type":"story","id":"components-general-button--text","name":"Text","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--link":{"type":"story","id":"components-general-button--link","name":"Link","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-danger":{"type":"story","id":"components-general-button--with-danger","name":"With Danger","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--disabled":{"type":"story","id":"components-general-button--disabled","name":"Disabled","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--ghost":{"type":"story","id":"components-general-button--ghost","name":"Ghost","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--block":{"type":"story","id":"components-general-button--block","name":"Block","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-icon":{"type":"story","id":"components-general-button--with-icon","name":"With Icon","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-icon-sm":{"type":"story","id":"components-general-button--with-icon-sm","name":"With Icon SM","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--with-icon-default-color-sm":{"type":"story","id":"components-general-button--with-icon-default-color-sm","name":"With Icon Default Color SM","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--round-icon-button":{"type":"story","id":"components-general-button--round-icon-button","name":"Round Icon Button","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--loading":{"type":"story","id":"components-general-button--loading","name":"Loading","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--circle":{"type":"story","id":"components-general-button--circle","name":"Circle","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--round":{"type":"story","id":"components-general-button--round","name":"Round","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--large":{"type":"story","id":"components-general-button--large","name":"Large","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--small":{"type":"story","id":"components-general-button--small","name":"Small","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-button--primary-button-with-click":{"type":"story","id":"components-general-button--primary-button-with-click","name":"Primary Button With Click","title":"Components/General/Button","importPath":"./src/components/general/Button/Button.stories.tsx","tags":["dev","test","autodocs"]},"components-general-floatbutton--documentation":{"id":"components-general-floatbutton--documentation","title":"Components/General/FloatButton","name":"Documentation","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-floatbutton--primary":{"type":"story","id":"components-general-floatbutton--primary","name":"Primary","title":"Components/General/FloatButton","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","tags":["dev","test","autodocs"]},"components-general-floatbutton--with-badge":{"type":"story","id":"components-general-floatbutton--with-badge","name":"With Badge","title":"Components/General/FloatButton","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","tags":["dev","test","autodocs"]},"components-general-floatbutton--square":{"type":"story","id":"components-general-floatbutton--square","name":"Square","title":"Components/General/FloatButton","importPath":"./src/components/general/FloatButton/FloatButton.stories.tsx","tags":["dev","test","autodocs"]},"components-general-icons--documentation":{"id":"components-general-icons--documentation","title":"Components/General/Icons","name":"Documentation","importPath":"./src/components/general/Icon/Icon.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-icons--icon-table":{"type":"story","id":"components-general-icons--icon-table","name":"Icon Table","title":"Components/General/Icons","importPath":"./src/components/general/Icon/Icon.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--documentation":{"id":"components-general-link--documentation","title":"Components/General/Link","name":"Documentation","importPath":"./src/components/general/Typography/Link.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-link--primary":{"type":"story","id":"components-general-link--primary","name":"Primary","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--code":{"type":"story","id":"components-general-link--code","name":"Code","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--copyable":{"type":"story","id":"components-general-link--copyable","name":"Copyable","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--deleted":{"type":"story","id":"components-general-link--deleted","name":"Deleted","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--disabled":{"type":"story","id":"components-general-link--disabled","name":"Disabled","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--editable":{"type":"story","id":"components-general-link--editable","name":"Editable","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--keyboard":{"type":"story","id":"components-general-link--keyboard","name":"Keyboard","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--marked":{"type":"story","id":"components-general-link--marked","name":"Marked","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--strong":{"type":"story","id":"components-general-link--strong","name":"Strong","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--italic":{"type":"story","id":"components-general-link--italic","name":"Italic","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--success":{"type":"story","id":"components-general-link--success","name":"Success","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--secondary":{"type":"story","id":"components-general-link--secondary","name":"Secondary","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--warning":{"type":"story","id":"components-general-link--warning","name":"Warning","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--danger":{"type":"story","id":"components-general-link--danger","name":"Danger","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--underline":{"type":"story","id":"components-general-link--underline","name":"Underline","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--custom-on-click":{"type":"story","id":"components-general-link--custom-on-click","name":"Custom On Click","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-link--example-links":{"type":"story","id":"components-general-link--example-links","name":"Example Links","title":"Components/General/Link","importPath":"./src/components/general/Typography/Link.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--documentation":{"id":"components-general-typography-paragraph--documentation","title":"Components/General/Typography.Paragraph","name":"Documentation","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-typography-paragraph--primary":{"type":"story","id":"components-general-typography-paragraph--primary","name":"Primary","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--code":{"type":"story","id":"components-general-typography-paragraph--code","name":"Code","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--copyable":{"type":"story","id":"components-general-typography-paragraph--copyable","name":"Copyable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--deleted-line":{"type":"story","id":"components-general-typography-paragraph--deleted-line","name":"Deleted Line","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--disabled":{"type":"story","id":"components-general-typography-paragraph--disabled","name":"Disabled","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--editable":{"type":"story","id":"components-general-typography-paragraph--editable","name":"Editable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--ellipsis":{"type":"story","id":"components-general-typography-paragraph--ellipsis","name":"Ellipsis","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--marked":{"type":"story","id":"components-general-typography-paragraph--marked","name":"Marked","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--strong":{"type":"story","id":"components-general-typography-paragraph--strong","name":"Strong","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--italic":{"type":"story","id":"components-general-typography-paragraph--italic","name":"Italic","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--success":{"type":"story","id":"components-general-typography-paragraph--success","name":"Success","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--secondary":{"type":"story","id":"components-general-typography-paragraph--secondary","name":"Secondary","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--warning":{"type":"story","id":"components-general-typography-paragraph--warning","name":"Warning","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--danger":{"type":"story","id":"components-general-typography-paragraph--danger","name":"Danger","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--underline":{"type":"story","id":"components-general-typography-paragraph--underline","name":"Underline","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--custom-on-click":{"type":"story","id":"components-general-typography-paragraph--custom-on-click","name":"Custom On Click","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-editable":{"type":"story","id":"components-general-typography-paragraph--example-editable","name":"Example Editable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-copyable":{"type":"story","id":"components-general-typography-paragraph--example-copyable","name":"Example Copyable","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-ellipsis":{"type":"story","id":"components-general-typography-paragraph--example-ellipsis","name":"Example Ellipsis","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-paragraph--example-suffix":{"type":"story","id":"components-general-typography-paragraph--example-suffix","name":"Example Suffix","title":"Components/General/Typography.Paragraph","importPath":"./src/components/general/Typography/Paragraph.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--documentation":{"id":"components-general-typography-text--documentation","title":"Components/General/Typography.Text","name":"Documentation","importPath":"./src/components/general/Typography/Text.stories.tsx","type":"docs","tags":["dev","test","autodocs","play-fn"],"storiesImports":[]},"components-general-typography-text--primary":{"type":"story","id":"components-general-typography-text--primary","name":"Primary","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-general-typography-text--code":{"type":"story","id":"components-general-typography-text--code","name":"Code","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--copyable":{"type":"story","id":"components-general-typography-text--copyable","name":"Copyable","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--deleted":{"type":"story","id":"components-general-typography-text--deleted","name":"Deleted","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--disabled":{"type":"story","id":"components-general-typography-text--disabled","name":"Disabled","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--editable":{"type":"story","id":"components-general-typography-text--editable","name":"Editable","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--keyboard":{"type":"story","id":"components-general-typography-text--keyboard","name":"Keyboard","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--marked":{"type":"story","id":"components-general-typography-text--marked","name":"Marked","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--strong":{"type":"story","id":"components-general-typography-text--strong","name":"Strong","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--italic":{"type":"story","id":"components-general-typography-text--italic","name":"Italic","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--success":{"type":"story","id":"components-general-typography-text--success","name":"Success","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--secondary":{"type":"story","id":"components-general-typography-text--secondary","name":"Secondary","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--warning":{"type":"story","id":"components-general-typography-text--warning","name":"Warning","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--danger":{"type":"story","id":"components-general-typography-text--danger","name":"Danger","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--underline":{"type":"story","id":"components-general-typography-text--underline","name":"Underline","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--custom-on-click":{"type":"story","id":"components-general-typography-text--custom-on-click","name":"Custom On Click","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--example-texts":{"type":"story","id":"components-general-typography-text--example-texts","name":"Example Texts","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-typography-text--example-ellipsis":{"type":"story","id":"components-general-typography-text--example-ellipsis","name":"Example Ellipsis","title":"Components/General/Typography.Text","importPath":"./src/components/general/Typography/Text.stories.tsx","tags":["dev","test","autodocs"]},"components-general-title--documentation":{"id":"components-general-title--documentation","title":"Components/General/Title","name":"Documentation","importPath":"./src/components/general/Typography/Title.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-general-title--primary":{"type":"story","id":"components-general-title--primary","name":"Primary","title":"Components/General/Title","importPath":"./src/components/general/Typography/Title.stories.tsx","tags":["dev","test","autodocs"]},"components-general-title--example-headings":{"type":"story","id":"components-general-title--example-headings","name":"Example Headings","title":"Components/General/Title","importPath":"./src/components/general/Typography/Title.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--documentation":{"id":"components-feedback-alert--documentation","title":"Components/Feedback/Alert","name":"Documentation","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-alert--primary":{"type":"story","id":"components-feedback-alert--primary","name":"Primary","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--success":{"type":"story","id":"components-feedback-alert--success","name":"Success","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--error-type":{"type":"story","id":"components-feedback-alert--error-type","name":"Error Type","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--warning-banner":{"type":"story","id":"components-feedback-alert--warning-banner","name":"Warning Banner","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--description":{"type":"story","id":"components-feedback-alert--description","name":"Description","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--custom-action":{"type":"story","id":"components-feedback-alert--custom-action","name":"Custom Action","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--custom-close-icon":{"type":"story","id":"components-feedback-alert--custom-close-icon","name":"Custom Close Icon","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-all-types":{"type":"story","id":"components-feedback-alert--example-all-types","name":"Example All Types","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-closable":{"type":"story","id":"components-feedback-alert--example-closable","name":"Example Closable","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-banner":{"type":"story","id":"components-feedback-alert--example-banner","name":"Example Banner","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-catch-error":{"type":"story","id":"components-feedback-alert--example-catch-error","name":"Example Catch Error","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-alert--example-custom-actions":{"type":"story","id":"components-feedback-alert--example-custom-actions","name":"Example Custom Actions","title":"Components/Feedback/Alert","importPath":"./src/components/feedback/Alert/Alert.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-drawer--documentation":{"id":"components-feedback-drawer--documentation","title":"Components/Feedback/Drawer","name":"Documentation","importPath":"./src/components/feedback/Drawer/Drawer.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-drawer--primary":{"type":"story","id":"components-feedback-drawer--primary","name":"Primary","title":"Components/Feedback/Drawer","importPath":"./src/components/feedback/Drawer/Drawer.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-loading-modal--documentation":{"id":"components-feedback-loading-modal--documentation","title":"Components/Feedback/Loading Modal","name":"Documentation","importPath":"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-loading-modal--primary":{"type":"story","id":"components-feedback-loading-modal--primary","name":"Primary","title":"Components/Feedback/Loading Modal","importPath":"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-loading-modal--error-story":{"type":"story","id":"components-feedback-loading-modal--error-story","name":"Error Story","title":"Components/Feedback/Loading Modal","importPath":"./src/components/feedback/LoadingModal/LoadingModal.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--documentation":{"id":"components-feedback-message--documentation","title":"Components/Feedback/Message","name":"Documentation","importPath":"./src/components/feedback/Message/Message.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-message--primary":{"type":"story","id":"components-feedback-message--primary","name":"Primary","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--short":{"type":"story","id":"components-feedback-message--short","name":"Short","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--custom-style":{"type":"story","id":"components-feedback-message--custom-style","name":"Custom Style","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-message--clickable":{"type":"story","id":"components-feedback-message--clickable","name":"Clickable","title":"Components/Feedback/Message","importPath":"./src/components/feedback/Message/Message.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-modal--documentation":{"id":"components-feedback-modal--documentation","title":"Components/Feedback/Modal","name":"Documentation","importPath":"./docs/components/Feedback/Modal/Documentation.mdx","storiesImports":["./src/components/feedback/Modal/Modal.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"components-feedback-modal--primary":{"type":"story","id":"components-feedback-modal--primary","name":"Primary","title":"Components/Feedback/Modal","importPath":"./src/components/feedback/Modal/Modal.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--documentation":{"id":"components-feedback-notification--documentation","title":"Components/Feedback/Notification","name":"Documentation","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-notification--primary":{"type":"story","id":"components-feedback-notification--primary","name":"Primary","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--short":{"type":"story","id":"components-feedback-notification--short","name":"Short","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--info":{"type":"story","id":"components-feedback-notification--info","name":"Info","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--warning":{"type":"story","id":"components-feedback-notification--warning","name":"Warning","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--success":{"type":"story","id":"components-feedback-notification--success","name":"Success","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-notification--error":{"type":"story","id":"components-feedback-notification--error","name":"Error","title":"Components/Feedback/Notification","importPath":"./src/components/feedback/Notification/Notification.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-popconfirm--documentation":{"id":"components-feedback-popconfirm--documentation","title":"Components/Feedback/Popconfirm","name":"Documentation","importPath":"./src/components/feedback/Popconfirm/Popconfirm.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-popconfirm--primary":{"type":"story","id":"components-feedback-popconfirm--primary","name":"Primary","title":"Components/Feedback/Popconfirm","importPath":"./src/components/feedback/Popconfirm/Popconfirm.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--documentation":{"id":"components-feedback-progress--documentation","title":"Components/Feedback/Progress","name":"Documentation","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-progress--primary":{"type":"story","id":"components-feedback-progress--primary","name":"Primary","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--half-way":{"type":"story","id":"components-feedback-progress--half-way","name":"Half Way","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--success":{"type":"story","id":"components-feedback-progress--success","name":"Success","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--exception":{"type":"story","id":"components-feedback-progress--exception","name":"Exception","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--active":{"type":"story","id":"components-feedback-progress--active","name":"Active","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--with-custom-colors":{"type":"story","id":"components-feedback-progress--with-custom-colors","name":"With Custom Colors","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--circle-type":{"type":"story","id":"components-feedback-progress--circle-type","name":"Circle Type","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--dashboard-type":{"type":"story","id":"components-feedback-progress--dashboard-type","name":"Dashboard Type","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--small-size":{"type":"story","id":"components-feedback-progress--small-size","name":"Small Size","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--custom-format":{"type":"story","id":"components-feedback-progress--custom-format","name":"Custom Format","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-progress":{"type":"story","id":"components-feedback-progress--example-progress","name":"Example Progress","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-circle":{"type":"story","id":"components-feedback-progress--example-circle","name":"Example Circle","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-small":{"type":"story","id":"components-feedback-progress--example-small","name":"Example Small","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-responsive":{"type":"story","id":"components-feedback-progress--example-responsive","name":"Example Responsive","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-dynamic":{"type":"story","id":"components-feedback-progress--example-dynamic","name":"Example Dynamic","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-segments":{"type":"story","id":"components-feedback-progress--example-segments","name":"Example Segments","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-gradient":{"type":"story","id":"components-feedback-progress--example-gradient","name":"Example Gradient","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-progress--example-progress-size":{"type":"story","id":"components-feedback-progress--example-progress-size","name":"Example Progress Size","title":"Components/Feedback/Progress","importPath":"./src/components/feedback/Progress/Progress.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--documentation":{"id":"components-feedback-result--documentation","title":"Components/Feedback/Result","name":"Documentation","importPath":"./src/components/feedback/Result/Result.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-result--primary":{"type":"story","id":"components-feedback-result--primary","name":"Primary","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--error":{"type":"story","id":"components-feedback-result--error","name":"Error","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--warning":{"type":"story","id":"components-feedback-result--warning","name":"Warning","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-result--info":{"type":"story","id":"components-feedback-result--info","name":"Info","title":"Components/Feedback/Result","importPath":"./src/components/feedback/Result/Result.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--documentation":{"id":"components-feedback-skeleton--documentation","title":"Components/Feedback/Skeleton","name":"Documentation","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-skeleton--primary":{"type":"story","id":"components-feedback-skeleton--primary","name":"Primary","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--avatar-placeholder":{"type":"story","id":"components-feedback-skeleton--avatar-placeholder","name":"Avatar Placeholder","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--paragraph":{"type":"story","id":"components-feedback-skeleton--paragraph","name":"Paragraph","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--round-edges":{"type":"story","id":"components-feedback-skeleton--round-edges","name":"Round Edges","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--title":{"type":"story","id":"components-feedback-skeleton--title","name":"Title","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-basic":{"type":"story","id":"components-feedback-skeleton--example-basic","name":"Example Basic","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-combiniation":{"type":"story","id":"components-feedback-skeleton--example-combiniation","name":"Example Combiniation","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-configs":{"type":"story","id":"components-feedback-skeleton--example-configs","name":"Example Configs","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-sub-component":{"type":"story","id":"components-feedback-skeleton--example-sub-component","name":"Example Sub Component","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-skeleton--example-list":{"type":"story","id":"components-feedback-skeleton--example-list","name":"Example List","title":"Components/Feedback/Skeleton","importPath":"./src/components/feedback/Skeleton/Skeleton.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--documentation":{"id":"components-feedback-spin--documentation","title":"Components/Feedback/Spin","name":"Documentation","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-feedback-spin--primary":{"type":"story","id":"components-feedback-spin--primary","name":"Primary","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--small-size":{"type":"story","id":"components-feedback-spin--small-size","name":"Small Size","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--large-size":{"type":"story","id":"components-feedback-spin--large-size","name":"Large Size","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-custom-delay":{"type":"story","id":"components-feedback-spin--with-custom-delay","name":"With Custom Delay","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-custom-indicator":{"type":"story","id":"components-feedback-spin--with-custom-indicator","name":"With Custom Indicator","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--spinning-disabled":{"type":"story","id":"components-feedback-spin--spinning-disabled","name":"Spinning Disabled","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-custom-tip":{"type":"story","id":"components-feedback-spin--with-custom-tip","name":"With Custom Tip","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--with-wrapper-class-name":{"type":"story","id":"components-feedback-spin--with-wrapper-class-name","name":"With Wrapper Class Name","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--fullscreen-mode":{"type":"story","id":"components-feedback-spin--fullscreen-mode","name":"Fullscreen Mode","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-size":{"type":"story","id":"components-feedback-spin--example-size","name":"Example Size","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-embedded":{"type":"story","id":"components-feedback-spin--example-embedded","name":"Example Embedded","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-customized-description":{"type":"story","id":"components-feedback-spin--example-customized-description","name":"Example Customized Description","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-delay":{"type":"story","id":"components-feedback-spin--example-delay","name":"Example Delay","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-feedback-spin--example-fullscreen":{"type":"story","id":"components-feedback-spin--example-fullscreen","name":"Example Fullscreen","title":"Components/Feedback/Spin","importPath":"./src/components/feedback/Spin/Spin.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-center--documentation":{"id":"components-layout-center--documentation","title":"Components/Layout/Center","name":"Documentation","importPath":"./src/components/layout/Center/Center.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-center--primary":{"type":"story","id":"components-layout-center--primary","name":"Primary","title":"Components/Layout/Center","importPath":"./src/components/layout/Center/Center.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--documentation":{"id":"components-layout-divider--documentation","title":"Components/Layout/Divider","name":"Documentation","importPath":"./src/components/layout/Divider/Divider.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-divider--primary":{"type":"story","id":"components-layout-divider--primary","name":"Primary","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--dashed":{"type":"story","id":"components-layout-divider--dashed","name":"Dashed","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--with-orientation":{"type":"story","id":"components-layout-divider--with-orientation","name":"With Orientation","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--with-orientation-margin":{"type":"story","id":"components-layout-divider--with-orientation-margin","name":"With Orientation Margin","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--not-plain":{"type":"story","id":"components-layout-divider--not-plain","name":"Not Plain","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--with-style":{"type":"story","id":"components-layout-divider--with-style","name":"With Style","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-divider--vertical-divider":{"type":"story","id":"components-layout-divider--vertical-divider","name":"Vertical Divider","title":"Components/Layout/Divider","importPath":"./src/components/layout/Divider/Divider.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--documentation":{"id":"components-layout-flex--documentation","title":"Components/Layout/Flex","name":"Documentation","importPath":"./src/components/layout/Flex/Flex.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-flex--primary":{"type":"story","id":"components-layout-flex--primary","name":"Primary","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--vertical-flex":{"type":"story","id":"components-layout-flex--vertical-flex","name":"Vertical Flex","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--justify-flex-start":{"type":"story","id":"components-layout-flex--justify-flex-start","name":"Justify Flex Start","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--justify-center":{"type":"story","id":"components-layout-flex--justify-center","name":"Justify Center","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--justify-flex-end":{"type":"story","id":"components-layout-flex--justify-flex-end","name":"Justify Flex End","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--align-flex-start":{"type":"story","id":"components-layout-flex--align-flex-start","name":"Align Flex Start","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--align-center":{"type":"story","id":"components-layout-flex--align-center","name":"Align Center","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--align-flex-end":{"type":"story","id":"components-layout-flex--align-flex-end","name":"Align Flex End","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--large-gap":{"type":"story","id":"components-layout-flex--large-gap","name":"Large Gap","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-basic":{"type":"story","id":"components-layout-flex--example-basic","name":"Example Basic","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-align":{"type":"story","id":"components-layout-flex--example-align","name":"Example Align","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-gap":{"type":"story","id":"components-layout-flex--example-gap","name":"Example Gap","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-wrap":{"type":"story","id":"components-layout-flex--example-wrap","name":"Example Wrap","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-flex--example-nesting":{"type":"story","id":"components-layout-flex--example-nesting","name":"Example Nesting","title":"Components/Layout/Flex","importPath":"./src/components/layout/Flex/Flex.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-grid--documentation":{"id":"components-layout-grid--documentation","title":"Components/Layout/Grid","name":"Documentation","importPath":"./src/components/layout/Grid/Grid.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-grid--primary":{"type":"story","id":"components-layout-grid--primary","name":"Primary","title":"Components/Layout/Grid","importPath":"./src/components/layout/Grid/Grid.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--documentation":{"id":"components-layout-layout--documentation","title":"Components/Layout/Layout","name":"Documentation","importPath":"./src/components/layout/Layout/Layout.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-layout--primary":{"type":"story","id":"components-layout-layout--primary","name":"Primary","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--no-sider":{"type":"story","id":"components-layout-layout--no-sider","name":"No Sider","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--right-sider":{"type":"story","id":"components-layout-layout--right-sider","name":"Right Sider","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-layout--content-sider":{"type":"story","id":"components-layout-layout--content-sider","name":"Content Sider","title":"Components/Layout/Layout","importPath":"./src/components/layout/Layout/Layout.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--documentation":{"id":"components-layout-space--documentation","title":"Components/Layout/Space","name":"Documentation","importPath":"./src/components/layout/Space/Space.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-layout-space--primary":{"type":"story","id":"components-layout-space--primary","name":"Primary","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--vertical-space":{"type":"story","id":"components-layout-space--vertical-space","name":"Vertical Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--large-size-space":{"type":"story","id":"components-layout-space--large-size-space","name":"Large Size Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--split-space":{"type":"story","id":"components-layout-space--split-space","name":"Split Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--wrapped-space":{"type":"story","id":"components-layout-space--wrapped-space","name":"Wrapped Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--center-aligned-space":{"type":"story","id":"components-layout-space--center-aligned-space","name":"Center Aligned Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--end-aligned-space":{"type":"story","id":"components-layout-space--end-aligned-space","name":"End Aligned Space","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-layout-space--horizontal-space-with-split":{"type":"story","id":"components-layout-space--horizontal-space-with-split","name":"Horizontal Space With Split","title":"Components/Layout/Space","importPath":"./src/components/layout/Space/Space.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--documentation":{"id":"components-navigation-anchor--documentation","title":"Components/Navigation/Anchor","name":"Documentation","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-anchor--primary":{"type":"story","id":"components-navigation-anchor--primary","name":"Primary","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--horizontal-direction":{"type":"story","id":"components-navigation-anchor--horizontal-direction","name":"Horizontal Direction","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--with-custom-items":{"type":"story","id":"components-navigation-anchor--with-custom-items","name":"With Custom Items","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--show-ink-in-fixed":{"type":"story","id":"components-navigation-anchor--show-ink-in-fixed","name":"Show Ink In Fixed","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-basic":{"type":"story","id":"components-navigation-anchor--example-basic","name":"Example Basic","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-horizontal":{"type":"story","id":"components-navigation-anchor--example-horizontal","name":"Example Horizontal","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-anchor-static":{"type":"story","id":"components-navigation-anchor--example-anchor-static","name":"Example Anchor Static","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-onclick":{"type":"story","id":"components-navigation-anchor--example-onclick","name":"Example Onclick","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-scroll-offset":{"type":"story","id":"components-navigation-anchor--example-scroll-offset","name":"Example Scroll Offset","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-link-change":{"type":"story","id":"components-navigation-anchor--example-link-change","name":"Example Link Change","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-anchor--example-replace-history":{"type":"story","id":"components-navigation-anchor--example-replace-history","name":"Example Replace History","title":"Components/Navigation/Anchor","importPath":"./src/components/navigation/Anchor/Anchor.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--documentation":{"id":"components-navigation-breadcrumb--documentation","title":"Components/Navigation/Breadcrumb","name":"Documentation","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-breadcrumb--primary":{"type":"story","id":"components-navigation-breadcrumb--primary","name":"Primary","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--with-custom-separator":{"type":"story","id":"components-navigation-breadcrumb--with-custom-separator","name":"With Custom Separator","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--with-long-item-labels":{"type":"story","id":"components-navigation-breadcrumb--with-long-item-labels","name":"With Long Item Labels","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--with-custom-item-render":{"type":"story","id":"components-navigation-breadcrumb--with-custom-item-render","name":"With Custom Item Render","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-basic":{"type":"story","id":"components-navigation-breadcrumb--example-basic","name":"Example Basic","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-icon":{"type":"story","id":"components-navigation-breadcrumb--example-icon","name":"Example Icon","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-seperator":{"type":"story","id":"components-navigation-breadcrumb--example-seperator","name":"Example Seperator","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-dropdown":{"type":"story","id":"components-navigation-breadcrumb--example-dropdown","name":"Example Dropdown","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-breadcrumb--example-independent-separators":{"type":"story","id":"components-navigation-breadcrumb--example-independent-separators","name":"Example Independent Separators","title":"Components/Navigation/Breadcrumb","importPath":"./src/components/navigation/Breadcrumb/Breadcrumb.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--documentation":{"id":"components-navigation-dropdown--documentation","title":"Components/Navigation/Dropdown","name":"Documentation","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-dropdown--primary":{"type":"story","id":"components-navigation-dropdown--primary","name":"Primary","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--with-arrow":{"type":"story","id":"components-navigation-dropdown--with-arrow","name":"With Arrow","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--disabled":{"type":"story","id":"components-navigation-dropdown--disabled","name":"Disabled","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--custom-dropdown-render":{"type":"story","id":"components-navigation-dropdown--custom-dropdown-render","name":"Custom Dropdown Render","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--auto-adjust-overflow":{"type":"story","id":"components-navigation-dropdown--auto-adjust-overflow","name":"Auto Adjust Overflow","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--destroy-popup-on-hide":{"type":"story","id":"components-navigation-dropdown--destroy-popup-on-hide","name":"Destroy Popup On Hide","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--with-overlay-style":{"type":"story","id":"components-navigation-dropdown--with-overlay-style","name":"With Overlay Style","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--custom-placement":{"type":"story","id":"components-navigation-dropdown--custom-placement","name":"Custom Placement","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--trigger-click":{"type":"story","id":"components-navigation-dropdown--trigger-click","name":"Trigger Click","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--open-dropdown":{"type":"story","id":"components-navigation-dropdown--open-dropdown","name":"Open Dropdown","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--on-open-change-callback":{"type":"story","id":"components-navigation-dropdown--on-open-change-callback","name":"On Open Change Callback","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-basic":{"type":"story","id":"components-navigation-dropdown--example-basic","name":"Example Basic","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-placement":{"type":"story","id":"components-navigation-dropdown--example-placement","name":"Example Placement","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-arrow":{"type":"story","id":"components-navigation-dropdown--example-arrow","name":"Example Arrow","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-arrow-center":{"type":"story","id":"components-navigation-dropdown--example-arrow-center","name":"Example Arrow Center","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-click-event":{"type":"story","id":"components-navigation-dropdown--example-click-event","name":"Example Click Event","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-custom-dropdown":{"type":"story","id":"components-navigation-dropdown--example-custom-dropdown","name":"Example Custom Dropdown","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-closing-menu":{"type":"story","id":"components-navigation-dropdown--example-closing-menu","name":"Example Closing Menu","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-loading":{"type":"story","id":"components-navigation-dropdown--example-loading","name":"Example Loading","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-selectable":{"type":"story","id":"components-navigation-dropdown--example-selectable","name":"Example Selectable","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-context-menu":{"type":"story","id":"components-navigation-dropdown--example-context-menu","name":"Example Context Menu","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-nested":{"type":"story","id":"components-navigation-dropdown--example-nested","name":"Example Nested","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-buttons":{"type":"story","id":"components-navigation-dropdown--example-buttons","name":"Example Buttons","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-dropdown--example-container-divider":{"type":"story","id":"components-navigation-dropdown--example-container-divider","name":"Example Container Divider","title":"Components/Navigation/Dropdown","importPath":"./src/components/navigation/Dropdown/Dropdown.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--documentation":{"id":"components-navigation-globalnavigation--documentation","title":"Components/Navigation/GlobalNavigation","name":"Documentation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","type":"docs","tags":["dev","test","autodocs","play-fn"],"storiesImports":[]},"components-navigation-globalnavigation--primary":{"type":"story","id":"components-navigation-globalnavigation--primary","name":"Primary","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-navigation-globalnavigation--mp":{"type":"story","id":"components-navigation-globalnavigation--mp","name":"MP","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-thousand-orgs":{"type":"story","id":"components-navigation-globalnavigation--mp-thousand-orgs","name":"MP Thousand Orgs","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--indicative":{"type":"story","id":"components-navigation-globalnavigation--indicative","name":"Indicative","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--indicative-with-suite-switcher":{"type":"story","id":"components-navigation-globalnavigation--indicative-with-suite-switcher","name":"Indicative With Suite Switcher","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--cortex":{"type":"story","id":"components-navigation-globalnavigation--cortex","name":"Cortex","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--workspace-search-with-no-results":{"type":"story","id":"components-navigation-globalnavigation--workspace-search-with-no-results","name":"Workspace Search With No Results","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-navigation-globalnavigation--use-new-experience-reminder-hook":{"type":"story","id":"components-navigation-globalnavigation--use-new-experience-reminder-hook","name":"Use New Experience Reminder Hook","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs","play-fn"]},"components-navigation-globalnavigation--mp-without-logo":{"type":"story","id":"components-navigation-globalnavigation--mp-without-logo","name":"MP Without Logo","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-background-logo":{"type":"story","id":"components-navigation-globalnavigation--mp-with-background-logo","name":"MP With Background Logo","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-without-custom-size-logo":{"type":"story","id":"components-navigation-globalnavigation--mp-without-custom-size-logo","name":"MP Without Custom Size Logo","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-nav-switcher-tour":{"type":"story","id":"components-navigation-globalnavigation--mp-with-nav-switcher-tour","name":"MP With Nav Switcher Tour","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-suite-selector":{"type":"story","id":"components-navigation-globalnavigation--mp-with-suite-selector","name":"MP With Suite Selector","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-notification-center":{"type":"story","id":"components-navigation-globalnavigation--mp-with-notification-center","name":"MP With Notification Center","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-notification-center-long-content":{"type":"story","id":"components-navigation-globalnavigation--mp-with-notification-center-long-content","name":"MP With Notification Center Long Content","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-globalnavigation--mp-with-notification-center-message-modal":{"type":"story","id":"components-navigation-globalnavigation--mp-with-notification-center-message-modal","name":"MP With Notification Center Message Modal","title":"Components/Navigation/GlobalNavigation","importPath":"./src/components/navigation/GlobalNavigation/GlobalNavigation.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-navigationitem--documentation":{"id":"components-navigation-navigationitem--documentation","title":"Components/Navigation/NavigationItem","name":"Documentation","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-navigationitem--primary":{"type":"story","id":"components-navigation-navigationitem--primary","name":"Primary","title":"Components/Navigation/NavigationItem","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-navigationitem--nav-icon":{"type":"story","id":"components-navigation-navigationitem--nav-icon","name":"Nav Icon","title":"Components/Navigation/NavigationItem","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-navigationitem--nav-list":{"type":"story","id":"components-navigation-navigationitem--nav-list","name":"Nav List","title":"Components/Navigation/NavigationItem","importPath":"./src/components/navigation/GlobalNavigation/NavigationItem.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--documentation":{"id":"components-navigation-menu--documentation","title":"Components/Navigation/Menu","name":"Documentation","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-menu--primary":{"type":"story","id":"components-navigation-menu--primary","name":"Primary","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--inline":{"type":"story","id":"components-navigation-menu--inline","name":"Inline","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--horizontal":{"type":"story","id":"components-navigation-menu--horizontal","name":"Horizontal","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--multiple-selection":{"type":"story","id":"components-navigation-menu--multiple-selection","name":"Multiple Selection","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--custom-expand-icon":{"type":"story","id":"components-navigation-menu--custom-expand-icon","name":"Custom Expand Icon","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--inline-collapsed-state":{"type":"story","id":"components-navigation-menu--inline-collapsed-state","name":"Inline Collapsed State","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--dark":{"type":"story","id":"components-navigation-menu--dark","name":"Dark","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--custom-style":{"type":"story","id":"components-navigation-menu--custom-style","name":"Custom Style","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--with-sub-menu-delay":{"type":"story","id":"components-navigation-menu--with-sub-menu-delay","name":"With Sub Menu Delay","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-horizontal-top":{"type":"story","id":"components-navigation-menu--example-horizontal-top","name":"Example Horizontal Top","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-vertical-inline":{"type":"story","id":"components-navigation-menu--example-vertical-inline","name":"Example Vertical Inline","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-collapsable":{"type":"story","id":"components-navigation-menu--example-collapsable","name":"Example Collapsable","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-open-current-submenu":{"type":"story","id":"components-navigation-menu--example-open-current-submenu","name":"Example Open Current Submenu","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-menu--example-vertical-menu":{"type":"story","id":"components-navigation-menu--example-vertical-menu","name":"Example Vertical Menu","title":"Components/Navigation/Menu","importPath":"./src/components/navigation/Menu/Menu.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--documentation":{"id":"components-navigation-pagination--documentation","title":"Components/Navigation/Pagination","name":"Documentation","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-pagination--primary":{"type":"story","id":"components-navigation-pagination--primary","name":"Primary","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--small-size":{"type":"story","id":"components-navigation-pagination--small-size","name":"Small Size","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--responsive-pagination":{"type":"story","id":"components-navigation-pagination--responsive-pagination","name":"Responsive Pagination","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--show-quick-jumper-with-button":{"type":"story","id":"components-navigation-pagination--show-quick-jumper-with-button","name":"Show Quick Jumper With Button","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--show-size-changer-dynamic":{"type":"story","id":"components-navigation-pagination--show-size-changer-dynamic","name":"Show Size Changer Dynamic","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--simple-pagination":{"type":"story","id":"components-navigation-pagination--simple-pagination","name":"Simple Pagination","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--show-less-items-pagination":{"type":"story","id":"components-navigation-pagination--show-less-items-pagination","name":"Show Less Items Pagination","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--custom-total-text":{"type":"story","id":"components-navigation-pagination--custom-total-text","name":"Custom Total Text","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-basic":{"type":"story","id":"components-navigation-pagination--example-basic","name":"Example Basic","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-more-pages":{"type":"story","id":"components-navigation-pagination--example-more-pages","name":"Example More Pages","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-change-page-size":{"type":"story","id":"components-navigation-pagination--example-change-page-size","name":"Example Change Page Size","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-jump":{"type":"story","id":"components-navigation-pagination--example-jump","name":"Example Jump","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-mini":{"type":"story","id":"components-navigation-pagination--example-mini","name":"Example Mini","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-simple":{"type":"story","id":"components-navigation-pagination--example-simple","name":"Example Simple","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-controlled":{"type":"story","id":"components-navigation-pagination--example-controlled","name":"Example Controlled","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-total-number":{"type":"story","id":"components-navigation-pagination--example-total-number","name":"Example Total Number","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-show-all":{"type":"story","id":"components-navigation-pagination--example-show-all","name":"Example Show All","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-pagination--example-prev-next":{"type":"story","id":"components-navigation-pagination--example-prev-next","name":"Example Prev Next","title":"Components/Navigation/Pagination","importPath":"./src/components/navigation/Pagination/Pagination.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--documentation":{"id":"components-navigation-steps--documentation","title":"Components/Navigation/Steps","name":"Documentation","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-navigation-steps--primary":{"type":"story","id":"components-navigation-steps--primary","name":"Primary","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--vertical-direction":{"type":"story","id":"components-navigation-steps--vertical-direction","name":"Vertical Direction","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--small-size":{"type":"story","id":"components-navigation-steps--small-size","name":"Small Size","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--progress-dot":{"type":"story","id":"components-navigation-steps--progress-dot","name":"Progress Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--custom-progress-dot":{"type":"story","id":"components-navigation-steps--custom-progress-dot","name":"Custom Progress Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--different-statuses":{"type":"story","id":"components-navigation-steps--different-statuses","name":"Different Statuses","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--navigation":{"type":"story","id":"components-navigation-steps--navigation","name":"Navigation","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--inline":{"type":"story","id":"components-navigation-steps--inline","name":"Inline","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-basic":{"type":"story","id":"components-navigation-steps--example-basic","name":"Example Basic","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-small":{"type":"story","id":"components-navigation-steps--example-small","name":"Example Small","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-icon":{"type":"story","id":"components-navigation-steps--example-icon","name":"Example Icon","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-switch":{"type":"story","id":"components-navigation-steps--example-switch","name":"Example Switch","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-vertical":{"type":"story","id":"components-navigation-steps--example-vertical","name":"Example Vertical","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-vertical-small":{"type":"story","id":"components-navigation-steps--example-vertical-small","name":"Example Vertical Small","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-error":{"type":"story","id":"components-navigation-steps--example-error","name":"Example Error","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-dot":{"type":"story","id":"components-navigation-steps--example-dot","name":"Example Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-custom-dot":{"type":"story","id":"components-navigation-steps--example-custom-dot","name":"Example Custom Dot","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-clickable":{"type":"story","id":"components-navigation-steps--example-clickable","name":"Example Clickable","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-navigation":{"type":"story","id":"components-navigation-steps--example-navigation","name":"Example Navigation","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-progress":{"type":"story","id":"components-navigation-steps--example-progress","name":"Example Progress","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-label-placement":{"type":"story","id":"components-navigation-steps--example-label-placement","name":"Example Label Placement","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-navigation-steps--example-inline":{"type":"story","id":"components-navigation-steps--example-inline","name":"Example Inline","title":"Components/Navigation/Steps","importPath":"./src/components/navigation/Steps/Steps.stories.tsx","tags":["dev","test","autodocs"]},"components-other-affix--documentation":{"id":"components-other-affix--documentation","title":"Components/Other/Affix","name":"Documentation","importPath":"./src/components/other/Affix/Affix.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-affix--primary":{"type":"story","id":"components-other-affix--primary","name":"Primary","title":"Components/Other/Affix","importPath":"./src/components/other/Affix/Affix.stories.tsx","tags":["dev","test","autodocs"]},"components-other-app--documentation":{"id":"components-other-app--documentation","title":"Components/Other/App","name":"Documentation","importPath":"./src/components/other/App/App.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-app--primary":{"type":"story","id":"components-other-app--primary","name":"Primary","title":"Components/Other/App","importPath":"./src/components/other/App/App.stories.tsx","tags":["dev","test","autodocs"]},"components-other-configprovider--documentation":{"id":"components-other-configprovider--documentation","title":"Components/Other/ConfigProvider","name":"Documentation","importPath":"./src/components/other/ConfigProvider/ConfigProvider.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-configprovider--primary":{"type":"story","id":"components-other-configprovider--primary","name":"Primary","title":"Components/Other/ConfigProvider","importPath":"./src/components/other/ConfigProvider/ConfigProvider.stories.tsx","tags":["dev","test","autodocs"]},"components-other-getglobaltoken--documentation":{"id":"components-other-getglobaltoken--documentation","title":"Components/Other/GetGlobalToken","name":"Documentation","importPath":"./src/utils/GetGlobalToken.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-getglobaltoken--primary":{"type":"story","id":"components-other-getglobaltoken--primary","name":"Primary","title":"Components/Other/GetGlobalToken","importPath":"./src/utils/GetGlobalToken.stories.tsx","tags":["dev","test","autodocs"]},"components-other-svgprettifier--documentation":{"id":"components-other-svgprettifier--documentation","title":"Components/Other/SVGPrettifier","name":"Documentation","importPath":"./src/utils/svg-prettifier/SvgPrettfier.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-other-svgprettifier--primary":{"type":"story","id":"components-other-svgprettifier--primary","name":"Primary","title":"Components/Other/SVGPrettifier","importPath":"./src/utils/svg-prettifier/SvgPrettfier.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-calendar--documentation":{"id":"components-unused-calendar--documentation","title":"Components/Unused/Calendar","name":"Documentation","importPath":"./src/components/unused/Calendar/Calendar.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-calendar--primary":{"type":"story","id":"components-unused-calendar--primary","name":"Primary","title":"Components/Unused/Calendar","importPath":"./src/components/unused/Calendar/Calendar.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--documentation":{"id":"components-unused-carousel--documentation","title":"Components/Unused/Carousel","name":"Documentation","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-carousel--primary":{"type":"story","id":"components-unused-carousel--primary","name":"Primary","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--with-autoplay":{"type":"story","id":"components-unused-carousel--with-autoplay","name":"With Autoplay","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--custom-autoplay-speed":{"type":"story","id":"components-unused-carousel--custom-autoplay-speed","name":"Custom Autoplay Speed","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--custom-dot-position":{"type":"story","id":"components-unused-carousel--custom-dot-position","name":"Custom Dot Position","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--without-dots":{"type":"story","id":"components-unused-carousel--without-dots","name":"Without Dots","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--with-fade-effect":{"type":"story","id":"components-unused-carousel--with-fade-effect","name":"With Fade Effect","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--with-linear-easing":{"type":"story","id":"components-unused-carousel--with-linear-easing","name":"With Linear Easing","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--without-infinite-loop":{"type":"story","id":"components-unused-carousel--without-infinite-loop","name":"Without Infinite Loop","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--custom-speed":{"type":"story","id":"components-unused-carousel--custom-speed","name":"Custom Speed","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--wait-for-animate":{"type":"story","id":"components-unused-carousel--wait-for-animate","name":"Wait For Animate","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-basic":{"type":"story","id":"components-unused-carousel--example-basic","name":"Example Basic","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-position":{"type":"story","id":"components-unused-carousel--example-position","name":"Example Position","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-auto-scroll":{"type":"story","id":"components-unused-carousel--example-auto-scroll","name":"Example Auto Scroll","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-carousel--example-fade-in":{"type":"story","id":"components-unused-carousel--example-fade-in","name":"Example Fade In","title":"Components/Unused/Carousel","importPath":"./src/components/unused/Carousel/Carousel.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-colorpicker--documentation":{"id":"components-unused-colorpicker--documentation","title":"Components/Unused/ColorPicker","name":"Documentation","importPath":"./src/components/unused/ColorPicker/ColorPicker.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-colorpicker--primary":{"type":"story","id":"components-unused-colorpicker--primary","name":"Primary","title":"Components/Unused/ColorPicker","importPath":"./src/components/unused/ColorPicker/ColorPicker.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-qrcode--documentation":{"id":"components-unused-qrcode--documentation","title":"Components/Unused/QRCode","name":"Documentation","importPath":"./src/components/unused/QRCode/QRCode.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-qrcode--primary":{"type":"story","id":"components-unused-qrcode--primary","name":"Primary","title":"Components/Unused/QRCode","importPath":"./src/components/unused/QRCode/QRCode.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-rate--documentation":{"id":"components-unused-rate--documentation","title":"Components/Unused/Rate","name":"Documentation","importPath":"./src/components/unused/Rate/Rate.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-rate--primary":{"type":"story","id":"components-unused-rate--primary","name":"Primary","title":"Components/Unused/Rate","importPath":"./src/components/unused/Rate/Rate.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--documentation":{"id":"components-unused-watermark--documentation","title":"Components/Unused/Watermark","name":"Documentation","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-unused-watermark--primary":{"type":"story","id":"components-unused-watermark--primary","name":"Primary","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--content":{"type":"story","id":"components-unused-watermark--content","name":"Content","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--font":{"type":"story","id":"components-unused-watermark--font","name":"Font","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--gap":{"type":"story","id":"components-unused-watermark--gap","name":"Gap","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--offset":{"type":"story","id":"components-unused-watermark--offset","name":"Offset","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--rotated-watermark":{"type":"story","id":"components-unused-watermark--rotated-watermark","name":"Rotated Watermark","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-basic":{"type":"story","id":"components-unused-watermark--example-basic","name":"Example Basic","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-multiline":{"type":"story","id":"components-unused-watermark--example-multiline","name":"Example Multiline","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-config":{"type":"story","id":"components-unused-watermark--example-config","name":"Example Config","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"components-unused-watermark--example-modal-or-drawer":{"type":"story","id":"components-unused-watermark--example-modal-or-drawer","name":"Example Modal Or Drawer","title":"Components/Unused/Watermark","importPath":"./src/components/unused/Watermark/Watermark.stories.tsx","tags":["dev","test","autodocs"]},"candidate-components-directory-date-range-filter--documentation":{"id":"candidate-components-directory-date-range-filter--documentation","title":"Candidate Components/Directory/Date Range Filter","name":"Documentation","importPath":"./docs/Candidate Components/Directory/Date Range Filter/Documentation.mdx","storiesImports":["./docs/Candidate Components/Directory/Date Range Filter/SelectWithRangePicker.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"candidate-components-directory-date-range-filter--date-range-filter":{"type":"story","id":"candidate-components-directory-date-range-filter--date-range-filter","name":"Date Range Filter","title":"Candidate Components/Directory/Date Range Filter","importPath":"./docs/Candidate Components/Directory/Date Range Filter/SelectWithRangePicker.stories.tsx","tags":["dev","test","autodocs"]},"candidate-components-introduction--documentation":{"id":"candidate-components-introduction--documentation","title":"Candidate Components/Introduction","name":"Documentation","importPath":"./docs/Candidate Components/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"ux-patterns-table-table--documentation":{"id":"ux-patterns-table-table--documentation","title":"UX Patterns/Table/Table","name":"Documentation","importPath":"./docs/UX Patterns/Table/Table.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--basic-table":{"type":"story","id":"ux-patterns-table-table--basic-table","name":"Basic Table","title":"UX Patterns/Table/Table","importPath":"./docs/UX Patterns/Table/Table.stories.tsx","tags":["dev","test","autodocs"]},"ux-patterns-table-table--cell-badge":{"id":"ux-patterns-table-table--cell-badge","title":"UX Patterns/Table/Table","name":"Cell Badge","importPath":"./docs/UX Patterns/Table/Cell Badge.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--cell-link":{"id":"ux-patterns-table-table--cell-link","title":"UX Patterns/Table/Table","name":"Cell Link","importPath":"./docs/UX Patterns/Table/Cell Link.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--cell-more-actions":{"id":"ux-patterns-table-table--cell-more-actions","title":"UX Patterns/Table/Table","name":"Cell More Actions","importPath":"./docs/UX Patterns/Table/Cell More Actions.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-table--cell-tag":{"id":"ux-patterns-table-table--cell-tag","title":"UX Patterns/Table/Table","name":"Cell Tag","importPath":"./docs/UX Patterns/Table/Cell Tag.mdx","storiesImports":["./docs/UX Patterns/Table/Table.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-filters--documentation":{"id":"ux-patterns-table-filters--documentation","title":"UX Patterns/Table/Filters","name":"Documentation","importPath":"./docs/UX Patterns/Table/Filters.mdx","storiesImports":["./docs/UX Patterns/Table/Filters.stories.tsx"],"type":"docs","tags":["dev","test","autodocs","attached-mdx"]},"ux-patterns-table-filters--with-basic-filters":{"type":"story","id":"ux-patterns-table-filters--with-basic-filters","name":"Basic","title":"UX Patterns/Table/Filters","importPath":"./docs/UX Patterns/Table/Filters.stories.tsx","tags":["dev","test","autodocs"]},"ux-patterns-table-filters--with-complex-filters":{"type":"story","id":"ux-patterns-table-filters--with-complex-filters","name":"Complex","title":"UX Patterns/Table/Filters","importPath":"./docs/UX Patterns/Table/Filters.stories.tsx","tags":["dev","test","autodocs"]},"contributing-introduction--documentation":{"id":"contributing-introduction--documentation","title":"Contributing/Introduction","name":"Documentation","importPath":"./docs/Contributing/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-commits--documentation":{"id":"contributing-commits--documentation","title":"Contributing/Commits","name":"Documentation","importPath":"./docs/Contributing/Commits.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-testing-in-the-platforms--documentation":{"id":"contributing-testing-in-the-platforms--documentation","title":"Contributing/Testing in the platforms","name":"Documentation","importPath":"./docs/Contributing/Testing in the platforms.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-release-process--documentation":{"id":"contributing-release-process--documentation","title":"Contributing/Release Process","name":"Documentation","importPath":"./docs/Contributing/Release Process.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing-maintainers--documentation":{"id":"contributing-maintainers--documentation","title":"Contributing/Maintainers","name":"Documentation","importPath":"./docs/Contributing/Maintainers.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"design-templates-tbd-errors--documentation":{"id":"design-templates-tbd-errors--documentation","title":"Design Templates/TBD/Errors","name":"Documentation","importPath":"./docs/Design Templates/TBD/Errors.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"design-templates-tbd-loading--documentation":{"id":"design-templates-tbd-loading--documentation","title":"Design Templates/TBD/Loading","name":"Documentation","importPath":"./docs/Design Templates/TBD/Loading.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"components-unused-documentation--documentation":{"id":"components-unused-documentation--documentation","title":"components/Unused/Documentation","name":"Documentation","importPath":"./docs/components/Unused/Documentation.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]}}} diff --git a/pr-preview/pr-459/project.json b/pr-preview/pr-459/project.json index 6774022d0..bb4071582 100644 --- a/pr-preview/pr-459/project.json +++ b/pr-preview/pr-459/project.json @@ -1 +1 @@ -{"generatedAt":1729544470077,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"vitest":"1.3.1"},"packageManager":{"type":"npm","version":"10.8.1"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"8.1.10","storybookVersionSpecifier":"8.1.10","language":"typescript","storybookPackages":{"@storybook/addon-onboarding":{"version":"8.1.10"},"@storybook/blocks":{"version":"8.1.10"},"@storybook/react":{"version":"8.1.10"},"@storybook/react-vite":{"version":"8.1.10"},"@storybook/test":{"version":"8.1.10"},"@storybook/test-runner":{"version":"0.18.2"},"storybook":{"version":"8.1.10"}},"addons":{"@storybook/addon-links":{"version":"8.1.10"},"@storybook/addon-essentials":{"version":"8.1.10"},"@storybook/addon-interactions":{"version":"8.1.10"},"@storybook/addon-docs":{"version":"8.1.10"}}} +{"generatedAt":1729546365461,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{"vitest":"1.3.1"},"packageManager":{"type":"npm","version":"10.8.1"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"8.1.10","storybookVersionSpecifier":"8.1.10","language":"typescript","storybookPackages":{"@storybook/addon-onboarding":{"version":"8.1.10"},"@storybook/blocks":{"version":"8.1.10"},"@storybook/react":{"version":"8.1.10"},"@storybook/react-vite":{"version":"8.1.10"},"@storybook/test":{"version":"8.1.10"},"@storybook/test-runner":{"version":"0.18.2"},"storybook":{"version":"8.1.10"}},"addons":{"@storybook/addon-links":{"version":"8.1.10"},"@storybook/addon-essentials":{"version":"8.1.10"},"@storybook/addon-interactions":{"version":"8.1.10"},"@storybook/addon-docs":{"version":"8.1.10"}}}