{"version":3,"file":"LittleMotion.CrSjTMYu.mjs","names":[],"sources":["https:/framerusercontent.com/modules/eRfKGVC2OyuWxeYXtymn/TOgfeTmn1boKcnRJxDt9/LittleMotion.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const WOBBLE_CSS=`\n.lo-wobble{border-radius:30px 42px 34px 46px / 38px 30px 44px 32px !important;transition:border-radius 1.5s cubic-bezier(0.22,1,0.36,1)}\n.lo-wobble:hover{border-radius:42px 30px 46px 34px / 30px 40px 32px 44px !important}\n.lo-wobble-b{border-radius:44px 32px 40px 30px / 32px 42px 30px 40px !important;transition:border-radius 1.5s cubic-bezier(0.22,1,0.36,1)}\n.lo-wobble-b:hover{border-radius:32px 44px 30px 42px / 42px 32px 40px 30px !important}\n.lo-tilt-a,.lo-tilt-b,.lo-tilt-c{transition:transform 0.5s cubic-bezier(0.22,1,0.36,1),border-radius 1.5s cubic-bezier(0.22,1,0.36,1)}\n.lo-tilt-a{transform:rotate(-2deg)}.lo-tilt-b{transform:rotate(1deg)}.lo-tilt-c{transform:rotate(-1deg)}\n.lo-tilt-a:hover,.lo-tilt-b:hover,.lo-tilt-c:hover{transform:rotate(0deg)}\n.lo-arc-top{border-top-left-radius:50% 72px !important;border-top-right-radius:50% 72px !important}\n@media (max-width:809px){.lo-arc-top{border-top-left-radius:50% 36px !important;border-top-right-radius:50% 36px !important}}\n@media (prefers-reduced-motion: reduce){.lo-wobble,.lo-wobble-b,.lo-tilt-a,.lo-tilt-b,.lo-tilt-c{transition:none}}\n`;function inject(){if(typeof document===\"undefined\"||document.getElementById(\"lo-wobble-css\"))return;const s=document.createElement(\"style\");s.id=\"lo-wobble-css\";s.textContent=WOBBLE_CSS;document.head.appendChild(s);}function withClass(Component,cls){return props=>{inject();const className=[props.className,cls].filter(Boolean).join(\" \");return /*#__PURE__*/_jsx(Component,{...props,className:className});};}/** Hand-cut paper card: slightly irregular corners that \"breathe\" on hover. */export function withWobble(Component){return withClass(Component,\"lo-wobble\");}/** Same idea with a different irregular shape, so neighbouring cards don't match. */export function withWobbleAlt(Component){return withClass(Component,\"lo-wobble-b\");}/** Gentle 1.03 lift on hover/press for buttons and cards (reduced-motion users get no scale). */export function withLift(Component){return props=>{const reduce=typeof window!==\"undefined\"&&window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches;if(reduce)return /*#__PURE__*/_jsx(Component,{...props});return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.03},whileTap:{scale:.98},transition:{type:\"tween\",ease:[.22,1,.36,1],duration:.4}});};}/** Wobbly card tilted -2°; straightens on hover. Use A, B, C on neighbouring cards so each sits differently. */export function withTiltA(Component){return withClass(Component,\"lo-wobble lo-tilt-a\");}/** Wobbly card tilted 1°; straightens on hover. */export function withTiltB(Component){return withClass(Component,\"lo-wobble-b lo-tilt-b\");}/** Wobbly card tilted -1°; straightens on hover. */export function withTiltC(Component){return withClass(Component,\"lo-wobble lo-tilt-c\");}/** Convex curved top edge (an elliptical radius), so the section below shows through the corners on any page. */export function withArcTop(Component){return withClass(Component,\"lo-arc-top\");}/** Accordion/tap rows: exposes the row as a button to screen readers and lets Space toggle it like Enter. */export function withButtonRole(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,role:\"button\",tabIndex:0,onKeyDown:e=>{props.onKeyDown?.(e);if(e.key===\" \"||e.key===\"Spacebar\"){e.preventDefault();e.currentTarget.click();}}});}\nexport const __FramerMetadata__ = {\"exports\":{\"withLift\":{\"type\":\"reactHoc\",\"name\":\"withLift\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWobbleAlt\":{\"type\":\"reactHoc\",\"name\":\"withWobbleAlt\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTiltA\":{\"type\":\"reactHoc\",\"name\":\"withTiltA\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWobble\":{\"type\":\"reactHoc\",\"name\":\"withWobble\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withButtonRole\":{\"type\":\"reactHoc\",\"name\":\"withButtonRole\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTiltB\":{\"type\":\"reactHoc\",\"name\":\"withTiltB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withArcTop\":{\"type\":\"reactHoc\",\"name\":\"withArcTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTiltC\":{\"type\":\"reactHoc\",\"name\":\"withTiltC\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LittleMotion.map"],"mappings":"kHAWE,SAAS,GAAQ,CAAC,GAAG,OAAO,SAAW,KAAa,SAAS,eAAe,eAAe,EAAE,OAAO,IAAM,EAAE,SAAS,cAAc,OAAO,EAAE,EAAE,GAAG,gBAAgB,EAAE,YAAY,EAAW,SAAS,KAAK,YAAY,CAAC,CAAE,CAAC,SAAS,EAAU,EAAU,EAAI,CAAC,MAAO,IAAO,CAAC,EAAO,EAAE,IAAM,EAAU,CAAC,EAAM,UAAU,CAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAgB,WAAS,CAAC,CAAE,CAAE,CAAya,SAAgB,EAAS,EAAU,CAAC,MAAO,IAA4B,IAAS,QAAa,EAAO,aAAa,kCAAkC,CAAC,CAAC,QAAsC,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,WAAW,CAAC,MAAM,IAAI,EAAE,SAAS,CAAC,MAAM,GAAG,EAAE,WAAW,CAAC,KAAK,QAAQ,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAI,CAAiH,SAAgB,EAAU,EAAU,CAAC,OAAO,EAAU,EAAU,qBAAqB,CAAE,CAAoD,SAAgB,EAAU,EAAU,CAAC,OAAO,EAAU,EAAU,uBAAuB,CAAE,CAAqD,SAAgB,EAAU,EAAU,CAAC,OAAO,EAAU,EAAU,qBAAqB,CAAE,CAAkH,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAU,EAAU,YAAY,CAAE,CAA8G,SAAgB,EAAe,EAAU,CAAC,MAAO,IAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,SAAS,SAAS,EAAE,UAAU,GAAG,CAAC,EAAM,YAAY,CAAC,GAAK,EAAE,MAAM,KAAK,EAAE,MAAM,cAAY,EAAE,eAAe,EAAE,EAAE,cAAc,MAAM,EAAG,CAAC,CAAC,CAAE,uBAXnoE,EAAO,EAAW"}