{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/V9Sr1FliGaAoyuEtBdQV/1gDiE5Rbw0u2HeCIzZkp/Examples.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";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/developers/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 consoleLog(Component){return props=>{console.log({props});return /*#__PURE__*/_jsx(Component,{...props,onCLick:()=>console.log({props})});};}export function widthContainer(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{width:\"100%\",maxWidth:\"calc(100% - 40px)\"}});};}export function shareFacebook(Component){return props=>{const handleClick=()=>{if(typeof window!==\"undefined\"&&typeof document!==\"undefined\"){const pageTitle=encodeURIComponent(document.title)// T\u00EDtulo da not\u00EDcia\n;const pageUrl=encodeURIComponent(window.location.href)// URL da not\u00EDcia\n;const facebookShareUrl=`https://www.facebook.com/sharer/sharer.php?u=${pageUrl}&quote=${pageTitle}`;window.open(facebookShareUrl,\"_blank\"/* , \"width=600,height=400\" */);}};return /*#__PURE__*/_jsx(Component,{...props,style:{cursor:\"pointer\"},onClick:handleClick});};}export function shareX(Component){return props=>{const handleClick=()=>{if(typeof window!==\"undefined\"&&typeof document!==\"undefined\"){const pageTitle=encodeURIComponent(document.title)// T\u00EDtulo da not\u00EDcia\n;const pageUrl=encodeURIComponent(window.location.href)// URL da not\u00EDcia\n;const xShareUrl=`https://twitter.com/intent/tweet?text=${pageTitle}&url=${pageUrl}`;window.open(xShareUrl,\"_blank\"/* , \"width=600,height=400\" */);}};return /*#__PURE__*/_jsx(Component,{...props,style:{cursor:\"pointer\"},onClick:handleClick});};}export function shareWhatsApp(Component){return props=>{const handleClick=()=>{if(typeof window!==\"undefined\"&&typeof document!==\"undefined\"){const pageTitle=encodeURIComponent(document.title)// T\u00EDtulo da not\u00EDcia\n;const pageUrl=encodeURIComponent(window.location.href)// URL da not\u00EDcia\n;const whatsappShareUrl=`https://wa.me/?text=${pageTitle}%20${pageUrl}`;window.open(whatsappShareUrl,\"_blank\"/* , \"width=600,height=400\" */);}};return /*#__PURE__*/_jsx(Component,{...props,style:{cursor:\"pointer\"},onClick:handleClick});};}export function clipboard(Component){return props=>{console.log({props});const handleClick=async()=>{try{// Copia o email para a \u00E1rea de transfer\u00EAncia\nawait navigator.clipboard.writeText(\"email\");/* // Exibe uma mensagem de confirma\u00E7\u00E3o (opcional)\n                const message = document.getElementById(\"message\")\n                message.style.display = \"block\"\n                setTimeout(() => {\n                    message.style.display = \"none\"\n                }, 2000) // Mensagem desaparece ap\u00F3s 2 segundos */}catch(err){alert(\"Falha ao copiar para a \\xe1rea de transfer\\xeancia: \"+err);}};return /*#__PURE__*/_jsx(Component,{...props,style:{cursor:\"pointer\"},onClick:handleClick});};}export function overflowHidden(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{overflow:\"hidden\"}});};}export function buttonShare(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{cursor:\"ponter\"},onClick:async()=>{if(navigator.share){try{await navigator.share({title:document.title,//text: \"Confira esta vaga de emprego!\",\nurl:window.location.href});console.log(\"P\\xe1gina compartilhada com sucesso!\");}catch(error){console.error(\"Erro ao compartilhar:\",error);}}else{alert(\"A funcionalidade de compartilhamento n\\xe3o \\xe9 suportada no seu navegador.\");}}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"shareFacebook\":{\"type\":\"reactHoc\",\"name\":\"shareFacebook\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"shareWhatsApp\":{\"type\":\"reactHoc\",\"name\":\"shareWhatsApp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"widthContainer\":{\"type\":\"reactHoc\",\"name\":\"widthContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonShare\":{\"type\":\"reactHoc\",\"name\":\"buttonShare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clipboard\":{\"type\":\"reactHoc\",\"name\":\"clipboard\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"consoleLog\":{\"type\":\"reactHoc\",\"name\":\"consoleLog\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"shareX\":{\"type\":\"reactHoc\",\"name\":\"shareX\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"overflowHidden\":{\"type\":\"reactHoc\",\"name\":\"overflowHidden\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],
  "mappings": "kIACA,IAAMA,EAASC,EAAY,CAAC,WAAW,SAAS,CAAC,EAA2zB,SAASC,EAAcC,EAAU,CAAC,OAAOC,GAEptBC,EAAKF,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,OAAO,SAAS,EAAE,QAF4rB,IAAI,CAAC,GAAG,OAAOE,EAAS,KAAa,OAAO,SAAW,IAAY,CAAC,IAAMC,EAAU,mBAAmB,SAAS,KAAK,EAE7hCC,EAAiB,gDADT,mBAAmBF,EAAO,SAAS,IAAI,CACyB,UAAUC,CAAS,GAAGD,EAAO,KAAKE,EAAiB,QAAsC,CAAE,CAAC,CAA2F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AAC,CAAI",
  "names": ["useStore", "createStore", "shareFacebook", "Component", "props", "p", "window", "pageTitle", "facebookShareUrl", "shareX", "pageUrl", "xShareUrl", "shareWhatsApp", "whatsappShareUrl", "overflowHidden", "Component", "props", "p", "buttonShare", "navigator", "window", "error"]
}
