{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/zrDqg3e0900HiqMtdFY5/L5BhusYuQH8n1o8v7cNT/Route.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import Action from\"https://framer.com/m/Action-44B5.js@E92jCFQyoJHfrm0JZpA2\";import{Hotspot}from\"https://framer.com/m/Hotspot-dPTz.js@puxMxBgkJAPzV0v9Jb5r\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Route(props){const{triggerOn,src}=props;const postMessage=()=>{if(!src)return;window.parent.postMessage({methodName:\"setRoute\",args:src},\"*\");};useEffect(()=>{triggerOn===\"onAppear\"&&postMessage();},[triggerOn]);return triggerOn===\"onAppear\"?/*#__PURE__*/_jsx(Action,{...props,title:\"Route\"}):/*#__PURE__*/_jsx(Hotspot,{...props,onClick:postMessage});}addPropertyControls(Route,{triggerOn:{title:\"Trigger On\",type:ControlType.Enum,defaultValue:\"onAppear\",options:[\"onAppear\",\"onClick\"],optionTitles:[\"Appear\",\"Click\"]},src:{type:ControlType.String}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Route\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Route.map"],
  "mappings": "oLAMkB,SAARA,EAAuBC,EAAM,CAAC,GAAK,CAAC,UAAAC,EAAU,IAAAC,CAAG,EAAEF,EAAYG,EAAY,IAAI,CAAKD,GAAWE,EAAO,OAAO,YAAY,CAAC,WAAW,WAAW,KAAKF,CAAG,EAAE,GAAG,CAAE,EAAE,OAAAG,EAAU,IAAI,CAACJ,IAAY,YAAYE,EAAY,CAAE,EAAE,CAACF,CAAS,CAAC,EAASA,IAAY,WAAwBK,EAAKC,EAAO,CAAC,GAAGP,EAAM,MAAM,OAAO,CAAC,EAAeM,EAAKE,EAAQ,CAAC,GAAGR,EAAM,QAAQG,CAAW,CAAC,CAAE,CAACM,EAAoBV,EAAM,CAAC,UAAU,CAAC,MAAM,aAAa,KAAKW,EAAY,KAAK,aAAa,WAAW,QAAQ,CAAC,WAAW,SAAS,EAAE,aAAa,CAAC,SAAS,OAAO,CAAC,EAAE,IAAI,CAAC,KAAKA,EAAY,MAAM,CAAC,CAAC",
  "names": ["Route", "props", "triggerOn", "src", "postMessage", "window", "ue", "p", "Action", "Hotspot", "addPropertyControls", "ControlType"]
}
