"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[707],{22182(e,t,o){var n=o(79124),a=o(73201),i=o(45003),s=o(69139),d=o(14762),r=o(77327),l=o(42491),c=o(2391),m=o(60142),w=o(5936),p=o(95574),u=o(86106);function b(){return window.mailpoet_automation_id?(0,u.jsx)("div",{className:"mailpoet-automation-flow-embed",children:(0,u.jsx)(p.Q,{})}):(0,u.jsx)("div",{className:"flow-embed-error",children:(0,s.__)("No automation specified","mailpoet")})}window.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("mailpoet_automation_flow_embed");if(e&&((0,d.registerTranslations)(),(0,r.b)(),(0,c.createStore)(),(0,m.createStore)(),(0,l.g)(),(0,w.b)(),(0,i.L)(m.storeName).getSections().forEach(e=>{(0,a.J)(m.storeName).updateSection(e)}),(0,n.H)(e).render((0,u.jsx)(b,{})),window.parent!==window)){let e=0;const t=()=>{const t=document.body.scrollHeight;t>0&&t!==e&&(e=t,window.parent.postMessage({type:"mailpoet-flow-embed-height",height:t},"*"))};new ResizeObserver(t).observe(document.body),window.addEventListener("load",t)}})},41669(e){e.exports=jQuery}},e=>{e.O(0,[223],()=>e(e.s=22182)),e.O()}]);