{"version":3,"file":"HTMLPlayground.3KkGT8HZ.mjs","names":["React.useRef","React.useState","React.useEffect","React.useMemo","React.useCallback","_jsx","__esmMin","pe","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","window","_e","c","init_jsx_runtime","ce","de","addPropertyControls","ControlType","init_framer_ChujFWHC","hashString","value","hash","i","injectBridgeIntoHtml","sourceHtml","messageId","bridgeScript","HEIGHT_MESSAGE","HEIGHT_REQUEST","HASH_MESSAGE","WHEEL_MESSAGE","JUMP_MESSAGE","injectTopNavigationBase","baseTag","updateHeaderLogo","logoCss","replaced","match","beforeHref","afterHref","innerHtml","attrs","classPattern","next","HTMLPlayground","props","style","html","height","allowScripts","autoHeight","maxHeight","title","openLinksInParent","iframeRef","measuredHeight","setMeasuredHeight","shouldAutoSize","fitContentRoot","requestHeight","receivedHeight","onMessage","event","iframe","payload","incoming","bounded","prev","retries","delay","retry","onWheelMessage","data","offset","factor","dx","dy","postHashToIframe","listener","srcDoc","source","withNavigation","sandbox","flags","resolvedHeight","init_HTMLPlayground"],"sources":["https:/framerusercontent.com/modules/QUCs0ospeaYaC8x95aId/klKjfr33Go08mPLBvoot/HTMLPlayground.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import*as React from\"react\";const HEIGHT_MESSAGE=\"HTML_PLAYGROUND_HEIGHT\";const HEIGHT_REQUEST=\"HTML_PLAYGROUND_HEIGHT_REQUEST\";const HASH_MESSAGE=\"HTML_PLAYGROUND_HASH\";const WHEEL_MESSAGE=\"HTML_PLAYGROUND_WHEEL\";const JUMP_MESSAGE=\"HTML_PLAYGROUND_JUMP\";function hashString(value){let hash=0;for(let i=0;i<value.length;i++){hash=(hash<<5)-hash+value.charCodeAt(i);hash|=0;}return String(Math.abs(hash));}function injectBridgeIntoHtml(sourceHtml,messageId){// This script executes inside the sandboxed iframe, not the Framer page.\nconst bridgeScript=`<script>(function(){\n      var ID=${JSON.stringify(messageId)};\n      var HEIGHT=${JSON.stringify(HEIGHT_MESSAGE)};\n      var HEIGHT_REQUEST=${JSON.stringify(HEIGHT_REQUEST)};\n      var HASH=${JSON.stringify(HASH_MESSAGE)};\n      var WHEEL=${JSON.stringify(WHEEL_MESSAGE)};\n      var JUMP=${JSON.stringify(JUMP_MESSAGE)};\n      var lastHeight=-1, raf=0, forceReport=false, observer, contentRoot;\n      // The embedded document must never become a second wheel-scroll container.\n      function disableDocumentScrolling(){\n        var d=document.documentElement,b=document.body;\n        if(!d||!b)return;\n        d.style.setProperty('overflow-y','hidden','important');\n        d.style.setProperty('overflow-x','hidden','important');\n        b.style.setProperty('overflow-y','hidden','important');\n        b.style.setProperty('overflow-x','hidden','important');\n        d.style.setProperty('scrollbar-width','none','important');\n        b.style.setProperty('scrollbar-width','none','important');\n      }\n      function measure(){\n        if(!document.body||!document.documentElement)return 0;\n        if(contentRoot)return Math.ceil(contentRoot.getBoundingClientRect().bottom+window.scrollY);\n        var b=document.body,d=document.documentElement;\n        // Scroll height can temporarily report only the iframe viewport.\n        // Also measure the actual bottom edge of visible layout content.\n        var h=Math.max(b.scrollHeight,b.offsetHeight,d.scrollHeight,d.offsetHeight);\n        var children=b.children;\n        for(var i=0;i<children.length;i++){\n          var el=children[i];\n          var rect=el.getBoundingClientRect();\n          var cs=getComputedStyle(el);\n          if(cs.position==='fixed'||cs.display==='none')continue;\n          h=Math.max(h,rect.bottom+window.scrollY+parseFloat(cs.marginBottom||0));\n        }\n        return Math.ceil(h);\n      }\n      function notify(){\n        raf=0;\n        var h=measure();\n        var force=forceReport;\n        forceReport=false;\n        if(h>0 && (force||Math.abs(h-lastHeight)>=1)){\n          lastHeight=h;\n          parent.postMessage({type:HEIGHT,id:ID,height:h},'*');\n        }\n      }\n      function schedule(){\n        if(!raf)raf=requestAnimationFrame(notify);\n      }\n      function decodeHash(raw){\n        var s=String(raw||'').replace(/^#/,'');\n        try{return decodeURIComponent(s)}catch(e){return s}\n      }\n      function findTarget(hash){\n        var id=decodeHash(hash);\n        if(!id)return null;\n        return document.getElementById(id)||document.getElementsByName(id)[0]||null;\n      }\n      function onParentMessage(e){\n        var d=e.data;\n        if(e.source!==parent||!d||d.id!==ID)return;\n        if(d.type===HEIGHT_REQUEST){\n          forceReport=true;\n          schedule();\n          return;\n        }\n        if(d.type!==HASH)return;\n        var target=findTarget(d.hash);\n        if(target){\n          // Scroll the real page, not the internal iframe viewport.\n          var y=target.getBoundingClientRect().top+window.scrollY;\n          parent.postMessage({type:JUMP,id:ID,offset:y},'*');\n          schedule();\n        }\n      }\n      // An iframe is a separate scrolling document. If it has no internal\n      // scroll room, wheel input must be passed to the Framer parent.\n      function canScrollLocally(target,dy,dx){\n        var el=target && target.nodeType===1 ? target : target && target.parentElement;\n        while(el&&el!==document.body&&el!==document.documentElement){\n          var cs=getComputedStyle(el);\n          var sy=cs.overflowY, sx=cs.overflowX;\n          if((sy==='auto'||sy==='scroll')&&el.scrollHeight>el.clientHeight+1){\n            if((dy<0&&el.scrollTop>0)||(dy>0&&el.scrollTop+el.clientHeight<el.scrollHeight-1))return true;\n          }\n          if((sx==='auto'||sx==='scroll')&&el.scrollWidth>el.clientWidth+1){\n            if((dx<0&&el.scrollLeft>0)||(dx>0&&el.scrollLeft+el.clientWidth<el.scrollWidth-1))return true;\n          }\n          el=el.parentElement;\n        }\n        return false;\n      }\n      function onWheel(e){\n        if(e.defaultPrevented||e.ctrlKey||e.metaKey)return;\n        if(!e.deltaY&&!e.deltaX)return;\n        if(canScrollLocally(e.target,e.deltaY,e.deltaX))return;\n        e.preventDefault();\n        parent.postMessage({type:WHEEL,id:ID,deltaX:e.deltaX,deltaY:e.deltaY,deltaMode:e.deltaMode},'*');\n      }\n      function setup(){\n        contentRoot=document.querySelector(\"[data-html-playground-content-root]\");\n        schedule();\n        disableDocumentScrolling();\n        window.addEventListener('wheel',onWheel,{passive:false,capture:true});\n        if(typeof ResizeObserver!=='undefined'){\n          observer=new ResizeObserver(schedule);\n          if(contentRoot){\n            observer.observe(contentRoot);\n          }else{\n            observer.observe(document.body);\n            observer.observe(document.documentElement);\n          }\n        }\n        // Images, fonts and late-running scripts can alter document height.\n        window.addEventListener('load',schedule);\n        window.addEventListener('resize',schedule);\n        // Some embedded scripts reassign body overflow during initialization.\n        setTimeout(disableDocumentScrolling,100);\n        setTimeout(disableDocumentScrolling,600);\n        window.addEventListener('message',onParentMessage);\n        if(document.fonts&&document.fonts.ready){document.fonts.ready.then(schedule).catch(function(){})}\n        document.addEventListener('load',schedule,true);\n        setTimeout(schedule,100);\n        setTimeout(schedule,600);\n        setTimeout(schedule,1800);\n      }\n      if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',setup,{once:true});\n      else setup();\n    })();</script>`;if(/<\\/body\\s*>/i.test(sourceHtml))return sourceHtml.replace(/<\\/body\\s*>/i,`${bridgeScript}</body>`);if(/<\\/html\\s*>/i.test(sourceHtml))return sourceHtml.replace(/<\\/html\\s*>/i,`${bridgeScript}</html>`);if(/<html[\\s>]/i.test(sourceHtml)||/<!doctype/i.test(sourceHtml))return`${sourceHtml}${bridgeScript}`;return`<!doctype html><html><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"></head><body>${sourceHtml}${bridgeScript}</body></html>`;}function injectTopNavigationBase(sourceHtml){if(/<base\\b/i.test(sourceHtml))return sourceHtml;const baseTag='<base target=\"_top\">';if(/<head[^>]*>/i.test(sourceHtml))return sourceHtml.replace(/<head([^>]*)>/i,`<head$1>${baseTag}`);if(/<html[^>]*>/i.test(sourceHtml))return sourceHtml.replace(/<html([^>]*)>/i,`<html$1><head>${baseTag}</head>`);return sourceHtml// Bare fragments have no head; avoid malformed markup.\n;}function updateHeaderLogo(sourceHtml){const logoCss=`<style id=\"team-edda-logo-style\">.team-edda-logo{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;text-decoration:none;}.team-edda-logo__mark{width:9px;height:9px;background:#D9AAA6;display:inline-block;flex:0 0 auto;}.team-edda-logo__label{font-family:\"Inter\",monospace;font-weight:500;font-size:15px;letter-spacing:0.04em;line-height:1;color:#F3F0EA;display:inline-block;}</style>`;const logoInner='<span class=\"team-edda-logo__mark\" aria-hidden=\"true\"></span><span class=\"team-edda-logo__label\">TEAM EDDA</span>';const anchorPattern=/<a\\b([^>]*\\bhref\\s*=\\s*['\"])#top(['\"][^>]*)>([\\s\\S]*?)<\\/a>/i;const replaced=sourceHtml.replace(anchorPattern,(match,beforeHref,afterHref,innerHtml)=>{if(!/<img\\b/i.test(innerHtml))return match;const attrs=`${beforeHref}#top${afterHref}`;const classPattern=/\\bclass\\s*=\\s*(['\"])(.*?)\\1/i;const cls=attrs.match(classPattern)?.[2]||\"\";const next=`${cls} team-edda-logo`.trim();const attributes=classPattern.test(attrs)?attrs.replace(classPattern,`class=\"${next}\"`):`${attrs} class=\"team-edda-logo\"`;return`<a${attributes}>${logoInner}</a>`;});if(replaced===sourceHtml||/id\\s*=\\s*[\"']team-edda-logo-style[\"']/i.test(replaced))return replaced;return/<\\/head>/i.test(replaced)?replaced.replace(/<\\/head>/i,`${logoCss}</head>`):`${logoCss}${replaced}`;}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 900\n */export default function HTMLPlayground(props){const{style,html=\"<div style='padding:16px'>Paste your HTML here.</div>\",height=6e3,allowScripts=true,autoHeight=true,maxHeight=0,title=\"HTML Playground preview\",openLinksInParent=true}=props;const iframeRef=React.useRef(null);const[measuredHeight,setMeasuredHeight]=React.useState(900);React.useEffect(()=>setMeasuredHeight(900),[html,title]);const messageId=React.useMemo(()=>hashString(`${title}:${html}`),[title,html]);const shouldAutoSize=autoHeight&&allowScripts;const fitContentRoot=html.includes(\"data-html-playground-content-root\");const requestHeight=React.useCallback(()=>{iframeRef.current?.contentWindow?.postMessage({type:HEIGHT_REQUEST,id:messageId},\"*\");},[messageId]);React.useEffect(()=>{if(!shouldAutoSize||typeof window===\"undefined\")return;let receivedHeight=false;const onMessage=event=>{const iframe=iframeRef.current;if(!iframe||event.source!==iframe.contentWindow)return;const payload=event.data;if(!payload||payload.type!==HEIGHT_MESSAGE||payload.id!==messageId)return;const incoming=Number(payload.height);if(!Number.isFinite(incoming)||incoming<1)return;receivedHeight=true;const bounded=Math.ceil(maxHeight>0?Math.min(incoming,maxHeight):incoming);// Marked roots report intrinsic content height independently of the iframe.\nsetMeasuredHeight(prev=>fitContentRoot?bounded:Math.max(prev,bounded));};window.addEventListener(\"message\",onMessage);// The iframe can finish before hydration or still be loading when this effect runs.\nrequestHeight();const retries=[250,1e3,3e3].map(delay=>window.setTimeout(()=>{if(!receivedHeight)requestHeight();},delay));return()=>{retries.forEach(retry=>window.clearTimeout(retry));window.removeEventListener(\"message\",onMessage);};},[messageId,maxHeight,shouldAutoSize,fitContentRoot,requestHeight]);// Forward mouse wheel movement from inside the sandboxed iframe to the\n// real page. Validate the sender so unrelated embeds cannot scroll us.\nReact.useEffect(()=>{if(typeof window===\"undefined\"||!allowScripts)return;const onWheelMessage=event=>{if(event.source!==iframeRef.current?.contentWindow)return;const data=event.data;if(!data||data.id!==messageId)return;if(data.type===JUMP_MESSAGE){const offset=Number(data.offset);if(Number.isFinite(offset)){const iframe=iframeRef.current;if(iframe)window.scrollTo({top:iframe.getBoundingClientRect().top+window.scrollY+offset,behavior:\"smooth\"});}return;}if(data.type!==WHEEL_MESSAGE)return;const factor=data.deltaMode===1?16:data.deltaMode===2?window.innerHeight:1;const dx=Number(data.deltaX)*factor;const dy=Number(data.deltaY)*factor;if(!Number.isFinite(dx)||!Number.isFinite(dy))return;window.scrollBy({left:dx,top:dy,behavior:\"auto\"});};window.addEventListener(\"message\",onWheelMessage);return()=>window.removeEventListener(\"message\",onWheelMessage);},[allowScripts,messageId]);const postHashToIframe=React.useCallback(hash=>{if(typeof window===\"undefined\")return;iframeRef.current?.contentWindow?.postMessage({type:HASH_MESSAGE,id:messageId,hash:hash??window.location.hash},\"*\");},[messageId]);React.useEffect(()=>{if(!allowScripts||typeof window===\"undefined\")return;const listener=()=>postHashToIframe(window.location.hash);window.addEventListener(\"hashchange\",listener);return()=>window.removeEventListener(\"hashchange\",listener);},[allowScripts,postHashToIframe]);const srcDoc=React.useMemo(()=>{const source=updateHeaderLogo(html);const withNavigation=openLinksInParent?injectTopNavigationBase(source):source;return allowScripts?injectBridgeIntoHtml(withNavigation,messageId):withNavigation;},[html,openLinksInParent,allowScripts,messageId]);const sandbox=React.useMemo(()=>{const flags=[\"allow-forms\",\"allow-popups\",\"allow-modals\"];if(allowScripts)flags.push(\"allow-scripts\");if(openLinksInParent)flags.push(\"allow-top-navigation-by-user-activation\");return flags.join(\" \");},[allowScripts,openLinksInParent]);const resolvedHeight=shouldAutoSize?measuredHeight:height;return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:`${Math.max(1,resolvedHeight)}px`,minWidth:0,overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"iframe\",{ref:iframeRef,title:title,srcDoc:srcDoc,sandbox:sandbox,scrolling:\"no\",onLoad:()=>{if(shouldAutoSize)requestHeight();if(allowScripts)postHashToIframe();},style:{display:\"block\",width:\"100%\",height:\"100%\",border:0,background:\"transparent\",overflow:\"hidden\"}},messageId)});}addPropertyControls(HTMLPlayground,{html:{type:ControlType.String,title:\"HTML\",defaultValue:\"<!doctype html><html><head><meta charset='utf-8'><meta name='viewport' content='width=device-width,initial-scale=1'></head><body><div style='padding:16px'>Paste your HTML here.</div></body></html>\",displayTextArea:true,placeholder:\"<html>...</html> or fragment\"},height:{type:ControlType.Number,title:\"Height\",description:\"Used when Auto Height is off.\",defaultValue:6e3,min:120,max:3e4,unit:\"px\",step:10},autoHeight:{type:ControlType.Boolean,title:\"Auto Height\",description:\"Resize the Framer component to iframe content.\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},maxHeight:{type:ControlType.Number,title:\"Max Height\",description:\"0 = no maximum; avoids nested iframe scrolling.\",defaultValue:0,min:0,max:5e4,unit:\"px\",step:100},allowScripts:{type:ControlType.Boolean,title:\"Scripts\",defaultValue:true,enabledTitle:\"Allowed\",disabledTitle:\"Blocked\"},openLinksInParent:{type:ControlType.Boolean,title:\"Links Navigate Site\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"HTML Playground preview\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HTMLPlayground\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"900\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HTMLPlayground.map"],"mappings":"A,oNAA+V,SAASoB,EAAWC,EAAM,CAAC,IAAIC,EAAK,EAAE,IAAI,IAAIC,EAAE,EAAEA,EAAEF,EAAM,OAAOE,IAAKD,GAAMA,GAAM,GAAGA,EAAKD,EAAM,WAAWE,CAAC,EAAED,GAAM,EAAG,OAAO,OAAO,KAAK,IAAIA,CAAI,CAAC,CAAE,CAAC,SAASE,EAAqBC,EAAWC,EAAU,CACxiB,IAAMC,EAAa;eACJ,KAAK,UAAUD,CAAS,EAAE;mBACtB,KAAK,UAAUE,CAAc,EAAE;2BACvB,KAAK,UAAUC,CAAc,EAAE;iBACzC,KAAK,UAAUC,CAAY,EAAE;kBAC5B,KAAK,UAAUC,CAAa,EAAE;iBAC/B,KAAK,UAAUC,CAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0HwR,MAA/S,eAAe,KAAKP,CAAU,EAASA,EAAW,QAAQ,eAAe,GAAGE,EAAa,QAAQ,EAAK,eAA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