{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/w7e5f6VGR629Bv2dOSE5/rwD6iJYRe0xBAhNeKzG1/Resize.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 Resize(props){const{triggerOn,position=\"top left\",w=340,h=420}=props;const postMessage=()=>{window.parent.postMessage({methodName:\"showUI\",args:{position:position,width:w,height:h}},\"*\");};useEffect(()=>{triggerOn===\"onAppear\"&&postMessage();},[triggerOn]);return triggerOn===\"onAppear\"?/*#__PURE__*/_jsx(Action,{title:\"Resize\"}):/*#__PURE__*/_jsx(Hotspot,{onClick:postMessage});}addPropertyControls(Resize,{triggerOn:{title:\"Trigger On\",type:ControlType.Enum,defaultValue:\"onAppear\",options:[\"onAppear\",\"onClick\"],optionTitles:[\"Appear\",\"Click\"]},position:{type:ControlType.Enum,options:[\"top left\",\"top right\",\"bottom right\",\"bottom left\"]},w:{title:\"Width\",type:ControlType.Number,defaultValue:340},h:{title:\"Height\",type:ControlType.Number,defaultValue:420}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Resize\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Resize.map"],
  "mappings": "yLAMkB,SAARA,EAAwBC,EAAM,CAAC,GAAK,CAAC,UAAAC,EAAU,SAAAC,EAAS,WAAW,EAAAC,EAAE,IAAI,EAAAC,EAAE,GAAG,EAAEJ,EAAYK,EAAY,IAAI,CAACC,EAAO,OAAO,YAAY,CAAC,WAAW,SAAS,KAAK,CAAC,SAASJ,EAAS,MAAMC,EAAE,OAAOC,CAAC,CAAC,EAAE,GAAG,CAAE,EAAE,OAAAG,EAAU,IAAI,CAACN,IAAY,YAAYI,EAAY,CAAE,EAAE,CAACJ,CAAS,CAAC,EAASA,IAAY,WAAwBO,EAAKC,EAAO,CAAC,MAAM,QAAQ,CAAC,EAAeD,EAAKE,EAAQ,CAAC,QAAQL,CAAW,CAAC,CAAE,CAACM,EAAoBZ,EAAO,CAAC,UAAU,CAAC,MAAM,aAAa,KAAKa,EAAY,KAAK,aAAa,WAAW,QAAQ,CAAC,WAAW,SAAS,EAAE,aAAa,CAAC,SAAS,OAAO,CAAC,EAAE,SAAS,CAAC,KAAKA,EAAY,KAAK,QAAQ,CAAC,WAAW,YAAY,eAAe,aAAa,CAAC,EAAE,EAAE,CAAC,MAAM,QAAQ,KAAKA,EAAY,OAAO,aAAa,GAAG,EAAE,EAAE,CAAC,MAAM,SAAS,KAAKA,EAAY,OAAO,aAAa,GAAG,CAAC,CAAC",
  "names": ["Resize", "props", "triggerOn", "position", "w", "h", "postMessage", "window", "ue", "p", "Action", "Hotspot", "addPropertyControls", "ControlType"]
}
