{"version":3,"file":"Test.bysCgoA6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/MXeSdXldzox6utZesRUO/952dnBHLtZuzOut6hgfR/Test.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});const roundedImage={borderRadius:\"12%\"};export function withNameText(Component){return props=>{const key=\"name\"// What you will listen for in the url\n;const url=new URL(window.location.href);const value=url.searchParams.get(key)||`Add ?${key}=test to the url`;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withPINText(Component){return props=>{const key=\"PIN\"// What you will listen for in the url\n;const url=new URL(window.location.href);const value=url.searchParams.get(key)||`Add ?${key}=test to the url`;return /*#__PURE__*/_jsx(Component,{...props,text:value});};}export function withEventLogo(Component){return props=>{const key=\"imageURL\"// What you will listen for in the url\n;const url=new URL(window.location.href);const value=url.searchParams.get(key)||`Add ?${key}=test to the url`;return /*#__PURE__*/_jsx(\"img\",{src:value,alt:\"Event logo\",width:\"200\",height:\"200\",style:{...roundedImage,objectFit:\"cover\"}});};}export const withCopyToClipboard=Component=>{return props=>{const textToCopy=window.location.href;const handleClick=()=>{navigator.clipboard.writeText(textToCopy);window.location.href=\"https://deckle.app/download\";};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};};\nexport const __FramerMetadata__ = {\"exports\":{\"withPINText\":{\"type\":\"reactHoc\",\"name\":\"withPINText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyToClipboard\":{\"type\":\"reactHoc\",\"name\":\"withCopyToClipboard\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNameText\":{\"type\":\"reactHoc\",\"name\":\"withNameText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEventLogo\":{\"type\":\"reactHoc\",\"name\":\"withEventLogo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Test.map"],"mappings":"iLAC2F,SAAgB,EAAa,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAI,OAC7G,EAAM,IAAtC,IAAI,EAAO,SAAS,IAAoB,CAAC,CAAC,aAAa,IAAI,CAAG,GAAG,QAAQ,EAAI,kBAAkB,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,CAAK,CAAC,CAAE,CAAE,CAAC,SAAgB,EAAY,EAAU,CAAC,MAAO,IAAO,CAAC,IAClL,EAAM,IAAtC,IAAI,EAAO,SAAS,IAAoB,CAAC,CAAC,aAAa,IAAI,KAAG,GAAG,2BAA8B,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,CAAK,CAAC,CAAE,CAAE,CAAC,SAAgB,EAAc,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAI,WAC/H,OAAoB,EAAK,MAAM,CAAC,IAAzF,IAAtC,IAAI,EAAO,SAAS,IAAoB,CAAC,CAAC,aAAa,IAAI,CAAG,GAAG,QAAQ,EAAI,kBAA4D,IAAI,aAAa,MAAM,MAAM,OAAO,MAAM,MAAM,CAAC,GAAG,EAAa,UAAU,OAAO,CAAC,CAAC,CAAE,CAAE,yBAJtM,IAAqE,EAChG,EAAY,CAAC,WAAW,SAAS,CAAC,EAAQ,EAAa,CAAC,aAAa,KAAK,EAGqK,EAAoB,GAAmB,GAAO,CAAC,IAAM,EAAW,EAAO,SAAS,KAAW,MAAgB,CAAC,EAAU,UAAU,UAAU,CAAU,EAAE,EAAO,SAAS,KAAK,6BAA8B,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,CAAW,CAAC,CAAE"}