UNPKG

license-kit

Version:

Aggregate license notes of OSS libraries used in your Node.js project, analyze & visualize OSS licenses with AI-turbocharged tooling

1 lines 562 kB
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[75],{1378:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(7620).createContext(null)},3775:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(7620),i=n(72902),o=n(87138),a=n(17334),s=n(47226),l=n(10831),u=n(68613),c=n(85120),h=n(78020),d=n(33664);function f(e){return(0,d.Ay)("MuiListItemText",e)}let p=(0,h.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var m=n(47972),g=n(54568);let v=(0,u.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{["& .".concat(p.primary)]:t.primary},{["& .".concat(p.secondary)]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[".".concat(a.A.root,":where(& .").concat(p.primary,")")]:{display:"block"},[".".concat(a.A.root,":where(& .").concat(p.secondary,")")]:{display:"block"},variants:[{props:e=>{let{ownerState:t}=e;return t.primary&&t.secondary},style:{marginTop:6,marginBottom:6}},{props:e=>{let{ownerState:t}=e;return t.inset},style:{paddingLeft:56}}]}),y=r.forwardRef(function(e,t){let n=(0,c.b)({props:e,name:"MuiListItemText"}),{children:a,className:u,disableTypography:h=!1,inset:d=!1,primary:p,primaryTypographyProps:y,secondary:b,secondaryTypographyProps:x,slots:w={},slotProps:k={},...A}=n,{dense:S}=r.useContext(l.A),M=null!=p?p:a,E=b,C={...n,disableTypography:h,inset:d,primary:!!M,secondary:!!E,dense:S},P=(e=>{let{classes:t,inset:n,primary:r,secondary:i,dense:a}=e;return(0,o.A)({root:["root",n&&"inset",a&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},f,t)})(C),T={slots:w,slotProps:{primary:y,secondary:x,...k}},[O,_]=(0,m.A)("root",{className:(0,i.A)(P.root,u),elementType:v,externalForwardedProps:{...T,...A},ownerState:C,ref:t}),[R,j]=(0,m.A)("primary",{className:P.primary,elementType:s.A,externalForwardedProps:T,ownerState:C}),[D,L]=(0,m.A)("secondary",{className:P.secondary,elementType:s.A,externalForwardedProps:T,ownerState:C});return null==M||M.type===s.A||h||(M=(0,g.jsx)(R,{variant:S?"body2":"body1",component:(null==j?void 0:j.variant)?void 0:"span",...j,children:M})),null==E||E.type===s.A||h||(E=(0,g.jsx)(D,{variant:"body2",color:"textSecondary",...L,children:E})),(0,g.jsxs)(O,{..._,children:[M,E]})})},3998:(e,t,n)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>i})},4919:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1084),i=n(54568);let o=(0,r.A)([(0,i.jsx)("path",{d:"M13 4H6v16h12V9h-5zm3 10v2h-3v3h-2v-3H8v-2h3v-3h2v3z",opacity:".3"},"0"),(0,i.jsx)("path",{d:"M13 11h-2v3H8v2h3v3h2v-3h3v-2h-3zm1-9H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"},"1")],"NoteAddTwoTone")},5005:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(7620),i=n(72902),o=n(87138),a=n(68613),s=n(79468),l=n(85120),u=n(43089),c=n(12525),h=n(78020),d=n(33664);function f(e){return(0,d.Ay)("MuiAccordionSummary",e)}let p=(0,h.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var m=n(47972),g=n(54568);let v=(0,a.Ay)(u.A,{name:"MuiAccordionSummary",slot:"Root"})((0,s.A)(e=>{let{theme:t}=e,n={duration:t.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],n),["&.".concat(p.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(p.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["&:hover:not(.".concat(p.disabled,")")]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{["&.".concat(p.expanded)]:{minHeight:64}}}]}})),y=(0,a.Ay)("span",{name:"MuiAccordionSummary",slot:"Content"})((0,s.A)(e=>{let{theme:t}=e;return{display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),["&.".concat(p.expanded)]:{margin:"20px 0"}}}]}})),b=(0,a.Ay)("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper"})((0,s.A)(e=>{let{theme:t}=e;return{display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),["&.".concat(p.expanded)]:{transform:"rotate(180deg)"}}})),x=r.forwardRef(function(e,t){let n=(0,l.b)({props:e,name:"MuiAccordionSummary"}),{children:a,className:s,expandIcon:u,focusVisibleClassName:h,onClick:d,slots:p,slotProps:x,...w}=n,{disabled:k=!1,disableGutters:A,expanded:S,toggle:M}=r.useContext(c.A),E={...n,expanded:S,disabled:k,disableGutters:A},C=(e=>{let{classes:t,expanded:n,disabled:r,disableGutters:i}=e;return(0,o.A)({root:["root",n&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]},f,t)})(E),P={slots:p,slotProps:x},[T,O]=(0,m.A)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,i.A)(C.root,s),elementType:v,externalForwardedProps:{...P,...w},ownerState:E,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:k,"aria-expanded":S,focusVisibleClassName:(0,i.A)(C.focusVisible,h)},getSlotProps:e=>({...e,onClick:t=>{var n;null==(n=e.onClick)||n.call(e,t),M&&M(t),d&&d(t)}})}),[_,R]=(0,m.A)("content",{className:C.content,elementType:y,externalForwardedProps:P,ownerState:E}),[j,D]=(0,m.A)("expandIconWrapper",{className:C.expandIconWrapper,elementType:b,externalForwardedProps:P,ownerState:E});return(0,g.jsxs)(T,{...O,children:[(0,g.jsx)(_,{...R,children:a}),u&&(0,g.jsx)(j,{...D,children:u})]})})},5299:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(7620),i=n(72902),o=n(87138),a=n(69274),s=n(68613),l=n(71774),u=n(79468),c=n(85120),h=n(87626),d=n(78020),f=n(33664);function p(e){return(0,f.Ay)("MuiPaper",e)}(0,d.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var m=n(54568);let g=(0,s.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((0,u.A)(e=>{let{theme:t}=e;return{backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:e=>{let{ownerState:t}=e;return!t.square},style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:"1px solid ".concat((t.vars||t).palette.divider)}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}})),v=r.forwardRef(function(e,t){var n;let r=(0,c.b)({props:e,name:"MuiPaper"}),s=(0,l.A)(),{className:u,component:d="div",elevation:f=1,square:v=!1,variant:y="elevation",...b}=r,x={...r,component:d,elevation:f,square:v,variant:y},w=(e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return(0,o.A)({root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]},p,i)})(x);return(0,m.jsx)(g,{as:d,ownerState:x,className:(0,i.A)(w.root,u),ref:t,...b,style:{..."elevation"===y&&{"--Paper-shadow":(s.vars||s).shadows[f],...s.vars&&{"--Paper-overlay":null==(n=s.vars.overlays)?void 0:n[f]},...!s.vars&&"dark"===s.palette.mode&&{"--Paper-overlay":"linear-gradient(".concat((0,a.X4)("#fff",(0,h.A)(f)),", ").concat((0,a.X4)("#fff",(0,h.A)(f)),")")}},...b.style}})})},5958:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(63009);function i(e){let t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},6142:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7620);function i(e){return parseInt(r.version,10)>=19?e?.props?.ref||null:e?.ref||null}},6504:(e,t,n)=>{var r=n(45279);e.exports=function(e){return r(e).filter(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])})}},9257:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1084),i=n(54568);let o=(0,r.A)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMoreTwoTone")},10796:(e,t,n)=>{"use strict";let r=n(30186);e.exports=function(e){let t={},n=e.nodes().filter(t=>!e.children(t).length),i=n.map(t=>e.node(t).rank),o=r.applyWithChunking(Math.max,i),a=r.range(o+1).map(()=>[]);return n.sort((t,n)=>e.node(t).rank-e.node(n).rank).forEach(function n(r){t[r]||(t[r]=!0,a[e.node(r).rank].push(r),e.successors(r).forEach(n))}),a}},10831:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(7620).createContext({})},11239:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1084),i=n(54568);let o=(0,r.A)((0,i.jsx)("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChartTwoTone")},11342:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(r,s))}},12525:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(7620).createContext({})},13043:(e,t,n)=>{var r=n(32465);e.exports=function(e,t,n){return e.nodes().reduce(function(i,o){return i[o]=r(e,o,t,n),i},{})}},13361:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(82156).A},13909:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(7620),i=n(72902),o=n(87138),a=n(68613),s=n(85120),l=n(47972),u=n(86581),c=n(6142),h=n(71774),d=n(97343),f=n(21377),p=n(54568);let m={entering:{opacity:1},entered:{opacity:1}},g=r.forwardRef(function(e,t){let n=(0,h.A)(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:g,onEnter:v,onEntered:y,onEntering:b,onExit:x,onExited:w,onExiting:k,style:A,timeout:S=i,TransitionComponent:M=u.Ay,...E}=e,C=r.useRef(null),P=(0,f.A)(C,(0,c.A)(s),t),T=e=>t=>{if(e){let n=C.current;void 0===t?e(n):e(n,t)}},O=T(b),_=T((e,t)=>{(0,d.q)(e);let r=(0,d.c)({style:A,timeout:S,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),v&&v(e,t)}),R=T(y),j=T(k),D=T(e=>{let t=(0,d.c)({style:A,timeout:S,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),x&&x(e)}),L=T(w);return(0,p.jsx)(M,{appear:a,in:g,nodeRef:C,onEnter:_,onEntered:R,onEntering:O,onExit:D,onExited:L,onExiting:j,addEndListener:e=>{o&&o(C.current,e)},timeout:S,...E,children:(e,t)=>{let{ownerState:n,...i}=t;return r.cloneElement(s,{style:{opacity:0,visibility:"exited"!==e||g?void 0:"hidden",...m[e],...A,...s.props.style},ref:P,...i})}})});var v=n(78020),y=n(33664);function b(e){return(0,y.Ay)("MuiBackdrop",e)}(0,v.A)("MuiBackdrop",["root","invisible"]);let x=(0,a.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),w=r.forwardRef(function(e,t){let n=(0,s.b)({props:e,name:"MuiBackdrop"}),{children:r,className:a,component:u="div",invisible:c=!1,open:h,components:d={},componentsProps:f={},slotProps:m={},slots:v={},TransitionComponent:y,transitionDuration:w,...k}=n,A={...n,component:u,invisible:c},S=(e=>{let{classes:t,invisible:n}=e;return(0,o.A)({root:["root",n&&"invisible"]},b,t)})(A),M={component:u,slots:{transition:y,root:d.Root,...v},slotProps:{...f,...m}},[E,C]=(0,l.A)("root",{elementType:x,externalForwardedProps:M,className:(0,i.A)(S.root,a),ownerState:A}),[P,T]=(0,l.A)("transition",{elementType:g,externalForwardedProps:M,ownerState:A});return(0,p.jsx)(P,{in:h,timeout:w,...k,...T,children:(0,p.jsx)(E,{"aria-hidden":!0,...C,classes:S,ref:t,children:r})})})},15085:(e,t,n)=>{let r=n(30186),i=n(84976).Graph;e.exports={debugOrdering:function(e){let t=r.buildLayerMatrix(e),n=new i({compound:!0,multigraph:!0}).setGraph({});return e.nodes().forEach(t=>{n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)}),e.edges().forEach(e=>n.setEdge(e.v,e.w,{},e.name)),t.forEach((e,t)=>{n.setNode("layer"+t,{rank:"same"}),e.reduce((e,t)=>(n.setEdge(e,t,{style:"invis"}),t))}),n}}},15898:(e,t,n)=>{var r=n(73620);e.exports={write:function(e){var t,n,r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:(t=e).nodes().map(function(e){var n=t.node(e),r=t.parent(e),i={v:e};return void 0!==n&&(i.value=n),void 0!==r&&(i.parent=r),i}),edges:(n=e).edges().map(function(e){var t=n.edge(e),r={v:e.v,w:e.w};return void 0!==e.name&&(r.name=e.name),void 0!==t&&(r.value=t),r})};return void 0!==e.graph()&&(r.value=structuredClone(e.graph())),r},read:function(e){var t=new r(e.options).setGraph(e.value);return e.nodes.forEach(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),e.edges.forEach(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}}},16212:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(55097),i=n(79101);function o(e,t,n){let[o,a]=(0,r.x)(null==n?void 0:n.in,e,t);return+(0,i.o)(o)==+(0,i.o)(a)}},16678:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1084),i=n(54568);let o=(0,r.A)((0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m-1-5h2v2h-2zm0-8h2v6h-2z"}),"ErrorOutlineTwoTone")},16848:(e,t,n)=>{"use strict";let r;n.d(t,{P:()=>oh});var i=n(7620);let o=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],a=new Set(o),s=e=>180*e/Math.PI,l=e=>c(s(Math.atan2(e[1],e[0]))),u={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:l,rotateZ:l,skewX:e=>s(Math.atan(e[1])),skewY:e=>s(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},c=e=>((e%=360)<0&&(e+=360),e),h=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),d=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),f={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:h,scaleY:d,scale:e=>(h(e)+d(e))/2,rotateX:e=>c(s(Math.atan2(e[6],e[5]))),rotateY:e=>c(s(Math.atan2(-e[2],e[0]))),rotateZ:l,rotate:l,skewX:e=>s(Math.atan(e[4])),skewY:e=>s(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function p(e){return+!!e.includes("scale")}function m(e,t){let n,r;if(!e||"none"===e)return p(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=f,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=u,r=t}if(!r)return p(t);let o=n[t],a=r[1].split(",").map(g);return"function"==typeof o?o(a):a[o]}function g(e){return parseFloat(e.trim())}let v=e=>t=>"string"==typeof t&&t.startsWith(e),y=v("--"),b=v("var(--"),x=e=>!!b(e)&&w.test(e.split("/*")[0].trim()),w=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function k({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}let A=(e,t,n)=>e+(t-e)*n;function S(e){return void 0===e||1===e}function M({scale:e,scaleX:t,scaleY:n}){return!S(e)||!S(t)||!S(n)}function E(e){return M(e)||C(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function C(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function P(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function T(e,t=0,n=1,r,i){e.min=P(e.min,t,n,r,i),e.max=P(e.max,t,n,r,i)}function O(e,{x:t,y:n}){T(e.x,t.translate,t.scale,t.originPoint),T(e.y,n.translate,n.scale,n.originPoint)}function _(e,t){e.min=e.min+t,e.max=e.max+t}function R(e,t,n,r,i=.5){let o=A(e.min,e.max,i);T(e,t,n,o,r)}function j(e,t){R(e.x,t.x,t.scaleX,t.scale,t.originX),R(e.y,t.y,t.scaleY,t.scale,t.originY)}function D(e,t){return k(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let L=new Set(["width","height","top","left","right","bottom",...o]),I=(e,t,n)=>n>t?t:n<e?e:n,N={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},z={...N,transform:e=>I(0,1,e)},F={...N,default:1},B=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),V=B("deg"),H=B("%"),W=B("px"),U=B("vh"),q=B("vw"),$={...H,parse:e=>H.parse(e)/100,transform:e=>H.transform(100*e)},Y=e=>t=>t.test(e),X=[N,W,H,V,q,U,{test:e=>"auto"===e,parse:e=>e}],G=e=>X.find(Y(e)),K=()=>{},Q=()=>{},Z=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),J=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ee=e=>e===N||e===W,et=new Set(["x","y","z"]),en=o.filter(e=>!et.has(e)),er={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>m(t,"x"),y:(e,{transform:t})=>m(t,"y")};er.translateX=er.x,er.translateY=er.y;let ei=e=>e,eo={},ea=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],es={value:null,addProjectionMetrics:null};function el(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=ea.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,o=!1,a=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){a.has(t)&&(c.schedule(t),e()),l++,t(s)}let c={schedule:(e,t=!1,o=!1)=>{let s=o&&i?n:r;return t&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),a.delete(e)},process:e=>{if(s=e,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&es.value&&es.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,c.process(e))}};return c}(o,t?n:void 0),e),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:f,postRender:p}=a,m=()=>{let o=eo.useManualTiming?i.timestamp:performance.now();n=!1,eo.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,40),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),h.process(i),d.process(i),f.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))};return{schedule:ea.reduce((t,o)=>{let s=a[o];return t[o]=(t,o=!1,a=!1)=>(!n&&(n=!0,r=!0,i.isProcessing||e(m)),s.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t<ea.length;t++)a[ea[t]].cancel(e)},state:i,steps:a}}let{schedule:eu,cancel:ec,state:eh,steps:ed}=el("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:ei,!0),ef=new Set,ep=!1,em=!1,eg=!1;function ev(){if(em){let e=Array.from(ef).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return en.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}em=!1,ep=!1,ef.forEach(e=>e.complete(eg)),ef.clear()}function ey(){ef.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(em=!0)})}class eb{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(ef.add(this),ep||(ep=!0,eu.read(ey),eu.resolveKeyframes(ev))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ef.delete(this)}cancel(){"scheduled"===this.state&&(ef.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let ex=e=>/^0[^.\s]+$/u.test(e),ew=e=>Math.round(1e5*e)/1e5,ek=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eS=(e,t)=>n=>!!("string"==typeof n&&eA.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eM=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,o,a,s]=r.match(ek);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},eE={...N,transform:e=>Math.round(I(0,255,e))},eC={test:eS("rgb","red"),parse:eM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+eE.transform(e)+", "+eE.transform(t)+", "+eE.transform(n)+", "+ew(z.transform(r))+")"},eP={test:eS("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:eC.transform},eT={test:eS("hsl","hue"),parse:eM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+H.transform(ew(t))+", "+H.transform(ew(n))+", "+ew(z.transform(r))+")"},eO={test:e=>eC.test(e)||eP.test(e)||eT.test(e),parse:e=>eC.test(e)?eC.parse(e):eT.test(e)?eT.parse(e):eP.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?eC.transform(e):eT.transform(e),getAnimatableNone:e=>{let t=eO.parse(e);return t.alpha=0,eO.transform(t)}},e_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eR="number",ej="color",eD=/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 eL(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(eD,e=>(eO.test(e)?(r.color.push(o),i.push(ej),n.push(eO.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(eR),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:a,indexes:r,types:i}}function eI(e){return eL(e).values}function eN(e){let{split:t,types:n}=eL(e),r=t.length;return e=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],void 0!==e[o]){let t=n[o];t===eR?i+=ew(e[o]):t===ej?i+=eO.transform(e[o]):i+=e[o]}return i}}let ez=e=>"number"==typeof e?0:eO.test(e)?eO.getAnimatableNone(e):e,eF={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(ek)?.length||0)+(e.match(e_)?.length||0)>0},parse:eI,createTransformer:eN,getAnimatableNone:function(e){let t=eI(e);return eN(e)(t.map(ez))}},eB=new Set(["brightness","contrast","saturate","opacity"]);function eV(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(ek)||[];if(!r)return e;let i=n.replace(r,""),o=+!!eB.has(t);return r!==n&&(o*=100),t+"("+o+i+")"}let eH=/\b([a-z-]*)\(.*?\)/gu,eW={...eF,getAnimatableNone:e=>{let t=e.match(eH);return t?t.map(eV).join(" "):e}},eU={...N,transform:Math.round},eq={borderWidth:W,borderTopWidth:W,borderRightWidth:W,borderBottomWidth:W,borderLeftWidth:W,borderRadius:W,radius:W,borderTopLeftRadius:W,borderTopRightRadius:W,borderBottomRightRadius:W,borderBottomLeftRadius:W,width:W,maxWidth:W,height:W,maxHeight:W,top:W,right:W,bottom:W,left:W,padding:W,paddingTop:W,paddingRight:W,paddingBottom:W,paddingLeft:W,margin:W,marginTop:W,marginRight:W,marginBottom:W,marginLeft:W,backgroundPositionX:W,backgroundPositionY:W,rotate:V,rotateX:V,rotateY:V,rotateZ:V,scale:F,scaleX:F,scaleY:F,scaleZ:F,skew:V,skewX:V,skewY:V,distance:W,translateX:W,translateY:W,translateZ:W,x:W,y:W,z:W,perspective:W,transformPerspective:W,opacity:z,originX:$,originY:$,originZ:W,zIndex:eU,fillOpacity:z,strokeOpacity:z,numOctaves:eU},e$={...eq,color:eO,backgroundColor:eO,outlineColor:eO,fill:eO,stroke:eO,borderColor:eO,borderTopColor:eO,borderRightColor:eO,borderBottomColor:eO,borderLeftColor:eO,filter:eW,WebkitFilter:eW},eY=e=>e$[e];function eX(e,t){let n=eY(e);return n!==eW&&(n=eF),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let eG=new Set(["auto","none","0"]);class eK extends eb{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&x(r=r.trim())){let i=function e(t,n,r=1){Q(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=J.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let a=window.getComputedStyle(n).getPropertyValue(i);if(a){let e=a.trim();return Z(e)?parseFloat(e):e}return x(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!L.has(n)||2!==e.length)return;let[r,i]=e,o=G(r),a=G(i);if(o!==a)if(ee(o)&&ee(a))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else er[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;(null===e[t]||("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||ex(r)))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!eG.has(t)&&eL(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=eX(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=er[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,o=n[i];n[i]=er[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}let eQ=e=>!!(e&&e.getVelocity);function eZ(){r=void 0}let eJ={now:()=>(void 0===r&&eJ.set(eh.isProcessing||eo.useManualTiming?eh.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(eZ)}};function e0(e,t){-1===e.indexOf(t)&&e.push(t)}function e1(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class e2{constructor(){this.subscriptions=[]}add(e){return e0(this.subscriptions,e),()=>e1(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let e5={current:void 0};class e4{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=eJ.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=eJ.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new e2);let n=this.events[e].add(t);return"change"===e?()=>{n(),eu.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return e5.current&&e5.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=eJ.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function e3(e,t){return new e4(e,t)}let e8=[...X,eO,eF],{schedule:e6}=el(queueMicrotask,!1),e9={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"]},e7={};for(let e in e9)e7[e]={isEnabled:t=>e9[e].some(e=>!!t[e])};let te=()=>({translate:0,scale:1,origin:0,originPoint:0}),tt=()=>({x:te(),y:te()}),tn=()=>({min:0,max:0}),tr=()=>({x:tn(),y:tn()}),ti="undefined"!=typeof window,to={current:null},ta={current:!1},ts=new WeakMap;function tl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tu(e){return"string"==typeof e||Array.isArray(e)}let tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],th=["initial",...tc];function td(e){return tl(e.animate)||th.some(t=>tu(e[t]))}function tf(e){return!!(td(e)||e.variants)}function tp(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function tm(e,t,n,r){if("function"==typeof t){let[i,o]=tp(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=tp(r);t=t(void 0!==n?n:e.custom,i,o)}return t}let tg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tv{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=eJ.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eu.render(this.render,!1,!0))};let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=td(t),this.isVariantNode=tf(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==s[e]&&eQ(t)&&t.set(s[e])}}mount(e){this.current=e,ts.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),ta.current||function(){if(ta.current=!0,ti)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>to.current=e.matches;e.addEventListener("change",t),t()}else to.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||to.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),ec(this.notifyUpdate),ec(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=a.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eu.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in e7){let t=e7[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tr()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tg.length;t++){let n=tg[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if(eQ(i))e.addValue(r,i);else if(eQ(o))e.addValue(r,e3(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,e3(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=e3(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){if("string"==typeof n&&(Z(n)||ex(n)))n=parseFloat(n);else{let r;r=n,!e8.find(Y(r))&&eF.test(t)&&(n=eX(e,t))}this.setBaseTarget(e,eQ(n)?n.get():n)}return eQ(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=tm(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||eQ(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new e2),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e6.render(this.render)}}class ty extends tv{constructor(){super(...arguments),this.KeyframeResolver=eK}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;eQ(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}let tb=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tw=o.length;function tk(e,t,n){let{style:r,vars:i,transformOrigin:s}=e,l=!1,u=!1;for(let e in t){let n=t[e];if(a.has(e)){l=!0;continue}if(y(e)){i[e]=n;continue}{let t=tb(n,eq[e]);e.startsWith("origin")?(u=!0,s[e]=t):r[e]=t}}if(!t.transform&&(l||n?r.transform=function(e,t,n){let r="",i=!0;for(let a=0;a<tw;a++){let s=o[a],l=e[s];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!s.startsWith("scale"):0===parseFloat(l))||n){let e=tb(l,eq[s]);if(!u){i=!1;let t=tx[s]||s;r+=`${t}(${e}) `}n&&(t[s]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:n=0}=s;r.transformOrigin=`${e} ${t} ${n}`}}function tA(e,{style:t,vars:n},r,i){let o,a=e.style;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}let tS={};function tM(e,{layout:t,layoutId:n}){return a.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!tS[e]||"opacity"===e)}function tE(e,t,n){let{style:r}=e,i={};for(let o in r)(eQ(r[o])||t.style&&eQ(t.style[o])||tM(o,e)||n?.getValue(o)?.liveStyle!==void 0)&&(i[o]=r[o]);return i}class tC extends ty{constructor(){super(...arguments),this.type="html",this.renderInstance=tA}readValueFromInstance(e,t){if(a.has(t))return this.projection?.isProjecting?p(t):((e,t)=>{let{transform:n="none"}=getComputedStyle(e);return m(n,t)})(e,t);{let n=window.getComputedStyle(e),r=(y(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return D(e,t)}build(e,t,n){tk(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return tE(e,t,n)}}let tP=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tT={offset:"stroke-dashoffset",array:"stroke-dasharray"},tO={offset:"strokeDashoffset",array:"strokeDasharray"};function t_(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s},l,u,c){if(tk(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:d}=e;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?tT:tO;e[o.offset]=W.transform(-r);let a=W.transform(t),s=W.transform(n);e[o.array]=`${a} ${s}`}(h,i,o,a,!1)}let tR=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"]),tj=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tD(e,t,n){let r=tE(e,t,n);for(let n in e)(eQ(e[n])||eQ(t[n]))&&(r[-1!==o.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}class tL extends ty{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tr}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(a.has(t)){let e=eY(t);return e&&e.default||0}return t=tR.has(t)?t:tP(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return tD(e,t,n)}build(e,t,n){t_(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){for(let n in tA(e,t,void 0,r),t.attrs)e.setAttribute(tR.has(n)?n:tP(n),t.attrs[n])}mount(e){this.isSVGTag=tj(e.tagName),super.mount(e)}}let tI=["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 tN(e){if("string"!=typeof e||e.includes("-"));else if(tI.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var tz=n(54568);let tF=(0,i.createContext)({}),tB=(0,i.createContext)({strict:!1}),tV=(0,i.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),tH=(0,i.createContext)({});function tW(e){return Array.isArray(e)?e.join(" "):e}let tU=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tq(e,t,n){for(let r in t)eQ(t[r])||tM(r,n)||(e[r]=t[r])}let t$=()=>({...tU(),attrs:{}}),tY=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 tX(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tY.has(e)}let tG=e=>!tX(e);try{!function(e){"function"==typeof e&&(tG=t=>t.startsWith("on")?!tX(t):e(t))}(require("@emotion/is-prop-valid").default)}catch{}let tK=(0,i.createContext)(null);function tQ(e){return eQ(e)?e.get():e}let tZ=e=>(t,n)=>{let r=(0,i.useContext)(tH),o=(0,i.useContext)(tK),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=tQ(o[e]);let{initial:a,animate:s}=e,l=td(e),u=tf(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!n&&!1===n.initial,h=(c=c||!1===a)?s:a;if(h&&"boolean"!=typeof h&&!tl(h)){let t=Array.isArray(h)?h:[h];for(let n=0;n<t.length;n++){let r=tm(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(n,r,i,e),renderState:t()}})(e,t,r,o);return n?a():function(e){let t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}(a)},tJ=tZ({scrapeMotionValuesFromProps:tE,createRenderState:tU}),t0=tZ({scrapeMotionValuesFromProps:tD,createRenderState:t$}),t1=Symbol.for("motionComponentSymbol");function t2(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let t5="data-"+tP("framerAppearId"),t4=(0,i.createContext)({}),t3=ti?i.useLayoutEffect:i.useEffect;function t8(e){var t,n;let{forwardMotionProps:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;o&&function(e){for(let t in e)e7[t]={...e7[t],...e[t]}}(o);let s=tN(e)?t0:tJ;function l(t,n){var o;let l,u={...(0,i.useContext)(tV),...t,layoutId:function(e){let{layoutId:t}=e,n=(0,i.useContext)(tF).id;return n&&void 0!==t?n+"-"+t:t}(t)},{isStatic:c}=u,h=function(e){let{initial:t,animate:n}=function(e,t){if(td(e)){let{initial:t,animate:n}=e;return{initial:!1===t||tu(t)?t:void 0,animate:tu(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(tH));return(0,i.useMemo)(()=>({initial:t,animate:n}),[tW(t),tW(n)])}(t),d=s(t,c);if(!c&&ti){(0,i.useContext)(tB).strict;let t=function(e){let{drag:t,layout:n}=e7;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=t.MeasureLayout,h.visualElement=function(e,t,n,r,o){let{visualElement:a}=(0,i.useContext)(tH),s=(0,i.useContext)(tB),l=(0,i.useContext)(tK),u=(0,i.useContext)(tV).reducedMotion,c=(0,i.useRef)(null);r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let h=c.current,d=(0,i.useContext)(t4);h&&!h.projection&&o&&("html"===h.type||"svg"===h.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||s&&t2(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(c.current,n,o,d);let f=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{h&&f.current&&h.update(n,l)});let p=n[t5],m=(0,i.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return t3(()=>{h&&(f.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),m.current&&h.animationState&&h.animationState.animateChanges())}),(0,i.useEffect)(()=>{h&&(!m.current&&h.animationState&&h.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),m.current=!1),h.enteringChildren=void 0)}),h}(e,d,u,a,t.ProjectionNode)}return(0,tz.jsxs)(tH.Provider,{value:h,children:[l&&h.visualElement?(0,tz.jsx)(l,{visualElement:h.visualElement,...u}):null,function(e,t,n,{latestValues:r},o,a=!1){let s=(tN(e)?function(e,t,n,r){let o=(0,i.useMemo)(()=>{let n=t$();return t_(n,t,tj(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};tq(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return tq(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,i.useMemo)(()=>{let n=tU();return tk(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(t,r,o,e),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(tG(i)||!0===n&&tX(i)||!t&&!tX(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(t,"string"==typeof e,a),u=e!==i.Fragment?{...l,...s,ref:n}:{},{children:c}=t,h=(0,i.useMemo)(()=>eQ(c)?c.get():c,[c]);return(0,i.createElement)(e,{...u,children:h})}(e,t,(o=h.visualElement,(0,i.useCallback)(e=>{e&&d.onMount&&d.onMount(e),o&&(e?o.mount(e):o.unmount()),n&&("function"==typeof n?n(e):t2(n)&&(n.current=e))},[o])),d,c,r)]})}l.displayName="motion.".concat("string"