Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ "use strict";(globalThis.webpackChunkpojo_accessibility=globalThis.webpackChunkpojo_accessibility||[]).push([[8828],{66474(e,o,s){s.d(o,{A:()=>v});var t=s(51609),a=s.n(t),i=s(98587),r=s(58168),n=s(34164),c=s(75659),l=s(42150),d=s(2408),u=s(11083),h=s(19537),p=s(38413),y=s(31609);function b(e){return(0,y.Ay)("MuiDialogContentText",e)}(0,p.A)("MuiDialogContentText",["root"]);var m=s(10790);const A=["children","className"],w=(0,l.Ay)(h.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,o)=>o.root})({}),g=t.forwardRef(function(e,o){const s=(0,u.A)({props:e,name:"MuiDialogContentText"}),{className:t}=s,a=(0,i.A)(s,A),l=(e=>{const{classes:o}=e,s=(0,c.A)({root:["root"]},b,o);return(0,r.A)({},o,s)})(a);return(0,m.jsx)(w,(0,r.A)({component:"p",variant:"body1",color:"text.secondary",ref:o,ownerState:a,className:(0,n.A)(l.root,t)},s,{classes:l}))});var v=a().forwardRef((e,o)=>a().createElement(g,{...e,ref:o}))},98260(e,o,s){s.r(o),s.d(o,{default:()=>m});var t=s(50602),a=s(41226),i=s(47428),r=s(71974),n=s(66474),c=s(40976),l=s(84054),d=s(9626),u=s(70276),h=s(86087),p=s(27723),y=s(42679),b=s(10790);const m=()=>{const{isOpen:e,close:o}=(0,d.hS)(),{save:s}=(0,d.rX)(),{homeUrl:m,isConnected:A,closePostConnectModal:w,closeOnboardingModal:g}=(0,y.F)(),[v,_]=(0,h.useState)(!1);(0,h.useEffect)(()=>{const e=new URLSearchParams(window.location.search).get("source");_("admin_banner"===e)},[]);const j=e&&v&&A&&w&&!g;(0,h.useEffect)(()=>{j&&u.K.sendEvent(u.m.introductionBannerShowed,{source:"page_view"})},[j]);const f=async()=>{await s({ea11y_close_onboarding_modal:!0}),await u.K.sendEvent(u.m.introductionBannerClosed),o()};return(0,b.jsxs)(a.A,{open:j,onClose:f,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,b.jsx)(c.A,{logo:!1,onClose:f,children:(0,b.jsx)(l.A,{children:(0,p.__)("Ally Accessibility","pojo-accessibility")})}),(0,b.jsxs)(r.A,{dividers:!0,children:[(0,b.jsx)("iframe",{width:"550",height:"300",src:"https://www.youtube.com/embed/4Ct_6HAsBr8?si=NZsWyvjBxvSs45lL&controls=0",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowfullscreen:!0}),(0,b.jsx)(n.A,{variant:"h5",color:"text.primary",marginTop:2,children:(0,p.__)("See Ally’s new assistant in action","pojo-accessibility")}),(0,b.jsx)(n.A,{children:(0,p.__)("Watch a quick demo to see how it works. Then launch your first scan to uncover issues and start improving your site.","pojo-accessibility")})]}),(0,b.jsxs)(i.A,{children:[(0,b.jsx)(t.A,{onClick:f,color:"secondary",children:(0,p.__)("Got it","pojo-accessibility")}),(0,b.jsx)(t.A,{href:`${m}?open-ea11y-assistant=1&open-ea11y-assistant-src=Ally_dashboard`,target:"_blank",variant:"contained",color:"primary",onClick:()=>{u.K.sendEvent(u.m.scanHomePageButtonClicked),f()},children:(0,p.__)("Scan my home page","pojo-accessibility")})]})]})}}}]);