1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="173da45b-2f19-54bf-a3b8-07646e942aa2")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6850],{667:(e,t,n)=>{n.d(t,{A:()=>b});var r=n(85966),l=n(6029),a=n(3947),o=n(47527),i=n(9697),c=n(48992),s=n(35987),u=n(77235),d=n(23397),p=n(91787),f=n(3754),m=n(55729);function h(){let e=(0,r._)(["\n line-height: 1.5;\n -webkit-font-smoothing: antialiased;\n overflow-wrap: break-word;\n a {\n color: ",";\n font-weight: 500;\n border-bottom: 1px solid ",";\n }\n a:hover {\n color: ",";\n font-weight: 500;\n border-bottom: 1px solid ",";\n }\n img {\n max-width: 100%;\n }\n .DraftEditor-alignCenter {\n text-align: center;\n }\n .public-DraftEditor-content:focus-visible {\n outline-width: ","px !important;\n outline-color: "," !important;\n outline-style: solid !important;\n outline-offset: 5px;\n }\n blockquote {\n border-left: 2px solid ",";\n padding-left: 24px;\n margin-left: 0px;\n }\n ul,\n ol {\n margin-top: 16px;\n margin-bottom: 16px;\n }\n "]);return h=function(){return e},e}function b(){let e,{dispatch:t}=(0,u.pL)(),n=(0,i.D)(),r=n.dialogLinkColor,b=n.dialogLinkHoverColor||r,g=n.focusRingWidth||p.HD.focusRingWidth,x=n.focusRingColor||p.HD.focusRingColor,v=(0,m.useMemo)(()=>f.A.div(h(),r,r,b,b,g,x,d.GUG),[x,g,r,b]),{step:w,state:y}=(0,s.xl)(),E=(0,s.HR)(),{showEscapeView:N}=y,{escapeView:C}=E,k=N?null==C?void 0:C.tipTapContent:w.tipTapContent;if(!k)return null;try{e=JSON.parse(k)}catch(e){return o.Rm.error({action:"Failed to parse tiptap content: ".concat(k)}),console.error("Failed to parse tiptap content",k),null}return(0,l.jsx)(v,{children:(0,l.jsx)(c.S,{content:e,linkColor:r,linkHoverColor:b,onLinkClick:e=>{t({type:"update-customer",payload:{type:a.Bx4.Navigate,url:e,createdAt:new Date,ctaSurface:"RICH_CONTENT_LINK"}})},personalizationProperties:y.properties})})}},12166:(e,t,n)=>{n.d(t,{Dq:()=>d,W7:()=>c,ZQ:()=>s,nZ:()=>u,zu:()=>i});var r=n(38925),l=n(97452),a=n(67322),o=n(32207),i=function(e){return e.IMAGE="image",e.VIDEO="video",e.AUDIO="audio",e}({});async function c(e,t){let{body:n,base64:i,mime:c}=await (0,o.c2)(e),s=await (0,o.e3)(n),u=await a.A.uploadCaptureStaticResource({key:s,contentType:c,body:n,base64Encoded:i});if(!u.key)return null;let d="".concat(r.AA.CAPTURE_PLAYER_URL.PROD,"/nv_static/").concat(u.key);if("audio"===t){let e=(0,l.c)(c);return e?"".concat(d,".").concat(e):d}return d}let s=e=>{let t=document.createElement("input");t.type="file",t.accept="image/*",t.onchange=async()=>{var n;let r=null==(n=t.files)?void 0:n[0];if(!r)return;let l=await c(r,"image");l&&e({src:l})},t.click()},u=(e,t,n)=>{if("video"===t){null==n||n();return}let r=document.createElement("input");r.type="file",r.accept="image"===t?"image/*":"audio"===t?"audio/*":"*",r.onchange=async()=>{var n;let l=null==(n=r.files)?void 0:n[0];if(!l)return;let a=await c(l,"audio"===t?"audio":"image");a&&("audio"===t?e.chain().focus().insertContent({type:"audio",attrs:{src:a}}).run():e.chain().focus().insertContent({type:"ResizableImage",attrs:{src:a}}).run())},r.click()},d=(e,t)=>{t&&e.chain().focus().insertContent({type:"ResizableImage",attrs:{src:t}}).run()}},23995:(e,t,n)=>{n.d(t,{A:()=>c,n:()=>i});var r=n(6029),l=n(69627),a=n(70649),o=n(55729);let i=(e,t,n)=>{let r={maxWidth:"100%",display:"block",userSelect:"none"};return e&&(r.width="".concat(e,"px")),t&&(r.height="".concat(t,"%")),n&&(r.borderRadius="".concat(n,"px")),r};function c(e){let t=(0,o.useRef)(null),{src:n,alt:c,title:s,width:u,height:d,alignment:p="center",borderRadius:f}=e.node.attrs;return(0,r.jsx)(a.VR,{className:(0,l.p)(p),children:(0,r.jsx)("img",{ref:t,src:n,alt:c,title:s,style:i(u,d,f),draggable:!1})})}},38621:(e,t,n)=>{n.d(t,{n:()=>s,p:()=>c});var r=n(6029),l=n(88808),a=n(11468),o=n(70649);n(55729);let i="".concat(100/(16/9),"%"),c=e=>{if(!e)return null;let t=null;if(e.includes("youtube.com")||e.includes("youtu.be"))t=(0,a.CZ)(e);else{let n=(0,l.WU)(e);t=n&&l.qz.test(e)?(0,a.IR)(n):n}return t},s=e=>{let{src:t}=e;if(!t)return null;let n=c(t);return n?(0,r.jsx)(o.VR,{children:(0,r.jsx)("div",{style:{position:"relative",border:"none",borderRadius:"8px",overflow:"hidden"},children:(0,r.jsxs)("div",{style:{position:"relative"},children:[(0,r.jsx)("div",{style:{display:"block",width:"100%",padding:"".concat(i," 0 0 0"),margin:0}}),(0,r.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,padding:0,margin:0},children:(0,r.jsx)("iframe",{src:n,width:"100%",height:"100%",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,style:{border:0}})})]})})}):null}},48097:(e,t,n)=>{n.d(t,{_:()=>c});var r=n(6029),l=n(3947),a=n(7458),o=n(95632),i=n(61362);function c(e){let{appearance:t,text:n,onClick:c,ariaLabel:s,iconRight:u}=e,d=t===l.nI.Secondary;return(0,r.jsx)(a.N,{variant:d?"secondary":"primary","aria-label":null!=s?s:n,className:(0,o.cn)("z-10",d?i.rq.BUTTON_SECONDARY:i.rq.BUTTON_PRIMARY),onClick:c,tabIndex:0,iconRight:u,children:n})}}
3,48664:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(61362);let l={selector:"#".concat(r.dI.SKIP_TO_CAPTURE)},a=[{selector:".".concat(r.rq.FORM_FIELD)},{selector:".".concat(r.DI.MARKETO_FORM_FIELD,".").concat(r.DI.MARKETO_HAS_WIDTH)},{selector:".".concat(r.DI.TIPTAP_EDITOR)},{selector:".".concat(r.rq.BUTTON_PRIMARY)},{selector:".".concat(r.rq.BUTTON_SECONDARY)},{selector:".".concat(r.DI.MARKETO_BUTTON)},{selector:"#".concat(r.dI.FORM_SUBMIT_BUTTON)},{selector:"#".concat(r.dI.POWERED_BY_NAVATTIC)},{selector:"#".concat(r.dI.BANNER_CTA_BUTTON)},{selector:"#".concat(r.dI.BANNER_TEXT)},{selector:"#".concat(r.dI.CHECKLIST_LAUNCHER)},{selector:".".concat(r.rq.CHECKLIST_TASK)},{selector:"#".concat(r.dI.CHECKLIST_CLOSE)},{selector:".".concat(r.rq.STYLED_BEACON)},{selector:".".concat(r.rq.TRIGGER_OVERLAY)},{selector:".".concat(r.rq.CLICKABLE_AREA)},{selector:".".concat(r.rq.WEB_ANCHOR_ELEMENT)},{selector:".".concat(r.rq.MEDIA_ANCHOR_ELEMENT)},l,{selector:"#".concat(r.dI.SKIP_TO_CONTENT)}];function o(){for(let e=0;e<a.length;e++){let t=a[e],n=document.querySelector(t.selector);if(n)return n}return null}},48992:(e,t,n)=>{n.d(t,{S:()=>i});var r=n(6029),l=n(23995),a=n(96074),o=n(38621);function i(e){let{content:t,linkColor:n,linkHoverColor:i,onLinkClick:u,personalizationProperties:d=[]}=e;return function e(t,n,i){var u,d,p,f,m,h,b,g,x,v,w,y,E,N,C,k;if(!t)return null;if("text"===t.type&&t.text)return s(t.text,t.marks||[],n);switch(t.type){case"doc":return(0,r.jsx)("div",{className:"tiptap-content-root",style:{display:"flow-root",outline:"none"},dir:"auto",tabIndex:-1,children:null==(u=t.content)?void 0:u.map((t,r)=>e(t,n,r))},i);case"paragraph":{let l=c(null==(d=t.attrs)?void 0:d.textAlign);if(t.content)return(0,r.jsx)("p",{className:l,dir:"auto",children:null==(p=t.content)?void 0:p.map((t,r)=>e(t,n,r))},i);return(0,r.jsx)("br",{"aria-hidden":"true"},i)}case"heading":{let l=(null==(f=t.attrs)?void 0:f.level)||1,a=c(null==(m=t.attrs)?void 0:m.textAlign),o=t.content&&t.content.length>0;return(0,r.jsx)("h".concat(l),{className:a,dir:"auto","aria-hidden":!o||void 0,children:o?null==(h=t.content)?void 0:h.map((t,r)=>e(t,n,r)):(0,r.jsx)("br",{})},i)}case"bulletList":return(0,r.jsx)("ul",{className:"ml-3 list-outside list-disc",children:null==(b=t.content)?void 0:b.map((t,r)=>e(t,n,r))},i);case"orderedList":return(0,r.jsx)("ol",{className:"ml-3 list-outside list-decimal",children:null==(g=t.content)?void 0:g.map((t,r)=>e(t,n,r))},i);case"listItem":return(0,r.jsx)("li",{children:null==(x=t.content)?void 0:x.map((t,r)=>e(t,n,r))},i);case"blockquote":return(0,r.jsx)("blockquote",{className:"border-l-4 border-gray-700 py-2 pl-2",children:null==(v=t.content)?void 0:v.map((t,r)=>e(t,n,r))},i);case"hardBreak":return(0,r.jsx)("br",{},i);case"ResizableImage":return(0,r.jsx)(l.A,{node:t});case"video":{let e=null==(w=t.attrs)?void 0:w.src;return(0,r.jsx)("div",{style:{margin:"10px 0"},children:(0,r.jsx)(o.n,{src:e})},i)}case"audio":{let e=null==(y=t.attrs)?void 0:y.src;return(0,r.jsx)("audio",{controls:!0,controlsList:"nodownload",src:e,className:"w-full"},i)}case"mention":return s((C=(null==(E=t.attrs)?void 0:E.label)||"",k=n.personalizationProperties,(0,a.t7)({text:C,properties:k})),t.marks||[],n);default:return console.warn("Unknown TipTap node type: ".concat(t.type),t),(0,r.jsx)("div",{children:null==(N=t.content)?void 0:N.map((t,r)=>e(t,n,r))},i)}}(t,{linkColor:n,linkHoverColor:i,onLinkClick:u,personalizationProperties:d})}function c(e){switch(e){case"left":return"text-left";case"center":return"text-center";case"right":return"text-right";case"justify":return"text-justify";default:return""}}function s(e,t,n){if(!t.length)return e;let l=e;for(let e of t){var a,o,i;switch(e.type){case"bold":l=(0,r.jsx)("strong",{children:l});break;case"italic":l=(0,r.jsx)("em",{children:l});break;case"underline":l=(0,r.jsx)("u",{children:l});break;case"code":break;case"strike":l=(0,r.jsx)("s",{children:l});break;case"link":{let t=null==(a=e.attrs)?void 0:a.href,i=(null==(o=e.attrs)?void 0:o.target)||"_blank";l=(0,r.jsx)("a",{href:t,target:i,rel:"noreferrer",style:{fontWeight:500},onClick:e=>{if(e.preventDefault(),n.onLinkClick&&t&&n.onLinkClick(t),t)try{(window.top||window).open(t,i)}catch(e){window.open(t,i)}},children:l});break}case"textStyle":{let t=null==(i=e.attrs)?void 0:i.color;t&&(l=(0,r.jsx)("span",{style:{color:t},children:l}));break}default:console.warn("Unknown mark type: ".concat(e.type),e)}}return l}n(55729)},59001:(e,t,n)=>{n.d(t,{$A:()=>c,Wm:()=>i,c1:()=>o});var r=n(6029),l=n(53525),a=n(55729);function o(e,t,n){let r=function(e){let t=e.parentElement;for(;t;){let e=window.getComputedStyle(t);if("none"!==e.transform||"none"!==e.perspective||"none"!==e.filter||"n
3one"!==e.backdropFilter||e.contain.includes("paint")||e.willChange.includes("transform")||e.willChange.includes("perspective")||e.willChange.includes("filter"))return t;t=t.parentElement}return null}(e);if(!r)return{x:t,y:n};let l=r.getBoundingClientRect(),a=r.offsetWidth>0?l.width/r.offsetWidth:1,o=r.offsetHeight>0?l.height/r.offsetHeight:1,i=Number.isFinite(a)&&a>0?a:1,c=Number.isFinite(o)&&o>0?o:1;return{x:(t-l.left)/i,y:(n-l.top)/c}}function i(e){let{editor:t,onReplace:n,onRemove:i,getPos:c}=e,[s,u]=(0,a.useState)(null),d="undefined"!=typeof document?document.body:void 0,p=(0,a.useCallback)(e=>{t.isEditable&&(e.preventDefault(),e.stopPropagation(),u(o(e.currentTarget,e.clientX,e.clientY)))},[t]),f=(0,a.useCallback)(e=>{2===e.button&&(e.preventDefault(),e.stopPropagation())},[]),m=(0,a.useCallback)(e=>{2===e.button&&(e.preventDefault(),e.stopPropagation())},[]),h=(0,a.useCallback)(()=>{u(null)},[]),b=(0,a.useMemo)(()=>[{type:"button",label:"Replace image",iconLeft:"upload",onClick:()=>{h(),n()}},{type:"button",label:"Remove",variant:"danger",iconLeft:"trash",onClick:()=>{h(),i()}}],[h,n,i]);return{contextMenuProps:{onContextMenu:p,onMouseDown:f,onMouseUp:m},contextMenu:null!==s?(0,r.jsx)(l.W1,{open:!0,onOpenChange:e=>{e||u(null)},align:"start",items:b,portalContainer:d,children:(0,r.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none fixed size-px",style:{left:s.x,top:s.y}})}):null,closeContextMenu:h,isContextMenuOpen:null!==s}}function c(e){let{editor:t,getPos:n,nodeSize:r}=e,l=n();"number"==typeof l&&t.chain().focus().deleteRange({from:l,to:l+r}).run()}},60710:(e,t,n)=>{n.d(t,{KS:()=>x,aH:()=>g,lG:()=>b});var r=n(6029),l=n(3947),a=n(95632),o=n(74719),i=n(9697),c=n(35987),s=n(83065),u=n(48664),d=n(61362),p=n(76914),f=n(75906),m=n(55729),h=n(49154);function b(e){let{children:t,fitContent:n,layout:b,inBuilder:x,isHoverTooltip:v,portalContainer:w}=e,y=(0,i.D)(),{state:E,step:N,stepIndex:C}=(0,c.xl)(),k=(0,c.HR)().steps.length,{appearance:T,showBackdrop:j}=N,R=[k>1?"Step ".concat(C+1," of ").concat(k):null,N.name].filter(Boolean).join(": ")||"Guide",[_,I]=(0,m.useState)(null),{mobileScaledStatus:A}=(0,s.LP)(),S=T===l.bT8.EnhancedForm||T===l.bT8.Modal||T===l.bT8.Embed,L=b===l.lEI.Fullpage&&S;return(0,m.useEffect)(()=>{if(x||(0,p.al)())return;let e=(0,u.A)();(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement||(null==e?void 0:e.classList.contains(d.DI.TIPTAP_EDITOR))
3)&&e.focus()},[N.id,x]),(0,r.jsx)(h.N,{theme:(0,f.A)(y),children:(0,r.jsx)("div",{className:(0,a.cn)(L&&"absolute inset-0",L&&j&&"backdrop-blur-sm",n&&"h-fit w-fit","mobile-legacy"===A&&"h-full w-full"),children:(0,r.jsx)("div",{className:(0,a.cn)("h-full",!L&&"drop-shadow-[0_1px_1.5px_rgba(0,0,0,0.1)] drop-shadow-[0_3px_10.5px_rgba(0,0,0,0.15)]"),children:(0,r.jsx)("div",{ref:I,role:"dialog","aria-label":R,"aria-live":"polite","aria-modal":T!==l.bT8.Tooltip?"true":"false",className:"h-full w-full overflow-hidden",children:(0,r.jsx)(o.R,{container:void 0===w?_:w,children:(0,r.jsx)(g,{appearance:T,showBackdrop:!!j,isMobileScaled:"mobile-legacy"===A,layout:b,inBuilder:x,isHoverTooltip:v,isRecipientGateForm:E.showRecipientGateForm,children:t})})})})})})}function g(e){let{appearance:t,showBackdrop:n,isMobileScaled:o,layout:i,isHoverTooltip:c,isRecipientGateForm:s,children:u}=e,d=t===l.bT8.EnhancedForm||t===l.bT8.Modal||t===l.bT8.Embed,p=i===l.lEI.Fullpage&&d,f=p&&t===l.bT8.Modal,m=p&&t===l.bT8.Embed;return(0,r.jsx)("div",{className:(0,a.cn)("flex flex-col",t===l.bT8.Modal&&!p&&!o&&"max-h-[calc(100cqh-4rem)]",(t===l.bT8.EnhancedForm||m)&&!o&&"justify-center-safe",t===l.bT8.EnhancedForm||p?"overflow-y-auto":"overflow-hidden",o&&"rounded-b-0 h-full justify-between",p?"h-full w-full pb-20":"rounded-ct-dialog-radius border-ct-dialog-border border-[length:var(--ct-dialog-border-width)]",s&&"pb-0",f&&"pt-[150px]","bg-ct-dialog-bg text-ct-dialog-text [&_a]:text-ct-link [&_a]:font-semibold [&_a]:border-b [&_a]:border-ct-link [&_a:hover]:text-ct-link-hover [&_a:hover]:border-ct-link-hover","leading-[var(--ct-line-height)]","font-ct-dialog-font-family",c&&"max-h-34 overflow-y-auto"),style:{fontSize:"var(--ct-dialog-font-size)",background:p&&n?x():void 0},children:u})}function x(){let e=document.getElementById("custom-navattic-theme");if(!e)return;let t=getComputedStyle(e).getPropertyValue("--ct-dialog-bg-color").trim().split(" ");if(!t||t.length<3)return;let n={r:Number(t[0]),g:Number(t[1]),b:Number(t[2])};return"rgba(".concat(n.r,",").concat(n.g,",").concat(n.b,",0.8)")}},69627:(e,t,n)=>{n.d(t,{A:()=>v,p:()=>g});var r=n(6029),l=n(95632),a=n(95678),o=n(55314),i=n(55809),c=n(12166),s=n(23995),u=n(59001),d=n(70649),p=n(55729),f=n(56760);let m=["nw","n","ne","e","se","s","sw","w"],h={nw:{top:"-7px",left:"-7px"},n:{top:"-8px",left:"50%",transform:"translateX(-50%)"},ne:{top:"-7px",right:"-7px"},e:{top:"50%",right:"-8px",transform:"translateY(-50%)"},se:{bottom:"-7px",right:"-7px"},s:{bottom:"-8px",left:"50%",transform:"translateX(-50%)"},sw:{bottom:"-7px",left:"-7px"},w:{top:"50%",left:"-8px",transform:"translateY(-50%)"}},b={nw:"nw-resize",n:"n-resize",ne:"ne-resize",e:"e-resize",se:"se-resize",s:"s-resize",sw:"sw-resize",w:"w-resize"},g=e=>(0,l.cn)("relative max-w-full","left"===e&&"float-left mr-4 mb-2 inline-block","right"===e&&"float-right ml-4 mb-2 inline-block","center"===e&&"mx-auto block w-fit","left-no-wrap"===e&&"inline-block"),x=[{alignment:"left-no-wrap",label:"Left as a block",iconName:"image-align-default"},{alignment:"left",label:"Float left",iconName:"image-align-left"},{alignment:"center",label:"Center",iconName:"image-align-center"},{alignment:"right",label:"Float right",iconName:"image-align-right"}];function v(e){let{node:t,updateAttributes:n,selected:v,editor:w,getPos:y}=e,[E,N]=(0,p.useState)(!1),[C,k]=(0,p.useState)(!1),[T,j]=(0,p.useState)(""),[R,_]=(0,p.useState)(!1),[I,A]=(0,p.useState)(null),S=(0,p.useRef)(null),L=(0,p.useRef)(null),{src:M,alt:D,title:O,width:B,height:H,alignment:z="center",borderRadius:P}=t.attrs,F=(0,p.useCallback)(()=>{(0,c.ZQ)(n)},[n]),q=(0,p.useCallback)(()=>{(0,u.$A)({editor:w,getPos:y,nodeSize:t.nodeSize})},[w,y,t.nodeSize]),{contextMenuProps:U,contextMenu:W,isContextMenuOpen:Y}=(0,u.Wm)({editor:w,onReplace:F,onRemove:q,getPos:y});(0,p.useEffect)(()=>{let e=()=>{_(!1),N(!1)},t=()=>{setTimeout(()=>_(v),50)};return w.on("blur",e),w.on("focus",t),()=>{w.off("blur",e),w.off("focus",t)}},[w,v]),(0,p.useEffect)(()=>{w.isFocused&&setTimeout(()=>_(v),50)},[v,w]),(0,p.useEffect)(()=>{if(!R)return void A(null);let e=()=>{let e=S.current;if(!e)return;let t=e.getBoundingClientRect();A({left:t.left+t.width/2,top:t.top-55})};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}},[R]);let K=(0,p.useCallback)(e=>{if(0!==e.button)return;let t=null==y?void 0:y();"number"==typeof t&&w.chain().focus().setNodeSelection(t).run(),_(!0)},[w,y]);return(0,r.jsxs)(d.VR,{className:g(z),children:[W,(0,r.jsxs)("div",{className:"relative inline-block",...U,children:[R&&I&&"undefined"!=typeof document&&(0,f.createPortal)((0,r.jsxs)("div",{onMouseDown:e=>{e.preventDefault()},className:"fixed z-max flex -translate-x-1/2 gap-0.5 rounded-md border border-gray-200 bg-white p-1 shadow-md",contentEditable:!1,style:{to
3p:I.top,left:I.left},children:[x.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>{n({alignment:e.alignment})},className:(0,l.cn)("flex cursor-pointer items-center justify-center rounded border-0 p-1.5 transition-colors duration-200",z===e.alignment?"bg-gray-200":"bg-transparent hover:bg-gray-100"),title:e.label,children:(0,r.jsx)(a.I,{name:e.iconName,className:"h-5 w-5"})},e.alignment)),(0,r.jsx)("div",{className:"mx-0.5 w-px self-stretch bg-gray-200"}),(0,r.jsx)("button",{type:"button",onClick:()=>{j(D||""),k(!0)},className:"flex cursor-pointer items-center justify-center rounded border-0 bg-transparent p-1.5 transition-colors duration-200 hover:bg-gray-100",title:"Alt text","aria-label":"Edit alt text","aria-haspopup":"dialog",children:(0,r.jsx)(a.I,{name:"type",className:"h-5 w-5"})})]}),document.body),(0,r.jsx)("img",{ref:S,src:M,alt:D,title:O,onMouseDown:K,...(()=>{let e=(0,s.n)(B,H,P);return{className:(0,l.cn)((R||Y)&&"outline outline-2 outline-[#0096ff] outline-offset-2"),style:e}})(),"data-drag-handle":"tiptap"}),(R||Y)&&!E&&(0,r.jsx)(r.Fragment,{children:m.map(e=>(0,r.jsx)("div",{contentEditable:!1,onMouseDown:t=>((e,t)=>{e.preventDefault(),e.stopPropagation();let r=S.current;if(!r)return;let l=r.getBoundingClientRect();L.current={startX:e.clientX,startY:e.clientY,startWidth:l.width,startHeight:l.height,aspectRatio:l.width/l.height,handle:t},N(!0);let a=e=>{if(!L.current)return;let{startX:t,startY:r,startWidth:l,startHeight:a,aspectRatio:o,handle:i}=L.current,c=e.clientX-t,s=e.clientY-r,u=l,d=a;switch(i){case"se":case"e":case"ne":d=(u=Math.max(50,l+c))/o;break;case"sw":case"w":case"nw":d=(u=Math.max(50,l-c))/o;break;case"s":u=(d=Math.max(50,a+s))*o;break;case"n":u=(d=Math.max(50,a-s))*o}n({width:Math.round(u),height:Math.round(d)})},o=()=>{N(!1),L.current=null,document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",o)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",o)})(t,e),className:"absolute z-10 h-2.5 w-2.5 rounded-full border-2 border-[#0096ff] bg-white",style:{cursor:b[e],...h[e]}},e))})]}),(0,r.jsx)(o.aF,{open:C,onOpenChange:k,title:"Alt text",description:"Add alternative text to describe this image for accessibility.",primaryButton:{children:"Save",onClick:()=>{n({alt:T||null}),k(!1)}},children:(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("img",{src:M,alt:D,className:"max-h-48 w-full rounded-md border border-gray-200 object-contain"}),(0,r.jsx)(i.p,{placeholder:"Describe this image...",value:T,onValueChange:j,"aria-label":"Image description"})]})})]})}},74353:(e,t,n)=>{n.d(t,{By:()=>m,Hm:()=>f,v4:()=>p,wP:()=>h});var r=n(6029),l=n(3947),a=n(64022),o=n(68252),i=n(94076),c=n(48849),s=n(48097),u=n(55729);function d(e,t){if(!e)return t;for(let n in e)!e[n]&&t[n]&&(e[n]=t[n]);for(let n in t)e[n]||(e[n]=t[n]);return e}function p(e,t){return d(e,{id:"prev-default",text:i.S.Back[t],appearance:l.nI.Secondary,actions:[{id:"go-to-prev",type:l.Hw1.PrevStep}]})}function f(e,t){return d(e,{id:"next-default",text:i.S.Next[t],appearance:l.nI.Primary,actions:[{id:"go-to-next",type:l.Hw1.NextStep}]})}function m(e,t){return d(e,{...o.z5,text:i.S.Complete[t]})}let h=u.memo(function(e){let{btn:t,surface:n,hasButtonEnabled:o=!0}=e,{handleActions:i}=(0,a.zx)(),d=t.text||"Next",p=(0,u.useCallback)(()=>i(t.actions||[],{ctaSource:{id:t.id&&!c.el.has(t.id)?t.id:void 0,text:d,surface:n}}),[t.actions,t.id,d,n,i]),f=(0,u.useMemo)(()=>(function(e,t){if(!(null==t?void 0:t.length))return e;let n=t.find(e=>e.type===l.Hw1.Navigate||e.type===l.Hw1.NavigateLaunchpadCalendar);if(!n)return e;let r=n.type===l.Hw1.NavigateLaunchpadCalendar,a=n.newTab?"in a new tab":"in the current tab";return"".concat(e,": ").concat(r?"Navigates to a calendar":"Navigates to an external URL",", ").concat(a)})(d,t.actions),[d,t.actions]);return o?(0,r.jsx)(s._,{appearance:t.appearance,text:d,onClick:p,ariaLabel:f}):(0,r.jsx)("div",{})})},80005:(e,t,n)=>{n.d(t,{q:()=>l});var r=n(35987);let l=()=>{let{flow:e,step:t}=(0,r.xl)();return!!(null==e?void 0:e.hasNavigationBtns)&&!t.hideNavigationBtns}}}]); 4//# sourceMappingURL=6850-b722e68fb3284ff5.js.map 5//# debugId=173da45b-2f19-54bf-a3b8-07646e942aa2
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.