{"version":3,"file":"Pink_message.uPBVjp41.mjs","names":["MessageImage","MessageImage","MessageImage"],"sources":["https:/framerusercontent.com/modules/oe7PTAwrJyRK5EGaYNq3/Z2gTHxSt7omBvbBYyUhQ/Spinnable_API.js","https:/framerusercontent.com/modules/q3DVubLrZTsXzJjyMVry/XnnLTCGGJfz6y4FTVKrQ/Blouse_message.js","https:/framerusercontent.com/modules/EYgLwXpTZ9bak4MIHkQH/sQ0dB1NzJ68Vh1Kpenjy/Jacket_message.js","https:/framerusercontent.com/modules/pLd0F4BmpS2I4EAiM7Ua/b7VEe8BZo8G9fa3g7oO3/Leopard_message_button.js","https:/framerusercontent.com/modules/APbwenx6oSqonWtsRLAn/21PruljcZcnEUmDvHW8j/Pink_message.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function MessageFrame({src}){return /*#__PURE__*/_jsx(\"iframe\",{id:\"childFrame\",src:src,style:{width:\"100%\",height:\"100%\",border:\"1px solid #ccc\"},onLoad:e=>{const el=e.currentTarget;console.log(\"[Frame] loaded:\",el.src,\"origin:\",new URL(el.src).origin);}});}addPropertyControls(MessageFrame,{src:{type:ControlType.String,title:\"Source URL\",defaultValue:\"https://hyperinteractive.ai/spin/swimwear_app2/\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MessageFrame\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Spinnable_API.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function MessageImage({src,alt}){const send=()=>{const iframe=document.getElementById(\"childFrame\");if(!iframe)return console.warn(\"[Image] iframe #childFrame not found\");if(!iframe.contentWindow)return console.warn(\"[Image] iframe not ready yet\");const targetOrigin=\"https://hyperinteractive.ai\";const payload=\"sendMessage('blouse:1')\";console.log(\"[Image] postMessage:\",payload,\"→\",targetOrigin);iframe.contentWindow.postMessage(\"blouse:1\",targetOrigin);};return /*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:{cursor:\"pointer\",display:\"block\",width:\"100%\",height:\"100%\",borderRadius:\"0px\"},onClick:send});}addPropertyControls(MessageImage,{src:{type:ControlType.Image,title:\"Image\"},alt:{type:ControlType.String,title:\"Alt text\",defaultValue:\"Clickable image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MessageImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Blouse_message.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function MessageImage({src,alt}){const send=()=>{const iframe=document.getElementById(\"childFrame\");if(!iframe)return console.warn(\"[Image] iframe #childFrame not found\");if(!iframe.contentWindow)return console.warn(\"[Image] iframe not ready yet\");const targetOrigin=\"https://hyperinteractive.ai\";const payload=\"sendMessage('jacket:1')\";console.log(\"[Image] postMessage:\",payload,\"→\",targetOrigin);iframe.contentWindow.postMessage(\"jacket:1\",targetOrigin);};return /*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:{cursor:\"pointer\",display:\"block\",width:\"100%\",height:\"100%\",borderRadius:\"0px\"},onClick:send});}addPropertyControls(MessageImage,{src:{type:ControlType.Image,title:\"Image\"},alt:{type:ControlType.String,title:\"Alt text\",defaultValue:\"Clickable image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MessageImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Jacket_message.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function MessageImage({src,alt}){const send=()=>{const iframe=document.getElementById(\"childFrame\");if(!iframe)return console.warn(\"[Image] iframe #childFrame not found\");if(!iframe.contentWindow)return console.warn(\"[Image] iframe not ready yet\");const targetOrigin=\"https://hyperinteractive.ai\";const payload=\"sendMessage('leo:1')\";console.log(\"[Image] postMessage:\",payload,\"→\",targetOrigin);iframe.contentWindow.postMessage(\"leo:1\",targetOrigin);};return /*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:{cursor:\"pointer\",display:\"block\",width:\"100%\",height:\"100%\",borderRadius:\"0px\"},onClick:send});}addPropertyControls(MessageImage,{src:{type:ControlType.Image,title:\"Image\"},alt:{type:ControlType.String,title:\"Alt text\",defaultValue:\"Clickable image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MessageImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Leopard_message_button.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function MessageImage({src,alt}){const send=()=>{const iframe=document.getElementById(\"childFrame\");if(!iframe)return console.warn(\"[Image] iframe #childFrame not found\");if(!iframe.contentWindow)return console.warn(\"[Image] iframe not ready yet\");const targetOrigin=\"https://hyperinteractive.ai\";const payload=\"sendMessage('pink:1')\";console.log(\"[Image] postMessage:\",payload,\"→\",targetOrigin);iframe.contentWindow.postMessage(\"pink:1\",targetOrigin);};return /*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:{cursor:\"pointer\",display:\"block\",width:\"100%\",height:\"100%\",borderRadius:\"0px\"},onClick:send});}addPropertyControls(MessageImage,{src:{type:ControlType.Image,title:\"Image\"},alt:{type:ControlType.String,title:\"Alt text\",defaultValue:\"Clickable image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MessageImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n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