{"version":3,"file":"Sunny_photo.POfqfkJI.mjs","names":["useState","useRef","useState","useMemo","processed","totalCells"],"sources":["https:/framer.com/m/framer/default-utils.js","https:/framerusercontent.com/modules/o1PI5S8YtkA5bP5g4dFz/cAPMVEI6osbJ1UvICgTq/Embed.js","https:/framerusercontent.com/modules/606HUEOb65Y3yEAKZ90T/Ve6kDxxs4lMKyp2nUBVZ/Sunny_photo.js"],"sourcesContent":["/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useIsOnCanvas,emptyStateStyle,containerStyles}from\"https://framer.com/m/framer/default-utils.js\";/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n * @framerDisableUnlink\n */export default function Embed({type,url,html,zoom,radius,border,style={}}){if(type===\"url\"&&url){return /*#__PURE__*/_jsx(EmbedUrl,{url:url,zoom:zoom,radius:radius,border:border,style:style});}if(type===\"html\"&&html){return /*#__PURE__*/_jsx(EmbedHtml,{html:html,style:style});}return /*#__PURE__*/_jsx(Instructions,{style:style});}addPropertyControls(Embed,{type:{type:ControlType.Enum,defaultValue:\"url\",displaySegmentedControl:true,options:[\"url\",\"html\"],optionTitles:[\"URL\",\"HTML\"]},url:{title:\"URL\",type:ControlType.String,description:\"Some websites don’t support embedding.\",hidden(props){return props.type!==\"url\";}},html:{title:\"HTML\",type:ControlType.String,displayTextArea:true,hidden(props){return props.type!==\"html\";}},border:{title:\"Border\",type:ControlType.Border,optional:true,hidden(props){return props.type!==\"url\";}},radius:{type:ControlType.BorderRadius,title:\"Radius\",hidden(props){return props.type!==\"url\";}},zoom:{title:\"Zoom\",defaultValue:1,type:ControlType.Number,hidden(props){return props.type!==\"url\";},min:.1,max:1,step:.1,displayStepper:true}});function Instructions({style}){return /*#__PURE__*/_jsx(\"div\",{style:{minHeight:getMinHeight(style),...emptyStateStyle,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"To embed a website or widget, add it to the properties\\xa0panel.\"})});}function EmbedUrl({url,zoom,radius,border,style}){const hasAutoHeight=!style.height;// Add https:// if the URL does not have a protocol.\nif(!/[a-z]+:\\/\\//.test(url)){url=\"https://\"+url;}const onCanvas=useIsOnCanvas();// We need to check if the url is blocked inside an iframe by the X-Frame-Options\n// or Content-Security-Policy headers on the backend.\nconst[state,setState]=useState(onCanvas?undefined:false);useEffect(()=>{// We only want to check on the canvas.\n// On the website we want to avoid the additional delay.\nif(!onCanvas)return;// TODO: We could also use AbortController here.\nlet isLastEffect=true;setState(undefined);async function load(){const response=await fetch(\"https://api.framer.com/functions/check-iframe-url?url=\"+encodeURIComponent(url));if(response.status==200){const{isBlocked}=await response.json();if(isLastEffect){setState(isBlocked);}}else{const message=await response.text();console.error(message);const error=new Error(\"This site can’t be reached.\");setState(error);}}load().catch(error=>{console.error(error);setState(error);});return()=>{isLastEffect=false;};},[url]);if(onCanvas&&hasAutoHeight){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"URL embeds do not support auto height.\",style:style});}if(!url.startsWith(\"https://\")){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"Unsupported protocol.\",style:style});}if(state===undefined){return /*#__PURE__*/_jsx(LoadingIndicator,{});}if(state instanceof Error){return /*#__PURE__*/_jsx(ErrorMessage,{message:state.message,style:style});}if(state===true){const message=`Can’t embed ${url} due to its content security policy.`;return /*#__PURE__*/_jsx(ErrorMessage,{message:message,style:style});}return /*#__PURE__*/_jsx(\"iframe\",{src:url,style:{...iframeStyle,...style,...border,zoom:zoom,borderRadius:radius,transformOrigin:\"top center\"},loading:\"lazy\",// @ts-ignore\nfetchPriority:onCanvas?\"low\":\"auto\",referrerPolicy:\"no-referrer\",sandbox:getSandbox(onCanvas),allowFullScreen:true,allow:\"presentation; fullscreen; accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; clipboard-write\"});}const iframeStyle={width:\"100%\",height:\"100%\",border:\"none\"};function getSandbox(onCanvas){const result=[\"allow-same-origin\",\"allow-scripts\"];if(!onCanvas){result.push(\"allow-downloads\",\"allow-forms\",\"allow-modals\",\"allow-orientation-lock\",\"allow-pointer-lock\",\"allow-popups\",\"allow-popups-to-escape-sandbox\",\"allow-presentation\",\"allow-storage-access-by-user-activation\",\"allow-top-navigation-by-user-activation\");}return result.join(\" \");}function EmbedHtml({html,...props}){const hasScript=html.includes(\"</script>\");if(hasScript){const hasSplineViewer=html.includes(\"</spline-viewer>\");const hasComment=html.includes(\"<!-- framer-direct-embed -->\");if(hasSplineViewer||hasComment){return /*#__PURE__*/_jsx(EmbedHtmlWithScripts,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlInsideIframe,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlWithoutScripts,{html:html,...props});}function EmbedHtmlInsideIframe({html,style}){const ref=useRef();const[iframeHeight,setIframeHeight]=useState(0);// Handle auto sizing\nuseEffect(()=>{const iframeWindow=ref.current?.contentWindow;function handleMessage(event){if(event.source!==iframeWindow)return;const data=event.data;if(typeof data!==\"object\"||data===null)return;const height=data.embedHeight;if(typeof height!==\"number\")return;setIframeHeight(height);}window.addEventListener(\"message\",handleMessage);// After SSG the iframe loads before we attach the event handler,\n// therefore we need to request the latest height from the iframe.\niframeWindow?.postMessage(\"getEmbedHeight\",\"*\");return()=>{window.removeEventListener(\"message\",handleMessage);};},[]);// The CSS is mainly copied from:\n// FramerStudio/src/app/vekter/src/renderer/setDefaultFont.ts\n// FramerStudio/src/app/vekter/src/export/globalStylesForExport.ts\nconst srcDoc=`\n<html>\n    <head>\n        <style>\n            html, body {\n                margin: 0;\n                padding: 0;\n            }\n\n            body {\n                display: flex;\n                justify-content: center;\n                align-items: center;\n            }\n\n            :root {\n                -webkit-font-smoothing: antialiased;\n                -moz-osx-font-smoothing: grayscale;\n            }\n\n            * {\n                box-sizing: border-box;\n                -webkit-font-smoothing: inherit;\n            }\n\n            h1, h2, h3, h4, h5, h6, p, figure {\n                margin: 0;\n            }\n\n            body, input, textarea, select, button {\n                font-size: 12px;\n                font-family: sans-serif;\n            }\n        </style>\n    </head>\n    <body>\n        ${html}\n        <script type=\"module\">\n            let height = 0\n\n            function sendEmbedHeight() {\n                window.parent.postMessage({\n                    embedHeight: height\n                }, \"*\")\n            }\n\n            const observer = new ResizeObserver((entries) => {\n                if (entries.length !== 1) return\n                const entry = entries[0]\n                if (entry.target !== document.body) return\n\n                height = entry.contentRect.height\n                sendEmbedHeight()\n            })\n\n            observer.observe(document.body)\n\n            window.addEventListener(\"message\", (event) => {\n                if (event.source !== window.parent) return\n                if (event.data !== \"getEmbedHeight\") return\n                sendEmbedHeight()\n            })\n        </script>\n    <body>\n</html>\n`;const currentStyle={...iframeStyle,...style};const hasAutoHeight=!style.height;if(hasAutoHeight){currentStyle.height=iframeHeight+\"px\";}return /*#__PURE__*/_jsx(\"iframe\",{ref:ref,style:currentStyle,srcDoc:srcDoc});}function EmbedHtmlWithScripts({html,style}){const ref=useRef();useEffect(()=>{const div=ref.current;if(!div)return;div.innerHTML=html;executeScripts(div);return()=>{div.innerHTML=\"\";};},[html]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...htmlStyle,...style}});}function EmbedHtmlWithoutScripts({html,style}){return /*#__PURE__*/_jsx(\"div\",{style:{...htmlStyle,...style},dangerouslySetInnerHTML:{__html:html}});}const htmlStyle={width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\"};// This function replaces scripts with executable ones.\n// https://stackoverflow.com/questions/1197575/can-scripts-be-inserted-with-innerhtml\nfunction executeScripts(node){if(node instanceof Element&&node.tagName===\"SCRIPT\"){const script=document.createElement(\"script\");script.text=node.innerHTML;for(const{name,value}of node.attributes){script.setAttribute(name,value);}node.parentElement.replaceChild(script,node);}else{for(const child of node.childNodes){executeScripts(child);}}}// Generic components\nfunction LoadingIndicator(){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-componentPlaceholder\",style:{...containerStyles,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"Loading…\"})});}function ErrorMessage({message,style}){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-errorPlaceholder\",style:{minHeight:getMinHeight(style),...containerStyles,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:message})});}const centerTextStyle={textAlign:\"center\",minWidth:140};// Returns a min-height if the component is using auto-height.\nfunction getMinHeight(style){const hasAutoHeight=!style.height;if(hasAutoHeight)return 200;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Embed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"600\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Embed.map","// SunnyBentoGrid - Bản 3.4: Ultimate Lightbox (Fix dứt điểm lỗi kính lúp zoom-out trên hình ảnh)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";export default function SunnyBentoGrid(props){const{items=[],gap=16,borderRadius=24,desktopColumns=3,isRandom=true,style}=props;const[activeLightboxItem,setActiveLightboxItem]=useState(null);const isStatic=useIsStaticRenderer();if(!items||items.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",minHeight:\"300px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",textAlign:\"center\",backgroundColor:\"#151515\",color:\"#666\",fontSize:\"14px\",border:\"1px dashed #333\",borderRadius:`${borderRadius}px`,fontFamily:\"sans-serif\"},children:'H\\xe3y nhấn dấu + ở mục \"Bento Items\" rồi k\\xe9o thả H\\xecnh ảnh/GIF từ Eagle v\\xe0o.'});}// THUẬT TOÁN GRID\nconst{processedItems,totalRows}=useMemo(()=>{const bentoSizes=[{col:1,row:1},{col:2,row:1},{col:1,row:2}];if(!isRandom){const processed=items.map(item=>({...item,colSpan:item.colSpan||1,rowSpan:item.rowSpan||1}));const totalCells=processed.reduce((acc,curr)=>acc+curr.colSpan*curr.rowSpan,0);return{processedItems:processed,totalRows:Math.ceil(totalCells/desktopColumns)};}let currentColumnTrack=0;const processed=items.map((item,index)=>{const pseudoRandom=(index*9301+49297)%233280/233280;let sizeIndex=Math.floor(pseudoRandom*bentoSizes.length);let chosenSize=bentoSizes[sizeIndex];if(currentColumnTrack+chosenSize.col>desktopColumns)chosenSize={col:1,row:chosenSize.row};currentColumnTrack=(currentColumnTrack+chosenSize.col)%desktopColumns;return{...item,colSpan:chosenSize.col,rowSpan:chosenSize.row};});const totalCells=processed.reduce((acc,curr)=>acc+curr.colSpan*curr.rowSpan,0);return{processedItems:processed,totalRows:Math.ceil(totalCells/desktopColumns)};},[items,isRandom,desktopColumns]);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{...style,display:\"grid\",width:\"100%\",height:\"100%\",gridTemplateColumns:`repeat(${desktopColumns}, minmax(0, 1fr))`,gridTemplateRows:`repeat(${totalRows}, minmax(0, 1fr))`,gap:`${gap}px`},children:processedItems.map((item,index)=>{return /*#__PURE__*/_jsx(\"div\",{onClick:()=>!isStatic&&setActiveLightboxItem(item),style:{gridColumn:`span ${item.colSpan||1}`,gridRow:`span ${item.rowSpan||1}`,position:\"relative\",backgroundColor:item.backgroundColor||\"#151515\",borderRadius:`${borderRadius}px`,overflow:\"hidden\",cursor:\"pointer\",transition:\"transform 0.4s cubic-bezier(0.16, 1, 0.3, 1)\"},onMouseEnter:e=>e.currentTarget.style.transform=\"scale(0.985)\",onMouseLeave:e=>e.currentTarget.style.transform=\"scale(1)\",children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",zIndex:0},children:item.mediaType===\"video\"&&item.videoSrc?/*#__PURE__*/_jsx(\"video\",{src:item.videoSrc,autoPlay:true,muted:true,loop:true,playsInline:true,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}}):item.imageSrc?/*#__PURE__*/_jsx(\"img\",{src:item.imageSrc,alt:\"Bento Asset\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"},loading:\"lazy\"}):null})},index);})}),/*#__PURE__*/_jsx(AnimatePresence,{children:activeLightboxItem&&/*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>setActiveLightboxItem(null),style:{position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100vh\",backgroundColor:\"rgba(0, 0, 0, 0.95)\",zIndex:999999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"zoom-out\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"30px\",right:\"40px\",color:\"#fff\",fontSize:\"24px\",fontWeight:300,cursor:\"pointer\",userSelect:\"none\"},children:\"✕\"}),/*#__PURE__*/_jsx(motion.div,{initial:{scale:.9,y:20},animate:{scale:1,y:0},exit:{scale:.9,y:20},transition:{type:\"spring\",stiffness:150,damping:25},// FIX LỖI Ở ĐÂY: Phân tách hành vi click giữa Video và Image\nonClick:e=>{if(activeLightboxItem.mediaType===\"video\"){e.stopPropagation()// Nếu là video: chặn lại để cho phép khách bấm nút thanh tua/pause\n;}else{setActiveLightboxItem(null)// Nếu là hình: không chặn gì cả, bấm vào là tắt cái rụp\n;}},style:{width:\"90%\",height:\"85%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:\"12px\",overflow:\"hidden\",// Fix con trỏ chuột: Hình thì hiện kính lúp trừ, Video thì hiện chuột thường để bấm nút\ncursor:activeLightboxItem.mediaType===\"video\"?\"auto\":\"zoom-out\"},children:activeLightboxItem.mediaType===\"video\"&&activeLightboxItem.videoSrc?/*#__PURE__*/_jsx(\"video\",{src:activeLightboxItem.videoSrc,autoPlay:true,controls:true,loop:true,playsInline:true,style:{maxWidth:\"100%\",maxHeight:\"100%\",objectFit:\"contain\"}}):activeLightboxItem.imageSrc?/*#__PURE__*/_jsx(\"img\",{src:activeLightboxItem.imageSrc,alt:\"Full Size Visual\",style:{maxWidth:\"100%\",maxHeight:\"100%\",objectFit:\"contain\"}}):null})]})})]});}addPropertyControls(SunnyBentoGrid,{desktopColumns:{type:ControlType.Number,title:\"Columns\",defaultValue:3,min:1,max:6},isRandom:{type:ControlType.Boolean,title:\"Random Layout\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:16,min:0,max:100,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Bo g\\xf3c\",defaultValue:24,min:0,max:100,unit:\"px\"},items:{type:ControlType.Array,title:\"Bento Items\",control:{type:ControlType.Object,controls:{mediaType:{type:ControlType.Enum,title:\"Media Type\",options:[\"image\",\"video\"],optionTitles:[\"Image / GIF\",\"Video (MP4)\"],defaultValue:\"image\"},imageSrc:{type:ControlType.Image,title:\"Image / GIF\",hidden:({mediaType})=>mediaType!==\"image\"},videoSrc:{type:ControlType.File,allowedFileTypes:[\"mp4\"],title:\"Video MP4\",hidden:({mediaType})=>mediaType!==\"video\"},colSpan:{type:ControlType.Number,title:\"Col Span (Ngang)\",defaultValue:1,min:1,max:3,hidden:props=>props.isRandom},rowSpan:{type:ControlType.Number,title:\"Row Span (Cao)\",defaultValue:1,min:1,max:3,hidden:props=>props.isRandom},backgroundColor:{type:ControlType.Color,title:\"M\\xe0u nền \\xf4\",defaultValue:\"#151515\"}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SunnyBentoGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Sunny_photo.map"],"mappings":"4WCQG,SAAwB,EAAM,CAAC,OAAK,MAAI,OAAK,OAAK,SAAO,SAAO,QAAM,EAAE,EAAE,CAA4M,OAAxM,IAAO,OAAO,EAAyB,EAAK,EAAS,CAAK,MAAS,OAAY,SAAc,SAAa,QAAM,CAAC,CAAK,IAAO,QAAQ,EAA0B,EAAK,EAAU,CAAM,OAAW,QAAM,CAAC,CAAsB,EAAK,EAAa,CAAO,QAAM,CAAC,CAA0uB,SAAS,EAAa,CAAC,SAAO,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,UAAU,EAAa,EAAM,CAAC,GAAG,EAAgB,SAAS,SAAS,GAAG,EAAM,CAAC,SAAsB,EAAK,MAAM,CAAC,MAAM,EAAgB,SAAS,mEAAmE,CAAC,CAAC,CAAC,CAAE,SAAS,EAAS,CAAC,MAAI,OAAK,SAAO,SAAO,SAAO,CAAC,IAAM,EAAc,CAAC,EAAM,OAC55C,cAAc,KAAK,EAAI,GAAE,EAAI,WAAW,GAAK,IAAM,EAAS,GAAe,CAE1E,CAAC,EAAM,GAAUA,EAAS,EAAS,IAAA,GAAU,GAAM,CAG4gC,OAH3gC,MAAc,CAEvE,GAAG,CAAC,EAAS,OACb,IAAI,EAAa,GAAK,EAAS,IAAA,GAAU,CAAC,eAAe,GAAM,CAAC,IAAM,EAAS,MAAM,MAAM,yDAAyD,mBAAmB,EAAI,CAAC,CAAC,GAAG,EAAS,QAAQ,IAAI,CAAC,GAAK,CAAC,aAAW,MAAM,EAAS,MAAM,CAAI,GAAc,EAAS,EAAU,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