!function(){"use strict";var e={n:function(r){var n=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(n,{a:n}),n},d:function(r,n){for(var t in n)e.o(n,t)&&!e.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:n[t]})},o:function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};e.r(r),e.d(r,{AppFrame:function(){return a},AppFrameContainer:function(){return d}});var n=window.vendor.React,t=e.n(n);const a=({iframeSrc:e})=>{const r=new URL(e),a=(0,n.createElement)("iframe",{id:"et-vb-app-frame",src:`${r.href}&app_window=1`});return t().createElement("div",{id:"et-vb-app-frame-wrapper"},a)};var o=window.jQuery,i=e.n(o);const d=()=>{const e=window?.DiviAppFrameData?.iframeSrc??"";return(0,n.useEffect)((()=>{window?.isPerformanceTrackingEnabled&&requestAnimationFrame((()=>{window.performance.mark("top-window-first-render")})),i()("html").addClass("et-vb-top-window-html");const e=i()("#et-vb-app-frame");e.parents().addClass("et-vb-root-ancestor"),e.parentsUntil("body").addClass("et-vb-iframe-ancestor")}),[]),(0,n.createElement)(a,{iframeSrc:e})};(window.divi=window.divi||{}).appFrame=r}();