{"version":3,"file":"shared.JLuaQa5l.mjs","names":["fonts","css","className","fonts","css","className","useStore","useState"],"sources":["https:/framerusercontent.com/modules/6wa5OfhTKXJ8Ae2dbgYK/zUQbizTGMP67e606od54/aGCZLqUau.js","https:/framerusercontent.com/modules/7NnEYNG16H7k5TP288n0/HjGIT7FaeTgI0KyhplfY/yifqthF4B.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/aRLv32RXlFvbUKh7n5aN/Cr7q4QYOEUtrhTqDkrW5/UtmgeneratorOver.js","https:/framerusercontent.com/modules/iR4O7z7ZOc0AYUWUVFct/YT1SkCp1NayggSyDlIMf/z7M46fU5o.js"],"sourcesContent":["// Generated by Framer (3d3d426)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Poppins-semibold\",\"FS;Poppins-black\",\"FS;Poppins-black italic\",\"FS;Poppins-semibold italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Poppins\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/E6J4GS76KHNRRUWODFCFOX2JRKNRSFVY/3GYVT5S4AH7VMPASDDKOTIPV6P3WJXGI/24R4YOH3G2SFDSTCNHOVGYEX3DMRC3CE.woff2\",weight:\"600\"},{family:\"Poppins\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/22GWRXQXMICIWABQXFWKIWZIILKO5JDJ/2BBKMSVLV5CSDOZ7HEEECOTKPOVVJOC3/RNFY4UJD36462ZMGEIC5I7KNE73BPOAU.woff2\",weight:\"900\"},{family:\"Poppins\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/2PWH5ACYHQEXIHGDLY5OWYMAC3F65AK5/OD6JOLYDRZZOKZGAPOMF7QEWPC5DTZS6/F5IVXJVPQ2DIFNG5HQZ7NI5VG7P7VDLV.woff2\",weight:\"900\"},{family:\"Poppins\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/UIZNW6TUIPHAJY7PGO5Z3D35Q2C3IESY/VMTPLIFREYY73Z7SYHLS2AWXATFX2ZHJ/3Y2FFVDRGJIJT6SO3BLMSB5PFJTFIJG2.woff2\",weight:\"600\"}]}];export const css=['.framer-LQE7v .framer-styles-preset-1mgt7gv:not(.rich-text-wrapper), .framer-LQE7v .framer-styles-preset-1mgt7gv.rich-text-wrapper h4 { --framer-font-family: \"Poppins\", \"Poppins Placeholder\", sans-serif; --framer-font-family-bold: \"Poppins\", sans-serif; --framer-font-family-bold-italic: \"Poppins\", sans-serif; --framer-font-family-italic: \"Poppins\", \"Poppins Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 900; --framer-font-weight-bold-italic: 900; --framer-font-weight-italic: 600; --framer-letter-spacing: 0em; --framer-line-height: 30px; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #231f1d; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-LQE7v\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (04e0834)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-9qAlv .framer-styles-preset-37kwv8:not(.rich-text-wrapper), .framer-9qAlv .framer-styles-preset-37kwv8.rich-text-wrapper a { --framer-link-current-text-color: var(--token-564c66b0-19a9-4dbf-875f-1807aa7056cc, #2e2c2a); --framer-link-current-text-decoration: none; --framer-link-hover-text-color: var(--token-e18f561f-ba5a-4ed3-98ca-c5907a2d2aed, #4f4945); --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-564c66b0-19a9-4dbf-875f-1807aa7056cc, #2e2c2a); --framer-link-text-decoration: none; }\"];export const className=\"framer-9qAlv\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","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()});}});};}function getUTMParameters(){const params=new URLSearchParams(window.location.search);let utmParams=[];[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_term\",\"utm_content\"].forEach(key=>{if(params.has(key)){utmParams.push(params.get(key));}});return utmParams;}function appendParameters(url,campaignValue,pageTitle){const urlObj=new URL(url);// Campaign değeri varsa ve boş string değilse ekle\nif(campaignValue&&campaignValue.trim()!==\"\"){urlObj.searchParams.set(\"campaign\",campaignValue);}// Title değeri varsa ve boş string değilse ekle\nif(pageTitle&&pageTitle.trim()!==\"\"){urlObj.searchParams.set(\"title\",pageTitle);}return urlObj.toString();}export function updateLinks(Component){return props=>{useEffect(()=>{console.log(\"\\xe7alışıyorrr222\");const utmValues=getUTMParameters();const pageTitle=document.title// Sayfa başlığını al\n;console.log(pageTitle);if(utmValues.length>0){const campaignValue=utmValues.join(\"-\");const links=document.querySelectorAll(\"a\");links.forEach(link=>{const href=link.getAttribute(\"href\");if(href&&href.includes(\"app.sopyo.com\")){const newURL=appendParameters(href,campaignValue,pageTitle);link.setAttribute(\"href\",newURL);}});}else{const links=document.querySelectorAll(\"a\");links.forEach(link=>{const href=link.getAttribute(\"href\");if(href&&href.includes(\"app.sopyo.com\")){const newURL=appendParameters(href,null,pageTitle);link.setAttribute(\"href\",newURL);}});}},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateLinks\":{\"type\":\"reactHoc\",\"name\":\"updateLinks\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UtmgeneratorOver.map","// Generated by Framer (3d3d426)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Poppins-semibold\",\"FS;Poppins-black\",\"FS;Poppins-black italic\",\"FS;Poppins-semibold italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Poppins\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/E6J4GS76KHNRRUWODFCFOX2JRKNRSFVY/3GYVT5S4AH7VMPASDDKOTIPV6P3WJXGI/24R4YOH3G2SFDSTCNHOVGYEX3DMRC3CE.woff2\",weight:\"600\"},{family:\"Poppins\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/22GWRXQXMICIWABQXFWKIWZIILKO5JDJ/2BBKMSVLV5CSDOZ7HEEECOTKPOVVJOC3/RNFY4UJD36462ZMGEIC5I7KNE73BPOAU.woff2\",weight:\"900\"},{family:\"Poppins\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/2PWH5ACYHQEXIHGDLY5OWYMAC3F65AK5/OD6JOLYDRZZOKZGAPOMF7QEWPC5DTZS6/F5IVXJVPQ2DIFNG5HQZ7NI5VG7P7VDLV.woff2\",weight:\"900\"},{family:\"Poppins\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/UIZNW6TUIPHAJY7PGO5Z3D35Q2C3IESY/VMTPLIFREYY73Z7SYHLS2AWXATFX2ZHJ/3Y2FFVDRGJIJT6SO3BLMSB5PFJTFIJG2.woff2\",weight:\"600\"}]}];export const css=['.framer-yBJza .framer-styles-preset-qoiadt:not(.rich-text-wrapper), .framer-yBJza .framer-styles-preset-qoiadt.rich-text-wrapper h1 { --framer-font-family: \"Poppins\", \"Poppins Placeholder\", sans-serif; --framer-font-family-bold: \"Poppins\", sans-serif; --framer-font-family-bold-italic: \"Poppins\", sans-serif; --framer-font-family-italic: \"Poppins\", \"Poppins Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 36px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 900; --framer-font-weight-bold-italic: 900; --framer-font-weight-italic: 600; --framer-letter-spacing: -0.04em; --framer-line-height: 50px; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #231f1d; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-yBJza\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"4UAC8B,GAAU,UAAU,CAAC,sBAAsB,mBAAmB,0BAA0B,6BAA6B,CAAC,CAAcG,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,CAAC,CAAcC,EAAI,CAAC,miCAAmiC,CAAcC,EAAU,qCCAlrE,GAAU,UAAU,EAAE,CAAC,CAAcF,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAcC,EAAI,CAAC,shBAAshB,CAAcC,EAAU,kBCD3lB,SAAgB,EAAY,EAAO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