{"version":3,"file":"Examples.J_RsUrAX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/2e8w5NTnQkUNQVYrhgmY/PWuaWYHrgWqGKmskTkFM/Examples.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export function withSrOnly(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" sr-only\"});};}function createWithClassName(className){return Component=>{return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" \"+className});};};}export function withGaBtnSignup(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" ga-btn-signup\"});};}export function withGaBtnTrial(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" ga-btn-trial\"});};}export function withGaGnb(Component){return props=>{useEffect(()=>{const links=Array.from(document.querySelectorAll(\".smply-gnb a\"));for(const link of links){if(!link.classList.contains(\"ga-gnb\")){link.classList.add(\"ga-gnb\");}}},[]);return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" smply-gnb\"});};}export function withGaFooter(Component){return props=>{useEffect(()=>{const links=Array.from(document.querySelectorAll(\".smply-footer a\"));for(const link of links){if(!link.classList.contains(\"ga-footer\")){link.classList.add(\"ga-footer\");}if(link.textContent.includes(\"서비스 바로가기\")){link.classList.add(\"ga-btn-trial\");}}},[]);return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" smply-footer\"});};}export function withCtaDevice(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" cta_device\"});};}export function withCtaSaas(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" cta_saas\"});};}export function withCtaSecurity(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" cta_security\"});};}export function withGaSidebar(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" ga-sidebar\"});};}export function withGaContactSaas(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" ga-contact-saas\"});};}export function withGaContactDevice(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" ga-contact-device\"});};}export function withGaContactItam(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,className:props.className+\" ga-contact-itam\"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCtaSecurity\":{\"type\":\"reactHoc\",\"name\":\"withCtaSecurity\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaGnb\":{\"type\":\"reactHoc\",\"name\":\"withGaGnb\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaBtnTrial\":{\"type\":\"reactHoc\",\"name\":\"withGaBtnTrial\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaBtnSignup\":{\"type\":\"reactHoc\",\"name\":\"withGaBtnSignup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaSidebar\":{\"type\":\"reactHoc\",\"name\":\"withGaSidebar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCtaDevice\":{\"type\":\"reactHoc\",\"name\":\"withCtaDevice\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSrOnly\":{\"type\":\"reactHoc\",\"name\":\"withSrOnly\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCtaSaas\":{\"type\":\"reactHoc\",\"name\":\"withCtaSaas\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaContactItam\":{\"type\":\"reactHoc\",\"name\":\"withGaContactItam\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaFooter\":{\"type\":\"reactHoc\",\"name\":\"withGaFooter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaContactDevice\":{\"type\":\"reactHoc\",\"name\":\"withGaContactDevice\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGaContactSaas\":{\"type\":\"reactHoc\",\"name\":\"withGaContactSaas\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"uKAC42D,SAAgB,EAAc,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,EAAM,UAAU,cAAc,CAAC,CAAI,SAAgB,EAAY,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,EAAM,UAAU,YAAY,CAAC,kBAD7lE,IAA6B,IAAqE,IAAqE,CACnM,EAAY,CAAC,WAAW,UAAU,CAAC"}