cordage-enterprise 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -196568,7 +196568,7 @@ const $K7 = ({
196568
196568
  }
196569
196569
  );
196570
196570
  };
196571
- var rN7 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
196571
+ var rN7 = { BASE_URL: "./", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
196572
196572
  const m82 = (c) => {
196573
196573
  let l;
196574
196574
  const a = /* @__PURE__ */ new Set(), e = (M, u) => {
@@ -196823,7 +196823,7 @@ function mN7() {
196823
196823
  process.env.NODE_ENV === "production" ? Td.exports = LN7() : Td.exports = mN7();
196824
196824
  var MN7 = Td.exports;
196825
196825
  const pN7 = /* @__PURE__ */ ai(MN7);
196826
- var tr7 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
196826
+ var tr7 = { BASE_URL: "./", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
196827
196827
  const { useDebugValue: CN7 } = M0, { useSyncExternalStoreWithSelector: uN7 } = pN7;
196828
196828
  let g82 = !1;
196829
196829
  const dN7 = (c) => c;
@@ -231125,14 +231125,14 @@ const qI7 = (c) => ({
231125
231125
  ] });
231126
231126
  }, eK7 = ({ letter: c }) => /* @__PURE__ */ z.jsxs(KI7, { children: [
231127
231127
  /* @__PURE__ */ z.jsx(O0, { variant: "bold2", children: c }),
231128
- /* @__PURE__ */ z.jsx("img", { src: "/public/skeletons/skeleton-terms.svg", id: "skeleton-terms" })
231128
+ /* @__PURE__ */ z.jsx("img", { src: "/skeletons/skeleton-terms.svg", id: "skeleton-terms" })
231129
231129
  ] }), sK7 = ({
231130
231130
  letters: c = ["A", "B"],
231131
231131
  title: l = "Glossary",
231132
231132
  hasSets: a = !0
231133
231133
  }) => /* @__PURE__ */ z.jsxs(II7, { children: [
231134
231134
  /* @__PURE__ */ z.jsx(O0, { variant: "medium", children: l }),
231135
- a && /* @__PURE__ */ z.jsx("img", { src: "/public/skeletons/skeleton-sets.svg", id: "skeleton-sets" }),
231135
+ a && /* @__PURE__ */ z.jsx("img", { src: "/skeletons/skeleton-sets.svg", id: "skeleton-sets" }),
231136
231136
  c.map((e, s) => /* @__PURE__ */ z.jsx(eK7, { letter: e }, `${e}-${s}`))
231137
231137
  ] }), oK7 = ({
231138
231138
  skeletonsLenght: c = 2,
@@ -231143,7 +231143,7 @@ const qI7 = (c) => ({
231143
231143
  (a, e) => /* @__PURE__ */ z.jsx(
231144
231144
  "img",
231145
231145
  {
231146
- src: "/public/skeletons/skeleton-associations.svg",
231146
+ src: "/skeletons/skeleton-associations.svg",
231147
231147
  id: "skeleton-associations"
231148
231148
  },
231149
231149
  `skeleton-associations-${e}`
@@ -231202,7 +231202,7 @@ const qI7 = (c) => ({
231202
231202
  /* @__PURE__ */ z.jsx(
231203
231203
  "img",
231204
231204
  {
231205
- src: "/public/skeletons/skeleton-approval-header.svg",
231205
+ src: "/skeletons/skeleton-approval-header.svg",
231206
231206
  id: "skeleton-approval-header"
231207
231207
  }
231208
231208
  ),
@@ -231216,14 +231216,14 @@ const qI7 = (c) => ({
231216
231216
  /* @__PURE__ */ z.jsx(
231217
231217
  "img",
231218
231218
  {
231219
- src: "/public/skeletons/skeleton-approval-header.svg",
231219
+ src: "/skeletons/skeleton-approval-header.svg",
231220
231220
  id: "skeleton-approval-header"
231221
231221
  }
231222
231222
  ),
231223
231223
  /* @__PURE__ */ z.jsx(
231224
231224
  "img",
231225
231225
  {
231226
- src: "/public/skeletons/skeleton-approval-info.svg",
231226
+ src: "/skeletons/skeleton-approval-info.svg",
231227
231227
  id: "skeleton-approval-info"
231228
231228
  },
231229
231229
  `skeleton-approvals-info-${e}`
@@ -231236,7 +231236,7 @@ const qI7 = (c) => ({
231236
231236
  /* @__PURE__ */ z.jsx(
231237
231237
  "img",
231238
231238
  {
231239
- src: "/public/skeletons/skeleton-approval-info.svg",
231239
+ src: "/skeletons/skeleton-approval-info.svg",
231240
231240
  id: "skeleton-approval-info"
231241
231241
  },
231242
231242
  `skeleton-approvals-info-${e}`
@@ -231258,7 +231258,7 @@ const qI7 = (c) => ({
231258
231258
  /* @__PURE__ */ z.jsx(
231259
231259
  "img",
231260
231260
  {
231261
- src: "/public/skeletons/skeleton-versions-log.svg",
231261
+ src: "/skeletons/skeleton-versions-log.svg",
231262
231262
  id: "skeleton-versions-log"
231263
231263
  },
231264
231264
  `skeleton-versions-log-${e}`
@@ -231271,7 +231271,7 @@ const qI7 = (c) => ({
231271
231271
  /* @__PURE__ */ z.jsx(
231272
231272
  "img",
231273
231273
  {
231274
- src: "/public/skeletons/skeleton-versions-log.svg",
231274
+ src: "/skeletons/skeleton-versions-log.svg",
231275
231275
  id: "skeleton-versions-log"
231276
231276
  },
231277
231277
  `skeleton-versions-log-${e}`
@@ -1018,7 +1018,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1018
1018
 
1019
1019
  </html>
1020
1020
 
1021
- `},ju7=({content:c,ctaURI:l})=>{const a=jl7({content:c,ctaURI:l});return z.jsx("div",{style:{width:"100%"},dangerouslySetInnerHTML:{__html:a}})};var Ou7={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};const Ol7=c=>{let l;const a=new Set,e=(M,u)=>{const p=typeof M=="function"?M(l):M;if(!Object.is(p,l)){const d=l;l=u??(typeof p!="object"||p===null)?p:Object.assign({},l,p),a.forEach(h=>h(l,d))}},s=()=>l,f={setState:e,getState:s,getInitialState:()=>m,subscribe:M=>(a.add(M),()=>a.delete(M)),destroy:()=>{(Ou7?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),a.clear()}},m=l=c(e,s,f);return f},Wu7=c=>c?Ol7(c):Ol7;var nY1={exports:{}},rY1={},ZL={exports:{}},fY1={};/**
1021
+ `},ju7=({content:c,ctaURI:l})=>{const a=jl7({content:c,ctaURI:l});return z.jsx("div",{style:{width:"100%"},dangerouslySetInnerHTML:{__html:a}})};var Ou7={BASE_URL:"./",DEV:!1,MODE:"production",PROD:!0,SSR:!1};const Ol7=c=>{let l;const a=new Set,e=(M,u)=>{const p=typeof M=="function"?M(l):M;if(!Object.is(p,l)){const d=l;l=u??(typeof p!="object"||p===null)?p:Object.assign({},l,p),a.forEach(h=>h(l,d))}},s=()=>l,f={setState:e,getState:s,getInitialState:()=>m,subscribe:M=>(a.add(M),()=>a.delete(M)),destroy:()=>{(Ou7?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),a.clear()}},m=l=c(e,s,f);return f},Wu7=c=>c?Ol7(c):Ol7;var nY1={exports:{}},rY1={},ZL={exports:{}},fY1={};/**
1022
1022
  * @license React
1023
1023
  * use-sync-external-store-shim.production.min.js
1024
1024
  *
@@ -1050,7 +1050,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1050
1050
  *
1051
1051
  * This source code is licensed under the MIT license found in the
1052
1052
  * LICENSE file in the root directory of this source tree.
1053
- */var Xl7;function Ku7(){return Xl7||(Xl7=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var c=H,l=Il7();function a(M,u){return M===u&&(M!==0||1/M===1/u)||M!==M&&u!==u}var e=typeof Object.is=="function"?Object.is:a,s=l.useSyncExternalStore,o=c.useRef,n=c.useEffect,r=c.useMemo,f=c.useDebugValue;function m(M,u,p,d,h){var x=o(null),$;x.current===null?($={hasValue:!1,value:null},x.current=$):$=x.current;var b=r(function(){var F=!1,U,Q,I=function(j){if(!F){F=!0,U=j;var E=d(j);if(h!==void 0&&$.hasValue){var s1=$.value;if(h(s1,E))return Q=s1,s1}return Q=E,E}var f1=U,i1=Q;if(e(f1,j))return i1;var L1=d(j);return h!==void 0&&h(i1,L1)?i1:(U=j,Q=L1,L1)},V=p===void 0?null:p,q=function(){return I(u())},K=V===null?void 0:function(){return I(V())};return[q,K]},[u,p,d,h]),k=b[0],w=b[1],A=s(M,k,w);return n(function(){$.hasValue=!0,$.value=A},[A]),f(A),A}zY1.useSyncExternalStoreWithSelector=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),zY1}process.env.NODE_ENV==="production"?nY1.exports=Iu7():nY1.exports=Ku7();var Xu7=nY1.exports;const Qu7=Y7(Xu7);var Ql7={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};const{useDebugValue:Ju7}=H,{useSyncExternalStoreWithSelector:Zu7}=Qu7;let Jl7=!1;const Yu7=c=>c;function cd7(c,l=Yu7,a){(Ql7?"production":void 0)!=="production"&&a&&!Jl7&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Jl7=!0);const e=Zu7(c.subscribe,c.getState,c.getServerState||c.getInitialState,l,a);return Ju7(e),e}const Zl7=c=>{(Ql7?"production":void 0)!=="production"&&typeof c!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const l=typeof c=="function"?Wu7(c):c,a=(e,s)=>cd7(l,e,s);return Object.assign(a,l),a},Y3=(c=>c?Zl7(c):Zl7)(c=>({languages:[{name:"English",code:"US",isActive:!0},{name:"Spanish",code:"MX",isActive:!1}],copys:{languagesSupport:"Supported Languages",languagesTooltip:"Notification translations are limited to the UI languages.",previewEmailText:"Preview Email"},tabs:[{value:"Email",isActive:!0,hasIconLeft:!0,nameIconLeft:"faEnvelope",id:"templatesEmail"},{value:"In App",isActive:!1,hasIconLeft:!0,nameIconLeft:"faMessageLines",id:"templatesInApp"}],templateType:"templatesEmail",notificationTypeEmail:"general",notificationTypeInApp:"bell",subjectConfig:{title:"Cordage",to:"user@organization.com"},templatesEmail:{general:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject",id:"subject",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyTitle:{label:"Title",placeholder:"Type a title",name:"title",id:"title",value:"",toolTip:"",fieldType:"bodyTitle",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body",id:"body",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"},ctaBtnText:{label:"CTA Button Text",placeholder:"Type a CTA button text",name:"cta",id:"cta",value:"",toolTip:"",fieldType:"ctaBtnText",error:!1,errorText:""}},detailed:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject",id:"subject",value:"",toolTip:"",fieldType:"subject"},bodyTitle:{label:"Title",placeholder:"Type a title",name:"title",id:"title",value:"",toolTip:"",fieldType:"bodyTitle"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body",id:"body",value:"",toolTip:"",fieldType:"bodyContent"},ctaBtnText:{label:"CTA Button Text",placeholder:"Type a CTA button text",name:"cta",id:"cta",value:"",toolTip:"",fieldType:"ctaBtnText"}},expanded:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject",id:"subject",value:"",toolTip:"",fieldType:"subject"},bodyTitle:{label:"Title",placeholder:"Type a title",name:"title",id:"title",value:"",toolTip:"",fieldType:"bodyTitle"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body",id:"body",value:"",toolTip:"",fieldType:"bodyContent"},ctaBtnText:{label:"CTA Button Text",placeholder:"Type a CTA button text",name:"cta",id:"cta",value:"",toolTip:"",fieldType:"ctaBtnText"}}},templatesInApp:{bell:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject-inapp",id:"subject-inapp",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body-inapp",id:"body-inapp",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"}},popUp:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject-inapp",id:"subject-inapp",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body-inapp",id:"body-inapp",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"}},browser:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject-inapp",id:"subject-inapp",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body-inapp",id:"body-inapp",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"}}},onChangeNotificationType:l=>{c(a=>({templateType:l,tabs:a.tabs.map(e=>({...e,isActive:e.id===l}))}))},onChangeLanguage:l=>{c(a=>({languages:a.languages.map(e=>({...e,isActive:e.code===l.code}))}))},setValue:(l,a,e,s)=>{c(o=>{if(s==="templatesEmail"&&a in o.templatesEmail){const n=a;return{[s]:{...o[s],[n]:{...o[s][n],[e]:{...o[s][n][e],value:l}}}}}else if(s==="templatesInApp"&&a in o.templatesInApp){const n=a;return{[s]:{...o[s],[n]:{...o[s][n],[e]:{...o[s][n][e],value:l}}}}}return o})},setState:l=>c(l),setNotificationTypeInApp:l=>{c(a=>({...a,notificationTypeInApp:l}))}}));function y8(c,l){return c!==void 0&&c===""?l:c}const YL=({previewEmailText:c,customSubjectEmail:l,stylesPreview:a,stylesContainer:e})=>{var r,f,m;const{templatesEmail:s}=Y3(),{general:o}=s,n={title:y8((r=o.bodyTitle)==null?void 0:r.value,"Body Title..."),body:y8((f=o.bodyContent)==null?void 0:f.value,"Body..."),cta:y8((m=o.ctaBtnText)==null?void 0:m.value,"CTA Button Text...")};return z.jsxs(T,{position:"relative",display:"flex",flexDirection:"column",borderRadius:"0.4rem",border:"0.1rem solid",borderColor:"#D4D4D4",width:"100%",background:"white",boxShadow:"0rem 0.1rem 0.2rem 0rem rgba(0, 0, 0, 0.05)",flex:"1",overflow:"hidden",style:{...e},children:[z.jsx(T,{display:"flex",padding:"0rem 1.6rem",alignItems:"center",borderRadius:"0.4rem 0.4rem 0rem 0rem",borderBottom:"0.1rem solid #D4D4D4",minHeight:"5.6rem",zIndex:10,backgroundColor:"#FFFFFF",children:z.jsx(U4,{variant:"bold",color:"$neutral800",children:c})}),z.jsx(T,{display:"flex",flexDirection:"row",flex:"1",position:"absolute",top:0,left:0,height:"100%",width:"100%",style:{backgroundImage:"radial-gradient(circle at 2px 2px, #E3E3E3 1px, #fafafa 0)",backgroundSize:"21px 21px",zIndex:1,borderRadius:".4rem"}}),z.jsxs(T,{display:"flex",flexDirection:"column",justifyContent:"center",borderRadius:"0.4rem 0.4rem 0rem 0rem",border:"0.1rem solid",borderColor:"#D4D4D4",borderBottom:"none",background:"white",position:"relative",bottom:0,boxShadow:"0rem 0.1rem 0.2rem 0rem rgba(0, 0, 0, 0.05)",style:{zIndex:10,display:"flex",margin:"1.6rem",marginBottom:0,...a},children:[l,z.jsx(T,{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",overflow:"hidden",children:z.jsx(T,{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",background:"#F5F5F5",style:{overflow:"scroll",height:"43rem",scrollbarWidth:"none",scale:.8},children:z.jsx(ju7,{content:{...n}})})})]})]})},ld7=({data:c,optionTabs:l,supportedLanguagesTxt:a,customContentEmail:e,headerTextEmail:s,footerTextEmail:o,previewEmailText:n,customSubjectEmail:r,textBtnSecondary:f,textBtnPrimary:m,textTooltip:M,onTabChange:u,tooltipPosition:p,previewEmail:d,onChangeNotification:h,customContentBell:x,customContentBrowser:$,isShowEmail:b,onClickPrimaryBtn:k,onClickSecondaryBtn:w,customContentPopUp:A,countryCodePrimary:F,countryCodeSecondary:U,titleSectionInApp:Q})=>z.jsxs(T,{display:"flex",padding:"1.6rem",flexDirection:"column",width:"100%",gap:"2.4rem",flex:"1 0 0",alignSelf:"stretch",children:[z.jsx(Vl,{options:l,size:"lg",isMaxWidth:!0,variantBadge:"simple",onChange:u}),z.jsxs(T,{display:"flex",padding:".8rem",flexDirection:"row",justifyContent:"left",alignItems:"center",gap:"1.6rem",borderRadius:".4rem",boxShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.05)",border:".1rem solid",borderColor:"#D4D4D4",children:[z.jsxs(T,{display:"flex",flexDirection:"row",gap:".8rem",children:[z.jsx(X4,{variant:"medium",color:"$neutral800",style:{whiteSpace:"nowrap"},children:a}),z.jsx(QL,{textTooltip:M,hasError:!0,position:p??"topCenter",style:{paddingTop:"0.4rem"}})]}),z.jsxs(T,{display:"flex",flexDirection:"row",gap:".2rem",children:[z.jsx(r0,{variant:"whiteBlue",size:"md",hasVisualLeft:!0,visualLeft:"countryFlag",density:"comfort",countryCode:U??"US",children:f,onClick:w}),z.jsx(r0,{variant:"whiteBlue",size:"md",hasVisualLeft:!0,visualLeft:"countryFlag",density:"comfort",countryCode:F??"MX",children:m,onClick:k})]})]}),z.jsx(A3,{variant:"sm"}),b&&z.jsx(YL,{customSubjectEmail:r,customContentEmail:e,headerText:s,footerText:o,previewEmailText:n}),!b&&z.jsx(qu7,{data:c,previewText:d,customContentBell:x,customContentBrowser:$,customContentPopUp:A,onChangeNotification:h,titleSectionInApp:Q})]}),LY1={primary:{backgroundColor:"$teal700",borderColor:"$teal700",span:{color:"white"},svg:{color:"white"},".smallTag":{color:"white"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800"},"&:focus":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"}},secondary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",svg:{color:"$neutral700"},span:{color:"$neutral700"},".smallTag":{color:"$neutral600"}},"&:focus":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}}},tertiary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"white",borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}}},orange:{backgroundColor:"$orange100",borderColor:"$orange400",span:{color:"$orange600"},svg:{color:"$orange600"},".smallTag":{color:"$orange500"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange500",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}}},red:{backgroundColor:"$red100",borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},".smallTag":{color:"$red500"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:focus":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}}},blue:{backgroundColor:"$blue100",borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},".smallTag":{color:"$blue600"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:focus":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}}},green:{backgroundColor:"$green100",borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},".smallTag":{color:"$green600"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:focus":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}}},yellow:{backgroundColor:"$yellow100",borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},".smallTag":{color:"$yellow600"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"},".smallTag":{color:"$yellow700"}},"&:focus":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}}},violet:{backgroundColor:"$violet100",borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},".smallTag":{color:"$violet600"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:focus":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}}},fuchsia:{backgroundColor:"$fuchsia100",borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},".smallTag":{color:"$fuchsia600"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:focus":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}}},teal:{backgroundColor:"$teal100",borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},".smallTag":{color:"$teal600"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:focus":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}}},indigo:{backgroundColor:"$indigo100",borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},".smallTag":{color:"$indigo600"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:focus":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}}},whiteBlue:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral700"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:focus":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}}}},mY1={primary:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",outline:".4rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",outline:".4rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",outline:".4rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",outline:".4rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",outline:".4rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",outline:".4rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",outline:".4rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",outline:".4rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",outline:".4rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",outline:".4rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",outline:".4rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},MY1={primary:{borderColor:"$teal700",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{borderColor:"$orange300",span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange400",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},ad7={green:{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",span:{color:"$green700"},"&:hover":{backgroundColor:"$green100",border:".1rem solid",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green300",border:".1rem solid",borderColor:"$green200",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green900"},".spanTag":{color:"$green900"}},"&:focus":{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green700"},".spanTag":{color:"$green700"}}},default:{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",span:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",border:".1rem solid",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral200",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"}},"&:focus":{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},orange:{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",span:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",border:".1rem solid",borderColor:"$orange400",span:{color:"$orange800"},".spanTag":{color:"$orange800"}},"&:active":{backgroundColor:"$orange300",border:".1rem solid",borderColor:"$orange500",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange900"},".spanTag":{color:"$orange900"}},"&:focus":{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},gray:{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",span:{color:"white"},"&:hover":{backgroundColor:"$neutral600",border:".1rem solid",borderColor:"$neutral600",span:{color:"white"}},"&:active":{backgroundColor:"$neutral700",border:".1rem solid",borderColor:"$neutral700",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}},"&:focus":{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}}},red:{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red300",span:{color:"$red700"},"&:hover":{backgroundColor:"$red200",border:".1rem solid",borderColor:"$red400",span:{color:"$red800"},".spanTag":{color:"$red800"}},"&:active":{backgroundColor:"$red300",border:".1rem solid",borderColor:"$red700",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red900"},".spanTag":{color:"$red900"}},"&:focus":{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red600",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",span:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",border:".1rem solid",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue300",border:".1rem solid",borderColor:"$red500",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue900"},".spanTag":{color:"$blue900"}},"&:focus":{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}},yellow:{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",span:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow100",border:".1rem solid",borderColor:"$yellow400",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",border:".1rem solid",borderColor:"$yellow500",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow900"},".spanTag":{color:"$yellow900"}},"&:focus":{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}}},Yl7={primary:"$teal50",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange600",red:"$red600",blue:"$celeste600",green:"$green600",yellow:"$yellow600",violet:"$violet600",fuchsia:"$fuchsia600",teal:"$teals600",indigo:"$indigo600",whiteBlue:"$blue600"},ca7={orange:"orange600",gray:"neutral300",red:"red600",blue:"celeste500",green:"green600",default:"neutral500",yellow:"yellow600"},pY1={primary:"white",secondary:"$neutral200",tertiary:"$neutral100",orange:"$orange300",red:"$red300",blue:"$celeste300",green:"$green200",yellow:"$yellow300",violet:"$violet300",fuchsia:"$fuchsia300",teal:"$teal300",indigo:"$indigo300",whiteBlue:"$blue300"},CY1={primary:"$lime600",secondary:"$neutral600",tertiary:"$neutral700",orange:"$orange500",red:"$red600",blue:"$celeste700",green:"$green200",yellow:"$yellow600",violet:"$violet600",fuchsia:"$fuchsia600",teal:"$teal600",indigo:"$indigo600",whiteBlue:"$blue600"},uY1={primary:"$neutral500",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange700",red:"$red700",blue:"$celeste700",green:"$green700",yellow:"$yellow700",violet:"$violet700",fuchsia:"$fuchsia700",teal:"$teal700",indigo:"$indigo700",whiteBlue:"$blue700"},cm={display:"inline-block",borderRadius:".4rem","& span":{fontFamily:"Satoshi-Variable",fontSize:"1.4rem",fontWeight:700,lineHeight:"2rem"}},c6={disabled:{true:{opacity:.5,pointerEvents:"none"},false:{opacity:1,pointerEvents:"auto"}},pill:{true:{borderRadius:"6.4rem"}},notActiveDisplay:{true:{"&:focus":{outlineColor:"transparent"},cursor:"default"},false:{cursor:"pointer"}}},ed7=S1("div",{...cm,border:".1rem solid",variants:{variant:LY1,disabled:c6.disabled,pill:c6.pill,notActiveDisplay:c6.notActiveDisplay}}),sd7=S1("div",{...cm,variants:{variant:mY1,disabled:c6.disabled,pill:c6.pill}}),od7=S1("div",{...cm,backgroundColor:"white",border:".1rem solid",variants:{variant:MY1,disabled:c6.disabled,pill:c6.pill}}),id7=S1("div",{...cm,variants:{variant:ad7,disabled:c6.disabled,pill:c6.pill}}),dY1=({color:c})=>z.jsx(T,{width:".8rem",height:".8rem",borderRadius:".6rem",border:".2rem solid",borderColor:c,backgroundColor:c,mr:".8rem",ml:".4rem"}),Q4=({tabIndex:c,children:l,variant:a,hasVisualLeft:e,hasVisualRight:s,visualLeft:o,visualRight:n,nameIconLeft:r,nameIconRight:f,emojiLeft:m,emojiRight:M,countryCodeLeft:u,countryCodeRight:p,codeCordageLeft:d,codeCordageRight:h,typeOphimaticLeft:x,typeOphimaticRight:$,styleOphimaticLeft:b,styleOphimaticRight:k,nameIconAvatar:w,hasAvatar:A,status:F,onClick:U,nameBadge:Q,hasAvatarBadge:I,imgAvatar:V,lettersAvatar:q,customColorAvatar:K,colorIconAvatar:j,hasNotification:E,notificationVariant:s1,notificationContent:f1,styles:i1,isDisabled:L1,pill:m1,maxWidth:d1,notificationColor:c1,iconLeftColor:o1,notificationCustomColor:N1,emojiAvatar:g1,notActiveDisplay:B1,small:C1,...A1})=>z.jsx(ed7,{"data-testid":"tag-solid",onClick:U,tabIndex:c??0,variant:a,disabled:L1??!1,pill:m1,notActiveDisplay:B1,style:i1,...A1,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"3rem",padding:A&&m1?"0 1rem 0 .4rem":A?"0 1rem 0 .8rem":"0 1.2rem",maxWidth:d1,style:{gap:A!==void 0&&A||e!==void 0&&e||s!==void 0&&s||E?".8rem":0},children:[A!==void 0&&A&&!e&&z.jsx(U0,{"data-testid":"avatar",size:"xxs",iconName:w,colorIcon:j??uY1[a],hasBadge:I,nameBadge:Q??"favorite",image:V,letters:q,backgroundColor:K||(q?CY1[a]:pY1[a]),border:!0,hasShadow:!0,emoji:g1}),e!==void 0&&e&&o&&!A&&z.jsx(T,{minWidth:"1.4rem","data-testid":"visual-left",children:z.jsx(k3,{type:o,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:r??"faShapes",color:o1?x2(o1):LY1[a].span.color}),countryCode:u,sizeCountryFlag:16,cordageFlagCode:d,sizeCordageFlag:"1.6rem",emoji:m,sizeEmoji:"1.4rem",typeOphimatic:x,styleOphimatic:b})}),F!==void 0&&F&&!e&&z.jsx(dY1,{"data-testid":"status-badge",color:Yl7[a]}),z.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:l}),C1&&z.jsx($0,{variant:"medium",className:"smallTag",children:C1}),E&&z.jsx(l4,{"data-testid":"notification",variant:s1??"dot",content:f1,color:c1??"blue",style:{minWidth:s1==="dot"?4:6},customColor:N1}),s!==void 0&&s&&n&&z.jsx(T,{minWidth:"1.4rem",children:z.jsx(k3,{"data-testid":"visual-right",type:n,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:f??"faShapes",color:LY1[a].span.color}),countryCode:p,sizeCountryFlag:16,cordageFlagCode:h,sizeCordageFlag:"1.6rem",emoji:M,sizeEmoji:"1.4rem",typeOphimatic:$,styleOphimatic:k})})]})}),nd7=({tabIndex:c,children:l,variant:a,status:e,hasVisualLeft:s,hasVisualRight:o,visualLeft:n,visualRight:r,nameIconLeft:f,nameIconRight:m,emojiLeft:M,emojiRight:u,countryCodeLeft:p,countryCodeRight:d,codeCordageLeft:h,codeCordageRight:x,onClick:$,styles:b,isDisabled:k,pill:w,maxWidth:A,hasAvatar:F,nameIconAvatar:U,colorIconAvatar:Q,imgAvatar:I,lettersAvatar:V,customColorAvatar:q,hasAvatarBadge:K,emojiAvatar:j,nameBadge:E,hasNotification:s1,notificationVariant:f1,notificationContent:i1,notificationColor:L1,notificationCustomColor:m1,...d1})=>z.jsx(sd7,{onClick:$,tabIndex:c??0,variant:a,disabled:k??!1,pill:w,style:b,...d1,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"3rem",padding:F&&w?"0 1rem 0 0.4rem":F?"0 1rem 0 .8rem":"0 1.2rem",maxWidth:A,style:{gap:F!==void 0&&F||s!==void 0&&s||o!==void 0&&o||s1?".8rem":0},children:[F!==void 0&&F&&!s&&z.jsx(U0,{size:"xxs",iconName:U,colorIcon:Q??uY1[a],hasBadge:K,nameBadge:E??"favorite",image:I,letters:V,backgroundColor:q||(V?CY1[a]:pY1[a]),border:!0,hasShadow:!0,emoji:j}),s!==void 0&&s&&n&&z.jsx(k3,{type:n,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:f??"faShapes",color:mY1[a].span.color}),countryCode:p,sizeCountryFlag:16,cordageFlagCode:h,sizeCordageFlag:"1.6rem",emoji:M,sizeEmoji:"1.4rem"}),e!==void 0&&e&&!s&&z.jsx(dY1,{color:Yl7[a]}),z.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:l}),o!==void 0&&o&&r&&z.jsx(T,{minWidth:"1.4rem",children:z.jsx(k3,{type:r,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:m??"faShapes",color:mY1[a].span.color}),countryCode:d,sizeCountryFlag:16,cordageFlagCode:x,sizeCordageFlag:"1.6rem",emoji:u,sizeEmoji:"1.4rem"})}),s1&&z.jsx(l4,{variant:f1??"dot",content:i1,color:L1??"blue",style:{minWidth:f1==="dot"?4:6},customColor:m1})]})}),rd7=({tabIndex:c,children:l,hasVisualLeft:a,hasVisualRight:e,visualLeft:s,visualRight:o,nameIconLeft:n,nameIconRight:r,emojiLeft:f,emojiRight:m,countryCodeLeft:M,countryCodeRight:u,codeCordageLeft:p,codeCordageRight:d,nameIconAvatar:h,hasAvatar:x,lettersAvatar:$,customColorAvatar:b,colorIconAvatar:k,status:w,onClick:A,nameBadge:F,hasAvatarBadge:U,imgAvatar:Q,styles:I,isDisabled:V,pill:q,maxWidth:K,variant:j,hasNotification:E,notificationVariant:s1,notificationContent:f1,notificationColor:i1,notificationCustomColor:L1,emojiAvatar:m1,...d1})=>z.jsx(od7,{onClick:A,tabIndex:c??0,variant:j,disabled:V??!1,pill:q,style:I,...d1,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"3rem",padding:x&&q?"0 1rem 0 0.4rem":x?"0 1rem 0 .8rem":"0 1.2rem",maxWidth:K,style:{gap:x!==void 0&&x||a!==void 0&&a||e!==void 0&&e?".8rem":0},children:[x!==void 0&&x&&!a&&z.jsx(U0,{size:"xxs",iconName:h,colorIcon:k??uY1[j],hasBadge:U,nameBadge:F??"favorite",image:Q,letters:$,backgroundColor:b||($?CY1[j]:pY1[j]),border:!0,hasShadow:!0,emoji:m1}),a!==void 0&&a&&s&&!x&&z.jsx(k3,{type:s,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:n??"faShapes",color:MY1[j].span.color}),countryCode:M,sizeCountryFlag:16,cordageFlagCode:p,sizeCordageFlag:"1.6rem",emoji:f,sizeEmoji:"1.4rem"}),w!==void 0&&w&&!a&&z.jsx(dY1,{color:"teals.5"}),z.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:l}),E&&z.jsx(l4,{variant:s1||"dot",content:f1,color:i1||"blue",style:{minWidth:s1==="dot"?4:6},customColor:L1}),e!==void 0&&e&&o&&z.jsx(T,{minWidth:"1.4rem",children:z.jsx(k3,{type:o,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:r??"faShapes",color:MY1[j].span.color}),countryCode:u,sizeCountryFlag:16,cordageFlagCode:d,sizeCordageFlag:"1.6rem",emoji:m,sizeEmoji:"1.4rem"})})]})}),fd7=({tabIndex:c,children:l,variant:a,onClick:e,hasNotification:s,hasNotificationRight:o,styles:n,isDisabled:r,pill:f,maxWidth:m,...M})=>z.jsx(id7,{onClick:e,tabIndex:c||0,variant:a,disabled:r||!1,pill:f,style:n,...M,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"2.4rem",padding:"0 1rem",maxWidth:m,style:{gap:".3rem"},children:[s&&z.jsx(h2,{name:"faCircle",variant:"solid",color:s0[ca7[a]],paddingIcon:"sm"}),z.jsx("span",{children:l}),o&&z.jsx(h2,{name:"faCircle",variant:"solid",color:s0[ca7[a]],paddingIcon:"sm"})]})}),lm=H.createContext({transformPagePoint:c=>c,isStatic:!1,reducedMotion:"never"}),am=H.createContext({}),em=H.createContext(null),gY1=typeof window<"u",hY1=gY1?H.useLayoutEffect:H.useEffect,la7=H.createContext({strict:!1}),sm=c=>c.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),aa7="data-"+sm("framerAppearId"),td7={skipAnimations:!1,useManualTiming:!1};function zd7(c){let l=new Set,a=new Set,e=!1,s=!1;const o=new WeakSet;let n={delta:0,timestamp:0,isProcessing:!1};function r(m){o.has(m)&&(f.schedule(m),c()),m(n)}const f={schedule:(m,M=!1,u=!1)=>{const d=u&&e?l:a;return M&&o.add(m),d.has(m)||d.add(m),m},cancel:m=>{a.delete(m),o.delete(m)},process:m=>{if(n=m,e){s=!0;return}e=!0,[l,a]=[a,l],a.clear(),l.forEach(r),e=!1,s&&(s=!1,f.process(m))}};return f}const om=["read","resolveKeyframes","update","preRender","render","postRender"],Ld7=40;function ea7(c,l){let a=!1,e=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>a=!0,n=om.reduce((b,k)=>(b[k]=zd7(o),b),{}),{read:r,resolveKeyframes:f,update:m,preRender:M,render:u,postRender:p}=n,d=()=>{const b=performance.now();a=!1,s.delta=e?1e3/60:Math.max(Math.min(b-s.timestamp,Ld7),1),s.timestamp=b,s.isProcessing=!0,r.process(s),f.process(s),m.process(s),M.process(s),u.process(s),p.process(s),s.isProcessing=!1,a&&l&&(e=!1,c(d))},h=()=>{a=!0,e=!0,s.isProcessing||c(d)};return{schedule:om.reduce((b,k)=>{const w=n[k];return b[k]=(A,F=!1,U=!1)=>(a||h(),w.schedule(A,F,U)),b},{}),cancel:b=>{for(let k=0;k<om.length;k++)n[om[k]].cancel(b)},state:s,steps:n}}const{schedule:xY1,cancel:eK7}=ea7(queueMicrotask,!1);function o7(c){return c&&typeof c=="object"&&Object.prototype.hasOwnProperty.call(c,"current")}const sa7=H.createContext({});let oa7=!1;function md7(c,l,a,e,s){const{visualElement:o}=H.useContext(am),n=H.useContext(la7),r=H.useContext(em),f=H.useContext(lm).reducedMotion,m=H.useRef();e=e||n.renderer,!m.current&&e&&(m.current=e(c,{visualState:l,parent:o,props:a,presenceContext:r,blockInitialAnimation:r?r.initial===!1:!1,reducedMotionConfig:f}));const M=m.current,u=H.useContext(sa7);M&&!M.projection&&s&&(M.type==="html"||M.type==="svg")&&pd7(m.current,a,s,u),H.useInsertionEffect(()=>{M&&M.update(a,r)});const p=H.useRef(!!(a[aa7]&&!window.HandoffComplete));return hY1(()=>{M&&(M.updateFeatures(),xY1.render(M.render),p.current&&M.animationState&&M.animationState.animateChanges())}),H.useEffect(()=>{M&&(!p.current&&M.animationState&&M.animationState.animateChanges(),p.current&&(p.current=!1,oa7||(oa7=!0,queueMicrotask(Md7))))}),M}function Md7(){window.HandoffComplete=!0}function pd7(c,l,a,e){const{layoutId:s,layout:o,drag:n,dragConstraints:r,layoutScroll:f,layoutRoot:m}=l;c.projection=new a(c.latestValues,l["data-framer-portal-id"]?void 0:ia7(c.parent)),c.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!n||r&&o7(r),visualElement:c,animationType:typeof o=="string"?o:"both",initialPromotionConfig:e,layoutScroll:f,layoutRoot:m})}function ia7(c){if(c)return c.options.allowProjection!==!1?c.projection:ia7(c.parent)}function Cd7(c,l,a){return H.useCallback(e=>{e&&c.mount&&c.mount(e),l&&(e?l.mount(e):l.unmount()),a&&(typeof a=="function"?a(e):o7(a)&&(a.current=e))},[l])}function Il(c){return typeof c=="string"||Array.isArray(c)}function Kl(c){return c!==null&&typeof c=="object"&&typeof c.start=="function"}const SY1=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],$Y1=["initial",...SY1];function im(c){return Kl(c.animate)||$Y1.some(l=>Il(c[l]))}function na7(c){return!!(im(c)||c.variants)}function ud7(c,l){if(im(c)){const{initial:a,animate:e}=c;return{initial:a===!1||Il(a)?a:void 0,animate:Il(e)?e:void 0}}return c.inherit!==!1?l:{}}function dd7(c){const{initial:l,animate:a}=ud7(c,H.useContext(am));return H.useMemo(()=>({initial:l,animate:a}),[ra7(l),ra7(a)])}function ra7(c){return Array.isArray(c)?c.join(" "):c}const fa7={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},i7={};for(const c in fa7)i7[c]={isEnabled:l=>fa7[c].some(a=>!!l[a])};function gd7(c){for(const l in c)i7[l]={...i7[l],...c[l]}}const NY1=H.createContext({}),hd7=Symbol.for("motionComponentSymbol"),a4=c=>c;let n7=a4,L3=a4;process.env.NODE_ENV!=="production"&&(n7=(c,l)=>{!c&&typeof console<"u"&&console.warn(l)},L3=(c,l)=>{if(!c)throw new Error(l)});function xd7({preloadedFeatures:c,createVisualElement:l,useRender:a,useVisualState:e,Component:s}){c&&gd7(c);function o(r,f){let m;const M={...H.useContext(lm),...r,layoutId:Sd7(r)},{isStatic:u}=M,p=dd7(r),d=e(r,u);if(!u&&gY1){$d7(M,c);const h=Nd7(M);m=h.MeasureLayout,p.visualElement=md7(s,d,M,l,h.ProjectionNode)}return z.jsxs(am.Provider,{value:p,children:[m&&p.visualElement?z.jsx(m,{visualElement:p.visualElement,...M}):null,a(s,r,Cd7(d,p.visualElement,f),d,u,p.visualElement)]})}const n=H.forwardRef(o);return n[hd7]=s,n}function Sd7({layoutId:c}){const l=H.useContext(NY1).id;return l&&c!==void 0?l+"-"+c:c}function $d7(c,l){const a=H.useContext(la7).strict;if(process.env.NODE_ENV!=="production"&&l&&a){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";c.ignoreStrict?n7(!1,e):L3(!1,e)}}function Nd7(c){const{drag:l,layout:a}=i7;if(!l&&!a)return{};const e={...l,...a};return{MeasureLayout:l!=null&&l.isEnabled(c)||a!=null&&a.isEnabled(c)?e.MeasureLayout:void 0,ProjectionNode:e.ProjectionNode}}function bd7(c){function l(e,s={}){return xd7(c(e,s))}if(typeof Proxy>"u")return l;const a=new Map;return new Proxy(l,{get:(e,s)=>(a.has(s)||a.set(s,l(s)),a.get(s))})}const wd7=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function bY1(c){return typeof c!="string"||c.includes("-")?!1:!!(wd7.indexOf(c)>-1||/[A-Z]/u.test(c))}const nm={};function kd7(c){Object.assign(nm,c)}const Xl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_6=new Set(Xl);function ta7(c,{layout:l,layoutId:a}){return _6.has(c)||c.startsWith("origin")||(l||a!==void 0)&&(!!nm[c]||c==="opacity")}const e4=c=>!!(c&&c.getVelocity),yd7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ad7=Xl.length;function vd7(c,l,a){let e="";for(let s=0;s<Ad7;s++){const o=Xl[s];if(c[o]!==void 0){const n=yd7[o]||o;e+=`${n}(${c[o]}) `}}return e=e.trim(),a?e=a(c,l?"":e):l&&(e="none"),e}const za7=c=>l=>typeof l=="string"&&l.startsWith(c),La7=za7("--"),Bd7=za7("var(--"),wY1=c=>Bd7(c)?Td7.test(c.split("/*")[0].trim()):!1,Td7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Fd7=(c,l)=>l&&typeof c=="number"?l.transform(c):c,E6=(c,l,a)=>a>l?l:a<c?c:a,r7={test:c=>typeof c=="number",parse:parseFloat,transform:c=>c},Ql={...r7,transform:c=>E6(0,1,c)},rm={...r7,default:1},Jl=c=>Math.round(c*1e5)/1e5,kY1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Dd7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Pd7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Zl(c){return typeof c=="string"}function Hd7(c){return c==null}const Yl=c=>({test:l=>Zl(l)&&l.endsWith(c)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${c}`}),U6=Yl("deg"),v3=Yl("%"),u2=Yl("px"),Rd7=Yl("vh"),_d7=Yl("vw"),ma7={...v3,parse:c=>v3.parse(c)/100,transform:c=>v3.transform(c*100)},Ma7={...r7,transform:Math.round},pa7={borderWidth:u2,borderTopWidth:u2,borderRightWidth:u2,borderBottomWidth:u2,borderLeftWidth:u2,borderRadius:u2,radius:u2,borderTopLeftRadius:u2,borderTopRightRadius:u2,borderBottomRightRadius:u2,borderBottomLeftRadius:u2,width:u2,maxWidth:u2,height:u2,maxHeight:u2,size:u2,top:u2,right:u2,bottom:u2,left:u2,padding:u2,paddingTop:u2,paddingRight:u2,paddingBottom:u2,paddingLeft:u2,margin:u2,marginTop:u2,marginRight:u2,marginBottom:u2,marginLeft:u2,rotate:U6,rotateX:U6,rotateY:U6,rotateZ:U6,scale:rm,scaleX:rm,scaleY:rm,scaleZ:rm,skew:U6,skewX:U6,skewY:U6,distance:u2,translateX:u2,translateY:u2,translateZ:u2,x:u2,y:u2,z:u2,perspective:u2,transformPerspective:u2,opacity:Ql,originX:ma7,originY:ma7,originZ:u2,zIndex:Ma7,backgroundPositionX:u2,backgroundPositionY:u2,fillOpacity:Ql,strokeOpacity:Ql,numOctaves:Ma7};function yY1(c,l,a){const{style:e,vars:s,transform:o,transformOrigin:n}=c;let r=!1,f=!1,m=!0;for(const M in l){const u=l[M];if(La7(M)){s[M]=u;continue}const p=pa7[M],d=Fd7(u,p);if(_6.has(M)){if(r=!0,o[M]=d,!m)continue;u!==(p.default||0)&&(m=!1)}else M.startsWith("origin")?(f=!0,n[M]=d):e[M]=d}if(l.transform||(r||a?e.transform=vd7(c.transform,m,a):e.transform&&(e.transform="none")),f){const{originX:M="50%",originY:u="50%",originZ:p=0}=n;e.transformOrigin=`${M} ${u} ${p}`}}const AY1=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ca7(c,l,a){for(const e in l)!e4(l[e])&&!ta7(e,a)&&(c[e]=l[e])}function Ed7({transformTemplate:c},l){return H.useMemo(()=>{const a=AY1();return yY1(a,l,c),Object.assign({},a.vars,a.style)},[l])}function Ud7(c,l){const a=c.style||{},e={};return Ca7(e,a,c),Object.assign(e,Ed7(c,l)),e}function qd7(c,l){const a={},e=Ud7(c,l);return c.drag&&c.dragListener!==!1&&(a.draggable=!1,e.userSelect=e.WebkitUserSelect=e.WebkitTouchCallout="none",e.touchAction=c.drag===!0?"none":`pan-${c.drag==="x"?"y":"x"}`),c.tabIndex===void 0&&(c.onTap||c.onTapStart||c.whileTap)&&(a.tabIndex=0),a.style=e,a}const jd7=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function fm(c){return c.startsWith("while")||c.startsWith("drag")&&c!=="draggable"||c.startsWith("layout")||c.startsWith("onTap")||c.startsWith("onPan")||c.startsWith("onLayout")||jd7.has(c)}let ua7=c=>!fm(c);function Od7(c){c&&(ua7=l=>l.startsWith("on")?!fm(l):c(l))}try{Od7(require("@emotion/is-prop-valid").default)}catch{}function Wd7(c,l,a){const e={};for(const s in c)s==="values"&&typeof c.values=="object"||(ua7(s)||a===!0&&fm(s)||!l&&!fm(s)||c.draggable&&s.startsWith("onDrag"))&&(e[s]=c[s]);return e}function da7(c,l,a){return typeof c=="string"?c:u2.transform(l+a*c)}function Gd7(c,l,a){const e=da7(l,c.x,c.width),s=da7(a,c.y,c.height);return`${e} ${s}`}const Vd7={offset:"stroke-dashoffset",array:"stroke-dasharray"},Id7={offset:"strokeDashoffset",array:"strokeDasharray"};function Kd7(c,l,a=1,e=0,s=!0){c.pathLength=1;const o=s?Vd7:Id7;c[o.offset]=u2.transform(-e);const n=u2.transform(l),r=u2.transform(a);c[o.array]=`${n} ${r}`}function vY1(c,{attrX:l,attrY:a,attrScale:e,originX:s,originY:o,pathLength:n,pathSpacing:r=1,pathOffset:f=0,...m},M,u){if(yY1(c,m,u),M){c.style.viewBox&&(c.attrs.viewBox=c.style.viewBox);return}c.attrs=c.style,c.style={};const{attrs:p,style:d,dimensions:h}=c;p.transform&&(h&&(d.transform=p.transform),delete p.transform),h&&(s!==void 0||o!==void 0||d.transform)&&(d.transformOrigin=Gd7(h,s!==void 0?s:.5,o!==void 0?o:.5)),l!==void 0&&(p.x=l),a!==void 0&&(p.y=a),e!==void 0&&(p.scale=e),n!==void 0&&Kd7(p,n,r,f,!1)}const ga7=()=>({...AY1(),attrs:{}}),BY1=c=>typeof c=="string"&&c.toLowerCase()==="svg";function Xd7(c,l,a,e){const s=H.useMemo(()=>{const o=ga7();return vY1(o,l,BY1(e),c.transformTemplate),{...o.attrs,style:{...o.style}}},[l]);if(c.style){const o={};Ca7(o,c.style,c),s.style={...o,...s.style}}return s}function Qd7(c=!1){return(a,e,s,{latestValues:o},n)=>{const f=(bY1(a)?Xd7:qd7)(e,o,n,a),m=Wd7(e,typeof a=="string",c),M=a!==H.Fragment?{...m,...f,ref:s}:{},{children:u}=e,p=H.useMemo(()=>e4(u)?u.get():u,[u]);return H.createElement(a,{...M,children:p})}}function ha7(c,{style:l,vars:a},e,s){Object.assign(c.style,l,s&&s.getProjectionStyles(e));for(const o in a)c.style.setProperty(o,a[o])}const xa7=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Sa7(c,l,a,e){ha7(c,l,void 0,e);for(const s in l.attrs)c.setAttribute(xa7.has(s)?s:sm(s),l.attrs[s])}function TY1(c,l,a){var e;const{style:s}=c,o={};for(const n in s)(e4(s[n])||l.style&&e4(l.style[n])||ta7(n,c)||((e=a==null?void 0:a.getValue(n))===null||e===void 0?void 0:e.liveStyle)!==void 0)&&(o[n]=s[n]);return a&&s&&typeof s.willChange=="string"&&(a.applyWillChange=!1),o}function $a7(c,l,a){const e=TY1(c,l,a);for(const s in c)if(e4(c[s])||e4(l[s])){const o=Xl.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;e[o]=c[s]}return e}function Na7(c){const l=[{},{}];return c==null||c.values.forEach((a,e)=>{l[0][e]=a.get(),l[1][e]=a.getVelocity()}),l}function FY1(c,l,a,e){if(typeof l=="function"){const[s,o]=Na7(e);l=l(a!==void 0?a:c.custom,s,o)}if(typeof l=="string"&&(l=c.variants&&c.variants[l]),typeof l=="function"){const[s,o]=Na7(e);l=l(a!==void 0?a:c.custom,s,o)}return l}function A8(c){const l=H.useRef(null);return l.current===null&&(l.current=c()),l.current}const DY1=c=>Array.isArray(c),Jd7=c=>!!(c&&typeof c=="object"&&c.mix&&c.toValue),Zd7=c=>DY1(c)?c[c.length-1]||0:c;function tm(c){const l=e4(c)?c.get():c;return Jd7(l)?l.toValue():l}const ba7=new Set(["opacity","clipPath","filter","transform"]);function wa7(c){if(_6.has(c))return"transform";if(ba7.has(c))return sm(c)}function zm(c,l){c.indexOf(l)===-1&&c.push(l)}function Lm(c,l){const a=c.indexOf(l);a>-1&&c.splice(a,1)}function Yd7([...c],l,a){const e=l<0?c.length+l:l;if(e>=0&&e<c.length){const s=a<0?c.length+a:a,[o]=c.splice(l,1);c.splice(s,0,o)}return c}function cg7({applyWillChange:c=!1,scrapeMotionValuesFromProps:l,createRenderState:a,onMount:e},s,o,n,r){const f={latestValues:ag7(s,o,n,r?!1:c,l),renderState:a()};return e&&(f.mount=m=>e(s,m,f)),f}const ka7=c=>(l,a)=>{const e=H.useContext(am),s=H.useContext(em),o=()=>cg7(c,l,e,s,a);return a?o():A8(o)};function lg7(c,l){const a=wa7(l);a&&zm(c,a)}function ya7(c,l,a){const e=Array.isArray(l)?l:[l];for(let s=0;s<e.length;s++){const o=FY1(c,e[s]);if(o){const{transitionEnd:n,transition:r,...f}=o;a(f,n)}}}function ag7(c,l,a,e,s){var o;const n={},r=[],f=e&&((o=c.style)===null||o===void 0?void 0:o.willChange)===void 0,m=s(c,{});for(const $ in m)n[$]=tm(m[$]);let{initial:M,animate:u}=c;const p=im(c),d=na7(c);l&&d&&!p&&c.inherit!==!1&&(M===void 0&&(M=l.initial),u===void 0&&(u=l.animate));let h=a?a.initial===!1:!1;h=h||M===!1;const x=h?u:M;return x&&typeof x!="boolean"&&!Kl(x)&&ya7(c,x,($,b)=>{for(const k in $){let w=$[k];if(Array.isArray(w)){const A=h?w.length-1:0;w=w[A]}w!==null&&(n[k]=w)}for(const k in b)n[k]=b[k]}),f&&(u&&M!==!1&&!Kl(u)&&ya7(c,u,$=>{for(const b in $)lg7(r,b)}),r.length&&(n.willChange=r.join(","))),n}const{schedule:u0,cancel:B3,state:s4,steps:PY1}=ea7(typeof requestAnimationFrame<"u"?requestAnimationFrame:a4,!0),eg7={useVisualState:ka7({scrapeMotionValuesFromProps:$a7,createRenderState:ga7,onMount:(c,l,{renderState:a,latestValues:e})=>{u0.read(()=>{try{a.dimensions=typeof l.getBBox=="function"?l.getBBox():l.getBoundingClientRect()}catch{a.dimensions={x:0,y:0,width:0,height:0}}}),u0.render(()=>{vY1(a,e,BY1(l.tagName),c.transformTemplate),Sa7(l,a)})}})},sg7={useVisualState:ka7({applyWillChange:!0,scrapeMotionValuesFromProps:TY1,createRenderState:AY1})};function og7(c,{forwardMotionProps:l=!1},a,e){return{...bY1(c)?eg7:sg7,preloadedFeatures:a,useRender:Qd7(l),createVisualElement:e,Component:c}}function l6(c,l,a,e={passive:!0}){return c.addEventListener(l,a,e),()=>c.removeEventListener(l,a)}const Aa7=c=>c.pointerType==="mouse"?typeof c.button!="number"||c.button<=0:c.isPrimary!==!1;function mm(c,l="page"){return{point:{x:c[`${l}X`],y:c[`${l}Y`]}}}const ig7=c=>l=>Aa7(l)&&c(l,mm(l));function a6(c,l,a,e){return l6(c,l,ig7(a),e)}const ng7=(c,l)=>a=>l(c(a)),e6=(...c)=>c.reduce(ng7);function va7(c){let l=null;return()=>{const a=()=>{l=null};return l===null?(l=c,a):!1}}const Ba7=va7("dragHorizontal"),Ta7=va7("dragVertical");function Fa7(c){let l=!1;if(c==="y")l=Ta7();else if(c==="x")l=Ba7();else{const a=Ba7(),e=Ta7();a&&e?l=()=>{a(),e()}:(a&&a(),e&&e())}return l}function Da7(){const c=Fa7(!0);return c?(c(),!1):!0}class q6{constructor(l){this.isMounted=!1,this.node=l}update(){}}function Pa7(c,l){const a=l?"pointerenter":"pointerleave",e=l?"onHoverStart":"onHoverEnd",s=(o,n)=>{if(o.pointerType==="touch"||Da7())return;const r=c.getProps();c.animationState&&r.whileHover&&c.animationState.setActive("whileHover",l);const f=r[e];f&&u0.postRender(()=>f(o,n))};return a6(c.current,a,s,{passive:!c.getProps()[e]})}class rg7 extends q6{mount(){this.unmount=e6(Pa7(this.node,!0),Pa7(this.node,!1))}unmount(){}}class fg7 extends q6{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=e6(l6(this.node.current,"focus",()=>this.onFocus()),l6(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ha7=(c,l)=>l?c===l?!0:Ha7(c,l.parentElement):!1;function HY1(c,l){if(!l)return;const a=new PointerEvent("pointer"+c);l(a,mm(a))}class tg7 extends q6{constructor(){super(...arguments),this.removeStartListeners=a4,this.removeEndListeners=a4,this.removeAccessibleListeners=a4,this.startPointerPress=(l,a)=>{if(this.isPressing)return;this.removeEndListeners();const e=this.node.getProps(),o=a6(window,"pointerup",(r,f)=>{if(!this.checkPressEnd())return;const{onTap:m,onTapCancel:M,globalTapTarget:u}=this.node.getProps(),p=!u&&!Ha7(this.node.current,r.target)?M:m;p&&u0.update(()=>p(r,f))},{passive:!(e.onTap||e.onPointerUp)}),n=a6(window,"pointercancel",(r,f)=>this.cancelPress(r,f),{passive:!(e.onTapCancel||e.onPointerCancel)});this.removeEndListeners=e6(o,n),this.startPress(l,a)},this.startAccessiblePress=()=>{const l=o=>{if(o.key!=="Enter"||this.isPressing)return;const n=r=>{r.key!=="Enter"||!this.checkPressEnd()||HY1("up",(f,m)=>{const{onTap:M}=this.node.getProps();M&&u0.postRender(()=>M(f,m))})};this.removeEndListeners(),this.removeEndListeners=l6(this.node.current,"keyup",n),HY1("down",(r,f)=>{this.startPress(r,f)})},a=l6(this.node.current,"keydown",l),e=()=>{this.isPressing&&HY1("cancel",(o,n)=>this.cancelPress(o,n))},s=l6(this.node.current,"blur",e);this.removeAccessibleListeners=e6(a,s)}}startPress(l,a){this.isPressing=!0;const{onTapStart:e,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),e&&u0.postRender(()=>e(l,a))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Da7()}cancelPress(l,a){if(!this.checkPressEnd())return;const{onTapCancel:e}=this.node.getProps();e&&u0.postRender(()=>e(l,a))}mount(){const l=this.node.getProps(),a=a6(l.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(l.onTapStart||l.onPointerStart)}),e=l6(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=e6(a,e)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const RY1=new WeakMap,_Y1=new WeakMap,zg7=c=>{const l=RY1.get(c.target);l&&l(c)},Lg7=c=>{c.forEach(zg7)};function mg7({root:c,...l}){const a=c||document;_Y1.has(a)||_Y1.set(a,{});const e=_Y1.get(a),s=JSON.stringify(l);return e[s]||(e[s]=new IntersectionObserver(Lg7,{root:c,...l})),e[s]}function Mg7(c,l,a){const e=mg7(l);return RY1.set(c,a),e.observe(c),()=>{RY1.delete(c),e.unobserve(c)}}const pg7={some:0,all:1};class Cg7 extends q6{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:l={}}=this.node.getProps(),{root:a,margin:e,amount:s="some",once:o}=l,n={root:a?a.current:void 0,rootMargin:e,threshold:typeof s=="number"?s:pg7[s]},r=f=>{const{isIntersecting:m}=f;if(this.isInView===m||(this.isInView=m,o&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:M,onViewportLeave:u}=this.node.getProps(),p=m?M:u;p&&p(f)};return Mg7(this.node.current,n,r)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:a}=this.node;["amount","margin","root"].some(ug7(l,a))&&this.startObserver()}unmount(){}}function ug7({viewport:c={}},{viewport:l={}}={}){return a=>c[a]!==l[a]}const dg7={inView:{Feature:Cg7},tap:{Feature:tg7},focus:{Feature:fg7},hover:{Feature:rg7}};function Ra7(c,l){if(!Array.isArray(l))return!1;const a=l.length;if(a!==c.length)return!1;for(let e=0;e<a;e++)if(l[e]!==c[e])return!1;return!0}function Mm(c,l,a){const e=c.getProps();return FY1(e,l,a!==void 0?a:e.custom,c)}const s6=c=>c*1e3,o6=c=>c/1e3,gg7={type:"spring",stiffness:500,damping:25,restSpeed:10},hg7=c=>({type:"spring",stiffness:550,damping:c===0?2*Math.sqrt(550):30,restSpeed:10}),xg7={type:"keyframes",duration:.8},Sg7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$g7=(c,{keyframes:l})=>l.length>2?xg7:_6.has(c)?c.startsWith("scale")?hg7(l[1]):gg7:Sg7;function Ng7({when:c,delay:l,delayChildren:a,staggerChildren:e,staggerDirection:s,repeat:o,repeatType:n,repeatDelay:r,from:f,elapsed:m,...M}){return!!Object.keys(M).length}function EY1(c,l){return c[l]||c.default||c}const bg7=c=>c!==null;function pm(c,{repeat:l,repeatType:a="loop"},e){const s=c.filter(bg7),o=l&&a!=="loop"&&l%2===1?0:s.length-1;return!o||e===void 0?s[o]:e}let Cm;function wg7(){Cm=void 0}const j6={now:()=>(Cm===void 0&&j6.set(s4.isProcessing||td7.useManualTiming?s4.timestamp:performance.now()),Cm),set:c=>{Cm=c,queueMicrotask(wg7)}},_a7=c=>/^0[^.\s]+$/u.test(c);function kg7(c){return typeof c=="number"?c===0:c!==null?c==="none"||c==="0"||_a7(c):!0}const Ea7=c=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(c),yg7=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ag7(c){const l=yg7.exec(c);if(!l)return[,];const[,a,e,s]=l;return[`--${a??e}`,s]}const vg7=4;function Ua7(c,l,a=1){L3(a<=vg7,`Max CSS variable fallback depth detected in property "${c}". This may indicate a circular fallback dependency.`);const[e,s]=Ag7(c);if(!e)return;const o=window.getComputedStyle(l).getPropertyValue(e);if(o){const n=o.trim();return Ea7(n)?parseFloat(n):n}return wY1(s)?Ua7(s,l,a+1):s}const Bg7=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),qa7=c=>c===r7||c===u2,ja7=(c,l)=>parseFloat(c.split(", ")[l]),Oa7=(c,l)=>(a,{transform:e})=>{if(e==="none"||!e)return 0;const s=e.match(/^matrix3d\((.+)\)$/u);if(s)return ja7(s[1],l);{const o=e.match(/^matrix\((.+)\)$/u);return o?ja7(o[1],c):0}},Tg7=new Set(["x","y","z"]),Fg7=Xl.filter(c=>!Tg7.has(c));function Dg7(c){const l=[];return Fg7.forEach(a=>{const e=c.getValue(a);e!==void 0&&(l.push([a,e.get()]),e.set(a.startsWith("scale")?1:0))}),l}const f7={width:({x:c},{paddingLeft:l="0",paddingRight:a="0"})=>c.max-c.min-parseFloat(l)-parseFloat(a),height:({y:c},{paddingTop:l="0",paddingBottom:a="0"})=>c.max-c.min-parseFloat(l)-parseFloat(a),top:(c,{top:l})=>parseFloat(l),left:(c,{left:l})=>parseFloat(l),bottom:({y:c},{top:l})=>parseFloat(l)+(c.max-c.min),right:({x:c},{left:l})=>parseFloat(l)+(c.max-c.min),x:Oa7(4,13),y:Oa7(5,14)};f7.translateX=f7.x,f7.translateY=f7.y;const Wa7=c=>l=>l.test(c),Ga7=[r7,u2,v3,U6,_d7,Rd7,{test:c=>c==="auto",parse:c=>c}],Va7=c=>Ga7.find(Wa7(c)),v8=new Set;let UY1=!1,qY1=!1;function Ia7(){if(qY1){const c=Array.from(v8).filter(e=>e.needsMeasurement),l=new Set(c.map(e=>e.element)),a=new Map;l.forEach(e=>{const s=Dg7(e);s.length&&(a.set(e,s),e.render())}),c.forEach(e=>e.measureInitialState()),l.forEach(e=>{e.render();const s=a.get(e);s&&s.forEach(([o,n])=>{var r;(r=e.getValue(o))===null||r===void 0||r.set(n)})}),c.forEach(e=>e.measureEndState()),c.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}qY1=!1,UY1=!1,v8.forEach(c=>c.complete()),v8.clear()}function Ka7(){v8.forEach(c=>{c.readKeyframes(),c.needsMeasurement&&(qY1=!0)})}function Pg7(){Ka7(),Ia7()}class jY1{constructor(l,a,e,s,o,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...l],this.onComplete=a,this.name=e,this.motionValue=s,this.element=o,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(v8.add(this),UY1||(UY1=!0,u0.read(Ka7),u0.resolveKeyframes(Ia7))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:a,element:e,motionValue:s}=this;for(let o=0;o<l.length;o++)if(l[o]===null)if(o===0){const n=s==null?void 0:s.get(),r=l[l.length-1];if(n!==void 0)l[0]=n;else if(e&&a){const f=e.readValue(a,r);f!=null&&(l[0]=f)}l[0]===void 0&&(l[0]=r),s&&n===void 0&&s.set(l[0])}else l[o]=l[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),v8.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,v8.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const OY1=(c,l)=>a=>!!(Zl(a)&&Pd7.test(a)&&a.startsWith(c)||l&&!Hd7(a)&&Object.prototype.hasOwnProperty.call(a,l)),Xa7=(c,l,a)=>e=>{if(!Zl(e))return e;const[s,o,n,r]=e.match(kY1);return{[c]:parseFloat(s),[l]:parseFloat(o),[a]:parseFloat(n),alpha:r!==void 0?parseFloat(r):1}},Hg7=c=>E6(0,255,c),WY1={...r7,transform:c=>Math.round(Hg7(c))},B8={test:OY1("rgb","red"),parse:Xa7("red","green","blue"),transform:({red:c,green:l,blue:a,alpha:e=1})=>"rgba("+WY1.transform(c)+", "+WY1.transform(l)+", "+WY1.transform(a)+", "+Jl(Ql.transform(e))+")"};function Rg7(c){let l="",a="",e="",s="";return c.length>5?(l=c.substring(1,3),a=c.substring(3,5),e=c.substring(5,7),s=c.substring(7,9)):(l=c.substring(1,2),a=c.substring(2,3),e=c.substring(3,4),s=c.substring(4,5),l+=l,a+=a,e+=e,s+=s),{red:parseInt(l,16),green:parseInt(a,16),blue:parseInt(e,16),alpha:s?parseInt(s,16)/255:1}}const GY1={test:OY1("#"),parse:Rg7,transform:B8.transform},t7={test:OY1("hsl","hue"),parse:Xa7("hue","saturation","lightness"),transform:({hue:c,saturation:l,lightness:a,alpha:e=1})=>"hsla("+Math.round(c)+", "+v3.transform(Jl(l))+", "+v3.transform(Jl(a))+", "+Jl(Ql.transform(e))+")"},f4={test:c=>B8.test(c)||GY1.test(c)||t7.test(c),parse:c=>B8.test(c)?B8.parse(c):t7.test(c)?t7.parse(c):GY1.parse(c),transform:c=>Zl(c)?c:c.hasOwnProperty("red")?B8.transform(c):t7.transform(c)};function _g7(c){var l,a;return isNaN(c)&&Zl(c)&&(((l=c.match(kY1))===null||l===void 0?void 0:l.length)||0)+(((a=c.match(Dd7))===null||a===void 0?void 0:a.length)||0)>0}const Qa7="number",Ja7="color",Eg7="var",Ug7="var(",Za7="${}",qg7=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ca(c){const l=c.toString(),a=[],e={color:[],number:[],var:[]},s=[];let o=0;const r=l.replace(qg7,f=>(f4.test(f)?(e.color.push(o),s.push(Ja7),a.push(f4.parse(f))):f.startsWith(Ug7)?(e.var.push(o),s.push(Eg7),a.push(f)):(e.number.push(o),s.push(Qa7),a.push(parseFloat(f))),++o,Za7)).split(Za7);return{values:a,split:r,indexes:e,types:s}}function Ya7(c){return ca(c).values}function ce7(c){const{split:l,types:a}=ca(c),e=l.length;return s=>{let o="";for(let n=0;n<e;n++)if(o+=l[n],s[n]!==void 0){const r=a[n];r===Qa7?o+=Jl(s[n]):r===Ja7?o+=f4.transform(s[n]):o+=s[n]}return o}}const jg7=c=>typeof c=="number"?0:c;function Og7(c){const l=Ya7(c);return ce7(c)(l.map(jg7))}const O6={test:_g7,parse:Ya7,createTransformer:ce7,getAnimatableNone:Og7},Wg7=new Set(["brightness","contrast","saturate","opacity"]);function Gg7(c){const[l,a]=c.slice(0,-1).split("(");if(l==="drop-shadow")return c;const[e]=a.match(kY1)||[];if(!e)return c;const s=a.replace(e,"");let o=Wg7.has(l)?1:0;return e!==a&&(o*=100),l+"("+o+s+")"}const Vg7=/\b([a-z-]*)\(.*?\)/gu,VY1={...O6,getAnimatableNone:c=>{const l=c.match(Vg7);return l?l.map(Gg7).join(" "):c}},Ig7={...pa7,color:f4,backgroundColor:f4,outlineColor:f4,fill:f4,stroke:f4,borderColor:f4,borderTopColor:f4,borderRightColor:f4,borderBottomColor:f4,borderLeftColor:f4,filter:VY1,WebkitFilter:VY1},IY1=c=>Ig7[c];function le7(c,l){let a=IY1(c);return a!==VY1&&(a=O6),a.getAnimatableNone?a.getAnimatableNone(l):void 0}const Kg7=new Set(["auto","none","0"]);function Xg7(c,l,a){let e=0,s;for(;e<c.length&&!s;){const o=c[e];typeof o=="string"&&!Kg7.has(o)&&ca(o).values.length&&(s=c[e]),e++}if(s&&a)for(const o of l)c[o]=le7(a,s)}class ae7 extends jY1{constructor(l,a,e,s){super(l,a,e,s,s==null?void 0:s.owner,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:a,name:e}=this;if(!a.current)return;super.readKeyframes();for(let f=0;f<l.length;f++){let m=l[f];if(typeof m=="string"&&(m=m.trim(),wY1(m))){const M=Ua7(m,a.current);M!==void 0&&(l[f]=M),f===l.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Bg7.has(e)||l.length!==2)return;const[s,o]=l,n=Va7(s),r=Va7(o);if(n!==r)if(qa7(n)&&qa7(r))for(let f=0;f<l.length;f++){const m=l[f];typeof m=="string"&&(l[f]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:a}=this,e=[];for(let s=0;s<l.length;s++)kg7(l[s])&&e.push(s);e.length&&Xg7(l,e,a)}measureInitialState(){const{element:l,unresolvedKeyframes:a,name:e}=this;if(!l.current)return;e==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f7[e](l.measureViewportBox(),window.getComputedStyle(l.current)),a[0]=this.measuredOrigin;const s=a[a.length-1];s!==void 0&&l.getValue(e,s).jump(s,!1)}measureEndState(){var l;const{element:a,name:e,unresolvedKeyframes:s}=this;if(!a.current)return;const o=a.getValue(e);o&&o.jump(this.measuredOrigin,!1);const n=s.length-1,r=s[n];s[n]=f7[e](a.measureViewportBox(),window.getComputedStyle(a.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),!((l=this.removedTransforms)===null||l===void 0)&&l.length&&this.removedTransforms.forEach(([f,m])=>{a.getValue(f).set(m)}),this.resolveNoneKeyframes()}}function ee7(c){let l;return()=>(l===void 0&&(l=c()),l)}const se7=(c,l)=>l==="zIndex"?!1:!!(typeof c=="number"||Array.isArray(c)||typeof c=="string"&&(O6.test(c)||c==="0")&&!c.startsWith("url("));function Qg7(c){const l=c[0];if(c.length===1)return!0;for(let a=0;a<c.length;a++)if(c[a]!==l)return!0}function Jg7(c,l,a,e){const s=c[0];if(s===null)return!1;if(l==="display"||l==="visibility")return!0;const o=c[c.length-1],n=se7(s,l),r=se7(o,l);return n7(n===r,`You are trying to animate ${l} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!n||!r?!1:Qg7(c)||a==="spring"&&e}class oe7{constructor({autoplay:l=!0,delay:a=0,type:e="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:n="loop",...r}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:l,delay:a,type:e,repeat:s,repeatDelay:o,repeatType:n,...r},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Pg7(),this._resolved}onKeyframesResolved(l,a){this.hasAttemptedResolve=!0;const{name:e,type:s,velocity:o,delay:n,onComplete:r,onUpdate:f,isGenerator:m}=this.options;if(!m&&!Jg7(l,e,s,o))if(n)this.options.duration=0;else{f==null||f(pm(l,this.options,a)),r==null||r(),this.resolveFinishedPromise();return}const M=this.initPlayback(l,a);M!==!1&&(this._resolved={keyframes:l,finalKeyframe:a,...M},this.onPostResolved())}onPostResolved(){}then(l,a){return this.currentFinishedPromise.then(l,a)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(l=>{this.resolveFinishedPromise=l})}}function ie7(c,l){return l?c*(1e3/l):0}const Zg7=5;function ne7(c,l,a){const e=Math.max(l-Zg7,0);return ie7(a-c(e),l-e)}const KY1=.001,Yg7=.01,re7=10,ch7=.05,lh7=1;function ah7({duration:c=800,bounce:l=.25,velocity:a=0,mass:e=1}){let s,o;n7(c<=s6(re7),"Spring duration must be 10 seconds or less");let n=1-l;n=E6(ch7,lh7,n),c=E6(Yg7,re7,o6(c)),n<1?(s=m=>{const M=m*n,u=M*c,p=M-a,d=XY1(m,n),h=Math.exp(-u);return KY1-p/d*h},o=m=>{const u=m*n*c,p=u*a+a,d=Math.pow(n,2)*Math.pow(m,2)*c,h=Math.exp(-u),x=XY1(Math.pow(m,2),n);return(-s(m)+KY1>0?-1:1)*((p-d)*h)/x}):(s=m=>{const M=Math.exp(-m*c),u=(m-a)*c+1;return-KY1+M*u},o=m=>{const M=Math.exp(-m*c),u=(a-m)*(c*c);return M*u});const r=5/c,f=sh7(s,o,r);if(c=s6(c),isNaN(f))return{stiffness:100,damping:10,duration:c};{const m=Math.pow(f,2)*e;return{stiffness:m,damping:n*2*Math.sqrt(e*m),duration:c}}}const eh7=12;function sh7(c,l,a){let e=a;for(let s=1;s<eh7;s++)e=e-c(e)/l(e);return e}function XY1(c,l){return c*Math.sqrt(1-l*l)}const oh7=["duration","bounce"],ih7=["stiffness","damping","mass"];function fe7(c,l){return l.some(a=>c[a]!==void 0)}function nh7(c){let l={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...c};if(!fe7(c,ih7)&&fe7(c,oh7)){const a=ah7(c);l={...l,...a,mass:1},l.isResolvedFromDuration=!0}return l}function te7({keyframes:c,restDelta:l,restSpeed:a,...e}){const s=c[0],o=c[c.length-1],n={done:!1,value:s},{stiffness:r,damping:f,mass:m,duration:M,velocity:u,isResolvedFromDuration:p}=nh7({...e,velocity:-o6(e.velocity||0)}),d=u||0,h=f/(2*Math.sqrt(r*m)),x=o-s,$=o6(Math.sqrt(r/m)),b=Math.abs(x)<5;a||(a=b?.01:2),l||(l=b?.005:.5);let k;if(h<1){const w=XY1($,h);k=A=>{const F=Math.exp(-h*$*A);return o-F*((d+h*$*x)/w*Math.sin(w*A)+x*Math.cos(w*A))}}else if(h===1)k=w=>o-Math.exp(-$*w)*(x+(d+$*x)*w);else{const w=$*Math.sqrt(h*h-1);k=A=>{const F=Math.exp(-h*$*A),U=Math.min(w*A,300);return o-F*((d+h*$*x)*Math.sinh(U)+w*x*Math.cosh(U))/w}}return{calculatedDuration:p&&M||null,next:w=>{const A=k(w);if(p)n.done=w>=M;else{let F=d;w!==0&&(h<1?F=ne7(k,w,A):F=0);const U=Math.abs(F)<=a,Q=Math.abs(o-A)<=l;n.done=U&&Q}return n.value=n.done?o:A,n}}}function ze7({keyframes:c,velocity:l=0,power:a=.8,timeConstant:e=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:n,min:r,max:f,restDelta:m=.5,restSpeed:M}){const u=c[0],p={done:!1,value:u},d=I=>r!==void 0&&I<r||f!==void 0&&I>f,h=I=>r===void 0?f:f===void 0||Math.abs(r-I)<Math.abs(f-I)?r:f;let x=a*l;const $=u+x,b=n===void 0?$:n($);b!==$&&(x=b-u);const k=I=>-x*Math.exp(-I/e),w=I=>b+k(I),A=I=>{const V=k(I),q=w(I);p.done=Math.abs(V)<=m,p.value=p.done?b:q};let F,U;const Q=I=>{d(p.value)&&(F=I,U=te7({keyframes:[p.value,h(p.value)],velocity:ne7(w,I,p.value),damping:s,stiffness:o,restDelta:m,restSpeed:M}))};return Q(0),{calculatedDuration:null,next:I=>{let V=!1;return!U&&F===void 0&&(V=!0,A(I),Q(I)),F!==void 0&&I>=F?U.next(I-F):(!V&&A(I),p)}}}const Le7=(c,l,a)=>(((1-3*a+3*l)*c+(3*a-6*l))*c+3*l)*c,rh7=1e-7,fh7=12;function th7(c,l,a,e,s){let o,n,r=0;do n=l+(a-l)/2,o=Le7(n,e,s)-c,o>0?a=n:l=n;while(Math.abs(o)>rh7&&++r<fh7);return n}function la(c,l,a,e){if(c===l&&a===e)return a4;const s=o=>th7(o,0,1,c,a);return o=>o===0||o===1?o:Le7(s(o),l,e)}const zh7=la(.42,0,1,1),Lh7=la(0,0,.58,1),me7=la(.42,0,.58,1),mh7=c=>Array.isArray(c)&&typeof c[0]!="number",Me7=c=>l=>l<=.5?c(2*l)/2:(2-c(2*(1-l)))/2,pe7=c=>l=>1-c(1-l),QY1=c=>1-Math.sin(Math.acos(c)),Ce7=pe7(QY1),Mh7=Me7(QY1),ue7=la(.33,1.53,.69,.99),JY1=pe7(ue7),ph7=Me7(JY1),de7={linear:a4,easeIn:zh7,easeInOut:me7,easeOut:Lh7,circIn:QY1,circInOut:Mh7,circOut:Ce7,backIn:JY1,backInOut:ph7,backOut:ue7,anticipate:c=>(c*=2)<1?.5*JY1(c):.5*(2-Math.pow(2,-10*(c-1)))},ge7=c=>{if(Array.isArray(c)){L3(c.length===4,"Cubic bezier arrays must contain four numerical values.");const[l,a,e,s]=c;return la(l,a,e,s)}else if(typeof c=="string")return L3(de7[c]!==void 0,`Invalid easing type '${c}'`),de7[c];return c},aa=(c,l,a)=>{const e=l-c;return e===0?1:(a-c)/e},T0=(c,l,a)=>c+(l-c)*a;function ZY1(c,l,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?c+(l-c)*6*a:a<1/2?l:a<2/3?c+(l-c)*(2/3-a)*6:c}function Ch7({hue:c,saturation:l,lightness:a,alpha:e}){c/=360,l/=100,a/=100;let s=0,o=0,n=0;if(!l)s=o=n=a;else{const r=a<.5?a*(1+l):a+l-a*l,f=2*a-r;s=ZY1(f,r,c+1/3),o=ZY1(f,r,c),n=ZY1(f,r,c-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(n*255),alpha:e}}function um(c,l){return a=>a>0?l:c}const YY1=(c,l,a)=>{const e=c*c,s=a*(l*l-e)+e;return s<0?0:Math.sqrt(s)},uh7=[GY1,B8,t7],dh7=c=>uh7.find(l=>l.test(c));function he7(c){const l=dh7(c);if(n7(!!l,`'${c}' is not an animatable color. Use the equivalent color code instead.`),!l)return!1;let a=l.parse(c);return l===t7&&(a=Ch7(a)),a}const xe7=(c,l)=>{const a=he7(c),e=he7(l);if(!a||!e)return um(c,l);const s={...a};return o=>(s.red=YY1(a.red,e.red,o),s.green=YY1(a.green,e.green,o),s.blue=YY1(a.blue,e.blue,o),s.alpha=T0(a.alpha,e.alpha,o),B8.transform(s))},c12=new Set(["none","hidden"]);function gh7(c,l){return c12.has(c)?a=>a<=0?c:l:a=>a>=1?l:c}function hh7(c,l){return a=>T0(c,l,a)}function l12(c){return typeof c=="number"?hh7:typeof c=="string"?wY1(c)?um:f4.test(c)?xe7:$h7:Array.isArray(c)?Se7:typeof c=="object"?f4.test(c)?xe7:xh7:um}function Se7(c,l){const a=[...c],e=a.length,s=c.map((o,n)=>l12(o)(o,l[n]));return o=>{for(let n=0;n<e;n++)a[n]=s[n](o);return a}}function xh7(c,l){const a={...c,...l},e={};for(const s in a)c[s]!==void 0&&l[s]!==void 0&&(e[s]=l12(c[s])(c[s],l[s]));return s=>{for(const o in e)a[o]=e[o](s);return a}}function Sh7(c,l){var a;const e=[],s={color:0,var:0,number:0};for(let o=0;o<l.values.length;o++){const n=l.types[o],r=c.indexes[n][s[n]],f=(a=c.values[r])!==null&&a!==void 0?a:0;e[o]=f,s[n]++}return e}const $h7=(c,l)=>{const a=O6.createTransformer(l),e=ca(c),s=ca(l);return e.indexes.var.length===s.indexes.var.length&&e.indexes.color.length===s.indexes.color.length&&e.indexes.number.length>=s.indexes.number.length?c12.has(c)&&!s.values.length||c12.has(l)&&!e.values.length?gh7(c,l):e6(Se7(Sh7(e,s),s.values),a):(n7(!0,`Complex values '${c}' and '${l}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),um(c,l))};function $e7(c,l,a){return typeof c=="number"&&typeof l=="number"&&typeof a=="number"?T0(c,l,a):l12(c)(c,l)}function Nh7(c,l,a){const e=[],s=a||$e7,o=c.length-1;for(let n=0;n<o;n++){let r=s(c[n],c[n+1]);if(l){const f=Array.isArray(l)?l[n]||a4:l;r=e6(f,r)}e.push(r)}return e}function Ne7(c,l,{clamp:a=!0,ease:e,mixer:s}={}){const o=c.length;if(L3(o===l.length,"Both input and output ranges must be the same length"),o===1)return()=>l[0];if(o===2&&c[0]===c[1])return()=>l[1];c[0]>c[o-1]&&(c=[...c].reverse(),l=[...l].reverse());const n=Nh7(l,e,s),r=n.length,f=m=>{let M=0;if(r>1)for(;M<c.length-2&&!(m<c[M+1]);M++);const u=aa(c[M],c[M+1],m);return n[M](u)};return a?m=>f(E6(c[0],c[o-1],m)):f}function bh7(c,l){const a=c[c.length-1];for(let e=1;e<=l;e++){const s=aa(0,l,e);c.push(T0(a,1,s))}}function wh7(c){const l=[0];return bh7(l,c.length-1),l}function kh7(c,l){return c.map(a=>a*l)}function yh7(c,l){return c.map(()=>l||me7).splice(0,c.length-1)}function dm({duration:c=300,keyframes:l,times:a,ease:e="easeInOut"}){const s=mh7(e)?e.map(ge7):ge7(e),o={done:!1,value:l[0]},n=kh7(a&&a.length===l.length?a:wh7(l),c),r=Ne7(n,l,{ease:Array.isArray(s)?s:yh7(l,s)});return{calculatedDuration:c,next:f=>(o.value=r(f),o.done=f>=c,o)}}const be7=2e4;function Ah7(c){let l=0;const a=50;let e=c.next(l);for(;!e.done&&l<be7;)l+=a,e=c.next(l);return l>=be7?1/0:l}const vh7=c=>{const l=({timestamp:a})=>c(a);return{start:()=>u0.update(l,!0),stop:()=>B3(l),now:()=>s4.isProcessing?s4.timestamp:j6.now()}},Bh7={decay:ze7,inertia:ze7,tween:dm,keyframes:dm,spring:te7},Th7=c=>c/100;class a12 extends oe7{constructor({KeyframeResolver:l=jY1,...a}){super(a),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:r}=this.options;r&&r()};const{name:e,motionValue:s,keyframes:o}=this.options,n=(r,f)=>this.onKeyframesResolved(r,f);e&&s&&s.owner?this.resolver=s.owner.resolveKeyframes(o,n,e,s):this.resolver=new l(o,n,e,s),this.resolver.scheduleResolve()}initPlayback(l){const{type:a="keyframes",repeat:e=0,repeatDelay:s=0,repeatType:o,velocity:n=0}=this.options,r=Bh7[a]||dm;let f,m;r!==dm&&typeof l[0]!="number"&&(process.env.NODE_ENV!=="production"&&L3(l.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`),f=e6(Th7,$e7(l[0],l[1])),l=[0,100]);const M=r({...this.options,keyframes:l});o==="mirror"&&(m=r({...this.options,keyframes:[...l].reverse(),velocity:-n})),M.calculatedDuration===null&&(M.calculatedDuration=Ah7(M));const{calculatedDuration:u}=M,p=u+s,d=p*(e+1)-s;return{generator:M,mirroredGenerator:m,mapPercentToKeyframes:f,calculatedDuration:u,resolvedDuration:p,totalDuration:d}}onPostResolved(){const{autoplay:l=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!l?this.pause():this.state=this.pendingPlayState}tick(l,a=!1){const{resolved:e}=this;if(!e){const{keyframes:I}=this.options;return{done:!0,value:I[I.length-1]}}const{finalKeyframe:s,generator:o,mirroredGenerator:n,mapPercentToKeyframes:r,keyframes:f,calculatedDuration:m,totalDuration:M,resolvedDuration:u}=e;if(this.startTime===null)return o.next(0);const{delay:p,repeat:d,repeatType:h,repeatDelay:x,onUpdate:$}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-M/this.speed,this.startTime)),a?this.currentTime=l:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(l-this.startTime)*this.speed;const b=this.currentTime-p*(this.speed>=0?1:-1),k=this.speed>=0?b<0:b>M;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=M);let w=this.currentTime,A=o;if(d){const I=Math.min(this.currentTime,M)/u;let V=Math.floor(I),q=I%1;!q&&I>=1&&(q=1),q===1&&V--,V=Math.min(V,d+1),!!(V%2)&&(h==="reverse"?(q=1-q,x&&(q-=x/u)):h==="mirror"&&(A=n)),w=E6(0,1,q)*u}const F=k?{done:!1,value:f[0]}:A.next(w);r&&(F.value=r(F.value));let{done:U}=F;!k&&m!==null&&(U=this.speed>=0?this.currentTime>=M:this.currentTime<=0);const Q=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return Q&&s!==void 0&&(F.value=pm(f,this.options,s)),$&&$(F.value),Q&&this.finish(),F}get duration(){const{resolved:l}=this;return l?o6(l.calculatedDuration):0}get time(){return o6(this.currentTime)}set time(l){l=s6(l),this.currentTime=l,this.holdTime!==null||this.speed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.speed)}get speed(){return this.playbackSpeed}set speed(l){const a=this.playbackSpeed!==l;this.playbackSpeed=l,a&&(this.time=o6(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:l=vh7,onPlay:a}=this.options;this.driver||(this.driver=l(s=>this.tick(s))),a&&a();const e=this.driver.now();this.holdTime!==null?this.startTime=e-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=e),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var l;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(l=this.currentTime)!==null&&l!==void 0?l:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:l}=this.options;l&&l()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(l){return this.startTime=0,this.tick(l,!0)}}const we7=c=>Array.isArray(c)&&typeof c[0]=="number";function ke7(c){return!!(!c||typeof c=="string"&&c in e12||we7(c)||Array.isArray(c)&&c.every(ke7))}const ea=([c,l,a,e])=>`cubic-bezier(${c}, ${l}, ${a}, ${e})`,e12={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ea([0,.65,.55,1]),circOut:ea([.55,0,1,.45]),backIn:ea([.31,.01,.66,-.59]),backOut:ea([.33,1.53,.69,.99])};function Fh7(c){return ye7(c)||e12.easeOut}function ye7(c){if(c)return we7(c)?ea(c):Array.isArray(c)?c.map(Fh7):e12[c]}function Dh7(c,l,a,{delay:e=0,duration:s=300,repeat:o=0,repeatType:n="loop",ease:r,times:f}={}){const m={[l]:a};f&&(m.offset=f);const M=ye7(r);return Array.isArray(M)&&(m.easing=M),c.animate(m,{delay:e,duration:s,easing:Array.isArray(M)?"linear":M,fill:"both",iterations:o+1,direction:n==="reverse"?"alternate":"normal"})}const Ph7=ee7(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),gm=10,Hh7=2e4;function Rh7(c){return c.type==="spring"||!ke7(c.ease)}function _h7(c,l){const a=new a12({...l,keyframes:c,repeat:0,delay:0,isGenerator:!0});let e={done:!1,value:c[0]};const s=[];let o=0;for(;!e.done&&o<Hh7;)e=a.sample(o),s.push(e.value),o+=gm;return{times:void 0,keyframes:s,duration:o-gm,ease:"linear"}}class Ae7 extends oe7{constructor(l){super(l);const{name:a,motionValue:e,keyframes:s}=this.options;this.resolver=new ae7(s,(o,n)=>this.onKeyframesResolved(o,n),a,e),this.resolver.scheduleResolve()}initPlayback(l,a){var e;let{duration:s=300,times:o,ease:n,type:r,motionValue:f,name:m}=this.options;if(!(!((e=f.owner)===null||e===void 0)&&e.current))return!1;if(Rh7(this.options)){const{onComplete:u,onUpdate:p,motionValue:d,...h}=this.options,x=_h7(l,h);l=x.keyframes,l.length===1&&(l[1]=l[0]),s=x.duration,o=x.times,n=x.ease,r="keyframes"}const M=Dh7(f.owner.current,m,l,{...this.options,duration:s,times:o,ease:n});return M.startTime=j6.now(),this.pendingTimeline?(M.timeline=this.pendingTimeline,this.pendingTimeline=void 0):M.onfinish=()=>{const{onComplete:u}=this.options;f.set(pm(l,this.options,a)),u&&u(),this.cancel(),this.resolveFinishedPromise()},{animation:M,duration:s,times:o,type:r,ease:n,keyframes:l}}get duration(){const{resolved:l}=this;if(!l)return 0;const{duration:a}=l;return o6(a)}get time(){const{resolved:l}=this;if(!l)return 0;const{animation:a}=l;return o6(a.currentTime||0)}set time(l){const{resolved:a}=this;if(!a)return;const{animation:e}=a;e.currentTime=s6(l)}get speed(){const{resolved:l}=this;if(!l)return 1;const{animation:a}=l;return a.playbackRate}set speed(l){const{resolved:a}=this;if(!a)return;const{animation:e}=a;e.playbackRate=l}get state(){const{resolved:l}=this;if(!l)return"idle";const{animation:a}=l;return a.playState}attachTimeline(l){if(!this._resolved)this.pendingTimeline=l;else{const{resolved:a}=this;if(!a)return a4;const{animation:e}=a;e.timeline=l,e.onfinish=null}return a4}play(){if(this.isStopped)return;const{resolved:l}=this;if(!l)return;const{animation:a}=l;a.playState==="finished"&&this.updateFinishedPromise(),a.play()}pause(){const{resolved:l}=this;if(!l)return;const{animation:a}=l;a.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:l}=this;if(!l)return;const{animation:a,keyframes:e,duration:s,type:o,ease:n,times:r}=l;if(a.playState==="idle"||a.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:M,onComplete:u,...p}=this.options,d=new a12({...p,keyframes:e,duration:s,type:o,ease:n,times:r,isGenerator:!0}),h=s6(this.time);m.setWithVelocity(d.sample(h-gm).value,d.sample(h).value,gm)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:l}=this;l&&l.animation.finish()}cancel(){const{resolved:l}=this;l&&l.animation.cancel()}static supports(l){const{motionValue:a,name:e,repeatDelay:s,repeatType:o,damping:n,type:r}=l;return Ph7()&&e&&ba7.has(e)&&a&&a.owner&&a.owner.current instanceof HTMLElement&&!a.owner.getProps().onUpdate&&!s&&o!=="mirror"&&n!==0&&r!=="inertia"}}function Eh7(c,l){let a;const e=()=>{const{currentTime:s}=l,n=(s===null?0:s.value)/100;a!==n&&c(n),a=n};return u0.update(e,!0),()=>B3(e)}const Uh7=ee7(()=>window.ScrollTimeline!==void 0);class qh7{constructor(l){this.stop=()=>this.runAll("stop"),this.animations=l.filter(Boolean)}then(l,a){return Promise.all(this.animations).then(l).catch(a)}getAll(l){return this.animations[0][l]}setAll(l,a){for(let e=0;e<this.animations.length;e++)this.animations[e][l]=a}attachTimeline(l){const a=this.animations.map(e=>{if(Uh7()&&e.attachTimeline)e.attachTimeline(l);else return e.pause(),Eh7(s=>{e.time=e.duration*s},l)});return()=>{a.forEach((e,s)=>{e&&e(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(l){this.setAll("time",l)}get speed(){return this.getAll("speed")}set speed(l){this.setAll("speed",l)}get duration(){let l=0;for(let a=0;a<this.animations.length;a++)l=Math.max(l,this.animations[a].duration);return l}runAll(l){this.animations.forEach(a=>a[l]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const s12=(c,l,a,e={},s,o,n)=>r=>{const f=EY1(e,c)||{},m=f.delay||e.delay||0;let{elapsed:M=0}=e;M=M-s6(m);let u={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:l.getVelocity(),...f,delay:-M,onUpdate:d=>{l.set(d),f.onUpdate&&f.onUpdate(d)},onComplete:()=>{r(),f.onComplete&&f.onComplete(),n&&n()},onStop:n,name:c,motionValue:l,element:o?void 0:s};Ng7(f)||(u={...u,...$g7(c,u)}),u.duration&&(u.duration=s6(u.duration)),u.repeatDelay&&(u.repeatDelay=s6(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(p=!0)),p&&!o&&l.get()!==void 0){const d=pm(u.keyframes,f);if(d!==void 0)return u0.update(()=>{u.onUpdate(d),u.onComplete()}),new qh7([])}return!o&&Ae7.supports(u)?new Ae7(u):new a12(u)};class o12{constructor(){this.subscriptions=[]}add(l){return zm(this.subscriptions,l),()=>Lm(this.subscriptions,l)}notify(l,a,e){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](l,a,e);else for(let o=0;o<s;o++){const n=this.subscriptions[o];n&&n(l,a,e)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ve7=new Set;function i12(c,l,a){c||ve7.has(l)||(console.warn(l),ve7.add(l))}const Be7=30,jh7=c=>!isNaN(parseFloat(c)),sa={current:void 0};class Te7{constructor(l,a={}){this.version="11.3.19",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,s=!0)=>{const o=j6.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(l),this.owner=a.owner}setCurrent(l){this.current=l,this.updatedAt=j6.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=jh7(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return process.env.NODE_ENV!=="production"&&i12(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",l)}on(l,a){this.events[l]||(this.events[l]=new o12);const e=this.events[l].add(a);return l==="change"?()=>{e(),u0.read(()=>{this.events.change.getSize()||this.stop()})}:e}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,a){this.passiveEffect=l,this.stopPassiveEffect=a}set(l,a=!0){!a||!this.passiveEffect?this.updateAndNotify(l,a):this.passiveEffect(l,this.updateAndNotify)}setWithVelocity(l,a,e){this.set(a),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-e}jump(l,a=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return sa.current&&sa.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const l=j6.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>Be7)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Be7);return ie7(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(l){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=l(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function z7(c,l){return new Te7(c,l)}function Oh7(c,l,a){c.hasValue(l)?c.getValue(l).set(a):c.addValue(l,z7(a))}function Wh7(c,l){const a=Mm(c,l);let{transitionEnd:e={},transition:s={},...o}=a||{};o={...o,...e};for(const n in o){const r=Zd7(o[n]);Oh7(c,n,r)}}function Fe7(c){return c.getProps()[aa7]}class Gh7 extends Te7{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(l){const a=wa7(l);if(!a)return;const e=this.counts.get(a)||0;this.counts.set(a,e+1),e===0&&(this.output.push(a),this.update());let s=!1;return()=>{if(s)return;s=!0;const o=this.counts.get(a)-1;this.counts.set(a,o),o===0&&(Lm(this.output,a),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Vh7(c){return!!(e4(c)&&c.add)}function n12(c,l){var a;if(!c.applyWillChange)return;let e=c.getValue("willChange");if(!e&&!(!((a=c.props.style)===null||a===void 0)&&a.willChange)&&(e=new Gh7("auto"),c.addValue("willChange",e)),Vh7(e))return e.add(l)}function Ih7({protectedKeys:c,needsAnimating:l},a){const e=c.hasOwnProperty(a)&&l[a]!==!0;return l[a]=!1,e}function De7(c,l,{delay:a=0,transitionOverride:e,type:s}={}){var o;let{transition:n=c.getDefaultTransition(),transitionEnd:r,...f}=l;e&&(n=e);const m=[],M=s&&c.animationState&&c.animationState.getState()[s];for(const u in f){const p=c.getValue(u,(o=c.latestValues[u])!==null&&o!==void 0?o:null),d=f[u];if(d===void 0||M&&Ih7(M,u))continue;const h={delay:a,elapsed:0,...EY1(n||{},u)};let x=!1;if(window.HandoffAppearAnimations){const b=Fe7(c);if(b){const k=window.HandoffAppearAnimations(b,u,p,u0);k!==null&&(h.elapsed=k,x=!0)}}p.start(s12(u,p,d,c.shouldReduceMotion&&_6.has(u)?{type:!1}:h,c,x,n12(c,u)));const $=p.animation;$&&m.push($)}return r&&Promise.all(m).then(()=>{u0.update(()=>{r&&Wh7(c,r)})}),m}function r12(c,l,a={}){var e;const s=Mm(c,l,a.type==="exit"?(e=c.presenceContext)===null||e===void 0?void 0:e.custom:void 0);let{transition:o=c.getDefaultTransition()||{}}=s||{};a.transitionOverride&&(o=a.transitionOverride);const n=s?()=>Promise.all(De7(c,s,a)):()=>Promise.resolve(),r=c.variantChildren&&c.variantChildren.size?(m=0)=>{const{delayChildren:M=0,staggerChildren:u,staggerDirection:p}=o;return Kh7(c,l,M+m,u,p,a)}:()=>Promise.resolve(),{when:f}=o;if(f){const[m,M]=f==="beforeChildren"?[n,r]:[r,n];return m().then(()=>M())}else return Promise.all([n(),r(a.delay)])}function Kh7(c,l,a=0,e=0,s=1,o){const n=[],r=(c.variantChildren.size-1)*e,f=s===1?(m=0)=>m*e:(m=0)=>r-m*e;return Array.from(c.variantChildren).sort(Xh7).forEach((m,M)=>{m.notify("AnimationStart",l),n.push(r12(m,l,{...o,delay:a+f(M)}).then(()=>m.notify("AnimationComplete",l)))}),Promise.all(n)}function Xh7(c,l){return c.sortNodePosition(l)}function Qh7(c,l,a={}){c.notify("AnimationStart",l);let e;if(Array.isArray(l)){const s=l.map(o=>r12(c,o,a));e=Promise.all(s)}else if(typeof l=="string")e=r12(c,l,a);else{const s=typeof l=="function"?Mm(c,l,a.custom):l;e=Promise.all(De7(c,s,a))}return e.then(()=>{c.notify("AnimationComplete",l)})}const Jh7=[...SY1].reverse(),Zh7=SY1.length;function Yh7(c){return l=>Promise.all(l.map(({animation:a,options:e})=>Qh7(c,a,e)))}function cx7(c){let l=Yh7(c),a=Pe7(),e=!0;const s=f=>(m,M)=>{var u;const p=Mm(c,M,f==="exit"?(u=c.presenceContext)===null||u===void 0?void 0:u.custom:void 0);if(p){const{transition:d,transitionEnd:h,...x}=p;m={...m,...x,...h}}return m};function o(f){l=f(c)}function n(f){const m=c.getProps(),M=c.getVariantContext(!0)||{},u=[],p=new Set;let d={},h=1/0;for(let $=0;$<Zh7;$++){const b=Jh7[$],k=a[b],w=m[b]!==void 0?m[b]:M[b],A=Il(w),F=b===f?k.isActive:null;F===!1&&(h=$);let U=w===M[b]&&w!==m[b]&&A;if(U&&e&&c.manuallyAnimateOnMount&&(U=!1),k.protectedKeys={...d},!k.isActive&&F===null||!w&&!k.prevProp||Kl(w)||typeof w=="boolean")continue;let I=lx7(k.prevProp,w)||b===f&&k.isActive&&!U&&A||$>h&&A,V=!1;const q=Array.isArray(w)?w:[w];let K=q.reduce(s(b),{});F===!1&&(K={});const{prevResolvedValues:j={}}=k,E={...j,...K},s1=f1=>{I=!0,p.has(f1)&&(V=!0,p.delete(f1)),k.needsAnimating[f1]=!0;const i1=c.getValue(f1);i1&&(i1.liveStyle=!1)};for(const f1 in E){const i1=K[f1],L1=j[f1];if(d.hasOwnProperty(f1))continue;let m1=!1;DY1(i1)&&DY1(L1)?m1=!Ra7(i1,L1):m1=i1!==L1,m1?i1!=null?s1(f1):p.add(f1):i1!==void 0&&p.has(f1)?s1(f1):k.protectedKeys[f1]=!0}k.prevProp=w,k.prevResolvedValues=K,k.isActive&&(d={...d,...K}),e&&c.blockInitialAnimation&&(I=!1),I&&(!U||V)&&u.push(...q.map(f1=>({animation:f1,options:{type:b}})))}if(p.size){const $={};p.forEach(b=>{const k=c.getBaseTarget(b),w=c.getValue(b);w&&(w.liveStyle=!0),$[b]=k??null}),u.push({animation:$})}let x=!!u.length;return e&&(m.initial===!1||m.initial===m.animate)&&!c.manuallyAnimateOnMount&&(x=!1),e=!1,x?l(u):Promise.resolve()}function r(f,m){var M;if(a[f].isActive===m)return Promise.resolve();(M=c.variantChildren)===null||M===void 0||M.forEach(p=>{var d;return(d=p.animationState)===null||d===void 0?void 0:d.setActive(f,m)}),a[f].isActive=m;const u=n(f);for(const p in a)a[p].protectedKeys={};return u}return{animateChanges:n,setActive:r,setAnimateFunction:o,getState:()=>a,reset:()=>{a=Pe7(),e=!0}}}function lx7(c,l){return typeof l=="string"?l!==c:Array.isArray(l)?!Ra7(l,c):!1}function T8(c=!1){return{isActive:c,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pe7(){return{animate:T8(!0),whileInView:T8(),whileHover:T8(),whileTap:T8(),whileDrag:T8(),whileFocus:T8(),exit:T8()}}class ax7 extends q6{constructor(l){super(l),l.animationState||(l.animationState=cx7(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();Kl(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:a}=this.node.prevProps||{};l!==a&&this.updateAnimationControlsSubscription()}unmount(){var l;this.node.animationState.reset(),(l=this.unmountControls)===null||l===void 0||l.call(this)}}let ex7=0;class sx7 extends q6{constructor(){super(...arguments),this.id=ex7++}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:a}=this.node.presenceContext,{isPresent:e}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===e)return;const s=this.node.animationState.setActive("exit",!l);a&&!l&&s.then(()=>a(this.id))}mount(){const{register:l}=this.node.presenceContext||{};l&&(this.unmount=l(this.id))}unmount(){}}const ox7={animation:{Feature:ax7},exit:{Feature:sx7}},He7=(c,l)=>Math.abs(c-l);function ix7(c,l){const a=He7(c.x,l.x),e=He7(c.y,l.y);return Math.sqrt(a**2+e**2)}class Re7{constructor(l,a,{transformPagePoint:e,contextWindow:s,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=t12(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,d=ix7(u.offset,{x:0,y:0})>=3;if(!p&&!d)return;const{point:h}=u,{timestamp:x}=s4;this.history.push({...h,timestamp:x});const{onStart:$,onMove:b}=this.handlers;p||($&&$(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,p)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=f12(p,this.transformPagePoint),u0.update(this.updatePoint,!0)},this.handlePointerUp=(u,p)=>{this.end();const{onEnd:d,onSessionEnd:h,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const $=t12(u.type==="pointercancel"?this.lastMoveEventInfo:f12(p,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,$),h&&h(u,$)},!Aa7(l))return;this.dragSnapToOrigin=o,this.handlers=a,this.transformPagePoint=e,this.contextWindow=s||window;const n=mm(l),r=f12(n,this.transformPagePoint),{point:f}=r,{timestamp:m}=s4;this.history=[{...f,timestamp:m}];const{onSessionStart:M}=a;M&&M(l,t12(r,this.history)),this.removeListeners=e6(a6(this.contextWindow,"pointermove",this.handlePointerMove),a6(this.contextWindow,"pointerup",this.handlePointerUp),a6(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),B3(this.updatePoint)}}function f12(c,l){return l?{point:l(c.point)}:c}function _e7(c,l){return{x:c.x-l.x,y:c.y-l.y}}function t12({point:c},l){return{point:c,delta:_e7(c,Ee7(l)),offset:_e7(c,nx7(l)),velocity:rx7(l,.1)}}function nx7(c){return c[0]}function Ee7(c){return c[c.length-1]}function rx7(c,l){if(c.length<2)return{x:0,y:0};let a=c.length-1,e=null;const s=Ee7(c);for(;a>=0&&(e=c[a],!(s.timestamp-e.timestamp>s6(l)));)a--;if(!e)return{x:0,y:0};const o=o6(s.timestamp-e.timestamp);if(o===0)return{x:0,y:0};const n={x:(s.x-e.x)/o,y:(s.y-e.y)/o};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}const Ue7=1e-4,fx7=1-Ue7,tx7=1+Ue7,qe7=.01,zx7=0-qe7,Lx7=0+qe7;function q4(c){return c.max-c.min}function mx7(c,l,a){return Math.abs(c-l)<=a}function je7(c,l,a,e=.5){c.origin=e,c.originPoint=T0(l.min,l.max,c.origin),c.scale=q4(a)/q4(l),c.translate=T0(a.min,a.max,c.origin)-c.originPoint,(c.scale>=fx7&&c.scale<=tx7||isNaN(c.scale))&&(c.scale=1),(c.translate>=zx7&&c.translate<=Lx7||isNaN(c.translate))&&(c.translate=0)}function oa(c,l,a,e){je7(c.x,l.x,a.x,e?e.originX:void 0),je7(c.y,l.y,a.y,e?e.originY:void 0)}function Oe7(c,l,a){c.min=a.min+l.min,c.max=c.min+q4(l)}function Mx7(c,l,a){Oe7(c.x,l.x,a.x),Oe7(c.y,l.y,a.y)}function We7(c,l,a){c.min=l.min-a.min,c.max=c.min+q4(l)}function ia(c,l,a){We7(c.x,l.x,a.x),We7(c.y,l.y,a.y)}function px7(c,{min:l,max:a},e){return l!==void 0&&c<l?c=e?T0(l,c,e.min):Math.max(c,l):a!==void 0&&c>a&&(c=e?T0(a,c,e.max):Math.min(c,a)),c}function Ge7(c,l,a){return{min:l!==void 0?c.min+l:void 0,max:a!==void 0?c.max+a-(c.max-c.min):void 0}}function Cx7(c,{top:l,left:a,bottom:e,right:s}){return{x:Ge7(c.x,a,s),y:Ge7(c.y,l,e)}}function Ve7(c,l){let a=l.min-c.min,e=l.max-c.max;return l.max-l.min<c.max-c.min&&([a,e]=[e,a]),{min:a,max:e}}function ux7(c,l){return{x:Ve7(c.x,l.x),y:Ve7(c.y,l.y)}}function dx7(c,l){let a=.5;const e=q4(c),s=q4(l);return s>e?a=aa(l.min,l.max-e,c.min):e>s&&(a=aa(c.min,c.max-s,l.min)),E6(0,1,a)}function gx7(c,l){const a={};return l.min!==void 0&&(a.min=l.min-c.min),l.max!==void 0&&(a.max=l.max-c.min),a}const z12=.35;function hx7(c=z12){return c===!1?c=0:c===!0&&(c=z12),{x:Ie7(c,"left","right"),y:Ie7(c,"top","bottom")}}function Ie7(c,l,a){return{min:Ke7(c,l),max:Ke7(c,a)}}function Ke7(c,l){return typeof c=="number"?c:c[l]||0}const Xe7=()=>({translate:0,scale:1,origin:0,originPoint:0}),L7=()=>({x:Xe7(),y:Xe7()}),Qe7=()=>({min:0,max:0}),q0=()=>({x:Qe7(),y:Qe7()});function J4(c){return[c("x"),c("y")]}function Je7({top:c,left:l,right:a,bottom:e}){return{x:{min:l,max:a},y:{min:c,max:e}}}function xx7({x:c,y:l}){return{top:l.min,right:c.max,bottom:l.max,left:c.min}}function Sx7(c,l){if(!l)return c;const a=l({x:c.left,y:c.top}),e=l({x:c.right,y:c.bottom});return{top:a.y,left:a.x,bottom:e.y,right:e.x}}function L12(c){return c===void 0||c===1}function m12({scale:c,scaleX:l,scaleY:a}){return!L12(c)||!L12(l)||!L12(a)}function F8(c){return m12(c)||Ze7(c)||c.z||c.rotate||c.rotateX||c.rotateY||c.skewX||c.skewY}function Ze7(c){return Ye7(c.x)||Ye7(c.y)}function Ye7(c){return c&&c!=="0%"}function hm(c,l,a){const e=c-a,s=l*e;return a+s}function cs7(c,l,a,e,s){return s!==void 0&&(c=hm(c,s,e)),hm(c,a,e)+l}function M12(c,l=0,a=1,e,s){c.min=cs7(c.min,l,a,e,s),c.max=cs7(c.max,l,a,e,s)}function ls7(c,{x:l,y:a}){M12(c.x,l.translate,l.scale,l.originPoint),M12(c.y,a.translate,a.scale,a.originPoint)}const as7=.999999999999,es7=1.0000000000001;function $x7(c,l,a,e=!1){const s=a.length;if(!s)return;l.x=l.y=1;let o,n;for(let r=0;r<s;r++){o=a[r],n=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(e&&o.options.layoutScroll&&o.scroll&&o!==o.root&&M7(c,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),n&&(l.x*=n.x.scale,l.y*=n.y.scale,ls7(c,n)),e&&F8(o.latestValues)&&M7(c,o.latestValues))}l.x<es7&&l.x>as7&&(l.x=1),l.y<es7&&l.y>as7&&(l.y=1)}function m7(c,l){c.min=c.min+l,c.max=c.max+l}function ss7(c,l,a,e,s=.5){const o=T0(c.min,c.max,s);M12(c,l,a,o,e)}function M7(c,l){ss7(c.x,l.x,l.scaleX,l.scale,l.originX),ss7(c.y,l.y,l.scaleY,l.scale,l.originY)}function os7(c,l){return Je7(Sx7(c.getBoundingClientRect(),l))}function Nx7(c,l,a){const e=os7(c,a),{scroll:s}=l;return s&&(m7(e.x,s.offset.x),m7(e.y,s.offset.y)),e}const is7=({current:c})=>c?c.ownerDocument.defaultView:null,bx7=new WeakMap;class wx7{constructor(l){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=q0(),this.visualElement=l}start(l,{snapToCursor:a=!1}={}){const{presenceContext:e}=this.visualElement;if(e&&e.isPresent===!1)return;const s=M=>{const{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor(mm(M,"page").point)},o=(M,u)=>{var p;const{drag:d,dragPropagation:h,onDragStart:x}=this.getProps();if(d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Fa7(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),J4(b=>{let k=this.getAxisMotionValue(b).get()||0;if(v3.test(k)){const{projection:w}=this.visualElement;if(w&&w.layout){const A=w.layout.layoutBox[b];A&&(k=q4(A)*(parseFloat(k)/100))}}this.originPoint[b]=k}),x&&u0.postRender(()=>x(M,u)),(p=this.removeWillChange)===null||p===void 0||p.call(this),this.removeWillChange=n12(this.visualElement,"transform");const{animationState:$}=this.visualElement;$&&$.setActive("whileDrag",!0)},n=(M,u)=>{const{dragPropagation:p,dragDirectionLock:d,onDirectionLock:h,onDrag:x}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:$}=u;if(d&&this.currentDirection===null){this.currentDirection=kx7($),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",u.point,$),this.updateAxis("y",u.point,$),this.visualElement.render(),x&&x(M,u)},r=(M,u)=>this.stop(M,u),f=()=>J4(M=>{var u;return this.getAnimationState(M)==="paused"&&((u=this.getAxisMotionValue(M).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Re7(l,{onSessionStart:s,onStart:o,onMove:n,onSessionEnd:r,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:is7(this.visualElement)})}stop(l,a){var e;(e=this.removeWillChange)===null||e===void 0||e.call(this);const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:o}=a;this.startAnimation(o);const{onDragEnd:n}=this.getProps();n&&u0.postRender(()=>n(l,a))}cancel(){this.isDragging=!1;const{projection:l,animationState:a}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:e}=this.getProps();!e&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(l,a,e){const{drag:s}=this.getProps();if(!e||!xm(l,s,this.currentDirection))return;const o=this.getAxisMotionValue(l);let n=this.originPoint[l]+e[l];this.constraints&&this.constraints[l]&&(n=px7(n,this.constraints[l],this.elastic[l])),o.set(n)}resolveConstraints(){var l;const{dragConstraints:a,dragElastic:e}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(l=this.visualElement.projection)===null||l===void 0?void 0:l.layout,o=this.constraints;a&&o7(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&s?this.constraints=Cx7(s.layoutBox,a):this.constraints=!1,this.elastic=hx7(e),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&J4(n=>{this.constraints!==!1&&this.getAxisMotionValue(n)&&(this.constraints[n]=gx7(s.layoutBox[n],this.constraints[n]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:a}=this.getProps();if(!l||!o7(l))return!1;const e=l.current;L3(e!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=Nx7(e,s.root,this.visualElement.getTransformPagePoint());let n=ux7(s.layout.layoutBox,o);if(a){const r=a(xx7(n));this.hasMutatedConstraints=!!r,r&&(n=Je7(r))}return n}startAnimation(l){const{drag:a,dragMomentum:e,dragElastic:s,dragTransition:o,dragSnapToOrigin:n,onDragTransitionEnd:r}=this.getProps(),f=this.constraints||{},m=J4(M=>{if(!xm(M,a,this.currentDirection))return;let u=f&&f[M]||{};n&&(u={min:0,max:0});const p=s?200:1e6,d=s?40:1e7,h={type:"inertia",velocity:e?l[M]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...o,...u};return this.startAxisValueAnimation(M,h)});return Promise.all(m).then(r)}startAxisValueAnimation(l,a){const e=this.getAxisMotionValue(l);return e.start(s12(l,e,0,a,this.visualElement,!1,n12(this.visualElement,l)))}stopAnimation(){J4(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){J4(l=>{var a;return(a=this.getAxisMotionValue(l).animation)===null||a===void 0?void 0:a.pause()})}getAnimationState(l){var a;return(a=this.getAxisMotionValue(l).animation)===null||a===void 0?void 0:a.state}getAxisMotionValue(l){const a=`_drag${l.toUpperCase()}`,e=this.visualElement.getProps(),s=e[a];return s||this.visualElement.getValue(l,(e.initial?e.initial[l]:void 0)||0)}snapToCursor(l){J4(a=>{const{drag:e}=this.getProps();if(!xm(a,e,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(a);if(s&&s.layout){const{min:n,max:r}=s.layout.layoutBox[a];o.set(l[a]-T0(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:a}=this.getProps(),{projection:e}=this.visualElement;if(!o7(a)||!e||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};J4(n=>{const r=this.getAxisMotionValue(n);if(r&&this.constraints!==!1){const f=r.get();s[n]=dx7({min:f,max:f},this.constraints[n])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",e.root&&e.root.updateScroll(),e.updateLayout(),this.resolveConstraints(),J4(n=>{if(!xm(n,l,null))return;const r=this.getAxisMotionValue(n),{min:f,max:m}=this.constraints[n];r.set(T0(f,m,s[n]))})}addListeners(){if(!this.visualElement.current)return;bx7.set(this.visualElement,this);const l=this.visualElement.current,a=a6(l,"pointerdown",f=>{const{drag:m,dragListener:M=!0}=this.getProps();m&&M&&this.start(f)}),e=()=>{const{dragConstraints:f}=this.getProps();o7(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",e);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),u0.read(e);const n=l6(window,"resize",()=>this.scalePositionWithinConstraints()),r=s.addEventListener("didUpdate",({delta:f,hasLayoutChanged:m})=>{this.isDragging&&m&&(J4(M=>{const u=this.getAxisMotionValue(M);u&&(this.originPoint[M]+=f[M].translate,u.set(u.get()+f[M].translate))}),this.visualElement.render())});return()=>{n(),a(),o(),r&&r()}}getProps(){const l=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:e=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:n=z12,dragMomentum:r=!0}=l;return{...l,drag:a,dragDirectionLock:e,dragPropagation:s,dragConstraints:o,dragElastic:n,dragMomentum:r}}}function xm(c,l,a){return(l===!0||l===c)&&(a===null||a===c)}function kx7(c,l=10){let a=null;return Math.abs(c.y)>l?a="y":Math.abs(c.x)>l&&(a="x"),a}class yx7 extends q6{constructor(l){super(l),this.removeGroupControls=a4,this.removeListeners=a4,this.controls=new wx7(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||a4}unmount(){this.removeGroupControls(),this.removeListeners()}}const ns7=c=>(l,a)=>{c&&u0.postRender(()=>c(l,a))};class Ax7 extends q6{constructor(){super(...arguments),this.removePointerDownListener=a4}onPointerDown(l){this.session=new Re7(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:is7(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:a,onPan:e,onPanEnd:s}=this.node.getProps();return{onSessionStart:ns7(l),onStart:ns7(a),onMove:e,onEnd:(o,n)=>{delete this.session,s&&u0.postRender(()=>s(o,n))}}}mount(){this.removePointerDownListener=a6(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function vx7(){const c=H.useContext(em);if(c===null)return[!0,null];const{isPresent:l,onExitComplete:a,register:e}=c,s=H.useId();H.useEffect(()=>e(s),[]);const o=H.useCallback(()=>a&&a(s),[s,a]);return!l&&a?[!1,o]:[!0]}const Sm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rs7(c,l){return l.max===l.min?0:c/(l.max-l.min)*100}const na={correct:(c,l)=>{if(!l.target)return c;if(typeof c=="string")if(u2.test(c))c=parseFloat(c);else return c;const a=rs7(c,l.target.x),e=rs7(c,l.target.y);return`${a}% ${e}%`}},Bx7={correct:(c,{treeScale:l,projectionDelta:a})=>{const e=c,s=O6.parse(c);if(s.length>5)return e;const o=O6.createTransformer(c),n=typeof s[0]!="number"?1:0,r=a.x.scale*l.x,f=a.y.scale*l.y;s[0+n]/=r,s[1+n]/=f;const m=T0(r,f,.5);return typeof s[2+n]=="number"&&(s[2+n]/=m),typeof s[3+n]=="number"&&(s[3+n]/=m),o(s)}};class Tx7 extends H.Component{componentDidMount(){const{visualElement:l,layoutGroup:a,switchLayoutGroup:e,layoutId:s}=this.props,{projection:o}=l;kd7(Fx7),o&&(a.group&&a.group.add(o),e&&e.register&&s&&e.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Sm.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:a,visualElement:e,drag:s,isPresent:o}=this.props,n=e.projection;return n&&(n.isPresent=o,s||l.layoutDependency!==a||a===void 0?n.willUpdate():this.safeToRemove(),l.isPresent!==o&&(o?n.promote():n.relegate()||u0.postRender(()=>{const r=n.getStack();(!r||!r.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),xY1.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:a,switchLayoutGroup:e}=this.props,{projection:s}=l;s&&(s.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(s),e&&e.deregister&&e.deregister(s))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function fs7(c){const[l,a]=vx7(),e=H.useContext(NY1);return z.jsx(Tx7,{...c,layoutGroup:e,switchLayoutGroup:H.useContext(sa7),isPresent:l,safeToRemove:a})}const Fx7={borderRadius:{...na,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:na,borderTopRightRadius:na,borderBottomLeftRadius:na,borderBottomRightRadius:na,boxShadow:Bx7},ts7=["TopLeft","TopRight","BottomLeft","BottomRight"],Dx7=ts7.length,zs7=c=>typeof c=="string"?parseFloat(c):c,Ls7=c=>typeof c=="number"||u2.test(c);function Px7(c,l,a,e,s,o){s?(c.opacity=T0(0,a.opacity!==void 0?a.opacity:1,Hx7(e)),c.opacityExit=T0(l.opacity!==void 0?l.opacity:1,0,Rx7(e))):o&&(c.opacity=T0(l.opacity!==void 0?l.opacity:1,a.opacity!==void 0?a.opacity:1,e));for(let n=0;n<Dx7;n++){const r=`border${ts7[n]}Radius`;let f=ms7(l,r),m=ms7(a,r);if(f===void 0&&m===void 0)continue;f||(f=0),m||(m=0),f===0||m===0||Ls7(f)===Ls7(m)?(c[r]=Math.max(T0(zs7(f),zs7(m),e),0),(v3.test(m)||v3.test(f))&&(c[r]+="%")):c[r]=m}(l.rotate||a.rotate)&&(c.rotate=T0(l.rotate||0,a.rotate||0,e))}function ms7(c,l){return c[l]!==void 0?c[l]:c.borderRadius}const Hx7=Ms7(0,.5,Ce7),Rx7=Ms7(.5,.95,a4);function Ms7(c,l,a){return e=>e<c?0:e>l?1:a(aa(c,l,e))}function ps7(c,l){c.min=l.min,c.max=l.max}function Z4(c,l){ps7(c.x,l.x),ps7(c.y,l.y)}function Cs7(c,l){c.translate=l.translate,c.scale=l.scale,c.originPoint=l.originPoint,c.origin=l.origin}function us7(c,l,a,e,s){return c-=l,c=hm(c,1/a,e),s!==void 0&&(c=hm(c,1/s,e)),c}function _x7(c,l=0,a=1,e=.5,s,o=c,n=c){if(v3.test(l)&&(l=parseFloat(l),l=T0(n.min,n.max,l/100)-n.min),typeof l!="number")return;let r=T0(o.min,o.max,e);c===o&&(r-=l),c.min=us7(c.min,l,a,r,s),c.max=us7(c.max,l,a,r,s)}function ds7(c,l,[a,e,s],o,n){_x7(c,l[a],l[e],l[s],l.scale,o,n)}const Ex7=["x","scaleX","originX"],Ux7=["y","scaleY","originY"];function gs7(c,l,a,e){ds7(c.x,l,Ex7,a?a.x:void 0,e?e.x:void 0),ds7(c.y,l,Ux7,a?a.y:void 0,e?e.y:void 0)}function hs7(c){return c.translate===0&&c.scale===1}function xs7(c){return hs7(c.x)&&hs7(c.y)}function Ss7(c,l){return c.min===l.min&&c.max===l.max}function qx7(c,l){return Ss7(c.x,l.x)&&Ss7(c.y,l.y)}function $s7(c,l){return Math.round(c.min)===Math.round(l.min)&&Math.round(c.max)===Math.round(l.max)}function Ns7(c,l){return $s7(c.x,l.x)&&$s7(c.y,l.y)}function bs7(c){return q4(c.x)/q4(c.y)}function ws7(c,l){return c.translate===l.translate&&c.scale===l.scale&&c.originPoint===l.originPoint}class jx7{constructor(){this.members=[]}add(l){zm(this.members,l),l.scheduleRender()}remove(l){if(Lm(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(l){const a=this.members.findIndex(s=>l===s);if(a===0)return!1;let e;for(let s=a;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1){e=o;break}}return e?(this.promote(e),!0):!1}promote(l,a){const e=this.lead;if(l!==e&&(this.prevLead=e,this.lead=l,l.show(),e)){e.instance&&e.scheduleRender(),l.scheduleRender(),l.resumeFrom=e,a&&(l.resumeFrom.preserveOpacity=!0),e.snapshot&&(l.snapshot=e.snapshot,l.snapshot.latestValues=e.animationValues||e.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);const{crossfade:s}=l.options;s===!1&&e.hide()}}exitAnimationComplete(){this.members.forEach(l=>{const{options:a,resumingFrom:e}=l;a.onExitComplete&&a.onExitComplete(),e&&e.options.onExitComplete&&e.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ox7(c,l,a){let e="";const s=c.x.translate/l.x,o=c.y.translate/l.y,n=(a==null?void 0:a.z)||0;if((s||o||n)&&(e=`translate3d(${s}px, ${o}px, ${n}px) `),(l.x!==1||l.y!==1)&&(e+=`scale(${1/l.x}, ${1/l.y}) `),a){const{transformPerspective:m,rotate:M,rotateX:u,rotateY:p,skewX:d,skewY:h}=a;m&&(e=`perspective(${m}px) ${e}`),M&&(e+=`rotate(${M}deg) `),u&&(e+=`rotateX(${u}deg) `),p&&(e+=`rotateY(${p}deg) `),d&&(e+=`skewX(${d}deg) `),h&&(e+=`skewY(${h}deg) `)}const r=c.x.scale*l.x,f=c.y.scale*l.y;return(r!==1||f!==1)&&(e+=`scale(${r}, ${f})`),e||"none"}const Wx7=(c,l)=>c.depth-l.depth;class Gx7{constructor(){this.children=[],this.isDirty=!1}add(l){zm(this.children,l),this.isDirty=!0}remove(l){Lm(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(Wx7),this.isDirty=!1,this.children.forEach(l)}}function Vx7(c,l){const a=j6.now(),e=({timestamp:s})=>{const o=s-a;o>=l&&(B3(e),c(o-l))};return u0.read(e,!0),()=>B3(e)}function Ix7(c){return c instanceof SVGElement&&c.tagName!=="svg"}function Kx7(c,l,a){const e=e4(c)?c:z7(c);return e.start(s12("",e,l,a)),e.animation}const D8={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ra=typeof window<"u"&&window.MotionDebug!==void 0,p12=["","X","Y","Z"],Xx7={visibility:"hidden"},ks7=1e3;let Qx7=0;function C12(c,l,a,e){const{latestValues:s}=l;s[c]&&(a[c]=s[c],l.setStaticValue(c,0),e&&(e[c]=0))}function ys7(c){if(c.hasCheckedOptimisedAppear=!0,c.root===c)return!1;const{visualElement:l}=c.options;return l?Fe7(l)?!0:c.parent&&!c.parent.hasCheckedOptimisedAppear?ys7(c.parent):!1:!1}function As7({attachResizeListener:c,defaultParent:l,measureScroll:a,checkIsScrollRoot:e,resetTransform:s}){return class{constructor(n={},r=l==null?void 0:l()){this.id=Qx7++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ra&&(D8.totalNodes=D8.resolvedTargetDeltas=D8.recalculatedProjection=0),this.nodes.forEach(Yx7),this.nodes.forEach(sS7),this.nodes.forEach(oS7),this.nodes.forEach(cS7),ra&&window.MotionDebug.record(D8)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new Gx7)}addEventListener(n,r){return this.eventHandlers.has(n)||this.eventHandlers.set(n,new o12),this.eventHandlers.get(n).add(r)}notifyListeners(n,...r){const f=this.eventHandlers.get(n);f&&f.notify(...r)}hasListeners(n){return this.eventHandlers.has(n)}mount(n,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Ix7(n),this.instance=n;const{layoutId:f,layout:m,visualElement:M}=this.options;if(M&&!M.current&&M.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(m||f)&&(this.isLayoutDirty=!0),c){let u;const p=()=>this.root.updateBlockedByResize=!1;c(n,()=>{this.root.updateBlockedByResize=!0,u&&u(),u=Vx7(p,250),Sm.hasAnimatedSinceResize&&(Sm.hasAnimatedSinceResize=!1,this.nodes.forEach(Bs7))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&M&&(f||m)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeTargetChanged:d,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||M.getDefaultTransition()||tS7,{onLayoutAnimationStart:$,onLayoutAnimationComplete:b}=M.getProps(),k=!this.targetLayout||!Ns7(this.targetLayout,h)||d,w=!p&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||p&&(k||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(u,w);const A={...EY1(x,"layout"),onPlay:$,onComplete:b};(M.shouldReduceMotion||this.options.layoutRoot)&&(A.delay=0,A.type=!1),this.startAnimation(A)}else p||Bs7(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const n=this.getStack();n&&n.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,B3(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(iS7),this.animationId++)}getTransformTemplate(){const{visualElement:n}=this.options;return n&&n.getProps().transformTemplate}willUpdate(n=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&ys7(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let M=0;M<this.path.length;M++){const u=this.path[M];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:r,layout:f}=this.options;if(r===void 0&&!f)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),n&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vs7);return}this.isUpdating||this.nodes.forEach(aS7),this.isUpdating=!1,this.nodes.forEach(eS7),this.nodes.forEach(Jx7),this.nodes.forEach(Zx7),this.clearAllSnapshots();const r=j6.now();s4.delta=E6(0,1e3/60,r-s4.timestamp),s4.timestamp=r,s4.isProcessing=!0,PY1.update.process(s4),PY1.preRender.process(s4),PY1.render.process(s4),s4.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,xY1.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(lS7),this.sharedNodes.forEach(nS7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,u0.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){u0.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const n=this.layout;this.layout=this.measure(!1),this.layoutCorrected=q0(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:r}=this.options;r&&r.notify("LayoutMeasure",this.layout.layoutBox,n?n.layoutBox:void 0)}updateScroll(n="measure"){let r=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===n&&(r=!1),r){const f=e(this.instance);this.scroll={animationId:this.root.animationId,phase:n,isRoot:f,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!s)return;const n=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,r=this.projectionDelta&&!xs7(this.projectionDelta),f=this.getTransformTemplate(),m=f?f(this.latestValues,""):void 0,M=m!==this.prevTransformTemplateValue;n&&(r||F8(this.latestValues)||M)&&(s(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(n=!0){const r=this.measurePageBox();let f=this.removeElementScroll(r);return n&&(f=this.removeTransform(f)),zS7(f),{animationId:this.root.animationId,measuredBox:r,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var n;const{visualElement:r}=this.options;if(!r)return q0();const f=r.measureViewportBox();if(!(((n=this.scroll)===null||n===void 0?void 0:n.wasRoot)||this.path.some(LS7))){const{scroll:M}=this.root;M&&(m7(f.x,M.offset.x),m7(f.y,M.offset.y))}return f}removeElementScroll(n){var r;const f=q0();if(Z4(f,n),!((r=this.scroll)===null||r===void 0)&&r.wasRoot)return f;for(let m=0;m<this.path.length;m++){const M=this.path[m],{scroll:u,options:p}=M;M!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Z4(f,n),m7(f.x,u.offset.x),m7(f.y,u.offset.y))}return f}applyTransform(n,r=!1){const f=q0();Z4(f,n);for(let m=0;m<this.path.length;m++){const M=this.path[m];!r&&M.options.layoutScroll&&M.scroll&&M!==M.root&&M7(f,{x:-M.scroll.offset.x,y:-M.scroll.offset.y}),F8(M.latestValues)&&M7(f,M.latestValues)}return F8(this.latestValues)&&M7(f,this.latestValues),f}removeTransform(n){const r=q0();Z4(r,n);for(let f=0;f<this.path.length;f++){const m=this.path[f];if(!m.instance||!F8(m.latestValues))continue;m12(m.latestValues)&&m.updateSnapshot();const M=q0(),u=m.measurePageBox();Z4(M,u),gs7(r,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,M)}return F8(this.latestValues)&&gs7(r,this.latestValues),r}setTargetDelta(n){this.targetDelta=n,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(n){this.options={...this.options,...n,crossfade:n.crossfade!==void 0?n.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==s4.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(n=!1){var r;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==f;if(!(n||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((r=this.parent)===null||r===void 0)&&r.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=s4.timestamp,!this.targetDelta&&!this.relativeTarget){const d=this.getClosestProjectingParent();d&&d.layout&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=q0(),this.relativeTargetOrigin=q0(),ia(this.relativeTargetOrigin,this.layout.layoutBox,d.layout.layoutBox),Z4(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=q0(),this.targetWithTransforms=q0()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mx7(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Z4(this.target,this.layout.layoutBox),ls7(this.target,this.targetDelta)):Z4(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const d=this.getClosestProjectingParent();d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=q0(),this.relativeTargetOrigin=q0(),ia(this.relativeTargetOrigin,this.target,d.target),Z4(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ra&&D8.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||m12(this.parent.latestValues)||Ze7(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var n;const r=this.getLead(),f=!!this.resumingFrom||this!==r;let m=!0;if((this.isProjectionDirty||!((n=this.parent)===null||n===void 0)&&n.isProjectionDirty)&&(m=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===s4.timestamp&&(m=!1),m)return;const{layout:M,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(M||u))return;Z4(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,d=this.treeScale.y;$x7(this.layoutCorrected,this.treeScale,this.path,f),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=q0());const{target:h}=r;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Cs7(this.prevProjectionDelta.x,this.projectionDelta.x),Cs7(this.prevProjectionDelta.y,this.projectionDelta.y)),oa(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==d||!ws7(this.projectionDelta.x,this.prevProjectionDelta.x)||!ws7(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),ra&&D8.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(n=!0){var r;if((r=this.options.visualElement)===null||r===void 0||r.scheduleRender(),n){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=L7(),this.projectionDelta=L7(),this.projectionDeltaWithTransform=L7()}setAnimationOrigin(n,r=!1){const f=this.snapshot,m=f?f.latestValues:{},M={...this.latestValues},u=L7();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!r;const p=q0(),d=f?f.source:void 0,h=this.layout?this.layout.source:void 0,x=d!==h,$=this.getStack(),b=!$||$.members.length<=1,k=!!(x&&!b&&this.options.crossfade===!0&&!this.path.some(fS7));this.animationProgress=0;let w;this.mixTargetDelta=A=>{const F=A/1e3;Ts7(u.x,n.x,F),Ts7(u.y,n.y,F),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ia(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),rS7(this.relativeTarget,this.relativeTargetOrigin,p,F),w&&qx7(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=q0()),Z4(w,this.relativeTarget)),x&&(this.animationValues=M,Px7(M,m,this.latestValues,F,k,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=F},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(n){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(B3(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=u0.update(()=>{Sm.hasAnimatedSinceResize=!0,this.currentAnimation=Kx7(0,ks7,{...n,onUpdate:r=>{this.mixTargetDelta(r),n.onUpdate&&n.onUpdate(r)},onComplete:()=>{n.onComplete&&n.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const n=this.getStack();n&&n.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ks7),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const n=this.getLead();let{targetWithTransforms:r,target:f,layout:m,latestValues:M}=n;if(!(!r||!f||!m)){if(this!==n&&this.layout&&m&&Rs7(this.options.animationType,this.layout.layoutBox,m.layoutBox)){f=this.target||q0();const u=q4(this.layout.layoutBox.x);f.x.min=n.target.x.min,f.x.max=f.x.min+u;const p=q4(this.layout.layoutBox.y);f.y.min=n.target.y.min,f.y.max=f.y.min+p}Z4(r,f),M7(r,M),oa(this.projectionDeltaWithTransform,this.layoutCorrected,r,M)}}registerSharedNode(n,r){this.sharedNodes.has(n)||this.sharedNodes.set(n,new jx7),this.sharedNodes.get(n).add(r);const m=r.options.initialPromotionConfig;r.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(r):void 0})}isLead(){const n=this.getStack();return n?n.lead===this:!0}getLead(){var n;const{layoutId:r}=this.options;return r?((n=this.getStack())===null||n===void 0?void 0:n.lead)||this:this}getPrevLead(){var n;const{layoutId:r}=this.options;return r?(n=this.getStack())===null||n===void 0?void 0:n.prevLead:void 0}getStack(){const{layoutId:n}=this.options;if(n)return this.root.sharedNodes.get(n)}promote({needsReset:n,transition:r,preserveFollowOpacity:f}={}){const m=this.getStack();m&&m.promote(this,f),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})}relegate(){const n=this.getStack();return n?n.relegate(this):!1}resetSkewAndRotation(){const{visualElement:n}=this.options;if(!n)return;let r=!1;const{latestValues:f}=n;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(r=!0),!r)return;const m={};f.z&&C12("z",n,m,this.animationValues);for(let M=0;M<p12.length;M++)C12(`rotate${p12[M]}`,n,m,this.animationValues),C12(`skew${p12[M]}`,n,m,this.animationValues);n.render();for(const M in m)n.setStaticValue(M,m[M]),this.animationValues&&(this.animationValues[M]=m[M]);n.scheduleRender()}getProjectionStyles(n){var r,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Xx7;const m={visibility:""},M=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=tm(n==null?void 0:n.pointerEvents)||"",m.transform=M?M(this.latestValues,""):"none",m;const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=tm(n==null?void 0:n.pointerEvents)||""),this.hasProjected&&!F8(this.latestValues)&&(x.transform=M?M({},""):"none",this.hasProjected=!1),x}const p=u.animationValues||u.latestValues;this.applyTransformsToTarget(),m.transform=Ox7(this.projectionDeltaWithTransform,this.treeScale,p),M&&(m.transform=M(p,m.transform));const{x:d,y:h}=this.projectionDelta;m.transformOrigin=`${d.origin*100}% ${h.origin*100}% 0`,u.animationValues?m.opacity=u===this?(f=(r=p.opacity)!==null&&r!==void 0?r:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:m.opacity=u===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const x in nm){if(p[x]===void 0)continue;const{correct:$,applyTo:b}=nm[x],k=m.transform==="none"?p[x]:$(p[x],u);if(b){const w=b.length;for(let A=0;A<w;A++)m[b[A]]=k}else m[x]=k}return this.options.layoutId&&(m.pointerEvents=u===this?tm(n==null?void 0:n.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(n=>{var r;return(r=n.currentAnimation)===null||r===void 0?void 0:r.stop()}),this.root.nodes.forEach(vs7),this.root.sharedNodes.clear()}}}function Jx7(c){c.updateLayout()}function Zx7(c){var l;const a=((l=c.resumeFrom)===null||l===void 0?void 0:l.snapshot)||c.snapshot;if(c.isLead()&&c.layout&&a&&c.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:s}=c.layout,{animationType:o}=c.options,n=a.source!==c.layout.source;o==="size"?J4(u=>{const p=n?a.measuredBox[u]:a.layoutBox[u],d=q4(p);p.min=e[u].min,p.max=p.min+d}):Rs7(o,a.layoutBox,e)&&J4(u=>{const p=n?a.measuredBox[u]:a.layoutBox[u],d=q4(e[u]);p.max=p.min+d,c.relativeTarget&&!c.currentAnimation&&(c.isProjectionDirty=!0,c.relativeTarget[u].max=c.relativeTarget[u].min+d)});const r=L7();oa(r,e,a.layoutBox);const f=L7();n?oa(f,c.applyTransform(s,!0),a.measuredBox):oa(f,e,a.layoutBox);const m=!xs7(r);let M=!1;if(!c.resumeFrom){const u=c.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:d}=u;if(p&&d){const h=q0();ia(h,a.layoutBox,p.layoutBox);const x=q0();ia(x,e,d.layoutBox),Ns7(h,x)||(M=!0),u.options.layoutRoot&&(c.relativeTarget=x,c.relativeTargetOrigin=h,c.relativeParent=u)}}}c.notifyListeners("didUpdate",{layout:e,snapshot:a,delta:f,layoutDelta:r,hasLayoutChanged:m,hasRelativeTargetChanged:M})}else if(c.isLead()){const{onExitComplete:e}=c.options;e&&e()}c.options.transition=void 0}function Yx7(c){ra&&D8.totalNodes++,c.parent&&(c.isProjecting()||(c.isProjectionDirty=c.parent.isProjectionDirty),c.isSharedProjectionDirty||(c.isSharedProjectionDirty=!!(c.isProjectionDirty||c.parent.isProjectionDirty||c.parent.isSharedProjectionDirty)),c.isTransformDirty||(c.isTransformDirty=c.parent.isTransformDirty))}function cS7(c){c.isProjectionDirty=c.isSharedProjectionDirty=c.isTransformDirty=!1}function lS7(c){c.clearSnapshot()}function vs7(c){c.clearMeasurements()}function aS7(c){c.isLayoutDirty=!1}function eS7(c){const{visualElement:l}=c.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),c.resetTransform()}function Bs7(c){c.finishAnimation(),c.targetDelta=c.relativeTarget=c.target=void 0,c.isProjectionDirty=!0}function sS7(c){c.resolveTargetDelta()}function oS7(c){c.calcProjection()}function iS7(c){c.resetSkewAndRotation()}function nS7(c){c.removeLeadSnapshot()}function Ts7(c,l,a){c.translate=T0(l.translate,0,a),c.scale=T0(l.scale,1,a),c.origin=l.origin,c.originPoint=l.originPoint}function Fs7(c,l,a,e){c.min=T0(l.min,a.min,e),c.max=T0(l.max,a.max,e)}function rS7(c,l,a,e){Fs7(c.x,l.x,a.x,e),Fs7(c.y,l.y,a.y,e)}function fS7(c){return c.animationValues&&c.animationValues.opacityExit!==void 0}const tS7={duration:.45,ease:[.4,0,.1,1]},Ds7=c=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(c),Ps7=Ds7("applewebkit/")&&!Ds7("chrome/")?Math.round:a4;function Hs7(c){c.min=Ps7(c.min),c.max=Ps7(c.max)}function zS7(c){Hs7(c.x),Hs7(c.y)}function Rs7(c,l,a){return c==="position"||c==="preserve-aspect"&&!mx7(bs7(l),bs7(a),.2)}function LS7(c){var l;return c!==c.root&&((l=c.scroll)===null||l===void 0?void 0:l.wasRoot)}const mS7=As7({attachResizeListener:(c,l)=>l6(c,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),u12={current:void 0},_s7=As7({measureScroll:c=>({x:c.scrollLeft,y:c.scrollTop}),defaultParent:()=>{if(!u12.current){const c=new mS7({});c.mount(window),c.setOptions({layoutScroll:!0}),u12.current=c}return u12.current},resetTransform:(c,l)=>{c.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:c=>window.getComputedStyle(c).position==="fixed"}),MS7={pan:{Feature:Ax7},drag:{Feature:yx7,ProjectionNode:_s7,MeasureLayout:fs7}},d12={current:null},Es7={current:!1};function pS7(){if(Es7.current=!0,!!gY1)if(window.matchMedia){const c=window.matchMedia("(prefers-reduced-motion)"),l=()=>d12.current=c.matches;c.addListener(l),l()}else d12.current=!1}function CS7(c,l,a){for(const e in l){const s=l[e],o=a[e];if(e4(s))c.addValue(e,s),process.env.NODE_ENV==="development"&&i12(s.version==="11.3.19",`Attempting to mix Framer Motion versions ${s.version} with 11.3.19 may not work as expected.`);else if(e4(o))c.addValue(e,z7(s,{owner:c}));else if(o!==s)if(c.hasValue(e)){const n=c.getValue(e);n.liveStyle===!0?n.jump(s):n.hasAnimated||n.set(s)}else{const n=c.getStaticValue(e);c.addValue(e,z7(n!==void 0?n:s,{owner:c}))}}for(const e in a)l[e]===void 0&&c.removeValue(e);return l}const Us7=new WeakMap,uS7=[...Ga7,f4,O6],dS7=c=>uS7.find(Wa7(c)),qs7=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],gS7=$Y1.length;let hS7=class{scrapeMotionValuesFromProps(l,a,e){return{}}constructor({parent:l,props:a,presenceContext:e,reducedMotionConfig:s,blockInitialAnimation:o,visualState:n},r={}){this.applyWillChange=!1,this.resolveKeyframes=(p,d,h,x)=>new this.KeyframeResolver(p,d,h,x,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=jY1,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,u0.render(this.render,!1,!0))};const{latestValues:f,renderState:m}=n;this.latestValues=f,this.baseTarget={...f},this.initialValues=a.initial?{...f}:{},this.renderState=m,this.parent=l,this.props=a,this.presenceContext=e,this.depth=l?l.depth+1:0,this.reducedMotionConfig=s,this.options=r,this.blockInitialAnimation=!!o,this.isControllingVariants=im(a),this.isVariantNode=na7(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:M,...u}=this.scrapeMotionValuesFromProps(a,{},this);for(const p in u){const d=u[p];f[p]!==void 0&&e4(d)&&d.set(f[p],!1)}}mount(l){this.current=l,Us7.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,e)=>this.bindToMotionValue(e,a)),Es7.current||pS7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:d12.current,process.env.NODE_ENV!=="production"&&i12(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Us7.delete(this.current),this.projection&&this.projection.unmount(),B3(this.notifyUpdate),B3(this.render),this.valueSubscriptions.forEach(l=>l()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const a=this.features[l];a&&(a.unmount(),a.isMounted=!1)}this.current=null}bindToMotionValue(l,a){const e=_6.has(l),s=a.on("change",n=>{this.latestValues[l]=n,this.props.onUpdate&&u0.preRender(this.notifyUpdate),e&&this.projection&&(this.projection.isTransformDirty=!0)}),o=a.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(l,()=>{s(),o(),a.owner&&a.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in i7){const a=i7[l];if(!a)continue;const{isEnabled:e,Feature:s}=a;if(!this.features[l]&&s&&e(this.props)&&(this.features[l]=new s(this)),this.features[l]){const o=this.features[l];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):q0()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,a){this.latestValues[l]=a}update(l,a){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let e=0;e<qs7.length;e++){const s=qs7[e];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,n=l[o];n&&(this.propEventSubscriptions[s]=this.on(s,n))}this.prevMotionValues=CS7(this,this.scrapeMotionValuesFromProps(l,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(l=!1){if(l)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(e.initial=this.props.initial),e}const a={};for(let e=0;e<gS7;e++){const s=$Y1[e],o=this.props[s];(Il(o)||o===!1)&&(a[s]=o)}return a}addVariantChild(l){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(l),()=>a.variantChildren.delete(l)}addValue(l,a){const e=this.values.get(l);a!==e&&(e&&this.removeValue(l),this.bindToMotionValue(l,a),this.values.set(l,a),this.latestValues[l]=a.get())}removeValue(l){this.values.delete(l);const a=this.valueSubscriptions.get(l);a&&(a(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,a){if(this.props.values&&this.props.values[l])return this.props.values[l];let e=this.values.get(l);return e===void 0&&a!==void 0&&(e=z7(a===null?void 0:a,{owner:this}),this.addValue(l,e)),e}readValue(l,a){var e;let s=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:(e=this.getBaseTargetFromProps(this.props,l))!==null&&e!==void 0?e:this.readValueFromInstance(this.current,l,this.options);return s!=null&&(typeof s=="string"&&(Ea7(s)||_a7(s))?s=parseFloat(s):!dS7(s)&&O6.test(a)&&(s=le7(l,a)),this.setBaseTarget(l,e4(s)?s.get():s)),e4(s)?s.get():s}setBaseTarget(l,a){this.baseTarget[l]=a}getBaseTarget(l){var a;const{initial:e}=this.props;let s;if(typeof e=="string"||typeof e=="object"){const n=FY1(this.props,e,(a=this.presenceContext)===null||a===void 0?void 0:a.custom);n&&(s=n[l])}if(e&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,l);return o!==void 0&&!e4(o)?o:this.initialValues[l]!==void 0&&s===void 0?void 0:this.baseTarget[l]}on(l,a){return this.events[l]||(this.events[l]=new o12),this.events[l].add(a)}notify(l,...a){this.events[l]&&this.events[l].notify(...a)}};class js7 extends hS7{constructor(){super(...arguments),this.KeyframeResolver=ae7}sortInstanceNodePosition(l,a){return l.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(l,a){return l.style?l.style[a]:void 0}removeValueFromRenderState(l,{vars:a,style:e}){delete a[l],delete e[l]}}function xS7(c){return window.getComputedStyle(c)}class SS7 extends js7{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=ha7}readValueFromInstance(l,a){if(_6.has(a)){const e=IY1(a);return e&&e.default||0}else{const e=xS7(l),s=(La7(a)?e.getPropertyValue(a):e[a])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(l,{transformPagePoint:a}){return os7(l,a)}build(l,a,e){yY1(l,a,e.transformTemplate)}scrapeMotionValuesFromProps(l,a,e){return TY1(l,a,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;e4(l)&&(this.childSubscription=l.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class $S7 extends js7{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=q0}getBaseTargetFromProps(l,a){return l[a]}readValueFromInstance(l,a){if(_6.has(a)){const e=IY1(a);return e&&e.default||0}return a=xa7.has(a)?a:sm(a),l.getAttribute(a)}scrapeMotionValuesFromProps(l,a,e){return $a7(l,a,e)}build(l,a,e){vY1(l,a,this.isSVGTag,e.transformTemplate)}renderInstance(l,a,e,s){Sa7(l,a,e,s)}mount(l){this.isSVGTag=BY1(l.tagName),super.mount(l)}}const NS7=(c,l)=>bY1(c)?new $S7(l):new SS7(l,{allowProjection:c!==H.Fragment}),bS7={...ox7,...dg7,...MS7,...{layout:{ProjectionNode:_s7,MeasureLayout:fs7}}},$m=bd7((c,l)=>og7(c,l,bS7,NS7));class wS7 extends t5.Component{getSnapshotBeforeUpdate(l){const a=this.props.childRef.current;if(a&&l.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=a.offsetHeight||0,e.width=a.offsetWidth||0,e.top=a.offsetTop,e.left=a.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function kS7({children:c,isPresent:l}){const a=H.useId(),e=H.useRef(null),s=H.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=H.useContext(lm);return H.useInsertionEffect(()=>{const{width:n,height:r,top:f,left:m}=s.current;if(l||!e.current||!n||!r)return;e.current.dataset.motionPopId=a;const M=document.createElement("style");return o&&(M.nonce=o),document.head.appendChild(M),M.sheet&&M.sheet.insertRule(`
1053
+ */var Xl7;function Ku7(){return Xl7||(Xl7=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var c=H,l=Il7();function a(M,u){return M===u&&(M!==0||1/M===1/u)||M!==M&&u!==u}var e=typeof Object.is=="function"?Object.is:a,s=l.useSyncExternalStore,o=c.useRef,n=c.useEffect,r=c.useMemo,f=c.useDebugValue;function m(M,u,p,d,h){var x=o(null),$;x.current===null?($={hasValue:!1,value:null},x.current=$):$=x.current;var b=r(function(){var F=!1,U,Q,I=function(j){if(!F){F=!0,U=j;var E=d(j);if(h!==void 0&&$.hasValue){var s1=$.value;if(h(s1,E))return Q=s1,s1}return Q=E,E}var f1=U,i1=Q;if(e(f1,j))return i1;var L1=d(j);return h!==void 0&&h(i1,L1)?i1:(U=j,Q=L1,L1)},V=p===void 0?null:p,q=function(){return I(u())},K=V===null?void 0:function(){return I(V())};return[q,K]},[u,p,d,h]),k=b[0],w=b[1],A=s(M,k,w);return n(function(){$.hasValue=!0,$.value=A},[A]),f(A),A}zY1.useSyncExternalStoreWithSelector=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),zY1}process.env.NODE_ENV==="production"?nY1.exports=Iu7():nY1.exports=Ku7();var Xu7=nY1.exports;const Qu7=Y7(Xu7);var Ql7={BASE_URL:"./",DEV:!1,MODE:"production",PROD:!0,SSR:!1};const{useDebugValue:Ju7}=H,{useSyncExternalStoreWithSelector:Zu7}=Qu7;let Jl7=!1;const Yu7=c=>c;function cd7(c,l=Yu7,a){(Ql7?"production":void 0)!=="production"&&a&&!Jl7&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Jl7=!0);const e=Zu7(c.subscribe,c.getState,c.getServerState||c.getInitialState,l,a);return Ju7(e),e}const Zl7=c=>{(Ql7?"production":void 0)!=="production"&&typeof c!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const l=typeof c=="function"?Wu7(c):c,a=(e,s)=>cd7(l,e,s);return Object.assign(a,l),a},Y3=(c=>c?Zl7(c):Zl7)(c=>({languages:[{name:"English",code:"US",isActive:!0},{name:"Spanish",code:"MX",isActive:!1}],copys:{languagesSupport:"Supported Languages",languagesTooltip:"Notification translations are limited to the UI languages.",previewEmailText:"Preview Email"},tabs:[{value:"Email",isActive:!0,hasIconLeft:!0,nameIconLeft:"faEnvelope",id:"templatesEmail"},{value:"In App",isActive:!1,hasIconLeft:!0,nameIconLeft:"faMessageLines",id:"templatesInApp"}],templateType:"templatesEmail",notificationTypeEmail:"general",notificationTypeInApp:"bell",subjectConfig:{title:"Cordage",to:"user@organization.com"},templatesEmail:{general:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject",id:"subject",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyTitle:{label:"Title",placeholder:"Type a title",name:"title",id:"title",value:"",toolTip:"",fieldType:"bodyTitle",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body",id:"body",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"},ctaBtnText:{label:"CTA Button Text",placeholder:"Type a CTA button text",name:"cta",id:"cta",value:"",toolTip:"",fieldType:"ctaBtnText",error:!1,errorText:""}},detailed:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject",id:"subject",value:"",toolTip:"",fieldType:"subject"},bodyTitle:{label:"Title",placeholder:"Type a title",name:"title",id:"title",value:"",toolTip:"",fieldType:"bodyTitle"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body",id:"body",value:"",toolTip:"",fieldType:"bodyContent"},ctaBtnText:{label:"CTA Button Text",placeholder:"Type a CTA button text",name:"cta",id:"cta",value:"",toolTip:"",fieldType:"ctaBtnText"}},expanded:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject",id:"subject",value:"",toolTip:"",fieldType:"subject"},bodyTitle:{label:"Title",placeholder:"Type a title",name:"title",id:"title",value:"",toolTip:"",fieldType:"bodyTitle"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body",id:"body",value:"",toolTip:"",fieldType:"bodyContent"},ctaBtnText:{label:"CTA Button Text",placeholder:"Type a CTA button text",name:"cta",id:"cta",value:"",toolTip:"",fieldType:"ctaBtnText"}}},templatesInApp:{bell:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject-inapp",id:"subject-inapp",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body-inapp",id:"body-inapp",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"}},popUp:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject-inapp",id:"subject-inapp",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body-inapp",id:"body-inapp",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"}},browser:{subject:{label:"Subject",placeholder:"Type a subject",name:"subject-inapp",id:"subject-inapp",value:"",toolTip:"",fieldType:"subject",error:!1,errorText:"This field is required"},bodyContent:{label:"Body",placeholder:"Type a body",name:"body-inapp",id:"body-inapp",value:"",toolTip:"",fieldType:"bodyContent",error:!1,errorText:"This field is required"}}},onChangeNotificationType:l=>{c(a=>({templateType:l,tabs:a.tabs.map(e=>({...e,isActive:e.id===l}))}))},onChangeLanguage:l=>{c(a=>({languages:a.languages.map(e=>({...e,isActive:e.code===l.code}))}))},setValue:(l,a,e,s)=>{c(o=>{if(s==="templatesEmail"&&a in o.templatesEmail){const n=a;return{[s]:{...o[s],[n]:{...o[s][n],[e]:{...o[s][n][e],value:l}}}}}else if(s==="templatesInApp"&&a in o.templatesInApp){const n=a;return{[s]:{...o[s],[n]:{...o[s][n],[e]:{...o[s][n][e],value:l}}}}}return o})},setState:l=>c(l),setNotificationTypeInApp:l=>{c(a=>({...a,notificationTypeInApp:l}))}}));function y8(c,l){return c!==void 0&&c===""?l:c}const YL=({previewEmailText:c,customSubjectEmail:l,stylesPreview:a,stylesContainer:e})=>{var r,f,m;const{templatesEmail:s}=Y3(),{general:o}=s,n={title:y8((r=o.bodyTitle)==null?void 0:r.value,"Body Title..."),body:y8((f=o.bodyContent)==null?void 0:f.value,"Body..."),cta:y8((m=o.ctaBtnText)==null?void 0:m.value,"CTA Button Text...")};return z.jsxs(T,{position:"relative",display:"flex",flexDirection:"column",borderRadius:"0.4rem",border:"0.1rem solid",borderColor:"#D4D4D4",width:"100%",background:"white",boxShadow:"0rem 0.1rem 0.2rem 0rem rgba(0, 0, 0, 0.05)",flex:"1",overflow:"hidden",style:{...e},children:[z.jsx(T,{display:"flex",padding:"0rem 1.6rem",alignItems:"center",borderRadius:"0.4rem 0.4rem 0rem 0rem",borderBottom:"0.1rem solid #D4D4D4",minHeight:"5.6rem",zIndex:10,backgroundColor:"#FFFFFF",children:z.jsx(U4,{variant:"bold",color:"$neutral800",children:c})}),z.jsx(T,{display:"flex",flexDirection:"row",flex:"1",position:"absolute",top:0,left:0,height:"100%",width:"100%",style:{backgroundImage:"radial-gradient(circle at 2px 2px, #E3E3E3 1px, #fafafa 0)",backgroundSize:"21px 21px",zIndex:1,borderRadius:".4rem"}}),z.jsxs(T,{display:"flex",flexDirection:"column",justifyContent:"center",borderRadius:"0.4rem 0.4rem 0rem 0rem",border:"0.1rem solid",borderColor:"#D4D4D4",borderBottom:"none",background:"white",position:"relative",bottom:0,boxShadow:"0rem 0.1rem 0.2rem 0rem rgba(0, 0, 0, 0.05)",style:{zIndex:10,display:"flex",margin:"1.6rem",marginBottom:0,...a},children:[l,z.jsx(T,{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",overflow:"hidden",children:z.jsx(T,{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",background:"#F5F5F5",style:{overflow:"scroll",height:"43rem",scrollbarWidth:"none",scale:.8},children:z.jsx(ju7,{content:{...n}})})})]})]})},ld7=({data:c,optionTabs:l,supportedLanguagesTxt:a,customContentEmail:e,headerTextEmail:s,footerTextEmail:o,previewEmailText:n,customSubjectEmail:r,textBtnSecondary:f,textBtnPrimary:m,textTooltip:M,onTabChange:u,tooltipPosition:p,previewEmail:d,onChangeNotification:h,customContentBell:x,customContentBrowser:$,isShowEmail:b,onClickPrimaryBtn:k,onClickSecondaryBtn:w,customContentPopUp:A,countryCodePrimary:F,countryCodeSecondary:U,titleSectionInApp:Q})=>z.jsxs(T,{display:"flex",padding:"1.6rem",flexDirection:"column",width:"100%",gap:"2.4rem",flex:"1 0 0",alignSelf:"stretch",children:[z.jsx(Vl,{options:l,size:"lg",isMaxWidth:!0,variantBadge:"simple",onChange:u}),z.jsxs(T,{display:"flex",padding:".8rem",flexDirection:"row",justifyContent:"left",alignItems:"center",gap:"1.6rem",borderRadius:".4rem",boxShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.05)",border:".1rem solid",borderColor:"#D4D4D4",children:[z.jsxs(T,{display:"flex",flexDirection:"row",gap:".8rem",children:[z.jsx(X4,{variant:"medium",color:"$neutral800",style:{whiteSpace:"nowrap"},children:a}),z.jsx(QL,{textTooltip:M,hasError:!0,position:p??"topCenter",style:{paddingTop:"0.4rem"}})]}),z.jsxs(T,{display:"flex",flexDirection:"row",gap:".2rem",children:[z.jsx(r0,{variant:"whiteBlue",size:"md",hasVisualLeft:!0,visualLeft:"countryFlag",density:"comfort",countryCode:U??"US",children:f,onClick:w}),z.jsx(r0,{variant:"whiteBlue",size:"md",hasVisualLeft:!0,visualLeft:"countryFlag",density:"comfort",countryCode:F??"MX",children:m,onClick:k})]})]}),z.jsx(A3,{variant:"sm"}),b&&z.jsx(YL,{customSubjectEmail:r,customContentEmail:e,headerText:s,footerText:o,previewEmailText:n}),!b&&z.jsx(qu7,{data:c,previewText:d,customContentBell:x,customContentBrowser:$,customContentPopUp:A,onChangeNotification:h,titleSectionInApp:Q})]}),LY1={primary:{backgroundColor:"$teal700",borderColor:"$teal700",span:{color:"white"},svg:{color:"white"},".smallTag":{color:"white"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800"},"&:focus":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"}},secondary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",svg:{color:"$neutral700"},span:{color:"$neutral700"},".smallTag":{color:"$neutral600"}},"&:focus":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}}},tertiary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"white",borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}}},orange:{backgroundColor:"$orange100",borderColor:"$orange400",span:{color:"$orange600"},svg:{color:"$orange600"},".smallTag":{color:"$orange500"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange500",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}}},red:{backgroundColor:"$red100",borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},".smallTag":{color:"$red500"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:focus":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}}},blue:{backgroundColor:"$blue100",borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},".smallTag":{color:"$blue600"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:focus":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}}},green:{backgroundColor:"$green100",borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},".smallTag":{color:"$green600"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:focus":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}}},yellow:{backgroundColor:"$yellow100",borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},".smallTag":{color:"$yellow600"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"},".smallTag":{color:"$yellow700"}},"&:focus":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}}},violet:{backgroundColor:"$violet100",borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},".smallTag":{color:"$violet600"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:focus":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}}},fuchsia:{backgroundColor:"$fuchsia100",borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},".smallTag":{color:"$fuchsia600"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:focus":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}}},teal:{backgroundColor:"$teal100",borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},".smallTag":{color:"$teal600"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:focus":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}}},indigo:{backgroundColor:"$indigo100",borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},".smallTag":{color:"$indigo600"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:focus":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}}},whiteBlue:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral700"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:focus":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}}}},mY1={primary:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",outline:".4rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",outline:".4rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",outline:".4rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",outline:".4rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",outline:".4rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",outline:".4rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",outline:".4rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",outline:".4rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",outline:".4rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",outline:".4rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",outline:".4rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},MY1={primary:{borderColor:"$teal700",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{borderColor:"$orange300",span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange400",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},ad7={green:{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",span:{color:"$green700"},"&:hover":{backgroundColor:"$green100",border:".1rem solid",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green300",border:".1rem solid",borderColor:"$green200",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green900"},".spanTag":{color:"$green900"}},"&:focus":{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green700"},".spanTag":{color:"$green700"}}},default:{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",span:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",border:".1rem solid",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral200",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"}},"&:focus":{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},orange:{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",span:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",border:".1rem solid",borderColor:"$orange400",span:{color:"$orange800"},".spanTag":{color:"$orange800"}},"&:active":{backgroundColor:"$orange300",border:".1rem solid",borderColor:"$orange500",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange900"},".spanTag":{color:"$orange900"}},"&:focus":{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},gray:{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",span:{color:"white"},"&:hover":{backgroundColor:"$neutral600",border:".1rem solid",borderColor:"$neutral600",span:{color:"white"}},"&:active":{backgroundColor:"$neutral700",border:".1rem solid",borderColor:"$neutral700",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}},"&:focus":{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}}},red:{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red300",span:{color:"$red700"},"&:hover":{backgroundColor:"$red200",border:".1rem solid",borderColor:"$red400",span:{color:"$red800"},".spanTag":{color:"$red800"}},"&:active":{backgroundColor:"$red300",border:".1rem solid",borderColor:"$red700",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red900"},".spanTag":{color:"$red900"}},"&:focus":{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red600",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",span:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",border:".1rem solid",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue300",border:".1rem solid",borderColor:"$red500",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue900"},".spanTag":{color:"$blue900"}},"&:focus":{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}},yellow:{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",span:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow100",border:".1rem solid",borderColor:"$yellow400",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",border:".1rem solid",borderColor:"$yellow500",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow900"},".spanTag":{color:"$yellow900"}},"&:focus":{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}}},Yl7={primary:"$teal50",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange600",red:"$red600",blue:"$celeste600",green:"$green600",yellow:"$yellow600",violet:"$violet600",fuchsia:"$fuchsia600",teal:"$teals600",indigo:"$indigo600",whiteBlue:"$blue600"},ca7={orange:"orange600",gray:"neutral300",red:"red600",blue:"celeste500",green:"green600",default:"neutral500",yellow:"yellow600"},pY1={primary:"white",secondary:"$neutral200",tertiary:"$neutral100",orange:"$orange300",red:"$red300",blue:"$celeste300",green:"$green200",yellow:"$yellow300",violet:"$violet300",fuchsia:"$fuchsia300",teal:"$teal300",indigo:"$indigo300",whiteBlue:"$blue300"},CY1={primary:"$lime600",secondary:"$neutral600",tertiary:"$neutral700",orange:"$orange500",red:"$red600",blue:"$celeste700",green:"$green200",yellow:"$yellow600",violet:"$violet600",fuchsia:"$fuchsia600",teal:"$teal600",indigo:"$indigo600",whiteBlue:"$blue600"},uY1={primary:"$neutral500",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange700",red:"$red700",blue:"$celeste700",green:"$green700",yellow:"$yellow700",violet:"$violet700",fuchsia:"$fuchsia700",teal:"$teal700",indigo:"$indigo700",whiteBlue:"$blue700"},cm={display:"inline-block",borderRadius:".4rem","& span":{fontFamily:"Satoshi-Variable",fontSize:"1.4rem",fontWeight:700,lineHeight:"2rem"}},c6={disabled:{true:{opacity:.5,pointerEvents:"none"},false:{opacity:1,pointerEvents:"auto"}},pill:{true:{borderRadius:"6.4rem"}},notActiveDisplay:{true:{"&:focus":{outlineColor:"transparent"},cursor:"default"},false:{cursor:"pointer"}}},ed7=S1("div",{...cm,border:".1rem solid",variants:{variant:LY1,disabled:c6.disabled,pill:c6.pill,notActiveDisplay:c6.notActiveDisplay}}),sd7=S1("div",{...cm,variants:{variant:mY1,disabled:c6.disabled,pill:c6.pill}}),od7=S1("div",{...cm,backgroundColor:"white",border:".1rem solid",variants:{variant:MY1,disabled:c6.disabled,pill:c6.pill}}),id7=S1("div",{...cm,variants:{variant:ad7,disabled:c6.disabled,pill:c6.pill}}),dY1=({color:c})=>z.jsx(T,{width:".8rem",height:".8rem",borderRadius:".6rem",border:".2rem solid",borderColor:c,backgroundColor:c,mr:".8rem",ml:".4rem"}),Q4=({tabIndex:c,children:l,variant:a,hasVisualLeft:e,hasVisualRight:s,visualLeft:o,visualRight:n,nameIconLeft:r,nameIconRight:f,emojiLeft:m,emojiRight:M,countryCodeLeft:u,countryCodeRight:p,codeCordageLeft:d,codeCordageRight:h,typeOphimaticLeft:x,typeOphimaticRight:$,styleOphimaticLeft:b,styleOphimaticRight:k,nameIconAvatar:w,hasAvatar:A,status:F,onClick:U,nameBadge:Q,hasAvatarBadge:I,imgAvatar:V,lettersAvatar:q,customColorAvatar:K,colorIconAvatar:j,hasNotification:E,notificationVariant:s1,notificationContent:f1,styles:i1,isDisabled:L1,pill:m1,maxWidth:d1,notificationColor:c1,iconLeftColor:o1,notificationCustomColor:N1,emojiAvatar:g1,notActiveDisplay:B1,small:C1,...A1})=>z.jsx(ed7,{"data-testid":"tag-solid",onClick:U,tabIndex:c??0,variant:a,disabled:L1??!1,pill:m1,notActiveDisplay:B1,style:i1,...A1,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"3rem",padding:A&&m1?"0 1rem 0 .4rem":A?"0 1rem 0 .8rem":"0 1.2rem",maxWidth:d1,style:{gap:A!==void 0&&A||e!==void 0&&e||s!==void 0&&s||E?".8rem":0},children:[A!==void 0&&A&&!e&&z.jsx(U0,{"data-testid":"avatar",size:"xxs",iconName:w,colorIcon:j??uY1[a],hasBadge:I,nameBadge:Q??"favorite",image:V,letters:q,backgroundColor:K||(q?CY1[a]:pY1[a]),border:!0,hasShadow:!0,emoji:g1}),e!==void 0&&e&&o&&!A&&z.jsx(T,{minWidth:"1.4rem","data-testid":"visual-left",children:z.jsx(k3,{type:o,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:r??"faShapes",color:o1?x2(o1):LY1[a].span.color}),countryCode:u,sizeCountryFlag:16,cordageFlagCode:d,sizeCordageFlag:"1.6rem",emoji:m,sizeEmoji:"1.4rem",typeOphimatic:x,styleOphimatic:b})}),F!==void 0&&F&&!e&&z.jsx(dY1,{"data-testid":"status-badge",color:Yl7[a]}),z.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:l}),C1&&z.jsx($0,{variant:"medium",className:"smallTag",children:C1}),E&&z.jsx(l4,{"data-testid":"notification",variant:s1??"dot",content:f1,color:c1??"blue",style:{minWidth:s1==="dot"?4:6},customColor:N1}),s!==void 0&&s&&n&&z.jsx(T,{minWidth:"1.4rem",children:z.jsx(k3,{"data-testid":"visual-right",type:n,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:f??"faShapes",color:LY1[a].span.color}),countryCode:p,sizeCountryFlag:16,cordageFlagCode:h,sizeCordageFlag:"1.6rem",emoji:M,sizeEmoji:"1.4rem",typeOphimatic:$,styleOphimatic:k})})]})}),nd7=({tabIndex:c,children:l,variant:a,status:e,hasVisualLeft:s,hasVisualRight:o,visualLeft:n,visualRight:r,nameIconLeft:f,nameIconRight:m,emojiLeft:M,emojiRight:u,countryCodeLeft:p,countryCodeRight:d,codeCordageLeft:h,codeCordageRight:x,onClick:$,styles:b,isDisabled:k,pill:w,maxWidth:A,hasAvatar:F,nameIconAvatar:U,colorIconAvatar:Q,imgAvatar:I,lettersAvatar:V,customColorAvatar:q,hasAvatarBadge:K,emojiAvatar:j,nameBadge:E,hasNotification:s1,notificationVariant:f1,notificationContent:i1,notificationColor:L1,notificationCustomColor:m1,...d1})=>z.jsx(sd7,{onClick:$,tabIndex:c??0,variant:a,disabled:k??!1,pill:w,style:b,...d1,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"3rem",padding:F&&w?"0 1rem 0 0.4rem":F?"0 1rem 0 .8rem":"0 1.2rem",maxWidth:A,style:{gap:F!==void 0&&F||s!==void 0&&s||o!==void 0&&o||s1?".8rem":0},children:[F!==void 0&&F&&!s&&z.jsx(U0,{size:"xxs",iconName:U,colorIcon:Q??uY1[a],hasBadge:K,nameBadge:E??"favorite",image:I,letters:V,backgroundColor:q||(V?CY1[a]:pY1[a]),border:!0,hasShadow:!0,emoji:j}),s!==void 0&&s&&n&&z.jsx(k3,{type:n,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:f??"faShapes",color:mY1[a].span.color}),countryCode:p,sizeCountryFlag:16,cordageFlagCode:h,sizeCordageFlag:"1.6rem",emoji:M,sizeEmoji:"1.4rem"}),e!==void 0&&e&&!s&&z.jsx(dY1,{color:Yl7[a]}),z.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:l}),o!==void 0&&o&&r&&z.jsx(T,{minWidth:"1.4rem",children:z.jsx(k3,{type:r,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:m??"faShapes",color:mY1[a].span.color}),countryCode:d,sizeCountryFlag:16,cordageFlagCode:x,sizeCordageFlag:"1.6rem",emoji:u,sizeEmoji:"1.4rem"})}),s1&&z.jsx(l4,{variant:f1??"dot",content:i1,color:L1??"blue",style:{minWidth:f1==="dot"?4:6},customColor:m1})]})}),rd7=({tabIndex:c,children:l,hasVisualLeft:a,hasVisualRight:e,visualLeft:s,visualRight:o,nameIconLeft:n,nameIconRight:r,emojiLeft:f,emojiRight:m,countryCodeLeft:M,countryCodeRight:u,codeCordageLeft:p,codeCordageRight:d,nameIconAvatar:h,hasAvatar:x,lettersAvatar:$,customColorAvatar:b,colorIconAvatar:k,status:w,onClick:A,nameBadge:F,hasAvatarBadge:U,imgAvatar:Q,styles:I,isDisabled:V,pill:q,maxWidth:K,variant:j,hasNotification:E,notificationVariant:s1,notificationContent:f1,notificationColor:i1,notificationCustomColor:L1,emojiAvatar:m1,...d1})=>z.jsx(od7,{onClick:A,tabIndex:c??0,variant:j,disabled:V??!1,pill:q,style:I,...d1,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"3rem",padding:x&&q?"0 1rem 0 0.4rem":x?"0 1rem 0 .8rem":"0 1.2rem",maxWidth:K,style:{gap:x!==void 0&&x||a!==void 0&&a||e!==void 0&&e?".8rem":0},children:[x!==void 0&&x&&!a&&z.jsx(U0,{size:"xxs",iconName:h,colorIcon:k??uY1[j],hasBadge:U,nameBadge:F??"favorite",image:Q,letters:$,backgroundColor:b||($?CY1[j]:pY1[j]),border:!0,hasShadow:!0,emoji:m1}),a!==void 0&&a&&s&&!x&&z.jsx(k3,{type:s,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:n??"faShapes",color:MY1[j].span.color}),countryCode:M,sizeCountryFlag:16,cordageFlagCode:p,sizeCordageFlag:"1.6rem",emoji:f,sizeEmoji:"1.4rem"}),w!==void 0&&w&&!a&&z.jsx(dY1,{color:"teals.5"}),z.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:l}),E&&z.jsx(l4,{variant:s1||"dot",content:f1,color:i1||"blue",style:{minWidth:s1==="dot"?4:6},customColor:L1}),e!==void 0&&e&&o&&z.jsx(T,{minWidth:"1.4rem",children:z.jsx(k3,{type:o,componentIcon:z.jsx(h2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:r??"faShapes",color:MY1[j].span.color}),countryCode:u,sizeCountryFlag:16,cordageFlagCode:d,sizeCordageFlag:"1.6rem",emoji:m,sizeEmoji:"1.4rem"})})]})}),fd7=({tabIndex:c,children:l,variant:a,onClick:e,hasNotification:s,hasNotificationRight:o,styles:n,isDisabled:r,pill:f,maxWidth:m,...M})=>z.jsx(id7,{onClick:e,tabIndex:c||0,variant:a,disabled:r||!1,pill:f,style:n,...M,children:z.jsxs(T,{display:"flex",flexDirection:"row",alignItems:"center",height:"2.4rem",padding:"0 1rem",maxWidth:m,style:{gap:".3rem"},children:[s&&z.jsx(h2,{name:"faCircle",variant:"solid",color:s0[ca7[a]],paddingIcon:"sm"}),z.jsx("span",{children:l}),o&&z.jsx(h2,{name:"faCircle",variant:"solid",color:s0[ca7[a]],paddingIcon:"sm"})]})}),lm=H.createContext({transformPagePoint:c=>c,isStatic:!1,reducedMotion:"never"}),am=H.createContext({}),em=H.createContext(null),gY1=typeof window<"u",hY1=gY1?H.useLayoutEffect:H.useEffect,la7=H.createContext({strict:!1}),sm=c=>c.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),aa7="data-"+sm("framerAppearId"),td7={skipAnimations:!1,useManualTiming:!1};function zd7(c){let l=new Set,a=new Set,e=!1,s=!1;const o=new WeakSet;let n={delta:0,timestamp:0,isProcessing:!1};function r(m){o.has(m)&&(f.schedule(m),c()),m(n)}const f={schedule:(m,M=!1,u=!1)=>{const d=u&&e?l:a;return M&&o.add(m),d.has(m)||d.add(m),m},cancel:m=>{a.delete(m),o.delete(m)},process:m=>{if(n=m,e){s=!0;return}e=!0,[l,a]=[a,l],a.clear(),l.forEach(r),e=!1,s&&(s=!1,f.process(m))}};return f}const om=["read","resolveKeyframes","update","preRender","render","postRender"],Ld7=40;function ea7(c,l){let a=!1,e=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>a=!0,n=om.reduce((b,k)=>(b[k]=zd7(o),b),{}),{read:r,resolveKeyframes:f,update:m,preRender:M,render:u,postRender:p}=n,d=()=>{const b=performance.now();a=!1,s.delta=e?1e3/60:Math.max(Math.min(b-s.timestamp,Ld7),1),s.timestamp=b,s.isProcessing=!0,r.process(s),f.process(s),m.process(s),M.process(s),u.process(s),p.process(s),s.isProcessing=!1,a&&l&&(e=!1,c(d))},h=()=>{a=!0,e=!0,s.isProcessing||c(d)};return{schedule:om.reduce((b,k)=>{const w=n[k];return b[k]=(A,F=!1,U=!1)=>(a||h(),w.schedule(A,F,U)),b},{}),cancel:b=>{for(let k=0;k<om.length;k++)n[om[k]].cancel(b)},state:s,steps:n}}const{schedule:xY1,cancel:eK7}=ea7(queueMicrotask,!1);function o7(c){return c&&typeof c=="object"&&Object.prototype.hasOwnProperty.call(c,"current")}const sa7=H.createContext({});let oa7=!1;function md7(c,l,a,e,s){const{visualElement:o}=H.useContext(am),n=H.useContext(la7),r=H.useContext(em),f=H.useContext(lm).reducedMotion,m=H.useRef();e=e||n.renderer,!m.current&&e&&(m.current=e(c,{visualState:l,parent:o,props:a,presenceContext:r,blockInitialAnimation:r?r.initial===!1:!1,reducedMotionConfig:f}));const M=m.current,u=H.useContext(sa7);M&&!M.projection&&s&&(M.type==="html"||M.type==="svg")&&pd7(m.current,a,s,u),H.useInsertionEffect(()=>{M&&M.update(a,r)});const p=H.useRef(!!(a[aa7]&&!window.HandoffComplete));return hY1(()=>{M&&(M.updateFeatures(),xY1.render(M.render),p.current&&M.animationState&&M.animationState.animateChanges())}),H.useEffect(()=>{M&&(!p.current&&M.animationState&&M.animationState.animateChanges(),p.current&&(p.current=!1,oa7||(oa7=!0,queueMicrotask(Md7))))}),M}function Md7(){window.HandoffComplete=!0}function pd7(c,l,a,e){const{layoutId:s,layout:o,drag:n,dragConstraints:r,layoutScroll:f,layoutRoot:m}=l;c.projection=new a(c.latestValues,l["data-framer-portal-id"]?void 0:ia7(c.parent)),c.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!n||r&&o7(r),visualElement:c,animationType:typeof o=="string"?o:"both",initialPromotionConfig:e,layoutScroll:f,layoutRoot:m})}function ia7(c){if(c)return c.options.allowProjection!==!1?c.projection:ia7(c.parent)}function Cd7(c,l,a){return H.useCallback(e=>{e&&c.mount&&c.mount(e),l&&(e?l.mount(e):l.unmount()),a&&(typeof a=="function"?a(e):o7(a)&&(a.current=e))},[l])}function Il(c){return typeof c=="string"||Array.isArray(c)}function Kl(c){return c!==null&&typeof c=="object"&&typeof c.start=="function"}const SY1=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],$Y1=["initial",...SY1];function im(c){return Kl(c.animate)||$Y1.some(l=>Il(c[l]))}function na7(c){return!!(im(c)||c.variants)}function ud7(c,l){if(im(c)){const{initial:a,animate:e}=c;return{initial:a===!1||Il(a)?a:void 0,animate:Il(e)?e:void 0}}return c.inherit!==!1?l:{}}function dd7(c){const{initial:l,animate:a}=ud7(c,H.useContext(am));return H.useMemo(()=>({initial:l,animate:a}),[ra7(l),ra7(a)])}function ra7(c){return Array.isArray(c)?c.join(" "):c}const fa7={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},i7={};for(const c in fa7)i7[c]={isEnabled:l=>fa7[c].some(a=>!!l[a])};function gd7(c){for(const l in c)i7[l]={...i7[l],...c[l]}}const NY1=H.createContext({}),hd7=Symbol.for("motionComponentSymbol"),a4=c=>c;let n7=a4,L3=a4;process.env.NODE_ENV!=="production"&&(n7=(c,l)=>{!c&&typeof console<"u"&&console.warn(l)},L3=(c,l)=>{if(!c)throw new Error(l)});function xd7({preloadedFeatures:c,createVisualElement:l,useRender:a,useVisualState:e,Component:s}){c&&gd7(c);function o(r,f){let m;const M={...H.useContext(lm),...r,layoutId:Sd7(r)},{isStatic:u}=M,p=dd7(r),d=e(r,u);if(!u&&gY1){$d7(M,c);const h=Nd7(M);m=h.MeasureLayout,p.visualElement=md7(s,d,M,l,h.ProjectionNode)}return z.jsxs(am.Provider,{value:p,children:[m&&p.visualElement?z.jsx(m,{visualElement:p.visualElement,...M}):null,a(s,r,Cd7(d,p.visualElement,f),d,u,p.visualElement)]})}const n=H.forwardRef(o);return n[hd7]=s,n}function Sd7({layoutId:c}){const l=H.useContext(NY1).id;return l&&c!==void 0?l+"-"+c:c}function $d7(c,l){const a=H.useContext(la7).strict;if(process.env.NODE_ENV!=="production"&&l&&a){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";c.ignoreStrict?n7(!1,e):L3(!1,e)}}function Nd7(c){const{drag:l,layout:a}=i7;if(!l&&!a)return{};const e={...l,...a};return{MeasureLayout:l!=null&&l.isEnabled(c)||a!=null&&a.isEnabled(c)?e.MeasureLayout:void 0,ProjectionNode:e.ProjectionNode}}function bd7(c){function l(e,s={}){return xd7(c(e,s))}if(typeof Proxy>"u")return l;const a=new Map;return new Proxy(l,{get:(e,s)=>(a.has(s)||a.set(s,l(s)),a.get(s))})}const wd7=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function bY1(c){return typeof c!="string"||c.includes("-")?!1:!!(wd7.indexOf(c)>-1||/[A-Z]/u.test(c))}const nm={};function kd7(c){Object.assign(nm,c)}const Xl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_6=new Set(Xl);function ta7(c,{layout:l,layoutId:a}){return _6.has(c)||c.startsWith("origin")||(l||a!==void 0)&&(!!nm[c]||c==="opacity")}const e4=c=>!!(c&&c.getVelocity),yd7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ad7=Xl.length;function vd7(c,l,a){let e="";for(let s=0;s<Ad7;s++){const o=Xl[s];if(c[o]!==void 0){const n=yd7[o]||o;e+=`${n}(${c[o]}) `}}return e=e.trim(),a?e=a(c,l?"":e):l&&(e="none"),e}const za7=c=>l=>typeof l=="string"&&l.startsWith(c),La7=za7("--"),Bd7=za7("var(--"),wY1=c=>Bd7(c)?Td7.test(c.split("/*")[0].trim()):!1,Td7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Fd7=(c,l)=>l&&typeof c=="number"?l.transform(c):c,E6=(c,l,a)=>a>l?l:a<c?c:a,r7={test:c=>typeof c=="number",parse:parseFloat,transform:c=>c},Ql={...r7,transform:c=>E6(0,1,c)},rm={...r7,default:1},Jl=c=>Math.round(c*1e5)/1e5,kY1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Dd7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Pd7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Zl(c){return typeof c=="string"}function Hd7(c){return c==null}const Yl=c=>({test:l=>Zl(l)&&l.endsWith(c)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${c}`}),U6=Yl("deg"),v3=Yl("%"),u2=Yl("px"),Rd7=Yl("vh"),_d7=Yl("vw"),ma7={...v3,parse:c=>v3.parse(c)/100,transform:c=>v3.transform(c*100)},Ma7={...r7,transform:Math.round},pa7={borderWidth:u2,borderTopWidth:u2,borderRightWidth:u2,borderBottomWidth:u2,borderLeftWidth:u2,borderRadius:u2,radius:u2,borderTopLeftRadius:u2,borderTopRightRadius:u2,borderBottomRightRadius:u2,borderBottomLeftRadius:u2,width:u2,maxWidth:u2,height:u2,maxHeight:u2,size:u2,top:u2,right:u2,bottom:u2,left:u2,padding:u2,paddingTop:u2,paddingRight:u2,paddingBottom:u2,paddingLeft:u2,margin:u2,marginTop:u2,marginRight:u2,marginBottom:u2,marginLeft:u2,rotate:U6,rotateX:U6,rotateY:U6,rotateZ:U6,scale:rm,scaleX:rm,scaleY:rm,scaleZ:rm,skew:U6,skewX:U6,skewY:U6,distance:u2,translateX:u2,translateY:u2,translateZ:u2,x:u2,y:u2,z:u2,perspective:u2,transformPerspective:u2,opacity:Ql,originX:ma7,originY:ma7,originZ:u2,zIndex:Ma7,backgroundPositionX:u2,backgroundPositionY:u2,fillOpacity:Ql,strokeOpacity:Ql,numOctaves:Ma7};function yY1(c,l,a){const{style:e,vars:s,transform:o,transformOrigin:n}=c;let r=!1,f=!1,m=!0;for(const M in l){const u=l[M];if(La7(M)){s[M]=u;continue}const p=pa7[M],d=Fd7(u,p);if(_6.has(M)){if(r=!0,o[M]=d,!m)continue;u!==(p.default||0)&&(m=!1)}else M.startsWith("origin")?(f=!0,n[M]=d):e[M]=d}if(l.transform||(r||a?e.transform=vd7(c.transform,m,a):e.transform&&(e.transform="none")),f){const{originX:M="50%",originY:u="50%",originZ:p=0}=n;e.transformOrigin=`${M} ${u} ${p}`}}const AY1=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ca7(c,l,a){for(const e in l)!e4(l[e])&&!ta7(e,a)&&(c[e]=l[e])}function Ed7({transformTemplate:c},l){return H.useMemo(()=>{const a=AY1();return yY1(a,l,c),Object.assign({},a.vars,a.style)},[l])}function Ud7(c,l){const a=c.style||{},e={};return Ca7(e,a,c),Object.assign(e,Ed7(c,l)),e}function qd7(c,l){const a={},e=Ud7(c,l);return c.drag&&c.dragListener!==!1&&(a.draggable=!1,e.userSelect=e.WebkitUserSelect=e.WebkitTouchCallout="none",e.touchAction=c.drag===!0?"none":`pan-${c.drag==="x"?"y":"x"}`),c.tabIndex===void 0&&(c.onTap||c.onTapStart||c.whileTap)&&(a.tabIndex=0),a.style=e,a}const jd7=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function fm(c){return c.startsWith("while")||c.startsWith("drag")&&c!=="draggable"||c.startsWith("layout")||c.startsWith("onTap")||c.startsWith("onPan")||c.startsWith("onLayout")||jd7.has(c)}let ua7=c=>!fm(c);function Od7(c){c&&(ua7=l=>l.startsWith("on")?!fm(l):c(l))}try{Od7(require("@emotion/is-prop-valid").default)}catch{}function Wd7(c,l,a){const e={};for(const s in c)s==="values"&&typeof c.values=="object"||(ua7(s)||a===!0&&fm(s)||!l&&!fm(s)||c.draggable&&s.startsWith("onDrag"))&&(e[s]=c[s]);return e}function da7(c,l,a){return typeof c=="string"?c:u2.transform(l+a*c)}function Gd7(c,l,a){const e=da7(l,c.x,c.width),s=da7(a,c.y,c.height);return`${e} ${s}`}const Vd7={offset:"stroke-dashoffset",array:"stroke-dasharray"},Id7={offset:"strokeDashoffset",array:"strokeDasharray"};function Kd7(c,l,a=1,e=0,s=!0){c.pathLength=1;const o=s?Vd7:Id7;c[o.offset]=u2.transform(-e);const n=u2.transform(l),r=u2.transform(a);c[o.array]=`${n} ${r}`}function vY1(c,{attrX:l,attrY:a,attrScale:e,originX:s,originY:o,pathLength:n,pathSpacing:r=1,pathOffset:f=0,...m},M,u){if(yY1(c,m,u),M){c.style.viewBox&&(c.attrs.viewBox=c.style.viewBox);return}c.attrs=c.style,c.style={};const{attrs:p,style:d,dimensions:h}=c;p.transform&&(h&&(d.transform=p.transform),delete p.transform),h&&(s!==void 0||o!==void 0||d.transform)&&(d.transformOrigin=Gd7(h,s!==void 0?s:.5,o!==void 0?o:.5)),l!==void 0&&(p.x=l),a!==void 0&&(p.y=a),e!==void 0&&(p.scale=e),n!==void 0&&Kd7(p,n,r,f,!1)}const ga7=()=>({...AY1(),attrs:{}}),BY1=c=>typeof c=="string"&&c.toLowerCase()==="svg";function Xd7(c,l,a,e){const s=H.useMemo(()=>{const o=ga7();return vY1(o,l,BY1(e),c.transformTemplate),{...o.attrs,style:{...o.style}}},[l]);if(c.style){const o={};Ca7(o,c.style,c),s.style={...o,...s.style}}return s}function Qd7(c=!1){return(a,e,s,{latestValues:o},n)=>{const f=(bY1(a)?Xd7:qd7)(e,o,n,a),m=Wd7(e,typeof a=="string",c),M=a!==H.Fragment?{...m,...f,ref:s}:{},{children:u}=e,p=H.useMemo(()=>e4(u)?u.get():u,[u]);return H.createElement(a,{...M,children:p})}}function ha7(c,{style:l,vars:a},e,s){Object.assign(c.style,l,s&&s.getProjectionStyles(e));for(const o in a)c.style.setProperty(o,a[o])}const xa7=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Sa7(c,l,a,e){ha7(c,l,void 0,e);for(const s in l.attrs)c.setAttribute(xa7.has(s)?s:sm(s),l.attrs[s])}function TY1(c,l,a){var e;const{style:s}=c,o={};for(const n in s)(e4(s[n])||l.style&&e4(l.style[n])||ta7(n,c)||((e=a==null?void 0:a.getValue(n))===null||e===void 0?void 0:e.liveStyle)!==void 0)&&(o[n]=s[n]);return a&&s&&typeof s.willChange=="string"&&(a.applyWillChange=!1),o}function $a7(c,l,a){const e=TY1(c,l,a);for(const s in c)if(e4(c[s])||e4(l[s])){const o=Xl.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;e[o]=c[s]}return e}function Na7(c){const l=[{},{}];return c==null||c.values.forEach((a,e)=>{l[0][e]=a.get(),l[1][e]=a.getVelocity()}),l}function FY1(c,l,a,e){if(typeof l=="function"){const[s,o]=Na7(e);l=l(a!==void 0?a:c.custom,s,o)}if(typeof l=="string"&&(l=c.variants&&c.variants[l]),typeof l=="function"){const[s,o]=Na7(e);l=l(a!==void 0?a:c.custom,s,o)}return l}function A8(c){const l=H.useRef(null);return l.current===null&&(l.current=c()),l.current}const DY1=c=>Array.isArray(c),Jd7=c=>!!(c&&typeof c=="object"&&c.mix&&c.toValue),Zd7=c=>DY1(c)?c[c.length-1]||0:c;function tm(c){const l=e4(c)?c.get():c;return Jd7(l)?l.toValue():l}const ba7=new Set(["opacity","clipPath","filter","transform"]);function wa7(c){if(_6.has(c))return"transform";if(ba7.has(c))return sm(c)}function zm(c,l){c.indexOf(l)===-1&&c.push(l)}function Lm(c,l){const a=c.indexOf(l);a>-1&&c.splice(a,1)}function Yd7([...c],l,a){const e=l<0?c.length+l:l;if(e>=0&&e<c.length){const s=a<0?c.length+a:a,[o]=c.splice(l,1);c.splice(s,0,o)}return c}function cg7({applyWillChange:c=!1,scrapeMotionValuesFromProps:l,createRenderState:a,onMount:e},s,o,n,r){const f={latestValues:ag7(s,o,n,r?!1:c,l),renderState:a()};return e&&(f.mount=m=>e(s,m,f)),f}const ka7=c=>(l,a)=>{const e=H.useContext(am),s=H.useContext(em),o=()=>cg7(c,l,e,s,a);return a?o():A8(o)};function lg7(c,l){const a=wa7(l);a&&zm(c,a)}function ya7(c,l,a){const e=Array.isArray(l)?l:[l];for(let s=0;s<e.length;s++){const o=FY1(c,e[s]);if(o){const{transitionEnd:n,transition:r,...f}=o;a(f,n)}}}function ag7(c,l,a,e,s){var o;const n={},r=[],f=e&&((o=c.style)===null||o===void 0?void 0:o.willChange)===void 0,m=s(c,{});for(const $ in m)n[$]=tm(m[$]);let{initial:M,animate:u}=c;const p=im(c),d=na7(c);l&&d&&!p&&c.inherit!==!1&&(M===void 0&&(M=l.initial),u===void 0&&(u=l.animate));let h=a?a.initial===!1:!1;h=h||M===!1;const x=h?u:M;return x&&typeof x!="boolean"&&!Kl(x)&&ya7(c,x,($,b)=>{for(const k in $){let w=$[k];if(Array.isArray(w)){const A=h?w.length-1:0;w=w[A]}w!==null&&(n[k]=w)}for(const k in b)n[k]=b[k]}),f&&(u&&M!==!1&&!Kl(u)&&ya7(c,u,$=>{for(const b in $)lg7(r,b)}),r.length&&(n.willChange=r.join(","))),n}const{schedule:u0,cancel:B3,state:s4,steps:PY1}=ea7(typeof requestAnimationFrame<"u"?requestAnimationFrame:a4,!0),eg7={useVisualState:ka7({scrapeMotionValuesFromProps:$a7,createRenderState:ga7,onMount:(c,l,{renderState:a,latestValues:e})=>{u0.read(()=>{try{a.dimensions=typeof l.getBBox=="function"?l.getBBox():l.getBoundingClientRect()}catch{a.dimensions={x:0,y:0,width:0,height:0}}}),u0.render(()=>{vY1(a,e,BY1(l.tagName),c.transformTemplate),Sa7(l,a)})}})},sg7={useVisualState:ka7({applyWillChange:!0,scrapeMotionValuesFromProps:TY1,createRenderState:AY1})};function og7(c,{forwardMotionProps:l=!1},a,e){return{...bY1(c)?eg7:sg7,preloadedFeatures:a,useRender:Qd7(l),createVisualElement:e,Component:c}}function l6(c,l,a,e={passive:!0}){return c.addEventListener(l,a,e),()=>c.removeEventListener(l,a)}const Aa7=c=>c.pointerType==="mouse"?typeof c.button!="number"||c.button<=0:c.isPrimary!==!1;function mm(c,l="page"){return{point:{x:c[`${l}X`],y:c[`${l}Y`]}}}const ig7=c=>l=>Aa7(l)&&c(l,mm(l));function a6(c,l,a,e){return l6(c,l,ig7(a),e)}const ng7=(c,l)=>a=>l(c(a)),e6=(...c)=>c.reduce(ng7);function va7(c){let l=null;return()=>{const a=()=>{l=null};return l===null?(l=c,a):!1}}const Ba7=va7("dragHorizontal"),Ta7=va7("dragVertical");function Fa7(c){let l=!1;if(c==="y")l=Ta7();else if(c==="x")l=Ba7();else{const a=Ba7(),e=Ta7();a&&e?l=()=>{a(),e()}:(a&&a(),e&&e())}return l}function Da7(){const c=Fa7(!0);return c?(c(),!1):!0}class q6{constructor(l){this.isMounted=!1,this.node=l}update(){}}function Pa7(c,l){const a=l?"pointerenter":"pointerleave",e=l?"onHoverStart":"onHoverEnd",s=(o,n)=>{if(o.pointerType==="touch"||Da7())return;const r=c.getProps();c.animationState&&r.whileHover&&c.animationState.setActive("whileHover",l);const f=r[e];f&&u0.postRender(()=>f(o,n))};return a6(c.current,a,s,{passive:!c.getProps()[e]})}class rg7 extends q6{mount(){this.unmount=e6(Pa7(this.node,!0),Pa7(this.node,!1))}unmount(){}}class fg7 extends q6{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=e6(l6(this.node.current,"focus",()=>this.onFocus()),l6(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ha7=(c,l)=>l?c===l?!0:Ha7(c,l.parentElement):!1;function HY1(c,l){if(!l)return;const a=new PointerEvent("pointer"+c);l(a,mm(a))}class tg7 extends q6{constructor(){super(...arguments),this.removeStartListeners=a4,this.removeEndListeners=a4,this.removeAccessibleListeners=a4,this.startPointerPress=(l,a)=>{if(this.isPressing)return;this.removeEndListeners();const e=this.node.getProps(),o=a6(window,"pointerup",(r,f)=>{if(!this.checkPressEnd())return;const{onTap:m,onTapCancel:M,globalTapTarget:u}=this.node.getProps(),p=!u&&!Ha7(this.node.current,r.target)?M:m;p&&u0.update(()=>p(r,f))},{passive:!(e.onTap||e.onPointerUp)}),n=a6(window,"pointercancel",(r,f)=>this.cancelPress(r,f),{passive:!(e.onTapCancel||e.onPointerCancel)});this.removeEndListeners=e6(o,n),this.startPress(l,a)},this.startAccessiblePress=()=>{const l=o=>{if(o.key!=="Enter"||this.isPressing)return;const n=r=>{r.key!=="Enter"||!this.checkPressEnd()||HY1("up",(f,m)=>{const{onTap:M}=this.node.getProps();M&&u0.postRender(()=>M(f,m))})};this.removeEndListeners(),this.removeEndListeners=l6(this.node.current,"keyup",n),HY1("down",(r,f)=>{this.startPress(r,f)})},a=l6(this.node.current,"keydown",l),e=()=>{this.isPressing&&HY1("cancel",(o,n)=>this.cancelPress(o,n))},s=l6(this.node.current,"blur",e);this.removeAccessibleListeners=e6(a,s)}}startPress(l,a){this.isPressing=!0;const{onTapStart:e,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),e&&u0.postRender(()=>e(l,a))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Da7()}cancelPress(l,a){if(!this.checkPressEnd())return;const{onTapCancel:e}=this.node.getProps();e&&u0.postRender(()=>e(l,a))}mount(){const l=this.node.getProps(),a=a6(l.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(l.onTapStart||l.onPointerStart)}),e=l6(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=e6(a,e)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const RY1=new WeakMap,_Y1=new WeakMap,zg7=c=>{const l=RY1.get(c.target);l&&l(c)},Lg7=c=>{c.forEach(zg7)};function mg7({root:c,...l}){const a=c||document;_Y1.has(a)||_Y1.set(a,{});const e=_Y1.get(a),s=JSON.stringify(l);return e[s]||(e[s]=new IntersectionObserver(Lg7,{root:c,...l})),e[s]}function Mg7(c,l,a){const e=mg7(l);return RY1.set(c,a),e.observe(c),()=>{RY1.delete(c),e.unobserve(c)}}const pg7={some:0,all:1};class Cg7 extends q6{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:l={}}=this.node.getProps(),{root:a,margin:e,amount:s="some",once:o}=l,n={root:a?a.current:void 0,rootMargin:e,threshold:typeof s=="number"?s:pg7[s]},r=f=>{const{isIntersecting:m}=f;if(this.isInView===m||(this.isInView=m,o&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:M,onViewportLeave:u}=this.node.getProps(),p=m?M:u;p&&p(f)};return Mg7(this.node.current,n,r)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:a}=this.node;["amount","margin","root"].some(ug7(l,a))&&this.startObserver()}unmount(){}}function ug7({viewport:c={}},{viewport:l={}}={}){return a=>c[a]!==l[a]}const dg7={inView:{Feature:Cg7},tap:{Feature:tg7},focus:{Feature:fg7},hover:{Feature:rg7}};function Ra7(c,l){if(!Array.isArray(l))return!1;const a=l.length;if(a!==c.length)return!1;for(let e=0;e<a;e++)if(l[e]!==c[e])return!1;return!0}function Mm(c,l,a){const e=c.getProps();return FY1(e,l,a!==void 0?a:e.custom,c)}const s6=c=>c*1e3,o6=c=>c/1e3,gg7={type:"spring",stiffness:500,damping:25,restSpeed:10},hg7=c=>({type:"spring",stiffness:550,damping:c===0?2*Math.sqrt(550):30,restSpeed:10}),xg7={type:"keyframes",duration:.8},Sg7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$g7=(c,{keyframes:l})=>l.length>2?xg7:_6.has(c)?c.startsWith("scale")?hg7(l[1]):gg7:Sg7;function Ng7({when:c,delay:l,delayChildren:a,staggerChildren:e,staggerDirection:s,repeat:o,repeatType:n,repeatDelay:r,from:f,elapsed:m,...M}){return!!Object.keys(M).length}function EY1(c,l){return c[l]||c.default||c}const bg7=c=>c!==null;function pm(c,{repeat:l,repeatType:a="loop"},e){const s=c.filter(bg7),o=l&&a!=="loop"&&l%2===1?0:s.length-1;return!o||e===void 0?s[o]:e}let Cm;function wg7(){Cm=void 0}const j6={now:()=>(Cm===void 0&&j6.set(s4.isProcessing||td7.useManualTiming?s4.timestamp:performance.now()),Cm),set:c=>{Cm=c,queueMicrotask(wg7)}},_a7=c=>/^0[^.\s]+$/u.test(c);function kg7(c){return typeof c=="number"?c===0:c!==null?c==="none"||c==="0"||_a7(c):!0}const Ea7=c=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(c),yg7=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ag7(c){const l=yg7.exec(c);if(!l)return[,];const[,a,e,s]=l;return[`--${a??e}`,s]}const vg7=4;function Ua7(c,l,a=1){L3(a<=vg7,`Max CSS variable fallback depth detected in property "${c}". This may indicate a circular fallback dependency.`);const[e,s]=Ag7(c);if(!e)return;const o=window.getComputedStyle(l).getPropertyValue(e);if(o){const n=o.trim();return Ea7(n)?parseFloat(n):n}return wY1(s)?Ua7(s,l,a+1):s}const Bg7=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),qa7=c=>c===r7||c===u2,ja7=(c,l)=>parseFloat(c.split(", ")[l]),Oa7=(c,l)=>(a,{transform:e})=>{if(e==="none"||!e)return 0;const s=e.match(/^matrix3d\((.+)\)$/u);if(s)return ja7(s[1],l);{const o=e.match(/^matrix\((.+)\)$/u);return o?ja7(o[1],c):0}},Tg7=new Set(["x","y","z"]),Fg7=Xl.filter(c=>!Tg7.has(c));function Dg7(c){const l=[];return Fg7.forEach(a=>{const e=c.getValue(a);e!==void 0&&(l.push([a,e.get()]),e.set(a.startsWith("scale")?1:0))}),l}const f7={width:({x:c},{paddingLeft:l="0",paddingRight:a="0"})=>c.max-c.min-parseFloat(l)-parseFloat(a),height:({y:c},{paddingTop:l="0",paddingBottom:a="0"})=>c.max-c.min-parseFloat(l)-parseFloat(a),top:(c,{top:l})=>parseFloat(l),left:(c,{left:l})=>parseFloat(l),bottom:({y:c},{top:l})=>parseFloat(l)+(c.max-c.min),right:({x:c},{left:l})=>parseFloat(l)+(c.max-c.min),x:Oa7(4,13),y:Oa7(5,14)};f7.translateX=f7.x,f7.translateY=f7.y;const Wa7=c=>l=>l.test(c),Ga7=[r7,u2,v3,U6,_d7,Rd7,{test:c=>c==="auto",parse:c=>c}],Va7=c=>Ga7.find(Wa7(c)),v8=new Set;let UY1=!1,qY1=!1;function Ia7(){if(qY1){const c=Array.from(v8).filter(e=>e.needsMeasurement),l=new Set(c.map(e=>e.element)),a=new Map;l.forEach(e=>{const s=Dg7(e);s.length&&(a.set(e,s),e.render())}),c.forEach(e=>e.measureInitialState()),l.forEach(e=>{e.render();const s=a.get(e);s&&s.forEach(([o,n])=>{var r;(r=e.getValue(o))===null||r===void 0||r.set(n)})}),c.forEach(e=>e.measureEndState()),c.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}qY1=!1,UY1=!1,v8.forEach(c=>c.complete()),v8.clear()}function Ka7(){v8.forEach(c=>{c.readKeyframes(),c.needsMeasurement&&(qY1=!0)})}function Pg7(){Ka7(),Ia7()}class jY1{constructor(l,a,e,s,o,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...l],this.onComplete=a,this.name=e,this.motionValue=s,this.element=o,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(v8.add(this),UY1||(UY1=!0,u0.read(Ka7),u0.resolveKeyframes(Ia7))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:a,element:e,motionValue:s}=this;for(let o=0;o<l.length;o++)if(l[o]===null)if(o===0){const n=s==null?void 0:s.get(),r=l[l.length-1];if(n!==void 0)l[0]=n;else if(e&&a){const f=e.readValue(a,r);f!=null&&(l[0]=f)}l[0]===void 0&&(l[0]=r),s&&n===void 0&&s.set(l[0])}else l[o]=l[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),v8.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,v8.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const OY1=(c,l)=>a=>!!(Zl(a)&&Pd7.test(a)&&a.startsWith(c)||l&&!Hd7(a)&&Object.prototype.hasOwnProperty.call(a,l)),Xa7=(c,l,a)=>e=>{if(!Zl(e))return e;const[s,o,n,r]=e.match(kY1);return{[c]:parseFloat(s),[l]:parseFloat(o),[a]:parseFloat(n),alpha:r!==void 0?parseFloat(r):1}},Hg7=c=>E6(0,255,c),WY1={...r7,transform:c=>Math.round(Hg7(c))},B8={test:OY1("rgb","red"),parse:Xa7("red","green","blue"),transform:({red:c,green:l,blue:a,alpha:e=1})=>"rgba("+WY1.transform(c)+", "+WY1.transform(l)+", "+WY1.transform(a)+", "+Jl(Ql.transform(e))+")"};function Rg7(c){let l="",a="",e="",s="";return c.length>5?(l=c.substring(1,3),a=c.substring(3,5),e=c.substring(5,7),s=c.substring(7,9)):(l=c.substring(1,2),a=c.substring(2,3),e=c.substring(3,4),s=c.substring(4,5),l+=l,a+=a,e+=e,s+=s),{red:parseInt(l,16),green:parseInt(a,16),blue:parseInt(e,16),alpha:s?parseInt(s,16)/255:1}}const GY1={test:OY1("#"),parse:Rg7,transform:B8.transform},t7={test:OY1("hsl","hue"),parse:Xa7("hue","saturation","lightness"),transform:({hue:c,saturation:l,lightness:a,alpha:e=1})=>"hsla("+Math.round(c)+", "+v3.transform(Jl(l))+", "+v3.transform(Jl(a))+", "+Jl(Ql.transform(e))+")"},f4={test:c=>B8.test(c)||GY1.test(c)||t7.test(c),parse:c=>B8.test(c)?B8.parse(c):t7.test(c)?t7.parse(c):GY1.parse(c),transform:c=>Zl(c)?c:c.hasOwnProperty("red")?B8.transform(c):t7.transform(c)};function _g7(c){var l,a;return isNaN(c)&&Zl(c)&&(((l=c.match(kY1))===null||l===void 0?void 0:l.length)||0)+(((a=c.match(Dd7))===null||a===void 0?void 0:a.length)||0)>0}const Qa7="number",Ja7="color",Eg7="var",Ug7="var(",Za7="${}",qg7=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ca(c){const l=c.toString(),a=[],e={color:[],number:[],var:[]},s=[];let o=0;const r=l.replace(qg7,f=>(f4.test(f)?(e.color.push(o),s.push(Ja7),a.push(f4.parse(f))):f.startsWith(Ug7)?(e.var.push(o),s.push(Eg7),a.push(f)):(e.number.push(o),s.push(Qa7),a.push(parseFloat(f))),++o,Za7)).split(Za7);return{values:a,split:r,indexes:e,types:s}}function Ya7(c){return ca(c).values}function ce7(c){const{split:l,types:a}=ca(c),e=l.length;return s=>{let o="";for(let n=0;n<e;n++)if(o+=l[n],s[n]!==void 0){const r=a[n];r===Qa7?o+=Jl(s[n]):r===Ja7?o+=f4.transform(s[n]):o+=s[n]}return o}}const jg7=c=>typeof c=="number"?0:c;function Og7(c){const l=Ya7(c);return ce7(c)(l.map(jg7))}const O6={test:_g7,parse:Ya7,createTransformer:ce7,getAnimatableNone:Og7},Wg7=new Set(["brightness","contrast","saturate","opacity"]);function Gg7(c){const[l,a]=c.slice(0,-1).split("(");if(l==="drop-shadow")return c;const[e]=a.match(kY1)||[];if(!e)return c;const s=a.replace(e,"");let o=Wg7.has(l)?1:0;return e!==a&&(o*=100),l+"("+o+s+")"}const Vg7=/\b([a-z-]*)\(.*?\)/gu,VY1={...O6,getAnimatableNone:c=>{const l=c.match(Vg7);return l?l.map(Gg7).join(" "):c}},Ig7={...pa7,color:f4,backgroundColor:f4,outlineColor:f4,fill:f4,stroke:f4,borderColor:f4,borderTopColor:f4,borderRightColor:f4,borderBottomColor:f4,borderLeftColor:f4,filter:VY1,WebkitFilter:VY1},IY1=c=>Ig7[c];function le7(c,l){let a=IY1(c);return a!==VY1&&(a=O6),a.getAnimatableNone?a.getAnimatableNone(l):void 0}const Kg7=new Set(["auto","none","0"]);function Xg7(c,l,a){let e=0,s;for(;e<c.length&&!s;){const o=c[e];typeof o=="string"&&!Kg7.has(o)&&ca(o).values.length&&(s=c[e]),e++}if(s&&a)for(const o of l)c[o]=le7(a,s)}class ae7 extends jY1{constructor(l,a,e,s){super(l,a,e,s,s==null?void 0:s.owner,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:a,name:e}=this;if(!a.current)return;super.readKeyframes();for(let f=0;f<l.length;f++){let m=l[f];if(typeof m=="string"&&(m=m.trim(),wY1(m))){const M=Ua7(m,a.current);M!==void 0&&(l[f]=M),f===l.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Bg7.has(e)||l.length!==2)return;const[s,o]=l,n=Va7(s),r=Va7(o);if(n!==r)if(qa7(n)&&qa7(r))for(let f=0;f<l.length;f++){const m=l[f];typeof m=="string"&&(l[f]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:a}=this,e=[];for(let s=0;s<l.length;s++)kg7(l[s])&&e.push(s);e.length&&Xg7(l,e,a)}measureInitialState(){const{element:l,unresolvedKeyframes:a,name:e}=this;if(!l.current)return;e==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f7[e](l.measureViewportBox(),window.getComputedStyle(l.current)),a[0]=this.measuredOrigin;const s=a[a.length-1];s!==void 0&&l.getValue(e,s).jump(s,!1)}measureEndState(){var l;const{element:a,name:e,unresolvedKeyframes:s}=this;if(!a.current)return;const o=a.getValue(e);o&&o.jump(this.measuredOrigin,!1);const n=s.length-1,r=s[n];s[n]=f7[e](a.measureViewportBox(),window.getComputedStyle(a.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),!((l=this.removedTransforms)===null||l===void 0)&&l.length&&this.removedTransforms.forEach(([f,m])=>{a.getValue(f).set(m)}),this.resolveNoneKeyframes()}}function ee7(c){let l;return()=>(l===void 0&&(l=c()),l)}const se7=(c,l)=>l==="zIndex"?!1:!!(typeof c=="number"||Array.isArray(c)||typeof c=="string"&&(O6.test(c)||c==="0")&&!c.startsWith("url("));function Qg7(c){const l=c[0];if(c.length===1)return!0;for(let a=0;a<c.length;a++)if(c[a]!==l)return!0}function Jg7(c,l,a,e){const s=c[0];if(s===null)return!1;if(l==="display"||l==="visibility")return!0;const o=c[c.length-1],n=se7(s,l),r=se7(o,l);return n7(n===r,`You are trying to animate ${l} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!n||!r?!1:Qg7(c)||a==="spring"&&e}class oe7{constructor({autoplay:l=!0,delay:a=0,type:e="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:n="loop",...r}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:l,delay:a,type:e,repeat:s,repeatDelay:o,repeatType:n,...r},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Pg7(),this._resolved}onKeyframesResolved(l,a){this.hasAttemptedResolve=!0;const{name:e,type:s,velocity:o,delay:n,onComplete:r,onUpdate:f,isGenerator:m}=this.options;if(!m&&!Jg7(l,e,s,o))if(n)this.options.duration=0;else{f==null||f(pm(l,this.options,a)),r==null||r(),this.resolveFinishedPromise();return}const M=this.initPlayback(l,a);M!==!1&&(this._resolved={keyframes:l,finalKeyframe:a,...M},this.onPostResolved())}onPostResolved(){}then(l,a){return this.currentFinishedPromise.then(l,a)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(l=>{this.resolveFinishedPromise=l})}}function ie7(c,l){return l?c*(1e3/l):0}const Zg7=5;function ne7(c,l,a){const e=Math.max(l-Zg7,0);return ie7(a-c(e),l-e)}const KY1=.001,Yg7=.01,re7=10,ch7=.05,lh7=1;function ah7({duration:c=800,bounce:l=.25,velocity:a=0,mass:e=1}){let s,o;n7(c<=s6(re7),"Spring duration must be 10 seconds or less");let n=1-l;n=E6(ch7,lh7,n),c=E6(Yg7,re7,o6(c)),n<1?(s=m=>{const M=m*n,u=M*c,p=M-a,d=XY1(m,n),h=Math.exp(-u);return KY1-p/d*h},o=m=>{const u=m*n*c,p=u*a+a,d=Math.pow(n,2)*Math.pow(m,2)*c,h=Math.exp(-u),x=XY1(Math.pow(m,2),n);return(-s(m)+KY1>0?-1:1)*((p-d)*h)/x}):(s=m=>{const M=Math.exp(-m*c),u=(m-a)*c+1;return-KY1+M*u},o=m=>{const M=Math.exp(-m*c),u=(a-m)*(c*c);return M*u});const r=5/c,f=sh7(s,o,r);if(c=s6(c),isNaN(f))return{stiffness:100,damping:10,duration:c};{const m=Math.pow(f,2)*e;return{stiffness:m,damping:n*2*Math.sqrt(e*m),duration:c}}}const eh7=12;function sh7(c,l,a){let e=a;for(let s=1;s<eh7;s++)e=e-c(e)/l(e);return e}function XY1(c,l){return c*Math.sqrt(1-l*l)}const oh7=["duration","bounce"],ih7=["stiffness","damping","mass"];function fe7(c,l){return l.some(a=>c[a]!==void 0)}function nh7(c){let l={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...c};if(!fe7(c,ih7)&&fe7(c,oh7)){const a=ah7(c);l={...l,...a,mass:1},l.isResolvedFromDuration=!0}return l}function te7({keyframes:c,restDelta:l,restSpeed:a,...e}){const s=c[0],o=c[c.length-1],n={done:!1,value:s},{stiffness:r,damping:f,mass:m,duration:M,velocity:u,isResolvedFromDuration:p}=nh7({...e,velocity:-o6(e.velocity||0)}),d=u||0,h=f/(2*Math.sqrt(r*m)),x=o-s,$=o6(Math.sqrt(r/m)),b=Math.abs(x)<5;a||(a=b?.01:2),l||(l=b?.005:.5);let k;if(h<1){const w=XY1($,h);k=A=>{const F=Math.exp(-h*$*A);return o-F*((d+h*$*x)/w*Math.sin(w*A)+x*Math.cos(w*A))}}else if(h===1)k=w=>o-Math.exp(-$*w)*(x+(d+$*x)*w);else{const w=$*Math.sqrt(h*h-1);k=A=>{const F=Math.exp(-h*$*A),U=Math.min(w*A,300);return o-F*((d+h*$*x)*Math.sinh(U)+w*x*Math.cosh(U))/w}}return{calculatedDuration:p&&M||null,next:w=>{const A=k(w);if(p)n.done=w>=M;else{let F=d;w!==0&&(h<1?F=ne7(k,w,A):F=0);const U=Math.abs(F)<=a,Q=Math.abs(o-A)<=l;n.done=U&&Q}return n.value=n.done?o:A,n}}}function ze7({keyframes:c,velocity:l=0,power:a=.8,timeConstant:e=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:n,min:r,max:f,restDelta:m=.5,restSpeed:M}){const u=c[0],p={done:!1,value:u},d=I=>r!==void 0&&I<r||f!==void 0&&I>f,h=I=>r===void 0?f:f===void 0||Math.abs(r-I)<Math.abs(f-I)?r:f;let x=a*l;const $=u+x,b=n===void 0?$:n($);b!==$&&(x=b-u);const k=I=>-x*Math.exp(-I/e),w=I=>b+k(I),A=I=>{const V=k(I),q=w(I);p.done=Math.abs(V)<=m,p.value=p.done?b:q};let F,U;const Q=I=>{d(p.value)&&(F=I,U=te7({keyframes:[p.value,h(p.value)],velocity:ne7(w,I,p.value),damping:s,stiffness:o,restDelta:m,restSpeed:M}))};return Q(0),{calculatedDuration:null,next:I=>{let V=!1;return!U&&F===void 0&&(V=!0,A(I),Q(I)),F!==void 0&&I>=F?U.next(I-F):(!V&&A(I),p)}}}const Le7=(c,l,a)=>(((1-3*a+3*l)*c+(3*a-6*l))*c+3*l)*c,rh7=1e-7,fh7=12;function th7(c,l,a,e,s){let o,n,r=0;do n=l+(a-l)/2,o=Le7(n,e,s)-c,o>0?a=n:l=n;while(Math.abs(o)>rh7&&++r<fh7);return n}function la(c,l,a,e){if(c===l&&a===e)return a4;const s=o=>th7(o,0,1,c,a);return o=>o===0||o===1?o:Le7(s(o),l,e)}const zh7=la(.42,0,1,1),Lh7=la(0,0,.58,1),me7=la(.42,0,.58,1),mh7=c=>Array.isArray(c)&&typeof c[0]!="number",Me7=c=>l=>l<=.5?c(2*l)/2:(2-c(2*(1-l)))/2,pe7=c=>l=>1-c(1-l),QY1=c=>1-Math.sin(Math.acos(c)),Ce7=pe7(QY1),Mh7=Me7(QY1),ue7=la(.33,1.53,.69,.99),JY1=pe7(ue7),ph7=Me7(JY1),de7={linear:a4,easeIn:zh7,easeInOut:me7,easeOut:Lh7,circIn:QY1,circInOut:Mh7,circOut:Ce7,backIn:JY1,backInOut:ph7,backOut:ue7,anticipate:c=>(c*=2)<1?.5*JY1(c):.5*(2-Math.pow(2,-10*(c-1)))},ge7=c=>{if(Array.isArray(c)){L3(c.length===4,"Cubic bezier arrays must contain four numerical values.");const[l,a,e,s]=c;return la(l,a,e,s)}else if(typeof c=="string")return L3(de7[c]!==void 0,`Invalid easing type '${c}'`),de7[c];return c},aa=(c,l,a)=>{const e=l-c;return e===0?1:(a-c)/e},T0=(c,l,a)=>c+(l-c)*a;function ZY1(c,l,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?c+(l-c)*6*a:a<1/2?l:a<2/3?c+(l-c)*(2/3-a)*6:c}function Ch7({hue:c,saturation:l,lightness:a,alpha:e}){c/=360,l/=100,a/=100;let s=0,o=0,n=0;if(!l)s=o=n=a;else{const r=a<.5?a*(1+l):a+l-a*l,f=2*a-r;s=ZY1(f,r,c+1/3),o=ZY1(f,r,c),n=ZY1(f,r,c-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(n*255),alpha:e}}function um(c,l){return a=>a>0?l:c}const YY1=(c,l,a)=>{const e=c*c,s=a*(l*l-e)+e;return s<0?0:Math.sqrt(s)},uh7=[GY1,B8,t7],dh7=c=>uh7.find(l=>l.test(c));function he7(c){const l=dh7(c);if(n7(!!l,`'${c}' is not an animatable color. Use the equivalent color code instead.`),!l)return!1;let a=l.parse(c);return l===t7&&(a=Ch7(a)),a}const xe7=(c,l)=>{const a=he7(c),e=he7(l);if(!a||!e)return um(c,l);const s={...a};return o=>(s.red=YY1(a.red,e.red,o),s.green=YY1(a.green,e.green,o),s.blue=YY1(a.blue,e.blue,o),s.alpha=T0(a.alpha,e.alpha,o),B8.transform(s))},c12=new Set(["none","hidden"]);function gh7(c,l){return c12.has(c)?a=>a<=0?c:l:a=>a>=1?l:c}function hh7(c,l){return a=>T0(c,l,a)}function l12(c){return typeof c=="number"?hh7:typeof c=="string"?wY1(c)?um:f4.test(c)?xe7:$h7:Array.isArray(c)?Se7:typeof c=="object"?f4.test(c)?xe7:xh7:um}function Se7(c,l){const a=[...c],e=a.length,s=c.map((o,n)=>l12(o)(o,l[n]));return o=>{for(let n=0;n<e;n++)a[n]=s[n](o);return a}}function xh7(c,l){const a={...c,...l},e={};for(const s in a)c[s]!==void 0&&l[s]!==void 0&&(e[s]=l12(c[s])(c[s],l[s]));return s=>{for(const o in e)a[o]=e[o](s);return a}}function Sh7(c,l){var a;const e=[],s={color:0,var:0,number:0};for(let o=0;o<l.values.length;o++){const n=l.types[o],r=c.indexes[n][s[n]],f=(a=c.values[r])!==null&&a!==void 0?a:0;e[o]=f,s[n]++}return e}const $h7=(c,l)=>{const a=O6.createTransformer(l),e=ca(c),s=ca(l);return e.indexes.var.length===s.indexes.var.length&&e.indexes.color.length===s.indexes.color.length&&e.indexes.number.length>=s.indexes.number.length?c12.has(c)&&!s.values.length||c12.has(l)&&!e.values.length?gh7(c,l):e6(Se7(Sh7(e,s),s.values),a):(n7(!0,`Complex values '${c}' and '${l}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),um(c,l))};function $e7(c,l,a){return typeof c=="number"&&typeof l=="number"&&typeof a=="number"?T0(c,l,a):l12(c)(c,l)}function Nh7(c,l,a){const e=[],s=a||$e7,o=c.length-1;for(let n=0;n<o;n++){let r=s(c[n],c[n+1]);if(l){const f=Array.isArray(l)?l[n]||a4:l;r=e6(f,r)}e.push(r)}return e}function Ne7(c,l,{clamp:a=!0,ease:e,mixer:s}={}){const o=c.length;if(L3(o===l.length,"Both input and output ranges must be the same length"),o===1)return()=>l[0];if(o===2&&c[0]===c[1])return()=>l[1];c[0]>c[o-1]&&(c=[...c].reverse(),l=[...l].reverse());const n=Nh7(l,e,s),r=n.length,f=m=>{let M=0;if(r>1)for(;M<c.length-2&&!(m<c[M+1]);M++);const u=aa(c[M],c[M+1],m);return n[M](u)};return a?m=>f(E6(c[0],c[o-1],m)):f}function bh7(c,l){const a=c[c.length-1];for(let e=1;e<=l;e++){const s=aa(0,l,e);c.push(T0(a,1,s))}}function wh7(c){const l=[0];return bh7(l,c.length-1),l}function kh7(c,l){return c.map(a=>a*l)}function yh7(c,l){return c.map(()=>l||me7).splice(0,c.length-1)}function dm({duration:c=300,keyframes:l,times:a,ease:e="easeInOut"}){const s=mh7(e)?e.map(ge7):ge7(e),o={done:!1,value:l[0]},n=kh7(a&&a.length===l.length?a:wh7(l),c),r=Ne7(n,l,{ease:Array.isArray(s)?s:yh7(l,s)});return{calculatedDuration:c,next:f=>(o.value=r(f),o.done=f>=c,o)}}const be7=2e4;function Ah7(c){let l=0;const a=50;let e=c.next(l);for(;!e.done&&l<be7;)l+=a,e=c.next(l);return l>=be7?1/0:l}const vh7=c=>{const l=({timestamp:a})=>c(a);return{start:()=>u0.update(l,!0),stop:()=>B3(l),now:()=>s4.isProcessing?s4.timestamp:j6.now()}},Bh7={decay:ze7,inertia:ze7,tween:dm,keyframes:dm,spring:te7},Th7=c=>c/100;class a12 extends oe7{constructor({KeyframeResolver:l=jY1,...a}){super(a),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:r}=this.options;r&&r()};const{name:e,motionValue:s,keyframes:o}=this.options,n=(r,f)=>this.onKeyframesResolved(r,f);e&&s&&s.owner?this.resolver=s.owner.resolveKeyframes(o,n,e,s):this.resolver=new l(o,n,e,s),this.resolver.scheduleResolve()}initPlayback(l){const{type:a="keyframes",repeat:e=0,repeatDelay:s=0,repeatType:o,velocity:n=0}=this.options,r=Bh7[a]||dm;let f,m;r!==dm&&typeof l[0]!="number"&&(process.env.NODE_ENV!=="production"&&L3(l.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`),f=e6(Th7,$e7(l[0],l[1])),l=[0,100]);const M=r({...this.options,keyframes:l});o==="mirror"&&(m=r({...this.options,keyframes:[...l].reverse(),velocity:-n})),M.calculatedDuration===null&&(M.calculatedDuration=Ah7(M));const{calculatedDuration:u}=M,p=u+s,d=p*(e+1)-s;return{generator:M,mirroredGenerator:m,mapPercentToKeyframes:f,calculatedDuration:u,resolvedDuration:p,totalDuration:d}}onPostResolved(){const{autoplay:l=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!l?this.pause():this.state=this.pendingPlayState}tick(l,a=!1){const{resolved:e}=this;if(!e){const{keyframes:I}=this.options;return{done:!0,value:I[I.length-1]}}const{finalKeyframe:s,generator:o,mirroredGenerator:n,mapPercentToKeyframes:r,keyframes:f,calculatedDuration:m,totalDuration:M,resolvedDuration:u}=e;if(this.startTime===null)return o.next(0);const{delay:p,repeat:d,repeatType:h,repeatDelay:x,onUpdate:$}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-M/this.speed,this.startTime)),a?this.currentTime=l:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(l-this.startTime)*this.speed;const b=this.currentTime-p*(this.speed>=0?1:-1),k=this.speed>=0?b<0:b>M;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=M);let w=this.currentTime,A=o;if(d){const I=Math.min(this.currentTime,M)/u;let V=Math.floor(I),q=I%1;!q&&I>=1&&(q=1),q===1&&V--,V=Math.min(V,d+1),!!(V%2)&&(h==="reverse"?(q=1-q,x&&(q-=x/u)):h==="mirror"&&(A=n)),w=E6(0,1,q)*u}const F=k?{done:!1,value:f[0]}:A.next(w);r&&(F.value=r(F.value));let{done:U}=F;!k&&m!==null&&(U=this.speed>=0?this.currentTime>=M:this.currentTime<=0);const Q=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return Q&&s!==void 0&&(F.value=pm(f,this.options,s)),$&&$(F.value),Q&&this.finish(),F}get duration(){const{resolved:l}=this;return l?o6(l.calculatedDuration):0}get time(){return o6(this.currentTime)}set time(l){l=s6(l),this.currentTime=l,this.holdTime!==null||this.speed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.speed)}get speed(){return this.playbackSpeed}set speed(l){const a=this.playbackSpeed!==l;this.playbackSpeed=l,a&&(this.time=o6(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:l=vh7,onPlay:a}=this.options;this.driver||(this.driver=l(s=>this.tick(s))),a&&a();const e=this.driver.now();this.holdTime!==null?this.startTime=e-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=e),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var l;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(l=this.currentTime)!==null&&l!==void 0?l:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:l}=this.options;l&&l()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(l){return this.startTime=0,this.tick(l,!0)}}const we7=c=>Array.isArray(c)&&typeof c[0]=="number";function ke7(c){return!!(!c||typeof c=="string"&&c in e12||we7(c)||Array.isArray(c)&&c.every(ke7))}const ea=([c,l,a,e])=>`cubic-bezier(${c}, ${l}, ${a}, ${e})`,e12={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ea([0,.65,.55,1]),circOut:ea([.55,0,1,.45]),backIn:ea([.31,.01,.66,-.59]),backOut:ea([.33,1.53,.69,.99])};function Fh7(c){return ye7(c)||e12.easeOut}function ye7(c){if(c)return we7(c)?ea(c):Array.isArray(c)?c.map(Fh7):e12[c]}function Dh7(c,l,a,{delay:e=0,duration:s=300,repeat:o=0,repeatType:n="loop",ease:r,times:f}={}){const m={[l]:a};f&&(m.offset=f);const M=ye7(r);return Array.isArray(M)&&(m.easing=M),c.animate(m,{delay:e,duration:s,easing:Array.isArray(M)?"linear":M,fill:"both",iterations:o+1,direction:n==="reverse"?"alternate":"normal"})}const Ph7=ee7(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),gm=10,Hh7=2e4;function Rh7(c){return c.type==="spring"||!ke7(c.ease)}function _h7(c,l){const a=new a12({...l,keyframes:c,repeat:0,delay:0,isGenerator:!0});let e={done:!1,value:c[0]};const s=[];let o=0;for(;!e.done&&o<Hh7;)e=a.sample(o),s.push(e.value),o+=gm;return{times:void 0,keyframes:s,duration:o-gm,ease:"linear"}}class Ae7 extends oe7{constructor(l){super(l);const{name:a,motionValue:e,keyframes:s}=this.options;this.resolver=new ae7(s,(o,n)=>this.onKeyframesResolved(o,n),a,e),this.resolver.scheduleResolve()}initPlayback(l,a){var e;let{duration:s=300,times:o,ease:n,type:r,motionValue:f,name:m}=this.options;if(!(!((e=f.owner)===null||e===void 0)&&e.current))return!1;if(Rh7(this.options)){const{onComplete:u,onUpdate:p,motionValue:d,...h}=this.options,x=_h7(l,h);l=x.keyframes,l.length===1&&(l[1]=l[0]),s=x.duration,o=x.times,n=x.ease,r="keyframes"}const M=Dh7(f.owner.current,m,l,{...this.options,duration:s,times:o,ease:n});return M.startTime=j6.now(),this.pendingTimeline?(M.timeline=this.pendingTimeline,this.pendingTimeline=void 0):M.onfinish=()=>{const{onComplete:u}=this.options;f.set(pm(l,this.options,a)),u&&u(),this.cancel(),this.resolveFinishedPromise()},{animation:M,duration:s,times:o,type:r,ease:n,keyframes:l}}get duration(){const{resolved:l}=this;if(!l)return 0;const{duration:a}=l;return o6(a)}get time(){const{resolved:l}=this;if(!l)return 0;const{animation:a}=l;return o6(a.currentTime||0)}set time(l){const{resolved:a}=this;if(!a)return;const{animation:e}=a;e.currentTime=s6(l)}get speed(){const{resolved:l}=this;if(!l)return 1;const{animation:a}=l;return a.playbackRate}set speed(l){const{resolved:a}=this;if(!a)return;const{animation:e}=a;e.playbackRate=l}get state(){const{resolved:l}=this;if(!l)return"idle";const{animation:a}=l;return a.playState}attachTimeline(l){if(!this._resolved)this.pendingTimeline=l;else{const{resolved:a}=this;if(!a)return a4;const{animation:e}=a;e.timeline=l,e.onfinish=null}return a4}play(){if(this.isStopped)return;const{resolved:l}=this;if(!l)return;const{animation:a}=l;a.playState==="finished"&&this.updateFinishedPromise(),a.play()}pause(){const{resolved:l}=this;if(!l)return;const{animation:a}=l;a.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:l}=this;if(!l)return;const{animation:a,keyframes:e,duration:s,type:o,ease:n,times:r}=l;if(a.playState==="idle"||a.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:M,onComplete:u,...p}=this.options,d=new a12({...p,keyframes:e,duration:s,type:o,ease:n,times:r,isGenerator:!0}),h=s6(this.time);m.setWithVelocity(d.sample(h-gm).value,d.sample(h).value,gm)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:l}=this;l&&l.animation.finish()}cancel(){const{resolved:l}=this;l&&l.animation.cancel()}static supports(l){const{motionValue:a,name:e,repeatDelay:s,repeatType:o,damping:n,type:r}=l;return Ph7()&&e&&ba7.has(e)&&a&&a.owner&&a.owner.current instanceof HTMLElement&&!a.owner.getProps().onUpdate&&!s&&o!=="mirror"&&n!==0&&r!=="inertia"}}function Eh7(c,l){let a;const e=()=>{const{currentTime:s}=l,n=(s===null?0:s.value)/100;a!==n&&c(n),a=n};return u0.update(e,!0),()=>B3(e)}const Uh7=ee7(()=>window.ScrollTimeline!==void 0);class qh7{constructor(l){this.stop=()=>this.runAll("stop"),this.animations=l.filter(Boolean)}then(l,a){return Promise.all(this.animations).then(l).catch(a)}getAll(l){return this.animations[0][l]}setAll(l,a){for(let e=0;e<this.animations.length;e++)this.animations[e][l]=a}attachTimeline(l){const a=this.animations.map(e=>{if(Uh7()&&e.attachTimeline)e.attachTimeline(l);else return e.pause(),Eh7(s=>{e.time=e.duration*s},l)});return()=>{a.forEach((e,s)=>{e&&e(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(l){this.setAll("time",l)}get speed(){return this.getAll("speed")}set speed(l){this.setAll("speed",l)}get duration(){let l=0;for(let a=0;a<this.animations.length;a++)l=Math.max(l,this.animations[a].duration);return l}runAll(l){this.animations.forEach(a=>a[l]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const s12=(c,l,a,e={},s,o,n)=>r=>{const f=EY1(e,c)||{},m=f.delay||e.delay||0;let{elapsed:M=0}=e;M=M-s6(m);let u={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:l.getVelocity(),...f,delay:-M,onUpdate:d=>{l.set(d),f.onUpdate&&f.onUpdate(d)},onComplete:()=>{r(),f.onComplete&&f.onComplete(),n&&n()},onStop:n,name:c,motionValue:l,element:o?void 0:s};Ng7(f)||(u={...u,...$g7(c,u)}),u.duration&&(u.duration=s6(u.duration)),u.repeatDelay&&(u.repeatDelay=s6(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(p=!0)),p&&!o&&l.get()!==void 0){const d=pm(u.keyframes,f);if(d!==void 0)return u0.update(()=>{u.onUpdate(d),u.onComplete()}),new qh7([])}return!o&&Ae7.supports(u)?new Ae7(u):new a12(u)};class o12{constructor(){this.subscriptions=[]}add(l){return zm(this.subscriptions,l),()=>Lm(this.subscriptions,l)}notify(l,a,e){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](l,a,e);else for(let o=0;o<s;o++){const n=this.subscriptions[o];n&&n(l,a,e)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ve7=new Set;function i12(c,l,a){c||ve7.has(l)||(console.warn(l),ve7.add(l))}const Be7=30,jh7=c=>!isNaN(parseFloat(c)),sa={current:void 0};class Te7{constructor(l,a={}){this.version="11.3.19",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,s=!0)=>{const o=j6.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(l),this.owner=a.owner}setCurrent(l){this.current=l,this.updatedAt=j6.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=jh7(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return process.env.NODE_ENV!=="production"&&i12(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",l)}on(l,a){this.events[l]||(this.events[l]=new o12);const e=this.events[l].add(a);return l==="change"?()=>{e(),u0.read(()=>{this.events.change.getSize()||this.stop()})}:e}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,a){this.passiveEffect=l,this.stopPassiveEffect=a}set(l,a=!0){!a||!this.passiveEffect?this.updateAndNotify(l,a):this.passiveEffect(l,this.updateAndNotify)}setWithVelocity(l,a,e){this.set(a),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-e}jump(l,a=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return sa.current&&sa.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const l=j6.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>Be7)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Be7);return ie7(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(l){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=l(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function z7(c,l){return new Te7(c,l)}function Oh7(c,l,a){c.hasValue(l)?c.getValue(l).set(a):c.addValue(l,z7(a))}function Wh7(c,l){const a=Mm(c,l);let{transitionEnd:e={},transition:s={},...o}=a||{};o={...o,...e};for(const n in o){const r=Zd7(o[n]);Oh7(c,n,r)}}function Fe7(c){return c.getProps()[aa7]}class Gh7 extends Te7{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(l){const a=wa7(l);if(!a)return;const e=this.counts.get(a)||0;this.counts.set(a,e+1),e===0&&(this.output.push(a),this.update());let s=!1;return()=>{if(s)return;s=!0;const o=this.counts.get(a)-1;this.counts.set(a,o),o===0&&(Lm(this.output,a),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Vh7(c){return!!(e4(c)&&c.add)}function n12(c,l){var a;if(!c.applyWillChange)return;let e=c.getValue("willChange");if(!e&&!(!((a=c.props.style)===null||a===void 0)&&a.willChange)&&(e=new Gh7("auto"),c.addValue("willChange",e)),Vh7(e))return e.add(l)}function Ih7({protectedKeys:c,needsAnimating:l},a){const e=c.hasOwnProperty(a)&&l[a]!==!0;return l[a]=!1,e}function De7(c,l,{delay:a=0,transitionOverride:e,type:s}={}){var o;let{transition:n=c.getDefaultTransition(),transitionEnd:r,...f}=l;e&&(n=e);const m=[],M=s&&c.animationState&&c.animationState.getState()[s];for(const u in f){const p=c.getValue(u,(o=c.latestValues[u])!==null&&o!==void 0?o:null),d=f[u];if(d===void 0||M&&Ih7(M,u))continue;const h={delay:a,elapsed:0,...EY1(n||{},u)};let x=!1;if(window.HandoffAppearAnimations){const b=Fe7(c);if(b){const k=window.HandoffAppearAnimations(b,u,p,u0);k!==null&&(h.elapsed=k,x=!0)}}p.start(s12(u,p,d,c.shouldReduceMotion&&_6.has(u)?{type:!1}:h,c,x,n12(c,u)));const $=p.animation;$&&m.push($)}return r&&Promise.all(m).then(()=>{u0.update(()=>{r&&Wh7(c,r)})}),m}function r12(c,l,a={}){var e;const s=Mm(c,l,a.type==="exit"?(e=c.presenceContext)===null||e===void 0?void 0:e.custom:void 0);let{transition:o=c.getDefaultTransition()||{}}=s||{};a.transitionOverride&&(o=a.transitionOverride);const n=s?()=>Promise.all(De7(c,s,a)):()=>Promise.resolve(),r=c.variantChildren&&c.variantChildren.size?(m=0)=>{const{delayChildren:M=0,staggerChildren:u,staggerDirection:p}=o;return Kh7(c,l,M+m,u,p,a)}:()=>Promise.resolve(),{when:f}=o;if(f){const[m,M]=f==="beforeChildren"?[n,r]:[r,n];return m().then(()=>M())}else return Promise.all([n(),r(a.delay)])}function Kh7(c,l,a=0,e=0,s=1,o){const n=[],r=(c.variantChildren.size-1)*e,f=s===1?(m=0)=>m*e:(m=0)=>r-m*e;return Array.from(c.variantChildren).sort(Xh7).forEach((m,M)=>{m.notify("AnimationStart",l),n.push(r12(m,l,{...o,delay:a+f(M)}).then(()=>m.notify("AnimationComplete",l)))}),Promise.all(n)}function Xh7(c,l){return c.sortNodePosition(l)}function Qh7(c,l,a={}){c.notify("AnimationStart",l);let e;if(Array.isArray(l)){const s=l.map(o=>r12(c,o,a));e=Promise.all(s)}else if(typeof l=="string")e=r12(c,l,a);else{const s=typeof l=="function"?Mm(c,l,a.custom):l;e=Promise.all(De7(c,s,a))}return e.then(()=>{c.notify("AnimationComplete",l)})}const Jh7=[...SY1].reverse(),Zh7=SY1.length;function Yh7(c){return l=>Promise.all(l.map(({animation:a,options:e})=>Qh7(c,a,e)))}function cx7(c){let l=Yh7(c),a=Pe7(),e=!0;const s=f=>(m,M)=>{var u;const p=Mm(c,M,f==="exit"?(u=c.presenceContext)===null||u===void 0?void 0:u.custom:void 0);if(p){const{transition:d,transitionEnd:h,...x}=p;m={...m,...x,...h}}return m};function o(f){l=f(c)}function n(f){const m=c.getProps(),M=c.getVariantContext(!0)||{},u=[],p=new Set;let d={},h=1/0;for(let $=0;$<Zh7;$++){const b=Jh7[$],k=a[b],w=m[b]!==void 0?m[b]:M[b],A=Il(w),F=b===f?k.isActive:null;F===!1&&(h=$);let U=w===M[b]&&w!==m[b]&&A;if(U&&e&&c.manuallyAnimateOnMount&&(U=!1),k.protectedKeys={...d},!k.isActive&&F===null||!w&&!k.prevProp||Kl(w)||typeof w=="boolean")continue;let I=lx7(k.prevProp,w)||b===f&&k.isActive&&!U&&A||$>h&&A,V=!1;const q=Array.isArray(w)?w:[w];let K=q.reduce(s(b),{});F===!1&&(K={});const{prevResolvedValues:j={}}=k,E={...j,...K},s1=f1=>{I=!0,p.has(f1)&&(V=!0,p.delete(f1)),k.needsAnimating[f1]=!0;const i1=c.getValue(f1);i1&&(i1.liveStyle=!1)};for(const f1 in E){const i1=K[f1],L1=j[f1];if(d.hasOwnProperty(f1))continue;let m1=!1;DY1(i1)&&DY1(L1)?m1=!Ra7(i1,L1):m1=i1!==L1,m1?i1!=null?s1(f1):p.add(f1):i1!==void 0&&p.has(f1)?s1(f1):k.protectedKeys[f1]=!0}k.prevProp=w,k.prevResolvedValues=K,k.isActive&&(d={...d,...K}),e&&c.blockInitialAnimation&&(I=!1),I&&(!U||V)&&u.push(...q.map(f1=>({animation:f1,options:{type:b}})))}if(p.size){const $={};p.forEach(b=>{const k=c.getBaseTarget(b),w=c.getValue(b);w&&(w.liveStyle=!0),$[b]=k??null}),u.push({animation:$})}let x=!!u.length;return e&&(m.initial===!1||m.initial===m.animate)&&!c.manuallyAnimateOnMount&&(x=!1),e=!1,x?l(u):Promise.resolve()}function r(f,m){var M;if(a[f].isActive===m)return Promise.resolve();(M=c.variantChildren)===null||M===void 0||M.forEach(p=>{var d;return(d=p.animationState)===null||d===void 0?void 0:d.setActive(f,m)}),a[f].isActive=m;const u=n(f);for(const p in a)a[p].protectedKeys={};return u}return{animateChanges:n,setActive:r,setAnimateFunction:o,getState:()=>a,reset:()=>{a=Pe7(),e=!0}}}function lx7(c,l){return typeof l=="string"?l!==c:Array.isArray(l)?!Ra7(l,c):!1}function T8(c=!1){return{isActive:c,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pe7(){return{animate:T8(!0),whileInView:T8(),whileHover:T8(),whileTap:T8(),whileDrag:T8(),whileFocus:T8(),exit:T8()}}class ax7 extends q6{constructor(l){super(l),l.animationState||(l.animationState=cx7(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();Kl(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:a}=this.node.prevProps||{};l!==a&&this.updateAnimationControlsSubscription()}unmount(){var l;this.node.animationState.reset(),(l=this.unmountControls)===null||l===void 0||l.call(this)}}let ex7=0;class sx7 extends q6{constructor(){super(...arguments),this.id=ex7++}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:a}=this.node.presenceContext,{isPresent:e}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===e)return;const s=this.node.animationState.setActive("exit",!l);a&&!l&&s.then(()=>a(this.id))}mount(){const{register:l}=this.node.presenceContext||{};l&&(this.unmount=l(this.id))}unmount(){}}const ox7={animation:{Feature:ax7},exit:{Feature:sx7}},He7=(c,l)=>Math.abs(c-l);function ix7(c,l){const a=He7(c.x,l.x),e=He7(c.y,l.y);return Math.sqrt(a**2+e**2)}class Re7{constructor(l,a,{transformPagePoint:e,contextWindow:s,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=t12(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,d=ix7(u.offset,{x:0,y:0})>=3;if(!p&&!d)return;const{point:h}=u,{timestamp:x}=s4;this.history.push({...h,timestamp:x});const{onStart:$,onMove:b}=this.handlers;p||($&&$(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,u)},this.handlePointerMove=(u,p)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=f12(p,this.transformPagePoint),u0.update(this.updatePoint,!0)},this.handlePointerUp=(u,p)=>{this.end();const{onEnd:d,onSessionEnd:h,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const $=t12(u.type==="pointercancel"?this.lastMoveEventInfo:f12(p,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,$),h&&h(u,$)},!Aa7(l))return;this.dragSnapToOrigin=o,this.handlers=a,this.transformPagePoint=e,this.contextWindow=s||window;const n=mm(l),r=f12(n,this.transformPagePoint),{point:f}=r,{timestamp:m}=s4;this.history=[{...f,timestamp:m}];const{onSessionStart:M}=a;M&&M(l,t12(r,this.history)),this.removeListeners=e6(a6(this.contextWindow,"pointermove",this.handlePointerMove),a6(this.contextWindow,"pointerup",this.handlePointerUp),a6(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),B3(this.updatePoint)}}function f12(c,l){return l?{point:l(c.point)}:c}function _e7(c,l){return{x:c.x-l.x,y:c.y-l.y}}function t12({point:c},l){return{point:c,delta:_e7(c,Ee7(l)),offset:_e7(c,nx7(l)),velocity:rx7(l,.1)}}function nx7(c){return c[0]}function Ee7(c){return c[c.length-1]}function rx7(c,l){if(c.length<2)return{x:0,y:0};let a=c.length-1,e=null;const s=Ee7(c);for(;a>=0&&(e=c[a],!(s.timestamp-e.timestamp>s6(l)));)a--;if(!e)return{x:0,y:0};const o=o6(s.timestamp-e.timestamp);if(o===0)return{x:0,y:0};const n={x:(s.x-e.x)/o,y:(s.y-e.y)/o};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}const Ue7=1e-4,fx7=1-Ue7,tx7=1+Ue7,qe7=.01,zx7=0-qe7,Lx7=0+qe7;function q4(c){return c.max-c.min}function mx7(c,l,a){return Math.abs(c-l)<=a}function je7(c,l,a,e=.5){c.origin=e,c.originPoint=T0(l.min,l.max,c.origin),c.scale=q4(a)/q4(l),c.translate=T0(a.min,a.max,c.origin)-c.originPoint,(c.scale>=fx7&&c.scale<=tx7||isNaN(c.scale))&&(c.scale=1),(c.translate>=zx7&&c.translate<=Lx7||isNaN(c.translate))&&(c.translate=0)}function oa(c,l,a,e){je7(c.x,l.x,a.x,e?e.originX:void 0),je7(c.y,l.y,a.y,e?e.originY:void 0)}function Oe7(c,l,a){c.min=a.min+l.min,c.max=c.min+q4(l)}function Mx7(c,l,a){Oe7(c.x,l.x,a.x),Oe7(c.y,l.y,a.y)}function We7(c,l,a){c.min=l.min-a.min,c.max=c.min+q4(l)}function ia(c,l,a){We7(c.x,l.x,a.x),We7(c.y,l.y,a.y)}function px7(c,{min:l,max:a},e){return l!==void 0&&c<l?c=e?T0(l,c,e.min):Math.max(c,l):a!==void 0&&c>a&&(c=e?T0(a,c,e.max):Math.min(c,a)),c}function Ge7(c,l,a){return{min:l!==void 0?c.min+l:void 0,max:a!==void 0?c.max+a-(c.max-c.min):void 0}}function Cx7(c,{top:l,left:a,bottom:e,right:s}){return{x:Ge7(c.x,a,s),y:Ge7(c.y,l,e)}}function Ve7(c,l){let a=l.min-c.min,e=l.max-c.max;return l.max-l.min<c.max-c.min&&([a,e]=[e,a]),{min:a,max:e}}function ux7(c,l){return{x:Ve7(c.x,l.x),y:Ve7(c.y,l.y)}}function dx7(c,l){let a=.5;const e=q4(c),s=q4(l);return s>e?a=aa(l.min,l.max-e,c.min):e>s&&(a=aa(c.min,c.max-s,l.min)),E6(0,1,a)}function gx7(c,l){const a={};return l.min!==void 0&&(a.min=l.min-c.min),l.max!==void 0&&(a.max=l.max-c.min),a}const z12=.35;function hx7(c=z12){return c===!1?c=0:c===!0&&(c=z12),{x:Ie7(c,"left","right"),y:Ie7(c,"top","bottom")}}function Ie7(c,l,a){return{min:Ke7(c,l),max:Ke7(c,a)}}function Ke7(c,l){return typeof c=="number"?c:c[l]||0}const Xe7=()=>({translate:0,scale:1,origin:0,originPoint:0}),L7=()=>({x:Xe7(),y:Xe7()}),Qe7=()=>({min:0,max:0}),q0=()=>({x:Qe7(),y:Qe7()});function J4(c){return[c("x"),c("y")]}function Je7({top:c,left:l,right:a,bottom:e}){return{x:{min:l,max:a},y:{min:c,max:e}}}function xx7({x:c,y:l}){return{top:l.min,right:c.max,bottom:l.max,left:c.min}}function Sx7(c,l){if(!l)return c;const a=l({x:c.left,y:c.top}),e=l({x:c.right,y:c.bottom});return{top:a.y,left:a.x,bottom:e.y,right:e.x}}function L12(c){return c===void 0||c===1}function m12({scale:c,scaleX:l,scaleY:a}){return!L12(c)||!L12(l)||!L12(a)}function F8(c){return m12(c)||Ze7(c)||c.z||c.rotate||c.rotateX||c.rotateY||c.skewX||c.skewY}function Ze7(c){return Ye7(c.x)||Ye7(c.y)}function Ye7(c){return c&&c!=="0%"}function hm(c,l,a){const e=c-a,s=l*e;return a+s}function cs7(c,l,a,e,s){return s!==void 0&&(c=hm(c,s,e)),hm(c,a,e)+l}function M12(c,l=0,a=1,e,s){c.min=cs7(c.min,l,a,e,s),c.max=cs7(c.max,l,a,e,s)}function ls7(c,{x:l,y:a}){M12(c.x,l.translate,l.scale,l.originPoint),M12(c.y,a.translate,a.scale,a.originPoint)}const as7=.999999999999,es7=1.0000000000001;function $x7(c,l,a,e=!1){const s=a.length;if(!s)return;l.x=l.y=1;let o,n;for(let r=0;r<s;r++){o=a[r],n=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(e&&o.options.layoutScroll&&o.scroll&&o!==o.root&&M7(c,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),n&&(l.x*=n.x.scale,l.y*=n.y.scale,ls7(c,n)),e&&F8(o.latestValues)&&M7(c,o.latestValues))}l.x<es7&&l.x>as7&&(l.x=1),l.y<es7&&l.y>as7&&(l.y=1)}function m7(c,l){c.min=c.min+l,c.max=c.max+l}function ss7(c,l,a,e,s=.5){const o=T0(c.min,c.max,s);M12(c,l,a,o,e)}function M7(c,l){ss7(c.x,l.x,l.scaleX,l.scale,l.originX),ss7(c.y,l.y,l.scaleY,l.scale,l.originY)}function os7(c,l){return Je7(Sx7(c.getBoundingClientRect(),l))}function Nx7(c,l,a){const e=os7(c,a),{scroll:s}=l;return s&&(m7(e.x,s.offset.x),m7(e.y,s.offset.y)),e}const is7=({current:c})=>c?c.ownerDocument.defaultView:null,bx7=new WeakMap;class wx7{constructor(l){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=q0(),this.visualElement=l}start(l,{snapToCursor:a=!1}={}){const{presenceContext:e}=this.visualElement;if(e&&e.isPresent===!1)return;const s=M=>{const{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor(mm(M,"page").point)},o=(M,u)=>{var p;const{drag:d,dragPropagation:h,onDragStart:x}=this.getProps();if(d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Fa7(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),J4(b=>{let k=this.getAxisMotionValue(b).get()||0;if(v3.test(k)){const{projection:w}=this.visualElement;if(w&&w.layout){const A=w.layout.layoutBox[b];A&&(k=q4(A)*(parseFloat(k)/100))}}this.originPoint[b]=k}),x&&u0.postRender(()=>x(M,u)),(p=this.removeWillChange)===null||p===void 0||p.call(this),this.removeWillChange=n12(this.visualElement,"transform");const{animationState:$}=this.visualElement;$&&$.setActive("whileDrag",!0)},n=(M,u)=>{const{dragPropagation:p,dragDirectionLock:d,onDirectionLock:h,onDrag:x}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:$}=u;if(d&&this.currentDirection===null){this.currentDirection=kx7($),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",u.point,$),this.updateAxis("y",u.point,$),this.visualElement.render(),x&&x(M,u)},r=(M,u)=>this.stop(M,u),f=()=>J4(M=>{var u;return this.getAnimationState(M)==="paused"&&((u=this.getAxisMotionValue(M).animation)===null||u===void 0?void 0:u.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Re7(l,{onSessionStart:s,onStart:o,onMove:n,onSessionEnd:r,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:is7(this.visualElement)})}stop(l,a){var e;(e=this.removeWillChange)===null||e===void 0||e.call(this);const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:o}=a;this.startAnimation(o);const{onDragEnd:n}=this.getProps();n&&u0.postRender(()=>n(l,a))}cancel(){this.isDragging=!1;const{projection:l,animationState:a}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:e}=this.getProps();!e&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(l,a,e){const{drag:s}=this.getProps();if(!e||!xm(l,s,this.currentDirection))return;const o=this.getAxisMotionValue(l);let n=this.originPoint[l]+e[l];this.constraints&&this.constraints[l]&&(n=px7(n,this.constraints[l],this.elastic[l])),o.set(n)}resolveConstraints(){var l;const{dragConstraints:a,dragElastic:e}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(l=this.visualElement.projection)===null||l===void 0?void 0:l.layout,o=this.constraints;a&&o7(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&s?this.constraints=Cx7(s.layoutBox,a):this.constraints=!1,this.elastic=hx7(e),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&J4(n=>{this.constraints!==!1&&this.getAxisMotionValue(n)&&(this.constraints[n]=gx7(s.layoutBox[n],this.constraints[n]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:a}=this.getProps();if(!l||!o7(l))return!1;const e=l.current;L3(e!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=Nx7(e,s.root,this.visualElement.getTransformPagePoint());let n=ux7(s.layout.layoutBox,o);if(a){const r=a(xx7(n));this.hasMutatedConstraints=!!r,r&&(n=Je7(r))}return n}startAnimation(l){const{drag:a,dragMomentum:e,dragElastic:s,dragTransition:o,dragSnapToOrigin:n,onDragTransitionEnd:r}=this.getProps(),f=this.constraints||{},m=J4(M=>{if(!xm(M,a,this.currentDirection))return;let u=f&&f[M]||{};n&&(u={min:0,max:0});const p=s?200:1e6,d=s?40:1e7,h={type:"inertia",velocity:e?l[M]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...o,...u};return this.startAxisValueAnimation(M,h)});return Promise.all(m).then(r)}startAxisValueAnimation(l,a){const e=this.getAxisMotionValue(l);return e.start(s12(l,e,0,a,this.visualElement,!1,n12(this.visualElement,l)))}stopAnimation(){J4(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){J4(l=>{var a;return(a=this.getAxisMotionValue(l).animation)===null||a===void 0?void 0:a.pause()})}getAnimationState(l){var a;return(a=this.getAxisMotionValue(l).animation)===null||a===void 0?void 0:a.state}getAxisMotionValue(l){const a=`_drag${l.toUpperCase()}`,e=this.visualElement.getProps(),s=e[a];return s||this.visualElement.getValue(l,(e.initial?e.initial[l]:void 0)||0)}snapToCursor(l){J4(a=>{const{drag:e}=this.getProps();if(!xm(a,e,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(a);if(s&&s.layout){const{min:n,max:r}=s.layout.layoutBox[a];o.set(l[a]-T0(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:a}=this.getProps(),{projection:e}=this.visualElement;if(!o7(a)||!e||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};J4(n=>{const r=this.getAxisMotionValue(n);if(r&&this.constraints!==!1){const f=r.get();s[n]=dx7({min:f,max:f},this.constraints[n])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",e.root&&e.root.updateScroll(),e.updateLayout(),this.resolveConstraints(),J4(n=>{if(!xm(n,l,null))return;const r=this.getAxisMotionValue(n),{min:f,max:m}=this.constraints[n];r.set(T0(f,m,s[n]))})}addListeners(){if(!this.visualElement.current)return;bx7.set(this.visualElement,this);const l=this.visualElement.current,a=a6(l,"pointerdown",f=>{const{drag:m,dragListener:M=!0}=this.getProps();m&&M&&this.start(f)}),e=()=>{const{dragConstraints:f}=this.getProps();o7(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",e);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),u0.read(e);const n=l6(window,"resize",()=>this.scalePositionWithinConstraints()),r=s.addEventListener("didUpdate",({delta:f,hasLayoutChanged:m})=>{this.isDragging&&m&&(J4(M=>{const u=this.getAxisMotionValue(M);u&&(this.originPoint[M]+=f[M].translate,u.set(u.get()+f[M].translate))}),this.visualElement.render())});return()=>{n(),a(),o(),r&&r()}}getProps(){const l=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:e=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:n=z12,dragMomentum:r=!0}=l;return{...l,drag:a,dragDirectionLock:e,dragPropagation:s,dragConstraints:o,dragElastic:n,dragMomentum:r}}}function xm(c,l,a){return(l===!0||l===c)&&(a===null||a===c)}function kx7(c,l=10){let a=null;return Math.abs(c.y)>l?a="y":Math.abs(c.x)>l&&(a="x"),a}class yx7 extends q6{constructor(l){super(l),this.removeGroupControls=a4,this.removeListeners=a4,this.controls=new wx7(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||a4}unmount(){this.removeGroupControls(),this.removeListeners()}}const ns7=c=>(l,a)=>{c&&u0.postRender(()=>c(l,a))};class Ax7 extends q6{constructor(){super(...arguments),this.removePointerDownListener=a4}onPointerDown(l){this.session=new Re7(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:is7(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:a,onPan:e,onPanEnd:s}=this.node.getProps();return{onSessionStart:ns7(l),onStart:ns7(a),onMove:e,onEnd:(o,n)=>{delete this.session,s&&u0.postRender(()=>s(o,n))}}}mount(){this.removePointerDownListener=a6(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function vx7(){const c=H.useContext(em);if(c===null)return[!0,null];const{isPresent:l,onExitComplete:a,register:e}=c,s=H.useId();H.useEffect(()=>e(s),[]);const o=H.useCallback(()=>a&&a(s),[s,a]);return!l&&a?[!1,o]:[!0]}const Sm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rs7(c,l){return l.max===l.min?0:c/(l.max-l.min)*100}const na={correct:(c,l)=>{if(!l.target)return c;if(typeof c=="string")if(u2.test(c))c=parseFloat(c);else return c;const a=rs7(c,l.target.x),e=rs7(c,l.target.y);return`${a}% ${e}%`}},Bx7={correct:(c,{treeScale:l,projectionDelta:a})=>{const e=c,s=O6.parse(c);if(s.length>5)return e;const o=O6.createTransformer(c),n=typeof s[0]!="number"?1:0,r=a.x.scale*l.x,f=a.y.scale*l.y;s[0+n]/=r,s[1+n]/=f;const m=T0(r,f,.5);return typeof s[2+n]=="number"&&(s[2+n]/=m),typeof s[3+n]=="number"&&(s[3+n]/=m),o(s)}};class Tx7 extends H.Component{componentDidMount(){const{visualElement:l,layoutGroup:a,switchLayoutGroup:e,layoutId:s}=this.props,{projection:o}=l;kd7(Fx7),o&&(a.group&&a.group.add(o),e&&e.register&&s&&e.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Sm.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:a,visualElement:e,drag:s,isPresent:o}=this.props,n=e.projection;return n&&(n.isPresent=o,s||l.layoutDependency!==a||a===void 0?n.willUpdate():this.safeToRemove(),l.isPresent!==o&&(o?n.promote():n.relegate()||u0.postRender(()=>{const r=n.getStack();(!r||!r.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),xY1.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:a,switchLayoutGroup:e}=this.props,{projection:s}=l;s&&(s.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(s),e&&e.deregister&&e.deregister(s))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function fs7(c){const[l,a]=vx7(),e=H.useContext(NY1);return z.jsx(Tx7,{...c,layoutGroup:e,switchLayoutGroup:H.useContext(sa7),isPresent:l,safeToRemove:a})}const Fx7={borderRadius:{...na,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:na,borderTopRightRadius:na,borderBottomLeftRadius:na,borderBottomRightRadius:na,boxShadow:Bx7},ts7=["TopLeft","TopRight","BottomLeft","BottomRight"],Dx7=ts7.length,zs7=c=>typeof c=="string"?parseFloat(c):c,Ls7=c=>typeof c=="number"||u2.test(c);function Px7(c,l,a,e,s,o){s?(c.opacity=T0(0,a.opacity!==void 0?a.opacity:1,Hx7(e)),c.opacityExit=T0(l.opacity!==void 0?l.opacity:1,0,Rx7(e))):o&&(c.opacity=T0(l.opacity!==void 0?l.opacity:1,a.opacity!==void 0?a.opacity:1,e));for(let n=0;n<Dx7;n++){const r=`border${ts7[n]}Radius`;let f=ms7(l,r),m=ms7(a,r);if(f===void 0&&m===void 0)continue;f||(f=0),m||(m=0),f===0||m===0||Ls7(f)===Ls7(m)?(c[r]=Math.max(T0(zs7(f),zs7(m),e),0),(v3.test(m)||v3.test(f))&&(c[r]+="%")):c[r]=m}(l.rotate||a.rotate)&&(c.rotate=T0(l.rotate||0,a.rotate||0,e))}function ms7(c,l){return c[l]!==void 0?c[l]:c.borderRadius}const Hx7=Ms7(0,.5,Ce7),Rx7=Ms7(.5,.95,a4);function Ms7(c,l,a){return e=>e<c?0:e>l?1:a(aa(c,l,e))}function ps7(c,l){c.min=l.min,c.max=l.max}function Z4(c,l){ps7(c.x,l.x),ps7(c.y,l.y)}function Cs7(c,l){c.translate=l.translate,c.scale=l.scale,c.originPoint=l.originPoint,c.origin=l.origin}function us7(c,l,a,e,s){return c-=l,c=hm(c,1/a,e),s!==void 0&&(c=hm(c,1/s,e)),c}function _x7(c,l=0,a=1,e=.5,s,o=c,n=c){if(v3.test(l)&&(l=parseFloat(l),l=T0(n.min,n.max,l/100)-n.min),typeof l!="number")return;let r=T0(o.min,o.max,e);c===o&&(r-=l),c.min=us7(c.min,l,a,r,s),c.max=us7(c.max,l,a,r,s)}function ds7(c,l,[a,e,s],o,n){_x7(c,l[a],l[e],l[s],l.scale,o,n)}const Ex7=["x","scaleX","originX"],Ux7=["y","scaleY","originY"];function gs7(c,l,a,e){ds7(c.x,l,Ex7,a?a.x:void 0,e?e.x:void 0),ds7(c.y,l,Ux7,a?a.y:void 0,e?e.y:void 0)}function hs7(c){return c.translate===0&&c.scale===1}function xs7(c){return hs7(c.x)&&hs7(c.y)}function Ss7(c,l){return c.min===l.min&&c.max===l.max}function qx7(c,l){return Ss7(c.x,l.x)&&Ss7(c.y,l.y)}function $s7(c,l){return Math.round(c.min)===Math.round(l.min)&&Math.round(c.max)===Math.round(l.max)}function Ns7(c,l){return $s7(c.x,l.x)&&$s7(c.y,l.y)}function bs7(c){return q4(c.x)/q4(c.y)}function ws7(c,l){return c.translate===l.translate&&c.scale===l.scale&&c.originPoint===l.originPoint}class jx7{constructor(){this.members=[]}add(l){zm(this.members,l),l.scheduleRender()}remove(l){if(Lm(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(l){const a=this.members.findIndex(s=>l===s);if(a===0)return!1;let e;for(let s=a;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1){e=o;break}}return e?(this.promote(e),!0):!1}promote(l,a){const e=this.lead;if(l!==e&&(this.prevLead=e,this.lead=l,l.show(),e)){e.instance&&e.scheduleRender(),l.scheduleRender(),l.resumeFrom=e,a&&(l.resumeFrom.preserveOpacity=!0),e.snapshot&&(l.snapshot=e.snapshot,l.snapshot.latestValues=e.animationValues||e.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);const{crossfade:s}=l.options;s===!1&&e.hide()}}exitAnimationComplete(){this.members.forEach(l=>{const{options:a,resumingFrom:e}=l;a.onExitComplete&&a.onExitComplete(),e&&e.options.onExitComplete&&e.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ox7(c,l,a){let e="";const s=c.x.translate/l.x,o=c.y.translate/l.y,n=(a==null?void 0:a.z)||0;if((s||o||n)&&(e=`translate3d(${s}px, ${o}px, ${n}px) `),(l.x!==1||l.y!==1)&&(e+=`scale(${1/l.x}, ${1/l.y}) `),a){const{transformPerspective:m,rotate:M,rotateX:u,rotateY:p,skewX:d,skewY:h}=a;m&&(e=`perspective(${m}px) ${e}`),M&&(e+=`rotate(${M}deg) `),u&&(e+=`rotateX(${u}deg) `),p&&(e+=`rotateY(${p}deg) `),d&&(e+=`skewX(${d}deg) `),h&&(e+=`skewY(${h}deg) `)}const r=c.x.scale*l.x,f=c.y.scale*l.y;return(r!==1||f!==1)&&(e+=`scale(${r}, ${f})`),e||"none"}const Wx7=(c,l)=>c.depth-l.depth;class Gx7{constructor(){this.children=[],this.isDirty=!1}add(l){zm(this.children,l),this.isDirty=!0}remove(l){Lm(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(Wx7),this.isDirty=!1,this.children.forEach(l)}}function Vx7(c,l){const a=j6.now(),e=({timestamp:s})=>{const o=s-a;o>=l&&(B3(e),c(o-l))};return u0.read(e,!0),()=>B3(e)}function Ix7(c){return c instanceof SVGElement&&c.tagName!=="svg"}function Kx7(c,l,a){const e=e4(c)?c:z7(c);return e.start(s12("",e,l,a)),e.animation}const D8={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ra=typeof window<"u"&&window.MotionDebug!==void 0,p12=["","X","Y","Z"],Xx7={visibility:"hidden"},ks7=1e3;let Qx7=0;function C12(c,l,a,e){const{latestValues:s}=l;s[c]&&(a[c]=s[c],l.setStaticValue(c,0),e&&(e[c]=0))}function ys7(c){if(c.hasCheckedOptimisedAppear=!0,c.root===c)return!1;const{visualElement:l}=c.options;return l?Fe7(l)?!0:c.parent&&!c.parent.hasCheckedOptimisedAppear?ys7(c.parent):!1:!1}function As7({attachResizeListener:c,defaultParent:l,measureScroll:a,checkIsScrollRoot:e,resetTransform:s}){return class{constructor(n={},r=l==null?void 0:l()){this.id=Qx7++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ra&&(D8.totalNodes=D8.resolvedTargetDeltas=D8.recalculatedProjection=0),this.nodes.forEach(Yx7),this.nodes.forEach(sS7),this.nodes.forEach(oS7),this.nodes.forEach(cS7),ra&&window.MotionDebug.record(D8)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new Gx7)}addEventListener(n,r){return this.eventHandlers.has(n)||this.eventHandlers.set(n,new o12),this.eventHandlers.get(n).add(r)}notifyListeners(n,...r){const f=this.eventHandlers.get(n);f&&f.notify(...r)}hasListeners(n){return this.eventHandlers.has(n)}mount(n,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Ix7(n),this.instance=n;const{layoutId:f,layout:m,visualElement:M}=this.options;if(M&&!M.current&&M.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(m||f)&&(this.isLayoutDirty=!0),c){let u;const p=()=>this.root.updateBlockedByResize=!1;c(n,()=>{this.root.updateBlockedByResize=!0,u&&u(),u=Vx7(p,250),Sm.hasAnimatedSinceResize&&(Sm.hasAnimatedSinceResize=!1,this.nodes.forEach(Bs7))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&M&&(f||m)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeTargetChanged:d,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||M.getDefaultTransition()||tS7,{onLayoutAnimationStart:$,onLayoutAnimationComplete:b}=M.getProps(),k=!this.targetLayout||!Ns7(this.targetLayout,h)||d,w=!p&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||p&&(k||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(u,w);const A={...EY1(x,"layout"),onPlay:$,onComplete:b};(M.shouldReduceMotion||this.options.layoutRoot)&&(A.delay=0,A.type=!1),this.startAnimation(A)}else p||Bs7(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const n=this.getStack();n&&n.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,B3(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(iS7),this.animationId++)}getTransformTemplate(){const{visualElement:n}=this.options;return n&&n.getProps().transformTemplate}willUpdate(n=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&ys7(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let M=0;M<this.path.length;M++){const u=this.path[M];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:r,layout:f}=this.options;if(r===void 0&&!f)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),n&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vs7);return}this.isUpdating||this.nodes.forEach(aS7),this.isUpdating=!1,this.nodes.forEach(eS7),this.nodes.forEach(Jx7),this.nodes.forEach(Zx7),this.clearAllSnapshots();const r=j6.now();s4.delta=E6(0,1e3/60,r-s4.timestamp),s4.timestamp=r,s4.isProcessing=!0,PY1.update.process(s4),PY1.preRender.process(s4),PY1.render.process(s4),s4.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,xY1.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(lS7),this.sharedNodes.forEach(nS7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,u0.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){u0.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const n=this.layout;this.layout=this.measure(!1),this.layoutCorrected=q0(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:r}=this.options;r&&r.notify("LayoutMeasure",this.layout.layoutBox,n?n.layoutBox:void 0)}updateScroll(n="measure"){let r=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===n&&(r=!1),r){const f=e(this.instance);this.scroll={animationId:this.root.animationId,phase:n,isRoot:f,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!s)return;const n=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,r=this.projectionDelta&&!xs7(this.projectionDelta),f=this.getTransformTemplate(),m=f?f(this.latestValues,""):void 0,M=m!==this.prevTransformTemplateValue;n&&(r||F8(this.latestValues)||M)&&(s(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(n=!0){const r=this.measurePageBox();let f=this.removeElementScroll(r);return n&&(f=this.removeTransform(f)),zS7(f),{animationId:this.root.animationId,measuredBox:r,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var n;const{visualElement:r}=this.options;if(!r)return q0();const f=r.measureViewportBox();if(!(((n=this.scroll)===null||n===void 0?void 0:n.wasRoot)||this.path.some(LS7))){const{scroll:M}=this.root;M&&(m7(f.x,M.offset.x),m7(f.y,M.offset.y))}return f}removeElementScroll(n){var r;const f=q0();if(Z4(f,n),!((r=this.scroll)===null||r===void 0)&&r.wasRoot)return f;for(let m=0;m<this.path.length;m++){const M=this.path[m],{scroll:u,options:p}=M;M!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Z4(f,n),m7(f.x,u.offset.x),m7(f.y,u.offset.y))}return f}applyTransform(n,r=!1){const f=q0();Z4(f,n);for(let m=0;m<this.path.length;m++){const M=this.path[m];!r&&M.options.layoutScroll&&M.scroll&&M!==M.root&&M7(f,{x:-M.scroll.offset.x,y:-M.scroll.offset.y}),F8(M.latestValues)&&M7(f,M.latestValues)}return F8(this.latestValues)&&M7(f,this.latestValues),f}removeTransform(n){const r=q0();Z4(r,n);for(let f=0;f<this.path.length;f++){const m=this.path[f];if(!m.instance||!F8(m.latestValues))continue;m12(m.latestValues)&&m.updateSnapshot();const M=q0(),u=m.measurePageBox();Z4(M,u),gs7(r,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,M)}return F8(this.latestValues)&&gs7(r,this.latestValues),r}setTargetDelta(n){this.targetDelta=n,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(n){this.options={...this.options,...n,crossfade:n.crossfade!==void 0?n.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==s4.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(n=!1){var r;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==f;if(!(n||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((r=this.parent)===null||r===void 0)&&r.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=s4.timestamp,!this.targetDelta&&!this.relativeTarget){const d=this.getClosestProjectingParent();d&&d.layout&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=q0(),this.relativeTargetOrigin=q0(),ia(this.relativeTargetOrigin,this.layout.layoutBox,d.layout.layoutBox),Z4(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=q0(),this.targetWithTransforms=q0()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mx7(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Z4(this.target,this.layout.layoutBox),ls7(this.target,this.targetDelta)):Z4(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const d=this.getClosestProjectingParent();d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=q0(),this.relativeTargetOrigin=q0(),ia(this.relativeTargetOrigin,this.target,d.target),Z4(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ra&&D8.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||m12(this.parent.latestValues)||Ze7(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var n;const r=this.getLead(),f=!!this.resumingFrom||this!==r;let m=!0;if((this.isProjectionDirty||!((n=this.parent)===null||n===void 0)&&n.isProjectionDirty)&&(m=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===s4.timestamp&&(m=!1),m)return;const{layout:M,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(M||u))return;Z4(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,d=this.treeScale.y;$x7(this.layoutCorrected,this.treeScale,this.path,f),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=q0());const{target:h}=r;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Cs7(this.prevProjectionDelta.x,this.projectionDelta.x),Cs7(this.prevProjectionDelta.y,this.projectionDelta.y)),oa(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==d||!ws7(this.projectionDelta.x,this.prevProjectionDelta.x)||!ws7(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),ra&&D8.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(n=!0){var r;if((r=this.options.visualElement)===null||r===void 0||r.scheduleRender(),n){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=L7(),this.projectionDelta=L7(),this.projectionDeltaWithTransform=L7()}setAnimationOrigin(n,r=!1){const f=this.snapshot,m=f?f.latestValues:{},M={...this.latestValues},u=L7();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!r;const p=q0(),d=f?f.source:void 0,h=this.layout?this.layout.source:void 0,x=d!==h,$=this.getStack(),b=!$||$.members.length<=1,k=!!(x&&!b&&this.options.crossfade===!0&&!this.path.some(fS7));this.animationProgress=0;let w;this.mixTargetDelta=A=>{const F=A/1e3;Ts7(u.x,n.x,F),Ts7(u.y,n.y,F),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ia(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),rS7(this.relativeTarget,this.relativeTargetOrigin,p,F),w&&qx7(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=q0()),Z4(w,this.relativeTarget)),x&&(this.animationValues=M,Px7(M,m,this.latestValues,F,k,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=F},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(n){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(B3(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=u0.update(()=>{Sm.hasAnimatedSinceResize=!0,this.currentAnimation=Kx7(0,ks7,{...n,onUpdate:r=>{this.mixTargetDelta(r),n.onUpdate&&n.onUpdate(r)},onComplete:()=>{n.onComplete&&n.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const n=this.getStack();n&&n.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ks7),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const n=this.getLead();let{targetWithTransforms:r,target:f,layout:m,latestValues:M}=n;if(!(!r||!f||!m)){if(this!==n&&this.layout&&m&&Rs7(this.options.animationType,this.layout.layoutBox,m.layoutBox)){f=this.target||q0();const u=q4(this.layout.layoutBox.x);f.x.min=n.target.x.min,f.x.max=f.x.min+u;const p=q4(this.layout.layoutBox.y);f.y.min=n.target.y.min,f.y.max=f.y.min+p}Z4(r,f),M7(r,M),oa(this.projectionDeltaWithTransform,this.layoutCorrected,r,M)}}registerSharedNode(n,r){this.sharedNodes.has(n)||this.sharedNodes.set(n,new jx7),this.sharedNodes.get(n).add(r);const m=r.options.initialPromotionConfig;r.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(r):void 0})}isLead(){const n=this.getStack();return n?n.lead===this:!0}getLead(){var n;const{layoutId:r}=this.options;return r?((n=this.getStack())===null||n===void 0?void 0:n.lead)||this:this}getPrevLead(){var n;const{layoutId:r}=this.options;return r?(n=this.getStack())===null||n===void 0?void 0:n.prevLead:void 0}getStack(){const{layoutId:n}=this.options;if(n)return this.root.sharedNodes.get(n)}promote({needsReset:n,transition:r,preserveFollowOpacity:f}={}){const m=this.getStack();m&&m.promote(this,f),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})}relegate(){const n=this.getStack();return n?n.relegate(this):!1}resetSkewAndRotation(){const{visualElement:n}=this.options;if(!n)return;let r=!1;const{latestValues:f}=n;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(r=!0),!r)return;const m={};f.z&&C12("z",n,m,this.animationValues);for(let M=0;M<p12.length;M++)C12(`rotate${p12[M]}`,n,m,this.animationValues),C12(`skew${p12[M]}`,n,m,this.animationValues);n.render();for(const M in m)n.setStaticValue(M,m[M]),this.animationValues&&(this.animationValues[M]=m[M]);n.scheduleRender()}getProjectionStyles(n){var r,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Xx7;const m={visibility:""},M=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=tm(n==null?void 0:n.pointerEvents)||"",m.transform=M?M(this.latestValues,""):"none",m;const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=tm(n==null?void 0:n.pointerEvents)||""),this.hasProjected&&!F8(this.latestValues)&&(x.transform=M?M({},""):"none",this.hasProjected=!1),x}const p=u.animationValues||u.latestValues;this.applyTransformsToTarget(),m.transform=Ox7(this.projectionDeltaWithTransform,this.treeScale,p),M&&(m.transform=M(p,m.transform));const{x:d,y:h}=this.projectionDelta;m.transformOrigin=`${d.origin*100}% ${h.origin*100}% 0`,u.animationValues?m.opacity=u===this?(f=(r=p.opacity)!==null&&r!==void 0?r:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:m.opacity=u===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const x in nm){if(p[x]===void 0)continue;const{correct:$,applyTo:b}=nm[x],k=m.transform==="none"?p[x]:$(p[x],u);if(b){const w=b.length;for(let A=0;A<w;A++)m[b[A]]=k}else m[x]=k}return this.options.layoutId&&(m.pointerEvents=u===this?tm(n==null?void 0:n.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(n=>{var r;return(r=n.currentAnimation)===null||r===void 0?void 0:r.stop()}),this.root.nodes.forEach(vs7),this.root.sharedNodes.clear()}}}function Jx7(c){c.updateLayout()}function Zx7(c){var l;const a=((l=c.resumeFrom)===null||l===void 0?void 0:l.snapshot)||c.snapshot;if(c.isLead()&&c.layout&&a&&c.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:s}=c.layout,{animationType:o}=c.options,n=a.source!==c.layout.source;o==="size"?J4(u=>{const p=n?a.measuredBox[u]:a.layoutBox[u],d=q4(p);p.min=e[u].min,p.max=p.min+d}):Rs7(o,a.layoutBox,e)&&J4(u=>{const p=n?a.measuredBox[u]:a.layoutBox[u],d=q4(e[u]);p.max=p.min+d,c.relativeTarget&&!c.currentAnimation&&(c.isProjectionDirty=!0,c.relativeTarget[u].max=c.relativeTarget[u].min+d)});const r=L7();oa(r,e,a.layoutBox);const f=L7();n?oa(f,c.applyTransform(s,!0),a.measuredBox):oa(f,e,a.layoutBox);const m=!xs7(r);let M=!1;if(!c.resumeFrom){const u=c.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:d}=u;if(p&&d){const h=q0();ia(h,a.layoutBox,p.layoutBox);const x=q0();ia(x,e,d.layoutBox),Ns7(h,x)||(M=!0),u.options.layoutRoot&&(c.relativeTarget=x,c.relativeTargetOrigin=h,c.relativeParent=u)}}}c.notifyListeners("didUpdate",{layout:e,snapshot:a,delta:f,layoutDelta:r,hasLayoutChanged:m,hasRelativeTargetChanged:M})}else if(c.isLead()){const{onExitComplete:e}=c.options;e&&e()}c.options.transition=void 0}function Yx7(c){ra&&D8.totalNodes++,c.parent&&(c.isProjecting()||(c.isProjectionDirty=c.parent.isProjectionDirty),c.isSharedProjectionDirty||(c.isSharedProjectionDirty=!!(c.isProjectionDirty||c.parent.isProjectionDirty||c.parent.isSharedProjectionDirty)),c.isTransformDirty||(c.isTransformDirty=c.parent.isTransformDirty))}function cS7(c){c.isProjectionDirty=c.isSharedProjectionDirty=c.isTransformDirty=!1}function lS7(c){c.clearSnapshot()}function vs7(c){c.clearMeasurements()}function aS7(c){c.isLayoutDirty=!1}function eS7(c){const{visualElement:l}=c.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),c.resetTransform()}function Bs7(c){c.finishAnimation(),c.targetDelta=c.relativeTarget=c.target=void 0,c.isProjectionDirty=!0}function sS7(c){c.resolveTargetDelta()}function oS7(c){c.calcProjection()}function iS7(c){c.resetSkewAndRotation()}function nS7(c){c.removeLeadSnapshot()}function Ts7(c,l,a){c.translate=T0(l.translate,0,a),c.scale=T0(l.scale,1,a),c.origin=l.origin,c.originPoint=l.originPoint}function Fs7(c,l,a,e){c.min=T0(l.min,a.min,e),c.max=T0(l.max,a.max,e)}function rS7(c,l,a,e){Fs7(c.x,l.x,a.x,e),Fs7(c.y,l.y,a.y,e)}function fS7(c){return c.animationValues&&c.animationValues.opacityExit!==void 0}const tS7={duration:.45,ease:[.4,0,.1,1]},Ds7=c=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(c),Ps7=Ds7("applewebkit/")&&!Ds7("chrome/")?Math.round:a4;function Hs7(c){c.min=Ps7(c.min),c.max=Ps7(c.max)}function zS7(c){Hs7(c.x),Hs7(c.y)}function Rs7(c,l,a){return c==="position"||c==="preserve-aspect"&&!mx7(bs7(l),bs7(a),.2)}function LS7(c){var l;return c!==c.root&&((l=c.scroll)===null||l===void 0?void 0:l.wasRoot)}const mS7=As7({attachResizeListener:(c,l)=>l6(c,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),u12={current:void 0},_s7=As7({measureScroll:c=>({x:c.scrollLeft,y:c.scrollTop}),defaultParent:()=>{if(!u12.current){const c=new mS7({});c.mount(window),c.setOptions({layoutScroll:!0}),u12.current=c}return u12.current},resetTransform:(c,l)=>{c.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:c=>window.getComputedStyle(c).position==="fixed"}),MS7={pan:{Feature:Ax7},drag:{Feature:yx7,ProjectionNode:_s7,MeasureLayout:fs7}},d12={current:null},Es7={current:!1};function pS7(){if(Es7.current=!0,!!gY1)if(window.matchMedia){const c=window.matchMedia("(prefers-reduced-motion)"),l=()=>d12.current=c.matches;c.addListener(l),l()}else d12.current=!1}function CS7(c,l,a){for(const e in l){const s=l[e],o=a[e];if(e4(s))c.addValue(e,s),process.env.NODE_ENV==="development"&&i12(s.version==="11.3.19",`Attempting to mix Framer Motion versions ${s.version} with 11.3.19 may not work as expected.`);else if(e4(o))c.addValue(e,z7(s,{owner:c}));else if(o!==s)if(c.hasValue(e)){const n=c.getValue(e);n.liveStyle===!0?n.jump(s):n.hasAnimated||n.set(s)}else{const n=c.getStaticValue(e);c.addValue(e,z7(n!==void 0?n:s,{owner:c}))}}for(const e in a)l[e]===void 0&&c.removeValue(e);return l}const Us7=new WeakMap,uS7=[...Ga7,f4,O6],dS7=c=>uS7.find(Wa7(c)),qs7=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],gS7=$Y1.length;let hS7=class{scrapeMotionValuesFromProps(l,a,e){return{}}constructor({parent:l,props:a,presenceContext:e,reducedMotionConfig:s,blockInitialAnimation:o,visualState:n},r={}){this.applyWillChange=!1,this.resolveKeyframes=(p,d,h,x)=>new this.KeyframeResolver(p,d,h,x,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=jY1,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,u0.render(this.render,!1,!0))};const{latestValues:f,renderState:m}=n;this.latestValues=f,this.baseTarget={...f},this.initialValues=a.initial?{...f}:{},this.renderState=m,this.parent=l,this.props=a,this.presenceContext=e,this.depth=l?l.depth+1:0,this.reducedMotionConfig=s,this.options=r,this.blockInitialAnimation=!!o,this.isControllingVariants=im(a),this.isVariantNode=na7(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:M,...u}=this.scrapeMotionValuesFromProps(a,{},this);for(const p in u){const d=u[p];f[p]!==void 0&&e4(d)&&d.set(f[p],!1)}}mount(l){this.current=l,Us7.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,e)=>this.bindToMotionValue(e,a)),Es7.current||pS7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:d12.current,process.env.NODE_ENV!=="production"&&i12(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Us7.delete(this.current),this.projection&&this.projection.unmount(),B3(this.notifyUpdate),B3(this.render),this.valueSubscriptions.forEach(l=>l()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const a=this.features[l];a&&(a.unmount(),a.isMounted=!1)}this.current=null}bindToMotionValue(l,a){const e=_6.has(l),s=a.on("change",n=>{this.latestValues[l]=n,this.props.onUpdate&&u0.preRender(this.notifyUpdate),e&&this.projection&&(this.projection.isTransformDirty=!0)}),o=a.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(l,()=>{s(),o(),a.owner&&a.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in i7){const a=i7[l];if(!a)continue;const{isEnabled:e,Feature:s}=a;if(!this.features[l]&&s&&e(this.props)&&(this.features[l]=new s(this)),this.features[l]){const o=this.features[l];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):q0()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,a){this.latestValues[l]=a}update(l,a){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let e=0;e<qs7.length;e++){const s=qs7[e];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,n=l[o];n&&(this.propEventSubscriptions[s]=this.on(s,n))}this.prevMotionValues=CS7(this,this.scrapeMotionValuesFromProps(l,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(l=!1){if(l)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(e.initial=this.props.initial),e}const a={};for(let e=0;e<gS7;e++){const s=$Y1[e],o=this.props[s];(Il(o)||o===!1)&&(a[s]=o)}return a}addVariantChild(l){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(l),()=>a.variantChildren.delete(l)}addValue(l,a){const e=this.values.get(l);a!==e&&(e&&this.removeValue(l),this.bindToMotionValue(l,a),this.values.set(l,a),this.latestValues[l]=a.get())}removeValue(l){this.values.delete(l);const a=this.valueSubscriptions.get(l);a&&(a(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,a){if(this.props.values&&this.props.values[l])return this.props.values[l];let e=this.values.get(l);return e===void 0&&a!==void 0&&(e=z7(a===null?void 0:a,{owner:this}),this.addValue(l,e)),e}readValue(l,a){var e;let s=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:(e=this.getBaseTargetFromProps(this.props,l))!==null&&e!==void 0?e:this.readValueFromInstance(this.current,l,this.options);return s!=null&&(typeof s=="string"&&(Ea7(s)||_a7(s))?s=parseFloat(s):!dS7(s)&&O6.test(a)&&(s=le7(l,a)),this.setBaseTarget(l,e4(s)?s.get():s)),e4(s)?s.get():s}setBaseTarget(l,a){this.baseTarget[l]=a}getBaseTarget(l){var a;const{initial:e}=this.props;let s;if(typeof e=="string"||typeof e=="object"){const n=FY1(this.props,e,(a=this.presenceContext)===null||a===void 0?void 0:a.custom);n&&(s=n[l])}if(e&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,l);return o!==void 0&&!e4(o)?o:this.initialValues[l]!==void 0&&s===void 0?void 0:this.baseTarget[l]}on(l,a){return this.events[l]||(this.events[l]=new o12),this.events[l].add(a)}notify(l,...a){this.events[l]&&this.events[l].notify(...a)}};class js7 extends hS7{constructor(){super(...arguments),this.KeyframeResolver=ae7}sortInstanceNodePosition(l,a){return l.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(l,a){return l.style?l.style[a]:void 0}removeValueFromRenderState(l,{vars:a,style:e}){delete a[l],delete e[l]}}function xS7(c){return window.getComputedStyle(c)}class SS7 extends js7{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=ha7}readValueFromInstance(l,a){if(_6.has(a)){const e=IY1(a);return e&&e.default||0}else{const e=xS7(l),s=(La7(a)?e.getPropertyValue(a):e[a])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(l,{transformPagePoint:a}){return os7(l,a)}build(l,a,e){yY1(l,a,e.transformTemplate)}scrapeMotionValuesFromProps(l,a,e){return TY1(l,a,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;e4(l)&&(this.childSubscription=l.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class $S7 extends js7{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=q0}getBaseTargetFromProps(l,a){return l[a]}readValueFromInstance(l,a){if(_6.has(a)){const e=IY1(a);return e&&e.default||0}return a=xa7.has(a)?a:sm(a),l.getAttribute(a)}scrapeMotionValuesFromProps(l,a,e){return $a7(l,a,e)}build(l,a,e){vY1(l,a,this.isSVGTag,e.transformTemplate)}renderInstance(l,a,e,s){Sa7(l,a,e,s)}mount(l){this.isSVGTag=BY1(l.tagName),super.mount(l)}}const NS7=(c,l)=>bY1(c)?new $S7(l):new SS7(l,{allowProjection:c!==H.Fragment}),bS7={...ox7,...dg7,...MS7,...{layout:{ProjectionNode:_s7,MeasureLayout:fs7}}},$m=bd7((c,l)=>og7(c,l,bS7,NS7));class wS7 extends t5.Component{getSnapshotBeforeUpdate(l){const a=this.props.childRef.current;if(a&&l.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=a.offsetHeight||0,e.width=a.offsetWidth||0,e.top=a.offsetTop,e.left=a.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function kS7({children:c,isPresent:l}){const a=H.useId(),e=H.useRef(null),s=H.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=H.useContext(lm);return H.useInsertionEffect(()=>{const{width:n,height:r,top:f,left:m}=s.current;if(l||!e.current||!n||!r)return;e.current.dataset.motionPopId=a;const M=document.createElement("style");return o&&(M.nonce=o),document.head.appendChild(M),M.sheet&&M.sheet.insertRule(`
1054
1054
  [data-motion-pop-id="${a}"] {
1055
1055
  position: absolute !important;
1056
1056
  width: ${n}px !important;
@@ -1155,4 +1155,4 @@ function print() { __p += __j.call(arguments, '') }
1155
1155
  * LICENSE.md file in the root directory of this source tree.
1156
1156
  *
1157
1157
  * @license MIT
1158
- */function Va(c,l){return c?fq7(c)?t5.createElement(c,l):c:null}function fq7(c){return tq7(c)||typeof c=="function"||zq7(c)}function tq7(c){return typeof c=="function"&&(()=>{const l=Object.getPrototypeOf(c);return l.prototype&&l.prototype.isReactComponent})()}function zq7(c){return typeof c=="object"&&typeof c.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(c.$$typeof.description)}function z02(c){const l={state:{},onStateChange:()=>{},renderFallbackValue:null,...c},[a]=t5.useState(()=>({current:rq7(l)})),[e,s]=t5.useState(()=>a.current.initialState);return a.current.setOptions(o=>({...o,...c,state:{...e,...c.state},onStateChange:n=>{s(n),c.onStateChange==null||c.onStateChange(n)}})),a.current}const Lq7=c=>({xxs:"8",xs:"10",sm:"12",body2:"14",body1:"16",label:"14",h5:"18",h4:"20",h3:"24",h2:"30",h1:"36"})[c],ht7=c=>({xxs:"2",xs:"2",sm:"2",body2:"3",body1:"4",label:"3",h5:"5",h4:"4",h3:"4",h2:"3",h1:"3"})[c],mq7=c=>({xxs:"4",xs:"5",sm:"6",body2:"7",body1:"8",label:"7",h5:"9",h4:"10",h3:"12",h2:"15",h1:"15"})[c],Mq7=c=>({xxs:"24",xs:"32",sm:"40",md:"56",lg:"64",xl:"80",xxl:"112"})[c],M6=({size:c="xs",width:l="262",isLoading:a=!1,speed:e=1,styleContentLoader:s,skeletonProps:o})=>{const n=Lq7(c),r=Number(n)+Number(ht7(c))*2;return z.jsx(a7,{"data-testid":"content-loader",speed:e,width:l,height:r,viewBox:`0 0 ${l} ${r}`,backgroundColor:"#E5E5E5",foregroundColor:a?"#F5F5F5":"#E5E5E5",style:{...s},children:z.jsx("rect",{"data-testid":"skeleton-rect",width:l,height:n,y:ht7(c),rx:mq7(c),fill:"#E5E5E5",...o})})},pq7={code:{type:"typo",variant:"sm"},name:{type:"typo",variant:"sm"},version:{type:"typo",variant:"sm"},publicationDate:{type:"visuals",variant:"sm"}},Cq7={users:{type:"avatar",variant:"sm"},distribution:{type:"visuals",variant:"24"},readControl:{type:"visuals",variant:"24"}},uq7=Array.from({length:5},()=>({...pq7})),xt7=Array.from({length:3},()=>({...Cq7})),L02=S1("table",{border:".1rem solid $neutral300",borderSpacing:0}),m02=S1("tbody",{borderBottom:"none",".lastTr":{borderBottom:"none",td:{borderBottom:"none"}}}),St7=S1("th",{borderBottom:".1rem solid $neutral300",borderRight:".1rem solid $neutral300"}),$t7=S1("thead",{tr:{".lastTh":{borderRight:"none"}}}),M02=S1("td",{borderBottom:".1rem solid $neutral300",borderRight:".1rem solid $neutral300"}),p02=S1("tr",{".lastTd":{borderRight:"none"}}),X8=S1("div",{padding:"1.2rem 1.4rem",backgroundColor:"$neutral50",display:"flex",justifyContent:"space-between"}),U3=S1("div",{padding:"1.2rem",backgroundColor:"$white",display:"flex",justifyContent:"center",alignItems:"center"}),Nt7=S1("div",{display:"flex",flexDirection:"column"}),dq7=S1("div",{display:"flex",flexDirection:"column",gap:"2.4rem",maxWidth:"43.5rem",paddingBottom:"2.4rem","#skeleton-sets":{},"#skeleton-terms":{}}),gq7=S1("div",{display:"flex",flexDirection:"column",width:"100%",padding:"0 1.6rem"}),hq7=S1("div",{display:"flex",flexDirection:"column",maxWidth:"43.5rem",gap:"2.4rem"}),xq7=S1("div",{display:"flex",flexDirection:"column",width:"100%",gap:"4rem"}),Sq7=S1("div",{display:"flex",flexDirection:"column",gap:"2.4rem",maxWidth:"43.5rem"}),bt7=S1("div",{width:"100%",height:".1rem",backgroundColor:"#D4D4D4",marginBottom:"2.4rem"}),$q7=S1("div",{display:"flex",flexDirection:"column",maxWidth:"43.5rem",gap:"2.4rem"}),Nq7=S1("div",{display:"flex",justifyContent:"center",alignItems:"center",width:"6.4rem",height:"6.4rem",borderRadius:".4rem",border:".1rem solid $neutral300",".contentThumb":{position:"relative",width:"5.6rem",height:"5.6rem",overflow:"hidden",".scaled":{transform:"scale(0.1287)",transformOrigin:"top left",position:"absolute",top:0,left:0}}}),wM=({size:c="8",speed:l=1,skeletonProps:a,isLoading:e=!1,styleContentLoader:s,padding:o})=>{const n=Number(c)/2,r=o?(Number(o)*2+Number(c)).toString():c;return z.jsx(a7,{"data-testid":"content-loader-visuals",speed:l,width:r,height:r,viewBox:`0 0 ${r} ${r}`,backgroundColor:"#D4D4D4",foregroundColor:e?"#E5E5E5":"#D4D4D4",style:{display:"flex",justifyContent:"center",alignItems:"center",...s},children:z.jsx("circle",{"data-testid":"skeleton-circle",cx:o?n+Number(o):n,cy:o?n+Number(o):n,r:n,fill:"#D4D4D4",...a})})},bq7=({size:c="md",speed:l=1,skeletonProps:a,isLoading:e=!1,styleContentLoader:s})=>{const o=Mq7(c),n=Number(o)/2;return z.jsx(a7,{"data-testid":"content-loader-avatar",speed:l,width:o,height:o,viewBox:`0 0 ${o} ${o}`,backgroundColor:"#D4D4D4",foregroundColor:e?"#E5E5E5":"#D4D4D4",style:{display:"flex",justifyContent:"center",alignItems:"center",...s},children:z.jsx("circle",{"data-testid":"skeleton-circle-avatar",cx:n,cy:n,r:n,fill:"#D4D4D4",...a})})},C02=K22(),wq7=[C02.accessor("users",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"USERS"})}),cell:()=>z.jsxs(U3,{style:{gap:"1rem"},children:[z.jsx(bq7,{size:"xs"}),z.jsxs(Nt7,{children:[z.jsx(M6,{size:"body2",width:"128"}),z.jsx(M6,{size:"sm",width:"139"})]})]})}),C02.accessor("distribution",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"DISTRIBUTION"})}),cell:()=>z.jsx(U3,{children:z.jsx(wM,{size:"24"})})}),C02.accessor("readControl",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"READ CONTROL"})}),cell:()=>z.jsx(U3,{children:z.jsx(wM,{size:"24"})})})],wt7=({})=>{const[c,l]=H.useState(()=>[...xt7]),a=z02({data:c,columns:wq7,getCoreRowModel:t02()});return z.jsxs("div",{children:[z.jsx(H0,{variant:"medium",children:"Access User List"}),z.jsxs(L02,{style:{marginTop:"1.6rem"},children:[z.jsx($t7,{children:a.getHeaderGroups().map(e=>z.jsx("tr",{children:e.headers.map((s,o)=>z.jsx(St7,{className:o===e.headers.length-1?"lastTh":"",children:s.isPlaceholder?null:Va(s.column.columnDef.header,s.getContext())},s.id))},e.id))}),z.jsx(m02,{children:a.getRowModel().rows.map((e,s)=>z.jsx(p02,{className:s===a.getRowModel().rows.length-1?"lastTr":"",children:e.getVisibleCells().map((o,n)=>z.jsx(M02,{className:n===e.getVisibleCells().length-1?"lastTd":"",children:Va(o.column.columnDef.cell,o.getContext())},o.id))},e.id))})]})]})},kq7=({letter:c})=>z.jsxs(gq7,{children:[z.jsx(H0,{variant:"bold2",children:c}),z.jsx("img",{src:"/public/skeletons/skeleton-terms.svg",id:"skeleton-terms"})]}),kt7=({letters:c=["A","B"],title:l="Glossary",hasSets:a=!0})=>z.jsxs(dq7,{children:[z.jsx(H0,{variant:"medium",children:l}),a&&z.jsx("img",{src:"/public/skeletons/skeleton-sets.svg",id:"skeleton-sets"}),c.map((e,s)=>z.jsx(kq7,{letter:e},`${e}-${s}`))]}),yt7=({skeletonsLenght:c=2,title:l="Associations"})=>z.jsxs(hq7,{children:[z.jsx(H0,{variant:"medium",children:l}),z.jsx(xq7,{children:Array.from({length:c}).map((a,e)=>z.jsx("img",{src:"/public/skeletons/skeleton-associations.svg",id:"skeleton-associations"},`skeleton-associations-${e}`))})]}),kM=K22(),yq7=[kM.accessor("code",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"CODE"})}),cell:()=>z.jsx(U3,{children:z.jsx(M6,{size:"sm",width:"44"})})}),kM.accessor("name",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"NAME"})}),cell:()=>z.jsx(U3,{children:z.jsx(M6,{size:"sm",width:"116"})})}),kM.accessor("version",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"VERSION"})}),cell:()=>z.jsx(U3,{children:z.jsx(M6,{size:"sm",width:"54"})})}),kM.accessor("publicationDate",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"PUBLICATION DATE"})}),cell:()=>z.jsxs(U3,{style:{gap:"1rem"},children:[z.jsx(wM,{size:"16"}),z.jsx(M6,{size:"sm",width:"100"})]})})],At7=({title:c="Related Documents"})=>{const[l,a]=H.useState(()=>[...uq7]),e=z02({data:l,columns:yq7,getCoreRowModel:t02()});return z.jsxs("div",{children:[z.jsx(H0,{variant:"medium",style:{marginBottom:"2.4rem"},children:c}),z.jsxs(L02,{children:[z.jsx($t7,{children:e.getHeaderGroups().map(s=>z.jsx("tr",{children:s.headers.map((o,n)=>z.jsx(St7,{className:n===s.headers.length-1?"lastTh":"",children:o.isPlaceholder?null:Va(o.column.columnDef.header,o.getContext())},o.id))},s.id))}),z.jsx(m02,{children:e.getRowModel().rows.map((s,o)=>z.jsx(p02,{className:o===e.getRowModel().rows.length-1?"lastTr":"",children:s.getVisibleCells().map((n,r)=>z.jsx(M02,{className:r===s.getVisibleCells().length-1?"lastTd":"",children:Va(n.column.columnDef.cell,n.getContext())},n.id))},s.id))})]})]})},vt7=({skeletonsLenght:c=3,title:l="Approvals"})=>z.jsxs(Sq7,{children:[z.jsx(H0,{variant:"medium",children:l}),z.jsx("img",{src:"/public/skeletons/skeleton-approval-header.svg",id:"skeleton-approval-header"}),Array.from({length:c}).map((a,e)=>e+1>1&&(e+1)%2!==0?z.jsxs("div",{id:`approval-info-divider-${e}`,children:[z.jsx(bt7,{}),z.jsx("img",{src:"/public/skeletons/skeleton-approval-header.svg",id:"skeleton-approval-header"}),z.jsx("img",{src:"/public/skeletons/skeleton-approval-info.svg",id:"skeleton-approval-info"},`skeleton-approvals-info-${e}`)]},`approval-info-divider-${e}`):z.jsx("img",{src:"/public/skeletons/skeleton-approval-info.svg",id:"skeleton-approval-info"},`skeleton-approvals-info-${e}`))]}),Bt7=({skeletonsLenght:c=3,title:l="Versions Log"})=>z.jsxs($q7,{children:[z.jsx(H0,{variant:"medium",children:l}),Array.from({length:c}).map((a,e)=>e>0?z.jsxs("div",{id:`alternative-component-${e}`,children:[z.jsx(bt7,{}),z.jsx("img",{src:"/public/skeletons/skeleton-versions-log.svg",id:"skeleton-versions-log"},`skeleton-versions-log-${e}`)]},`alternative-component-${e}`):z.jsx("img",{src:"/public/skeletons/skeleton-versions-log.svg",id:"skeleton-versions-log"},`skeleton-versions-log-${e}`))]}),u02=K22(),Aq7=[u02.accessor("users",{cell:()=>z.jsx(U3,{style:{padding:"0 2.4rem 0 0"},children:z.jsx(M6,{size:"body1",width:"128"})})}),u02.accessor("distribution",{cell:()=>z.jsx(U3,{style:{padding:"0 1.6rem"},children:z.jsxs(Nt7,{children:[z.jsx(M6,{size:"body2",width:"128"}),z.jsx(M6,{size:"sm",width:"224"})]})})}),u02.accessor("readControl",{cell:()=>z.jsx(U3,{style:{padding:"1.3rem 1.45rem"},children:z.jsx(wM,{size:"24"})})})],vq7=({})=>{const[c,l]=H.useState(()=>[...xt7]),a=z02({data:c,columns:Aq7,getCoreRowModel:t02()});return z.jsxs("div",{children:[z.jsx(H0,{variant:"medium",children:"Access User Settings"}),z.jsx(L02,{style:{border:"none",marginTop:"1.6rem"},children:z.jsx(m02,{children:a.getRowModel().rows.map(e=>z.jsx(p02,{children:e.getVisibleCells().map(s=>z.jsx(M02,{style:{border:"none"},children:Va(s.column.columnDef.cell,s.getContext())},s.id))},e.id))})})]})},Bq7={relatedDocuments:z.jsx(At7,{}),accessUserList:z.jsxs("div",{children:[z.jsx(vq7,{}),z.jsx(wt7,{})]}),glossary:z.jsx(kt7,{letters:["A","B"]}),associations:z.jsx(yt7,{}),approvals:z.jsx(vt7,{}),versionsLog:z.jsx(Bt7,{})},Tq7=({type:c="relatedDocuments"})=>z.jsx(Nq7,{children:z.jsx("div",{className:"contentThumb",children:z.jsx("div",{className:"scaled",style:{top:c==="relatedDocuments"?9.92:0},children:Bq7[c]})})}),Tt7=S1(T,{display:"flex",flexDirection:"row",padding:"1.4rem .8rem",borderRight:"1px solid",borderLeft:"1px solid #E5E5E5",borderTop:"1px solid",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"4rem"}),Ft7=S1(T,{display:"flex",flexDirection:"row",gap:".8rem",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",borderTop:"1px solid",background:"white",borderColor:"#E5E5E5",width:"35.6rem"}),Dt7=S1(T,{display:"flex",flexDirection:"row",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",borderTop:"1px solid",background:"white",borderColor:"#E5E5E5",width:"18.4rem",justifyContent:"flex-end",alignItems:"center",alignSelf:"stretch"}),Fq7=S1(T,{display:"flex",padding:"1.4rem .8rem",justifyContent:"center",alignItems:"center",borderRight:"1px solid",borderLeft:"1px solid #E5E5E5",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"4rem"}),Dq7=S1(T,{display:"flex",gap:".8rem",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"35.6rem"}),Pq7=S1(T,{display:"flex",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"18.4rem",justifyContent:"flex-end",alignItems:"center",alignSelf:"stretch"}),Hq7=S1(T,{display:"flex",height:"24px",padding:"0px 10px",justifyContent:"center",alignItems:"center",borderRadius:"24px",border:"1px solid #93C5FD",background:"#DBEAFE"}),Rq7=({initialItems:c,languageHeader:l,organizationHeader:a,onChangeItems:e,customComponent:s})=>{const[o,n]=H.useState(c),[r,f]=H.useState(!1),m=u=>{const p=u.map((d,h)=>({...d,isPrimary:h===0}));n(p)},M=()=>{f(!0)};return H.useEffect(()=>{r&&e&&(e(o),f(!1))},[r,o,e]),z.jsxs(T,{display:"flex",flexDirection:"column",height:"40rem",children:[z.jsxs(T,{display:"flex",children:[z.jsx(Tt7,{}),z.jsx(Ft7,{children:z.jsx(y2,{variant:"bold",color:x2("neutrals.8"),children:l})}),z.jsx(Dt7,{children:z.jsx(y2,{variant:"bold",color:x2("neutrals.8"),children:a})})]}),z.jsx(Xs7.Group,{axis:"y",onReorder:m,values:o,children:o.map((u,p)=>z.jsxs(Xs7.Item,{value:u,onDragEnd:M,id:u.id,style:{display:"flex"},children:[z.jsx(Fq7,{children:z.jsx(M5,{className:"fa-regular fa-grip-dots-vertical",style:{fontSize:"2rem",color:"#737373"}})}),z.jsxs(Dq7,{children:[z.jsx(P6,{size:14,code:u.flag,styles:{margin:".4rem"}}),z.jsxs(T,{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",flex:"1 0 0"},children:[z.jsx(t2,{variant:"bold",color:"$gray800",children:u.language}),z.jsx(t2,{variant:"regular",color:"$gray800",children:u.country})]})]}),z.jsx(Pq7,{children:p===0&&z.jsx(Hq7,{children:z.jsx(t2,{variant:"bold",color:x2("blue700"),children:"Primary"})})})]},u.id))}),z.jsxs(T,{display:"flex",children:[z.jsx(Tt7,{style:{borderTop:"none"}}),z.jsx(Ft7,{style:{borderTop:"none"},children:s}),z.jsx(Dt7,{style:{borderTop:"none"}})]})]})};k2.AccessUserList=wt7,k2.AccordionTree=t$7,k2.Alert=io7,k2.Approvals=vt7,k2.Associations=yt7,k2.Avatar=U0,k2.Badge=l4,k2.CardMC=u7,k2.CopyLink=FU7,k2.DinamicFlag=e7,k2.DraggableLanguages=Rq7,k2.FAFont=Pl7,k2.FAIcon=h2,k2.Glossary=kt7,k2.Image=G0,k2.InputAI=au7,k2.ListMC=Q0,k2.NotificationBuilderAdmin=AU7,k2.NotificationBuilderModule=ld7,k2.OphimaticIcon=KL,k2.OrangeSlider=Hu7,k2.Radio=Ys7,k2.RadioButton=oN7,k2.RadioButtonAvatar=iN7,k2.RadioButtonIcon=nN7,k2.RadioButtonImage=iY1,k2.RadioTag=rN7,k2.RelatedDocuments=At7,k2.ScrollNavigator=tu7,k2.Signature=vu7,k2.TagLink=nd7,k2.TagOutline=rd7,k2.TagSolid=Q4,k2.TagStatus=fd7,k2.Thumbnail=Tq7,k2.VersionsLog=Bt7,k2.injectStitchesStyles=gC7,k2.useStoreNotifications=Y3,Object.defineProperty(k2,Symbol.toStringTag,{value:"Module"})});
1158
+ */function Va(c,l){return c?fq7(c)?t5.createElement(c,l):c:null}function fq7(c){return tq7(c)||typeof c=="function"||zq7(c)}function tq7(c){return typeof c=="function"&&(()=>{const l=Object.getPrototypeOf(c);return l.prototype&&l.prototype.isReactComponent})()}function zq7(c){return typeof c=="object"&&typeof c.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(c.$$typeof.description)}function z02(c){const l={state:{},onStateChange:()=>{},renderFallbackValue:null,...c},[a]=t5.useState(()=>({current:rq7(l)})),[e,s]=t5.useState(()=>a.current.initialState);return a.current.setOptions(o=>({...o,...c,state:{...e,...c.state},onStateChange:n=>{s(n),c.onStateChange==null||c.onStateChange(n)}})),a.current}const Lq7=c=>({xxs:"8",xs:"10",sm:"12",body2:"14",body1:"16",label:"14",h5:"18",h4:"20",h3:"24",h2:"30",h1:"36"})[c],ht7=c=>({xxs:"2",xs:"2",sm:"2",body2:"3",body1:"4",label:"3",h5:"5",h4:"4",h3:"4",h2:"3",h1:"3"})[c],mq7=c=>({xxs:"4",xs:"5",sm:"6",body2:"7",body1:"8",label:"7",h5:"9",h4:"10",h3:"12",h2:"15",h1:"15"})[c],Mq7=c=>({xxs:"24",xs:"32",sm:"40",md:"56",lg:"64",xl:"80",xxl:"112"})[c],M6=({size:c="xs",width:l="262",isLoading:a=!1,speed:e=1,styleContentLoader:s,skeletonProps:o})=>{const n=Lq7(c),r=Number(n)+Number(ht7(c))*2;return z.jsx(a7,{"data-testid":"content-loader",speed:e,width:l,height:r,viewBox:`0 0 ${l} ${r}`,backgroundColor:"#E5E5E5",foregroundColor:a?"#F5F5F5":"#E5E5E5",style:{...s},children:z.jsx("rect",{"data-testid":"skeleton-rect",width:l,height:n,y:ht7(c),rx:mq7(c),fill:"#E5E5E5",...o})})},pq7={code:{type:"typo",variant:"sm"},name:{type:"typo",variant:"sm"},version:{type:"typo",variant:"sm"},publicationDate:{type:"visuals",variant:"sm"}},Cq7={users:{type:"avatar",variant:"sm"},distribution:{type:"visuals",variant:"24"},readControl:{type:"visuals",variant:"24"}},uq7=Array.from({length:5},()=>({...pq7})),xt7=Array.from({length:3},()=>({...Cq7})),L02=S1("table",{border:".1rem solid $neutral300",borderSpacing:0}),m02=S1("tbody",{borderBottom:"none",".lastTr":{borderBottom:"none",td:{borderBottom:"none"}}}),St7=S1("th",{borderBottom:".1rem solid $neutral300",borderRight:".1rem solid $neutral300"}),$t7=S1("thead",{tr:{".lastTh":{borderRight:"none"}}}),M02=S1("td",{borderBottom:".1rem solid $neutral300",borderRight:".1rem solid $neutral300"}),p02=S1("tr",{".lastTd":{borderRight:"none"}}),X8=S1("div",{padding:"1.2rem 1.4rem",backgroundColor:"$neutral50",display:"flex",justifyContent:"space-between"}),U3=S1("div",{padding:"1.2rem",backgroundColor:"$white",display:"flex",justifyContent:"center",alignItems:"center"}),Nt7=S1("div",{display:"flex",flexDirection:"column"}),dq7=S1("div",{display:"flex",flexDirection:"column",gap:"2.4rem",maxWidth:"43.5rem",paddingBottom:"2.4rem","#skeleton-sets":{},"#skeleton-terms":{}}),gq7=S1("div",{display:"flex",flexDirection:"column",width:"100%",padding:"0 1.6rem"}),hq7=S1("div",{display:"flex",flexDirection:"column",maxWidth:"43.5rem",gap:"2.4rem"}),xq7=S1("div",{display:"flex",flexDirection:"column",width:"100%",gap:"4rem"}),Sq7=S1("div",{display:"flex",flexDirection:"column",gap:"2.4rem",maxWidth:"43.5rem"}),bt7=S1("div",{width:"100%",height:".1rem",backgroundColor:"#D4D4D4",marginBottom:"2.4rem"}),$q7=S1("div",{display:"flex",flexDirection:"column",maxWidth:"43.5rem",gap:"2.4rem"}),Nq7=S1("div",{display:"flex",justifyContent:"center",alignItems:"center",width:"6.4rem",height:"6.4rem",borderRadius:".4rem",border:".1rem solid $neutral300",".contentThumb":{position:"relative",width:"5.6rem",height:"5.6rem",overflow:"hidden",".scaled":{transform:"scale(0.1287)",transformOrigin:"top left",position:"absolute",top:0,left:0}}}),wM=({size:c="8",speed:l=1,skeletonProps:a,isLoading:e=!1,styleContentLoader:s,padding:o})=>{const n=Number(c)/2,r=o?(Number(o)*2+Number(c)).toString():c;return z.jsx(a7,{"data-testid":"content-loader-visuals",speed:l,width:r,height:r,viewBox:`0 0 ${r} ${r}`,backgroundColor:"#D4D4D4",foregroundColor:e?"#E5E5E5":"#D4D4D4",style:{display:"flex",justifyContent:"center",alignItems:"center",...s},children:z.jsx("circle",{"data-testid":"skeleton-circle",cx:o?n+Number(o):n,cy:o?n+Number(o):n,r:n,fill:"#D4D4D4",...a})})},bq7=({size:c="md",speed:l=1,skeletonProps:a,isLoading:e=!1,styleContentLoader:s})=>{const o=Mq7(c),n=Number(o)/2;return z.jsx(a7,{"data-testid":"content-loader-avatar",speed:l,width:o,height:o,viewBox:`0 0 ${o} ${o}`,backgroundColor:"#D4D4D4",foregroundColor:e?"#E5E5E5":"#D4D4D4",style:{display:"flex",justifyContent:"center",alignItems:"center",...s},children:z.jsx("circle",{"data-testid":"skeleton-circle-avatar",cx:n,cy:n,r:n,fill:"#D4D4D4",...a})})},C02=K22(),wq7=[C02.accessor("users",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"USERS"})}),cell:()=>z.jsxs(U3,{style:{gap:"1rem"},children:[z.jsx(bq7,{size:"xs"}),z.jsxs(Nt7,{children:[z.jsx(M6,{size:"body2",width:"128"}),z.jsx(M6,{size:"sm",width:"139"})]})]})}),C02.accessor("distribution",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"DISTRIBUTION"})}),cell:()=>z.jsx(U3,{children:z.jsx(wM,{size:"24"})})}),C02.accessor("readControl",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"READ CONTROL"})}),cell:()=>z.jsx(U3,{children:z.jsx(wM,{size:"24"})})})],wt7=({})=>{const[c,l]=H.useState(()=>[...xt7]),a=z02({data:c,columns:wq7,getCoreRowModel:t02()});return z.jsxs("div",{children:[z.jsx(H0,{variant:"medium",children:"Access User List"}),z.jsxs(L02,{style:{marginTop:"1.6rem"},children:[z.jsx($t7,{children:a.getHeaderGroups().map(e=>z.jsx("tr",{children:e.headers.map((s,o)=>z.jsx(St7,{className:o===e.headers.length-1?"lastTh":"",children:s.isPlaceholder?null:Va(s.column.columnDef.header,s.getContext())},s.id))},e.id))}),z.jsx(m02,{children:a.getRowModel().rows.map((e,s)=>z.jsx(p02,{className:s===a.getRowModel().rows.length-1?"lastTr":"",children:e.getVisibleCells().map((o,n)=>z.jsx(M02,{className:n===e.getVisibleCells().length-1?"lastTd":"",children:Va(o.column.columnDef.cell,o.getContext())},o.id))},e.id))})]})]})},kq7=({letter:c})=>z.jsxs(gq7,{children:[z.jsx(H0,{variant:"bold2",children:c}),z.jsx("img",{src:"/skeletons/skeleton-terms.svg",id:"skeleton-terms"})]}),kt7=({letters:c=["A","B"],title:l="Glossary",hasSets:a=!0})=>z.jsxs(dq7,{children:[z.jsx(H0,{variant:"medium",children:l}),a&&z.jsx("img",{src:"/skeletons/skeleton-sets.svg",id:"skeleton-sets"}),c.map((e,s)=>z.jsx(kq7,{letter:e},`${e}-${s}`))]}),yt7=({skeletonsLenght:c=2,title:l="Associations"})=>z.jsxs(hq7,{children:[z.jsx(H0,{variant:"medium",children:l}),z.jsx(xq7,{children:Array.from({length:c}).map((a,e)=>z.jsx("img",{src:"/skeletons/skeleton-associations.svg",id:"skeleton-associations"},`skeleton-associations-${e}`))})]}),kM=K22(),yq7=[kM.accessor("code",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"CODE"})}),cell:()=>z.jsx(U3,{children:z.jsx(M6,{size:"sm",width:"44"})})}),kM.accessor("name",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"NAME"})}),cell:()=>z.jsx(U3,{children:z.jsx(M6,{size:"sm",width:"116"})})}),kM.accessor("version",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"VERSION"})}),cell:()=>z.jsx(U3,{children:z.jsx(M6,{size:"sm",width:"54"})})}),kM.accessor("publicationDate",{header:()=>z.jsx(X8,{children:z.jsx($0,{variant:"bold",children:"PUBLICATION DATE"})}),cell:()=>z.jsxs(U3,{style:{gap:"1rem"},children:[z.jsx(wM,{size:"16"}),z.jsx(M6,{size:"sm",width:"100"})]})})],At7=({title:c="Related Documents"})=>{const[l,a]=H.useState(()=>[...uq7]),e=z02({data:l,columns:yq7,getCoreRowModel:t02()});return z.jsxs("div",{children:[z.jsx(H0,{variant:"medium",style:{marginBottom:"2.4rem"},children:c}),z.jsxs(L02,{children:[z.jsx($t7,{children:e.getHeaderGroups().map(s=>z.jsx("tr",{children:s.headers.map((o,n)=>z.jsx(St7,{className:n===s.headers.length-1?"lastTh":"",children:o.isPlaceholder?null:Va(o.column.columnDef.header,o.getContext())},o.id))},s.id))}),z.jsx(m02,{children:e.getRowModel().rows.map((s,o)=>z.jsx(p02,{className:o===e.getRowModel().rows.length-1?"lastTr":"",children:s.getVisibleCells().map((n,r)=>z.jsx(M02,{className:r===s.getVisibleCells().length-1?"lastTd":"",children:Va(n.column.columnDef.cell,n.getContext())},n.id))},s.id))})]})]})},vt7=({skeletonsLenght:c=3,title:l="Approvals"})=>z.jsxs(Sq7,{children:[z.jsx(H0,{variant:"medium",children:l}),z.jsx("img",{src:"/skeletons/skeleton-approval-header.svg",id:"skeleton-approval-header"}),Array.from({length:c}).map((a,e)=>e+1>1&&(e+1)%2!==0?z.jsxs("div",{id:`approval-info-divider-${e}`,children:[z.jsx(bt7,{}),z.jsx("img",{src:"/skeletons/skeleton-approval-header.svg",id:"skeleton-approval-header"}),z.jsx("img",{src:"/skeletons/skeleton-approval-info.svg",id:"skeleton-approval-info"},`skeleton-approvals-info-${e}`)]},`approval-info-divider-${e}`):z.jsx("img",{src:"/skeletons/skeleton-approval-info.svg",id:"skeleton-approval-info"},`skeleton-approvals-info-${e}`))]}),Bt7=({skeletonsLenght:c=3,title:l="Versions Log"})=>z.jsxs($q7,{children:[z.jsx(H0,{variant:"medium",children:l}),Array.from({length:c}).map((a,e)=>e>0?z.jsxs("div",{id:`alternative-component-${e}`,children:[z.jsx(bt7,{}),z.jsx("img",{src:"/skeletons/skeleton-versions-log.svg",id:"skeleton-versions-log"},`skeleton-versions-log-${e}`)]},`alternative-component-${e}`):z.jsx("img",{src:"/skeletons/skeleton-versions-log.svg",id:"skeleton-versions-log"},`skeleton-versions-log-${e}`))]}),u02=K22(),Aq7=[u02.accessor("users",{cell:()=>z.jsx(U3,{style:{padding:"0 2.4rem 0 0"},children:z.jsx(M6,{size:"body1",width:"128"})})}),u02.accessor("distribution",{cell:()=>z.jsx(U3,{style:{padding:"0 1.6rem"},children:z.jsxs(Nt7,{children:[z.jsx(M6,{size:"body2",width:"128"}),z.jsx(M6,{size:"sm",width:"224"})]})})}),u02.accessor("readControl",{cell:()=>z.jsx(U3,{style:{padding:"1.3rem 1.45rem"},children:z.jsx(wM,{size:"24"})})})],vq7=({})=>{const[c,l]=H.useState(()=>[...xt7]),a=z02({data:c,columns:Aq7,getCoreRowModel:t02()});return z.jsxs("div",{children:[z.jsx(H0,{variant:"medium",children:"Access User Settings"}),z.jsx(L02,{style:{border:"none",marginTop:"1.6rem"},children:z.jsx(m02,{children:a.getRowModel().rows.map(e=>z.jsx(p02,{children:e.getVisibleCells().map(s=>z.jsx(M02,{style:{border:"none"},children:Va(s.column.columnDef.cell,s.getContext())},s.id))},e.id))})})]})},Bq7={relatedDocuments:z.jsx(At7,{}),accessUserList:z.jsxs("div",{children:[z.jsx(vq7,{}),z.jsx(wt7,{})]}),glossary:z.jsx(kt7,{letters:["A","B"]}),associations:z.jsx(yt7,{}),approvals:z.jsx(vt7,{}),versionsLog:z.jsx(Bt7,{})},Tq7=({type:c="relatedDocuments"})=>z.jsx(Nq7,{children:z.jsx("div",{className:"contentThumb",children:z.jsx("div",{className:"scaled",style:{top:c==="relatedDocuments"?9.92:0},children:Bq7[c]})})}),Tt7=S1(T,{display:"flex",flexDirection:"row",padding:"1.4rem .8rem",borderRight:"1px solid",borderLeft:"1px solid #E5E5E5",borderTop:"1px solid",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"4rem"}),Ft7=S1(T,{display:"flex",flexDirection:"row",gap:".8rem",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",borderTop:"1px solid",background:"white",borderColor:"#E5E5E5",width:"35.6rem"}),Dt7=S1(T,{display:"flex",flexDirection:"row",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",borderTop:"1px solid",background:"white",borderColor:"#E5E5E5",width:"18.4rem",justifyContent:"flex-end",alignItems:"center",alignSelf:"stretch"}),Fq7=S1(T,{display:"flex",padding:"1.4rem .8rem",justifyContent:"center",alignItems:"center",borderRight:"1px solid",borderLeft:"1px solid #E5E5E5",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"4rem"}),Dq7=S1(T,{display:"flex",gap:".8rem",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"35.6rem"}),Pq7=S1(T,{display:"flex",padding:"1.4rem 1.6rem",borderRight:"1px solid",borderBottom:"1px solid",background:"white",borderColor:"#E5E5E5",width:"18.4rem",justifyContent:"flex-end",alignItems:"center",alignSelf:"stretch"}),Hq7=S1(T,{display:"flex",height:"24px",padding:"0px 10px",justifyContent:"center",alignItems:"center",borderRadius:"24px",border:"1px solid #93C5FD",background:"#DBEAFE"}),Rq7=({initialItems:c,languageHeader:l,organizationHeader:a,onChangeItems:e,customComponent:s})=>{const[o,n]=H.useState(c),[r,f]=H.useState(!1),m=u=>{const p=u.map((d,h)=>({...d,isPrimary:h===0}));n(p)},M=()=>{f(!0)};return H.useEffect(()=>{r&&e&&(e(o),f(!1))},[r,o,e]),z.jsxs(T,{display:"flex",flexDirection:"column",height:"40rem",children:[z.jsxs(T,{display:"flex",children:[z.jsx(Tt7,{}),z.jsx(Ft7,{children:z.jsx(y2,{variant:"bold",color:x2("neutrals.8"),children:l})}),z.jsx(Dt7,{children:z.jsx(y2,{variant:"bold",color:x2("neutrals.8"),children:a})})]}),z.jsx(Xs7.Group,{axis:"y",onReorder:m,values:o,children:o.map((u,p)=>z.jsxs(Xs7.Item,{value:u,onDragEnd:M,id:u.id,style:{display:"flex"},children:[z.jsx(Fq7,{children:z.jsx(M5,{className:"fa-regular fa-grip-dots-vertical",style:{fontSize:"2rem",color:"#737373"}})}),z.jsxs(Dq7,{children:[z.jsx(P6,{size:14,code:u.flag,styles:{margin:".4rem"}}),z.jsxs(T,{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",flex:"1 0 0"},children:[z.jsx(t2,{variant:"bold",color:"$gray800",children:u.language}),z.jsx(t2,{variant:"regular",color:"$gray800",children:u.country})]})]}),z.jsx(Pq7,{children:p===0&&z.jsx(Hq7,{children:z.jsx(t2,{variant:"bold",color:x2("blue700"),children:"Primary"})})})]},u.id))}),z.jsxs(T,{display:"flex",children:[z.jsx(Tt7,{style:{borderTop:"none"}}),z.jsx(Ft7,{style:{borderTop:"none"},children:s}),z.jsx(Dt7,{style:{borderTop:"none"}})]})]})};k2.AccessUserList=wt7,k2.AccordionTree=t$7,k2.Alert=io7,k2.Approvals=vt7,k2.Associations=yt7,k2.Avatar=U0,k2.Badge=l4,k2.CardMC=u7,k2.CopyLink=FU7,k2.DinamicFlag=e7,k2.DraggableLanguages=Rq7,k2.FAFont=Pl7,k2.FAIcon=h2,k2.Glossary=kt7,k2.Image=G0,k2.InputAI=au7,k2.ListMC=Q0,k2.NotificationBuilderAdmin=AU7,k2.NotificationBuilderModule=ld7,k2.OphimaticIcon=KL,k2.OrangeSlider=Hu7,k2.Radio=Ys7,k2.RadioButton=oN7,k2.RadioButtonAvatar=iN7,k2.RadioButtonIcon=nN7,k2.RadioButtonImage=iY1,k2.RadioTag=rN7,k2.RelatedDocuments=At7,k2.ScrollNavigator=tu7,k2.Signature=vu7,k2.TagLink=nd7,k2.TagOutline=rd7,k2.TagSolid=Q4,k2.TagStatus=fd7,k2.Thumbnail=Tq7,k2.VersionsLog=Bt7,k2.injectStitchesStyles=gC7,k2.useStoreNotifications=Y3,Object.defineProperty(k2,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,3 @@
1
+ <svg width="60" height="12" viewBox="0 0 60 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="60" height="12" rx="6" fill="#A3A3A3"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="160" height="32" viewBox="0 0 160 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="16" cy="16" r="16" fill="#A3A3A3"/>
3
+ <rect x="40" y="2" width="60" height="12" rx="6" fill="#A3A3A3"/>
4
+ <rect x="40" y="18" width="120" height="12" rx="6" fill="#A3A3A3"/>
5
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordage-enterprise",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Cordage Enterprise Component Library",
5
5
  "main": "dist/cordage-enterprise.umd.js",
6
6
  "module": "dist/cordage-enterprise.es.js",