{
  "version": 3,
  "sources": ["ssg: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": "kIACA,IAAMA,EAASC,EAAY,CAAC,WAAW,SAAS,CAAC,EAAQC,EAAa,CAAC,aAAa,KAAK,EAAS,SAASC,EAAaC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAI,OAC7GC,EAApC,IAAI,IAAIC,EAAO,SAAS,IAAI,EAAkB,aAAa,IAAIF,CAAG,GAAG,QAAQA,CAAG,mBAAmB,OAAoBG,EAAKL,EAAU,CAAC,GAAGC,EAAM,KAAKE,CAAK,CAAC,CAAE,CAAE,CAAQ,SAASG,EAAYN,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAI,MAC5LC,EAApC,IAAI,IAAIC,EAAO,SAAS,IAAI,EAAkB,aAAa,IAAIF,CAAG,GAAG,QAAQA,CAAG,mBAAmB,OAAoBG,EAAKL,EAAU,CAAC,GAAGC,EAAM,KAAKE,CAAK,CAAC,CAAE,CAAE,CAAQ,SAASI,EAAcP,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAI,WAC9LC,EAApC,IAAI,IAAIC,EAAO,SAAS,IAAI,EAAkB,aAAa,IAAIF,CAAG,GAAG,QAAQA,CAAG,mBAAmB,OAAoBG,EAAK,MAAM,CAAC,IAAIF,EAAM,IAAI,aAAa,MAAM,MAAM,OAAO,MAAM,MAAM,CAAC,GAAGL,EAAa,UAAU,OAAO,CAAC,CAAC,CAAE,CAAE,CAAQ,IAAMU,EAAoBR,GAAmBC,GAAO,CAAC,IAAMQ,EAAWL,EAAO,SAAS,KAA2H,OAAoBC,EAAKL,EAAU,CAAC,GAAGC,EAAM,QAAjJ,IAAI,CAACS,EAAU,UAAU,UAAUD,CAAU,EAAEL,EAAO,SAAS,KAAK,6BAA8B,CAAkE,CAAC,CAAE",
  "names": ["useStore", "createStore", "roundedImage", "withNameText", "Component", "props", "key", "value", "window", "p", "withPINText", "withEventLogo", "withCopyToClipboard", "textToCopy", "navigator"]
}
