{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/63jqdeA1aWwlTs7upZOA/EYNgNQ1YSR8YIsBwIEJK/Landing.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";// Learn more: https://www.framer.com/docs/guides/overrides/\nfunction getURL(path,additionalParams){let baseUrl=\"https://app.takafinance.com\"+path;if(window?.location?.host?.includes(\"rejuvenated\")||window?.location?.host?.includes(\"staging\")){baseUrl=\"https://app-staging.takafinance.com\"+path;}// Forward existing query parameters\nconst queryParams=new URLSearchParams(window.location.search);if(additionalParams){Object.entries(additionalParams).forEach(([key,value])=>{queryParams.set(key,value);});}if(queryParams.toString().length){return`${baseUrl}?${queryParams.toString()}`;}return baseUrl;}function withAnimatedTrackingLink(Component,eventLabel,urlPath){return props=>{if(typeof window!==\"undefined\"&&typeof gtag===\"function\"){gtag(\"event\",\"click\",{event_category:\"navigation\",event_label:eventLabel,mode:\"signup\",value:1});}const handleClick=()=>{if(typeof window!==\"undefined\"){const urlWithParams=getURL(urlPath,eventLabel===\"home\"?{mode:\"signup\"}:{});window.open(urlWithParams,\"_self\");}};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-block\",cursor:\"pointer\",transition:\"transform 0.2s ease\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"scale(1.05)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"scale(1)\";},onMouseDown:e=>{e.currentTarget.style.transform=\"scale(0.95)\";},onMouseUp:e=>{e.currentTarget.style.transform=\"scale(1.05)\";},onClick:handleClick,children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withHomeLink(Component){return withAnimatedTrackingLink(Component,\"home\",\"/\");}export function withDiscoveryLink(Component){return withAnimatedTrackingLink(Component,\"discovery\",\"/discovery\");}export function withSignIn(Component){return props=>{if(typeof window!==\"undefined\"&&typeof gtag===\"function\"){gtag(\"event\",\"click\",{event_category:\"navigation\",event_label:\"home\",mode:\"login\",value:1});}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-block\",cursor:\"pointer\"},onClick:()=>{if(typeof window!==\"undefined\"){const urlWithParams=getURL(\"/\",{mode:\"login\"});window.open(urlWithParams,\"_self\");}},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHomeLink\":{\"type\":\"reactHoc\",\"name\":\"withHomeLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDiscoveryLink\":{\"type\":\"reactHoc\",\"name\":\"withDiscoveryLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSignIn\":{\"type\":\"reactHoc\",\"name\":\"withSignIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Landing.map"],
  "mappings": "kFACA,SAASA,EAAOC,EAAKC,EAAiB,CAAC,IAAIC,EAAQ,8BAA8BF,GAAQG,GAAQ,UAAU,MAAM,SAAS,aAAa,GAAGA,GAAQ,UAAU,MAAM,SAAS,SAAS,KAAGD,EAAQ,sCAAsCF,GACrO,IAAMI,EAAY,IAAI,gBAAgBD,EAAO,SAAS,MAAM,EAA+G,OAA1GF,GAAkB,OAAO,QAAQA,CAAgB,EAAE,QAAQ,CAAC,CAACI,EAAIC,CAAK,IAAI,CAACF,EAAY,IAAIC,EAAIC,CAAK,CAAE,CAAC,EAAMF,EAAY,SAAS,EAAE,OAAc,GAAGF,CAAO,IAAIE,EAAY,SAAS,CAAC,GAAWF,CAAQ,CAAC,SAASK,EAAyBC,EAAUC,EAAWC,EAAQ,CAAC,OAAOC,IAAW,OAAOR,EAAS,KAAa,OAAO,MAAO,YAAY,KAAK,QAAQ,QAAQ,CAAC,eAAe,aAAa,YAAYM,EAAW,KAAK,SAAS,MAAM,CAAC,CAAC,EAA+LG,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,eAAe,OAAO,UAAU,WAAW,qBAAqB,EAAE,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,UAAU,aAAc,EAAE,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,UAAU,UAAW,EAAE,YAAY,GAAG,CAAC,EAAE,cAAc,MAAM,UAAU,aAAc,EAAE,UAAU,GAAG,CAAC,EAAE,cAAc,MAAM,UAAU,aAAc,EAAE,QAApgB,IAAI,CAAC,GAAG,OAAOT,EAAS,IAAY,CAAC,IAAMU,EAAcd,EAAOW,EAAQD,IAAa,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC,CAAC,EAAEN,EAAO,KAAKU,EAAc,OAAO,CAAE,CAAC,EAAoY,SAAsBD,EAAKJ,EAAU,CAAC,GAAGG,CAAK,CAAC,CAAC,CAAC,EAAI,CAAQ,SAASG,EAAaN,EAAU,CAAC,OAAOD,EAAyBC,EAAU,OAAO,GAAG,CAAE,CAAQ,SAASO,EAAkBP,EAAU,CAAC,OAAOD,EAAyBC,EAAU,YAAY,YAAY,CAAE,CAAQ,SAASQ,EAAWR,EAAU,CAAC,OAAOG,IAAW,OAAOR,EAAS,KAAa,OAAO,MAAO,YAAY,KAAK,QAAQ,QAAQ,CAAC,eAAe,aAAa,YAAY,OAAO,KAAK,QAAQ,MAAM,CAAC,CAAC,EAAuBS,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,eAAe,OAAO,SAAS,EAAE,QAAQ,IAAI,CAAC,GAAG,OAAOT,EAAS,IAAY,CAAC,IAAMU,EAAcd,EAAO,IAAI,CAAC,KAAK,OAAO,CAAC,EAAEI,EAAO,KAAKU,EAAc,OAAO,CAAE,CAAC,EAAE,SAAsBD,EAAKJ,EAAU,CAAC,GAAGG,CAAK,CAAC,CAAC,CAAC,EAAI",
  "names": ["getURL", "path", "additionalParams", "baseUrl", "window", "queryParams", "key", "value", "withAnimatedTrackingLink", "Component", "eventLabel", "urlPath", "props", "p", "urlWithParams", "withHomeLink", "withDiscoveryLink", "withSignIn"]
}
