PageSourceSearch

https://soloist.ai/_next/static/chunks/pages/designer/[[...websiteId]]-c8752f05d57452c4.js

js soloist.ai collected 2026-10-01 10:39:55 UTC 1,215,333 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e117ad9e-47fb-4d7e-bbed-4f3e3838f838",e._sentryDebugIdIdentifier="sentry-dbid-e117ad9e-47fb-4d7e-bbed-4f3e3838f838")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3473,7429,8612],{27998:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2183);function o(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"CheckFilledCircle","data-sentry-source-file":"CheckFilledCircle.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 6C11.5 9.03757 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6C0.5 2.96243 2.96243 0.5 6 0.5C9.03757 0.5 11.5 2.96243 11.5 6ZM8.35355 5.35355C8.54882 5.15829 8.54882 4.84171 8.35355 4.64645C8.15829 4.45118 7.84171 4.45118 7.64645 4.64645L5.5 6.79289L4.35355 5.64645C4.15829 5.45118 3.84171 5.45118 3.64645 5.64645C3.45118 5.84171 3.45118 6.15829 3.64645 6.35355L5.14645 7.85355C5.34171 8.04882 5.65829 8.04882 5.85355 7.85355L8.35355 5.35355Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"CheckFilledCircle.tsx"})})}},32384:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var a=n(2183);function o(){return(0,a.jsx)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Error","data-sentry-source-file":"Error.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 2.25C11.9878 2.25 2.25 11.9878 2.25 24C2.25 36.0122 11.9878 45.75 24 45.75C36.0122 45.75 45.75 36.0122 45.75 24C45.75 11.9878 36.0122 2.25 24 2.25ZM44.25 24C44.25 35.1838 35.1838 44.25 24 44.25C12.8162 44.25 3.75 35.1838 3.75 24C3.75 12.8162 12.8162 3.75 24 3.75C35.1838 3.75 44.25 12.8162 44.25 24ZM22.82 14.2049C22.8173 14.0925 22.9076 14 23.02 14H25.064C25.1765 14 25.2669 14.0928 25.2639 14.2053L24.8999 28.0373C24.897 28.1456 24.8084 28.232 24.7 28.232H23.356C23.2474 28.232 23.1587 28.1454 23.156 28.0369L22.82 14.2049ZM24.028 33.972C23.1587 33.972 22.512 33.2917 22.512 32.456C22.512 31.6707 23.1644 30.996 24.028 30.996C24.8413 30.996 25.488 31.6764 25.488 32.456C25.488 33.2859 24.8468 33.972 24.028 33.972Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Error.tsx"})})}},33126:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/designer/[[...websiteId]]",function(){return n(42662)}])},41961:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var a=n(2183);function o(){return(0,a.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SmallWarningTriangle","data-sentry-source-file":"SmallWarningTriangle.tsx",children:(0,a.jsx)("path",{d:"M5.0635 1.05468C5.47752 0.314823 6.52253 0.314821 6.93655 1.05468L11.8565 9.85155C12.2673 10.586 11.7479 11.5 10.9199 11.5H1.0801C0.252113 11.5 -0.267219 10.586 0.143578 9.85155L5.0635 1.05468ZM6.00002 8.49999C5.58581 8.49999 5.25002 8.83578 5.25002 9.24999C5.25002 9.66421 5.58581 9.99999 6.00002 9.99999C6.41423 9.99999 6.75002 9.6642 6.75002 9.24999C6.75002 8.83578 6.41423 8.5 6.00002 8.49999ZM6.00002 3.99999C5.47054 3.99999 5.06192 4.46637 5.13186 4.9912L5.43362 7.2539C5.47145 7.53762 5.71379 7.74999 6.00002 7.74999C6.28625 7.74999 6.5286 7.53762 6.56643 7.2539L6.86819 4.9912C6.93813 4.46637 6.5295 4 6.00002 3.99999Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SmallWarningTriangle.tsx"})})}},42662:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>hy});var a=n(2183),o=n(34924),r=n(36439),s=n(9518),i=n.n(s),l=n(46965),c=n(35592),d=n(75780),p=n(88850),m=n(67542),u=n(4956),g=n(38486);function y(){return(0,a.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"InfoSlim","data-sentry-source-file":"InfoSlim.tsx",children:(0,a.jsx)("path",{d:"M16 30.1221C23.8009 30.1221 30.1249 23.7979 30.125 15.9971C30.125 8.19609 23.801 1.87207 16 1.87207C8.19902 1.87207 1.875 8.19609 1.875 15.9971C1.87513 23.7979 8.1991 30.1221 16 30.1221ZM16 28.541C9.07231 28.541 3.45619 22.9247 3.45605 15.9971C3.45605 9.06929 9.07222 3.45312 16 3.45312C22.9278 3.45312 28.5439 9.06929 28.5439 15.9971C28.5438 22.9247 22.9277 28.541 16 28.541ZM15.999 11.7803C16.6292 11.7803 17.1406 11.2699 17.1406 10.6396C17.1406 10.0094 
116.6292 9.49902 15.999 9.49902C15.369 9.49929 14.8584 10.0096 14.8584 10.6396C14.8584 11.2697 15.369 11.78 15.999 11.7803ZM16 22.7686C16.4418 22.7686 16.7998 22.4106 16.7998 21.9688V14.3438C16.7998 13.9019 16.4418 13.5439 16 13.5439H14.9375C14.4957 13.5439 14.1377 13.9019 14.1377 14.3438C14.1377 14.7856 14.4957 15.1436 14.9375 15.1436H15.2002V21.9688C15.2002 22.4106 15.5582 22.7686 16 22.7686Z",fill:"#7542E4","data-sentry-element":"path","data-sentry-source-file":"InfoSlim.tsx"})})}var x=n(3976),h=n(8535),C=n(3635);let f=c.D.components.tosModal;function S(e){let{isOpen:t}=e,{acceptTOS:n}=(0,x.uM)(),{setSpinner:o}=(0,h.p6)(),[s,i]=(0,r.useState)(!1),l=[{text:s?f.retryButton:f.button,type:g.o.Primary,onClick:async()=>{try{i(!1),o(!0),await n(),o(!1)}catch(e){o(!1),i(!0)}}}];return(0,a.jsx)(g.w,{className:v.main,isOpen:t,title:f.title,message:s?(0,a.jsxs)(a.Fragment,{children:[f.description,(0,a.jsx)("div",{className:v.error,children:f.errorMessage})]}):f.description,buttons:l,icon:(0,a.jsx)(y,{}),"data-sentry-element":"MessageBoxModal","data-sentry-component":"TOSModal","data-sentry-source-file":"TOSGate.tsx"})}let v={error:(0,o.style)({marginTop:u.Spacing.Medium,color:u.StandardColors.ColorRed60,fontSize:"14px",$nest:{"& a":{color:u.StandardColors.ColorRed60,textDecoration:"underline"}}}),main:(0,o.style)({justifyContent:"center",$nest:{"& .modal-content":{maxWidth:"440px"},"& .title-row":{flexDirection:"column",justifyContent:"center",marginBottom:(0,u.important)(0),paddingTop:u.Spacing.Medium,$nest:{"& .title-container":{width:"fit-content"},"& .title":{fontWeight:600,color:u.StandardColors.ColorDarkGray90},"& .title-icon":{margin:(0,u.important)("0 0 ".concat(u.Spacing.Large,"px 0"))}}},"& .content-row":{textAlign:"center",marginTop:u.Spacing.Large,marginBottom:u.Spacing.Large,$nest:{"& a":{color:u.StandardColors.ColorViolet60,$nest:{"&:hover, &:active":{color:u.StandardColors.ColorDarkGray90}}}}},"& .buttons-row":{display:"flex",width:"100%",justifyContent:"center",$nest:{"& button":{padding:"7px 16px"}}}}})};function b(e){let{children:t}=e,{isTOSLoading:n,needsTOS:o,isLoaded:r}=(0,x.uM)(),{isActive:s}=(0,h.p6)(),i=!n&&o&&r&&!s;return(0,C.Yz)("[TOSGate] Render",{isTOSLoading:n,needsTOS:o,isLoaded:r,isSpinnerActive:s,isOpen:i}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(S,{isOpen:i,"data-sentry-element":"TOSModal","data-sentry-source-file":"TOSGate.tsx"}),t]})}var j=n(82485),w=n(70244),L=n(33535),k=n(23833),M=n(96419),P=n(58115),N=n(48916),D=n(35213),I=n(89038);function T(e){var t;let{websiteSettings:n,currentPage:o}=(0,j.Hb)(),{websiteDocument:s}=(0,M.SY)(),{user:i}=(0,x.uM)(),{websiteDomain:l}=(0,D.hi)(),[c,d]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{if(!n||!Object.keys(n).length)return;let e=new Date,t={websiteSettings:n,userId:i?i.firebaseUser.uid:"",version:"Preview",createdAt:P.Dc.fromDate(e),modifiedAt:P.Dc.fromDate(e)},a=(null==l?void 0:l.state)===N.WebsiteDomainState.Connected&&l.domainName,o={document:t,...a&&{customDomain:a},...(null==s?void 0:s.handle)&&{handle:s.handle}};(0,I.k8)(JSON.stringify(o)),d(!0)},[n,o,l,s]),!c)return null;let p=null!=(t=null==o?void 0:o.path)?t:"/";return(0,a.jsx)("iframe",{src:"/preview".concat(p),...e,"data-sentry-component":"PreviewContent","data-sentry-source-file":"PreviewContent.tsx"})}let B=u.Spacing.Medium,A=u.Spacing.xSmall,H=u.Spacing.xxLarge,F=u.Spacing.Medium,R=2*F+u.Spacing.xxLarge,V=u.Spacing.xxxLarge;var W=n(2326),E=n(62771),Z=n(18013),G=n(77017),O=n(14830),z=n(82675);function $(e){let{designerSettings:t,openSidebarSection:n}=(0,j.Hb)(),{userHasEditAccess:o}=(0,z.YI)(),s=c.D.views.designer.designerAdorner,i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=document.querySelectorAll(".content-overlay input"),t=document.querySelectorAll(".content-overlay textarea");e.forEach(e=>{e.disabled=!0}),t.forEach(e=>{e.disabled=!0})},[]),(0,a.jsxs)("div",{className:"".concat(U.container," ").concat(t.selectedSection===e.section?"selected":""," ").concat(o?U.pointer:""),onClick:t=>{o&&(n(e.section),t.stopPropagation())},onKeyDown:t=>{o&&("Enter"===t.key||" "===t.key)&&(t.preventDefault(),t.stopPropagation(),n(e.section))},tabIndex:o?0:void 0,role:o?"button":void 0,"aria-label":o?"Select section: ".concat(e.section.type):void 0,"data-sentry-component":"DesignerAdorner","data-sentry-source-file":"DesignerAdorner.tsx",children:[o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"edit-button-container solo-designer",ref:i,children:(0,a.jsxs)(G.A,{className:"d-flex align-items-center",children:[(0,a.jsx)("span",{className:"d-flex",children:(0,a.jsx)(O.f,{})}),s.editSection]})}),(0,a.jsx)("div",{className:"border-container"}),(0,a.jsx)("div",{className:"overlay-screen solo-designer"})]}),(0,a.jsx)("div",{className:"content-overlay no-solo-styles",children:e.children})]})}let U={container:(0,o.style)({display:"flex",flex:1,position:"relative",isolation:"isolate",$
1nest:{"&.selected":{$nest:{".border-container":{visibility:"visible"}}},".overlay-screen, .edit-button-container, .border-container":{visibility:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0},".overlay-screen":{zIndex:1,backgroundColor:d.StandardColors.ColorViolet70,opacity:.4},".border-container":{borderWidth:d.Spacing.Micro,borderStyle:"solid",borderColor:d.Colors.SelectedBorder,zIndex:1e3},".edit-button-container":{zIndex:1001,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",$nest:{".btn":{border:"none",boxShadow:d.BoxShadowStyles.Medium,color:d.StandardColors.ColorViolet60,backgroundColor:d.StandardColors.ColorWhite,paddingBlock:d.Spacing.Medium-1,paddingInline:d.Spacing.Large,fontWeight:600,$nest:{"&:hover":{backgroundColor:d.StandardColors.ColorLightGray20},"&:active":{backgroundColor:"".concat(d.StandardColors.ColorLightGray30," !important")},span:{marginRight:d.Spacing.Small,display:"flex",alignItems:"center",maxHeight:d.Spacing.Large+d.Spacing.Micro,maxWidth:d.Spacing.Large+d.Spacing.Micro}}}}},"&:hover .overlay-screen, &:hover .edit-button-container":{visibility:"visible"},".content-overlay":{display:"flex",flex:1,overflow:"hidden",flexDirection:"column",pointerEvents:"none"}}}),pointer:(0,o.style)({cursor:"pointer"})};var _=n(80308),q=n(69003),Q=n(78018),K=n(56680),Y=n(88719),X=n(98776),J=n(19611);function ee(){return(0,a.jsx)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Desktop","data-sentry-source-file":"Desktop.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.33594 2.91667C1.33594 2.22632 1.89558 1.66667 2.58594 1.66667H18.4193C19.1096 1.66667 19.6693 2.22632 19.6693 2.91667V12.9167C19.6693 13.607 19.1096 14.1667 18.4193 14.1667H11.5026V16.6667H14.1693C14.4454 16.6667 14.6693 16.8905 14.6693 17.1667V17.8333C14.6693 18.1095 14.4454 18.3333 14.1693 18.3333H6.83594C6.55979 18.3333 6.33594 18.1095 6.33594 17.8333V17.1667C6.33594 16.8905 6.55979 16.6667 6.83594 16.6667H9.5026V14.1667H2.58594C1.89558 14.1667 1.33594 13.607 1.33594 12.9167V2.91667ZM3.0026 3.33334V12.5H18.0026V3.33334H3.0026Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Desktop.tsx"})})}function et(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Mobile","data-sentry-source-file":"Mobile.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.66406 0.833344C5.28335 0.833344 4.16406 1.95263 4.16406 3.33334V16.6667C4.16406 18.0474 5.28335 19.1667 6.66406 19.1667H13.3307C14.7114 19.1667 15.8307 18.0474 15.8307 16.6667V3.33334C15.8307 1.95263 14.7114 0.833344 13.3307 0.833344H6.66406ZM5.83073 3.33334C5.83073 2.87311 6.20383 2.50001 6.66406 2.50001H13.3307C13.791 2.50001 14.1641 2.87311 14.1641 3.33334V16.6667C14.1641 17.1269 13.791 17.5 13.3307 17.5H6.66406C6.20383 17.5 5.83073 17.1269 5.83073 16.6667V3.33334ZM7.91406 15C7.45383 15 7.08073 15.3731 7.08073 15.8333C7.08073 16.2936 7.45383 16.6667 7.91406 16.6667H12.0807C12.541 16.6667 12.9141 16.2936 12.9141 15.8333C12.9141 15.3731 12.541 15 12.0807 15H7.91406Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Mobile.tsx"})})}function en(){let e=c.D.views.designer.components.deviceSelector;return(0,a.jsxs)(X.A,{className:eo.buttonGroup,"data-sentry-element":"ButtonGroup","data-sentry-component":"DeviceSelector","data-sentry-source-file":"DeviceSelector.tsx",children:[(0,a.jsx)(ea,{icon:(0,a.jsx)(et,{}),type:j.bq.Mobile,tooltip:c.D.components.tooltips.mobilePreview,"data-sentry-element":"DeviceSelectorButton","data-sentry-source-file":"DeviceSelector.tsx",children:e.mobile}),(0,a.jsx)(ea,{icon:(0,a.jsx)(ee,{}),type:j.bq.Desktop,tooltip:c.D.components.tooltips.desktop,"data-sentry-element":"DeviceSelectorButton","data-sentry-source-file":"DeviceSelector.tsx",children:e.desktop})]})}function ea(e){let{icon:t,type:n,tooltip:o,children:r}=e,{designerSettings:s,setDesignerSettings:i}=(0,j.Hb)(),{deviceType:l}=s;return(0,a.jsx)(J.x,{target:(0,a.jsxs)(G.A,{outline:!0,className:"".concat(l===n?"active":""," ").concat(eo.deviceButton," d-flex align-items-center"),onClick:()=>i({...s,deviceType:n}),children:[t," ",r]}),placement:"bottom",title:o,"data-sentry-element":"SoloTooltip","data-sentry-component":"DeviceSelectorButton","data-sentry-source-file":"DeviceSelector.tsx"})}let eo={buttonGroup:"".concat(d.ButtonStyles.GroupButtonContainer," ").concat((0,o.style)({backgroundColor:d.StandardColors.ColorDarkGray50,borderRadius:"".concat(d.Spacing.Micro,"px !important")})),deviceButton:(0,o.style)({paddingInline:d.Spacing.Large,paddingBlock:d.Spacing.Medium/2,borderRadius:"".concat(d.Spacing.Micro,"px !important"),backgroundColor:d.StandardColors.ColorDarkGray50,boxShadow:"0px 0px 0px 1px #32313C inset",color:"".concat(d.StandardColors.ColorLightGray40," !important"),$nest:{"&.active":{color:"".concat(d.StandardColors.ColorWhite," !important"),backgroundColor:d.StandardColors.ColorDarkGray05,boxSh
1adow:"0px 0px 0px 1px #23222B inset"},"&:active":{color:"".concat(d.StandardColors.ColorWhite," !important")},"&:not(.active)&:hover":{backgroundColor:d.StandardColors.ColorDarkGray30,color:d.StandardColors.ColorLightGray40},svg:{marginRight:d.Spacing.Small}}})};function er(e){let{wrapClassName:t,...n}=e,o=c.D.views.designer.components.websitePreviewModal,{websiteSettings:s,designerSettings:i,currentPage:l}=(0,j.Hb)(),{pushToastMessage:p}=(0,K.dj)();return(0,r.useEffect)(()=>{(0,Q.w7)(s,l).every(e=>{var t;let n=null==e||null==(t=e.props)?void 0:t.code;return n&&""!==n.trim()})||p(Y.vn.codeEmbedFailure)},[s,l]),(0,a.jsx)(_.A,{...n,wrapClassName:es.modal,"data-sentry-element":"Modal","data-sentry-component":"WebsitePreviewModal","data-sentry-source-file":"WebsitePreviewModal.tsx",children:(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," ").concat(es.container),"data-sentry-element":"Container","data-sentry-source-file":"WebsitePreviewModal.tsx",children:[(0,a.jsxs)(L.A,{className:"".concat(u.ContainerStyles.VerticallyCenter," row-toolbar"),"data-sentry-element":"Row","data-sentry-source-file":"WebsitePreviewModal.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"WebsitePreviewModal.tsx",children:(0,a.jsx)(q.o,{"data-sentry-element":"LightLogo_Small","data-sentry-source-file":"WebsitePreviewModal.tsx"})}),(0,a.jsx)(k.A,{className:"d-flex justify-content-center","data-sentry-element":"Col","data-sentry-source-file":"WebsitePreviewModal.tsx",children:(0,a.jsx)(en,{"data-sentry-element":"DeviceSelector","data-sentry-source-file":"WebsitePreviewModal.tsx"})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"WebsitePreviewModal.tsx",children:(0,a.jsx)(G.A,{className:d.ButtonStyles.SecondarySmall,onClick:()=>{n.onClosed&&n.onClosed()},"data-sentry-element":"Button","data-sentry-source-file":"WebsitePreviewModal.tsx",children:o.exitPreview})})]}),(0,a.jsx)(L.A,{className:"d-flex w-100 justify-content-center flex-grow-1 align-items-center","data-sentry-element":"Row","data-sentry-source-file":"WebsitePreviewModal.tsx",children:i.deviceType!==j.bq.Desktop?(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)("div",{className:"phone-outer-frame ".concat(es.iFrameBg),children:(0,a.jsx)(T,{})})}):(0,a.jsx)(k.A,{className:"col-desktop-preview",children:(0,a.jsx)(T,{className:"w-100 ".concat(es.iFrameBg)})})})]})})}let es={container:(0,o.style)({display:"flex",flexDirection:"column",backgroundColor:u.StandardColors.ColorDarkGray90,flex:1,$nest:{".row-toolbar":{paddingInline:u.Spacing.xLarge,paddingBlock:u.Spacing.Medium,borderBottomWidth:1,borderBottomStyle:"solid",borderBottomColor:u.StandardColors.ColorDarkGray40},".col-desktop-preview":{padding:"".concat(u.Spacing.Medium,"px !important"),height:"100%",width:"100%"},".phone-outer-frame":{display:"flex",overflow:"hidden",flex:1,borderRadius:u.Spacing.xxLarge+1,borderWidth:1.5,borderStyle:"solid",borderColor:u.StandardColors.ColorLightGray20,backgroundColor:u.StandardColors.ColorBlack,$nest:{iframe:{padding:u.Spacing.Small,borderRadius:u.Spacing.xxLarge,width:391*.9,height:745.2}}}}}),iFrameBg:(0,o.style)({backgroundColor:u.StandardColors.ColorBlack}),modal:(0,o.style)({display:"flex",$nest:{".modal-dialog":{display:"flex !important",margin:0,maxWidth:"100%",width:"100%",height:"100%",overflow:"hidden",$nest:{".modal-content":{border:"none",borderRadius:0,padding:0,width:"100%"}}}}})};function ei(){var e,t,n,o;let{websiteDocument:r}=(0,M.SY)(),{currentPage:s,setShowPreview:i,showPreview:l,websiteSettings:c}=(0,j.Hb)();return((0,Z.G)(null==c||null==(t=c.fonts)||null==(e=t.headingFont)?void 0:e.fontName),(0,Z.G)(null==c||null==(o=c.fonts)||null==(n=o.bodyFont)?void 0:n.fontName),(0,Z.G)((0,W.getLogoFont)(c)),c&&c.pages&&c.pages.length)?(0,a.jsxs)("div",{className:d.fontLoadingStyles.fadeInFont,"data-sentry-component":"DesignerSections","data-sentry-source-file":"DesignerSections.tsx",children:[(0,a.jsx)(W.Page,{environmentType:(0,E.isDev)()?W.WebsiteEnvironmentType.Development:(0,E.isStaging)()?W.WebsiteEnvironmentType.Staging:W.WebsiteEnvironmentType.Production,settings:c,metadata:r,isDesignerMode:!0,page:s||c.pages[0],elementWrapper:(e,t)=>(0,a.jsx)($,{section:e,children:t},e.type),"data-sentry-element":"Page","data-sentry-source-file":"DesignerSections.tsx"}),l&&(0,a.jsx)(er,{isOpen:l,onClosed:()=>{i(!1)}})]}):null}function el(){let{user:e,isLoaded:t}=(0,x.uM)(),{documentStatus:n}=(0,M.SY)(),{isMobileDevice:o,websiteSettings:r}=(0,j.Hb)();return(0,a.jsx)(w.A,{className:o?"":ec.container,"data-sentry-element":"Container","data-sentry-component":"DesignerSurface","data-sentry-source-file":"DesignerSurface.tsx",children:(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DesignerSurface.tsx",children:(0,a.jsx)(k.A,{className:"d-flex flex-column ".concat(o?ec.mobilePreviewContainer:""),"data-sentry-element":"Col","data-sentry-source-file":"DesignerSurface.tsx",children:o&&t?e&&n!==M.Ai.Ready?null:(0,a.jsx)(T,{className:ec.mobilePreview},r&&r.id):(0,a.jsx)(ei,{})})})})}let ec={container:(0,o.style)({marginBottom:2*d.Spacing.xxLarge,padding:d.Spacing.Medium}),mobilePreview:(0,o.style)({height:"calc(100dvh - ".concat(R,"px - ").concat(V,"px)")}),mobilePreviewContainer:(0,o.style)({position:"fixed",padding:0,top:R+V,left:0,width:"100%",height:"calc(100dvh - ".concat(R,"px - ").concat(V,"px)"),overflow:"hidden"})};var ed=n(67556);function ep(e){let t=null,n=null,o=null,s=null;
1return r.Children.forEach(e.children,e=>{let a=r.isValidElement(e)?e:null;a&&a.type===ep.LeftContent&&(t=a,n=a.props),a&&a.type===ep.RightContent&&(o=a,s=a.props)}),(0,a.jsx)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," ").concat(u.ContainerStyles.Flex," ").concat(e.className||""),fluid:!0,"data-sentry-element":"Container","data-sentry-component":"TwoColumnLayout","data-sentry-source-file":"TwoColumnLayout.tsx",children:(0,a.jsxs)(L.A,{className:"".concat(u.ContainerStyles.Fill," ").concat(e.rowClassname||""),"data-sentry-element":"Row","data-sentry-source-file":"TwoColumnLayout.tsx",children:[t&&(0,a.jsx)(k.A,{...n||{},children:(0,a.jsx)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," ").concat(e.leftClassname||""),children:(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:t})})})}),o&&(0,a.jsx)(k.A,{...s||{},id:"right-column",children:(0,a.jsx)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," ").concat(e.rightClassname||""),children:(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:o})})})})]})})}ep.LeftContent=function(e){return e.children||null},ep.RightContent=function(e){return e.children||null};var em=n(31630),eu=n(44398),eg=n(51361);function ey(e){let{title:t,disclaimers:n,confirmText:o,onConfirm:r,className:s,confetti:i,...l}=e,{width:c}=(0,d.useWindowSize)();return(0,a.jsxs)(_.A,{centered:!0,scrollable:!1,className:"".concat(ex.container," ").concat(s),isOpen:!0,modalTransition:{timeout:100},...l,"data-sentry-element":"Modal","data-sentry-component":"SuccessWithDisclaimersModal","data-sentry-source-file":"SuccessWithDisclaimersModal.tsx",children:[i&&(0,a.jsx)(eg.v,{}),(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"SuccessWithDisclaimersModal.tsx",children:[(0,a.jsx)("h3",{className:ex.title,children:t}),(0,a.jsx)(eu.c,{className:ex.divider,"data-sentry-element":"Divider","data-sentry-source-file":"SuccessWithDisclaimersModal.tsx"}),(0,a.jsx)("div",{className:ex.disclaimersContainer,children:n.map(e=>(0,a.jsxs)("div",{className:ex.disclaimer,children:[(0,a.jsx)("div",{className:"icon",children:e.icon}),(0,a.jsxs)("div",{className:"text-container",children:[(0,a.jsx)("div",{className:"".concat(d.FontStyles.SemiBold," ").concat((0,d.isMobileScreenSize)(c)?"":"title-desktop"),children:e.title}),(0,a.jsx)("div",{className:"description",children:e.description})]})]},e.title))}),(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.Primary," ").concat(ex.button),onClick:r,"data-sentry-element":"Button","data-sentry-source-file":"SuccessWithDisclaimersModal.tsx",children:o})]})]})}let ex={container:(0,o.style)({display:"flex",overflow:"hidden",padding:"17.5px",$nest:{".modal-content":{maxWidth:440,width:"100%",borderRadius:d.Spacing.Small,borderWidth:0,border:0,outline:"none",boxShadow:d.BoxShadowStyles.xLarge},".modal-body":{overflow:"hidden",textAlign:"center",padding:d.Spacing.xLarge},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({fontSize:18,lineHeight:"24px",display:"flex",textAlign:"left",justifyContent:"flex-start",flexDirection:"row",alignItems:"center",columnGap:d.Spacing.Small,overflow:"hidden",boxSizing:"content-box",marginBottom:d.Spacing.Large})),titleIcon:(0,o.style)({display:"flex",color:d.Colors.Primary,height:d.Spacing.Large+d.Spacing.Micro,alignItems:"center"}),divider:(0,o.style)({marginInline:-d.Spacing.xLarge,marginBlock:0}),disclaimersContainer:"".concat((0,o.style)({display:"flex",flexDirection:"column",rowGap:d.Spacing.xLarge,overflow:"hidden",paddingTop:d.Spacing.xLarge,paddingBottom:d.Spacing.xLarge+d.Spacing.Medium})),disclaimer:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",flexDirection:"row",columnGap:d.Spacing.Large,alignItems:"center",$nest:{"& .text-container":{display:"flex",flexDirection:"column",textAlign:"left",whiteSpace:"pre-line",rowGap:d.Spacing.Micro},"& .title-desktop":{lineHeight:"24px"},"& .description":{lineHeight:"20px",color:d.StandardColors.ColorDarkGray50}
1,"& .icon":{color:d.Colors.Primary,alignSelf:"flex-start"}}})),button:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",width:"100%",padding:0,height:d.Spacing.xxLarge}))};function eh(){return(0,a.jsx)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Authenticity","data-sentry-source-file":"Authenticity.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.9001 23.0001C4.9001 13.0037 13.0037 4.9001 23.0001 4.9001C32.9965 4.9001 41.1001 13.0037 41.1001 23.0001C41.1001 32.9965 32.9965 41.1001 23.0001 41.1001C13.0037 41.1001 4.9001 32.9965 4.9001 23.0001ZM23.0001 3.1001C12.0096 3.1001 3.1001 12.0096 3.1001 23.0001C3.1001 33.9906 12.0096 42.9001 23.0001 42.9001C28.1355 42.9001 32.8166 40.9548 36.3467 37.761L42.2929 43.7071C42.6834 44.0976 43.3166 44.0976 43.7071 43.7071C44.0976 43.3166 44.0976 42.6834 43.7071 42.2929L37.761 36.3467C40.9548 32.8166 42.9001 28.1355 42.9001 23.0001C42.9001 12.0096 33.9906 3.1001 23.0001 3.1001ZM36.1365 19.8637C36.488 20.2152 36.488 20.785 36.1365 21.1365L29.6365 27.6365C29.285 27.988 28.7152 27.988 28.3637 27.6365L25.3637 24.6365C25.0122 24.285 25.0122 23.7152 25.3637 23.3637C25.7152 23.0122 26.285 23.0122 26.6365 23.3637L29.0001 25.7273L34.8637 19.8637C35.2152 19.5122 35.785 19.5122 36.1365 19.8637ZM10.0001 19.1001C9.50304 19.1001 9.1001 19.503 9.1001 20.0001C9.1001 20.4972 9.50304 20.9001 10.0001 20.9001H21.0001C21.4972 20.9001 21.9001 20.4972 21.9001 20.0001C21.9001 19.503 21.4972 19.1001 21.0001 19.1001L10.0001 19.1001ZM9.1001 24.0001C9.1001 23.503 9.50304 23.1001 10.0001 23.1001H21.0001C21.4972 23.1001 21.9001 23.503 21.9001 24.0001C21.9001 24.4972 21.4972 24.9001 21.0001 24.9001H10.0001C9.50304 24.9001 9.1001 24.4972 9.1001 24.0001ZM10.0001 27.1001C9.50304 27.1001 9.1001 27.503 9.1001 28.0001C9.1001 28.4972 9.50304 28.9001 10.0001 28.9001L17.0001 28.9001C17.4972 28.9001 17.9001 28.4972 17.9001 28.0001C17.9001 27.503 17.4972 27.1001 17.0001 27.1001H10.0001Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Authenticity.tsx"})})}function eC(){return(0,a.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Customization","data-sentry-source-file":"Customization.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4983 5.33333H11.1036L15.9184 18.6667H18.3131L13.4983 5.33333ZM15.3526 20.3333C15.3398 20.3336 15.3269 20.3336 15.3141 20.3333H13.6667C13.2064 20.3333 12.8333 19.9602 12.8333 19.5C12.8333 19.0398 13.2064 18.6667 13.6667 18.6667H14.1464L13.2436 16.1667H6.58971L5.68693 18.6667H6.16667C6.6269 18.6667 7 19.0398 7 19.5C7 19.9602 6.6269 20.3333 6.16667 20.3333H4.5192C4.5064 20.3336 4.49357 20.3336 4.48071 20.3333H2.83333C2.3731 20.3333 2 19.9602 2 19.5C2 19.0398 2.3731 18.6667 2.83333 18.6667H3.91492L8.72974 5.33333H8.25C7.78976 5.33333 7.41667 4.96023 7.41667 4.5C7.41667 4.03976 7.78976 3.66666 8.25 3.66666H9.89726L9.91667 3.66644L9.93617 3.66666H14.0638C14.1199 3.66535 14.1754 3.66974 14.2297 3.67948C14.3517 3.70109 14.4645 3.74924 14.562 3.81776C14.6598 3.88628 14.7437 3.97626 14.8055 4.08396C14.8331 4.13162 14.856 4.18226 14.8737 4.23528L20.0851 18.6667H21.1667C21.6269 18.6667 22 19.0398 22 19.5C22 19.9602 21.6269 20.3333 21.1667 20.3333H19.5193C19.5064 20.3336 19.4936 20.3336 19.4808 20.3333H15.3526ZM7.19156 14.5H12.6418L9.91667 6.95355L7.19156 14.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.5505 10.9625C33.4355 11.0774 33.3567 11.2235 33.3237 11.3828L32.7082 14.3553C32.6513 14.6301 32.7365 14.9151 32.9349 15.1135C33.1334 15.3119 33.4184 15.3972 33.6932 15.3403L36.6657 14.7248C36.8249 14.6918 36.971 14.613 37.086 14.498L45.3716 6.21235C46.1852 5.39876 46.1852 4.07966 45.3716 3.26607L44.7824 2.67681C43.9688 1.86322 42.6497 1.86322 41.8361 2.67681L33.5505 10.9625ZM34.5974 13.451L34.9052 11.9647L43.0146 3.85533C43.1773 3.69261 43.4412 3.69261 43.6039 3.85533L44.1931 4.44458C44.3559 4.6073 44.3559 4.87112 44.1931 5.03384L36.0837 13.1433L34.5974 13.451ZM29.3333 5.75C29.3333 5.51988 29.5198 5.33334 29.75 5.33334H36.8333C37.2935 5.33334 37.6666 4.96024 37.6666 4.5C37.6666 4.03977 37.2935 3.66667 36.8333 3.66667H29.75C28.5994 3.66667 27.6666 4.59941 27.6666 5.75V18.25C27.6666 19.4006 28.5994 20.3333 29.75 20.3333H42.25C43.4006 20.3333 44.3333 19.4006 44.3333 18.25V11.1667C44.3333 10.7064 43.9602 10.3333 43.5 10.3333C43.0397 10.3333 42.6666 10.7064 42.6666 11.1667V18.25C42.6666 18.4801 42.4801 18.6667 42.25 18.6667H29.75C29.5198 18.6667 29.3333 18.4801 29.3333 18.25V5.75Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0833 36C20.2339 36 21.1666 36.9327 21.1666 38.0833V42.25C21.1666 43.4006 20.2339 44.3333 19.0833 44.3333H7.84631C7.38608 44.3333 7.01298 43.9602 7.
101298 43.5C7.01298 43.0398 7.38608 42.6667 7.84631 42.6667H19.0833C19.3134 42.6667 19.5 42.4801 19.5 42.25V38.0833C19.5 37.8532 19.3134 37.6667 19.0833 37.6667H15.8411C15.3809 37.6667 15.0078 37.2936 15.0078 36.8333C15.0078 36.3731 15.3809 36 15.8411 36H19.0833Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.842 29.173C13.6556 28.3594 14.9747 28.3594 15.7882 29.173L18.7345 32.1193C19.5481 32.9329 19.5481 34.252 18.7345 35.0656L14.2783 39.5217C13.9529 39.8472 13.4253 39.8472 13.0998 39.5217C12.7744 39.1963 12.7744 38.6687 13.0998 38.3432L17.556 33.8871C17.7187 33.7243 17.7187 33.4605 17.556 33.2978L14.6097 30.3515C14.447 30.1888 14.1832 30.1888 14.0205 30.3515L11.9503 32.4217C11.6249 32.7471 11.0972 32.7471 10.7718 32.4217C10.4464 32.0963 10.4464 31.5686 10.7718 31.2432L12.842 29.173Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.66663 28.8616C3.66663 27.7414 4.57473 26.8333 5.69493 26.8333H9.97166C11.0919 26.8333 12 27.7414 12 28.8616V40.1667C12 42.4679 10.1345 44.3333 7.83329 44.3333C5.53211 44.3333 3.66663 42.4679 3.66663 40.1667V28.8616ZM5.69493 28.5C5.4952 28.5 5.33329 28.6619 5.33329 28.8616V40.1667C5.33329 41.5474 6.45258 42.6667 7.83329 42.6667C9.214 42.6667 10.3333 41.5474 10.3333 40.1667V28.8616C10.3333 28.6619 10.1714 28.5 9.97166 28.5H5.69493Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{d:"M8.66663 40.1667C8.66663 40.6269 8.29353 41 7.83329 41C7.37306 41 6.99996 40.6269 6.99996 40.1667C6.99996 39.7064 7.37306 39.3333 7.83329 39.3333C8.29353 39.3333 8.66663 39.7064 8.66663 40.1667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{d:"M31.1576 41H40.9032C41.0794 41 41.176 40.795 41.064 40.6591L38.6607 37.7444C38.5774 37.6434 38.4226 37.6434 38.3392 37.7444L36.8773 39.5175L34.5044 36.1029C34.4215 35.9837 34.2451 35.9837 34.1622 36.1029L30.9865 40.6728C30.8905 40.8109 30.9894 41 31.1576 41Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{d:"M38.0833 35.1667C38.7737 35.1667 39.3333 34.607 39.3333 33.9167C39.3333 33.2263 38.7737 32.6667 38.0833 32.6667C37.393 32.6667 36.8333 33.2263 36.8333 33.9167C36.8333 34.607 37.393 35.1667 38.0833 35.1667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.3445 42.3462C44.3445 43.4437 43.4548 44.3333 42.3573 44.3333H29.665C28.5675 44.3333 27.6779 43.4437 27.6779 42.3462V29.6539C27.6779 28.5564 28.5675 27.6667 29.665 27.6667H42.3573C43.4548 27.6667 44.3445 28.5564 44.3445 29.6539V42.3462ZM42.3573 42.6667C42.5344 42.6667 42.6779 42.5232 42.6779 42.3462V29.6539C42.6779 29.4768 42.5344 29.3333 42.3573 29.3333H29.665C29.488 29.3333 29.3445 29.4768 29.3445 29.6539V42.3462C29.3445 42.5232 29.488 42.6667 29.665 42.6667H42.3573Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Customization.tsx"})]})}function ef(e){let t=c.D.components.successModals.inviteAcceptedSuccess,{onConfirm:n,...o}=e,r=[{...t.disclaimers.customize,icon:(0,a.jsx)(eC,{})},{...t.disclaimers.checkContent,icon:(0,a.jsx)(eh,{})}];return(0,a.jsx)(ey,{title:t.title,disclaimers:r,onConfirm:n,confirmText:t.confirmText,...o,"data-sentry-element":"SuccessWithDisclaimersModal","data-sentry-component":"InviteAcceptedSuccessModal","data-sentry-source-file":"InviteAcceptedSuccessModal.tsx"})}function eS(){return(0,a.jsx)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"DesktopEditing","data-sentry-source-file":"DesktopEditing.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.0708 13.6168C26.9558 13.7318 26.877 13.8779 26.844 14.0371L26.2285 17.0096C26.1716 17.2844 26.2568 17.5694 26.4553 17.7679C26.6537 17.9663 26.9387 18.0515 27.2135 17.9946L30.186 17.3791C30.3452 17.3462 30.4913 17.2673 30.6063 17.1524L40.5893 7.16941C41.4028 6.35582 41.4028 5.03672 40.5893 4.22313L40 3.63388C39.1864 2.82028 37.8673 2.82028 37.0537 3.63388L27.0708 13.6168ZM28.1178 16.1054L28.4255 14.6191L38.2322 4.81239C38.395 4.64967 38.6588 4.64967 38.8215 4.81239L39.4107 5.40164C39.5735 5.56436 39.5735 5.82818 39.4107 5.99
109L29.604 15.7976L28.1178 16.1054ZM0 10.0001C0 8.8955 0.895429 8.00007 2 8.00007H27C27.5523 8.00007 28 8.44779 28 9.00007C28 9.55236 27.5523 10.0001 27 10.0001L2 10.0001V38.0001H46V10.0001H43C42.4477 10.0001 42 9.55236 42 9.00007C42 8.44779 42.4477 8.00007 43 8.00007H46C47.1046 8.00007 48 8.8955 48 10.0001V38.0001C48 39.1046 47.1046 40.0001 46 40.0001L25 40.0001V44.0001H32C32.5523 44.0001 33 44.4478 33 45.0001C33 45.5524 32.5523 46.0001 32 46.0001H16C15.4477 46.0001 15 45.5524 15 45.0001C15 44.4478 15.4477 44.0001 16 44.0001H23V40.0001L2 40.0001C0.89543 40.0001 0 39.1046 0 38.0001V10.0001ZM16 23.0001C16.8284 23.0001 17.5 22.3285 17.5 21.5001C17.5 20.6716 16.8284 20.0001 16 20.0001C15.1716 20.0001 14.5 20.6716 14.5 21.5001C14.5 22.3285 15.1716 23.0001 16 23.0001ZM9.61592 28.0001H18.384C18.5425 28.0001 18.6294 27.8156 18.5286 27.6934L16.3664 25.071C16.2915 24.9801 16.1522 24.9801 16.0772 25.071L14.7619 26.6663L12.627 23.5942C12.5525 23.4869 12.3938 23.4869 12.3192 23.5942L9.462 27.7057C9.37563 27.8299 9.46457 28.0001 9.61592 28.0001ZM26.0625 21.0001C26.0625 20.4478 26.5102 20.0001 27.0625 20.0001H41.0625C41.6148 20.0001 42.0625 20.4478 42.0625 21.0001C42.0625 21.5524 41.6148 22.0001 41.0625 22.0001H27.0625C26.5102 22.0001 26.0625 21.5524 26.0625 21.0001ZM26.0625 25.0001C26.0625 24.4478 26.5102 24.0001 27.0625 24.0001H41.0625C41.6148 24.0001 42.0625 24.4478 42.0625 25.0001C42.0625 25.5524 41.6148 26.0001 41.0625 26.0001H27.0625C26.5102 26.0001 26.0625 25.5524 26.0625 25.0001ZM26.0625 29.0001C26.0625 28.4478 26.5102 28.0001 27.0625 28.0001H33.0625C33.6148 28.0001 34.0625 28.4478 34.0625 29.0001C34.0625 29.5524 33.6148 30.0001 33.0625 30.0001H27.0625C26.5102 30.0001 26.0625 29.5524 26.0625 29.0001ZM8.5 16.0001C7.11929 16.0001 6 17.1194 6 18.5001V29.5001C6 30.8808 7.
111929 32.0001 8.5 32.0001H19.5C20.8807 32.0001 22 30.8808 22 29.5001V18.5001C22 17.1194 20.8807 16.0001 19.5 16.0001H8.5ZM8 18.5001C8 18.224 8.22386 18.0001 8.5 18.0001H19.5C19.7761 18.0001 20 18.224 20 18.5001V29.5001C20 29.7763 19.7761 30.0001 19.5 30.0001H8.5C8.22386 30.0001 8 29.7763 8 29.5001V18.5001Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"DesktopEditing.tsx"})})}function ev(e){let t=c.D.components.successModals.inviteAcceptedSuccessMobile,{onConfirm:n,...o}=e,r=[{...t.disclaimers.desktop,icon:(0,a.jsx)(eS,{})},{...t.disclaimers.checkContent,icon:(0,a.jsx)(eh,{})}];return(0,a.jsx)(ey,{title:t.title,disclaimers:r,onConfirm:n,confirmText:t.confirmText,...o,"data-sentry-element":"SuccessWithDisclaimersModal","data-sentry-component":"InviteAcceptedSuccessModalMobile","data-sentry-source-file":"InviteAcceptedSuccessModalMobile.tsx"})}function eb(e){let t=c.D.components.successModals.websiteCreationSuccess,{onConfirm:n,...o}=e,r=[{...t.disclaimers.customize,icon:(0,a.jsx)(eC,{})},{...t.disclaimers.checkContent,icon:(0,a.jsx)(eh,{})}];return(0,a.jsx)(ey,{title:t.title,disclaimers:r,onConfirm:n,confirmText:t.confirmText,confetti:!0,...o,"data-sentry-element":"SuccessWithDisclaimersModal","data-sentry-component":"WebsiteCreationSuccessModal","data-sentry-source-file":"WebsiteCreationSuccessModal.tsx"})}function ej(e){let t=c.D.components.successModals.websiteCreationSuccessMobile,{onConfirm:n,...o}=e,r=[{...t.disclaimers.desktop,icon:(0,a.jsx)(eS,{})},{...t.disclaimers.checkContent,icon:(0,a.jsx)(eh,{})}];return(0,a.jsx)(ey,{title:t.title,disclaimers:r,onConfirm:n,confirmText:t.confirmText,confetti:!0,...o,"data-sentry-element":"SuccessWithDisclaimersModal","data-sentry-component":"WebsiteCreationSuccessModalMobile","data-sentry-source-file":"WebsiteCreationSuccessModalMobile.tsx"})}var ew=n(67515),eL=n(82417),ek=n(32999),eM=n(32592),eP=n(6052),eN=n.n(eP),eD=n(11307),eI=n(14825),eT=n(28495);function eB(e){let{children:t,showDropdown:n}=e;return(0,a.jsxs)("div",{className:eH.container,"data-sentry-component":"DesignerProblemView","data-sentry-source-file":"DesignerProblemView.tsx",children:[(0,a.jsx)(eA,{showDropdown:n,"data-sentry-element":"Toolbar","data-sentry-source-file":"DesignerProblemView.tsx"}),(0,a.jsx)(k.A,{className:eH.content,"data-sentry-element":"Col","data-sentry-source-file":"DesignerProblemView.tsx",children:t}),(0,a.jsx)(eT.w,{"data-sentry-element":"Footer","data-sentry-source-file":"DesignerProblemView.tsx"})]})}function eA(e){let{showDropdown:t}=e;return(0,a.jsxs)(w.A,{className:eF.container,"data-sentry-element":"Container","data-sentry-component":"Toolbar","data-sentry-source-file":"DesignerProblemView.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"DesignerProblemView.tsx",children:(0,a.jsx)(eN(),{href:"/","data-sentry-element":"Link","data-sentry-source-file":"DesignerProblemView.tsx",children:(0,a.jsx)(eD.I,{"data-sentry-element":"DarkLogo_Small","data-sentry-source-file":"DesignerProblemView.tsx"})})}),t&&(0,a.jsx)(k.A,{className:u.ContainerStyles.Right,children:(0,a.jsx)(eI.B,{})})]})}let eH={container:" ".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$debugName:"designer-problem-view-container",display:"flex",flexDirection:"column",height:"100vh",overflowY:"scroll",width:"100vw"})),content:(0,o.style)({flexDirection:"column",alignItems:"center",height:"100%",minHeight:640,color:"".concat(u.StandardColors.ColorDarkGray05," !important"),paddingTop:3*u.Spacing.xxxLarge+u.Spacing.Small,paddingRight:u.Spacing.xLarge,paddingLeft:u.Spacing.xLarge,paddingBottom:8*u.Spacing.xxLarge,textAlign:"center",backgroundColor:u.StandardColors.ColorLightGray20})},eF={container:"".concat(u.ContainerStyles.Fill," ").concat(u.ContainerStyles.VerticallyCenter," ").concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({alignItems:"center",maxHeight:u.Spacing.xxxLarge+u.Spacing.Large,paddingInline:u.Spacing.xLarge,paddingBlock:u.Spacing.Medium,borderBottom:"solid 1px",borderColor:u.StandardColors.ColorLightGray30,$nest:{".user-menu":{paddingLeft:"".concat(u.Spacing.Small,"px !important"),justifySelf:"flex-end"}}}))};function eR(){return(0,a.jsx)(eB,{showDropdown:!1,"data-sentry-element":"DesignerProblemView","data-sentry-component":"DesignerLoginView","data-sentry-source-file":"DesignerLoginView.tsx",children:(0,a.jsx)(eM.K,{mustLoginPrompt:!0,autosaveDraftOnMount:!1,"data-sentry-element":"LoginOverlay","data-sentry-source-file":"DesignerLoginView.tsx"})})}var eV=n(89133);function eW(){return(0,a.jsx)("svg",{width:"97",height:"96",viewBox:"0 0 97 96",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BrowserWindow","data-sentry-source-file":"BrowserWindow.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 25.5C16.7467 25.5 21 21.2467 21 16C21 10.7533 16.7467 6.5 11.5 6.5C6.25329 6.5 2 10.7533 2 16C2 21.2467 6.25329 25.5 11.5 25.5ZM11.5 27C17.5751 27 22.5 22.0751 22.5 16C22.5 9.92487 17.5751 5 11.5 5C5.42487 5 0.5 9.92487 0.5 16C0.5 22.0751 5.42487 27 11.5 27ZM12.25 12C12.25 11.5858 11.9142 11.25 11.5 11.25C11.0858 11.25 10.75 11.5858 10.75 12V15.25H7.5C7.08579 15.25 6.75 15.5858 6.75 16C6.75 16.4142 7.08579 16.75 7.5 16.75H10.75V20C10.75 20.4142 11.0858 20.75 11.5 20.75C11.9142 20.75 12.25 20.4142 12.25 20V16.75H15.5C15.9142 16.75 16.25 16.4142 16.25 16C16.25 15.5858 15.9142 
115.25 15.5 15.25H12.25V12ZM4 27.961C4 27.8755 3.95619 27.796 3.88447 27.7495C3.55208 27.5336 3.22941 27.304 2.91729 27.0614C2.74955 26.9311 2.5 27.0483 2.5 27.2608V84C2.5 85.6569 3.84315 87 5.5 87H91.5C93.1569 87 94.5 85.6569 94.5 84V12C94.5 10.3431 93.1569 9 91.5 9H24.0605C23.8679 9 23.747 9.20891 23.8382 9.37849C24.0083 9.69479 24.1666 10.0184 24.3125 10.3487C24.353 10.4402 24.4432 10.5 24.5433 10.5H91.5C92.3284 10.5 93 11.1716 93 12V84C93 84.8284 92.3284 85.5 91.5 85.5H86.2361V75.7031C86.2361 74.6107 85.3506 73.7251 84.2581 73.7251H66.478C65.3856 73.7251 64.5 74.6107 64.5 75.7031V85.5H58.9998V75.7031C58.9998 74.6107 58.1142 73.7251 57.0218 73.7251H39.2417C38.1493 73.7251 37.2637 74.6107 37.2637 75.7031V85.5H32.6756V75.7031C32.6756 74.6107 31.79 73.7251 30.6976 73.7251H12.9175C11.825 73.7251 10.9395 74.6107 10.9395 75.7031V85.5H5.5C4.67157 85.5 4 84.8284 4 84V27.961ZM84.7526 75.7031V85.5H65.9835V75.7031C65.9835 75.43 66.2049 75.2086 66.478 75.2086H84.2581C84.5312 75.2086 84.7526 75.43 84.7526 75.7031ZM57.5163 75.7031V85.5H38.7472V75.7031C38.7472 75.43 38.9686 75.2086 39.2417 75.2086H57.0218C57.2949 75.2086 57.5163 75.43 57.5163 75.7031ZM31.1921 75.7031V85.5H12.423V75.7031C12.423 75.43 12.6444 75.2086 12.9175 75.2086H30.6976C30.9707 75.2086 31.1921 75.43 31.1921 75.7031ZM78.3951 16.7335C78.8048 16.7335 79.1369 16.4014 79.1369 15.9918C79.1369 15.5821 78.8048 15.25 78.3951 15.25H74.9336C74.524 15.25 74.1919 15.5821 74.1919 15.9918C74.1919 16.4014 74.524 16.7335 74.9336 16.7335H78.3951ZM85.3182 16.7335C85.7279 16.7335 86.0599 16.4014 86.0599 15.9918C86.0599 15.5821 85.7279 15.25 85.3182 15.25H81.8567C81.447 15.25 81.1149 15.5821 81.1149 15.9918C81.1149 16.4014 81.447 16.7335 81.8567 16.7335H85.3182ZM12.9175 55.4506H22.8075C23.0806 55.4506 23.302 55.6719 23.302 55.9451V57.9231C23.302 58.1962 23.0806 58.4176 22.8075 58.4176H12.9175C12.6444 58.4176 12.423 58.1962 12.423 57.9231V55.9451C12.423 55.6719 12.6444 55.4506 12.9175 55.4506ZM10.9395 55.9451C10.9395 54.8526 11.825 53.967 12.9175 53.967H22.8075C23.9 53.967 24.7855 54.8526 24.7855 55.9451V57.9231C24.7855 59.0155 23.9 59.9011 22.8075 59.9011H12.9175C11.825 59.9011 10.9395 59.0155 10.9395 57.9231V55.9451ZM84.1262 31.7145H54.478C54.2049 31.7145 53.9835 31.9359 53.9835 32.209V59.9011C53.9835 60.1742 54.2049 60.3956 54.478 60.3956H84.1262C84.3993 60.3956 84.6207 60.1742 84.6207 59.9011V32.209C84.6207 31.9359 84.3993 31.7145 84.1262 31.7145ZM54.478 30.231C53.3856 30.231 52.5 31.1165 52.5 32.209V59.9011C52.5 60.9936 53.3856 61.8792 54.478 61.8792H84.1262C85.2186 61.8792 86.1042 60.9936 86.1042 59.9011V32.209C86.1042 31.1165 85.2186 30.231 84.1262 30.231H54.478ZM23.0548 37.8956C23.4644 37.8956 23.7965 37.5635 23.7965 37.1539C23.7965 36.7442 23.4644 36.4121 23.0548 36.4121L11.6812 36.4121C11.2715 36.4121 10.9395 36.7442 10.9395 37.1539C10.9395 37.5635 11.2715 37.8956 11.6812 37.8956L23.0548 37.8956ZM44.7909 41.8516C45.2006 41.8516 45.5327 41.5196 45.5327 41.1099C45.5327 40.7002 45.2006 40.3681 44.7909 40.3681L11.6812 40.3681C11.2715 40.3681 10.9395 40.7002 10.9395 41.1099C10.9395 41.5195 11.2715 41.8516 11.6812 41.8516L44.7909 41.8516ZM44.7909 45.8077C45.2006 45.8077 45.5327 45.4756 45.5327 45.0659C45.5327 44.6563 45.2006 44.3242 44.7909 44.3242L11.6812 44.3242C11.2715 44.3242 10.9395 44.6563 10.9395 45.0659C10.9395 45.4756 11.2715 45.8077 11.6812 45.8077H44.7909ZM23.0548 49.7637C23.4644 49.7637 23.7965 49.4316 23.7965 49.0219C23.7965 48.6123 23.4644 48.2802 23.0548 48.2802H11.6812C11.2715 48.2802 10.9395 48.6123 10.9395 49.0219C10.9395 49.4316 11.2715 49.7637 11.6812 49.7637H23.0548ZM31.7094 37.1539C31.7094 37.5635 31.3773 37.8956 30.9677 37.8956H26.5171C26.1075 37.8956 25.7754 37.5635 25.7754 37.1539C25.7754 36.7442 26.1075 36.4121 26.5171 36.4121H30.9677C31.3773 36.4121 31.7094 36.7442 31.7094 37.1539Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"BrowserWindow.tsx"})})}function eE(){let e=c.D.views.designer.designerNoWebsitesView,t=(0,eV.useRouter)();return(0,a.jsxs)(eB,{showDropdown:!0,"data-sentry-element":"DesignerProblemView","data-sentry-component":"DesignerNoWebsitesView","data-sentry-source-file":"DesignerNoWebsitesView.tsx",children:[(0,a.jsx)(L.A,{className:eZ.browserWindowIcon,"data-sentry-element":"Row","data-sentry-source-file":"DesignerNoWebsitesView.tsx",children:(0,a.jsx)(eW,{"data-sentry-element":"BrowserWindow","data-sentry-source-file":"DesignerNoWebsitesView.tsx"})}),(0,a.jsx)(L.A,{className:eZ.header,"data-sentry-element":"Row","data-sentry-source-file":"DesignerNoWebsitesView.tsx",children:e.header}),(0,a.jsx)(L.A,{className:eZ.description,"data-sentry-element":"Row","data-sentry-source-file":"DesignerNoWebsitesView.tsx",children:e.description}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DesignerNoWebsitesView.tsx",children:(0,a.jsxs)(G.A,{className:eZ.button,onClick:()=>t.push("/onboarding"),"data-sentry-element":"Button","data-sentry-source-file":"DesignerNoWebsitesView.tsx",children:[(0,a.jsx)("div",{children:e.button}),(0,a.jsx)(W.ArrowRight,{"data-sentry-element":"ArrowRight","data-sentry-source-file":"DesignerNoWebsitesView.tsx"})]})})]})}let eZ={browserWindowIcon:(0,o.style)({height:2*d.Spacing.xxxLarge+d.Spacing.Large,color:"".concat(d.StandardColors.ColorViolet60," !important")}),header:"".concat(d.FontStyles.HeaderRegular," ").concat((0,o.style)({fontSize:"".concat(d.Spacing.xxLarge,"px"),lineHeight:"".concat(d.Spacing.xxLarge,"px"),marginTop:d.Spacing.xxLarge,marginBottom:
1d.Spacing.Large})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"".concat(d.Spacing.Large,"px"),lineHeight:"".concat(d.Spacing.xxLarge-d.Spacing.Small,"px"),color:d.StandardColors.ColorDarkGray05,marginBottom:d.Spacing.xxLarge,whiteSpace:"pre-line"})),button:"".concat(d.ButtonStyles.Primary," ").concat((0,o.style)({display:"flex",alignItems:"center",height:d.Spacing.xxxLarge+d.Spacing.Small,columnGap:d.Spacing.Small,paddingInline:d.Spacing.Large+d.Spacing.Micro,paddingBlock:d.Spacing.Medium,flexDirection:"row"}))};var eG=n(92441);function eO(e){let{completedCount:t}=e;switch(t){case 0:return(0,a.jsx)(ez,{});case 1:return(0,a.jsx)(e$,{});case 2:return(0,a.jsx)(eU,{});case 3:return(0,a.jsx)(e_,{});case 4:return(0,a.jsx)(eq,{});case 5:return(0,a.jsx)(eQ,{});case 6:return(0,a.jsx)(eK,{});default:throw Error("Invalid progress: ".concat(t))}}function ez(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Progress0","data-sentry-source-file":"Progress.tsx",children:[(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"})]})}function e$(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Progress1","data-sentry-source-file":"Progress.tsx",children:[(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M15.5001 2.00879C10.7059 2.17706 6.5248 4.75595 4.13184 8.57056L6.73246 10.072C8.60354 7.1529 11.8161 5.17598 15.5001 5.01119V2.00879Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"})]})}function eU(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Progress2","data-sentry-source-file":"Progress.tsx",children:[(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.7
15595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"})]})}function e_(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Progress3","data-sentry-source-file":"Progress.tsx",children:[(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.7
15595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"})]})}function eq(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Progress4","data-sentry-source-file":"Progress.tsx",children:[(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"})]})}function eQ(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Progress5","data-sentry-source-file":"Progress.tsx",children:[(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3
1691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"})]})}function eK(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Progress6","data-sentry-source-file":"Progress.tsx",children:[(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.75595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"#15141A",fillOpacity:"0.16","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M15.5 2.00879C10.7058 2.17706 6.52473 4.7
15595 4.13176 8.57056L6.73238 10.072C8.60347 7.1529 11.816 5.17598 15.5 5.01119V2.00879Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.2676 10.0721C23.3966 7.15295 20.1841 5.17602 16.5 5.01119V2.00879C21.2943 2.1771 25.4753 4.756 27.8683 8.5706L25.2676 10.0721Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M25.7684 21.0625C26.5553 19.5471 27 17.8255 27 16C27 14.1746 26.5553 12.453 25.7684 10.9376L28.3691 9.43617C29.4101 11.3939 30 13.6281 30 16C30 18.372 29.4101 20.6062 28.369 22.564L25.7684 21.0625Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M16.5 26.9889C20.184 26.824 23.3965 24.8471 25.2676 21.928L27.8682 23.4295C25.4753 27.2441 21.2943 29.823 16.5 29.9913V26.9889Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.73242 21.9281C8.60352 24.8472 11.816 26.8241 15.5 26.9889V29.9913C10.7058 29.823 6.52478 27.2441 4.1318 23.4296L6.73242 21.9281Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"}),(0,a.jsx)("path",{d:"M6.23159 10.9376C5.44466 12.4529 5 14.1746 5 16C5 17.8255 5.44468 19.5472 6.23162 21.0625L3.631 22.564C2.5899 20.6063 2 18.372 2 16C2 13.6281 2.58989 11.3939 3.63096 9.43613L6.23159 10.9376Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Progress.tsx"})]})}var eY=n(89762);function eX(e){let t=c.D.views.designer.quickStart.quickStartCompleteDialog,{websiteSettings:n,setWebsiteSettings:o}=(0,j.Hb)();return(0,a.jsxs)(_.A,{className:eJ.container,...e,centered:!0,backdrop:"static","data-sentry-element":"Modal","data-sentry-component":"QuickStartCompleteDialog","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:[(0,a.jsx)(eg.v,{"data-sentry-element":"SoloModalConfetti","data-sentry-source-file":"QuickStartCompleteDialog.tsx"}),(0,a.jsx)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.VerticallyCenter," flex-column"),"data-sentry-element":"Container","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:[(0,a.jsx)(L.A,{className:"icon","data-sentry-element":"Row","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)(eY.N,{"data-sentry-element":"Confetti","data-sentry-source-file":"QuickStartCompleteDialog.tsx"})})}),(0,a.jsx)(L.A,{className:"heading","data-sentry-element":"Row","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)("h4",{children:t.title})})}),(0,a.jsx)(L.A,{className:"description","data-sentry-element":"Row","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)("div",{children:t.description})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.quickStart.doNotShowAgain,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.PrimarySmall," button"),onClick:()=>{let t=n.quickStartTasks||{};t.doNotShow=!0,n.quickStartTasks=t,o({...n}),e.onClosed&&e.onClosed()},"data-sentry-element":"Button","data-sentry-source-file":"QuickStartCompleteDialog.tsx",children:t.close})})})})]})})]})}let eJ={container:(0,o.style)({width:438,$nest:{h4:{fontWeight:600},".modal-body":{paddingInline:u.Spacing.xLarge,paddingBlock:2*u.Spacing.xLarge,$nest:{".button":{paddingBlock:u.Spacing.Small-1},".description":{marginBottom:u.Spacing.xxLarge},".heading":{marginBottom:u.Spacing.Small},".icon":{color:d.Colors.Primary,marginBottom:u.Spacing.Small}}}}})};function e1(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AddNewSection","data-sentry-source-file":"AddNewSection.tsx",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_13531_2290)","data-sentry-element":"g","data-sentry-source-file":"AddNewSection.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16667 1.66659C4.16667 1.20635 3.79357 0.833252 3.33333 0.833252C2.8731 0.833252 2.5 1.20635 2.5 1.66659V3.33325H0.833333C0.373096 3.33325 0 3.70635 0 4.16659C0 4.62682 0.373096 4.99992 0.833333 4.99992H2.5V6.66658C2.5 7.12682 2.8731 7.49992 3.33333 7.49992C3.79357 7.49992 4.16667 7.12682 4.16667 6.66658V4.99992H5.83333C6.29357 4.99992 6.66667 4.62682 6.66667 4.16659C6.66667 3.70635 6.29357 3.33325 5.83333 3.33325H4.16667V1.66659ZM18.3333 19.9999C17.8731 19.9999 17.5 19.6268 17.5 19.1666V17.9166C17.5 17.6865 17.3135 17.4999 17.0833 17.4999L2.91667 17.4999C2.68655 17.4999 2.5 17.6865 2.5 17.9166L2.5 19.1666C2.5 19.6268 2.1269 19.9999 1.66667 19.9999C1.20643 19.9999 0.833332 19.6268 0.833332 19.1666L0.833332 17.9166C0.833332 16.766 1.76607 15.8333 2.91666 15.8333L17.0833 15.8333C18.2339 15.8333 19.1667 16.766 19.1667 17.9166V19.1666C19.1667 19.6268 18.7936 19.9999 18.3333 19.9999ZM8.33333 4.16659C8.33333 3.70635 8.70643 3.33325 9.16667 3.33325L17.0833 3.33325C18.235 3.33326 19.1667 4.26837 19.1667 5.41786V12.082C19.1667 13.2315 18.235 14.1666 17.0833 14.1666L2.91666 14.1666C1.76607 14.1666 0.833332 13.2338 0.833332 12.0833L0.833333 9.99992C0.833333 9.53968 1.20643 9.16659 1.66667 9.16659C2.1269 9.16659 2.5 9.53968 2.5 9.99992L2.5 12.0833C2.5 12.3134 2.68655 12.4999 2.91666 12.4999L17.0833 12.4999C1
17.3123 12.4999 17.5 12.3132 17.5 12.082L17.5 5.41786C17.5 5.18664 17.3123 4.99992 17.0833 4.99992L9.16667 4.99992C8.70643 4.99992 8.33333 4.62682 8.33333 4.16659Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddNewSection.tsx"})}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"AddNewSection.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_13531_2290","data-sentry-element":"clipPath","data-sentry-source-file":"AddNewSection.tsx",children:(0,a.jsx)("rect",{width:"20",height:"20",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"AddNewSection.tsx"})})})]})}function e0(e){let t=c.D.components.successModals.reviewSectionAddedDisclaimer,{onConfirm:n,...o}=e,r=[{...t.disclaimers.checkContent,icon:(0,a.jsx)(eh,{})}];return(0,a.jsx)(ey,{title:t.title,disclaimers:r,onConfirm:n,confirmText:t.confirmText,...o,"data-sentry-element":"SuccessWithDisclaimersModal","data-sentry-component":"ReviewsSectionAddedDisclaimerModal","data-sentry-source-file":"ReviewsSectionAddedDisclaimerModal.tsx"})}function e3(){return(0,a.jsxs)("svg",{width:"49",height:"48",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AddContent","data-sentry-source-file":"AddContent.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.2981 33.9845C28.15 34.1326 28.0522 34.3233 28.0183 34.5299L27.1865 39.6043C27.1344 39.9221 27.2386 40.2455 27.4662 40.4732C27.6939 40.7009 28.0173 40.805 28.3351 40.7529L33.4096 39.9211C33.6161 39.8872 33.8069 39.7894 33.9549 39.6414L46.1198 27.4766C47.2913 26.305 47.2913 24.4055 46.1198 23.2339L44.7056 21.8197C43.534 20.6481 41.6345 20.6481 40.4629 21.8197L28.2981 33.9845ZM29.3854 38.5541L29.9399 35.1711L39.7708 25.3402L42.5992 28.1687L32.7683 37.9995L29.3854 38.5541ZM44.0134 26.7544L44.7056 26.0623C45.0961 25.6718 45.0961 25.0386 44.7056 24.6481L43.2913 23.2339C42.9008 22.8434 42.2676 22.8434 41.8771 23.2339L41.185 23.926L44.0134 26.7544Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddContent.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.93945 32C2.93945 31.4477 3.38717 31 3.93945 31H21.9395C22.4917 31 22.9395 31.4477 22.9395 32C22.9395 32.5523 22.4917 33 21.9395 33H3.93945C3.38717 33 2.93945 32.5523 2.93945 32ZM2.93945 36C2.93945 35.4477 3.38717 35 3.93945 35H21.9395C22.4917 35 22.9395 35.4477 22.9395 36C22.9395 36.5523 22.4917 37 21.9395 37H3.93945C3.38717 37 2.93945 36.5523 2.93945 36ZM2.93945 40C2.93945 39.4477 3.38717 39 3.93945 39H16.6061C17.1584 39 17.6061 39.4477 17.6061 40C17.6061 40.5523 17.1584 41 16.6061 41H3.93945C3.38717 41 2.93945 40.5523 2.93945 40Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddContent.tsx"}),(0,a.jsx)("path",{d:"M7.12855 23H18.8233C19.0347 23 19.1507 22.754 19.0162 22.591L16.1323 19.0933C16.0323 18.972 15.8465 18.972 15.7465 19.0933L13.9922 21.221L11.1447 17.1235C11.0453 16.9804 10.8336 16.9804 10.7341 17.1235L6.92325 22.6073C6.80805 22.7731 6.92668 23 7.12855 23Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddContent.tsx"}),(0,a.jsx)("path",{d:"M15.4395 16C16.2679 16 16.9395 15.3284 16.9395 14.5C16.9395 13.6716 16.2679 13 15.4395 13C14.611 13 13.9395 13.6716 13.9395 14.5C13.9395 15.3284 14.611 16 15.4395 16Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddContent.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.9529 24.6154C22.9529 25.9324 21.8853 27 20.5683 27H5.3375C4.02051 27 2.95288 25.9324 2.95288 24.6154V9.38462C2.95288 8.06763 4.02051 7 5.3375 7H20.5683C21.8853 7 22.9529 8.06763 22.9529 9.38462V24.6154ZM20.5683 25C20.7807 25 20.9529 24.8278 20.9529 24.6154V9.38462C20.9529 9.1722 20.7807 9 20.5683 9H5.3375C5.12508 9 4.95288 9.1722 4.95288 9.38462V24.6154C4.95288 24.8278 5.12508 25 5.3375 25H20.5683Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddContent.tsx"})]})}function e2(e){let t=c.D.components.successModals.teamSectionAddedModal,{onConfirm:n,...o}=e,r=[{...t.disclaimers.checkContent,icon:(0,a.jsx)(e3,{})}];return(0,a.jsx)(ey,{title:t.title,disclaimers:r,onConfirm:n,confirmText:t.confirmText,...o,"data-sentry-element":"SuccessWithDisclaimersModal","data-sentry-component":"TeamsSectionAddedModal","data-sentry-source-file":"TeamsSectionAddedModal.tsx"})}var e6=n(6515),e5=n(58255),e4=n(12688);function e7(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Article","data-sentry-source-file":"Article.tsx",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_13868_91926)","data-sentry-element":"g","data-sentry-source-file":"Article.tsx",children:[(0,a.jsx)("rect",{width:"120",height:"72",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M31 72.5L87 72.5",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M51 28.1223L91 28.1223",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M27 34.1223L91 34.1223",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M27 40.1223L91 40.1223",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M27 46.1223L43 46.1223",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M27 52.1223L91 52.1223",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M27 58.1223L91 58.1223",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M31 72L87 72",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M41.2067 29.0425C39.646 29.0425 38.4688 28.1902 38.4688 26.5815C38.4688 24.7385 39.9869 24.2644 41.5742 24.094C43.0178 23.9395 43.5984 23.9129 43.5984 23.3589V23.3269C43.5984 22.5226 43.1083 22.0645 42.2134 22.0645C41.2706 22.0645 40.7273 22.5439 40.5355 23.1032L38.7351 22.8475C39.1612 21.356 40.4822 20.589 42.2028 20.589
1C43.7635 20.589 45.5266 21.2388 45.5266 23.4015V28.8773H43.6729V27.7534H43.609C43.2575 28.4406 42.4904 29.0425 41.2067 29.0425ZM41.7074 27.6256C42.8686 27.6256 43.6037 26.8532 43.6037 25.9423V24.9782C43.3533 25.1806 42.3413 25.3084 41.8352 25.3777C40.9723 25.5002 40.3278 25.8092 40.3278 26.5496C40.3278 27.258 40.9031 27.6256 41.7074 27.6256Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("path",{d:"M29.4844 28.8774H27.375L31.2156 17.9683H33.6552L37.5011 28.8774H35.3917L34.4862 26.1874H30.3846L29.4844 28.8774ZM30.9173 24.6H33.9535L32.478 20.2055H32.3928L30.9173 24.6Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Article.tsx"})]}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Article.tsx"}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"Article.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_13868_91926","data-sentry-element":"clipPath","data-sentry-source-file":"Article.tsx",children:(0,a.jsx)("rect",{width:"120",height:"72",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Article.tsx"})})})]})}function e9(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BlogFeed","data-sentry-source-file":"BlogFeed.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("rect",{x:"66.75",y:"40.75",width:"40.5",height:"22.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("rect",{x:"66.75",y:"10.75",width:"40.5",height:"22.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M89.585 58L93.585 55L100.585 60L101.051 60.7887L103.534 62.8978",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M71 62.9943L74.7121 60.4633H76.0257L84.585 52.6053L92.5853 59.933H93.8267L98.1787 63.375",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("circle",{cx:"91.085",cy:"48.5",r:"2.75",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M89.585 28L93.585 25L100.585 30L101.051 30.7887L103.534 32.8978",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M71 32.9943L74.7121 30.4633H76.0257L84.585 22.6053L92.5853 29.933H93.8267L98.1787 33.375",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("circle",{cx:"91.085",cy:"18.5",r:"2.75",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M12 47H24",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M12 53H54",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M12 59H54",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M12 17H24",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M12 23H54",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"}),(0,a.jsx)("path",{d:"M12 29H54",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"BlogFeed.tsx"})]})}function e8(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"CodeEmbed","data-sentry-source-file":"CodeEmbed.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M12 12H26",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M30 12H44",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M48 12H54",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M58 12H71.6667",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}
1),(0,a.jsx)("path",{d:"M75.6641 12H89.3307",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M93.3359 12H107.003",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M12 20H20.1667",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M24.1641 20H46.1641",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M50.1641 20H58.3307",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M62.3359 20H70.5026",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M74.5 20H82.6667",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M86.6641 20H94.8307",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M98.8359 20H107.003",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M12 28H19",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M23 28H30",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M34 28H41",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M78 28H85",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M89 28H96",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M100 28H107",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M12 36H22",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M26 36H36",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}
1),(0,a.jsx)("path",{d:"M82 36H92.5",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M96.5 36H107",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M12 44H18.8333",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M22.8359 44H29.6693",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M33.6641 44H40.4974",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M78.5 44H85.3333",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M89.3359 44H96.1693",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M100.164 44H106.997",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M12 52H23.8",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M27.7969 52L43.7969 52",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M47.7969 52H59.5969",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M63.6016 52H75.4016",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M79.3984 52H91.1984",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M95.2031 52H107.003",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M12 60H27.75",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M31.75 60H47.75",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M51.75 60H67.5",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M71.5 60H87.25",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M52.124 42.9839L45.1307 36.0586L52.124 29.1333",stroke:"#32313C",strokeWidth:"1.5",strokeLinecap:"square","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M67.2745 42.9756L74.2677 36.0503L67.2745 29.125",stroke:"#32313C",strokeWidth:"1.5",strokeLinecap:"square","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"}),(0,a.jsx)("path",{d:"M62 26.9375L58 45.0625",stroke:"#32313C",strokeWidth:"1.5",strokeLinecap:"square","data-sentry-element":"path","data-sentry-source-file":"CodeEmbed.tsx"})]})}function te(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Contact","data-sentry-source-file":"Contact.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("rect",{x:"36.75",y:"10.75",width:"46.5",height:"8.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("rect",{x:"36.75",y:"22.75",width:"46.5",height:"8.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("rect",{x:"36.75",y:"34.75",width:"46.5",height:"14.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("path",{d:"M40 15H48",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("path",{d:"M40 27H48",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("path",{d:"M40 39H48",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("rect",{x:"36.75",y:"54.75",width:"22.5",height:"6.5",rx:"3.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("path",{d:"M86.5 58H85.7778H64",stroke:"#9F9FAD",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("path",{d:"M88.8606 57.8593C88.9378 57.9372 88.9378 58.0628 88.8606 58.1407L85.053 61.9848C84.9273 62.1117 84.7109 62.0227 84.7109 61.844L84.7109 54.156C84.7109 53.9773 84.9273 53.8883 85.053 54.0152L88.8606 57.8593Z",fill:"#9F9FAD","data-sentry-element":"path","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("rect",{x:"92.75",y:"44.75",width:"26.5",height:"26.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Contact.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M100.667 52.6666C99.5624 52.6666 98.667 53.5621 98.667 54.6666V61.3333C98.667 62.4379 99.5624 63.3333 100.667 63.3333H111.334C112.438 63.3333 113.334 62.4379 113.334 61.3333V54.6666C113.334 53.5621 112.438 52.6666 111.334 52.6666H100.667ZM100 54.6666C100 54.2984 100.299 54 100.667 54H111.334C111.702 54 112 54.2984 112 54.6666V55.2069L106 57.9343L100 55.207V54.6666ZM100 56.6716V61.3333C100 61.7015 100.299 62 100.667 62H111.334C111.702 62 112 61.7015 112 61.3333V56.6715L106.276 59.2735C106.1 59.3532 105.899 59.3532 105.724 59.2735L100 56.6716Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Contact.tsx"})]})}function tt(){return(0,a.jsxs)("svg",{width:"121",height:"72",viewBox:"0 0 121 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"CustomerReviews","data-sentry-source-file":"CustomerReviews.tsx",children:[(0,a.jsx)("rect",{x:"0.772461",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("rect",{x:"0.772461",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("path",{d:"M15.5152 40.4853L11.2725 36.2427L15.5152 32",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"}
1),(0,a.jsx)("path",{d:"M105.515 32L109.758 36.2427L105.515 40.4853",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("path",{d:"M45.2725 25.3999L87.2725 25.3999",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("path",{d:"M31.2725 31.3999L87.2725 31.3999",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("path",{d:"M31.2725 37.3999L87.2725 37.3999",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("path",{d:"M31.2725 43.3999L87.2725 43.3999",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("path",{d:"M46.2725 53.3999H72.2725",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"}),(0,a.jsx)("path",{d:"M40.8275 18.78L38.8135 22.504H40.7135V26.152H36.9135V22.504L39.0035 18.78H40.8275ZM31.2135 26.152V22.504L33.3035 18.78H35.1275L33.1135 22.504H35.0135V26.152H31.2135Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"CustomerReviews.tsx"})]})}function tn(){return(0,a.jsxs)("svg",{width:"121",height:"72",viewBox:"0 0 121 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"FAQ","data-sentry-source-file":"FAQ.tsx",children:[(0,a.jsx)("rect",{x:"1.43945",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("rect",{x:"1.43945",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M12.9395 15H108.939",stroke:"#CFCFD8","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M12.9395 30H108.939",stroke:"#CFCFD8","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M12.9395 44H108.939",stroke:"#CFCFD8","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M12.9395 58H108.939",stroke:"#CFCFD8","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M107.242 20.7677L104.475 23.5354L101.707 20.7677",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M107.242 35.7677L104.475 38.5354L101.707 35.7677",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M107.242 49.7677L104.475 52.5354L101.707 49.7677",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M24.1895 22.5H64.4395",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M24.1895 37H64.4395",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M24.1895 51H64.4395",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M17.0332 52.6016V52.4687C17.0371 51.1016 17.4043 50.6836 18.0605 50.2695C18.541 49.9648 18.9121 49.625 18.9121 49.1133C18.9121 48.5703 18.4863 48.2187 17.959 48.2187C17.4473 48.2187 16.9746 48.5586 16.9512 49.1953H15.3574C15.3926 47.6328 16.5488 46.8906 17.9668 46.8906C19.5176 46.8906 20.6191 47.6875 20.6191 49.0547C20.6191 49.9727 20.1426 50.5469 19.4121 50.9805C18.7949 51.3516 18.5215 51.707 18.5137 52.4687V52.6016H17.0332ZM17.8027 55.1016C17.2871 55.1016 16.8613 54.6836 16.8652 54.1641C16.8613 53.6523 17.2871 53.2344 17.8027 53.2344C18.3027 53.2344 18.7363 53.6523 18.7402 54.1641C18.7363 54.6836 18.3027 55.1016 17.8027 55.1016Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M17.0332 38.6016V38.4687C17.0371 37.1016 17.4043 36.6836 18.0605 36.2695C18.541 35.9648 18.9121 35.625 18.9121 35.1133C18.9121 34.5703 18.4863 34.2187 17.959 34.2187C17.4473 34.2187 16.9746 34.5586 16.9512 35.1953H15.3574C15.3926 33.6328 16.5488 32.8906 17.9668 32.8906C19.5176 32.8906 20.6191 33.6875 20.6191 35.0547C20.6191 35.9727 20.1426 36.5469 19.4121 36.9805C18.7949 37.3516 18.5215 37.707 18.5137 38.4687V38.6016H17.0332ZM17.8027 41.1016C17.2871 41.1016 16.8613 40.6836 16.8652 40.1641C16.8613 39.6523 17.2871 39.2344 17.8027 39.2344C18.3
1027 39.2344 18.7363 39.6523 18.7402 40.1641C18.7363 40.6836 18.3027 41.1016 17.8027 41.1016Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"}),(0,a.jsx)("path",{d:"M17.0332 24.1016V23.9687C17.0371 22.6016 17.4043 22.1836 18.0605 21.7695C18.541 21.4648 18.9121 21.125 18.9121 20.6133C18.9121 20.0703 18.4863 19.7187 17.959 19.7187C17.4473 19.7187 16.9746 20.0586 16.9512 20.6953H15.3574C15.3926 19.1328 16.5488 18.3906 17.9668 18.3906C19.5176 18.3906 20.6191 19.1875 20.6191 20.5547C20.6191 21.4727 20.1426 22.0469 19.4121 22.4805C18.7949 22.8516 18.5215 23.207 18.5137 23.9687V24.1016H17.0332ZM17.8027 26.6016C17.2871 26.6016 16.8613 26.1836 16.8652 25.6641C16.8613 25.1523 17.2871 24.7344 17.8027 24.7344C18.3027 24.7344 18.7363 25.1523 18.7402 25.6641C18.7363 26.1836 18.3027 26.6016 17.8027 26.6016Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"FAQ.tsx"})]})}function ta(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Gallery","data-sentry-source-file":"Gallery.tsx",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_10022_23323)","data-sentry-element":"g","data-sentry-source-file":"Gallery.tsx",children:[(0,a.jsx)("rect",{width:"120",height:"72",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("path",{d:"M13.2427 40.4853L9.00007 36.2427L13.2427 32",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("path",{d:"M107.243 32L111.485 36.2427L107.243 40.4853",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("rect",{x:"28.75",y:"12.75",width:"62.5",height:"46.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("rect",{x:"96.5",y:"12.5",width:"71",height:"47",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("rect",{x:"-47.5",y:"12.5",width:"71",height:"47",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip1_10022_23323)","data-sentry-element":"g","data-sentry-source-file":"Gallery.tsx",children:[(0,a.jsx)("path",{d:"M62.75 50.375L65.3993 48.0727L69.9421 42.6993L73.8099 45.5807L77.0547 47.0084L84.2192 55.2372H86.8669L92.2144 59.78",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("path",{d:"M90.9172 60.5068L87.5426 61L85.2063 60.1693L81.676 56.6909H78.5091L71.682 46.0999L69.9688 42.7512",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("path",{d:"M17.3125 58.9876L25.3077 53.5363H28.1372L35.3276 47.4361L40.8049 42.1925L43.6084 39.2852L45.9965 36.6115L50.5393 40.0899L54.3551 41.907L62.9474 51.5894L63.804 52.3942H66.4777L76.5 62",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("path",{d:"M68.1128 59.351H63.9075L59.9619 54.8862H57.5997L52.6935 47.4621H49.89L45.9443 36.6115",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsx)("circle",{cx:"67",cy:"30",r:"5.25",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Gallery.tsx"})]})]}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Gallery.tsx"}),(0,a.jsxs)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"Gallery.tsx",children:[(0,a.jsx)("clipPath",{id:"clip0_10022_23323","data-sentry-element":"clipPath","data-sentry-source-file":"Gallery.tsx",children:(0,a.jsx)("rect",{width:"120",height:"72",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Gallery.tsx"})}),(0,a.jsx)("clipPath",{id:"clip1_10022_23323","data-sentry-element":"clipPath","data-sentry-source-file":"Gallery.tsx",children:(0,a.jsx)("rect",{width:"62",height:"45",fill:"white",transform:"translate(29 14)","data-sentry-element":"rect","data-sentry-source-file":"Gallery.tsx"})})]})]})}function to(){return(0,a.jsxs)("svg",{width:"121",height:"72",viewBox:"0 0 121 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImageBanner","data-sentry-source-file":"ImageBanner.tsx",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_10048_8980)","data-sentry-element":"g","data-sentry-source-file":"ImageBanner.tsx",children:[(0,a.jsx)("rect",{x:"0.605469",width:"120",height:"72",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"ImageBanner.tsx"}),(0,a.jsx)("circle",{cx:"73.8555",cy:"27.75",r:"6.25",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"ImageBanner.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip1_10048_8980)","data-sentry-element":"g","data-sentry-source-file":"ImageBanner.tsx",children:[(0,a.jsx)("path",{d:"M70.6367 51.0312L77.1367 44.5625L82.6055 38.0938L87.2617 41.5625L91.168 43.2812L99.793 53.1875H102.98L109.418 58.6562",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"ImageBanner.tsx"}),(0,a.jsx)("path",{d:"M107.855 59.5312L103.793 60.125L100.98 59.125L96.7305 54.9375H92.918L84.6992 42.1875L82.6367 38.1562",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"ImageBanner.tsx"}),(0,a.jsx)("path",{d:"M13.6367 58.9062L23.2617 52.3438H26.668L35.3242 45L41.918 38.6875L45.293 35.1875L48.168 31.9688L53.6367 36.1562L58.2305 38.3438L68.5742 50L69.6055 50.9688H72.8242L82.9492 58.625",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"ImageBanner.tsx"}),(0,a.jsx)("path",{d:"M74.793 59.3438H69.7305L64.9805 53.9688H62.1367L56.2305 45.0312H52.8555L48.1055 31.9688",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"ImageBanner.tsx"})]}),(0,a.jsx)("path",{d:"M0.605469 58H120.605",stroke:"#CFCFD8","data-sentry-element":"path","data-sentry-source-file":"ImageBanner.tsx"}),(0,a.jsx)("path",{d:"M0.605469 14H120.605",stroke:"#CFCFD8","data-sentry-element":"path","data-sentry-source-file":"ImageBanner.tsx"})]}),(0,a.jsx)("rect",{x:"1.10547",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"ImageBanner.tsx"}),(0,a.jsxs)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"ImageBanner.tsx",children:[(0,a.jsx)("clipPath",{id:"clip0_10048_8980","data-sentry-element":"clipPath","data-sentry-source-file":"ImageBanner.tsx",children:(0,a.jsx)("rect",{x:"0.605469",width:"120",height:"72",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"ImageBanner.tsx"})}),(0,a.jsx)("clipPath",{id:"clip1_10048_8980","data-sentry-element":"clipPath","data-sentry-source-file":"ImageBanner.tsx",children:(0,a.jsx)("rect",{width:"114",height:"37",fill:"white",transform:"translate(3.60547 21)","data-sentry-element":"rect","data-sentry-source-file":"ImageBanner.tsx"})})]})]})}function tr(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Introduction","data-sentry-source-file":"Introduction.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("rect",{x:"12.75",y:"14.75",width:"42.5",height:"42.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_10022_23307)","data-sentry-element":"g","data-sentry-source-file":"Introduction.tsx",children:[(0,a.jsx)("path",{d:"M36.75 48.375L39.3993 46.0727L43.9421 40.6993L47.8099 43.5807L51.0547 45.0084L58.2192 53.2372H60.8669L66.2144 57.78",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("path",{d:"M64.9172 58.5068L61.5426 59L59.2063 58.1693L55.6669 53.5H52.5L45.682 44.0999L43.9688 40.7512",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Introduction.tsx"}
1),(0,a.jsx)("path",{d:"M-6.6875 57.9876L1.30769 52.5363H4.13715L11.3276 46.4361L16.8049 41.1925L19.6084 38.2852L21.9965 35.6115L26.5393 39.0899L30.3551 40.907L38.9474 50.5894L39.804 51.3942H42.4777L50.8882 57.754",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("path",{d:"M44.1128 58.351H39.9075L35.9619 53.8862H33.5997L28.6935 46.4621H25.89L21.9443 35.6115",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("circle",{cx:"40",cy:"28",r:"5.25",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Introduction.tsx"})]}),(0,a.jsx)("path",{d:"M64 25H108",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("path",{d:"M64 31H108",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("path",{d:"M64 37L92 37",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("rect",{x:"64.75",y:"44.75",width:"22.5",height:"6.5",rx:"3.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Introduction.tsx"}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"Introduction.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_10022_23307","data-sentry-element":"clipPath","data-sentry-source-file":"Introduction.tsx",children:(0,a.jsx)("rect",{width:"44",height:"44",fill:"white",transform:"translate(12 14)","data-sentry-element":"rect","data-sentry-source-file":"Introduction.tsx"})})})]})}function ts(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Logos","data-sentry-source-file":"Logos.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("rect",{x:"14.375",y:"14.375",width:"27.25",height:"19.25",rx:"1.625",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("rect",{x:"30.375",y:"38.375",width:"27.25",height:"19.25",rx:"1.625",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("rect",{x:"46.375",y:"14.375",width:"27.25",height:"19.25",rx:"1.625",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("rect",{x:"62.375",y:"38.375",width:"27.25",height:"19.25",rx:"1.625",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("rect",{x:"78.375",y:"14.375",width:"27.25",height:"19.25",rx:"1.625",stroke:"#CFCFD8",strokeWidth:"0.75","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("path",{d:"M26.2492 19.7812L31.6077 28.2188H20.8906L26.2492 19.7812Z",stroke:"#32313C",strokeWidth:"1.5",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("path",{d:"M29.7492 19.7812L35.1077 28.2188H24.3906L29.7492 19.7812Z",stroke:"#32313C",strokeWidth:"1.5",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("circle",{cx:"44",cy:"48",r:"4.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("rect",{x:"55.75",y:"19.75",width:"8.5",height:"8.5",rx:"0.75",stroke:"#32313C",strokeWidth:"1.5",strokeLinejoin:"round","data-sentry-element":"rect","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("path",{d:"M92 19.375L93.3538 22.1366L96.3986 22.5708L94.1905 24.7117L94.7185 27.7417L92 26.3033L89.2815 27.7417L89.8095 24.7117L87.6014 22.5708L90.6462 22.1366L92 19.375Z",fill:"white",stroke:"#32313C",strokeWidth:"1.5",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("path",{d:"M78.6726 44.125L80.6934 47.625C80.8273 47.8571 80.8273 48.143 80.6934 48.375L78.6726 51.875C78.5387 52.1071 78.2911 52.25 78.0231 52.25H73.9817C73.7137 52.25 73.4661 52.1071 73.3321 51.875L71.3114 48.375C71.1774 48.143 71.1774 47.8571 71.3114 47.625L73.3321 44.125C73.4661 43.8929 73.7137 43.75 73.9817 43.75L78.0231 43.75C78.2911 43.75 78.5387 43.8929 78.6726 44.125Z",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Logos.tsx"}),(0,a.jsx)("path",{d:"M73.6094 52.1407L78.1875 44.2112",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Logos.tsx"})]})}function ti(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Newsletter","data-sentry-source-file":"Newsletter.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("rect",{x:"48.75",y:"40.75",width:"22.5",height:"6.5",rx:"3.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Newsletter.tsx"}
1),(0,a.jsx)("rect",{x:"36.75",y:"26.75",width:"46.5",height:"8.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("path",{d:"M40 31H48",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("path",{d:"M48 20L72 20",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("rect",{x:"92.75",y:"44.75",width:"26.5",height:"26.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M100.667 52.6666C99.5624 52.6666 98.667 53.5621 98.667 54.6666V61.3333C98.667 62.4379 99.5624 63.3333 100.667 63.3333H111.334C112.438 63.3333 113.334 62.4379 113.334 61.3333V54.6666C113.334 53.5621 112.438 52.6666 111.334 52.6666H100.667ZM100 54.6666C100 54.2984 100.299 54 100.667 54H111.334C111.702 54 112 54.2984 112 54.6666V55.2069L106 57.9343L100 55.207V54.6666ZM100 56.6716V61.3333C100 61.7015 100.299 62 100.667 62H111.334C111.702 62 112 61.7015 112 61.3333V56.6715L106.276 59.2735C106.1 59.3532 105.899 59.3532 105.724 59.2735L100 56.6716Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("path",{d:"M86.5 58H85.7778H62C60.8954 58 60 57.1046 60 56V52",stroke:"#9F9FAD",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Newsletter.tsx"}),(0,a.jsx)("path",{d:"M85.2109 54.8852L88.2962 58L85.2109 61.1148L85.2109 54.8852Z",fill:"#9F9FAD",stroke:"#9F9FAD","data-sentry-element":"path","data-sentry-source-file":"Newsletter.tsx"})]})}function tl(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Scheduling","data-sentry-source-file":"Scheduling.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"63",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"63",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M24.743 26.5H22.6337L26.4742 15.5909H28.9138L32.7597 26.5H30.6503L29.7448 23.81H25.6432L24.743 26.5ZM26.1759 22.2227H29.2121L27.7366 17.8281H27.6514L26.1759 22.2227ZM36.4658 26.6651C34.9051 26.6651 33.7278 25.8129 33.7278 24.2042C33.7278 22.3612 35.246 21.8871 36.8333 21.7166C38.2769 21.5621 38.8575 21.5355 38.8575 20.9815V20.9496C38.8575 20.1452 38.3674 19.6871 37.4725 19.6871C36.5297 19.6871 35.9864 20.1665 35.7946 20.7259L33.9942 20.4702C34.4203 18.9787 35.7413 18.2116 37.4619 18.2116C39.0226 18.2116 40.7857 18.8615 40.7857 21.0241V26.5H38.932V25.3761H38.8681C38.5166 26.0632 37.7495 26.6651 36.4658 26.6651ZM36.9665 25.2482C38.1277 25.2482 38.8628 24.4759 38.8628 23.565V22.6009C38.6124 22.8033 37.6004 22.9311 37.0943 23.0004C36.2314 23.1229 35.5869 23.4318 35.5869 24.1722C35.5869 24.8807 36.1622 25.2482 36.9665 25.2482Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M16 33.5H48",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M16 39.5H48",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M16 45.5H48",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("rect",{x:"23.75",y:"52.25",width:"16.5",height:"6.5",rx:"3.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("rect",{x:"56.75",y:"0.75",width:"62.5",height:"38.5",rx:"1.25",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("rect",{x:"56.75",y:"0.75",width:"62.5",height:"38.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M69.667 12.6667C69.667 12.2985 69.3685 12 69.0003 12C68.6321 12 68.3337 12.2985 68.3337 12.6667L68.3337 13.3333H67.0003C66.2639 13.3333 65.667 13.9303 65.667 14.6667V25.3333C65.667 26.0697 66.2639 26.6667 67.0003 26.6667H79.0003C79.7367 26.6667 80.3337 26.0697 80.3337 25.3333V14.6667C80.3337 13.9303 79.7367 13.3333 79.0003 13.3333H77.667V12.6667C77.667 12.2985 77.3685 12 77.0003 12C76.6321 12 76.3337 12.2985 76.3337 12.6667V13.3333H69.667V12.6667ZM67.0003 16.6667H79.0003V25.3333H67.0003V16.6667ZM73.917 20C73.7789 20 73.667 20.1119 73.667 20.25V23.75C73.667 23.8881 73.7789 24 73.917 24H77.417C77.5551 24 77.667 23.8881 77.667 23.75V20.25C77.667 20.1119 77.5551 20 77.417 20H73.917Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M91 8.25L85 31.75",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M102.334 20.2761L103.862 21.8047C104.123 22.065 104.545 22.065 104.805 21.8047C105.065 21.5443 105.065 21.1222 104.805 20.8619L103.667 19.7238V16.6666C103.667 16.2984 103.369 16 103 16C102.632 16 102.334 16.2984 102.334 16.6666V20.2761Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M110.334 20C110.334 24.05 107.05 27.3333 103 27.3333C98.9502 27.3333 95.667 24.05 95.66
17 20C95.667 15.9499 98.9502 12.6666 103 12.6666C107.05 12.6666 110.334 15.9499 110.334 20ZM109 20C109 23.3137 106.314 26 103 26C99.6866 26 97.0003 23.3137 97.0003 20C97.0003 16.6863 99.6866 14 103 14C106.314 14 109 16.6863 109 20Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M88 46.0625V53.4687C88 54.5733 87.1046 55.4687 86 55.4687H44.9375",stroke:"#9F9FAD",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"}),(0,a.jsx)("path",{d:"M87.8593 42.8894C87.9372 42.8122 88.0628 42.8122 88.1407 42.8894L91.9848 46.697C92.1117 46.8227 92.0227 47.0391 91.844 47.0391H84.156C83.9773 47.0391 83.8883 46.8227 84.0152 46.697L87.8593 42.8894Z",fill:"#9F9FAD","data-sentry-element":"path","data-sentry-source-file":"Scheduling.tsx"})]})}function tc(){return(0,a.jsxs)("svg",{width:"120",height:"72",viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Services","data-sentry-source-file":"Services.tsx",children:[(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("rect",{x:"12.75",y:"15.75",width:"22.5",height:"22.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("rect",{x:"48.75",y:"15.75",width:"22.5",height:"22.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("rect",{x:"84.75",y:"15.75",width:"22.5",height:"22.5",rx:"1.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_10022_23313)","data-sentry-element":"g","data-sentry-source-file":"Services.tsx",children:[(0,a.jsx)("path",{d:"M26 33L30 30L37 35L37.4661 35.7887L39.9489 37.8978",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M7.41504 37.9943L11.1271 35.4633H12.4408L21 27.6053L29.0004 34.933H30.2417L34.5938 38.375",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("circle",{cx:"27.5",cy:"23.5",r:"2.75",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Services.tsx"})]}),(0,a.jsxs)("g",{clipPath:"url(#clip1_10022_23313)","data-sentry-element":"g","data-sentry-source-file":"Services.tsx",children:[(0,a.jsx)("path",{d:"M62 33L66 30L73 35L73.4661 35.7887L75.9489 37.8978",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M43.415 37.9943L47.1271 35.4633H48.4408L57 27.6053L65.0004 34.933H66.2417L70.5938 38.375",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("circle",{cx:"63.5",cy:"23.5",r:"2.75",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Services.tsx"})]}),(0,a.jsxs)("g",{clipPath:"url(#clip2_10022_23313)","data-sentry-element":"g","data-sentry-source-file":"Services.tsx",children:[(0,a.jsx)("path",{d:"M98 33L102 30L109 35L109.466 35.7887L111.949 37.8978",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M79.415 37.9943L83.1271 35.4633H84.4408L93 27.6053L101 34.933H102.242L106.594 38.375",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("circle",{cx:"99.5",cy:"23.5",r:"2.75",fill:"white",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Services.tsx"})]}),(0,a.jsx)("path",{d:"M54 46H66",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M18 46H30",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M92 46H104",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M48 52H72",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M12 52H36",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M86 52H110",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M48 58H72",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M12 58H36",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsx)("path",{d:"M86 58H110",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Services.tsx"}),(0,a.jsxs)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"Services.tsx",children:[(0,a.jsx)("clipPath",{id:"clip0_10022_23313","data-sentry-element":"clipPath","data-sentry-source-file":"Services.tsx",children:(0,a.jsx)("rect",{width:"23",height:"23",fill:"white",transform:"translate(13 16)","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"})}),(0,a.jsx)("clipPath",{id:"clip1_10022_23313","data-sentry-element":"clipPath","data-sentry-source-file":"Services.tsx",children:(0,a.jsx)("rect",{width:"23",height:"23",fill:"white",transform:"translate(49 16)","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"})}),(0,a.jsx)("clipPath",{id:"clip2_10022_23313","data-sentry-element":"clipPath","data-sentry-source-file":"Services.tsx",children:(0,a.jsx)("rect",{width:"23",height:"23",fill:"white",transform:"translate(85 16)","data-sentry-element":"rect","data-sentry-source-file":"Services.tsx"})})]})]})}function td(){return(0,a.jsxs)("svg",{width:"121",height:"72",viewBox:"0 0 121 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Team","data-sentry-source-file":"Team.tsx",children:[(0,a.jsx)("rect",{x:"1.43945",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("rect",{x:"1.43945",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M25.4395 46H41.4395",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M17.4395 52H49.4395",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M17.4395 58H49.4395",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M78.4395 46H94.4395",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M70.4395 52H102.439",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M70.4395 58H102.439",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"}
1),(0,a.jsx)("circle",{cx:"33.9395",cy:"27",r:"11.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("circle",{cx:"86.9395",cy:"27",r:"11.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Team.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_10048_20553)","data-sentry-element":"g","data-sentry-source-file":"Team.tsx",children:[(0,a.jsx)("circle",{cx:"33.9395",cy:"25.5",r:"4.5",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M27.772 35.1623C28.1626 33.4582 29.6789 32.25 31.4273 32.25H36.4516C38.2 32.25 39.7163 33.4582 40.1069 35.1623L41.1381 39.6623C41.6763 42.0107 39.8921 44.25 37.4829 44.25H30.396C27.9868 44.25 26.2026 42.0107 26.7408 39.6623L27.772 35.1623Z",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"})]}),(0,a.jsxs)("g",{clipPath:"url(#clip1_10048_20553)","data-sentry-element":"g","data-sentry-source-file":"Team.tsx",children:[(0,a.jsx)("circle",{cx:"86.9395",cy:"25.5",r:"4.5",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"circle","data-sentry-source-file":"Team.tsx"}),(0,a.jsx)("path",{d:"M80.772 35.1623C81.1626 33.4582 82.6789 32.25 84.4273 32.25H89.4516C91.2 32.25 92.7163 33.4582 93.1069 35.1623L94.1381 39.6623C94.6763 42.0107 92.8921 44.25 90.4829 44.25H83.396C80.9868 44.25 79.2026 42.0107 79.7408 39.6623L80.772 35.1623Z",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Team.tsx"})]}),(0,a.jsxs)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"Team.tsx",children:[(0,a.jsx)("clipPath",{id:"clip0_10048_20553","data-sentry-element":"clipPath","data-sentry-source-file":"Team.tsx",children:(0,a.jsx)("rect",{x:"21.9395",y:"15",width:"24",height:"24",rx:"12",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Team.tsx"})}),(0,a.jsx)("clipPath",{id:"clip1_10048_20553","data-sentry-element":"clipPath","data-sentry-source-file":"Team.tsx",children:(0,a.jsx)("rect",{x:"74.9395",y:"15",width:"24",height:"24",rx:"12",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Team.tsx"})})]})]})}function tp(){return(0,a.jsxs)("svg",{width:"121",height:"72",viewBox:"0 0 121 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TextBanner","data-sentry-source-file":"TextBanner.tsx",children:[(0,a.jsx)("rect",{x:"1.10547",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"TextBanner.tsx"}),(0,a.jsx)("rect",{x:"1.10547",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"TextBanner.tsx"}),(0,a.jsx)("path",{d:"M32.6055 33H88.6055",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"TextBanner.tsx"}),(0,a.jsx)("path",{d:"M32.6055 39H88.6055",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"TextBanner.tsx"}),(0,a.jsx)("path",{d:"M40.6055 45H80.6055",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"TextBanner.tsx"}),(0,a.jsx)("path",{d:"M53.3485 26H51.2391L55.0797 15.0909H57.5193L61.3652 26H59.2558L58.3503 23.31H54.2487L53.3485 26ZM54.7814 21.7227H57.8176L56.3421 17.3281H56.2569L54.7814 21.7227ZM65.0712 26.1651C63.5105 26.1651 62.3333 25.3129 62.3333 23.7042C62.3333 21.8612 63.8514 21.3871 65.4388 21.2166C66.8823 21.0621 67.4629 21.0355 67.4629 20.4815V20.4496C67.4629 19.6452 66.9729 19.1871 66.078 19.1871C65.1352 19.1871 64.5918 19.6665 64.4001 20.2259L62.5997 19.9702C63.0258 18.4787 64.3468 17.7116 66.0673 17.7116C67.6281 17.7116 69.3912 18.3615 69.3912 20.5241V26H67.5375V24.8761H67.4736C67.122 25.5632 66.355 26.1651 65.0712 26.1651ZM65.572 24.7482C66.7332 24.7482 67.4683 23.9759 67.4683 23.065V22.1009C67.2179 22.3033 66.2058 22.4311 65.6998 22.5004C64.8369 22.6229 64.1923 22.9318 64.1923 23.6722C64.1923 24.3807 64.7676 24.7482 65.572 24.7482Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"TextBanner.tsx"}),(0,a.jsx)("rect",{x:"49.3555",y:"52.75",width:"22.5",height:"6.5",rx:"3.25",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"TextBanner.tsx"})]})}function tm(){return(0,a.jsxs)("svg",{width:"121",height:"72",viewBox:"0 0 121 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Video","data-sentry-source-file":"Video.tsx",children:[(0,a.jsx)("rect",{x:"0.772461",y:"0.5",width:"119",height:"71",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"Video.tsx"}),(0,a.jsx)("rect",{x:"0.772461",y:"0.5",width:"119",height:"71",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"Video.tsx"}
1),(0,a.jsx)("rect",{x:"4.27246",y:"4",width:"112",height:"64",rx:"1",fill:"#5B5B66","data-sentry-element":"rect","data-sentry-source-file":"Video.tsx"}),(0,a.jsx)("path",{d:"M12.2725 59H108.272",stroke:"white",strokeWidth:"2","data-sentry-element":"path","data-sentry-source-file":"Video.tsx"}),(0,a.jsx)("path",{d:"M69.5225 35.567C69.8558 35.7594 69.8558 36.2406 69.5225 36.433L56.0225 44.2272C55.6891 44.4197 55.2725 44.1791 55.2725 43.7942L55.2725 28.2058C55.2725 27.8209 55.6891 27.5803 56.0225 27.7728L69.5225 35.567Z",stroke:"white",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"Video.tsx"}),(0,a.jsx)("path",{d:"M30.2725 59L108.272 59",stroke:"#9F9FAD",strokeWidth:"2","data-sentry-element":"path","data-sentry-source-file":"Video.tsx"})]})}var tu=n(97558),tg=n(46580),ty=n(38885),tx=n(41961);function th(e){let{currentText:t,maxLimit:n,visible:o=!0,className:r,currentCount:s}=e,i=s||0===s?s:(null==t?void 0:t.length)||0,l=!!n&&i>n;return(0,a.jsxs)("div",{className:"".concat(tC.container," ").concat(null!=r?r:""," ").concat(o&&n?"visible":"invisible"," ").concat(l?tC.redText:""),"data-sentry-component":"CharacterCounter","data-sentry-source-file":"CharacterCounter.tsx",children:[l&&(0,a.jsx)("span",{className:tC.warningIcon,"aria-hidden":"true",children:(0,a.jsx)(tx.I,{})}),i+" / "+n]})}let tC={container:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",alignItems:"center",columnGap:u.Spacing.Micro,height:u.Spacing.Medium+u.Spacing.xSmall,fontSize:11,color:u.StandardColors.ColorDarkGray05})),redText:(0,o.style)({color:"".concat(u.StandardColors.ColorRed60," !important"),fontWeight:"600 !important"}),warningIcon:(0,o.style)({display:"flex",alignItems:"center",flexShrink:0,$nest:{svg:{width:12,height:12}}})};var tf=n(66478);function tS(e){var t,n,o,s;let{className:i,onClosed:l,onSave:p,strings:m,...g}=e,{websiteSettings:y}=(0,j.Hb)(),[x,h]=(0,r.useState)(""),[C,f]=(0,r.useState)(""),S=c.D.views.designer.components.properties.sections.addPageModal,v={title:null!=(t=null==m?void 0:m.title)?t:S.title,pageName:null!=(n=null==m?void 0:m.pageName)?n:S.pageName,submitButton:null!=(o=null==m?void 0:m.submitButton)?o:S.addPageButtonTitle,cancel:null!=(s=null==m?void 0:m.cancel)?s:S.cancel};return(0,a.jsx)(_.A,{className:"".concat(tv.container," ").concat(i),...g,returnFocusAfterClose:!1,autoFocus:!1,centered:!0,"data-sentry-element":"Modal","data-sentry-component":"CreatePageModal","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"CreatePageModal.tsx",children:[(0,a.jsx)("div",{className:"header d-flex flex-row align-items-center",children:(0,a.jsx)("h4",{className:"flex-grow-1",children:v.title})}),(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," container"),"data-sentry-element":"Container","data-sentry-source-file":"CreatePageModal.tsx",children:[(0,a.jsxs)(L.A,{className:"page-label-row","data-sentry-element":"Row","data-sentry-source-file":"CreatePageModal.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CreatePageModal.tsx",children:v.pageName}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.maxPageNameLength,currentText:x,visible:!0,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"CreatePageModal.tsx"})})]}),(0,a.jsx)(L.A,{className:"page-name-row","data-sentry-element":"Row","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsx)(tf.g,{type:"text",autoFocus:!0,invalid:!!C,value:x,maxLength:tg.H.maxPageNameLength,onChange:e=>{let t=e.currentTarget.value;h(t);let n=(0,W.validatePageTitle)(t,y.pages);return n===W.PageValueStatus.InvalidHyphenPosition?void f(S.errors.invalidPageNameHyphenPosition):n===W.PageValueStatus.InvalidSyntax?void f(S.errors.invalidPageNameFormat):n===W.PageValueStatus.Unavailable?void f(S.errors.pageNameAlreadyExists):void f("")},onKeyDown:e=>{"Enter"===e.key&&x&&!C&&(e.preventDefault(),e.stopPropagation(),p&&p(x.trim()))},"data-sentry-element":"SoloInput","data-sentry-source-file":"CreatePageModal.tsx"})})}),(0,a.jsx)(L.A,{className:"error-row","data-sentry-element":"Row","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsx)("div",{className:"text-danger",children:C})})}),(0,a.jsxs)(L.A,{className:"button-row","data-sentry-element":"Row","data-sentry-source-file":"CreatePageModal.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsx)(G.A,{className:"w-100 ".concat(d.ButtonStyles.SecondarySmall),onClick:()=>l&&l(),"data-sentry-element":"Button","data-sentry-source-file":"CreatePageModal.tsx",children:v.cancel})}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CreatePageModal.tsx",children:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.PrimarySmall," w-100"),disabled:!!C||!x.trim(),onClick:()=>{p&&p(x.trim())},"data-sentry-element":"Button","data-sentry-source-file":"CreatePageModal.tsx",children:v.submitButton})})]})]})]})})}let tv={container:(0,o.style)({width:320,margin:"auto",$nest:{".modal-body":{padding:u.Spacing.xLarge,paddingTop:u.Spacing.Large+u.Spacing.Micro,boxShadow:u.BoxShadowStyles.xLarge,$nest:{".container":{$nest:{".error-row":{minHeight:u.Spacing.Large+u.Spacing.Micro,marginTop:u.Spacing.Micro},".page-label-row":{marginBlock:u.Spacing.Micro},".page-name-row":{height:u.Spacing.xxLarge},".button-row":{marginTop:u.Spacing.Small,display:"flex",flexDirection:"row",gap:u.Spacing.Small}}},".header":{marginBottom:u.Spacing.Large}}}}})};var tb=function(e){return e.CurrentPage="CurrentPage",e.NewPage="NewPage",e}({});function tj(e){let{scrollToSection:t,setDesignerSettings:n,designerSettings:o,openSidebarSection:s,websiteSettings:i}=(0,j.Hb)(),[l,d]=(0,r.useState)(),p=(0,r.useRef)(!1);if(!i)return null;let m=c.D.views.designer.components.properties.sections.addSectionModal;function y(e){e&&(n({...o,selectedSection:e}),s(e),t(e.id))}if("NewPage"===e.context&&i.pages.length>=tg.H.maxPages){let{message:t,title:n}=m.maxPagesError;return(0,a.jsx)(g.w,{isOpen:e.isOpen,icon:(0,a.jsx)("div",{style:{color:u.StandardColors.ColorDarkGray05},children:(0,a.jsx)(e4.F,{})}),title:n,message:t,buttons:[{type:g.o.Primary,text:m.ok,onClick:()=>{e.onClosed&&e.onClosed()}}]})}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tw,{...e,onClosed:()=>{!p.current&&e.onClosed&&e.onClosed(),p.current=!1},onDisclaimerNeeded:e=>{p.current=!0,d(e)},"data-sentry-element":"AddSectionModalImpl","data-sentry-source-file":"AddSectionModal.tsx"}),(null==l?void 0:l.type)===N.WebsiteSectionType.CustomerReviews&&(0,a.jsx)(e0,{onConfirm:()=>{y(i.sections.find(e=>e.id===l.id)),d(void 0),e.onClosed&&e.onClosed()}}),(null==l?void 0:l.type)===N.WebsiteSectionType.Team&&(0,a.jsx)(e2,{onConfirm:()=>{y(i.sections.find(e=>e.id===l.id)),d(void 0),e.onClosed&&e.onClosed()}})]})}function tw(e){let{onDisclaimerNeeded:t,...n}=e,{scrollToSection:o,setDesignerSettings:s,designerSettings:i,openSidebarSection:l,websiteSettings:c}=(0,j.Hb)(),[d,p]=(0,r.useState)();return(0,r.useEffect)(()=>
1{if(!d)return;o(d);let e=c.sections.find(e=>e.id===d);e&&e.type!==N.WebsiteSectionType.CustomerReviews&&e.type!==N.WebsiteSectionType.Team&&(s({...i,selectedSection:e}),l(e),p(void 0))},[d,o,c.sections,i,s,l]),(0,a.jsx)(tL,{...n,onSectionAdded:e=>{p(e.id),(e.type===N.WebsiteSectionType.CustomerReviews||e.type===N.WebsiteSectionType.Team)&&t(e)},"data-sentry-element":"AddSectionModalInternal","data-sentry-component":"AddSectionModalImpl","data-sentry-source-file":"AddSectionModal.tsx"})}function tL(e){let{className:t,context:n,onClosed:o,onSectionAdded:s,...i}=e,{user:l}=(0,x.uM)(),{addSectionToPage:p,currentPage:m,designerSettings:g,setCurrentPage:y,setDesignerSettings:C,setWebsiteSettings:f,websiteSettings:S}=(0,j.Hb)(),{setSpinner:v}=(0,h.p6)(),[b,M]=(0,r.useState)(!1),P=c.D.views.designer.components.properties.sections.addSectionModal,D="NewPage"===n,I=D?N.PageType.Standard:null==m?void 0:m.pageType,T=D?(0,Q.Ww)(I):(0,Q.tP)(S,m),[B,A]=(0,r.useState)(),H=(0,r.useCallback)(async e=>{if(!B||!D&&!m)return;v(!0,h.Is.High,D?P.spinnerPageMessage:P.spinnerSectionMessage);let t=await (0,e5.WI)({section:{type:B.type},settings:S,index:S.sections.length-1,firebaseUser:null==l?void 0:l.firebaseUser,imageDeduplicator:new tu.w,preset:(0,e6.Ke)(S.generationPresetStyle)}),n=await p(t,S,e?{newPageTitle:e}:{currentPagePath:m.path});f(n),C({...g,selectedSection:t}),D&&y(n.pages.find(t=>t.title===e)),v(!1,h.Is.High),s(t)},[p,m,g,e6.Ke,D,B,C,v,f,P.spinnerPageMessage,P.spinnerSectionMessage,null==l?void 0:l.firebaseUser,S]),F=(0,r.useCallback)(async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];A(e),t&&(D?M(!0):(await H(),o&&o()))},[H,o]);return(0,a.jsxs)(ty.y,{title:D?P.addPageTitle:P.addSectionTitle,centered:!1,scrollable:!1,className:"".concat(tM.modal," ").concat(t),modalTransition:{timeout:100},canDismiss:!!B,keepOpenAfterSave:!0,onSave:async()=>{D?M(!0):(await H(),o&&o())},onClosed:o,saveButtonText:D?P.addPageButtonText:P.addSectionButtonText,headerContent:D&&(0,a.jsx)("div",{className:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued," remaining-pages"),children:P.remainingPages.replace("{remainingPageCount}","".concat(tg.H.maxPages-S.pages.length))}),...i,"data-sentry-element":"ModalDialog","data-sentry-component":"AddSectionModalInternal","data-sentry-source-file":"AddSectionModal.tsx",children:[(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," d-flex ").concat(tM.container),"data-sentry-element":"Container","data-sentry-source-file":"AddSectionModal.tsx",children:[(0,a.jsx)(L.A,{className:"page-instruction ".concat(D?"":"section-only"),"data-sentry-element":"Row","data-sentry-source-file":"AddSectionModal.tsx",children:D&&(0,a.jsx)(k.A,{children:P.pageInstruction})}),(0,a.jsx)(L.A,{className:"thumbnail-row","data-sentry-element":"Row","data-sentry-source-file":"AddSectionModal.tsx",children:T.map(e=>(0,a.jsx)(k.A,{className:"col-3 g-0",onClick:()=>{F(e)},onDoubleClick:async()=>{F(e,!0)},children:(0,a.jsxs)("div",{className:"thumbnail ".concat(B&&B===e?"active":""),children:[(0,a.jsx)(tk,{type:e.type}),(0,a.jsx)("div",{className:"title",children:e.title})]})},"".concat(e.type)))})]}),b&&(0,a.jsx)(tS,{isOpen:b,onClosed:()=>M(!1),onSave:async e=>{M(!1),await H(e),o&&o()}})]})}function tk(e){let{type:t}=e;switch(t){case N.WebsiteSectionType.Article:return(0,a.jsx)(e7,{});case N.WebsiteSectionType.BlogFeed:return(0,a.jsx)(e9,{});case N.WebsiteSectionType.Contact:return(0,a.jsx)(te,{});case N.WebsiteSectionType.CustomerReviews:return(0,a.jsx)(tt,{});case N.WebsiteSectionType.CodeEmbed:return(0,a.jsx)(e8,{});case N.WebsiteSectionType.FrequentlyAskedQuestions:return(0,a.jsx)(tn,{});case N.WebsiteSectionType.Gallery:return(0,a.jsx)(ta,{});case N.WebsiteSectionType.ImageBanner:return(0,a.jsx)(to,{});case N.WebsiteSectionType.Introduction:return(0,a.jsx)(tr,{});case N.WebsiteSectionType.Logos:return(0,a.jsx)(ts,{});case N.WebsiteSectionType.Newsletter:return(0,a.jsx)(ti,{});case N.WebsiteSectionType.QuoteBanner:return(0,a.jsx)(tp,{});case N.WebsiteSectionType.Scheduling:return(0,a.jsx)(tl,{});case N.WebsiteSectionType.Services:return(0,a.jsx)(tc,{});case N.WebsiteSectionType.Team:return(0,a.jsx)(td,{});case N.WebsiteSectionType.Video:return(0,a.jsx)(tm,{});default:throw Error("Unknown section type: ".concat(t,"."))}}let tM={modal:(0,o.style)({display:"flex",minWidth:720,boxSizing:"content-box",margin:"auto",$nest:{".modal-content":{borderRadius:u.Spacing.Small,borderWidth:0,border:0,outline:"none",boxShadow:u.BoxShadowStyles.xLarge,overflowX:"auto",maxHeight:610,padding:0},".modal-body":{overflow:"hidden",textAlign:"center",padding:0,$nest:{".header":{paddingBlock:u.Spacing.Large+u.Spacing.Micro,paddingInline:u.Spacing.xLarge,marginBottom:0,borderBottom:"1px solid ".concat(d.Colors.LightBorder),$nest:{h4:{display:"flex"}}},".remaining-pages":{marginRight:u.Spacing.Large},".page-instruction":{color:u.StandardColors.ColorDarkGray50,marginInline:0,paddingInline:0,paddingBlock:u.Spacing.Large,$nest:{"&>*":{padding:0,width:"auto"}
1,"&.section-only":{paddingBottom:0},b:{color:u.StandardColors.ColorDarkGray90,fontWeight:600}}}}},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),container:(0,o.style)({overflow:"hidden",minHeight:436,paddingLeft:u.Spacing.xLarge,paddingRight:u.Spacing.xSmall,display:"flex",flexDirection:"column",height:538,$nest:{".thumbnail-row":{alignContent:"flex-start",overflowY:"auto",width:"100%",paddingTop:u.Spacing.Micro,paddingLeft:u.Spacing.Micro,marginLeft:-1*u.Spacing.Micro,$nest:{".thumbnail":{cursor:"pointer",backgroundColor:d.Colors.Secondary,marginBottom:u.Spacing.Medium,marginRight:u.Spacing.Large,paddingTop:u.Spacing.Large,paddingInline:u.Spacing.Medium+u.Spacing.xSmall,borderRadius:u.Spacing.Micro,$nest:{".title":{color:u.StandardColors.ColorDarkGray50,marginTop:u.Spacing.Small,marginBottom:u.Spacing.Medium},"&.active":{borderColor:d.Colors.Primary,boxShadow:u.BoxShadowStyles.PrimarySelect}}}}}}})};var tP=n(27998);function tN(e){let{description:t,icon:n,isComplete:o,rightContent:r}=e;return(0,a.jsx)(w.A,{className:tT.container,"data-sentry-element":"Container","data-sentry-component":"QuickStartItem","data-sentry-source-file":"QuickStartItem.tsx",children:(0,a.jsxs)(L.A,{className:u.ContainerStyles.VerticallyCenter,"data-sentry-element":"Row","data-sentry-source-file":"QuickStartItem.tsx",children:[(0,a.jsx)(k.A,{className:tT.icon,"data-sentry-element":"Col","data-sentry-source-file":"QuickStartItem.tsx",children:n}),(0,a.jsx)(k.A,{className:"".concat(o?"text-decoration-line-through":""," align-self-center ").concat(tT.description),"data-sentry-element":"Col","data-sentry-source-file":"QuickStartItem.tsx",children:t}),r&&(0,a.jsx)(k.A,{className:"col-auto",children:r})]})})}function tD(){return(0,a.jsx)("div",{className:tT.checkIcon,"data-sentry-component":"CompletedIcon","data-sentry-source-file":"QuickStartItem.tsx",children:(0,a.jsx)(tP.Z,{"data-sentry-element":"CheckFilledCircle","data-sentry-source-file":"QuickStartItem.tsx"})})}function tI(e){let{className:t,...n}=e;return(0,a.jsx)(eG.T,{eventName:e.eventName,"data-sentry-element":"AnalyticsLink","data-sentry-component":"QuickStartItemButton","data-sentry-source-file":"QuickStartItem.tsx",children:(0,a.jsx)(G.A,{className:"".concat(tT.button," ").concat(t||""),...n,"data-sentry-element":"Button","data-sentry-source-file":"QuickStartItem.tsx"})})}let tT={button:"".concat(d.ButtonStyles.PrimarySmall," ").concat((0,o.style)({minWidth:78,paddingInline:(u.Spacing.xLarge+1)/2,paddingBlock:u.Spacing.Small-1})),container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({borderBottom:"1px solid ".concat(u.StandardColors.ColorLightGray20),color:u.StandardColors.ColorDarkGray05,$nest:{svg:{width:u.Spacing.Large+u.Spacing.Micro,height:u.Spacing.Large+u.Spacing.Micro}}})),checkIcon:(0,o.style)({width:u.Spacing.Large+u.Spacing.Micro,height:u.Spacing.Large+u.Spacing.Micro,color:d.Colors.Primary,$nest:{svg:{width:u.Spacing.Large+u.Spacing.Micro,height:u.Spacing.Large+u.Spacing.Micro}}}),description:(0,o.style)({fontWeight:500,marginBlock:u.Spacing.Large-1}),icon:"col-auto ".concat((0,o.style)({marginRight:u.Spacing.Small}))};function tB(e){let{isComplete:t}=e,n=c.D.views.designer.quickStart.addSectionTask,[o,s]=(0,r.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tN,{description:n.description,icon:t?(0,a.jsx)(tD,{}):(0,a.jsx)(e1,{}),isComplete:t,rightContent:t?void 0:(0,a.jsx)(tI,{className:d.ButtonStyles.PrimarySmall,eventName:ew.o.designer.quickStart.addSectionTask,onClick:()=>s(!0),children:n.add}),"data-sentry-element":"QuickStartItem","data-sentry-source-file":"AddSectionTask.tsx"}),(0,a.jsx)(tj,{isOpen:o,onClosed:()=>s(!1),context:tb.CurrentPage,"data-sentry-element":"AddSectionModal","data-sentry-source-file":"AddSectionTask.tsx"})]})}let tA={isComplete:function(e){let{websiteSettings:t}=e;return!!(t&&t.quickStartTasks&&t.quickStartTasks.addedSection)},createQuickStartItem:e=>(0,a.jsx)(tB,{isComplete:e})};function tH(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AddNewLink","data-sentry-source-file":"AddNewLink.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33333 0.833252C3.79357 0.833252 4.16667 1.20635 4.16667 1.66659V3.33325H5.83333C6.29357 3.33325 6.66667 3.70635 6.66667 4.16659C6.66667 4.62682 6.29357 4.99992 5.83333 4.99992H4.16667V6.66658C4.16667 7.12682 3.79357 7.49992 3.33333 7.49992C2.8731 7.49992 2.5 7.12682 2.5 6.66658V4.99992H0.833333C0.373096 4.99992 0 4.62682 0 4.16659C0 3.70635 0.373096 3.33325 0.833333 3.33325H2.5V1.66659C2.5 1.20635 2.8731 0.833252 3.33333 0.833252ZM15.9344 4.0655C16.9108 5.04181 16.9108 
16.62472 15.9344 7.60103L14.9584 8.57747C14.6331 8.90298 14.6332 9.43062 14.9587 9.75599C15.2842 10.0813 15.8119 10.0812 16.1372 9.75572L17.113 8.77954C18.74 7.15235 18.7401 4.51413 17.113 2.88699C15.4859 1.25988 12.8478 1.2598 11.2206 2.88675L7.88599 6.21878C7.87099 6.23376 7.85669 6.24917 7.84307 6.26497C6.26003 7.89542 6.2747 10.5005 7.88708 12.1129C8.21252 12.4383 8.74016 12.4383 9.06559 12.1129C9.39103 11.7874 9.39103 11.2598 9.06559 10.9344C8.08928 9.95805 8.08928 8.37513 9.06559 7.39882C9.07885 7.38557 9.09157 7.37197 9.10374 7.35807L12.3987 4.06573C13.375 3.08942 14.9581 3.08919 15.9344 4.0655ZM10.9345 9.06548C11.9108 10.0418 11.9108 11.6247 10.9345 12.601L7.64179 15.8963C7.62792 15.9084 7.61436 15.9211 7.60113 15.9344C6.62482 16.9107 5.04191 16.9107 4.0656 15.9344C3.08929 14.958 3.08929 13.3751 4.0656 12.3988L5.04161 11.4224C5.36698 11.0969 5.36686 10.5692 5.04135 10.2439C4.71584 9.91849 4.1882 9.91861 3.86284 10.2441L2.88709 11.2203C1.26004 12.8475 1.25995 15.4857 2.88709 17.1129C4.4995 18.7253 7.10464 18.7399 8.73508 17.1568C8.75085 17.1432 8.76623 17.1289 8.78118 17.1139L12.113 13.7795C13.7399 12.1523 13.7401 9.51408 12.113 7.88697C11.7876 7.56153 11.2599 7.56153 10.9345 7.88697C10.609 8.21241 10.609 8.74005 10.9345 9.06548Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddNewLink.tsx"})})}var tF=n(37558),tR=n(2069),tV=n(99092),tW=n(31366);function tE(e){let{value:t,onChange:n,onBlur:o,onPaste:s,onDebouncedChange:i,debounceDelay:l=1500,...c}=e,[d,p]=(0,r.useState)(t);(0,r.useEffect)(()=>{p(t)},[t]);let{debouncedFunction:m,cancel:u}=(0,tW.d7)(e=>{null==i||i(e)},l),g=(0,r.useCallback)(e=>{let t=e.target.value;p(t),n&&n(e),i&&m(t)},[n,i,m]),y=(0,r.useCallback)(e=>{u(),s&&s(e)},[s,u]);return(0,a.jsx)(tf.g,{value:d,onChange:g,onPaste:y,...c,"data-sentry-element":"SoloInput","data-sentry-component":"DebouncedSoloTextInput","data-sentry-source-file":"DebouncedSoloTextInput.tsx"})}function tZ(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"CircleChevron","data-sentry-source-file":"CircleChevron.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9987 2.49999C14.1408 2.49999 17.4987 5.85786 17.4987 9.99999C17.4987 14.1421 14.1408 17.5 9.9987 17.5C5.85656 17.5 2.4987 14.1421 2.4987 9.99999C2.4987 5.85786 5.85656 2.49999 9.9987 2.49999ZM9.9987 0.833325C15.0613 0.833325 19.1654 4.93738 19.1654 9.99999C19.1654 15.0626 15.0613 19.1667 9.9987 19.1667C4.93609 19.1667 0.832031 15.0626 0.832031 9.99999C0.832031 4.93738 4.93609 0.833325 9.9987 0.833325ZM6.09113 9.51067L9.42447 12.844C9.57989 13.0035 9.77631 13.0833 10.0137 13.0833C10.2114 13.0852 10.4181 13.0289 10.603 12.844L13.9363 9.51067C14.722 8.72499 13.5435 7.54648 12.7578 8.33216L10.0137 11.0762L7.26964 8.33216C6.48397 7.54648 5.30546 8.72499 6.09113 9.51067Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"CircleChevron.tsx"})})}async function tG(e){try{let t=new URL(e).hostname;return await tO(t)}catch(e){return console.error("Error parsing URL:",e),!1}}async function tO(e){(0,E.assertBrowser)();let t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({domain:e})},n=await fetch("/api/blocked-domains/check",t);if(!n.ok)throw await n.json();return(await n.json()).isAllowed}async function tz(e){(0,E.assertBrowser)();let t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:e})},n=await fetch("/api/moderation/webrisk",t),a=await n.json();if(!n.ok)throw a;return a.state}var t$=n(15692);let tU={[N.SocialMediaType.Bluesky]:{domain:"bsky.app",domainPattern:/bsky\.app/i,formatUrl:e=>"https://bsky.app/profile/".concat(e)},[N.SocialMediaType.Facebook]:{domain:"facebook.com",domainPattern:/facebook\.com/i,formatUrl:e=>"https://facebook.com/".concat(e)},[N.SocialMediaType.FacebookMessenger]:{domain:"messenger.com/t",domainPattern:/messenger\.com/i,formatUrl:e=>"https://messenger.com/t/".concat(e)},[N.SocialMediaType.Github]:{domain:"github.com",domainPattern:/github\.com/i,formatUrl:e=>"https://github.com/".concat(e)},[N.SocialMediaType.Google]:{domain:"g.page/r",domainPattern:/g\.page\.com|g\.co|goo\.gl|share\.google\.com/i,formatUrl:e=>"https://g.page/r/".concat(e)},[N.SocialMediaType.Instagram]:{domain:"instagram.com",domainPattern:/instagram\.com/i,formatUrl:e=>"https://instagram.com/".concat(e)},[N.SocialMediaType.LinkedIn]:{domain:"linkedin.com",domainPattern:/linkedin\.com/i,formatUrl:e=>"https://linkedin.com/in/".concat(e)},[N.SocialMediaType.Mastodon]:{domain:"",domainPattern:null,formatUrl:e=>e},[N.SocialMediaType.Pinterest]:{domain:"pinterest.com",domainPattern:/pinterest\.com/i,formatUrl:e=>"https://pinterest.com/".concat(e)},[N.SocialMediaType.Telegram]:{domain:"t.me",domainPattern:/t\.me|telegram\.org/i,formatUrl:e=>"https://t.me/".concat(e)},[N.SocialMediaType.Threads]:{domain:"threads.net",domainPattern:/threads\.net/i,formatUrl:e=>"https://threads.net/".concat(e)},[N.SocialMediaType.Thumbtack]:{domain:"thumbtack.com",domainPattern:/thumbtack\.com/i,formatUrl:e=>"https://thumbtack.com/".concat(e)},[N.SocialMediaType.TikTok]:{domain:"tiktok.com",domainPattern:/tiktok\.com/i,formatUrl:e=>"https://tiktok.com/@".concat(e)},[N.SocialMediaType.Twitch]:{domain:"twitch.tv",domainPattern:/twitch\.tv/i,formatUrl:e=>"https://twitch.tv/".concat(e)},[N.SocialMediaType.WhatsApp]:{domain:"wa.me",domainPattern:/wa\.me|api\.whatsapp\.com\/send/i,formatUrl:e=>"https://wa.me/".concat(e)},[N.SocialMediaType.X]:{domain:"x.com",domainPattern:/x\.com|twitter\.com/i,formatUrl:e=>"https://x.com/".concat(e)},[N.SocialMediaType.Yelp]:{domain:"yelp.com",domainPattern:/yelp\.com/i,formatUrl:e=>"https://yelp.com/".concat(e)},[N.SocialMediaType.YouTube]:{domain:"youtube.com",domainPattern:/youtube\.com/i,formatUrl:e=>"https://youtube.com/".concat(e)},[N.SocialMediaType.Houzz]:{domain:"houzz.com",domainPattern:/houzz\.com/i,formatUrl:e=>"https://houzz.com/pro/".concat(e)},[N.SocialMediaType.Generic]:{domain:"",domainPattern:null,formatUrl:e=>(0,t$.VO)(e)}};function t_(e,t){if(!e)return e;if(t===N.SocialMediaType.Generic||tq(e,t)||Object.values(tU).some(t=>t.domainPattern&&t.domainPattern.test(e)))return(0,t$.VO)(e);if(e.startsWith("http://")||e.startsWith("https://"))return e;let n=e.startsWith("@")?e.substring(1):e;return n?tU[t].formatUrl(n):""}function tq(e,t){let n;if(t===N.SocialMediaType.Generic)return(0,t$.YT)((0,t$.VO)(e));let a=(0,t$.VO)(e);try{n=new URL(a)}catch(e){return!1}if(t===N.SocialMediaType.Mastodon)return!Object.values(tU).some(e=>e.domain&&n.hostname.includes(e.domain.split("/")[0]));if(t===N.SocialMediaType.FacebookMessenger){let[e,t]=n.pathname.substring(1).split("/"),[a,o]=tU[N.SocialMediaType.FacebookMessenger].domain.split("/");return n.hostname.includes(a)&&e.includes(o)&&void 0!=t&&t.length>1}if(t===N.SocialMediaType.Google)return(n.hostname.includes("g.page")||n.hostname.includes("g.co")||n.hostname.includes("goo.gl")||n.hostname.includes("share.google.com"))&&n.pathname.length>1;if(t===N.SocialMediaType.X)return(n.hostname.includes("twitter.com")||n.hostname.includes("x.com"))&&n.pathname.length>1;if(t===N.SocialMediaType.WhatsApp&&n.hostname.includes("api.whatsapp.com"))return n.searchParams.has("phone")&&/^\d{10,}$/.test(n.searchParams.get("phone")||"");let o=tU[t],r=o&&o.domain?o.domain.split("/")[0]:"";return n.hostname.includes(r)&&"/"!==n.pathname}function tQ(e){let{socialMediaLinks:t,setSocialMediaLinks:n,...o}=e,[s,i]=(0,r.useState)([...t]),l=(0,r.useRef)(t.some(e=>e.socialMediaType===N.SocialMediaType.Generic)),[p,m]=(0,r.useState)(!1),[u,g]=(0,r.useState)(new Map),y=(0,r.useRef)(new Map),x=(0,r.useRef)(new Map),h=(0,r.useCallback)((e,t)=>{g(n=>{let a=new Map(n);return void 0===t?a.delete(e):a.set(e,t),a})},[]),C=(0,r.useCallback)(async(e,t)=>{var n;if(!e||!(0,t$.YT)(e))return void h(t,void 0);null==(n=x.current.get(t))||n.abort();let a=new AbortController;x.current.set(t,a),h(t,N.LinkAcceptanceState.Checking);try{let n=await tG(e).catch(()=>!0);if(a.signal.aborted)return;if(!n)return void h(t,N.LinkAcceptanceState.Unsafe);let o=await tz(e);if(a.signal.aborted)return;h(t,o)}catch(e){a.signal.aborted||h(t,N.LinkAcceptanceState.Failed)}}
1,[h]),f=(0,r.useCallback)((e,t)=>{let n=y.current.get(t);n&&clearTimeout(n);let a=setTimeout(()=>{C(e,t)},750);y.current.set(t,a)},[C]);(0,r.useEffect)(()=>()=>{y.current.forEach(e=>clearTimeout(e)),x.current.forEach(e=>e.abort())},[]);let S=c.D.views.designer.components.properties.sections.socialNetworkLinksDialog,v=[{type:N.SocialMediaType.Instagram,icon:(0,a.jsx)(W.Instagram,{}),placeholder:S.placeholders.instagram},{type:N.SocialMediaType.Facebook,icon:(0,a.jsx)(W.Facebook,{}),placeholder:S.placeholders.facebook},{type:N.SocialMediaType.YouTube,icon:(0,a.jsx)(W.Youtube,{}),placeholder:S.placeholders.youtube},{type:N.SocialMediaType.X,icon:(0,a.jsx)(W.TwitterX,{}),placeholder:S.placeholders.twitter},{type:N.SocialMediaType.Mastodon,icon:(0,a.jsx)(W.Mastodon,{}),placeholder:S.placeholders.mastodon},{type:N.SocialMediaType.TikTok,icon:(0,a.jsx)(W.TikTok,{}),placeholder:S.placeholders.tiktok},{type:N.SocialMediaType.Twitch,icon:(0,a.jsx)(W.Twitch,{}),placeholder:S.placeholders.twitch},{type:N.SocialMediaType.Threads,icon:(0,a.jsx)(W.Threads,{}),placeholder:S.placeholders.threads},{type:N.SocialMediaType.Thumbtack,icon:(0,a.jsx)(W.Thumbtack,{}),placeholder:S.placeholders.thumbtack},{type:N.SocialMediaType.LinkedIn,icon:(0,a.jsx)(W.LinkedIn,{}),placeholder:S.placeholders.linkedin},{type:N.SocialMediaType.Yelp,icon:(0,a.jsx)(W.Yelp,{}),placeholder:S.placeholders.yelp},{type:N.SocialMediaType.Pinterest,icon:(0,a.jsx)(W.Pinterest,{}),placeholder:S.placeholders.pinterest},{type:N.SocialMediaType.Github,icon:(0,a.jsx)(W.Github,{}),placeholder:S.placeholders.github},{type:N.SocialMediaType.WhatsApp,icon:(0,a.jsx)(W.WhatsApp,{}),placeholder:S.placeholders.whatsApp},{type:N.SocialMediaType.Bluesky,icon:(0,a.jsx)(W.Bluesky,{}),placeholder:S.placeholders.bluesky},{type:N.SocialMediaType.FacebookMessenger,icon:(0,a.jsx)(W.FacebookMessenger,{}),placeholder:S.placeholders.facebookMessenger},{type:N.SocialMediaType.Google,icon:(0,a.jsx)(W.Google,{}),placeholder:S.placeholders.google},{type:N.SocialMediaType.Telegram,icon:(0,a.jsx)(W.Telegram,{}),placeholder:S.placeholders.telegram},{type:N.SocialMediaType.Houzz,icon:(0,a.jsx)(W.Houzz,{}),placeholder:S.placeholders.houzz}],b={type:N.SocialMediaType.Generic,icon:(0,a.jsx)(W.LinkIcon,{}),placeholder:S.placeholders.generic},j=v.slice(0,tg.H.socialMediaLinks.collapsedLinksDisplayed),w=v.slice(tg.H.socialMediaLinks.collapsedLinksDisplayed,v.length).sort((e,t)=>e.type>t.type?1:-1),M=j.concat(w,b),P=(0,r.useCallback)((e,t)=>{i(n=>{let a=n.filter(e=>e.socialMediaType!==t);return e?[...a,{type:N.LinkType.Social,socialMediaType:t,value:e}]:a}),e?f(e,t):g(e=>{let n=new Map(e);return n.delete(t),n})},[f]),D=(0,r.useCallback)((e,t)=>{P(t_(e.clipboardData.getData("text"),t),t),e.preventDefault()},[P]),I=(0,r.useCallback)((e,t)=>{P(e.target.value,t)},[P]),T=(0,r.useCallback)((e,t)=>{let n=t_(e,t);n!==e&&P(n,t)},[P]),B=(0,r.useCallback)((e,t)=>{let n=e.target.value,a=t_(n,t);a!==n&&P(a,t)},[P]);(0,r.useEffect)(()=>{i([...t])},[t]);let A=Array.from(u.values()).some(e=>e===N.LinkAcceptanceState.Unsafe),H=Array.from(u.values()).some(e=>e===N.LinkAcceptanceState.Checking),F=A||H||!!s.find(e=>!tq(e.value,e.socialMediaType));return(0,a.jsxs)(ty.y,{title:S.title,onSave:async()=>{let e=s.find(e=>e.socialMediaType===N.SocialMediaType.Generic);if(e&&!l.current){let{analytics:t}=(0,eL.S)();(0,ed.$s)(t,ew.o.designer.socialMedia.genericLinkCreated,{site:e.value})}n(s)},canDismiss:!F,className:"".concat(tK.container),...o,"data-sentry-element":"ModalDialog","data-sentry-component":"SocialNetworkLinksDialog","data-sentry-source-file":"SocialNetworkLinksDialog.tsx",children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"SocialNetworkLinksDialog.tsx",children:(0,a.jsx)(k.A,{className:tK.description,"data-sentry-element":"Col","data-sentry-source-file":"SocialNetworkLinksDialog.tsx",children:S.description})}),(p?M:j).map((e,t)=>{var n;let o=(null==(n=s.find(t=>t.socialMediaType===e.type))?void 0:n.value)||"",r=u.get(e.type),i=!o||tq(o,e.type),l=r===N.LinkAcceptanceState.Unsafe,c=r===N.LinkAcceptanceState.Safe,d=r===N.LinkAcceptanceState.Checking;
1return(0,a.jsxs)("div",{children:[p&&t===tg.H.socialMediaLinks.collapsedLinksDisplayed&&(0,a.jsx)(eu.c,{}),(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsxs)(tF.A,{children:[(0,a.jsx)(tR.A,{children:e.icon}),(0,a.jsx)(tE,{type:"text",placeholder:e.placeholder,value:o,onKeyDown:e=>{" "===e.key&&e.preventDefault()},onChange:t=>I(t,e.type),onBlur:t=>B(t,e.type),onDebouncedChange:t=>T(t,e.type),onPaste:t=>D(t,e.type),debounceDelay:1500,inProgress:d,valid:o&&i&&c||void 0,invalid:!!o&&!i||l}),l&&(0,a.jsx)(tV.A,{children:S.unsafeLink})]})})},e.type)]},e.type)}),!p&&(0,a.jsxs)("button",{className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(d.FontStyles.Medium," ").concat(tK.expandButton),onClick:()=>{m(!0)},children:[(0,a.jsx)(tZ,{}),(0,a.jsx)("span",{children:S.moreNetworks})]})]})}let tK={container:(0,o.style)({width:460,$nest:{".row":{marginBottom:d.Spacing.Small},".input-group-text":{color:d.Colors.Subdued},".modal-body":{$nest:{".header":{marginBottom:5*d.Spacing.Micro}}}}}),expandButton:(0,o.style)({display:"flex",columnGap:d.Spacing.Small,flexDirection:"row",alignItems:"center",height:d.Spacing.xxLarge,marginTop:d.Spacing.Large}),description:(0,o.style)({color:d.StandardColors.ColorDarkGray50})};function tY(e){let{isComplete:t}=e,n=c.D.views.designer.quickStart.addSocialMediaLinksTask,{websiteSettings:o,setWebsiteSettings:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tN,{description:n.description,icon:t?(0,a.jsx)(tD,{}):(0,a.jsx)(tH,{}),isComplete:t,rightContent:t?void 0:(0,a.jsx)(tI,{className:d.ButtonStyles.PrimarySmall,eventName:ew.o.designer.quickStart.addSocialMediaLinksTask,onClick:()=>l(!0),children:n.add}),"data-sentry-element":"QuickStartItem","data-sentry-source-file":"AddSocialMediaLinksTask.tsx"}),(0,a.jsx)(tQ,{isOpen:i,onClosed:()=>l(!1),socialMediaLinks:o.socialMediaLinks||[],setSocialMediaLinks:e=>{let t=o.quickStartTasks||{},n=e.length>0;t.addedSocialMediaLinks=t.addedSocialMediaLinks||n,o.quickStartTasks=t,o.socialMediaLinks=e,o.sections.find(e=>e.type===N.WebsiteSectionType.Header).props.showSocialMediaLinks=n,o.sections.find(e=>e.type===N.WebsiteSectionType.Footer).props.showSocialMediaLinks=n,s({...o})},"data-sentry-element":"SocialNetworkLinksDialog","data-sentry-source-file":"AddSocialMediaLinksTask.tsx"})]})}let tX={isComplete:function(e){let{websiteSettings:t}=e;return!!t&&!!t.sections&&(!!t.quickStartTasks&&!!t.quickStartTasks.addedSocialMediaLinks||(t.socialMediaLinks||[]).length>0)},createQuickStartItem:e=>(0,a.jsx)(tY,{isComplete:e})};function tJ(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Analytics","data-sentry-source-file":"Analytics.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1667 0.833252C12.786 0.833252 11.6667 1.95254 11.6667 3.33325V5.14217C11.4061 5.05005 11.1256 4.99992 10.8334 4.99992H9.16675C7.78604 4.99992 6.66675 6.11921 6.66675 7.49992V8.47551C6.4061 8.38338 6.12561 8.33325 5.83341 8.33325H4.16675C2.78604 8.33325 1.66675 9.45254 1.66675 10.8333V13.3333C1.66675 14.714 2.78604 15.8333 4.16675 15.8333H5.83341C6.47371 15.8333 7.05778 15.5925 7.50008 15.1967C7.94238 15.5925 8.52645 15.8333 9.16675 15.8333H10.8334C11.4737 15.8333 12.0578 15.5925 12.5001 15.1967C12.9424 15.5925 13.5265 15.8333 14.1667 15.8333H15.8334C17.2141 15.8333 18.3334 14.714 18.3334 13.3333V3.33325C18.3334 1.95254 17.2141 0.833252 15.8334 0.833252H14.1667ZM11.6667 13.3333L11.6667 7.49992C11.6667 7.03968 11.2937 6.66658 10.8334 6.66658H9.16675C8.70651 6.66658 8.33341 7.03968 8.33341 7.49992V10.8333V13.3333C8.33341 13.7935 8.70651 14.1666 9.16675 14.1666H10.8334C11.2937 14.1666 11.6667 13.7935 11.6667 13.3333ZM13.3334 13.3333C13.3334 13.7935 13.7065 14.1666 14.1667 14.1666H15.8334C16.2937 14.1666 16.6667 13.7935 16.6667 13.3333V3.33325C16.6667 2.87301 16.2937 2.49992 15.8334 2.49992H14.1667C13.7065 2.49992 13.3334 2.87301 13.3334 3.33325L13.3334 7.49992L13.3334 13.3333ZM5.83341 9.99992C6.29365 9.99992 6.66675 10.373 6.66675 10.8333V13.3333C6.66675 13.7935 6.29365 14.1666 5.83341 14.1666H4.16675C3.70651 14.1666 3.33341 13.7935 3.33341 13.3333V10.8333C3.33341 10.373 3.70651 9.99992 4.16675 9.99992H5.83341ZM2.50008 17.4999C2.03984 17.4999 1.66675 17.873 1.66675 18.3333C1.66675 18.7935 2.03984 19.1666 2.50008 19.1666L17.5001 19.1666C17.9603 19.1666 18.3334 18.7935 18.3334 18.3333C18.3334 17.873 17.9603 17.4999 17.5001 17.4999L2.50008 17.4999Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Analytics.tsx"})})}var t1=n(6705),t0=n(99492),t3=n(55571),t2=n(41897),t6=n(83016),t5=n(93376),t4=n(98580),t7=n(27132),t9=n(11432),t8=n(55368),ne=n(39155),nt=n(24465),nn=n(19628),na=n(43544),no=n(31357),nr=n(76419),ns=n(26081),ni=n(71692),nl=n(52411),nc=n(92708),nd=n(69603),np=n(54875),nm=n(3177);n(87099);var nu=n(49774),ng=n(71253),ny=n(2749),nx=n(28902),nh=n(1075);function nC(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"CheckmarkBullet","data-sentry-source-file":"CheckmarkBullet.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.48698 1.67969C5.74733 1.94004 5.74733 2.36215 5.48698 2.6225L3.13807 4.97141C2.87772 5.23176 2.45561 5.23176 2.19526 4.97141L1.19526 3.97141C0.934913 3.71106 0.934913 3.28895 1.19526 3.0286C1.45561 2.76825 1.87772 2.76825 2.13807 3.0286L2.66667 3.55719L4.54417 1.67969C4.80452 1.41934 5.22663 1.41934 5.48698 1.67969ZM5.5 7.27615C5.76035 7.0158 5.76035 6.59369 5.5 6.33334C5.23965 6.07299 4.81754 6.07299 4.55719 6.33334L2.66667 8.22386L2.13807 7.69526C1.87772 7.43491 1.45561 7.43491 1.19526 7.69526C0.934913 7.95561 0.934913 8.37772 1.19526 8.63807L2.19526 9.63807C2.45561 9.89842 2.87772 9.89842 3.13807 9.63807L5.5 7.27615ZM7.33333 7.83334C6.96514 7.83334 6.66667 8.13181 6.66667 8.5C6.66667 8.86819 6.96514 9.16667 7.33333 9.16667L13.3333 9.16667C13.7015 9.16667 14 8.86819 14 8.5C14 8.13181 13.7015 7.83334 13.3333 7.83334L7.33333 7.83334ZM5.46615 11.9767C5.7265 11.7163 5.7265 11.2942 5.46615 11.0339C5.2058 10.7735 4.78369 10.7735 4.52334 11.0339L2.66667 12.8905L2.13807 12.3619C1.87772 12.1016 1.45561 12.1016 1.19526 12.3619C0.934913 12.6223 0.934913 13.0444 1.19526 13.3047L2.19526 14.3047C2.45561 14.5651 2.87772 14.5651 3.13807 14.3047L5.46615 11.9767ZM6.66667 13.1667C6.66667 12.7985 6.96514 12.5 7.33333 12.5L13.3333 12.5C13.7015 12.5 14 12.7985 14 13.1667C14 13.5348 13.7015 13.8333 13.3333 13.8333L7.33333 13.8333C6.96514 13.8333 6.66667 13.5348 6.66667 13.1667ZM7.33333 3.16667C6.96514 3.16667 6.66667 3.46515 6.66667 3.83334C6.66667 4.20152 6.96514 4.5 7.33333 4.5L13.3333 4.5C13.7015 4.5 14 4.20152 14 3.83333C14 3.46514 13.7015 3.16667 13.3333 3.16667L7.33333 3.16667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"CheckmarkBullet.tsx"})})}var nf=n(39169);function nS(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MoreHorizontal","data-sentry-source-file":"MoreHorizontal.tsx",children:(0,a.jsx)("path",{d:"M4.00098 8C4.00098 8.73627 3.4042 9.33283 2.66797 9.33301C1.93159 9.33301 1.33398 8.73638 1.33398 8C1.33398 7.26362 1.93159 6.66699 2.66797 6.66699C3.4042 6.66717 4.00098 7.26373 4.00098 8ZM9.33398 8C9.33398 8.73638 8.73736 9.33301 8.00098 9.33301C7.2646 9.33301 6.66797 8.73638 6.66797 8C6.66797 7.26362 7.2646 6.66699 8.00098 6.66699C8.73736 6.66699 9.33398 7.26362 9.33398 8ZM14.668 8C14.668 8.73638 14.0704 9.33301 13.334 9.33301C12.5978 9.33283 12.001 8.73627 12.001 8C12.001 7.26373 12.5978 6.66717 13.334 6.66699C14.0704 6.66699 14.668 7.26362 14.668 8Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MoreHorizontal.tsx"})})}function nv(){return(0,a.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"PhotoSquare","data-sentry-source-file":"PhotoSquare.tsx",children:[(0,a.jsx)("path",{d:"M6.18909 18H17.8839C18.0952 18 18.2112 17.754 18.0768 17.591L15.1929 14.0933C15.0929 13.972 14.9071 13.972 14.8071 14.0933L13.0528 16.221L10.2053 12.1235C10.1058 11.9804 9.89414 11.9804 9.79469 12.1235L5.9838 17.6073C5.8686 17.7731 5.98723 18 6.18909 18Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"PhotoSquare.tsx"}),(0,a.jsx)("path",{d:"M14.5 11C15.3284 11 16 10.3284 16 9.49999C16 8.67157 15.3284 7.99999 14.5 7.99999C13.6716 7.99999 13 8.67157 13 9.49999C13 10.3284 13.6716 11 14.5 11Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"PhotoSquare.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.0134 19.6154C22.0134 20.9324 20.9458 22 19.6288 22H4.39804C3.08106 22 2.01343 20.9324 2.01343 19.6154V4.38462C2.01343 3.06763 3.08106 2 4.39804 2H19.6288C20.9458 2 22.0134 3.06763 22.0134 4.38462V19.6154ZM19.6288 20C19.8412 20 20.0134 19.8278 20.0134 19.6154V4.38462C20.0134 4.1722 19.8412 4 19.6288 4H4.39804C4.18563 4 4.01343 4.1722 4.01343 4.38462V19.6154C4.01343 19.8278 4.18563 20 4.39804 20H19.6288Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"PhotoSquare.tsx"})]})}function nb(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TextBold","data-sentry-source-file":"TextBold.tsx",children:(0,a.jsx)("g",{id:"Icon/Bold","data-sentry-element":"g","data-sentry-source-file":"TextBold.tsx",children:(0,a.jsx)("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M9.50456 2H5.33789H4.33789C3.78561 2 3.33789 2.44772 3.33789 3C3.33789 3.55228 3.78561 4 4.33789 4L4.33789 7V9L4.33789 12C3.78561 12 3.33789 12.4477 3.33789 13C3.33789 13.5523 3.78561 14 4.33789 14H5.33789H10.1712C12.1042 14 13.6712 12.433 13.6712 10.5C13.6712 9.34255 13.1094 8.31633 12.2436 7.67918C12.7199 7.08126 13.0046 6.32388 13.0046 5.5C13.0046 3.567 11.4376 2 9.50456 2ZM9.50456 7C10.333 7 11.0046 6.32843 11.0046 5.5C11.0046 4.67157 10.333 4 9.50456 4H6.33789V7H9.50456ZM6.33789 9V12H10.1712C10.9997 12 11.6712 11.3284 11.6712 10.5C11.6712 9.67157 10.9997 9 10.1712 9H9.50456H6.33789Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextBold.tsx"})})})}function nj(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TextBulletList","data-sentry-source-file":"TextBulletList.tsx",children:(0,a.jsx)("g",{id:"Icon/List-bullets","data-sentry-element":"g","data-sentry-source-file":"TextBulletList.tsx",children:(0,a.jsx)("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M3.83724 4.66667C4.57362 4.66667 5.17057 4.06971 5.17057 3.33333C5.17057 2.59695 4.57362 2 3.83724 2C3.10086 2 2.50391 2.59695 2.50391 3.33333C2.50391 4.06971 3.10086 4.66667 3.83724 4.66667ZM7.83724 7.33333C7.46905 7.33333 7.17057 7.63181 7.17057 8C7.17057 8.36819 7.46905 8.66667 7.83724 8.66667L13.8372 8.66667C14.2054 8.66667 14.5039 8.36819 14.5039 8
1C14.5039 7.63181 14.2054 7.33333 13.8372 7.33333L7.83724 7.33333ZM5.17057 8C5.17057 8.73638 4.57362 9.33333 3.83724 9.33333C3.10086 9.33333 2.50391 8.73638 2.50391 8C2.50391 7.26362 3.10086 6.66667 3.83724 6.66667C4.57362 6.66667 5.17057 7.26362 5.17057 8ZM3.83724 14C4.57362 14 5.17057 13.403 5.17057 12.6667C5.17057 11.9303 4.57362 11.3333 3.83724 11.3333C3.10086 11.3333 2.50391 11.9303 2.50391 12.6667C2.50391 13.403 3.10086 14 3.83724 14ZM7.17057 12.6667C7.17057 12.2985 7.46905 12 7.83724 12L13.8372 12C14.2054 12 14.5039 12.2985 14.5039 12.6667C14.5039 13.0349 14.2054 13.3333 13.8372 13.3333L7.83724 13.3333C7.46905 13.3333 7.17057 13.0349 7.17057 12.6667ZM7.83724 2.66667C7.46905 2.66667 7.17057 2.96514 7.17057 3.33333C7.17057 3.70152 7.46905 4 7.83724 4L13.8372 4C14.2054 4 14.5039 3.70152 14.5039 3.33333C14.5039 2.96514 14.2054 2.66667 13.8372 2.66667L7.83724 2.66667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextBulletList.tsx"})})})}function nw(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TextItalic","data-sentry-source-file":"TextItalic.tsx",children:(0,a.jsx)("g",{id:"Icon/Italic","data-sentry-element":"g","data-sentry-source-file":"TextItalic.tsx",children:(0,a.jsx)("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M6.50391 2.66667C6.50391 2.29848 6.80238 2 7.17057 2L11.8372 2C12.2054 2 12.5039 2.29848 12.5039 2.66667C12.5039 3.03486 12.2054 3.33333 11.8372 3.33333L10.0572 3.33333L8.30718 12.6667H9.83724C10.2054 12.6667 10.5039 12.9651 10.5039 13.3333C10.5039 13.7015 10.2054 14 9.83724 14H5.17057C4.80238 14 4.50391 13.7015 4.50391 13.3333C4.50391 12.9651 4.80238 12.6667 5.17057 12.6667H6.95062L8.70062 3.33333L7.17057 3.33333C6.80238 3.33333 6.50391 3.03486 6.50391 2.66667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextItalic.tsx"})})})}function nL(){return(0,a.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TextNumberedList","data-sentry-source-file":"TextNumberedList.tsx",children:[(0,a.jsx)("path",{d:"M7.33471 2.66661C6.96652 2.66661 6.66804 2.96509 6.66804 3.33328C6.66804 3.70147 6.96652 3.99994 7.33471 3.99994L13.3347 3.99994C13.7029 3.99994 14.0014 3.70147 14.0014 3.33328C14.0014 2.96509 13.7029 2.66661 13.3347 2.66661H7.33471Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextNumberedList.tsx"}),(0,a.jsx)("path",{d:"M6.66804 7.99994C6.66804 7.63175 6.96652 7.33328 7.33471 7.33328L13.3347 7.33328C13.7029 7.33328 14.0014 7.63175 14.0014 7.99994C14.0014 8.36813 13.7029 8.66661 13.3347 8.66661L7.33471 8.66661C6.96652 8.66661 6.66804 8.36813 6.66804 7.99994Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextNumberedList.tsx"}),(0,a.jsx)("path",{d:"M6.66804 12.6666C6.66804 12.2984 6.96652 11.9999 7.33471 11.9999H13.3347C13.7029 11.9999 14.0014 12.2984 14.0014 12.6666C14.0014 13.0348 13.7029 13.3333 13.3347 13.3333H7.33471C6.96652 13.3333 6.66804 13.0348 6.66804 12.6666Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextNumberedList.tsx"}),(0,a.jsx)("path",{d:"M3.64928 1.33327C3.86605 1.44928 4.00137 1.67519 4.00137 1.92106V4.58772H4.33471C4.7029 4.58772 5.00137 4.8862 5.00137 5.25439C5.00137 5.62258 4.7029 5.92105 4.33471 5.92105H2.33471C1.96652 5.92105 1.66804 5.62258 1.66804 5.25439C1.66804 4.8862 1.96652 4.58772 2.33471 4.58772H2.66804V3.1651C2.36606 3.33983 1.97624 3.25188 1.78001 2.95752C1.57577 2.65117 1.65855 2.23726 1.96491 2.03302L2.96491 1.36636C3.16948 1.22997 3.43251 1.21726 3.64928 1.33327Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextNumberedList.tsx"}),(0,a.jsx)("path",{d:"M3.46396 11.4053C3.33941 11.2808 3.14427 11.2615 2.99772 11.3592L2.70451 11.5546C2.39815 11.7589 1.98424 11.6761 1.78001 11.3697C1.57577 11.0634 1.65855 10.6495 1.96491 10.4452L2.25812 10.2498C2.9335 9.79951 3.8328 9.88856 4.40676 10.4625C5.07176 11.1275 5.07176 12.2057 4.40676 12.8707L3.94418 13.3333H4.33471C4.7029 13.3333 5.00137 13.6318 5.00137 13.9999C5.00137 14.3681 4.7029 14.6666 4.33471 14.6666H2.33471C2.06506 14.6666 1.82197 14.5042 1.71879 14.2551C1.6156 14.0059 1.67264 13.7192 1.8633 13.5285L3.46396 11.9279C3.60825 11.783
16 3.60825 11.5496 3.46396 11.4053Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextNumberedList.tsx"})]})}function nk(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TextSubscript","data-sentry-source-file":"TextSubscript.tsx",children:(0,a.jsx)("path",{d:"M9.61751 9.56577C10.4309 8.34571 12.2329 8.37216 13.0101 9.61558C13.4989 10.3977 13.3956 11.412 12.7591 12.0794L11.5579 13.3382H12.6673C13.0355 13.3382 13.3343 13.637 13.3343 14.0052C13.3343 14.3734 13.0355 14.6722 12.6673 14.6722H10.0013C9.73459 14.6722 9.49306 14.5131 9.38802 14.2679C9.28301 14.0227 9.33477 13.7383 9.51888 13.5453L11.7943 11.1595C12.0104 10.9329 12.0452 10.5882 11.8792 10.3226C11.6153 9.90034 11.0032 9.89081 10.7269 10.305L10.556 10.5628C10.3517 10.8691 9.93749 10.9516 9.63118 10.7474C9.32489 10.5432 9.24239 10.1289 9.44661 9.82261L9.61751 9.56577ZM6.8011 5.59995C7.02201 5.30565 7.43925 5.24646 7.73372 5.46714C8.02824 5.68803 8.08833 6.10521 7.86751 6.39976L6.16731 8.66636L7.86751 10.9339L7.9056 10.9906C8.07973 11.28 8.00976 11.6595 7.73372 11.8666C7.45762 12.0734 7.07398 12.0338 6.84505 11.7855L6.8011 11.7328L5.33431 9.77769L3.86751 11.7328C3.64666 12.0272 3.22943 12.0872 2.93489 11.8666C2.64044 11.6457 2.58046 11.2285 2.8011 10.9339L4.5013 8.66636L2.8011 6.39976C2.58032 6.10521 2.64039 5.68802 2.93489 5.46714C3.22935 5.24642 3.64658 5.30567 3.86751 5.59995L5.33431 7.55601L6.8011 5.59995Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextSubscript.tsx"})})}function nM(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TextSuperscript","data-sentry-source-file":"TextSuperscript.tsx",children:(0,a.jsx)("path",{d:"M6.80107 5.6008C7.02191 5.30634 7.43915 5.24634 7.73368 5.46701C8.02817 5.68788 8.08822 6.10509 7.86747 6.39963L6.16728 8.66721L7.86747 10.9338L7.90556 10.9905C8.07973 11.2798 8.00974 11.6594 7.73368 11.8664C7.45773 12.0732 7.074 12.0343 6.84501 11.7864L6.80107 11.7336L5.33427 9.77756L3.86747 11.7336C3.64655 12.0278 3.22929 12.0871 2.93486 11.8664C2.64038 11.6456 2.58036 11.2284 2.80107 10.9338L4.50126 8.66721L2.80107 6.39963C2.58036 6.10509 2.64038 5.68787 2.93486 5.46701C3.2294 5.24628 3.64661 5.30632 3.86747 5.6008L5.33427 7.55588L6.80107 5.6008ZM9.61747 2.23264C10.4309 1.01257 12.2329 1.03899 13.0101 2.28244C13.4988 3.06456 13.3956 4.07887 12.7591 4.74631L11.5579 6.0051H12.6673C13.0355 6.0051 13.3343 6.3039 13.3343 6.67209C13.3342 7.04019 13.0354 7.33811 12.6673 7.33811H10.0013C9.73462 7.33811 9.49306 7.17983 9.38798 6.93479C9.28299 6.68957 9.33477 6.40518 9.51884 6.21213L11.7942 3.82541C12.0101 3.59879 12.0449 3.25496 11.8792 2.98948C11.6152 2.56716 11.0031 2.55754 10.7268 2.9719L10.556 3.22873C10.3517 3.53508 9.9375 3.6185 9.63115 3.41428C9.32479 3.21004 9.24234 2.79583 9.44658 2.48948L9.61747 2.23264Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TextSuperscript.tsx"})})}function nP(){return(0,a.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Undo","data-sentry-source-file":"Undo.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.85813 2.04061L2.19147 4.70728C2.06385 4.83162 2.00004 4.98876 2.00004 5.17868C1.99848 5.33684 2.04354 5.50217 2.19147 5.65009L4.85813 8.31676C5.48667 8.9453 6.42948 8.00249 5.80094 7.37395L4.26033 5.83333H9C11.025 5.83333 12.6667 7.47495 12.6667 9.5C12.6667 11.525 11.025 13.1667 9 13.1667H5.33333C4.96514 13.1667 4.66667 13.4651 4.66667 13.8333C4.66667 14.2015 4.96514 14.5 5.33333 14.5H9C11.7614 14.5 14 12.2614 14 9.5C14 6.73857 11.7614 4.5 9 4.5H4.28437L5.80094 2.98342C6.42948 2.35488 5.48667 1.41207 4.85813 2.04061Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Undo.tsx"})})}function nN(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"VideoIcon","data-sentry-source-file":"VideoIcon.tsx",children:(0,a.jsx)("path",{d:"M20.5 3C20.768 3 21.0257 3.04303 21.2676 3.12109C22.1641 3.41015 22.8373 4.19116 22.9727 5.14648C22.9892 5.26259 23 5.38134 23 5.50195V18.498C23 19.8774 21.882 21 20.5 21H3.5C2.11929 21 1 19.8807 1 18.5V5.50195C1 4.12257 2.11796 3 3.5 3H20.5ZM3.5 5C3.22518 5 3 5.22449 3 5.50195V18.498C3 18.7061 3.12646 18.8849 3.30566 18.9609C3.3654 18.9862 3.43109 19 3.5 19H20.5C20.7748 19 21 18.7755 21 18.498V5.50195C21 5.22448 20.7748 5 20.5 5H3.5ZM10.377 9.12793C10.6096 8.99
1632 10.8948 8.99927 11.124 9.13672L14.835 11.3633C15.0585 11.4974 15.1953 11.7393 15.1953 12C15.1953 12.2607 15.0585 12.5026 14.835 12.6367L11.124 14.8633C10.8948 15.0007 10.6096 15.0037 10.377 14.8721C10.1443 14.7403 10 14.494 10 14.2266V9.77344C10 9.50605 10.1443 9.25967 10.377 9.12793Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"VideoIcon.tsx"})})}function nD(e){let{buttons:t=[]}=e;return(0,a.jsx)("div",{className:nI.buttonsContainer,"data-sentry-component":"IconButtonGroup","data-sentry-source-file":"IconButtonGroup.tsx",children:t.map((e,t)=>{let{icon:n,tooltip:o,...r}=e;return(0,a.jsx)(J.x,{disabled:!o,target:(0,a.jsx)(G.A,{className:nI.iconButton,...r,children:n}),title:o},t)})})}let nI={buttonsContainer:(0,o.style)({display:"flex",columnGap:u.Spacing.Micro/2}),iconButton:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",lineHeight:"0",$nest:{"&.active":{backgroundColor:u.StandardColors.ColorLightGray30,color:u.StandardColors.ColorDarkGray50},"&.disabled":{backgroundColor:"transparent"}}}))};var nT=n(42387);function nB(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Reset","data-sentry-source-file":"Reset.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.85813 1.54066L2.19147 4.20732C2.06385 4.33166 2.00004 4.4888 2.00004 4.67873C1.99848 4.83688 2.04354 5.00221 2.19147 5.15013L4.85813 7.8168C5.48667 8.44534 6.42948 7.50253 5.80094 6.87399L4.26033 5.33337H9C11.025 5.33337 12.6667 6.975 12.6667 9.00004C12.6667 11.0251 11.025 12.6667 9 12.6667H5.33333C4.96514 12.6667 4.66667 12.9652 4.66667 13.3334C4.66667 13.7016 4.96514 14 5.33333 14H9C11.7614 14 14 11.7615 14 9.00004C14 6.23862 11.7614 4.00004 9 4.00004H4.28437L5.80094 2.48346C6.42948 1.85492 5.48667 0.912116 4.85813 1.54066Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Reset.tsx"})})}function nA(e){let{onReset:t}=e;return(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:nH,onClick:t,children:(0,a.jsx)(nB,{})}),title:c.D.components.tooltips.reset,"data-sentry-element":"SoloTooltip","data-sentry-component":"SoloInputResetButton","data-sentry-source-file":"SoloInputResetButton.tsx"})}let nH="solo-input-reset ".concat(d.ButtonStyles.Secondary," ").concat((0,o.style)({position:"absolute",display:"flex",alignItems:"center",padding:d.Spacing.xSmall,right:d.Spacing.Micro,height:d.Spacing.xLarge+d.Spacing.Micro,top:"50%",transform:"translateY(-50%)",backgroundColor:"transparent"}));function nF(e){return!e||!e.replace(/\s/g,"").length}function nR(e){return"<p></p>"===e||nF(e)}function nV(e){return e.replace(RegExp("[^\\p{L}\\p{N}\\s,]","gu"),"")}function nW(e){var t;let n=c.D.data.pages;return e?"/"===e.path?n.homePage:(t=e.title).charAt(0).toUpperCase()+t.slice(1):""}function nE(e){let{size:t=20}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"LinkBroken","data-sentry-source-file":"LinkBroken.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00001 4.94454C9.55229 4.94454 10 4.49683 10 3.94454L10 2C10 1.44771 9.55229 1 9 1C8.44772 1 8 1.44772 8 2L8.00001 3.94454C8.00001 4.49683 8.44772 4.94454 9.00001 4.94454ZM3.43153 3.43154C3.04101 3.82207 3.04101 4.45523 3.43154 4.84576L5.37608 6.7903C5.7666 7.18082 6.39977 7.18082 6.79029 6.7903C7.18082 6.39977 7.18082 5.76661 6.79029 5.37609L4.84575 3.43154C4.45522 3.04102 3.82206 3.04102 3.43153 3.43154ZM2 10C1.44772 10 1 9.55229 1 9.00001C1 8.44772 1.44772 8.00001 2 8.00001L3.94454 8.00001C4.49683 8.00001 4.94454 8.44772 4.94454 9.00001C4.94454 9.55229 4.49683 10 3.94454 10H2ZM19.1213 9.12134C20.2929 7.94976 20.2929 6.05027 19.1213 4.87869C17.9498 3.70712 16.05 3.7074 14.8784 4.87897L10.9245 8.82978C10.9099 8.84646 10.8946 8.86277 10.8787 8.87868C9.70713 10.0503 9.70713 11.9497 10.8787 13.1213C11.2692 13.5118 11.2692 14.145 10.8787 14.5355C10.4882 14.9261 9.85502 14.9261 9.46449 14.535
15C7.52964 12.6007 7.51203 9.4746 9.41168 7.51806C9.42802 7.4991 9.44518 7.48061 9.46318 7.46263L13.4648 3.4642C15.4174 1.51186 18.583 1.51195 20.5355 3.46448C22.4881 5.41705 22.488 8.58291 20.5355 10.5355L19.3647 11.707C18.9742 12.0976 18.3411 12.0977 17.9504 11.7073C17.5598 11.3168 17.5597 10.6837 17.9501 10.2931L19.1213 9.12134ZM13.1214 15.1213C14.2929 13.9497 14.2929 12.0502 13.1214 10.8787C12.7309 10.4882 12.7309 9.85499 13.1214 9.46446C13.5119 9.07394 14.1451 9.07394 14.5356 9.46446C16.4881 11.417 16.4879 14.5829 14.5356 16.5355L10.5374 20.5368C10.5195 20.5548 10.501 20.5719 10.4821 20.5882C8.52556 22.488 5.3994 22.4704 3.4645 20.5355C1.51193 18.583 1.51204 15.4171 3.4645 13.4645L4.6354 12.293C5.02583 11.9024 5.659 11.9023 6.04961 12.2927C6.44022 12.6832 6.44037 13.3163 6.04993 13.7069L4.87872 14.8787C3.70714 16.0503 3.70714 17.9497 4.87872 19.1213C6.05029 20.2929 7.94978 20.2929 9.12136 19.1213C9.13723 19.1054 9.1535 19.0902 9.17015 19.0756L13.1214 15.1213ZM23 15C23 14.4477 22.5523 14 22 14H20.0555C19.5032 14 19.0555 14.4477 19.0555 15C19.0555 15.5523 19.5032 16 20.0555 16H22C22.5523 16 23 15.5523 23 15ZM20.5685 19.1543C20.959 19.5448 20.959 20.1779 20.5685 20.5685C20.1779 20.959 19.5448 20.959 19.1543 20.5685L17.2097 18.6239C16.8192 18.2334 16.8192 17.6002 17.2097 17.2097C17.6002 16.8192 18.2334 16.8192 18.6239 17.2097L20.5685 19.1543ZM14 20.0555C14 19.5032 14.4477 19.0555 15 19.0555C15.5523 19.0555 16 19.5032 16 20.0555L16 22C16 22.5523 15.5523 23 15 23C14.4477 23 14 22.5523 14 22L14 20.0555Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"LinkBroken.tsx"})})}var nZ=n(50153);function nG(e){return e.find(e=>e.type===N.WebsiteSectionType.Header)}function nO(e,t,n){let a=new Set(t.filter(e=>e.type===N.LinkType.Section&&e.pageId===n).map(e=>e.sectionID));return e.filter(e=>!a.has(e.id))}function nz(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=nG(e);if(!t||!n||t.id===n.id||!o)return;let[r]=nO([o],a,t.id);return r}function n$(e,t,n){var a;return{...e,pageId:e.pageId||(null==n?void 0:n.id),value:t.type,sectionID:t.id,label:null!=(a=e.label)?a:nW(n)}}function nU(e,t,n,a){let o=nG(t);return e.filter(e=>{if(e.pageType===N.PageType.Blog)return!1;let t=n.filter(t=>{let{id:n}=t;return e.sectionIds.includes(n)});return nO(o?[o,...t.filter(e=>e.id!==o.id)]:t,a,e.id).length>0})}var n_=n(70356);function nq(e){let t=e.pages.find(e=>e.pageType===N.PageType.Blog);if(!t)return null;let n=e.sections.find(e=>e.type===N.WebsiteSectionType.BlogFeed&&t.sectionIds.includes(e.id));if(!n)return null;let a=n.props;return{blogPage:t,blogFeedSection:n,blogTitle:a.title,blogPosts:a.blogPosts||[]}}let nQ="solo-button-preview-autoplay-hover";function nK(e){let t=e.$nest;if(!t)return e;let n={};for(let[e,a]of Object.entries(t))n[e===W.BUTTON_HOVER_SELECTOR?"".concat(e,", &.").concat(nQ):e]=a;return{...e,$nest:n}}function nY(e){var t,n;let{variant:s="card",buttonStyle:i,buttonSize:l=N.ButtonSize.Medium,sectionThemeMode:c,label:p="Button"}=e,{websiteSettings:m,resolvedTheme:g}=(0,j.Hb)(),y=(0,N.getButtonAnimationStyle)(m),x=(0,u.getButtonBorderRadius)(m.buttonCornerStyle),{fontFamilyCss:h}=(0,Z.G)(m.fonts.bodyFont.fontName),[C,f]=(0,r.useState)(!1),S=(0,r.useRef)(!0);(0,r.useEffect)(()=>{var e,t,n;if(S.current){S.current=!1;return}if(null==(t=(n=window).matchMedia)||null==(e=t.call(n,"(prefers-reduced-motion: reduce)"))?void 0:e.matches)return;let a=0,o=0;return a=window.requestAnimationFrame(()=>{a=window.requestAnimationFrame(()=>{f(!0),o=window.setTimeout(()=>f(!1),y===N.ButtonAnimationStyle.Darken?260:400)})}),()=>{window.cancelAnimationFrame(a),window.clearTimeout(o),f(!1)}},[y]);let v=null!=g?g:W.DEFAULT_RESOLVED_THEME,{solidColors:b,outlinedColors:w,surface:L}=(n=null!=(t=v.modes[null!=c?c:"base"])?t:v.modes.base,{solidColors:(0,W.solidButtonColorsFromTokens)(n),outlinedColors:(0,W.outlinedButtonColorsFromTokens)(n),surface:n["section.surface"]});(0,r.useLayoutEffect)(()=>{(0,o.forceRenderStyles)()});let k="banner"===s?l===N.ButtonSize.Large?{fontSize:20,paddingInline:d.Spacing.xLarge,paddingBlock:d.Spacing.Medium}:{fontSize:16,paddingInline:d.Spacing.Large+d.Spacing.Micro,paddingBlock:d.Spacing.Small+1}:{fontSize:12.8,paddingInline:d.Spacing.Large,paddingBlock:6.4,minHeight:32},M=(0,o.style)({display:"inline-flex",alignItems:"center",justifyContent:"center",border:"none",borderRadius:x,fontWeight:500,lineHeight:1.2,cursor:"pointer",...k}),P={[N.ButtonStyle.Solid]:(0,o.style)(nK((0,W.buildSolidButtonStyles)(b,y))),[N.ButtonStyle.Outlined]:(0,o.style)(nK((0,W.buildOutlinedButtonStyles)(w,y)))}
1,D=i?[i]:[N.ButtonStyle.Solid,N.ButtonStyle.Outlined];return(0,a.jsx)("div",{className:"".concat(nJ.base," ").concat(nJ[s]),style:{backgroundColor:L},"data-sentry-component":"ButtonPreview","data-sentry-source-file":"ButtonPreview.tsx",children:D.map(e=>(0,a.jsx)("button",{type:"button",className:"".concat(M," ").concat(P[e]," ").concat(C?nQ:"").trim(),style:{fontFamily:null!=h?h:void 0},children:p},e))})}let nX="rgba(0, 0, 0, 0.12)",nJ={base:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",gap:d.Spacing.Large,overflow:"hidden"}),card:(0,o.style)({minHeight:80,padding:d.Spacing.Large,borderRadius:4,boxShadow:"inset 0 0 0 1px ".concat(nX)}),banner:(0,o.style)({minHeight:112,paddingBlock:d.Spacing.xLarge,marginInline:-d.Spacing.xLarge,marginBottom:d.Spacing.Large,boxShadow:"inset 0 1px 0 0 ".concat(nX,", inset 0 -1px 0 0 ").concat(nX)})};function n1(e){let t=c.D.views.designer.components.properties.buttonSizePropertySection;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:"mt-3 mb-1","data-sentry-element":"Row","data-sentry-source-file":"ButtonSizeSelectionDropdown.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ButtonSizeSelectionDropdown.tsx",children:t.title})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ButtonSizeSelectionDropdown.tsx",children:(0,a.jsx)(k.A,{className:n3.dropdown,"data-sentry-element":"Col","data-sentry-source-file":"ButtonSizeSelectionDropdown.tsx",children:(0,a.jsx)(n0,{...e,"data-sentry-element":"StyleDropdownSelector","data-sentry-source-file":"ButtonSizeSelectionDropdown.tsx"})})})]})}function n0(e){let{selectedButtonSize:t,onButtonSizeChanged:n,supportedButtonSizes:o=Object.values(N.ButtonSize)}=e,r=c.D.views.designer.components.properties.buttonSizePropertySection;return(0,a.jsx)(nT.V,{selectedValue:t||N.ButtonSize.Large,values:o,itemTemplate:e=>{var t;return(0,a.jsx)("div",{className:"item-template ".concat(d.ContainerStyles.VerticallyCenter),children:e?null==(t=r.buttonSizes.find(t=>t.buttonSize===e))?void 0:t.label:""})},onValueChanged:n,"data-sentry-element":"DropdownSelector","data-sentry-component":"StyleDropdownSelector","data-sentry-source-file":"ButtonSizeSelectionDropdown.tsx"})}let n3={dropdown:(0,o.style)({maxWidth:180,$nest:{".item-template":{paddingInline:d.Spacing.Micro}}})};function n2(e){let{doubleLine:t=!1,labelText:n,...o}=e,r=c.D.views.designer.components.properties.buttonStylePropertySection;return t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:"mt-3 mb-1",children:(0,a.jsx)(k.A,{children:null!=n?n:r.title})}),(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{className:n5.dropdown,children:(0,a.jsx)(n6,{...o})})})]}):(0,a.jsxs)(L.A,{className:"gx-0 d-flex align-items-center","data-sentry-element":"Row","data-sentry-component":"ButtonStyleSelectionDropdown","data-sentry-source-file":"ButtonStyleSelectionDropdown.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ButtonStyleSelectionDropdown.tsx",children:null!=n?n:r.title}),(0,a.jsx)(k.A,{className:n5.dropdown,"data-sentry-element":"Col","data-sentry-source-file":"ButtonStyleSelectionDropdown.tsx",children:(0,a.jsx)(n6,{...o,"data-sentry-element":"StyleDropdownSelector","data-sentry-source-file":"ButtonStyleSelectionDropdown.tsx"})})]})}function n6(e){let{selectedButtonStyle:t,onButtonStyleChanged:n,supportedButtonStyles:o=Object.values(N.ButtonStyle)}=e,r=c.D.views.designer.components.properties.buttonStylePropertySection;return(0,a.jsx)(nT.V,{selectedValue:t||N.ButtonStyle.Solid,values:o,itemTemplate:e=>{var t;return(0,a.jsx)("div",{className:"item-template ".concat(d.ContainerStyles.VerticallyCenter),children:e?null==(t=r.buttonStyles.find(t=>t.buttonStyle===e))?void 0:t.label:""})},onValueChanged:n,"data-sentry-element":"DropdownSelector","data-sentry-component":"StyleDropdownSelector","data-sentry-source-file":"ButtonStyleSelectionDropdown.tsx"})}let n5={dropdown:(0,o.style)({maxWidth:180,$nest:{".item-template":{paddingInline:d.Spacing.Micro}}})};function n4(e){let{options:t,selectedValue:n,onValueChanged:o}=e;return(0,a.jsx)("div",{className:n7.container,"data-sentry-component":"SegmentedControl","data-sentry-source-file":"SegmentedControl.tsx",children:t.map(e=>(0,a.jsx)(G.A,{active:e.value===n,onClick:()=>o(e.value),className:n7.segment,children:e.label},e.value))})}let n7={container:(0,o.style)({display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:d.Spacing.Micro,width:"100%"}),segment:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",color:d.StandardColors.ColorDarkGray05,paddingInline:d.Spacing.Medium,paddingBlock:d.Spacing.Small,fontWeight:500,$nest:{"&:hover":{backgroundColor:d.StandardColors.ColorLightGray20},"&.active":{backgroundColor:d.StandardColors.ColorLightGray30,color:d.StandardColors.ColorDarkGray05},"&.disabled":{backgroundColor:"transparent"}}}))};function n9(e){var t,n,o;let{title:s,link:i,onLinkChanged:l,availableSections:p,existingLinks:m,supportedLinkTypes:u,className:g,labelCharLimit:y,showEditLabel:x=!0,onRemoveLink:h,buttonStyle:C,onButtonStyleChanged:f,showButtonSizeSelector:S,buttonSize:v,onButtonSizeChanged:b,useSegmentedButtonControls:M=!1,showButtonPreview:P=!1,sectionThemeMode:D,...I}=e,{websiteSettings:T,currentPage:B}=(0,j.Hb)(),A=c.D.views.designer.components.properties.linkComposeDialog,H=c.D.views.designer.components.properties.buttonStylePropertySection,F=c.D.views.designer.components.properties.buttonSizePropertySection,R=T.pages.length>1,V=(t=T,n=i,o=p,(0,r.useMemo)(()=>{let e=new Set((0,Q.af)(o||[]).map(e=>{let{id:t}=e;return t})),a=(0,N.getSectionFromLink)(n,t.sections);return a&&e.add(a.id),t.sections.filter(t=>{let{id:n}=t;return e.has(n)})},[n,t.sections,o])),[E,Z]=(0,r.useState)(en(i)),[O,z]=(0,r.useState)(!0),[$,U]=(0,r.useState)(!0),[_,q]=(0,r.useState)(!0),[
1K,Y]=(0,r.useState)(!1),X=(0,r.useRef)(null),J=E.type===N.LinkType.Blog?E.blogPostId:void 0;function ee(){return(E.type===N.LinkType.Email||E.type===N.LinkType.Phone||E.type===N.LinkType.Section||E.type===N.LinkType.Blog&&!E.blogPostId)&&E.label!==et()}function et(){let e=(0,W.getLocaleStrings)(T.language).links;switch(E.type){case N.LinkType.Email:return e.emailLabel;case N.LinkType.Phone:return e.phoneLabel;case N.LinkType.Section:if(E.sectionID===T.sections[0].id)return nW(T.pages.find(e=>e.id==E.pageId));return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.Language.English;return(0,W.getLocaleStrings)(t).sectionDefaults[e].linkLabel}(E.value,T.language);case N.LinkType.Blog:if(!E.blogPostId)return e.blogLabel;return"";default:return""}}function en(e){let t=(0,W.getLocaleStrings)(T.language);switch(e.type){case N.LinkType.None:return{type:N.LinkType.Web,label:"",value:""};case N.LinkType.Section:{let t=T.pages.find(e=>"/"===e.path);return function(e,t,n,a,o,r){let s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],i=null!=n?n:a,l=nz(t,n,a,s);if(!r.sectionID&&l)return n$(r,l,i);if(e.length>0){var c;let t=null!=(c=e.find(e=>e.id===(null==n?void 0:n.sectionIds[1])))?c:e[0],a=(0,W.getLocaleStrings)(o).sectionDefaults;return{...r,pageId:r.pageId||(null==i?void 0:i.id),value:r.value||t.type,label:void 0!==r.label?r.label:a[t.type].linkLabel,sectionID:r.sectionID||t.id}}let d=nG(t);return d?n$(r,d,i):r}(V,T.sections,B,t,T.language,e,m)}case N.LinkType.Email:return{...e,label:e.label||t.links.emailLabel};case N.LinkType.Social:return{...e,label:e.label||"",value:e.value||"",socialMediaType:e.socialMediaType||""};case N.LinkType.Web:return{...e,label:e.label||"",value:e.value||""};case N.LinkType.Phone:return{...e,label:e.label||t.links.phoneLabel,value:e.value||""};case N.LinkType.Blog:{var n;let a=nq(T);if(!a)return e;return{...e,blogPageId:e.blogPageId||a.blogPage.id,...null!=e.blogPostId&&{blogPostId:e.blogPostId},value:e.value||a.blogPage.path,label:null!=(n=e.label)?n:e.blogPostId?"":t.links.blogLabel}}default:return e}}(0,r.useEffect)(()=>{if(J){var e;null==(e=X.current)||e.focus()}},[J]);let ea=E.type!==N.LinkType.None&&!!E.value&&!(x&&nF(E.label))&&(E.type!==N.LinkType.Email||O)&&(E.type!==N.LinkType.Phone||$)&&(E.type!==N.LinkType.Web||_);return(0,a.jsxs)(ty.y,{title:s,onSave:async()=>{l(E)},canDismiss:ea,...I,className:"".concat(g||""," ").concat(ar.dialog),autoFocus:!1,centered:!0,"data-sentry-element":"ModalDialog","data-sentry-component":"LinkComposeDialog","data-sentry-source-file":"LinkComposeDialog.tsx",children:[P&&(0,a.jsx)(nY,{variant:"banner",buttonStyle:null!=C?C:N.ButtonStyle.Solid,buttonSize:null!=v?v:N.ButtonSize.Large,sectionThemeMode:D,label:E.label||void 0}),(0,a.jsxs)(w.A,{className:d.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"LinkComposeDialog.tsx",children:[(0,a.jsx)(L.A,{className:"mb-1","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:A.linksTo})}),(0,a.jsxs)(L.A,{className:"pb-0","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:[(0,a.jsx)(n8,{selectedLinkType:E.type,onLinkTypeChanged:e=>{Z(en({type:e}))},supportedLinkTypes:u,multiPage:R,"data-sentry-element":"LinksToDropdown","data-sentry-source-file":"LinkComposeDialog.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"LinkComposeDialog.tsx"})]}),E.type===N.LinkType.Section&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ae,{link:E,availableSections:V,existingLinks:m,onSectionChanged:(e,t,n)=>{Z({...E,value:e.type,pageId:n,sectionID:e.id,label:t})},multiPage:R}),(0,a.jsx)(eu.c,{})]}),E.type===N.LinkType.Web&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(at,{localLink:E,setLocalLink:e=>Z(e),webLinkValid:_,setWebLinkValid:q}),(0,a.jsx)(eu.c,{})]}),E.type===N.LinkType.Email&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(an,{value:E.value||"",invalid:!O,valid:void 0!=E.value&&O,onChange:e=>{z((0,n_.DT)(e.target.value)),Z({...E,value:e.target.value})}}),(0,a.jsx)(eu.c,{})]}),E.type===N.LinkType.Phone&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(aa,{value:E.value||"",invalid:!$,valid:void 0!=E.value&&$,onChange:e=>{U((0,n_.Q7)(e.target.value)),Z({...E,value:e.target.value})}}),(0,a.jsx)(eu.c,{})]}),E.type===N.LinkType.Blog&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ao,{link:E,onBlogLinkChanged:(e,t,n)=>{let{blogPostId:a,...o}=E;Z({...o,...null!=e&&{blogPostId:e},label:t,value:n})}}),(0,a.jsx)(eu.c,{})]}),x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.A,{className:"mt-3 mb-1 ".concat(ar.labelInput),children:[(0,a.jsx)(k.A,{children:A.label}),(0,a.jsx)(k.A,{className:"justify-content-end",children:(0,a.jsx)(th,{maxLimit:y||tg.H.navLink,currentText:E.label||"",visible:K})})]}),(0,a.jsx)(L.A,{children:(0,a.jsxs)(k.A,{className:"position-relative ".concat(ar.labelInput),children:[(0,a.jsx)(tf.g,{innerRef:X,className:"".concat(ee()?"pe-5":""),type:"text",value:E.label||"",maxLength:y||tg.H.navLink,onFocus:()=>Y(!0),onBlur:()=>Y(!1),onChange:e=>Z({...E,label:e.target.value})}),ee()&&(0,a.jsx)(nA,{onReset:function(){Z({...E,label:et()})}})]})}),(0,a.jsx)(eu.c,{})]}),C&&f&&(M?(0,a.jsxs)(L.A,{className:"mt-3 gx-0 align-items-center",children:[(0,a.jsx)(k.A,{children:H.title}),(0,a.jsx)(k.A,{className:ar.segmentedControl,children:(0,a.jsx)(n4,{options:H.buttonStyles.map(e=>({value:e.buttonStyle,label:e.label})),selectedValue:C||N.ButtonStyle.Solid,onValueChanged:f})})]}):(0,a.jsx)(n2,{selectedButtonStyle:C||N.ButtonStyle.Solid,onButtonStyleChanged:f,doubleLine:!0})),S&&b&&(M?(0,a.jsxs)(L.A,{className:"mt-3 gx-0 align-items-center",children:[(0,a.jsx)(k.A,{children:F.title}),(0,a.jsx)(k.A,{className:ar.segmentedControl,children:(0,a.jsx)(n4,{options:F.buttonSizes.map(e=>({value:e.buttonSize,label:e.label})),selectedValue:v||N.ButtonSize.Large,onValueChanged:b})})]}):(0,a.jsx)(n1,{selectedButtonSize:v||N.ButtonSize.Large,onButtonSizeChanged:b})),h&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{}),(0,a.jsxs)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:h,children:[(0,a.jsx)(nE,{}),(0,a.jsx)("span",{className:ar.removeLinkText,children:A.removeLink})]})]})]})]})}function n8(e){let{supportedLinkTypes:t,selectedLinkType:n,onLinkTypeChanged:o,multiPage:r=!1}=e,s=c.D.views.designer.components.properties.linkComposeDialog;return(0,a.jsx)(k.A,{className:ar.dropdown,"data-sentry-element":"Col","data-sentry-component":"LinksToDropdown","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(nT.V,{selectedValue:n,values:t.filter(e=>e!==N.LinkType.None),itemTemplate:e=>{var t;return(0,a.jsx)("div",{className:"item-template ".concat(d.ContainerStyles.VerticallyCenter),children:e?e===N.LinkType.Section&&r?s.sectionLinkMultipage.option:(null==(t=s.linkTypes.find(t=>t.type===e))?void 0:t.option)||"":""})},onValueChanged:e=>{o(e)},"data-sentry-element":"DropdownSelector","data-sentry-source-file":"LinkComposeDialog.tsx"})})}function ae(e){var t,n,o;let{link:s,onSectionChanged:i,availableSections:l,existingLinks:p,multiPage:m}=e,{websiteSettings:u,currentPage:g}=(0,j.Hb)(),{pages:y}=u,x=null!=m?m:y.length>
11,[h,C]=(0,r.useState)(null!=(n=(0,W.getPageById)(null!=(t=s.pageId)?t:"",u.pages))?n:g),f=c.D.views.designer.components.properties.linkComposeDialog,S=(0,r.useMemo)(()=>(0,N.getSectionFromLink)(s,u.sections),[s,u.sections]),v=nG(u.sections),b=(0,r.useMemo)(()=>l.filter(e=>{let{id:t}=e;return!!h&&h.sectionIds.includes(t)}),[null==h?void 0:h.id,l]),M=(0,r.useMemo)(()=>{var e;let t=v?[v,...b]:b;return nO((0,nZ.Af)(t,e=>e.id),null!=p?p:[],null!=(e=null==h?void 0:h.id)?e:"")},[b,p,null==h?void 0:h.id,v]),P=(0,r.useMemo)(()=>nU(y,u.sections,l,null!=p?p:[]),[y,u.sections,l,p]);function D(e){var t;let n=v?[v,...l.filter(t=>{let{id:n}=t;return e.sectionIds.includes(n)})]:l.filter(t=>{let{id:n}=t;return e.sectionIds.includes(n)});return null!=(t=nO((0,nZ.Af)(n,e=>e.id),null!=p?p:[],e.id)[0])?t:v}if((0,r.useEffect)(()=>{if(h&&P.length>0&&!P.find(e=>e.id===h.id)){let e=P[0];C(e);let t=D(e);i(t,I(e,t),e.id)}},[P,h]),!h||s.type!==N.LinkType.Section)return null;function I(e,t){return t.type===N.WebsiteSectionType.Header?nW(e):(0,Q.Z9)(t,u.language)}return(0,a.jsxs)(w.A,{className:"".concat(d.ContainerStyles.NoSpacing," d-flex flex-row gap-3"),"data-sentry-element":"Container","data-sentry-component":"SectionLinkDropdown","data-sentry-source-file":"LinkComposeDialog.tsx",children:[x&&(0,a.jsxs)(k.A,{className:"d-flex flex-column",children:[(0,a.jsx)(L.A,{className:"m-0 mb-1",children:(0,a.jsx)(k.A,{className:"p-0",children:f.pageLabel})}),(0,a.jsx)(L.A,{className:"m-0",children:(0,a.jsx)(k.A,{className:ar.dropdown,children:(0,a.jsx)(nT.V,{selectedValue:h,values:P,itemTemplate:e=>{let t=nW(e);return(0,a.jsx)("div",{className:"item-template ".concat(d.ContainerStyles.VerticallyCenter),title:t,children:t})},onValueChanged:e=>{C(e);let t=D(e);i(t,I(e,t),e.id)}})})})]}),(0,a.jsxs)(k.A,{className:"d-flex flex-column","data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:[(0,a.jsx)(L.A,{className:"ms-0 mb-1","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{className:"d-flex p-0","data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:(null==(o=f.linkTypes.find(e=>e.type===N.LinkType.Section))?void 0:o.label)||""})}),(0,a.jsx)(L.A,{className:"m-0","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{className:ar.dropdown,"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(nT.V,{selectedValue:S,values:M,itemTemplate:e=>(0,a.jsx)("div",{className:"item-template ".concat(d.ContainerStyles.VerticallyCenter),children:e?e.type===N.WebsiteSectionType.Header?f.topOfPageLabel:(0,Q.FV)(e):""}),onValueChanged:e=>{i(e,I(h,e),h.id)},"data-sentry-element":"DropdownSelector","data-sentry-source-file":"LinkComposeDialog.tsx"})})})]})]})}function at(e){var t;let{localLink:n,setLocalLink:o,webLinkValid:s,setWebLinkValid:i}=e,[l,d]=(0,r.useState)(N.LinkAcceptanceState.Pending),[p,m]=(0,r.useState)(!1),u=l===N.LinkAcceptanceState.Unsafe,g=l===N.LinkAcceptanceState.Safe,y=c.D.views.designer.components.properties.linkComposeDialog,x=y.webRiskValidationStates,h=async()=>{d(N.LinkAcceptanceState.Pending)},C=async e=>{if(e&&(0,t$.YT)(e)){m(!0),i(!1),d(N.LinkAcceptanceState.Checking);try{try{if(!await tG(e)){d(N.LinkAcceptanceState.Unsafe),i(!1),m(!1);return}}catch(e){console.error("External domains check failed:",e)}let t=await tz(e);d(t),i(t===N.LinkAcceptanceState.Safe)}catch(e){d(N.LinkAcceptanceState.Failed)}m(!1)}},f=async e=>{if(s)return;let t=(0,t$.YT)(e.target.value),a=t?e.target.value:(0,t$.VO)(e.target.value);return t||o({...n,value:a}),C(a)},{debouncedFunction:S}=(0,tW.d7)(e=>C(e),750);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:"mb-1","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:null==(t=y.linkTypes.find(e=>e.type===N.LinkType.Web))?void 0:t.label})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",value:n.value||"",maxLength:tg.H.externalUrl,autoFocus:!0,valid:g,invali
1d:u,inProgress:p,onChange:e=>{let t=e.target.value;o({...n,value:t}),i(!1),S(t)},onFocus:h,onBlur:f,"data-sentry-element":"SoloInput","data-sentry-source-file":"LinkComposeDialog.tsx"})})}),(0,a.jsx)("div",{className:"".concat(ar.labelDescription),children:x[l]})]})}function an(e){var t;let n=c.D.views.designer.components.properties.linkComposeDialog;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:"mb-1","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:null==(t=n.linkTypes.find(e=>e.type===N.LinkType.Email))?void 0:t.label})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(tf.g,{autoFocus:!0,type:"text",maxLength:tg.H.email,...e,"data-sentry-element":"SoloInput","data-sentry-source-file":"LinkComposeDialog.tsx"})})})]})}function aa(e){var t;let n=c.D.views.designer.components.properties.linkComposeDialog;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:"mb-1","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:null==(t=n.linkTypes.find(e=>e.type===N.LinkType.Phone))?void 0:t.label})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(tf.g,{autoFocus:!0,t
1ype:"text",maxLength:tg.H.phoneNumber,...e,"data-sentry-element":"SoloInput","data-sentry-source-file":"LinkComposeDialog.tsx"})})})]})}function ao(e){var t;let{link:n,onBlogLinkChanged:o}=e,{websiteSettings:r}=(0,j.Hb)(),s=c.D.views.designer.components.properties.linkComposeDialog,i=nq(r);if(!i||n.type!==N.LinkType.Blog)return null;let{blogPage:l,blogPosts:p}=i,m={id:"__main__",title:s.blogLinkDropdown.blogMainPageLabel,isMainPage:!0},u=p.map(e=>({id:e.id,title:e.title,isMainPage:!1,blogPost:e})),g={id:"__header__",title:s.blogLinkDropdown.blogPostsHeader,isMainPage:!1,isHeader:!0},y=p.length>0?[m,g,...u]:[m],x=y.find(e=>!e.isHeader&&(n.blogPostId?e.id===n.blogPostId:e.isMainPage))||m;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:"mb-1","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:null==(t=s.linkTypes.find(e=>e.type===N.LinkType.Blog))?void 0:t.label})}),(0,a.jsx)(L.A,{className:"mb-0","data-sentry-element":"Row","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(k.A,{className:ar.blogDropdown,"data-sentry-element":"Col","data-sentry-source-file":"LinkComposeDialog.tsx",children:(0,a.jsx)(nT.V,{selectedValue:x,values:y,itemTemplate:e=>e?e.isHeader?(0,a.jsxs)("div",{className:"item-template blog-post-header-item ".concat(ar.blogPostHeaderItem),children:[(0,a.jsx)("div",{className:ar.blogDropdownSeparator}),(0,a.jsx)("div",{className:ar.blogPostsHeader,children:e.title})]}):(0,a.jsx)("div",{className:"item-template ".concat(d.ContainerStyles.VerticallyCenter),children:e.isMainPage?e.title:(0,a.jsx)("div",{className:ar.blogPostItem,children:(0,a.jsx)("div",{className:ar.blogPostTitle,children:e.title})})}):(0,a.jsx)(a.Fragment,{}),onValueChanged:e=>{if(e.isHeader)return;let t=(0,W.getLocaleStrings)(r.language);e.isMainPage?o(void 0,t.links.blogLabel,l.path):o(e.id,"",function(e){let t=p.find(t=>t.id===e);return t?(0,E.getBlogPostPath)(t):l.path}(e.id))},"data-sentry-element":"DropdownSelector","data-sentry-source-file":"LinkComposeDialog.tsx"})})})]})}let ar={segmentedControl:(0,o.style)({maxWidth:180,marginLeft:"auto"}),dialog:(0,o.style)({width:440,$nest:{".modal-body":{padding:24,overflow:"visible"}}}),dropdown:(0,o.style)({maxWidth:180,padding:0,$nest:{".item-template":{display:"block",paddingInline:d.Spacing.Micro,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",height:"100%"}}}),blogDropdown:(0,o.style)({padding:0,$nest:{".item-template":{display:"block",paddingInline:d.Spacing.Micro,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",height:"100%"}}}),blogDropdownSeparator:(0,o.style)({height:1,backgroundColor:d.StandardColors.ColorLightGray20,marginTop:d.Spacing.Micro,marginBottom:d.Spacing.Small,marginInline:-d.Spacing.Micro}),blogPostsHeader:(0,o.style)({fontSize:10,fontWeight:600,textTransform:"uppercase",color:d.StandardColors.ColorDarkGray05,letterSpacing:"0.05em",marginBottom:d.Spacing.Micro}),blogPostHeaderItem:(0,o.style)({pointerEvents:"none",cursor:"default"}),blogPostItem:(0,o.style)({display:"flex",flexDirection:"column"}),blogPostTitle:(0,o.style)({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),labelInput:(0,o.style)({maxWidth:180,$nest:{".form-control.is-valid, .form-control.is-invalid":{backgroundSize:"16px !important"}}}),labelDescription:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:11,lineHeight:"".concat(d.Spacing.Large,"px"),textAlign:"left",overflow:"hidden",paddingTop:d.Spacing.Small,whiteSpace:"pre-line",color:d.StandardColors.ColorDarkGray05,$nest:{".approved":{color:d.StandardColors.ColorGreen70},".warning":{color:d.StandardColors.ColorRed60}}})),removeLinkText:(0,o.style)({marginLeft:"0.5em"})};var as=n(36701);n(57858);var ai=n(34520),al=n(3049),ac=n(43807),ad=n(68501),ap=n(24693),am=n(94214),au=n(88461),ag=n(857);async function ay(e){try{let t=(0,ag.O5)(e),n=t.lsd.width,a=t.lsd.height,o=(0,ag.Ud)(t,!1).length||1;return{width:n,height:a,frameCount:o}}catch(e){return console.warn("[GIF] Error parsing GIF file:",e),null}}var ax=function(e){return e[e.None=0]="None",e[e.UploadFailed=1]="UploadFailed",e[e.SizeExceeded=2]="SizeExceeded",e[e.InvalidFileType=3]="InvalidFileType",e[e.ImageQuotaExceeded=4]="ImageQuotaExceeded",e}({}),ah=n(60691);function aC(e){let{isOpen:t,errorType:n,customMessage:o,customTitle:r,onClose:s,className:i,...l}=e,d=c.D.views.designer.components.properties.imageSelectionDialog.errors,{ownerPlanType:p}=(0,ad.dp)(),{title:m,message:y}=function(e,t){let n=c.D.views.designer.components.properties.imageSelectionDialog.errors;switch(e){case ax.ImageQuotaExceeded:return n.quotaExceeded(t);case ax.InvalidFileType:case ax.SizeExceeded:return n.invalidFileType;default:return n.generalError}}(n,(0,ah.N9)(p)),x=o?(0,a.jsx)("div",{style:{whiteSpace:"pre-line"},children:o}):y;return(0,a.jsx)(g.w,{isOpen:t,icon:(0,a.jsx)("div",{style:{color:u.StandardColors.ColorDarkGray05},children:(0,a.jsx)(e4.F,{})}),title:r||m,message:x,buttons:[{type:g.o.Primary,text:d.ok,onClick:s}],className:"".concat(af.container," ").concat(i||""),...l,"data-sentry-element":"MessageBoxModal","data-sentry-component":"UploadImagesErrorModal","data-sentry-source-file":"UploadImagesErrorModal.tsx"})}let af={container:{maxWidth:440,paddingTop:400,$nest:{".modal-dialog":{paddingTop:300},svg:{color:u.StandardColors.ColorDarkGray05}}}};var aS=function(e){return e[e.NotStarted=0]="NotStarted",e[e.InProgress=1]="InProgress",e[e.Rejected=2]="Rejected",e[e.Failed=3]="Failed",e[e.Completed=4]="Completed",e}({});let av=(0,r.createContext)({imageSelectionMode:N.ImageSelectionMode.Unsplash});function ab(){return(0,r.useContext)(av)}function aj(e){var t;let{imageKeywords:n,selectedImage:o,initialModeOverride:s,currentEditingImage:i,onCurrentImageDeleted:l,children:d}=e,{websiteSettings:p}=(0,j.Hb)(),{showPlanNotificationModal:m}=(0,ad.dp)(),{hasReachedImagesLimit:u,getMaxAllowedImagesCount:g,canUsePexels:y}=(0,ap.o7)(),{db:h,storage:C}=(0,am.T)(),{user:f,isLoggedIn:S}=(0,x.uM)(),{documentStatus:v}=(0,M.SY)(),[b,w]=(0,r.useState)([]),[L,k]=(0,r.useState)([]),[D,I]=(0,r.useState)((t=o)&&b.find(e=>(0,N.areImagesEqual)(t,e))&&L.find(e=>(0,N.areImagesEqual)(t,e))?t:b[0]),[T,B]=(0,r.useState)(""),[A,H]=(0,r.useState)(""),[F,R]=(0,r.useState)(!1),[V,W]=(0,r.useState)(!1),[E,Z]=(0,r.useState)(!1),[G,O]=(0,r.useState)(0),[z,$]=(0,r.useState)(0),[U,_]=(0,r.useState)(0),[q,Q]=(0,r.useState)(function(){if(o&&!(0,N.isEmptyImage)(o))switch(o.provider){case N.ImageProvider.Custom:return N.ImageSelectionMode.MyImages;case N.ImageProvider.Pexels:return y()?N.ImageSelectionMode.Pexels:N.ImageSelectionMode.Unsplash;case N.ImageProvider.Unsplash:return N.ImageSelectionMode.Unsplash}return void 0!==s?s!==N.ImageSelectionMode.Pexels||y()?s:N.ImageSelectionMode.Unsplash:n?N.ImageSelectionMode.Unsplash:N.ImageSelectionMode.Upload}()),[K,Y]=(0,r.useState)({uploadResults:[]}),X=(0,r.useRef)(!1),J=K.uploadResults.filter(e=>{let{error:t}=e;return t!==ax.None}),ee=J.map(e=>e.error),[et,en]=(0,r.useState)();(0,r.useEffect)(()=>{D&&b.find(e=>(0,N.areImagesEqual)(D,e))&&L.find(e=>(0,N.areImagesEqual)(D,e))||I(b[0])},[b]),(0,r.useEffect)(()=>
1{if(!S||v!==M.Ai.Ready)return;let e=(0,P.H9)(h,N.Collections.WebsiteImages,p.id);return(0,P.aQ)(e,e=>{let t=e.data();if(!t||!t.imageData)return;let n=t.modifiedAt;if(!n||et&&et.toMillis()-n.toMillis()>0)return;en(n);let a=(t&&t.imageData||[]).filter(e=>e.uploadSuccessful).map(e=>e.image).sort((e,t)=>{let n=new Date(e.created_at||"2000-01-01");return new Date(t.created_at||"2000-01-01").valueOf()-n.valueOf()});k(a),er(a)})},[S,v]),(0,r.useEffect)(()=>{X.current&&!V&&L.length&&(er(L),X.current=!1)},[L,V]);let ea=(0,r.useRef)(!1),eo=(0,r.useRef)(!0);function er(e){let t=(e||[]).sort((e,t)=>{let n=new Date(e.created_at||"2000-01-01");return new Date(t.created_at||"2000-01-01").valueOf()-n.valueOf()});if(X.current&&t.length)I(t[0]);else if(X.current)return;else if(t&&t.length)D&&D.provider===N.ImageProvider.Custom&&I(t.find(e=>(0,N.areImagesEqual)(D,e))||t[0]||b[0]);else{let e=s===N.ImageSelectionMode.MyImages?N.ImageSelectionMode.Upload:N.ImageSelectionMode.Unsplash;Q(e),e===N.ImageSelectionMode.Unsplash&&b&&b.length&&I(b[0])}}async function es(){let e=(0,P.H9)(h,N.Collections.WebsiteImages,p.id),t=await (0,P.x7)(e),n=(0,P.O5)();if(!t.exists()){let t={userId:null==f?void 0:f.firebaseUser.uid,version:M.Nu,createdAt:n,modifiedAt:n,imageData:[],deletedImageData:[]};await (0,P.BN)(e,t)}}async function ei(e,t){let n=(0,P.H9)(h,N.Collections.WebsiteImages,p.id),a=0,o={};return new Promise((r,s)=>{let i=(0,P.aQ)(n,n=>{let s=n.data();if(!s||!s.imageData)return;let l=s.modifiedAt;!l||et&&et.toMillis()-l.toMillis()>0||(en(l),s.imageData.forEach(n=>{if(o[n.bucketPath])return;o[n.bucketPath]=!0;let r=e.find(e=>e.bucketPath===n.bucketPath);r&&(n.uploadSuccessful?t.uploadResults.push({file:r.file,state:4,image:n.image,error:ax.None}):(console.error("Failed to resize ".concat(a+1," file.")),t.uploadResults.push({file:r.file,state:2,error:ax.UploadFailed})),_(++a))}),a===e.length&&(i(),r()))},n=>{for(let{file:a,bucketPath:r}of(console.error("[Monitor] Snapshot error:",n),i(),e))o[r]||t.uploadResults.push({file:a,state:3,error:ax.UploadFailed});s(n)})})}async function el(e){let t={uploadResults:[]};if(!f||!e.length)return void Y(t);let n=L.length+e.length,a=g();if(u(n)){let o=n-a;for(let n=0;n<o;n++)t.uploadResults.push({file:e[n],state:2,error:ax.ImageQuotaExceeded})}let o=(e||[]).filter(e=>{if(t.uploadResults.find(t=>t.file===e))return!1;let n=e.name.toLocaleLowerCase();if(e.size>=tg.H.imageUpload.maxImageSize)return t.uploadResults.push({file:e,state:2,error:ax.SizeExceeded}),!1;let a=n.endsWith(".jpg")||n.endsWith(".jpeg")||n.endsWith(".png")||n.endsWith(".gif")||n.endsWith(".webp");return a||t.uploadResults.push({file:e,state:2,error:ax.InvalidFileType}),a});if(!o.length){W(!1),Y(t);return}X.current=!0,W(!0),$(0),_(0),O(o.length);let r=[];if(await Promise.all(o.map(async e=>{let n=e.name.split("."),a=n[n.length-1].trim().toLowerCase(),o=await ec(e);if(o.isValid){let t="webp"!==a&&"gif"!==a?await aw(e):e,n="".concat(p.id,"/").concat((0,au.bz)(),".").concat(a);r.push({file:t,bucketPath:n})}else{let n={file:e,state:3,error:o.errorType||ax.InvalidFileType,errorMessage:o.errorMessage,customTitle:o.customTitle};t.uploadResults.push(n)}})),O(r.length),!r.length){W(!1),Y(t);return}await es();let s=new Set;await Promise.all(r.map(async e=>{let{file:n,bucketPath:a}=e,o=(0,ac.KR)(C,a);try{await (0,ac.D)(o,n),s.add(a),$(e=>e+1)}catch(e){console.error("Upload failed for ".concat(n.name,". Error: ").concat(JSON.stringify(e),".")),t.uploadResults.push({file:n,state:3,error:ax.UploadFailed})}}));let i=r.filter(e=>{let{bucketPath:t}=e;return s.has(t)});try{i.length>0&&(Z(!0),O(i.length),await ei(i,t),Q(N.ImageSelectionMode.MyImages))}catch(e){console.error("Image upload monitoring failed:",e)}finally{X.current=!1,Z(!1),W(!1),O(0),Y(t)}}async function ec(e){return new Promise(t=>{var n;if("gif"===(null==(n=e.name.split(".").pop())?void 0:n.toLowerCase())){let n=new FileReader;n.onload=async e=>{var n;let a=null==(n=e.target)?void 0:n.result,o=await ay(a);if(!o)return void t({isValid:!1,errorType:ax.InvalidFileType,errorMessage:c.D.views.designer.components.properties.imageSelectionDialog.errors.invalidGifFile.message});let r=function(e,t,n){let a=e*t*n,o=Math.floor(0xfff8001/(e*t));return a>0xfff8001?{isValid:!1,maxFrames:o,totalPixels:a}:{isValid:!0,maxFrames:o,totalPixels:a}}(o.width,o.height,o.frameCount);if(!r.isValid)return void t({isValid:!1,errorType:ax.InvalidFileType,errorMessage:c.D.views.designer.components.properties.imageSelectionDialog.errors.gifTooLarge.getMessage(o.frameCount,r.maxFrames),customTitle:c.D.views.designer.components.properties.imageSelectionDialog.errors.gifTooLarge.title});t({isValid:!0})},n.onerror=()=>{t({isValid:!1,errorType:ax.InvalidFileType})},n.readAsArrayBuffer(e)}else{let n=new FileReader;n.onload=e=>{var n;let a=null==(n=e.target)?void 0:n.result,o=new window.Image;o.onload=function(){t({isValid:!0})},o.onerror=function(){t({isValid:!1,errorType:ax.InvalidFileType})},o.src=a},n.onerror=()=>{t({isValid:!1,errorType:ax.InvalidFileType})},n.readAsDataURL(e)}})}async function ed(e){let t=(0,P.H9)(h,N.Collections.WebsiteImages,p.id),n=(await (0,P.x7)(t)).data(),a=(0,N.getImageUrl)(e,N.ImageType.Thumbnail);if(!n||!n.imageData||!n.imageData.length||!a)return;let o=n.imageData.find(e=>e.uploadSuccessful&&(0,N.getImageUrl)(e.image,N.ImageType.Thumbnail)===a);o&&(n.imageData=n.imageData.filter(e=>e!==o),n.modifiedAt=(0,P.O5)(),n.deletedImageData=n.deletedImageData||[],n.deletedImageData.push(o),await (0,P.mZ)(t,n))}return(0,r.useEffect)(()=>
1{if(!i||!l||i.provider!==N.ImageProvider.Custom)return;let e=L.some(e=>(0,N.areImagesEqual)(e,i));if(e&&(ea.current=!0),eo.current){eo.current=!1;return}!e&&ea.current&&(L.length>0?I(L[0]):b.length>0?I(b[0]):I(void 0),l(),ea.current=!1)},[L,i,l]),(0,a.jsxs)(av.Provider,{value:{customImages:L,deleteImage:ed,images:b,imageSelectionMode:q,uploadImageCount:G,uploadProgressCount:z,initialImageKeywords:n,isUploading:V,isUploadFinishing:E,processedImageCount:U,searchInProgress:F,searchKeywords:T,lastSearchQuery:A,selectedImage:D,setImages:w,setImageSelectionMode:Q,setSearchInProgress:R,setSearchKeywords:B,setLastSearchQuery:H,setSelectedImage:I,uploadImages:el},"data-sentry-element":"ImageSelectionContext.Provider","data-sentry-component":"ImageSelectionProvider","data-sentry-source-file":"ImageSelectionDataContext.tsx",children:[d,!V&&ee.length?(()=>{var e;let t,n=(e=ee,ai.ok(e&&e.length,"Invalid error codes."),t=e[0],e.forEach(e=>{t<e&&(t=e)}),t),o=J.find(e=>e.error===n&&(e.errorMessage||e.customTitle));if(n===ax.ImageQuotaExceeded){m(ad.Zh.UPLOAD_IMAGE),Y({uploadResults:[]});return}return(0,a.jsx)(aC,{isOpen:!0,errorType:n,customMessage:null==o?void 0:o.errorMessage,customTitle:null==o?void 0:o.customTitle,onClose:()=>Y({uploadResults:[]})})})():null]})}async function aw(e){return await (0,al.A)(e,{maxSizeMB:15,maxWidthOrHeight:2048,useWebWorker:!0,alwaysKeepResolution:!0})}var aL=n(7145),ak=n(76951);function aM(){let[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(N.ImageSelectionMode.Unsplash),s=(0,r.useRef)([]),i=c.D.views.designer.components.properties.imageSelectionDialog.imageSelectionTags,l=[{mode:N.ImageSelectionMode.Unsplash,title:i.unsplash,requireLoggedInUser:!1},{mode:N.ImageSelectionMode.Pexels,title:i.pexels,requireLoggedInUser:!1},{mode:N.ImageSelectionMode.MyImages,title:i.myImages,requireLoggedInUser:!0},{mode:N.ImageSelectionMode.Upload,title:i.upload,requireLoggedInUser:!0}],{imageSelectionMode:p,setImageSelectionMode:m,isUploading:u,customImages:g,setSelectedImage:y,searchKeywords:h}=ab(),{user:C,isLoaded:f}=(0,x.uM)(),{canUsePexels:S}=(0,ap.o7)(),{showPlanNotificationModal:v,ownerBillingStatus:b}=(0,ad.dp)(),{websiteSettings:w}=(0,j.Hb)();function M(e,n){if(f){if(n&&!C||e===N.ImageSelectionMode.Pexels&&!C){t(!0),o(e);return}if(e===N.ImageSelectionMode.Pexels&&!S()){let{analytics:e}=(0,eL.S)();(0,ed.$s)(e,ew.o.upgradePlan.reasons.usePexels),v(ad.Zh.USE_PEXELS);return}e!==p&&(m(e),y(void 0))}}function P(e){let t=l.filter(e=>g.length||e.mode!==N.ImageSelectionMode.MyImages),n=t.filter((e,t)=>{var n;return!(null==(n=s.current[t])?void 0:n.disabled)});if("ArrowLeft"===e.key||"ArrowRight"===e.key){var a;let o;e.preventDefault();let r=n.findIndex(e=>e.mode===p);o="ArrowLeft"===e.key?r>0?r-1:n.length-1:r<n.length-1?r+1:0;let i=n[o],l=t.findIndex(e=>e.mode===i.mode);null==(a=s.current[l])||a.focus(),M(i.mode,i.requireLoggedInUser)}}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:"tabs",role:"tablist","data-sentry-element":"Row","data-sentry-source-file":"ImageSelectionTabs.tsx",children:l.filter(e=>g.length||e.mode!==N.ImageSelectionMode.MyImages).map((e,t)=>{let{mode:n,title:o,requireLoggedInUser:r}=e,i=n===p,l=n===N.ImageSelectionMode.Pexels;return(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsxs)(G.A,{innerRef:e=>{s.current[t]=e},className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(d.FontStyles.SemiBold," ").concat(i?"active":""),onClick:()=>M(n,r),onKeyDown:P,onMouseEnter:async()=>{if((n===N.ImageSelectionMode.Unsplash||n===N.ImageSelectionMode.Pexels&&S())&&(h||"").trim()){let e=n===N.ImageSelectionMode.Unsplash?N.ImageProvider.Unsplash:N.ImageProvider.Pexels;try{(0,as.$R)({query:(h||"").trim(),perPage:30,page:1,orientation:ak.t.Landscape,provider:e,websiteId:w.id})}catch(e){}}},disabled:u,role:"tab","aria-selected":i,"aria-controls":"tabpanel-".concat(n),children:[o,l&&(0,a.jsx)(aL.y,{tierOverride:b.isGrow?N.PlanType.GROW:N.PlanType.PRO,planModalReason:ad.Zh.USE_PEXELS,isClickable:!1})]})},n)})}),e&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>{t(!e)},closeModal:()=>t(!1),postLoginCallback:()=>
1{if(t(!1),n===N.ImageSelectionMode.Pexels&&!S()){let{analytics:e}=(0,eL.S)();(0,ed.$s)(e,ew.o.upgradePlan.reasons.usePexels),v(ad.Zh.USE_PEXELS);return}m(n)}})]})}var aP=n(67578),aN=n(56566),aD=n(76504);function aI(e){let{toggle:t,isOpen:n,title:o,warning:r,acceptText:s,cancelText:i,onAccept:l,onCancel:c,isDestructive:p,children:m,className:u,...g}=e;return(0,a.jsx)(aP.A,{popperClassName:"".concat(aT.container," ").concat(u),hideArrow:!0,placement:"bottom",offset:[0,d.Spacing.Micro],trigger:"legacy",toggle:t,isOpen:n,...g,"data-sentry-element":"Popover","data-sentry-component":"PopoverPromptWithWarning","data-sentry-source-file":"PopoverPromptWithWarning.tsx",children:(0,a.jsx)(aN.A,{"data-sentry-element":"PopoverBody","data-sentry-source-file":"PopoverPromptWithWarning.tsx",children:(0,a.jsx)(aD.W,{title:o,warning:r,acceptText:s,cancelText:i,onAccept:l,onCancel:c,isDestructive:p,"data-sentry-element":"WarningContent","data-sentry-source-file":"PopoverPromptWithWarning.tsx",children:m})})})}let aT={container:(0,o.style)({maxWidth:10*d.Spacing.xxLarge,borderRadius:d.Spacing.Small,borderWidth:0,border:0,outline:"none",boxShadow:d.BoxShadowStyles.xLarge,$nest:{".popover-body":{padding:d.Spacing.xLarge}}})};var aB=n(47714);function aA(e){let{images:t,thumbnailClassName:n,onHoverAdorner:o,onImageClick:s,onImageDoubleClicked:i}=e,{selectedImage:l,setSelectedImage:c}=ab(),p=(0,r.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(e),s&&s(e),t&&i&&i(e)},[c,i]);return(0,a.jsx)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," d-flex ").concat(aF.container),"data-sentry-element":"Container","data-sentry-component":"ImageThumbnailsView","data-sentry-source-file":"ImageThumbnailsView.tsx",children:(0,a.jsx)(L.A,{className:"thumbnail-row","data-sentry-element":"Row","data-sentry-source-file":"ImageThumbnailsView.tsx",children:t.map((e,t)=>(0,a.jsx)("div",{className:"col-3 g-0",onClick:t=>{t.defaultPrevented||p(e)},onDoubleClick:t=>{t.defaultPrevented||p(e,!0)},children:(0,a.jsxs)("div",{className:"thumbnail-container",children:[(0,a.jsx)("div",{className:"thumbnail position-relative ".concat(l&&(0,N.areImagesEqual)(e,l)?"active":""," ").concat(n||""),style:{backgroundImage:"url(".concat((0,N.getImageUrl)(e,N.ImageType.Thumbnail),")")},children:o&&(0,a.jsx)(aH,{image:e,onHoverAdorner:o})}),e.author&&(0,a.jsxs)("a",{className:"image-author ".concat(d.FontStyles.Subordinate),href:e.author.portfolio_url,target:"_blank",rel:"noreferrer",children:["By ",e.author.name]})]})},"".concat(e.description).concat(t)))})})}function aH(e){let{image:t,onHoverAdorner:n}=e,[o,s]=(0,r.useState)(!1);return(0,a.jsx)("div",{className:"overlay ".concat(o?"persist":""),"data-sentry-component":"PersistableAdorner","data-sentry-source-file":"ImageThumbnailsView.tsx",children:n(t,s)})}let aF={container:(0,o.style)({$nest:{".thumbnail-row":{alignContent:"flex-start",width:"100%",$nest:{".thumbnail-container":{margin:"0 ".concat(u.Spacing.Large-2,"px ").concat(u.Spacing.Large-2,"px 0")},".thumbnail":{borderRadius:u.Spacing.Micro,border:1,borderColor:u.StandardColors.ColorWhite,borderStyle:"solid",backgroundRepeat:"no-repeat",backgroundPosition:"center",boxShadow:u.BoxShadowStyles.innerXSmall,$nest:{"&.active":{borderColor:d.Colors.Primary,boxShadow:"0px 0px 0px 1px ".concat(d.Colors.Primary," inset")},"&:hover .overlay":{visibility:"visible"},".overlay.persist":{visibility:"visible"},".overlay":{zIndex:1,display:"flex",position:"absolute",left:0,right:0,bottom:0,top:0,visibility:"hidden"}}},".image-author":{display:"block",marginTop:u.Spacing.Micro,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:u.StandardColors.ColorDarkGray05,textDecoration:"none"}}}}})};function aR(){return(0,a.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"UploadImage","data-sentry-source-file":"UploadImage.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.166 21.3334C37.5091 21.3334 36.166 22.6765 36.166 24.3334C36.166 25.9902 37.5091 27.3334 39.166 27.3334C40.8228 27.3334 42.166 25.9902 42.166 24.3334C42.166 22.6765 40.8228 21.3334 39.166 21.3334ZM34.166 24.3334C34.166 21.5719 36.4045 19.3334 39.166 19.3334C41.9274 19.3334 44.166 21.5719 44.166 24.3334C44.166 27.0948 41.9274 29.3334 39.166 29.3334C36.4045 29.3334 34.166 27.0948 34.166 24.3334ZM27.1659 32.294L17.6411 46H47.4828L40.4992 37.5303L35.2386 43.9105L27.1659 32.294ZM40.7564 37.2184L40.7558 37.2192L40.7564 37.2184ZM40.2427 37.2192L40.2421 37.2184L40.2427 37.2192ZM25.7973 30.7588C26.4603 29.8047 27.8715 29.8047 28.5345 30.7588L35.3747 40.6016L39.2133 35.946C39.88 35.1375 41.1185 35.1375 41.7852 35.946L49.4756 45.2731C50.3719 46.3602 49.5987 48 48.1897 48H17.0035C15.6578 48 14.8669 46.4874 15.6349 45.3823L25.7973 30.7588Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"UploadImage.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 7C3.05228 7 3.5 7.44772 3.5 8V17C3.5 20.3137 6.18629 23 9.5 23H19.1564L16.328 20.1716C15.9375 19.7811 15.9375 19.1479 16.328 18.7574C16.7186 18.3669 17.3517 18.3669 17.7423 18.7574L22.2778 23.2929C22.6683 23.6835 22.6683 24.3166 22.2778 24.7072L17.7423 29.2427C17.3517 29.6332 16.7186 29.6332 16.328 29.2427C15.9375 28.8522 15.9375 28.219 16.328 27.8285L19.1565 25H9.5C5.08172 25 1.5 21.4183 1.5 17V8C1.5 7.44772 1.94772 7 2.5 7ZM12.5 7C9.73858 7 7.5 9.23858 7.5 12V19C7.5 19.5523 7.94772 20 8.5 20C9.05228 20 9.5 19.5523 9.5 19V12C9.5 10.3431 10.8431 9 12.5 9H52.5C54.1569 9 55.5 10.3431 55.5 12V52C55.5 53.6569 54.1569 55 52.5 55H12.5C10.8431 55 9.5 53.6569 9.5 52V28C9.5 27.4477 9.05228 27 8.5 27C7.94772 27 7.5 27.4477 7.5 28V52C7.5 54.7614 9.73857 57 12.5 57H52.5C55.2614 57 57.5 54.7614 57.5 52V12C57.5 9.23858 55.2614 7 52.5 7H12.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"UploadImage.tsx"})]})}function aV(){return(0,a.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlertFilled","data-sentry-source-file":"AlertFilled.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 6C11.5 9.037
157 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6C0.5 2.96243 2.96243 0.5 6 0.5C9.03757 0.5 11.5 2.96243 11.5 6ZM6.56607 6.25439L6.86783 3.99123C6.93781 3.46637 6.52949 3 5.99999 3C5.47049 3 5.06217 3.46637 5.13215 3.99123L5.43391 6.25439C5.47174 6.53811 5.71376 6.75 5.99999 6.75C6.28622 6.75 6.52824 6.53811 6.56607 6.25439ZM5.99999 9C6.4142 9 6.74999 8.66421 6.74999 8.25C6.74999 7.83579 6.4142 7.5 5.99999 7.5C5.58578 7.5 5.24999 7.83579 5.24999 8.25C5.24999 8.66421 5.58578 9 5.99999 9Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlertFilled.tsx"})})}function aW(e){let{remainingImages:t}=e,n=c.D.views.designer.components.properties.imageSelectionDialog.uploadImageCounter,o=0===t;return(0,a.jsx)("div",{className:aE.container,"data-sentry-component":"UploadImageCounter","data-sentry-source-file":"UploadImageCounter.tsx",children:o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:aE.alertIcon,children:(0,a.jsx)(aV,{})}),(0,a.jsx)("span",{className:aE.text,children:n.limitReached})]}):(0,a.jsx)("span",{className:aE.text,children:n.remaining(t)})})}let aE={container:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",marginTop:u.Spacing.Small,gap:4,flex:"none",alignSelf:"center",height:u.Spacing.Large}),text:(0,o.style)({display:"flex",alignItems:"center",gap:4,fontWeight:400,fontSize:11,fontStyle:"normal",color:u.StandardColors.ColorDarkGray05}),alertIcon:(0,o.style)({display:"flex",width:u.Spacing.Small+u.Spacing.Micro,$nest:{svg:{color:(0,u.important)(u.StandardColors.ColorDarkGray05)}}})};function aZ(e){let{className:t,...n}=e,o=c.D.views.designer.components.properties.imageSelectionDialog.uploadImageHeadline,s=(0,r.useRef)(null),{uploadImages:i,customImages:l}=ab(),{hasReachedImagesLimit:d}=(0,ap.o7)(),{showPlanNotificationModal:p}=(0,ad.dp)();async function m(e){e.stopPropagation(),e.preventDefault(),e.target.files&&await i(Array.from(e.target.files||[]))}return(0,a.jsxs)("h4",{className:"".concat(aG.title," ").concat(t),...n,"data-sentry-component":"UploadImageHeadline","data-sentry-source-file":"UploadImageHeadline.tsx",children:[o.tagline,(0,a.jsx)(eN(),{href:"",onClick:function(){if(d(l.length))return void p(ad.Zh.UPLOAD_IMAGE);s.current&&s.current.click()},"data-sentry-element":"Link","data-sentry-source-file":"UploadImageHeadline.tsx",children:o.upload}),(0,a.jsx)("input",{type:"file",id:"file",multiple:!0,accept:"image/jpeg, image/png, image/gif, image/webp",ref:e=>{s.current=e},style:{display:"none"},onChange:e=>m(e)})]})}let aG={title:(0,o.style)({fontWeight:500,$nest:{a:{color:d.Colors.Primary,fontWeight:700,cursor:"pointer !important"}}})};function aO(){let e=c.D.views.designer.components.properties.imageSelectionDialog.uploadImageSubtext;return(0,a.jsxs)("div",{className:"w-100 mt-auto ".concat(d.FontStyles.Regular," ").concat(az.container),"data-sentry-component":"UploadImageSubtext","data-sentry-source-file":"UploadImageSubtext.tsx",children:[(0,a.jsx)("span",{children:e.heading}),(0,a.jsx)("span",{children:e.sizes})]})}let az={container:(0,o.style)({display:"flex",flexDirection:"column",rowGap:u.Spacing.Large,whiteSpace:"pre-line",color:u.StandardColors.ColorDarkGray05})};function a$(){let{ownerPlanType:e}=(0,ad.dp)(),{customImages:t}=ab(),{getMaxAllowedImagesCount:n}=(0,ap.o7)(),o=e!==N.PlanType.PRO,r=o?Math.max(0,n()-t.length):0;return(0,a.jsxs)("div",{className:aU.container,"data-sentry-component":"UploadImageView","data-sentry-source-file":"UploadImageView.tsx",children:[(0,a.jsx)(aR,{"data-sentry-element":"UploadImage","data-sentry-source-file":"UploadImageView.tsx"}),(0,a.jsxs)("div",{className:aU.headlineSection,children:[(0,a.jsx)(aZ,{className:"tagline","data-sentry-element":"UploadImageHeadline","data-sentry-source-file":"UploadImageView.tsx"}),o&&(0,a.jsx)(aW,{remainingImages:r})]}),(0,a.jsx)(aO,{"data-sentry-element":"UploadImageSubtext","data-sentry-source-file":"UploadImageView.tsx"})]})}let aU={container:(0,o.style)({display:"flex",padding:u.Spacing.xxLarge,paddingTop:4*u.Spacing.xxxLarge+u.Spacing.xLarge,flexDirection:"column",justifyContent:"center",alignItems:"center",alignSelf:"stretch",flex:1,borderRadius:u.Spacing.Micro,borderWidth:1.5,borderStyle:"dashed",borderColor:u.StandardColors.ColorViolet40,backgroundColor:u.StandardColors.ColorLightGray10,$nest:{svg:{color:d.Colors.Primary},".subtext":{color:d.Colors.Subdued,marginTop:u.Spacing.Small},".tagline":{marginTop:u.Spacing.Large}}}),headlineSection:(0,o.style)({display:"flex",flexDirection:"column",alignItems:"center"})};function a_(e){let{onImageDoubleClicked:t,imageSearchCache:n,setImageSearchCache:o}=e,{customImages:s,setSelectedImage:i}=ab();return(0,r.useEffect)(()=>
1{if(!(null==n?void 0:n.selectedImages))return;let e=n.selectedImages[N.ImageSelectionMode.MyImages];e?i(e):s.length&&i(s[0])},[n,s]),(0,a.jsx)("div",{className:aK.container,"data-sentry-component":"MyImagesView","data-sentry-source-file":"MyImagesView.tsx",children:s.length?(0,a.jsx)(aA,{images:s,onImageClick:e=>{o({...n,selectedImages:{...n.selectedImages,[N.ImageSelectionMode.MyImages]:e}})},onImageDoubleClicked:t,thumbnailClassName:aK.thumbnail,onHoverAdorner:(e,t)=>(0,a.jsx)(aq,{image:e,setPersistAdorner:t})}):(0,a.jsx)(a$,{})})}function aq(e){let{image:t,setPersistAdorner:n}=e,{deleteImage:o}=(0,j.Hb)(),{deleteImage:s}=ab(),[i,l]=(0,r.useState)(!1),p=e=>{l(e),n(e)},m=(0,r.useRef)(null);return(0,a.jsxs)("div",{className:aK.adorner,"data-sentry-component":"Adorner","data-sentry-source-file":"MyImagesView.tsx",children:[(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{innerRef:m,className:d.ButtonStyles.SecondarySmall,onClick:e=>{p(!0),e.preventDefault()},children:(0,a.jsx)("div",{className:aK.scaleIcon,children:(0,a.jsx)(aB.r,{})})}),title:c.D.components.tooltips.deleteImage,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"MyImagesView.tsx"}),m.current&&(0,a.jsx)(aQ,{isOpen:i,target:m.current,toggle:()=>p(!i),onCancel:()=>p(!1),onDelete:async()=>{await s(t),await o(t),p(!1)}})]})}function aQ(e){let{onCancel:t,onDelete:n,isOpen:o,target:r,toggle:s}=e,i=c.D.views.designer.components.properties.imageSelectionDialog.myImagesView.deleteModal;return(0,a.jsx)(aI,{isOpen:o,target:r,toggle:s,title:i.title,acceptText:i.deleteImage,cancelText:i.cancel,onAccept:n,onCancel:t,isDestructive:!0,className:"error-dialog","data-sentry-element":"PopoverPromptWithWarning","data-sentry-component":"DeleteImageConfirmPrompt","data-sentry-source-file":"MyImagesView.tsx",children:i.text})}let aK={container:(0,o.style)({display:"flex",flex:1,overflow:"hidden",overflowY:"auto",$nest:{".error-dialog":{maxWidth:10*u.Spacing.xxLarge}}}),adorner:(0,o.style)({display:"flex",flex:1,alignItems:"flex-start",justifyContent:"flex-end",padding:u.Spacing.Small,$nest:{".btn":{padding:u.Spacing.Small-2,boxShadow:u.BoxShadowStyles.Small}}}),thumbnail:(0,o.style)({$debugName:"my-images-thumbnail",backgroundColor:u.StandardColors.ColorLightGray20,backgroundSize:"contain",aspectRatio:"1/1",boxSizing:"content-box"}),scaleIcon:(0,o.style)({display:"flex",alignItems:"center",maxHeight:u.Spacing.Large+u.Spacing.Micro,maxWidth:u.Spacing.Large+u.Spacing.Micro})};function aY(e){let{icon:t,...n}=e,o=(0,r.useRef)(null);return(0,a.jsxs)("div",{className:"position-relative w-100 d-flex",onClick:()=>{o.current&&o.current.focus()},"data-sentry-component":"SearchInput","data-sentry-source-file":"SearchInput.tsx",children:[(0,a.jsx)(tf.g,{type:"text",innerRef:o,...n,"data-sentry-element":"SoloInput","data-sentry-source-file":"SearchInput.tsx"}),(0,a.jsx)("span",{className:"position-absolute h-100 d-flex align-items-center",style:{right:d.Spacing.Small,top:0,color:d.Colors.Primary},children:t})]})}var aX=n(57126),aJ=n(32384);function a1(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Search","data-sentry-source-file":"Search.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8474 15.0266C12.5644 16.0529 10.9369 16.6667 9.16602 16.6667C5.02388 16.6667 1.66602 13.3088 1.66602 9.16667C1.66602 5.02453 5.02388 1.66667 9.16602 1.66667C13.3082 1.66667 16.666 5.02453 16.666 9.16667C16.666 10.9375 16.0523 12.565 15.0259 13.8481L18.0886 16.9107C18.414 17.2362 18.414 17.7638 18.0886 18.0893C17.7632 18.4147 17.2355 18.4147 16.9101 18.0893L13.8474 15.0266ZM14.9993 9.16667C14.9993 12.3883 12.3877 15 9.16602 15C5.94436 15 3.33268 12.3883 3.33268 9.16667C3.33268 5.94501 5.94436 3.33333 9.16602 3.33333C12.3877 3.33333 14.9993 5.94501 14.9993 9.16667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Search.tsx"})})}function a0(){return(0,a.jsxs)("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SearchExpectingInput","data-sentry-source-file":"SearchExpectingInput.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.0039 53.5C42.2587 53.5 53.0039 42.7548 53.0039 29.5C53.0039 16.2452 42.2587 5.5 29.0039 5.5C15.7491 5.5 5.00391 16.2452 5.00391 29.5C5.00391 42.7548 15.7491 53.5 29.0039 53.5ZM29.0039 55.5C43.3633 55.5 55.0039 43.8594 55.0039 29.5C55.0039 15.1406 43.3633 3.5 29.0039 3.5C14.6445 3.5 3.00391 15.1406 3.00391 29.5C3.00391 43.8594 14.6445 55.5 29.0039 55.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchExpectingInput.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.7969 61.7072L45.7969 47.7072L47.2111 46.293L61.2111 60.293L59.7969 61.7072Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchExpectingInput.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M43.0039 22C43.0039 20.6193 44.1232 19.5 45.5039 19.5H48.0039C48.5562 19.5 49.0039 19.9477 49.0039 20.5C49.0039 21.0523 48.5562 21.5 48.0039 21.5H45.5039C45.2278 21.5 45.0039 21.7239 45.0039 22V37C45.0039 37.2761 45.2278 37.5 45.5039 37.5H48.0039C48.5562 37.5 49.0039 37.9477 49.0039 38.5C49.0039 39.0523 48.5562 39.5 48.0039 39.5H45.5039C44.1232 39.5 43.0039 38.3807 43.0039 37V22Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchExpectingInput.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0039 22C15.0039 20.6193 13.8846 19.5 12.5039 19.5H10.0039C9.45162 19.5 9.00391 19.9477 9.00391 20.5C9.00391 21.0523 9.45162 21.5 10.0039 21.5H12.5039C12.78 21.5 13.0039 21.7239 13.0039 22V37C13.0039 37.2761 12.78 37.5 12.5039 37.5H10.0039C9.45162 37.5 9.00391 37.9477 9.00391 38.5C9.00391 39.0523 9.45162 39.5 10.0039 39.5H12.5039C13.8846 39.5 15.0039 38.3807 15.0039 37V22Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchExpectingInput.tsx"}),(0,a.jsx)("path",{d:"M23.1932 35.5H34.888C35.0994 35.5 35.2154 35.254 35.0809 35.091L32.197 31.5933C32.097 31.472 31.9112 31.472 31.8112 31.5933L30.0569 33.721L27.2094 29.6235C27.11 29.4804 26.8983 29.4804 26.7988 29.6235L22.9879 35.1073C22.8727 35.2731 22.9914 35.5 23.1932 35.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchExpectingInput.tsx"}),(0,a.jsx)("path",{d:"M31.5042 28.5C32.3326 28.5 33.0042 27.8284 33.0042 27C33.0042 26.1716 32.3326 25.5 31.5042 25.5C30.6757 25.5 30.0042 26.1716 30.0042 27C30.0042 27.8284 30.6757 28.5 31.5042 28.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchExpectingInput.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.0176 37.1154C39.0176 38.4324 37.95 39.5 36.633 39.5H21.4022C20.0852 39.5 19.0176 38.4324 19.0176 37.1154V21.8846C19.0176 20.5676 20.0852 19.5 21.4022 19.5H36.633C37.95 19.5 39.0176 20.5676 39.0176 21.8846V37.1154ZM36.633 37.5C36.8454 37.5 37.0176 37.3278 37.0176 37.1154V21.8846C37.0176 21.6722 36.8454 21.5 36.633 21.5H21.4022C21.1898 21.5 21.0176 21.6722 21.0176 21.8846V37.1154C21.0176 37.3278 21.1898 37.5 21.4022 37.5H36.633Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchExpectingInput.tsx"})]})}function a3(){return(0,a.jsxs)("svg",{width:"65",height:"65",viewBox:"0 0 65 65",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SearchNoResults","data-sentry-source-file":"SearchNoResults.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.5 53.5C42.7548 53.5 53.5 42.7548 53.5 29.5C53.5 16.2452 42.7548 5.5 29.5 5.5C16.2452 5.5 5.5 16.2452 5.5 29.5C5.5 42.7548 16.2452 53.5 29.5 53.5ZM29.5 5
15.5C43.8594 55.5 55.5 43.8594 55.5 29.5C55.5 15.1406 43.8594 3.5 29.5 3.5C15.1406 3.5 3.5 15.1406 3.5 29.5C3.5 43.8594 15.1406 55.5 29.5 55.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchNoResults.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.293 61.7071L46.293 47.7071L47.7072 46.2928L61.7072 60.2928L60.293 61.7071Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchNoResults.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7938 34.792L34.793 22.7928L36.2072 24.2071L24.208 36.2062L22.7938 34.792Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchNoResults.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.2079 22.793L36.207 34.7921L34.7928 36.2063L22.7937 24.2072L24.2079 22.793Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SearchNoResults.tsx"})]})}function a2(e){let{provider:t,attributionLabel:n,attributionHref:o,onImageDoubleClicked:s,imageSearchCache:i,setImageSearchCache:l}=e,{initialImageKeywords:p,selectedImage:m,setSelectedImage:g,images:y,setImages:x,searchInProgress:h,setLastSearchQuery:C,setSearchInProgress:f,searchKeywords:S,setSearchKeywords:v}=ab(),{designerSettings:b,currentService:M,websiteSettings:P}=(0,j.Hb)(),D=b.selectedSection,I=void 0!==M,T=null==D?void 0:D.props,[B,A]=(0,r.useState)(!1),[H,F]=(0,r.useState)(!1),[R,V]=(0,r.useState)(!1),[W,E]=(0,r.useState)(!1),Z=(0,r.useRef)(null),O=c.D.views.designer.components.properties.imageSelectionDialog,[z,$]=(0,r.useState)({keyword:"",page:0,totalPages:0});async function U(e,n,a){let o=e.trim();if(!o||h||(n||A(!1),z.keyword===o&&z.page>0&&z.page===z.totalPages))return;let r=z.keyword===o?{...z,page:z.page+1}:{keyword:o,page:1,totalPages:0};C(o),f(!0);try{V(!1);let e=await (0,as.$R)({query:r.keyword,perPage:30,page:r.page,orientation:ak.t.Landscape,provider:t,websiteId:P.id});r.totalPages=e.totalPages;let s=e.result,c=[...n?y:[],...s];if(m&&!a){let e=m.urls[0],n=c.find(t=>t.urls&&t.urls.length&&t.urls[0].type===e.type&&t.urls[0].url===e.url);n?n!==m&&g(n):m.provider===t&&c.splice(0,0,m)}else g(c[0]);x(c);let d=i.keyword!==o,p=d?{}:{...i.providerImages},u=d?{}:{...i.providerPageData};(t===N.ImageProvider.Unsplash||t===N.ImageProvider.Pexels)&&(p[t]=c,u[t]={page:r.page,totalPages:r.totalPages}),l({...i,keyword:o,images:c,providerImages:p,providerPageData:u}),$(r)}catch(e){B||V(!0)}F(!0),f(!1)}return(0,r.useEffect)(()=>{var e,n,a,o,r,s;let l=p;if(I&&(null==M||null==(e=M.userKeywords)?void 0:e.trim())?l=M.userKeywords:(null==T||null==(n=T.userKeywords)?void 0:n.trim())&&(l=T.userKeywords),!l&&!(null==S?void 0:S.trim()))return;if(S&&S.trim()){v(S);let e=t===N.ImageProvider.Unsplash||t===N.ImageProvider.Pexels?null==(r=i.providerImages)?void 0:r[t]:void 0,n=t===N.ImageProvider.Unsplash||t===N.ImageProvider.Pexels?null==(s=i.providerPageData)?void 0:s[t]:void 0;i.keyword===S.trim()&&e&&e.length>0?(x(e),F(!0),n&&$({keyword:S.trim(),page:n.page,totalPages:n.totalPages})):U(S,!1);return}let c=t===N.ImageProvider.Unsplash||t===N.ImageProvider.Pexels?null==(a=i.providerImages)?void 0:a[t]:void 0,d=t===N.ImageProvider.Unsplash||t===N.ImageProvider.Pexels?null==(o=i.providerPageData)?void 0:o[t]:void 0;if(i.keyword&&i.keyword===l&&c&&c.length>0){v(l),x(c),F(!0),d&&$({keyword:l,page:d.page,totalPages:d.totalPages});return}(!I||M)&&T&&(v(l),U(l,!1))},[M,T,t]),(0,r.useEffect)(()=>{if(!(null==i?void 0:i.selectedImages))return;let e=i.selectedImages[t===N.ImageProvider.Unsplash?N.ImageSelectionMode.Unsplash:N.ImageSelectionMode.Pexels];e?g(e):y.length&&g(y[0])},[y,i]),(0,r.useEffect)(()=>{let e=Z.current;if(!e)return;let t=!1,n=()=>{t||(window.requestAnimationFrame(()=>{let{scrollTop:n,scrollHeight:a,clientHeight:o}=e;a-n-o<150&&H&&!h&&!B&&(A(!0),U(S,!0),A(!1)),t=!1}),t=!0)};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)},[H,h,B,S]),(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," d-flex flex-column"),"data-sentry-element":"Container","data-sentry-component":"ImageProviderView","data-sentry-source-file":"ImageProviderView.tsx",children:[(0,a.jsx)(L.A,{className:a5.search,"data-sentry-element":"Row","data-sentry-source-file":"ImageProviderView.tsx",children:(0,a.jsxs)(k.A,{className:"col-6 search-input-container ".concat(W?"focused":""),"data-sentry-element":"Col","data-sentry-source-file":"ImageProviderView.tsx",children:[(0,a.jsx)(aY,{className:"search-input",autoFocus:!p,value:S,onChange:e=>v(e.currentTarget.value),onFocus:()=>E(!0),onBlur:()=>E(!1),onKeyDown:e=>{"Enter"===e.key&&U(S,!1,!0)},style:{paddingRight:u.Spacing.xLarge},icon:S?(0,a.jsx)("button",{type:"button",className:"close-btn",onClick:()=>v(""),"aria-label":c.D.views.designer.components.accessibility.clearSearch,children:(0,a.jsx)(aX.b,{})}):null,"data-sentry-element":"SearchInput","data-sentry-source-file":"ImageProviderView.tsx"}),(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.Primary," search-btn"),onClick:()=>{U(S,!1,!0)},disabled:h||!S.trim(),"aria-label":c.D.views.designer.components.accessibility.searchImages,"data-sentry-element":"Button","data-sentry-source-file":"ImageProviderView.tsx",children:(0,a.jsx)(a1,{"data-sentry-element":"Search","data-sentry-source-file":"ImageProviderView.tsx"})})]})}
1),(0,a.jsx)("div",{className:a5.thumbnailScrollContainer,ref:Z,children:(0,a.jsxs)(L.A,{className:a5.thumbnailRow,"data-sentry-element":"Row","data-sentry-source-file":"ImageProviderView.tsx",children:[h&&!B&&!R&&(0,a.jsx)("div",{className:"spinner"}),h||B||R||y.length?R?(0,a.jsx)(a6,{icon:(0,a.jsx)("div",{className:"secondary",children:(0,a.jsx)(aJ.$,{})}),title:O.error,description:O.errorDescription}):null:H?(0,a.jsx)(a6,{icon:(0,a.jsx)("div",{className:"primary",children:(0,a.jsx)(a3,{})}),title:O.noImages,description:O.noImagesDescription}):(0,a.jsx)(a6,{icon:(0,a.jsx)("div",{className:"primary",children:(0,a.jsx)(a0,{})}),title:O.noSearchStarted,description:O.noSearchStartedDescription}),(!h||!B)&&!R&&(0,a.jsx)(aA,{images:y,onImageClick:e=>{l({...i,selectedImages:{...i.selectedImages,[t===N.ImageProvider.Unsplash?N.ImageSelectionMode.Unsplash:N.ImageSelectionMode.Pexels]:e}})},onImageDoubleClicked:s,thumbnailClassName:a5.thumbnail},S)]})}),(0,a.jsx)(L.A,{className:a5.footnoteRow,"data-sentry-element":"Row","data-sentry-source-file":"ImageProviderView.tsx",children:(0,a.jsxs)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageProviderView.tsx",children:[(0,a.jsx)("span",{className:"me-1",children:O.imageProviderFootnote}),(0,a.jsx)("a",{href:o,target:"_blank",className:"unsplash-link",rel:"noreferrer",children:n})]})})]})}function a6(e){let{icon:t,description:n,title:o}=e;return(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," empty-search"),"data-sentry-element":"Container","data-sentry-component":"MessageView","data-sentry-source-file":"ImageProviderView.tsx",children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImageProviderView.tsx",children:(0,a.jsx)(k.A,{className:"icon","data-sentry-element":"Col","data-sentry-source-file":"ImageProviderView.tsx",children:t})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImageProviderView.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageProviderView.tsx",children:(0,a.jsx)("h4",{className:"".concat(d.FontStyles.Medium," title"),children:o})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImageProviderView.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageProviderView.tsx",children:n})})]})}let a5={search:(0,o.style)({paddingBottom:u.Spacing.Large,$nest:{".search-input-container":{borderRadius:u.Spacing.Micro},".search-input-container.focused":{borderColor:d.Colors.Primary,boxShadow:"0px 0px 2px 1px ".concat(d.Colors.Primary),outline:"none"},".close-btn":{color:u.StandardColors.ColorLightGray70,width:u.Spacing.Medium,height:u.Spacing.Medium,display:"flex",alignItems:"center",justifyContent:"center",padding:0,border:"none",backgroundColor:"transparent",cursor:"pointer"},".search-btn":{paddingBlock:u.Spacing.Medium/2,paddingInline:u.Spacing.Medium,borderTopLeftRadius:0,borderBottomLeftRadius:0,maxHeight:u.Spacing.xxLarge,display:"flex",alignItems:"center",$nest:{svg:{maxHeight:u.Spacing.Large}}},".search-input":{borderTopRightRadius:0,borderBottomRightRadius:0,maxHeight:u.Spacing.xxLarge,$nest:{"&:focus":{boxShadow:"none",borderColor:d.Colors.SecondaryPressed}}}}}),thumbnail:(0,o.style)({$debugName:"provider-image-thumbnail",backgroundSize:"cover",width:"100%",height:120}),thumbnailScrollContainer:(0,o.style)({overflowY:"auto",flex:1,display:"flex"}),thumbnailRow:(0,o.style)({flexBasis:"auto",flex:1,margin:0,height:"100%",$nest:{".empty-search":{display:"flex",height:"100%",flexDirection:"column",justifyContent:"center",alignItems:"center",$nest:{".icon":{marginBottom:u.Spacing.Large},".icon .primary":{color:d.Colors.Primary},".icon .secondary":{color:d.Colors.Subdued},".title":{marginBottom:u.Spacing.Small,fontSize:18,lineHeight:"24px"}}},".spinner":{backgroundImage:"url(/img/spinner-96-transparent-violet.png)",backgroundPositionX:"center",backgroundPositionY:"center",backgroundSize:u.Spacing.xxLarge,backgroundRepeat:"no-repeat",width:"100%",height:"100%"},".unsplash-link":{color:d.Colors.Primary,textDecoration:"none"}}}),footnoteRow:(0,o.style)({display:"flex",paddingTop:u.Spacing.xLarge,marginTop:"auto"})};function a4(e){let{onImageDoubleClicked:t,imageSearchCache:n,setImageSearchCache:o}=e;return(0,a.jsx)(a2,{provider:N.ImageProvider.Pexels,attributionLabel:"Pexels",attributionHref:"https://www.pexels.com/",onImageDoubleClicked:t,imageSearchCache:n,setImageSearchCache:o,"data-sentry-element":"ImageProviderView","data-sentry-component":"PexelsImageView","data-sentry-source-file":"PexelsImageView.tsx"})}function a7(e){let{onImageDoubleClicked:t,imageSearchCache:n,setImageSearchCache:o}=e;return(0,a.jsx)(a2,{provider:N.ImageProvider.Unsplash,attributionLabel:c.D.views.designer.components.properties.imageSelectionDialog.unsplash,attributionHref:"https://unsplash.com/",onImageDoubleClicked:t,imageSearchCache:n,setImageSearchCache:o,"data-sentry-element":"ImageProviderView","data-sentry-component":"SearchImageView","data-sentry-source-file":"SearchImageView.tsx"})}function a9(){let{uploadImageCount:e,uploadProgressCount:t,processedImageCount:n,isUploadFinishing:o}=ab(),r=c.D.views.designer.components.properties.imageSelectionDialog.uploadSpinner,s=Math.min(t+1,e),i=Math.min(n+1,e),l=o?e<=1?r.processingImage:r.processingImages.replace("{currentImage}",i.toString(10)).replace("{imageCount}",e.toString(10)):e<=1?r.uploadingImage:r.uploadingImages.replace("{currentImage}",s.toString(10)).replace("{imageCount}",e.toString(10));return(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," d-flex flex-column align-items-center justify-content-center"),"data-sentry-element":"Container","data-sentry-component":"UploadSpinner","data-sentry-source-file":"UploadSpinner.tsx",children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"UploadSpinner.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"UploadSpinner.tsx",children:(0,a.jsx)("div",{className:a8.spinner})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"UploadSpinner.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"UploadSpinner.tsx",children:(0,a.jsx)("h4",{className:a8.title,children:l})})})]})}let a8={spinner:(0,o.style)({backgroundImage:"url(/img/spinner-96-transparent-violet.png)",backgroundPositionX:"center",backgroundPositionY:"center",backgroundSize:2*u.Spacing.xxLarge,backgroundRepeat:"no-repeat",width:2*u.Spacing.xxLarge,height:2*u.
1Spacing.xxLarge,marginBottom:u.Spacing.Large}),title:(0,o.style)({fontWeight:500,fontSize:16})};function oe(e){let{imageKeywords:t,selectedImage:n,initialModeOverride:o,currentEditingImage:r,onCurrentImageDeleted:s}=e;return(0,a.jsx)(aj,{imageKeywords:t,selectedImage:n,initialModeOverride:o,currentEditingImage:r,onCurrentImageDeleted:s,"data-sentry-element":"ImageSelectionProvider","data-sentry-component":"ImageSelectionDialog","data-sentry-source-file":"ImageSelectionDialog.tsx",children:(0,a.jsx)(ot,{...e,"data-sentry-element":"ImageSelectionModal","data-sentry-source-file":"ImageSelectionDialog.tsx"})})}function ot(e){let{imageKeywords:t,selectedImage:n,onImageSelected:o,initialModeOverride:s,className:i,onClosed:l,...p}=e,m=c.D.views.designer.components.properties.imageSelectionDialog,{isUploading:u,selectedImage:g,uploadImages:y,imageSelectionMode:h,lastSearchQuery:C}=ab(),{user:f}=(0,x.uM)(),[S,v]=(0,r.useState)(!1),b=f&&!u&&h!==N.ImageSelectionMode.Unsplash;function j(e){e.preventDefault(),e.stopPropagation(),b&&("dragover"===e.type?(e.dataTransfer.dropEffect="move",v(!0)):"dragleave"===e.type&&v(!1))}async function L(e){if(e.preventDefault(),e.stopPropagation(),!b)return;v(!1);let t=e.dataTransfer.files;t&&t.length&&await y(Array.from(t||[]))}let k=(0,r.useCallback)(async()=>{if(!g)return;g.attributionUrl&&(0,as._0)({provider:g.provider,attributionUrl:g.attributionUrl});let e=C.trim();o(g,e||void 0)},[g,o,h,C]);return(0,a.jsx)(ty.y,{title:m.title,canDismiss:!!g,onSave:k,onClosed:l,...p,className:"".concat(i," ").concat(oo.container),"data-sentry-element":"ModalDialog","data-sentry-component":"ImageSelectionModal","data-sentry-source-file":"ImageSelectionDialog.tsx",children:(0,a.jsxs)(w.A,{className:d.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"ImageSelectionDialog.tsx",children:[(0,a.jsx)(aM,{"data-sentry-element":"ImageSelectionTabs","data-sentry-source-file":"ImageSelectionDialog.tsx"}),(0,a.jsx)(eu.c,{className:"divider","data-sentry-element":"Divider","data-sentry-source-file":"ImageSelectionDialog.tsx"}),(0,a.jsx)("div",{className:"content-container ".concat(S?"drag-over":""),onDragOver:j,onDragLeave:j,onDrop:L,children:S?(0,a.jsx)(on,{}):u?(0,a.jsx)(a9,{}):(0,a.jsx)(oa,{onImageDoubleClicked:async()=>{await k(),l&&l()}})})]})})}function on(){let e=c.D.views.designer.components.properties.imageSelectionDialog;return(0,a.jsx)(w.A,{className:"drag-over-view","data-sentry-element":"Container","data-sentry-component":"DragOverView","data-sentry-source-file":"ImageSelectionDialog.tsx",children:(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImageSelectionDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageSelectionDialog.tsx",children:(0,a.jsx)("h4",{className:"drag-title",children:e.dropImage})})})})}function oa(e){let{onImageDoubleClicked:t}=e,{imageSelectionMode:n}=ab(),[o,s]=(0,r.useState)({keyword:"",images:[],providerImages:{[N.ImageProvider.Unsplash]:[],[N.ImageProvider.Pexels]:[]},providerPageData:{[N.ImageProvider.Unsplash]:{page:0,totalPages:0},[N.ImageProvider.Pexels]:{page:0,totalPages:0}},selectedImages:{[N.ImageSelectionMode.Unsplash]:null,[N.ImageSelectionMode.Pexels]:null,[N.ImageSelectionMode.MyImages]:null}});switch(n){case N.ImageSelectionMode.Unsplash:return(0,a.jsx)(a7,{onImageDoubleClicked:t,imageSearchCache:o,setImageSearchCache:s});case N.ImageSelectionMode.Pexels:return(0,a.jsx)(a4,{onImageDoubleClicked:t,imageSearchCache:o,setImageSearchCache:s});case N.ImageSelectionMode.MyImages:return(0,a.jsx)(a_,{onImageDoubleClicked:t,imageSearchCache:o,setImageSearchCache:s});case N.ImageSelectionMode.Upload:return(0,a.jsx)(a$,{});default:return null}}let oo={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({width:720,$nest:{".modal-body":{maxHeight:"unset",padding:d.Spacing.xLarge,$nest:{".drag-over-view":{backgroundColor:d.StandardColors.ColorViolet05,borderRadius:d.Spacing.Micro,borderStyle:"solid",borderWidth:1,borderColor:d.StandardColors.ColorViolet60,display:"flex",alignItems:"center",justifyContent:"center",$nest:{".drag-title":{fontWeight:500,fontSize:16}}}
1,".header":{marginBottom:d.Spacing.Small},".tabs":{$nest:{"& :not(:first-child)":{marginLeft:d.Spacing.Large},button:{paddingInline:d.Spacing.Small,paddingBlock:d.Spacing.Large-1,color:d.Colors.Subdued,borderRadius:0,borderBottomWidth:2,borderBottomStyle:"solid",borderBottomColor:"transparent",$nest:{"&.active, &:hover:not(.disabled)":{color:d.StandardColors.ColorBlack,borderBottomColor:d.Colors.Primary},"&:hover:not(.disabled)":{color:d.StandardColors.ColorBlack}}}}},".divider":{marginBlock:0,marginInline:-1*d.Spacing.xLarge},".content-container":{height:520,display:"flex",paddingTop:d.Spacing.Large,position:"relative"}}},".unsplash-link":{color:d.Colors.Primary,textDecoration:"none"}}}))};var or=n(61225);let os=c.D.components.addVideoModal;function oi(e){let{isOpen:t,onVideoSelected:n,onClosed:o,...s}=e,[i,l]=(0,r.useState)(""),[c,d]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),u=(0,r.useRef)(null),g=(0,r.useMemo)(()=>(0,or.getVideoProperties)(i),[i]),y=(0,r.useMemo)(()=>!!(null==g?void 0:g.thumbnailUrl),[g]);(0,r.useEffect)(()=>{t&&(l(""),d(!1),m(!1))},[t]),(0,r.useEffect)(()=>{if(t&&u.current){let e=setTimeout(()=>{var e;null==(e=u.current)||e.focus()},100);return()=>clearTimeout(e)}},[t]);let x=(0,r.useCallback)(e=>{let t=e.target.value;if(l(t),""===t)d(!1),m(!1);else if(""===t.trim()||t.includes(" "))d(!1),m(!0);else{let e=null!==(0,or.getVideoProperties)(t);d(e),m(!e)}},[]),h=(0,r.useCallback)(async()=>{if(c&&i&&g){var e;n(null!=(e=g.embedUrl)?e:i),o()}},[c,i,g,n,o]);return(0,a.jsx)(ty.y,{className:y?oc.containerWithPreview:oc.container,modalClassName:oc.modalWrapper,modalTransition:{timeout:100},autoFocus:!1,onSave:h,onClosed:o,canDismiss:c,title:os.title,saveButtonText:os.saveButton,isOpen:t,...s,"data-sentry-element":"ModalDialog","data-sentry-component":"AddVideoModal","data-sentry-source-file":"AddVideoModal.tsx",children:(0,a.jsxs)("div",{className:oc.inputSection,children:[(0,a.jsxs)("div",{className:oc.labelRow,children:[(0,a.jsx)("span",{className:oc.label,children:os.videoLinkLabel}),(0,a.jsx)("a",{href:os.learnMoreUrl,target:"_blank",rel:"noopener noreferrer",className:oc.learnMoreLink,children:os.learnMore})]}),(0,a.jsx)("div",{className:oc.inputContainer,children:(0,a.jsx)(tf.g,{innerRef:u,type:"text",value:i,onChange:x,placeholder:os.inputPlaceholder,autoFocus:!0,"data-sentry-element":"SoloInput","data-sentry-source-file":"AddVideoModal.tsx"})}),(0,a.jsx)("div",{className:p?oc.errorText:oc.helperText,children:p?os.invalidLink:y?os.previewHelperText:os.helperText}),y&&(null==g?void 0:g.thumbnailUrl)&&(0,a.jsxs)("div",{className:oc.previewContainer,children:[(0,a.jsx)("img",{src:g.thumbnailUrl,alt:"Video preview",className:oc.previewThumbnail}),(0,a.jsx)("div",{className:oc.previewOverlay})]})]})})}let ol={display:"flex",maxWidth:440,alignSelf:"start",$nest:{".modal-body":{padding:d.Spacing.xLarge,$nest:{".header":{marginBottom:d.Spacing.xLarge}}}}},oc={modalWrapper:(0,o.style)({alignContent:"start !important",paddingTop:"15vh !important"}),container:(0,o.style)(ol),containerWithPreview:(0,o.style)(ol),inputSection:(0,o.style)({display:"flex",flexDirection:"column",gap:d.Spacing.Small}),labelRow:(0,o.style)({display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:d.Spacing.Small,padding:"3px 0"}),label:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:13,lineHeight:"18px",color:d.StandardColors.ColorDarkGray50})),learnMoreLink:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({fontSize:13,lineHeight:"18px",color:d.StandardColors.ColorViolet60,textDecoration:"none",$nest:{"&:hover":{textDecoration:"underline"}}})),inputContainer:(0,o.style)({}),helperText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:11,lineHeight:"".concat(d.Spacing.Large,"px"),textAlign:"left",overflow:"hidden",whiteSpace:"pre-line",color:d.StandardColors.ColorLightGray90})),errorText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:11,lineHeight:"".concat(d.Spacing.Large,"px"),textAlign:"left",overflow:"hidden",whiteSpace:"pre-line",color:d.StandardColors.ColorRed60})),previewContainer:(0,o.style)({position:"relative",width:"100%",height:222,marginTop:d.Spacing.Small,backgroundColor:d.StandardColors.ColorLightGray20,borderRadius:0,boxShadow:d.BoxShadowStyles.innerXSmall,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center"}),previewThumbnail:(0,o.style)({width:"100%",height:"100%",objectFit:"cover"}),previewOverlay:(0,o.style)({position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.4)",pointerEvents:"none"})};var od=n(42814);let op="checkmark-list-item",om=od.bP.create({name:"checkmarkListItem",content:"paragraph+",defining:!0,parseHTML:()=>[{tag:'li[data-type="'.concat(op,'"]'),priority:51}],addAttributes:()=>({"data-type":{default:op,parseHTML:e=>e.getAttribute("data-type"),renderHTML:e=>({"data-type":e["data-type"]})}}),renderHTML(e){let{HTMLAttributes:t}=e;return["li",(0,od.KV)(t,{"data-type":op}),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),ou="checkmark-bullet-list",og=od.bP.create({name:"checkmarkBulletList",group:"block list",content:"checkmarkListItem+",parseHTML:()=>[{tag:'ul[data-type="'.concat(ou,'"]'),priority:51}],addAttributes:()=>({"data-type":{default:ou,parseHTML:e=>e.getAttribute("data-type"),renderHTML:e=>({"data-type":e["data-type"]})}}),renderHTML(e){let{HTMLAttributes:t}=e;return["ul",(0,od.KV)(t,{"data-type":ou}),0]},addCommands:()=>({toggleCheckmarkList:()=>e=>{let{commands:t}=e;return t.toggleList("checkmarkBulletList","checkmarkListItem")}}
1),addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleCheckmarkList()}}});function oy(e){let{className:t=""}=e;return(0,a.jsx)("div",{className:"".concat(t?"".concat(t," "):"").concat(ox),"data-sentry-component":"DividerVertical","data-sentry-source-file":"DividerVertical.tsx"})}(0,o.cssRule)(".tiptap ul[data-type='".concat(ou,"']"),{position:"relative",padding:"0 !important",textIndent:0-(u.Spacing.xLarge-4),marginLeft:u.Spacing.xLarge-4,$nest:{li:{listStyleType:"none",listStyleImage:"none",listStyle:"none",$nest:{"&::before":{display:"inline-flex",width:"12px",height:"18px",marginRight:u.Spacing.Small-2,content:"''",backgroundColor:"currentcolor",maskImage:'url(\'data:image/svg+xml,<svg width="18" height="12" viewBox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7384 0.779786C17.1289 1.17031 17.1289 1.80348 16.7384 2.194L7.42428 11.5081C6.9166 12.0158 6.09348 12.0158 5.5858 11.5081L1.26164 7.18392C0.871119 6.79339 0.871119 6.16023 1.26164 5.76971C1.65217 5.37918 2.28533 5.37918 2.67586 5.76971L6.50504 9.59889L15.3241 0.779786C15.7147 0.389262 16.3478 0.389262 16.7384 0.779786Z" fill="%235B5B66"/></svg>\')',maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center bottom"},p:{display:"inline",marginBottom:"0 !important"}}}}});let ox=(0,o.style)({$debugName:"vertical-divider",borderLeft:"1px solid ".concat(d.Colors.Border),margin:"0 ".concat(d.Spacing.xSmall,"px"),height:"100%",minHeight:"1em"});var oh=n(40892);function oC(e){let{icon:t,onClick:n,showDropShadow:o=!0,ariaLabel:r,tooltip:s}=e,i=o?oS.buttonWithShadow:oS.buttonWithoutShadow,l=(0,a.jsx)(G.A,{className:i,onClick:n,"aria-label":r,children:t});return s?(0,a.jsx)(J.x,{target:l,title:s,"data-sentry-element":"SoloTooltip","data-sentry-component":"DefaultButtonIconOnly","data-sentry-source-file":"DefaultButtonIconOnly.tsx"}):l}let of={height:u.Spacing.xxLarge,width:u.Spacing.xxLarge,alignItems:"center",justifyContent:"center",padding:u.Spacing.xSmall,border:"none",display:"flex",color:u.StandardColors.ColorDarkGray05,backgroundColor:d.Colors.Secondary,$nest:{"&:hover":{backgroundColor:"".concat(d.Colors.SecondaryHover," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&:active":{color:"".concat(u.StandardColors.ColorDarkGray05," !important"),backgroundColor:"".concat(d.Colors.SecondaryPressed," !important")},svg:{pointerEvents:"none"}}},oS={buttonWithShadow:(0,o.style)({...of,boxShadow:u.BoxShadowStyles.Small}),buttonWithoutShadow:(0,o.style)({...of,boxShadow:u.BoxShadowStyles.None})};function ov(e){let{icon:t,label:n,onClick:o,showDropShadow:r=!0,ariaLabel:s,tooltip:i,"data-testid":l}=e,c=r?oj.buttonWithShadow:oj.buttonWithoutShadow,d=(0,a.jsxs)(G.A,{className:c,onClick:o,"aria-label":s||n,"data-testid":l,children:[t,(0,a.jsx)("span",{className:oj.label,children:n})]});return i?(0,a.jsx)(J.x,{target:d,title:i,"data-sentry-element":"SoloTooltip","data-sentry-component":"DefaultButtonLeftIcon","data-sentry-source-file":"DefaultButtonLeftIcon.tsx"}):d}let ob={height:u.Spacing.xxLarge,alignItems:"center",paddingBlock:u.Spacing.xSmall,paddingInline:u.Spacing.Small,border:"none",display:"flex",gap:u.Spacing.Micro,color:u.StandardColors.ColorDarkGray05,backgroundColor:d.Colors.Secondary,$nest:{"&:hover":{backgroundColor:"".concat(d.Colors.SecondaryHover," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&:active":{color:"".concat(u.StandardColors.ColorDarkGray05," !important"),backgroundColor:"".concat(d.Colors.SecondaryPressed," !important")},svg:{pointerEvents:"none"}}},oj={buttonWithShadow:(0,o.style)({...ob,boxShadow:u.BoxShadowStyles.Small}),buttonWithoutShadow:(0,o.style)({...ob,boxShadow:u.BoxShadowStyles.None}),label:(0,o.style)({marginInline:u.Spacing.Micro,fontWeight:500,pointerEvents:"none"})};var ow=n(26280),oL=n(48205),ok=n(65227),oM=n(27135),oP=n(5672);let oN=c.D.views.designer.components.properties.imageFitStyleSelector,oD=c.D.views.designer.components.properties.imagePropertySection,oI=[{value:"fill",label:oN.fill,icon:(0,a.jsx)(function(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImageFittingFill","data-sentry-source-file":"ImageFittingFill.tsx",children:[(0,a.jsx)("path",{d:"M1 3.2C1 1.98497 1.98497 1 3.2 1H20.8C22.015 1 23 1.98497 23 3.2V20.8C23 22.015 22.015 23 20.8 23H3.2C1.98497 23 1 22.015 1 20.8V3.2Z",fill:"currentColor",fillOpacity:"0.2","data-sentry-element":"path","data-sentry-source-file":"ImageFittingFill.tsx"}),(0,a.jsx)("path",{d:"M2 14C2.55228 14 3 14.4477 3 15V17H5C5.55228 17 6 17.4477 6 18C6 18.5523 5.55228 19 5 19H3C1.89543 19 1 18.1046 1 17V15C1 14.4477 1.44772 14 2 14ZM22 14C22.5523 14 23 14.4477 23 15V17C23 18.1046 22.1046 19 21 19H19C18.4477 19 18 18.5523 18 18C18 17.4477 18.4477 17 19 17H21V15C21 14.4477 21.4477 14 22 14ZM5 5C5.55228 5 6 5.44772 6 6C6 6.55228 5.55228 7 5 7H3V9C3 9.55228 2.55228 10 2 10C1.44772 10 1 9.55228 1 9V7C1 5.89543 1.89543 5 3 5H5ZM21 5C22.1046 5 23 5.89543 23 7V9C23 9.55228 22.5523 10 22 10C21.4477 10 21 9.55228 21 9V7H19C18.4477 7 18 6.55228 18 6C18 5.44772 18.4477 5 19 5H21Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ImageFittingFill.tsx"})]})},{})},{value:"fit",label:oN.fit,icon:(0,a.jsx)(function(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImageFittingFit","data-sentry-source-file":"ImageFittingFit.tsx",children:[(0,a.jsx)("path",{d:"M7 9C7 7.89543 7.89543 7 9 7H15C16.1046 7 17 7.89543 17 9V15C17 16.1046 16.1046 17 15 17H9C7.89543 17 7 16.1046 7 15V9Z",fill:"currentColor",fillOpacity:"0.2","data-sentry-element":"path","data-sentry-source-file":"ImageFittingFit.tsx"}),(0,a.jsx)("path",{d:"M2 14C2.55228 14 3 14.4477 3 15V17H5C5.55228 17 6 17.4477 6 18C6 18.5523 5.55228 19 5 19H3C1.89543 19 1 18.1046 1 17V15C1 14.4477 1.44772 14 2 14ZM22 14C22.5523 14 23 14.4477 23 15V17C23 18.1046 22.1046 19 21 19H19C18.4477 19 18 18.5523 18 18C18 17.4477 18.4477 17 19 17H21V15C21 14.4477 21.4477 14 22 14ZM5 5C5.55228 5 6 5.44772 6 6C6 6.55228 5.55228 7 5 7H3V9C3 9.55228 2.55228 10 2 10C1.44772 10 1 9.55228 1 9V7C1 5.89543 1.89543 5 3 5H5ZM21 5C22.1046 5 23 5.89543 23 7V9C23 9.55228 22.5523 10 22 10C21.4477 10 21 9.55228 21 9V7H19C18.4477 7 18 6.55228 18 6C18 5.44772 18.4477 5 19 5H21Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ImageFittingFit.tsx"})]})},{})}];function oT(e){let{value:t,onValueChanged:n,eventName:o}=e,{analytics:s}=(0,eL.S)(),[i,l]=(0,r.useState)(!1),c=oI.find(e=>e.value===t)||oI[0];return(0,a.jsxs)(ow.A,{toggle:()=>{l(e=>{let t=!e;return o&&t&&(0,ed.$s)(s,o,{}),t})},isOpen:i,onMouseDown:e=>{e.stopPropagation()},"data-sentry-element":"Dropdown","data-sentry-component":"ImageFitDropdown","data-sentry-source-file":"ImageFitDropdown.tsx",children:[(0,a.jsxs)(oL.A,{className:oB.dropdownToggle,"aria-label":"".concat(oD.style,": ").concat(c.label),"data-sentry-element":"DropdownToggle","data-sentry-source-file":"ImageFitDropdown.tsx",children:[(0,a.jsx)("span",{className:oB.toggleIcon,children:c.icon}),(0,a.jsx)("span",{className:oB.toggleLabel,children:c.label}),(0,a.jsx)(oP.X,{"data-sentry-element":"ChevronDownSmall","data-sentry-source-file":"ImageFitDropdown.tsx"})]}),(0,a.jsxs)(ok.A,{persist:!0,className:oB.dropdownMenu,"data-sentry-element":"DropdownMenu","data-sentry-source-file":"ImageFitDropdown.tsx",children:[(0,a.jsx)(oM.A,{header:!0,className:oB.dropdownHeader,"data-sentry-element":"DropdownItem","data-sentry-source-file":"ImageFitDropdown.tsx",children:oD.style.toUpperCase()}),oI.map(e=>(0,a.jsxs)(oM.A,{className:oB.dropdownItem,onClick:()=>n(e.value),children:[(0,a.jsx)("span",{className:oB.itemIcon,children:e.icon}),(0,a.jsx)("span",{className:oB.itemLabel,children:e.label})]},e.value))]})]})}let oB={dropdownToggle:(0,o.style)({$debugName:"image-fit-dropdown-toggle",display:"flex",alignItems:"center",gap:d.Spacing.Micro,padding:d.Spacing.xSmall,backgroundColor:d.Colors.Secondary,borderRadius:d.Spacing.Micro,border:"none",cursor:"pointer",color:u.StandardColors.ColorDarkGray05,width:86,$nest:{"&:hover":{backgroundColor:"".concat(d.Colors.SecondaryHover," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&:focus":{outline:"none",boxShadow:"none"},"&:active":{backgroundColor:"".concat(d.Colors.SecondaryPressed," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&.show":{backgroundColor:"".concat(d.Colors.Secondary," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&.show:hover":{backgroundColor:"".concat(d.Colors.SecondaryHover," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},svg:{pointerEvents:"none"}}}),toggleIcon:(0,o.style)({$debugName:"image-fit-toggle-icon",display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,$nest:{"& svg":{width:20,height:20}}}),toggleLabel:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({$debugName:"image-fit-toggle-label",color:u.StandardColors.ColorDarkGray05,flex:1,paddingLeft:d.Spacing.Micro,textAlign:"left"})),dropdownMenu:(0,o.style)({$debugName:"image-fit-dropdown-menu",minWidth:163,width:163,padding:d.Spacing.Small,backgroundColor:u.StandardColors.ColorWhite,border:"1px solid ".concat(u.StandardColors.ColorLightGray40),borderRadius:6,boxShadow:"0px 2px 5px 0px rgba(0, 0, 0, 0.2), 0px 0px 1px 0px rgba(0, 0, 0, 0.2)",$nest:{".dropdown-item:not(:last-child)":{marginBottom:2}}}),dropdownHeader:"".concat(d.FontStyles.Overline," ").concat((0,o.style)({$debugName:"image-fit-dropdown-header",padding:d.Spacing.xSmall,color:u.StandardColors.ColorDarkGray05,textTransform:"uppercase",letterSpacing:"0.065em"})),dropdownItem:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({$debugName:"image-fit-dropdown-item",display:"flex",alignItems:"center",gap:d.Spacing.Small,padding:"".concat(d.Spacing.Micro,"px ").concat(d.Spacing.Small,"px"),cursor:"pointer",color:u.StandardColors.ColorDarkGray05,$nest:{"&:hover":{backgroundColor:"".concat(d.Colors.SecondaryHover," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&:active":{backgroundColor:"".concat(d.Colors.SecondaryPressed," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")}}})),itemIcon:(0,o.style)({$debugName:"image-fit-item-icon",display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,$nest:{"& svg":{width:20,height:20}}}),itemLabel:(0,o.style)({$debugName:"image-fit-item-label",fontSize:13,fontWeight:500})};function oA(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ReplaceImage","data-sentry-source-file":"ReplaceImage.tsx",children:[(0,a.jsx)("path",{d:"M5 2C5 1.44772 4.55228 1 4 1C3.44772 1 3 1.44772 3 2V4H1C0.447715 4 0 4.44772 0 5C0 5.55228 0.447715 6 1 6H3V8C3 8.5
15228 3.44772 9 4 9C4.55228 9 5 8.55228 5 8V6H7C7.55228 6 8 5.55228 8 5C8 4.44772 7.55228 4 7 4H5V2Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ReplaceImage.tsx"}),(0,a.jsx)("path",{d:"M11 2C10.4477 2 10 2.44772 10 3C10 3.55228 10.4477 4 11 4H20.5C20.7748 4 21 4.22406 21 4.50153V19.4985C21 19.7759 20.7748 20 20.5 20H3.5C3.22386 20 3 19.7761 3 19.5V12C3 11.4477 2.55228 11 2 11C1.44772 11 1 11.4477 1 12V19.5C1 20.8807 2.11929 22 3.5 22H20.5C21.882 22 23 20.8779 23 19.4985V4.50153C23 3.12214 21.882 2 20.5 2H11Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ReplaceImage.tsx"}),(0,a.jsx)("path",{d:"M16.0001 9C16.0001 9.82843 15.3285 10.5 14.5001 10.5C13.6716 10.5 13.0001 9.82843 13.0001 9C13.0001 8.17157 13.6716 7.5 14.5001 7.5C15.3285 7.5 16.0001 8.17157 16.0001 9Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ReplaceImage.tsx"}),(0,a.jsx)("path",{d:"M17.884 17H6.18915C5.98729 17 5.86866 16.7731 5.98386 16.6073L9.79475 11.1235C9.8942 10.9804 10.1059 10.9804 10.2053 11.1235L13.0528 15.221L14.8072 13.0933C14.9072 12.972 15.0929 12.972 15.1929 13.0933L18.0768 16.591C18.2113 16.754 18.0953 17 17.884 17Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ReplaceImage.tsx"})]})}function oH(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ReplaceVideo","data-sentry-source-file":"ReplaceVideo.tsx",children:(0,a.jsx)("path",{d:"M20.5 3C21.882 3 23 4.12257 23 5.50195V18.498C23 19.8774 21.882 21 20.5 21H3.5C2.11929 21 1 19.8807 1 18.5V12C1 11.4477 1.44772 11 2 11C2.55228 11 3 11.4477 3 12V18.5C3 18.7761 3.22386 19 3.5 19H20.5C20.7748 19 21 18.7755 21 18.498V5.50195C21 5.22448 20.7748 5 20.5 5H11C10.4477 5 10 4.55228 10 4C10 3.44772 10.4477 3 11 3H20.5ZM10.377 9.12793C10.6096 8.99632 10.8948 8.99927 11.124 9.13672L14.835 11.3633C15.0585 11.4974 15.1953 11.7393 15.1953 12C15.1953 12.2607 15.0585 12.5026 14.835 12.6367L11.124 14.8633C10.8948 15.0007 10.6096 15.0037 10.377 14.8721C10.1443 14.7403 10 14.494 10 14.2266V9.77344C10 9.50605 10.1443 9.25967 10.377 9.12793ZM4 1C4.55228 1 5 1.44772 5 2V4H7C7.55228 4 8 4.44772 8 5C8 5.55228 7.55228 6 7 6H5V8C5 8.55228 4.55228 9 4 9C3.44772 9 3 8.55228 3 8V6H1C0.447715 6 0 5.55228 0 5C0 4.44772 0.447715 4 1 4H3V2C3 1.44772 3.44772 1 4 1Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"ReplaceVideo.tsx"})})}function oF(e){let{deleteNode:t,getPos:n,replaceEventName:o,replaceTooltip:s,replaceIcon:i,children:l,toolbarExtras:c}=e,d=(0,r.useRef)(null),p=(0,r.useCallback)(()=>{var e;let t=new CustomEvent(o,{bubbles:!0,detail:{nodePos:"function"==typeof n?n():null}});null==(e=d.current)||e.dispatchEvent(t)},[n,o]);return(0,a.jsxs)(nc.VR,{className:oE,"data-sentry-element":"NodeViewWrapper","data-sentry-component":"MediaNodeView","data-sentry-source-file":"MediaNodeViews.tsx",children:[(0,a.jsxs)("div",{ref:d,className:oZ,contentEditable:!1,children:[(0,a.jsx)(ov,{icon:i,label:s,onClick:p,showDropShadow:!1,"data-sentry-element":"DefaultButtonLeftIcon","data-sentry-source-file":"MediaNodeViews.tsx"}),c,(0,a.jsx)(oC,{icon:(0,a.jsx)(aB.r,{}),onClick:t,showDropShadow:!1,ariaLabel:"Delete","data-sentry-element":"DefaultButtonIconOnly","data-sentry-source-file":"MediaNodeViews.tsx"})]}),l]})}let oR=e=>{e.preventDefault()};function oV(e){let{node:t,editor:n,deleteNode:o,getPos:s}=e,{src:i,alt:l,imageFit:d}=t.attrs,p=d||"fill",m=(0,r.useCallback)(e=>{let t="function"==typeof s?s():void 0;if(void 0!==t)try{let{tr:a}=n.view.state,o=n.view.state.doc.nodeAt(t);o&&n.view.dispatch(a.setNodeMarkup(t,void 0,{...o.attrs,imageFit:e}))}catch(e){console.error("Failed to update image fit mode:",e)}},[n,s]);return(0,a.jsx)(oF,{editor:n,deleteNode:o,getPos:s,replaceEventName:"rte-replace-image",replaceTooltip:c.D.components.tooltips.richText.replaceImage,replaceIcon:(0,a.jsx)(oA,{}),toolbarExtras:(0,a.jsx)(oT,{value:p,onValueChanged:m,eventName:"rte-image-fit-dropdown"}),"data-sentry-element":"MediaNodeView","data-sentry-component":"ImageNodeView","data-sentry-source-file":"MediaNodeViews.tsx",children:(0,a.jsx)("div",{className:oG,style:{backgroundImage:"url(".concat(i,")")},role:"img","aria-label":l||"","data-image-fit":p})})}function oW(e){let{node:t,editor:n,deleteNode:o,getPos:r}=e,{src:s}=t.attrs;return(0,a.jsx)(oF,{editor:n,deleteNode:o,getPos:r,replaceEventName:"rte-replace-video",replaceTooltip:c.D.components.tooltips.richText.replaceVideo,replaceIcon:(0,a.jsx)(oH,{}),"data-sentry-element":"MediaNodeView","data-sentry-component":"VideoNodeView","data-sentry-source-file":"MediaNodeViews.tsx",children:(0,a.jsx)("div",{"data-vi
1deo":!0,className:oO,draggable:!1,onDragStart:oR,children:(0,a.jsx)(or.VideoEmbed,{src:s,className:oz,"data-sentry-element":"VideoEmbed","data-sentry-source-file":"MediaNodeViews.tsx"})})})}let oE=(0,o.style)({$debugName:"media-node-wrapper",display:"block",margin:"".concat(d.Spacing.Medium,"px 0"),backgroundColor:"#FFFFFF",$nest:{"&.ProseMirror-selectednode":{outline:"none",backgroundColor:"#FFFFFF"}}}),oZ=(0,o.style)({$debugName:"media-actions-row",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:d.Spacing.Small,marginTop:d.Spacing.Large,marginBottom:d.Spacing.Small}),oG=(0,o.style)({$debugName:"image-container",backgroundColor:d.Colors.Secondary,borderRadius:d.Spacing.Micro,boxShadow:d.BoxShadowStyles.innerXSmall,width:"100%",height:150,overflow:"hidden",backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat"}),oO=(0,o.style)({$debugName:"media-node-video-wrapper",width:"100%",maxWidth:"100%",borderRadius:0,marginTop:d.Spacing.Small}),oz=(0,o.style)({$debugName:"media-node-video",width:"100%",maxWidth:"100%",height:"auto",aspectRatio:"16 / 9",display:"block",borderRadius:0,marginTop:"0 !important",marginBottom:"0 !important"});function o$(e){let{children:t,className:n,eventName:o,buttonGroups:s,leadingNode:i,toggleIcon:l,toggleTooltip:c,...d}=e,{analytics:p}=(0,eL.S)(),[m,u]=(0,r.useState)(!1);return(0,a.jsxs)(ow.A,{toggle:()=>{u(e=>{let t=!e;return o&&t&&(0,ed.$s)(p,o,{}),t})},isOpen:m,className:"".concat(n?"".concat(n," "):""," w-100"),...d,"data-sentry-element":"Dropdown","data-sentry-component":"RichTextEditorDropdown","data-sentry-source-file":"RichTextEditorDropdown.tsx",children:[(0,a.jsx)(J.x,{disabled:!c,target:(0,a.jsx)(oL.A,{className:"".concat(oU.dropdownToggle),children:l}),title:c,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"RichTextEditorDropdown.tsx"}),(0,a.jsx)(ok.A,{className:oU.dropdownMenu,"data-sentry-element":"DropdownMenu","data-sentry-source-file":"RichTextEditorDropdown.tsx",children:(()=>{let e=(null!=s?s:[]).filter(e=>e.length>0),t=e.length-1;return 0===e.length&&i?i:e.map((e,n)=>{let o=(0,a.jsx)(nD,{buttons:[...e].map(e=>({...e}))});return(0,a.jsxs)(r.Fragment,{children:[i&&n===t?(0,a.jsxs)("div",{className:oU.leadingGroup,children:[i,o]}):o,n<t&&(0,a.jsx)(oy,{className:oU.dividerStyle})]},n)})})()})]})}let oU={dropdownToggle:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",lineHeight:"0",$nest:{"&.active":{backgroundColor:u.StandardColors.ColorLightGray30,color:u.StandardColors.ColorDarkGray50},"&.disabled":{backgroundColor:"transparent"}}})),dropdownMenu:"".concat((0,o.style)((0,u.createDropdownMenuTransitionStyle)())," ").concat((0,o.style)({padding:d.Spacing.xSmall,boxShadow:u.BoxShadowStyles.Small,border:"1px solid",borderColor:u.StandardColors.ColorLightGray40,zIndex:1050,minWidth:"unset",display:"flex !important",flexDirection:"row"})),dividerStyle:(0,o.style)({height:"20px",margin:"auto ".concat(d.Spacing.Micro,"px")}),leadingGroup:(0,o.style)({display:"flex",alignItems:"center",columnGap:d.Spacing.Micro/2})};var o_=n(20829),oq=n(86497);let oQ={textAlign:{default:null,parseHTML:e=>e.getAttribute("data-text-align")||null,renderHTML:e=>e.textAlign?{"data-text-align":e.textAlign}:{}},verticalAlign:{default:null,parseHTML:e=>e.getAttribute("data-vertical-align")||null,renderHTML:e=>e.verticalAlign?{"data-vertical-align":e.verticalAlign}:{}}};function oK(e){var t,n;return null!=(n=null==(t=oY(e))?void 0:t.map.width)?n:0}function oY(e){if(!(0,o_.aH)(e))return null;try{return(0,o_._t)(e)}catch(e){return console.error("selectedRect threw for an in-table selection",e),null}}let oX=ns.nA.extend({addAttributes(){var e;return{...null==(e=this.parent)?void 0:e.call(this),...oQ}}}),oJ=ns.A0.extend({addAttributes(){var e;return{...null==(e=this.parent)?void 0:e.call(this),...oQ}}}),o1=od.YY.create({name:"tableControls",addProseMirrorPlugins:()=>[new nx.k_({props:{decorations(e){let{selection:t}=e;if(!(0,o_.aH)(e))return null;if(!(t instanceof o_.rn)){let n=(0,o_.KW)(t.$from),a=n&&e.doc.nodeAt(n.pos);return n&&a?oq.zF.create(e.doc,[oq.NZ.node(n.pos,n.pos+a.nodeSize,{class:"activeCell"})]):null}let n=oY(e);if(!n)return null;let a=[];return t.forEachCell((e,t)=>{let o=n.map.findCell(t-n.tableStart),r=[o.top===n.top&&"selectionEdgeTop",o.bottom===n.bottom&&"selectionEdgeBottom",o.left===n.left&&"selectionEdgeLeft",o.right===n.right&&"selectionEdgeRight"].filter(
1Boolean);r.length>0&&a.push(oq.NZ.node(t,t+e.nodeSize,{class:r.join(" ")}))}),oq.zF.create(e.doc,a)}}})],addCommands:()=>({clearSelectedCells:()=>e=>{let{state:t,dispatch:n,tr:a}=e,{selection:o}=t;if(!(o instanceof o_.rn))return!1;let r=[];if(o.forEachCell((e,t)=>r.push({node:e,pos:t})),0===r.length)return!1;if(n){for(let{node:e,pos:t}of(r.sort((e,t)=>t.pos-e.pos),r)){var s;let n=null==(s=e.type.contentMatch.defaultType)?void 0:s.createAndFill();n&&a.replaceWith(t+1,t+e.nodeSize-1,n)}n(a)}return!0},toggleSelectedAxisHeader:e=>t=>{let{state:n,dispatch:a,tr:o}=t;if(!(0,o_.aH)(n))return!1;let r=(0,o_._t)(n),s=(0,o_.e)(n.schema),i="column"===e?{left:r.left,top:0,right:r.right,bottom:r.map.height}:{left:0,top:r.top,right:r.map.width,bottom:r.bottom},l=r.map.cellsInRect(i).map(e=>e+r.tableStart);if(0===l.length)return!1;let c=l.every(e=>{var t;return(null==(t=n.doc.nodeAt(e))?void 0:t.type)===s.header_cell})?s.cell:s.header_cell;if(a){for(let e of l){let t=o.doc.nodeAt(e);t&&t.type!==c&&o.setNodeMarkup(e,c,t.attrs)}a(o)}return!0},appendRow:()=>e=>{let{state:t,dispatch:n,tr:a}=e,o=oY(t);return!!o&&(n&&n((0,o_.uY)(a,o,o.map.height)),!0)},appendColumn:()=>e=>{let{state:t,dispatch:n,tr:a}=e,o=oY(t);return!!o&&!(o.map.width>=3)&&(n&&n((0,o_.cq)(a,o,o.map.width)),!0)}})});function o0(){return(0,a.jsx)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Plus","data-sentry-source-file":"Plus.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6042 5.83337C11.0644 5.83337 11.4375 6.20647 11.4375 6.66671V9.16671H13.9375C14.3977 9.16671 14.7708 9.5398 14.7708 10C14.7708 10.4603 14.3977 10.8334 13.9375 10.8334H11.4375V13.3334C11.4375 13.7936 11.0644 14.1667 10.6042 14.1667C10.1439 14.1667 9.77083 13.7936 9.77083 13.3334V10.8334H7.27083C6.8106 10.8334 6.4375 10.4603 6.4375 10C6.4375 9.5398 6.8106 9.16671 7.27083 9.16671H9.77083V6.66671C9.77083 6.20647 10.1439 5.83337 10.6042 5.83337Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Plus.tsx"})})}function o3(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MoreVertical","data-sentry-source-file":"MoreVertical.tsx",children:[(0,a.jsx)("path",{d:"M12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MoreVertical.tsx"}),(0,a.jsx)("path",{d:"M12 17C13.1046 17 14 17.8954 14 19C14 20.1046 13.1046 21 12 21C10.8954 21 10 20.1046 10 19C10 17.8954 10.8954 17 12 17Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MoreVertical.tsx"}),(0,a.jsx)("path",{d:"M12 3C13.1046 3 14 3.89543 14 5C14 6.10457 13.1046 7 12 7C10.8954 7 10 6.10457 10 5C10 3.89543 10.8954 3 12 3Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MoreVertical.tsx"})]})}function o2(e){let{children:t,className:n}=e;return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"data-sentry-element":"svg","data-sentry-component":"IconSvg","data-sentry-source-file":"tableMenuIcons.tsx",children:t})}function o6(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"HeaderColumnIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M20 3C21.1046 3 22 3.89543 22 5V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19V5C2 3.89543 2.89543 3 4 3H20ZM7.875 15.6602V19H20V15.6602H7.875ZM7.875 13.6602H20V10.3301H7.875V13.6602ZM7.875 8.33008H20V5H7.875V8.33008Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function o5(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"HeaderRowIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{d:"M20 3C21.1046 3 22 3.89543 22 5V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19V5C2 3.89543 2.89543 3 4 3H20ZM4 8V19H8V8H4ZM10 8V19H20V8H10Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 20V4H16V20H14Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function o4(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"InsertColumnLeftIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 8C5.44772 8 5 8.44772 5 9V11H3C2.44771 11 2 11.4477 2 12C2 12.5523 2.44771 13 3 13H5V15C5 15.5523 5.44772 16 6 16C6.55228 16 7 15.5523 7 15V13H9C9.55228 13 
110 12.5523 10 12C10 11.4477 9.55228 11 9 11H7V9C7 8.44772 6.55228 8 6 8Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 5C22 3.89543 21.1046 3 20 3H14C12.8954 3 12 3.89543 12 5V19C12 20.1046 12.8954 21 14 21H20C21.1046 21 22 20.1046 22 19V5ZM14 5H20V19H14V5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 11.4477 20.5523 11 20 11L14 11C13.4477 11 13 11.4477 13 12C13 12.5523 13.4477 13 14 13L20 13C20.5523 13 21 12.5523 21 12Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function o7(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"InsertColumnRightIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 8C18.5523 8 19 8.44772 19 9V11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H19V15C19 15.5523 18.5523 16 18 16C17.4477 16 17 15.5523 17 15V13H15C14.4477 13 14 12.5523 14 12C14 11.4477 14.4477 11 15 11H17V9C17 8.44772 17.4477 8 18 8Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 5C2 3.89543 2.89543 3 4 3H10C11.1046 3 12 3.89543 12 5V19C12 20.1046 11.1046 21 10 21H4C2.89543 21 2 20.1046 2 19V5ZM10 5H4V19H10V5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 11.4477 3.44772 11 4 11L10 11C10.5523 11 11 11.4477 11 12C11 12.5523 10.5523 13 10 13L4 13C3.44772 13 3 12.5523 3 12Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function o9(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"InsertRowAboveIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 6C8 5.44772 8.44772 5 9 5H11V3C11 2.44771 11.4477 2 12 2C12.5523 2 13 2.44771 13 3V5H15C15.5523 5 16 5.44772 16 6C16 6.55228 15.5523 7 15 7H13V9C13 9.55228 12.5523 10 12 10C11.4477 10 11 9.55228 11 9V7H9C8.44772 7 8 6.55228 8 6Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 22C3.89543 22 3 21.1046 3 20L3 14C3 12.8954 3.89543 12 5 12L19 12C20.1046 12 21 12.8954 21 14V20C21 21.1046 20.1046 22 19 22H5ZM5 14V20H19V14L5 14Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21C11.4477 21 11 20.5523 11 20L11 14C11 13.4477 11.4477 13 12 13C12.5523 13 13 13.4477 13 14L13 20C13 20.5523 12.5523 21 12 21Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function o8(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"InsertRowBelowIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 18C8 18.5523 8.44772 19 9 19H11V21C11 21.5523 11.4477 22 12 22C12.5523 22 13 21.5523 13 21V19H15C15.5523 19 16 18.5523 16 18C16 17.4477 15.5523 17 15 17H13V15C13 14.4477 12.5523 14 12 14C11.4477 14 11 14.4477 11 15V17H9C8.44772 17 8 17.4477 8 18Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2C3.89543 2 3 2.89543 3 4L3 10C3 11.1046 3.89543 12 5 12L19 12C20.1046 12 21 11.1046 21 10V4C21 2.89543 20.1046 2 19 2L5 2ZM5 10V4L19 4V10L5 10Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C11.4477 3 11 3.44772 11 4L11 10C11 10.5523 11.4477 11 12 11C12.5523 11 13 10.5523 13 10L13 4C13 3.44772 12.5523 3 12 3Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function re(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"AlignmentIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{d:"M3 17C3.55228 17 4 17.4477 4 18V20H6C6.55228 20 7 20.4477 7 21C7 21.5523 6.55228 22 6 22H4C2.89543 22 2 21.1046 2 20V18C2 17.4477 2.44772 17 3 17ZM21 17C21.5523 17 22 17.4477 22 18V20C22 21.1046 21.1046 22 20 22H18C17.4477 22 17 21.5523 17 21C17 20.4477 17.4477 20 18 20H20V18C20 17.4477 20.4477 17 21 17ZM6 2C6.55228 2 7 2.44772 7 3C7 3.55228 6.55228 4 6 4H4V6C4 6.55228 3.55228 7 3 7C2.44772 7 2 6.55228 2 6V4C2 2.89543 2.89543 2 4 2H6ZM20 2C21.1046 2 22 2.89543 22 4V6C22 6.55228 21.5523 7 21 7C20.4477 7 20 6.55228 20 6V4H18C17.4477 4 17 3.55228 17 3C17 2.44772 17.4477 2 18 2H20Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12C6 11.4477 6.44772 11 7 11
1H17C17.5523 11 18 11.4477 18 12C18 12.5523 17.5523 13 17 13H7C6.44772 13 6 12.5523 6 12Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 8C6 7.44772 6.44772 7 7 7H17C17.5523 7 18 7.44772 18 8C18 8.55228 17.5523 9 17 9H7C6.44772 9 6 8.55228 6 8Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 16C6 15.4477 6.44772 15 7 15H13C13.5523 15 14 15.4477 14 16C14 16.5523 13.5523 17 13 17H7C6.44772 17 6 16.5523 6 16Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function rt(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"AlignLeftIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M12 18C12.5523 18 13 18.4477 13 19C13 19.5523 12.5523 20 12 20H3C2.44772 20 2 19.5523 2 19C2 18.4477 2.44772 18 3 18H12ZM21 11C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H21ZM22 4C22.5523 4 23 4.44772 23 5C23 5.55228 22.5523 6 22 6H3C2.44772 6 2 5.55228 2 5C2 4.44772 2.44772 4 3 4H22Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function rn(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"AlignCenterIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M16.5 18C17.0523 18 17.5 18.4477 17.5 19C17.5 19.5523 17.0523 20 16.5 20H7.5C6.94772 20 6.5 19.5523 6.5 19C6.5 18.4477 6.94772 18 7.5 18H16.5ZM21 11C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H21ZM21 4C21.5523 4 22 4.44772 22 5C22 5.55228 21.5523 6 21 6H3C2.44772 6 2 5.55228 2 5C2 4.44772 2.44772 4 3 4H21Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function ra(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"AlignRightIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20H21C21.5523 20 22 19.5523 22 19C22 18.4477 21.5523 18 21 18H12ZM3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H21C21.5523 13 22 12.5523 22 12C22 11.4477 21.5523 11 21 11H3ZM2 4C1.44772 4 1 4.44772 1 5C1 5.55228 1.44772 6 2 6H21C21.5523 6 22 5.55228 22 5C22 4.44772 21.5523 4 21 4H2Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function ro(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"AlignTopIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{d:"M22 4C22 3.44772 21.5523 3 21 3L3 3C2.44772 3 2 3.44772 2 4C2 4.55228 2.44772 5 3 5L21 5C21.5523 5 22 4.55228 22 4Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{d:"M16.5967 12.8682C16.9869 12.4777 16.987 11.8446 16.5967 11.4541L12.707 7.56543C12.3165 7.17493 11.6835 7.17499 11.293 7.56543L7.4043 11.4541C7.01377 11.8446 7.01377 12.4776 7.4043 12.8682C7.79483 13.2586 8.42786 13.2587 8.81836 12.8682L11 10.6865L11 19.5859C11.0001 20.138 11.4479 20.5857 12 20.5859C12.5521 20.5858 12.9999 20.1381 13 19.5859L13 10.6865L15.1826 12.8682C15.5732 13.2585 16.2062 13.2586 16.5967 12.8682Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function rr(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"AlignMiddleIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M22 12C22 11.4477 21.5523 11 21 11L3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13L21 13C21.5523 13 22 12.5523 22 12ZM16.5967 20.5967C16.9871 20.2062 16.9871 19.5722 16.5967 19.1816L12.707 15.293C12.3165 14.9025 11.6835 14.9025 11.293 15.293L7.4043 19.1816C7.01377 19.5722 7.01377 20.2062 7.4043 20.5967C7.79481 20.9867 8.42797 20.9869 8.81836 20.5967L11 18.4141L11 23C11 23.5522 11.4478 23.9999 12 24C12.5522 23.9999 13 23.5523 13 23L13 18.4141L15.1826 20.5967C15.5732 20.9867 16.2063 20.9869 16.5967 20.5967ZM16.5967 4.81836C16.9871 4.42785 16.9871 3.79383 16.5967 3.40332C16.2063 3.01305 15.5732 3.01335 15.1826 3.40332L13 5.58594L13 1C13 0.447746 12.5522 4.94784e-05 12 -1.19249e-07C11.4478 9.14269e-05 11 0.447771 11 1L11 5.58594L8.81836 3.40332C8.42797 3.0131 7.79481 3.0133 7.4043 3.40332C7.01377 3.79384 7.01377 4.42784 7.4043 4.81836L11.293 8.70703C11.
16835 9.09748 12.3165 9.09746 12.707 8.70703L16.5967 4.81836Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function rs(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"AlignBottomIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M22 20C22 20.5523 21.5523 21 21 21L3 21C2.44771 21 2 20.5523 2 20C2 19.4477 2.44772 19 3 19L21 19C21.5523 19 22 19.4477 22 20ZM16.5967 11.1318C16.9869 11.5223 16.987 12.1554 16.5967 12.5459L12.707 16.4346C12.3165 16.8251 11.6835 16.825 11.293 16.4346L7.4043 12.5459C7.01377 12.1554 7.01377 11.5224 7.4043 11.1318C7.79483 10.7414 8.42786 10.7413 8.81836 11.1318L11 13.3135L11 4.41406C11.0001 3.86197 11.4479 3.41425 12 3.41406C12.5521 3.41415 12.9999 3.86191 13 4.41406L13 13.3135L15.1826 11.1318C15.5732 10.7415 16.2062 10.7414 16.5967 11.1318Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function ri(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"ClearContentsIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{d:"M2 6V4C2 2.89543 2.89543 2 4 2H6C6.55228 2 7 2.44772 7 3C7 3.55228 6.55228 4 6 4H4V6C4 6.55228 3.55228 7 3 7C2.44772 7 2 6.55228 2 6Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{d:"M18 2L20 2C21.1046 2 22 2.89543 22 4L22 6C22 6.55228 21.5523 7 21 7C20.4477 7 20 6.55228 20 6L20 4L18 4C17.4477 4 17 3.55228 17 3C17 2.44772 17.4477 2 18 2Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{d:"M6 22L4 22C2.89543 22 2 21.1046 2 20L2 18C2 17.4477 2.44772 17 3 17C3.55228 17 4 17.4477 4 18L4 20L6 20C6.55228 20 7 20.4477 7 21C7 21.5523 6.55228 22 6 22Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{d:"M22 18L22 20C22 21.1046 21.1046 22 20 22L18 22C17.4477 22 17 21.5523 17 21C17 20.4477 17.4477 20 18 20L20 20L20 18C20 17.4477 20.4477 17 21 17C21.5523 17 22 17.4477 22 18Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{d:"M14.293 8.29295C14.6835 7.90243 15.3165 7.90243 15.707 8.29295C16.0975 8.68348 16.0975 9.31649 15.707 9.70702L13.414 12L15.707 14.293C16.0975 14.6835 16.0975 15.3165 15.707 15.707C1
15.3165 16.0975 14.6835 16.0975 14.293 15.707L12 13.414L9.70702 15.707C9.31649 16.0975 8.68348 16.0975 8.29295 15.707C7.90243 15.3165 7.90243 14.6835 8.29295 14.293L10.5859 12L8.29295 9.70702C7.90243 9.31649 7.90243 8.68348 8.29295 8.29295C8.68348 7.90243 9.31649 7.90243 9.70702 8.29295L12 10.5859L14.293 8.29295Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function rl(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"CheckIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7384 7.0919C19.1289 7.48243 19.1289 8.11559 18.7384 8.50612L10.4243 16.8202C9.9166 17.3279 9.09348 17.3279 8.5858 16.8202L5.26164 13.496C4.87112 13.1055 4.87112 12.4723 5.26164 12.0818C5.65217 11.6913 6.28533 11.6913 6.67586 12.0818L9.50504 14.911L17.3241 7.0919C17.7147 6.70138 18.3478 6.70138 18.7384 7.0919Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function rc(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"ChevronRightIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M15.6626 12.6891C15.6626 12.6891 16.996 11.3557 11.6626 16.6891C10.7198 17.6319 9.30561 16.2177 10.2484 15.2749L13.5413 11.982L10.2484 8.68908C9.30561 7.74627 10.7198 6.33206 11.6626 7.27486L15.6626 11.2749C15.8845 11.4967 15.9521 11.7447 15.9498 11.982C15.9498 12.2669 15.8541 12.5026 15.6626 12.6891Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function rd(e){let{className:t}=e;return(0,a.jsxs)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"TableColumnsIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:[(0,a.jsx)("path",{d:"M20 3C21.1046 3 22 3.89543 22 5V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19V5C2 3.89543 2.89543 3 4 3H20ZM10 19H20V5H10V19ZM4 19H8V5H4V19Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 20V4H16V20H14Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})]})}function rp(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"TableRowsIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M20 3C21.1046 3 22 3.89543 22 5V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19V5C2 3.89543 2.89543 3 4 3H20ZM4 15.6602V19H20V15.6602H4ZM4 13.6602H20V10.3301H4V13.6602ZM4 8.33008H20V5H4V8.33008Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function rm(e){let{className:t}=e;return(0,a.jsx)(o2,{className:t,"data-sentry-element":"IconSvg","data-sentry-component":"VerySmallXIcon","data-sentry-source-file":"tableMenuIcons.tsx",children:(0,a.jsx)("path",{d:"M12.018 13.4322L8.72514 16.7251C7.78233 17.6679 6.36811 16.2537 7.31092 15.3109L10.6038 12.018L7.31092 8.72514C6.36811 7.78233 7.78233 6.36811 8.72514 7.31092L12.018 10.6038L15.3109 7.31092C16.2537 6.36811 17.6679 7.78233 16.7251 8.72514L13.4322 12.018L16.7251 15.3109C17.6679 16.2537 16.2537 17.6679 15.3109 16.7251L12.018 13.4322Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"tableMenuIcons.tsx"})})}function ru(e){let{icon:t,label:n,checked:o,disabled:r,onClick:s}=e;return(0,a.jsxs)("button",{type:"button",disabled:r,className:"".concat(d.FontStyles.Medium," ").concat(rv.row," ").concat(o?rv.rowChecked:""," ").concat(r?rv.rowDisabled:""),onMouseDown:e=>{e.preventDefault()},onClick:e=>{e.stopPropagation(),s()},"data-sentry-component":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx",children:[(0,a.jsx)("span",{className:rv.icon,children:t}),(0,a.jsx)("span",{className:rv.label,children:n}),o&&(0,a.jsx)("span",{className:rv.check,children:(0,a.jsx)(rl,{})})]})}function rg(){return(0,a.jsx)("div",{className:rv.divider,"data-sentry-component":"Divider","data-sentry-source-file":"TableAxisMenu.tsx"})}function ry(e){let{icon:t,label:n,children:o}=e,[s,i]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),[p,m]=(0,r.useState)(0),u=(0,r.useRef)(null),g=(0,r.useRef)(null),y=(0,r.useRef)(null),x=()=>{null!==y.current&&(window.clearTimeout(y.current),y.current=null)};return(0,r.useEffect)(()=>()=>{null!==y.current&&window.clearTimeout(y.current)},[]),(0,r.useLayoutEffect)(()=>
1{if(!s||!u.current||!g.current)return;let e=u.current.getBoundingClientRect(),t=g.current;c(e.right+t.offsetWidth>window.innerWidth);let n=e.top+t.offsetHeight-(window.innerHeight-8);m(n>0?-Math.min(n,e.top-8):0)},[s]),(0,a.jsxs)("div",{ref:u,className:rv.submenuAnchor,onMouseEnter:()=>{x(),i(!0)},onMouseLeave:()=>{x(),y.current=window.setTimeout(()=>i(!1),150)},"data-sentry-component":"SubmenuRow","data-sentry-source-file":"TableAxisMenu.tsx",children:[(0,a.jsxs)("button",{type:"button",className:"".concat(d.FontStyles.Medium," ").concat(rv.row),"aria-haspopup":"menu","aria-expanded":s,onMouseDown:e=>e.preventDefault(),onClick:e=>{e.stopPropagation(),x(),i(e=>!e)},children:[(0,a.jsx)("span",{className:rv.icon,children:t}),(0,a.jsx)("span",{className:rv.label,children:n}),(0,a.jsx)("span",{className:rv.chevron,children:(0,a.jsx)(rc,{"data-sentry-element":"ChevronRightIcon","data-sentry-source-file":"TableAxisMenu.tsx"})})]}),s&&(0,a.jsx)("div",{ref:g,className:"".concat(rv.flyout," ").concat(l?rv.flyoutLeft:""),style:{top:p},children:(0,a.jsx)("div",{className:rv.flyoutPanel,children:o})})]})}function rx(e){var t,n;let{editor:o,axis:r,isOpen:s,onToggle:i,onBeforeOpen:l,length:d}=e,p=c.D.components.tableMenu,m=function(e){var t,n,a;let o=e.selection,r=o instanceof o_.rn?o.$headCell:o.$head,s=null!=(t=(0,o_.KW)(r))?t:(0,o_.KW)(o.$from),i=null==s?void 0:s.nodeAfter;return i?{textAlign:null!=(n=i.attrs.textAlign)?n:null,verticalAlign:null!=(a=i.attrs.verticalAlign)?a:null,isHeader:"tableHeader"===i.type.name}:null}(o.state),u="column"===r,g=u&&oK(o.state)>=3,y=u?2>=oK(o.state):(null!=(n=null==(t=oY(o.state))?void 0:t.map.height)?n:0)<=2,x=e=>{e()?i():console.warn("TableAxisMenu: command did not apply; keeping menu open")},h=e=>x(()=>o.chain().setCellAttribute("textAlign",e).run()),C=e=>x(()=>o.chain().setCellAttribute("verticalAlign",e).run());return(0,a.jsxs)(ow.A,{isOpen:s,toggle:()=>{s||l(),i()},direction:"down",className:rv.dropdown,"data-sentry-element":"Dropdown","data-sentry-component":"TableAxisMenu","data-sentry-source-file":"TableAxisMenu.tsx",children:[(0,a.jsx)(oL.A,{className:"".concat(u?rv.toggleColumn:rv.toggleRow," ").concat(s?"active":""),style:u?{width:null!=d?d:12}:{height:null!=d?d:12},"aria-label":u?p.columnOptions:p.rowOptions,"data-testid":"table-".concat(r,"-handle"),"data-sentry-element":"DropdownToggle","data-sentry-source-file":"TableAxisMenu.tsx",children:u?(0,a.jsx)(nS,{}):(0,a.jsx)(o3,{})}),(0,a.jsxs)(ok.A,{className:rv.menu,end:!u,container:"body",strategy:"fixed","data-sentry-element":"DropdownMenu","data-sentry-source-file":"TableAxisMenu.tsx",children:[(0,a.jsx)(ru,{icon:u?(0,a.jsx)(o6,{}):(0,a.jsx)(o5,{}),label:u?p.headerColumn:p.headerRow,checked:null==m?void 0:m.isHeader,onClick:()=>x(()=>o.chain().toggleSelectedAxisHeader(r).run()),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(rg,{"data-sentry-element":"Divider","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:u?(0,a.jsx)(o4,{}):(0,a.jsx)(o9,{}),label:u?p.insertColumnLeft:p.insertRowAbove,disabled:g,onClick:()=>x(()=>o.chain()[u?"addColumnBefore":"addRowBefore"]().run()),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:u?(0,a.jsx)(o7,{}):(0,a.jsx)(o8,{}),label:u?p.insertColumnRight:p.insertRowBelow,disabled:g,onClick:()=>x(()=>o.chain()[u?"addColumnAfter":"addRowAfter"]().run()),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(rg,{"data-sentry-element":"Divider","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsxs)(ry,{icon:(0,a.jsx)(re,{}),label:p.alignment,"data-sentry-element":"SubmenuRow","data-sentry-source-file":"TableAxisMenu.tsx",children:[(0,a.jsx)(ru,{icon:(0,a.jsx)(rt,{}),label:p.alignLeft,checked:(null==m?void 0:m.textAlign)==="left",onClick:()=>h("left"),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:(0,a.jsx)(rn,{}),label:p.alignCenter,checked:(null==m?void 0:m.textAlign)==="center",onClick:()=>h("center"),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:(0,a.jsx)(ra,{}),label:p.alignRight,checked:(null==m?void 0:m.textAlign)==="right",onClick:()=>h("right"),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(rg,{"data-sentry-element":"Divider","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:(0,a.jsx)(ro,{}),label:p.alignTop,checked:(null==m?void 0:m.verticalAlign)==="top",onClick:()=>C("top"),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:(0,a.jsx)(rr,{}),label:p.alignMiddle,checked:(null==m?void 0:m.verticalAlign)==="middle",onClick:()=>C("middle"),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:(0,a.jsx)(rs,{}),label:p.alignBottom,checked:(null==m?void 0:m.verticalAlign)==="bottom",onClick:()=>C("bottom"),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"})]}),(0,a.jsx)(rg,{"data-sentry-element":"Divider","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:(0,a.jsx)(ri,{}),label:u?p.clearColumnContents:p.clearRowContents,onClick:()=>x(()=>o.chain().clearSelectedCells().run()),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(rg,{"data-sentry-element":"Divider","data-sentry-source-file":"TableAxisMenu.tsx"}),(0,a.jsx)(ru,{icon:(0,a.jsx)(aB.r,{}),label:u?p.deleteColumn:p.deleteRow,disabled:y,onClick:()=>x(()=>o.chain().focus()[u?"deleteColumn":"deleteRow"]().run()),"data-sentry-element":"MenuRow","data-sentry-source-file":"TableAxisMenu.tsx"})]})]})}let rh={display:"flex !important",flexDirection:"column",gap:2,padding:d.Spacing.Small,boxShadow:u.BoxShadowStyles.Medium,border:"1px solid",borderColor:u.StandardColors.ColorLightGray40,borderRadius:d.Spacing.xSmall,backgroundColor:u.StandardColors.ColorWhite,minWidth:204,zIndex:1100},rC={display:"flex",alignItems:"center",gap:10,width:"100%",border:"none",background:"none",textAlign:"left",cursor:"pointer",color:u.StandardColors.ColorDarkGray50,minHeight:d.Spacing.xxLarge,padding:"".concat(d.Spacing.Micro,"px ").concat(d.Spacing.Small,"px"),borderRadius:d.Spacing.Micro/2,$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray30}}},rf={display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,flexShrink:0,color:u.StandardColors.ColorDarkGray05,$nest:{"& svg":{width:20,height:20}}}
1,rS={display:"flex",alignItems:"center",justifyContent:"center",padding:0,color:"".concat(u.StandardColors.ColorDarkGray05," !important"),background:"".concat(u.StandardColors.ColorLightGray20," !important"),border:"none !important",boxShadow:"none !important",borderRadius:"".concat(d.Spacing.Medium,"px !important"),cursor:"pointer",$nest:{"&:hover:not(.active)":{backgroundColor:"".concat(u.StandardColors.ColorLightGray40," !important")},"&.active":{backgroundColor:"".concat(u.StandardColors.ColorViolet60," !important"),color:"".concat(u.StandardColors.ColorWhite," !important")},"&:focus":{boxShadow:"none !important"},"&::after":{display:"none"},"& svg":{width:14,height:14}}},rv={dropdown:(0,o.style)({display:"flex",lineHeight:0}),toggleColumn:(0,o.style)({...rS,height:12}),toggleRow:(0,o.style)({...rS,width:12}),menu:"".concat((0,o.style)((0,u.createDropdownMenuTransitionStyle)())," ").concat((0,o.style)(rh)),row:(0,o.style)(rC),rowChecked:(0,o.style)({backgroundColor:u.StandardColors.ColorViolet05,$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorViolet05}}}),rowDisabled:(0,o.style)({opacity:.4,cursor:"not-allowed",$nest:{"&:hover":{backgroundColor:"transparent"}}}),icon:(0,o.style)(rf),label:(0,o.style)({flex:1}),check:(0,o.style)(rf),chevron:(0,o.style)(rf),submenuAnchor:(0,o.style)({position:"relative"}),flyout:(0,o.style)({position:"absolute",top:0,left:"100%",paddingLeft:d.Spacing.Micro,zIndex:1100}),flyoutLeft:(0,o.style)({left:"auto",right:"100%",paddingLeft:0,paddingRight:d.Spacing.Micro}),flyoutPanel:(0,o.style)(rh),divider:(0,o.style)({height:1,flexShrink:0,margin:"2px 0",backgroundColor:u.StandardColors.ColorLightGray20})};function rb(e){var t;let{selection:n}=e.state,a=n instanceof o_.rn?n.$headCell:n.$head;return null!=(t=(0,o_.KW)(a))?t:(0,o_.KW)(n.$from)}function rj(e,t){let n=rb(e);if(!n)return;let a="column"===t?o_.rn.colSelection(n):o_.rn.rowSelection(n);e.view.dispatch(e.state.tr.setSelection(a))}function rw(e){let{editor:t,orientation:n,label:o,position:r,disabled:s,onClick:i}=e,l="horizontal"===n;return(0,a.jsx)("div",{style:{position:"absolute",left:r.left,top:r.top,zIndex:30},"data-sentry-component":"AppendHandle","data-sentry-source-file":"TableMenuControls.tsx",children:(0,a.jsx)("button",{type:"button","aria-label":o,disabled:s,"data-testid":"table-".concat(l?"append-row":"append-column"),className:"".concat(rk.appendBar," ").concat(s?rk.appendBarDisabled:""),style:l?{width:r.length,height:12}:{width:12,height:r.length},onMouseDown:e=>e.preventDefault(),onClick:e=>{e.stopPropagation(),s||(i(),t.commands.focus())},children:(0,a.jsx)("span",{className:rk.appendIcon,children:(0,a.jsx)(o0,{"data-sentry-element":"Plus","data-sentry-source-file":"TableMenuControls.tsx"})})})})}function rL(e){let{editor:t,containerRef:n}=e,[o,s]=(0,r.useState)(null),[i,l]=(0,r.useState)(null),[d,p]=(0,r.useState)({row:!1,column:!1}),[m,u]=(0,r.useState)(!1),g=(0,r.useRef)(null),[y,x]=(0,r.useState)(0);if((0,r.useEffect)(()=>{if(!t)return;let e=()=>x(e=>e+1);return t.on("transaction",e),t.on("selectionUpdate",e),()=>{t.off("transaction",e),t.off("selectionUpdate",e)}},[t]),(0,r.useEffect)(()=>{var e;let t=()=>x(e=>e+1);window.addEventListener("resize",t);let a=null==(e=n.current)?void 0:e.querySelector(".tiptap");return null==a||a.addEventListener("scroll",t,{capture:!0}),()=>{window.removeEventListener("resize",t),null==a||a.removeEventListener("scroll",t,{capture:!0})}},[t,n]),(0,r.useEffect)(()=>{let e=n.current;if(!e)return;let t=()=>p(e=>e.row||e.column?{row:!1,column:!1}:e),a=e=>{var n,a,o;if(0!==e.buttons){u(!0),t();return}u(!1);let r=g.current;if(!r||!r.isConnected)return void t();let s=r.getBoundingClientRect(),i=r.rows,l=null==(n=i[i.length-1])?void 0:n.getBoundingClientRect(),c=null==(a=i[0])?void 0:a.cells,d=null==c||null==(o=c[c.length-1])?void 0:o.getBoundingClientRect(),{clientX:m,clientY:y}=e,x=!!l&&m>=s.left&&m<=s.right&&y>=l.top&&y<=s.bottom+19,h=!!d&&y>=s.top&&y<=s.bottom&&m>=d.left&&m<=s.right+19;p(e=>e.row===x&&e.column===h?e:{row:x,column:h})},o=()=>u(!1);return e.addEventListener("mousemove",a),e.addEventListener("mouseleave",t),window.addEventListener("mouseup",o),()=>{e.removeEventListener("mousemove",a),e.removeEventListener("mouseleave",t),window.removeEventListener("mouseup",o)}},[n,t]),(0,r.useLayoutEffect)(()=>{let e=n.current;if(!t||!e||!(0,o_.aH)(t.state)){l(null),s(null),p({row:!1,column:!1}),g.current=null;return}let a=function(e){let t=rb(e);if(!t)return null;let n=e.view.nodeDOM(t.pos);return n instanceof HTMLElement?n:null}(t),o=null==a?void 0:a.closest("table");if(!a||!o){l(null),g.current=null;return}g.current=o;let r=e.getBoundingClientRect(),i=a.getBoundingClientRect(),c=o.getBoundingClientRect();l({column:{left:i.left-r.left,top:c.top-r.top-12-5,length:i.width},row:{left:c.left-r.left-12-5,top:i.top-r.top,length:i.height},appendRow:{left:c.left-r.left,top:c.bottom-r.top+5,length:c.width},appendColumn:{left:c.right-r.left+5,top:c.top-r.top,length:c.height}})},[t,n,y]),!t||!i||m)return null;let h=e=>s(t=>t===e?null:e),C=3>oK(t.state),f=c.D.components.tableMenu;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{position:"absolute",left:i.column.left,top:i.column.top,zIndex:30},children:(0,a.jsx)(rx,{editor:t,axis:"column",isOpen:"column"===o,onToggle:()=>h("column"),onBeforeOpen:()=>rj(t,"column"),length:i.column.length,"data-sentry-element":"TableAxisMenu","data-sentry-source-file":"TableMenuControls.tsx"})}),(0,a.jsx)("div",{style:{position:"absolute",left:i.row.left,top:i.row.top,zIndex:30},children:(0,a.jsx)(rx,{editor:t,axis:"row",isOpen:"row"===o,onToggle:()=>h("row"),onBeforeOpen:()=>rj(t,"row"),length:i.row.length,"data-sentry-element":"TableAxisMenu","data-sentry-source-file":"TableMenuControls.tsx"})}),d.row&&(0,a.jsx)(rw,{editor:t,orientation:"horizontal",label:f.addRow,position:i.appendRow,onClick:()=>t.chain().focus().appendRow().run()}),d.column&&(0,a.jsx)(rw,{editor:t,orientation:"vertical",label:f.addColumn,position:i.appendColumn,disabled:!C,onClick:()=>t.chain().focus().appendColumn().run()})]})}let rk={appendBar:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",padding:0,border:"none",boxShadow:"none",cursor:"pointer",color:u.StandardColors.ColorDarkGray05,backgroundColor:u.StandardColors.ColorLightGray20,borderRadius:d.Spacing.Medium,$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray40},"&:focus":{outline:"none",boxShadow:"none"},"& svg":{width:14,height:14}}}),appendBarDisabled:(0,o.style)({opacity:.4,cursor:"not-allowed",$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray20}}}),appendIcon:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",lineHeight:0})};function rM(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"TableIcon","data-sentry-source-file":"TableIcon.tsx",children:(0,a.jsx)("path",{d:"M20 2C21.1046 2 22 2.89543 22 4V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V4C2 2.89543 2.89543 2 4 2H20ZM4 16V20H11V16H4ZM13 16V20H20V16H13ZM4 14H11V10H4V14ZM13 14H20V10H13V14ZM4 8H11V4H4V8ZM13 8H20V4H13V8Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"TableIcon.tsx"})})}function rP(e){let{onSelect:t}=e,[n,o]=(0,r.useState)({rows:3,cols:2});return(0,a.jsxs)("div",{className:rD.sizer,"data-sentry-component":"TableSizer","data-sentry-source-file":"TableSizer.tsx",children:[(0,a.jsx)("div",{className:rD.grid,children:Array.from({length:8}).map((e,r)=>(0,a.jsx)("div",{className:rD.row,children:Array.from({length:3}).map((e,s)=>{let i=r<n.rows&&s<n.cols,l={rows:Math.max(2,r+1),cols:Math.max(2,
1s+1)};return(0,a.jsx)("button",{type:"button",className:i?rD.cellSelected:rD.cell,onMouseEnter:()=>o(l),onFocus:()=>o(l),onMouseDown:e=>e.preventDefault(),onClick:()=>t(l.rows,l.cols),"aria-label":"".concat(l.cols," columns by ").concat(l.rows," rows")},s)})},r))}),(0,a.jsxs)("div",{className:rD.readout,children:[(0,a.jsx)("span",{className:rD.readoutIcon,children:(0,a.jsx)(rd,{"data-sentry-element":"TableColumnsIcon","data-sentry-source-file":"TableSizer.tsx"})}),(0,a.jsx)("span",{className:rD.readoutNum,children:n.cols}),(0,a.jsx)("span",{className:rD.readoutX,children:(0,a.jsx)(rm,{"data-sentry-element":"VerySmallXIcon","data-sentry-source-file":"TableSizer.tsx"})}),(0,a.jsx)("span",{className:rD.readoutIcon,children:(0,a.jsx)(rp,{"data-sentry-element":"TableRowsIcon","data-sentry-source-file":"TableSizer.tsx"})}),(0,a.jsx)("span",{className:rD.readoutNum,children:n.rows})]})]})}function rN(e){let{editor:t,disabled:n,tooltip:o}=e,[s,i]=(0,r.useState)(!1);return(0,a.jsxs)(ow.A,{isOpen:s&&!n,toggle:()=>{n||i(e=>!e)},direction:"down",className:rD.dropdown,"data-sentry-element":"Dropdown","data-sentry-component":"TableSizerButton","data-sentry-source-file":"TableSizer.tsx",children:[(0,a.jsx)(J.x,{disabled:!o,title:o,target:(0,a.jsx)(oL.A,{className:"".concat(rD.toggle," ").concat(s?"active":""),disabled:n,"aria-label":o,children:(0,a.jsx)(rM,{})}),"data-sentry-element":"SoloTooltip","data-sentry-source-file":"TableSizer.tsx"}),(0,a.jsx)(ok.A,{className:rD.menu,"data-sentry-element":"DropdownMenu","data-sentry-source-file":"TableSizer.tsx",children:(0,a.jsx)(rP,{onSelect:(e,n)=>{(null==t?void 0:t.chain().focus().insertTable({rows:e,cols:n,withHeaderRow:!0}).run())?i(!1):console.warn("TableSizer: insertTable did not apply; keeping picker open")},"data-sentry-element":"TableSizer","data-sentry-source-file":"TableSizer.tsx"})})]})}let rD={dropdown:(0,o.style)({display:"inline-flex"}),toggle:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",lineHeight:"0",$nest:{"&.active:not(:disabled)":{backgroundColor:u.StandardColors.ColorLightGray30,color:u.StandardColors.ColorDarkGray50},"&:disabled":{opacity:.4,backgroundColor:"transparent",cursor:"not-allowed"},"&::after":{display:"none"}}})),menu:"".concat((0,o.style)((0,u.createDropdownMenuTransitionStyle)())," ").concat((0,o.style)({padding:d.Spacing.Large,boxShadow:u.BoxShadowStyles.Medium,border:"1px solid",borderColor:u.StandardColors.ColorLightGray40,borderRadius:d.Spacing.Small,width:186,minWidth:186,zIndex:1100})),sizer:(0,o.style)({display:"flex",flexDirection:"column",gap:d.Spacing.Large}),grid:(0,o.style)({display:"flex",flexDirection:"column",gap:d.Spacing.Micro}),row:(0,o.style)({display:"flex",flexDirection:"row",gap:d.Spacing.Micro}),cell:(0,o.style)({flex:1,height:16,padding:0,borderRadius:d.Spacing.Micro,border:"1px solid ".concat(u.StandardColors.ColorLightGray40),backgroundColor:u.StandardColors.ColorLightGray10,cursor:"pointer"}),cellSelected:(0,o.style)({flex:1,height:16,padding:0,borderRadius:d.Spacing.Micro,border:"1px solid ".concat(u.StandardColors.ColorViolet60),backgroundColor:u.StandardColors.ColorViolet05,cursor:"pointer"}),readout:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:d.Spacing.Small,color:u.StandardColors.ColorDarkGray05}),readoutIcon:(0,o.style)({display:"flex",alignItems:"center",$nest:{"& svg":{width:20,height:20}}}),readoutX:(0,o.style)({display:"flex",alignItems:"center",$nest:{"& svg":{width:16,height:16}}}),readoutNum:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({minWidth:8,textAlign:"center"}))},rI=(0,nu.$)(ng.l);function rT(e){var t,n;let{htmlContent:s,onUpdateHtml:i,characterCountLimit:l,enableBullets:p=!0,enableSupSubScripts:m=!0,enableLinks:y=!0,enableHeadings:x=!1,enableBold:h=!0,enableItalic:C=!0,enableCodeHighlighting:f=!1,enableMedia:S=!1,enableTable:v=!1,mutuallyExclusiveHeadingStyle:b=!1,customEditorStyle:w,onBlur:L,onFocus:k,placeholder:M,textOnly:P=!1,bottomToolbar:D,maxHeight:I="45vh",disableRTEToolbarOverflow:T=!1,setCurrentCount:B,autoFocus:A=!1,focusBorderColor:H}=e,F=c.D.components.richTextEditor,[R,V]=(0,r.useState)(!1),[W,E]=(0,r.useState)(!1),[Z,G]=(0,r.useState)(!1),[O,z]=(0,r.useState)(!1),[$,U]=(0,r.useState)(null),_=(0,r.useRef)(null),{designerSettings:q}=(0,j.Hb)(),Q=(null==q||null==(n=q.selectedSection)||null==(t=n.props)?void 0:t.imageKeywords)||"",K=(0,r.useCallback)(()=>{V(!0),null==k||k()},[k,V]),Y=(0,r.useCallback)(()=>{V(!1),null==L||L()},[L,V]),X=function(e){let{placeholder:t,characterCountLimit:n,enableBullets:a=!0,enableSupSubScripts:o=!0,enableCodeHighlighting:r=!1,enableMedia:s=!1,enableTable:i=!1}=e,l=[t5.A,t9.A,nl.vR,na.A,ni.A,t0.Ay,t8.Ay,nn.A,t7.A.configure({levels:[1,2]}),t4.A.configure({keepMarks:!0}),ne.Ay.configure({protocols:["mailto"],openOnClick:!1,autolink:!0,linkOnPaste:!0}),t2.A.configure({limit:n})];return a&&(l.push(t3.A),l.push(og),l.push(om),l.push(nt._J)),o&&(l.push(nr.A),l.push(no.A)),t&&l.push(nl.Or.configure({placeholder:t,emptyEditorClass:"is-editor-empty",showOnlyWhenEditable:!1,showOnlyCurrent:!1,includeChildren:!1})),r&&l.push(t6.A.configure({lowlight:rI,defaultLanguage:"html"})),s&&(l.push(oh.Ay.extend({addAttributes(){var e;return{...null==(e=this.parent)?void 0:e.call(this),imageFit:{default:"fill",parseHTML:e=>{let t=e.getAttribute("data-image-fit");return"fit"===t||"fill"===t?t:"fill"},renderHTML:e=>e.imageFit?{"data-image-fit":e.imageFit}:{}}}},renderHTML(e){let{HTMLAttributes:t}=e;return["img",(0,od.KV)(this.options.HTMLAttributes,t)]},addNodeView:()=>(0,nc.gu)(oV)}).configure({inline:!1,allowBase64:!0})),l.push(or.VideoExtension.extend({addNodeView:()=>(0,nc.gu)(oW)}))),i&&l.push(ns.XI,ns.Hj,oJ,oX,o1),l}({placeholder:M,enableBullets:p,enableSupSubScripts:m,characterCountLimit:l,enableCodeHighlighting:f,enableMedia:S,enableTable:v}),J=s.replaceAll("<h3>","<h1>").replaceAll("</h3>","</h1>").replaceAll("<h4>","<h2>").replaceAll("</h4>","</h2>"),ee=P?f?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html";return{type:"doc",content:[{type:"codeBlock",attrs:{language:t},...e.length>0&&{content:[{type:"text",text:e}]}}]}}(J):{type:"doc",content:J.split(/\r?\n/).map(e=>({type:"paragraph",content:e?[{type:"text",text:e}]:void 0}))}:J,et=(0,r.useRef)("");(0,r.useEffect)(()=>{et.current=""},[s]);let en=(0,nc.hG)({extensions:X,content:ee,autofocus:!1,onCreate:e=>{let{editor:t}=e;A&&setTimeout(()=>{t.commands.focus("end")},350)},editorProps:{transformPastedHTML:e=>{try{return e.replace(/<div><br\s*\/?><\/div>/gi,"<p><br></p>").replace(/<div\b([^>]*)>/gi,"<p$1>").replace(/<\/div>/gi,"</p>").replace(/(?:<br\s*\/?>\s*){2,}/gi,"</p><p>")}catch(t){return e}}
1,handleDOMEvents:{beforeinput:(e,t)=>{let{from:n,to:a}=e.state.selection,o=e.state.doc.textBetween(n,a,"\n","\n").replace(/\n/g,"").length,r=e.state.doc.textBetween(0,e.state.doc.content.size,"\n","\n").replace(/\n/g,"").length;return"deleteContentBackward"!==t.inputType&&"deleteContentForward"!==t.inputType&&"deleteContent"!==t.inputType&&l-r+o<=0&&(t.preventDefault(),!0)}},handlePaste:(e,t)=>{let n=t.clipboardData;if(!n||n.getData("text/html"))return!1;let a=n.getData("text/plain");if(!a)return!1;t.preventDefault();let o=e.state.doc.textBetween(0,e.state.doc.content.size,"\n","\n").replace(/\n/g,"").length,{from:r,to:s}=e.state.selection,i=l-(o-e.state.doc.textBetween(r,s,"\n","\n").replace(/\n/g,"").length),c=a;if(i<=0)return E(!0),!0;c.length>i&&(c=c.slice(0,i),E(!0));let d=function(e){let t=e.trimEnd();return t?t.split(/\r?\n\r?\n+/).map(e=>"<p>".concat(e.replace(/\r?\n/g,"<br>")||"&nbsp;","</p>")).join(""):"<p>&nbsp;</p>"}(c);if(/<\s*\w[\s\S]*>/.test(c)){let{schema:t}=e.state,n=t.nodes.codeBlock||t.nodes.code_block;if(n){let a=n.create(t.nodes.codeBlock&&{language:"html",type:"codeBlock"}||null,t.text(c)),o=e.state.tr.replaceSelectionWith(a).scrollIntoView();return e.dispatch(o),e.focus(),!0}d="<pre><code>".concat(c.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;"),"</code></pre>")}let p=e.state.schema,m=new window.DOMParser().parseFromString(d,"text/html").body.cloneNode(!0),u=ny.S4.fromSchema(p).parse(m),g=new ny.Ji(u.content,0,0),y=e.state.tr.replaceSelection(g).scrollIntoView();return e.dispatch(y),e.focus(),!0}},onTransaction:e=>{let{editor:t}=e,n=t.getHTML().replaceAll("<h1>","<h3>").replaceAll("</h1>","</h3>").replaceAll("<h2>","<h4>").replaceAll("</h2>","</h4>"),a=t.state.doc.textBetween(0,t.state.doc.content.size,"\n","\n");B&&B(a.replace(/\n/g,"").length),null!==et.current&&et.current!==n&&i(n,a),et.current=n},immediatelyRender:!1});(0,r.useEffect)(()=>{if(!S||!_.current)return;let e=_.current,t=e=>{var t,n;U(null!=(n=null==(t=e.detail)?void 0:t.nodePos)?n:null),G(!0)},n=e=>{var t,n;U(null!=(n=null==(t=e.detail)?void 0:t.nodePos)?n:null),z(!0)};return e.addEventListener("rte-replace-image",t),e.addEventListener("rte-replace-video",n),()=>{e.removeEventListener("rte-replace-image",t),e.removeEventListener("rte-replace-video",n)}},[S]);let ea=(0,r.useCallback)(e=>{var t,n;if(!en||!e)return;let a=(0,N.getImageUrl)(e,N.ImageType.Full)||(0,N.getImageUrl)(e,N.ImageType.Regular)||(0,N.getImageUrl)(e,N.ImageType.Raw)||(null==(n=e.urls)||null==(t=n[0])?void 0:t.url)||"";if(a&&null!==$){let e=en.state.doc.nodeAt($);e&&en.chain().focus().deleteRange({from:$,to:$+e.nodeSize}).setTextSelection($).setImage({src:a}).run()}G(!1),U(null)},[en,$]),eo=(0,r.useCallback)(e=>{if(en){if(e&&null!==$){let t=en.state.doc.nodeAt($);t&&en.chain().focus().deleteRange({from:$,to:$+t.nodeSize}).setTextSelection($).setVideo({src:e}).run()}z(!1),U(null)}},[en,$]),er=H||u.StandardColors.ColorViolet60,es=(0,o.style)({$debugName:"rich-text-editor",width:"100%",height:"100%",position:"relative",display:"flex",flexDirection:"column",overflow:"hidden",maxHeight:I,...(0,d.createBorderStyle)({border:N.Border.All,borderThickness:N.BorderThickness.xSmall,borderColor:d.Colors.Border}),borderRadius:d.Spacing.Micro,$nest:{"&.focused":{borderColor:er,borderTopColor:er,borderRightColor:er,borderBottomColor:er,borderLeftColor:er,boxShadow:"0px 0px 2px 1px ".concat(er)},"& .tiptap-editor-content":{position:"relative",flex:"1 1 auto",minHeight:0,display:"flex",flexDirection:"column"},"& .tiptap-editor-content.out-of-focus .tiptap .is-editor-empty:first-child::before":{content:"attr(data-placeholder)",position:"absolute",left:d.Spacing.Medium,top:d.Spacing.Medium,pointerEvents:"none",opacity:.5,whiteSpace:"pre-wrap"},"& .tiptap":{...rF,...null!=w?w:{},flex:"1 1 auto",minHeight:0,overflowY:"auto"},"& .ProseMirror-gapcursor":{display:"none",pointerEvents:"none",position:"absolute"},"& .ProseMirror-gapcursor::after":{content:'""',display:"block",position:"absolute",top:-2,width:20,borderTop:"1px solid ".concat(u.StandardColors.ColorDarkGray50),animation:"".concat(rH," 1.1s steps(2, start) infinite")},"& .ProseMirror-focused .ProseMirror-gapcursor":{display:"block"},"& .tiptap .tableWrapper":{overflowX:"auto",margin:"".concat(d.Spacing.Medium,"px 0"),paddingLeft:d.Spacing.Small,paddingRight:d.Spacing.xLarge},"& .tiptap table":{borderCollapse:"collapse",tableLayout:"fixed",width:"100%",margin:0,overflow:"hidden"},"& .tiptap td, & .tiptap th":{border:"1px solid ".concat(u.StandardColors.ColorLightGray40),padding:d.Spacing.Small,verticalAlign:"top",boxSizing:"border-box",position:"relative",minWidth:"3em"},"& .tiptap th":{backgroundColor:u.StandardColors.ColorLightGray20,fontWeight:600,textAlign:"left"},"& .tiptap td > p:first-child, & .tiptap th > p:first-child":{marginTop:0},"& .tiptap td > p:last-child, & .tiptap th > p:last-child":{marginBottom:0},"& .tiptap td.selectedCell, & .tiptap th.selectedCell":{backgroundColor:u.StandardColors.ColorViolet05}
1,"& .tiptap td.selectedCell::after, & .tiptap th.selectedCell::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"},"& .tiptap .selectionEdgeTop::after":{borderTop:"2px solid ".concat(u.StandardColors.ColorViolet60)},"& .tiptap .selectionEdgeBottom::after":{borderBottom:"2px solid ".concat(u.StandardColors.ColorViolet60)},"& .tiptap .selectionEdgeLeft::after":{borderLeft:"2px solid ".concat(u.StandardColors.ColorViolet60)},"& .tiptap .selectionEdgeRight::after":{borderRight:"2px solid ".concat(u.StandardColors.ColorViolet60)},"& .tiptap td.activeCell, & .tiptap th.activeCell":{boxShadow:"inset 0 0 0 2px ".concat(u.StandardColors.ColorViolet60)},"& .tiptap .selectedCell ::selection, & .tiptap .selectedCell::selection":{backgroundColor:"transparent"},"& .tiptap .selectedCell ::-moz-selection, & .tiptap .selectedCell::-moz-selection":{background:"transparent"},'& .tiptap td[data-text-align="left"], & .tiptap th[data-text-align="left"]':{textAlign:"left"},'& .tiptap td[data-text-align="center"], & .tiptap th[data-text-align="center"]':{textAlign:"center"},'& .tiptap td[data-text-align="right"], & .tiptap th[data-text-align="right"]':{textAlign:"right"},'& .tiptap td[data-vertical-align="top"], & .tiptap th[data-vertical-align="top"]':{verticalAlign:"top"},'& .tiptap td[data-vertical-align="middle"], & .tiptap th[data-vertical-align="middle"]':{verticalAlign:"middle"},'& .tiptap td[data-vertical-align="bottom"], & .tiptap th[data-vertical-align="bottom"]':{verticalAlign:"bottom"},"& .rich-text-editor-bottom-toolbar":{padding:"".concat(d.Spacing.Small,"px ").concat(d.Spacing.Medium,"px"),borderTop:"1px solid ".concat(d.Colors.Secondary),backgroundColor:u.StandardColors.ColorWhite,borderBottomLeftRadius:d.Spacing.Micro,borderBottomRightRadius:d.Spacing.Micro}}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.w,{isOpen:W,icon:(0,a.jsx)("div",{style:{color:u.StandardColors.ColorDarkGray05},children:(0,a.jsx)(e4.F,{})}),title:F.truncationModal.title,message:F.truncationModal.message,buttons:[{type:g.o.Primary,text:F.truncationModal.confirmation,onClick:()=>E(!1)}],"data-sentry-element":"MessageBoxModal","data-sentry-source-file":"RichTextEditor.tsx"}),(0,a.jsxs)("div",{ref:_,className:"".concat(es," ").concat(R?"focused":""," editor-container"),children:[(0,a.jsx)(rB,{editor:en,enableBullets:p,enableSupSubScripts:m,enableLinks:y,enableHeadings:x,enableBold:h,enableItalic:C,enableMedia:S,enableTable:v,mutuallyExclusiveHeadingStyle:b,disableRTEToolbarOverflow:T,sectionImageKeywords:Q,"data-sentry-element":"MenuBar","data-sentry-source-file":"RichTextEditor.tsx"}),(0,a.jsx)(nc.$Z,{className:"tiptap-editor-content ".concat(R?"":"out-of-focus"),editor:en,onBlur:Y,onFocus:K,"data-sentry-element":"EditorContent","data-sentry-source-file":"RichTextEditor.tsx",children:(0,a.jsx)("input",{type:"hidden",readOnly:!0})}),D&&(0,a.jsx)("div",{className:"rich-text-editor-bottom-toolbar",children:D}),v&&(0,a.jsx)(rL,{editor:en,containerRef:_})]}),Z&&(0,a.jsx)(oe,{isOpen:Z,imageKeywords:Q,initialModeOverride:N.ImageSelectionMode.Unsplash,onImageSelected:ea,onClosed:()=>G(!1)}),O&&(0,a.jsx)(oi,{isOpen:O,onClosed:()=>z(!1),onVideoSelected:eo})]})}function rB(e){var t;let{editor:n,enableBullets:o,enableSupSubScripts:s,enableLinks:i,enableHeadings:l,enableBold:d,enableItalic:p,enableMedia:m,enableTable:u,mutuallyExclusiveHeadingStyle:g,disableRTEToolbarOverflow:y,sectionImageKeywords:x}=e,[h,C]=(0,r.useState)(!1),[f,S]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),{websiteSettings:w}=(0,j.Hb)(),L=null==w||null==(t=w.pages)?void 0:t.some(e=>e.pageType===N.PageType.Blog),[k,M]=(0,r.useState)(!1),[P,D]=(0,r.useState)(!1),[I,T]=(0,r.useState)(!1),{debouncedFunction:B}=(0,tW.d7)(()=>{n&&(M(n.can().undo()),D(n.can().redo()))},200),A=(0,r.useCallback)(B,[B,n]);(0,r.useEffect)(()=>{if(n)return A(),n.on("transaction",A),()=>{n.off("transaction",A)}},[n,A]),(0,r.useEffect)(()=>{if(!n)return;let e=()=>T(n.isActive("table"));return e(),n.on("selectionUpdate",e),n.on("transaction",e),()=>{n.off("selectionUpdate",e),n.off("transaction",e)}},[n]);let H=(0,r.useCallback)(()=>
1{n&&n.chain().focus().undo().run()},[n]),F=(0,r.useCallback)(()=>{n&&n.chain().focus().redo().run()},[n]),R=(0,r.useCallback)(e=>{n&&(null===e?n.chain().focus().setParagraph().run():(n.chain().focus().toggleHeading({level:e}).run(),g&&n.isActive("heading",{level:e})&&n.chain().focus().unsetBold().unsetItalic().unsetLink().lift("bulletList").lift("checkmarkBulletList").run()))},[n,g]),V=(0,r.useCallback)(()=>{S(!0)},[]),E=(0,r.useCallback)(()=>{b(!0)},[]),Z=(0,r.useCallback)(e=>{let{tr:t,dispatch:n}=e;if(n)try{let e=t.selection.to;if(e>=t.doc.content.size){let n=t.doc.type.contentMatch.defaultType;n&&t.insert(e,n.create())}let n=t.doc.resolve(Math.min(e,t.doc.content.size));t.setSelection(nx.U3.near(n,1))}catch(e){}return!0},[]),G=(0,r.useCallback)(e=>{var t,a;if(!n)return;let o=(0,N.getImageUrl)(e,N.ImageType.Full)||(0,N.getImageUrl)(e,N.ImageType.Regular)||(0,N.getImageUrl)(e,N.ImageType.Raw)||(null==(a=e.urls)||null==(t=a[0])?void 0:t.url)||"";o&&(n.chain().setImage({src:o}).command(Z).run(),n.view.focus()),S(!1)},[n,Z]),O=(0,r.useCallback)(e=>{n&&(e&&(n.chain().setVideo({src:e}).command(Z).run(),n.view.focus()),b(!1))},[n,Z]);if(!n)return null;let z=c.D.components.richTextEditor,$={bold:{icon:(0,a.jsx)(nb,{}),onClick:()=>n.chain().focus().toggleBold().run(),disabled:!n.can().chain().focus().toggleBold().run(),active:n.isActive("bold"),tooltip:c.D.components.tooltips.richText.bold},italic:{icon:(0,a.jsx)(nw,{}),onClick:()=>n.chain().focus().toggleItalic().run(),disabled:!n.can().chain().focus().toggleItalic().run(),active:n.isActive("italic"),tooltip:c.D.components.tooltips.richText.italic},bullet:{icon:(0,a.jsx)(nj,{}),onClick:()=>n.chain().focus().toggleBulletList().run(),active:n.isActive("bulletList"),tooltip:c.D.components.tooltips.richText.bulletList},orderedList:{icon:(0,a.jsx)(nL,{}),onClick:()=>n.chain().focus().toggleOrderedList().run(),active:n.isActive("orderedList"),tooltip:c.D.components.tooltips.richText.orderedList},superscript:{icon:(0,a.jsx)(nM,{}),onClick:()=>n.chain().focus().unsetMark("subscript").toggleSuperscript().run(),active:n.isActive("superscript"),tooltip:c.D.components.tooltips.richText.superscript},subscript:{icon:(0,a.jsx)(nk,{}),onClick:()=>n.chain().focus().unsetMark("superscript").toggleSubscript().run(),active:n.isActive("subscript"),tooltip:c.D.components.tooltips.richText.subscript},link:{icon:(0,a.jsx)(nf.q,{size:16}),onClick:()=>C(!0),active:n.isActive("link"),tooltip:c.D.components.tooltips.richText.link},checkBullet:{icon:(0,a.jsx)(nC,{}),onClick:()=>n.chain().focus().toggleCheckmarkList().run(),active:n.isActive("checkmarkBulletList"),tooltip:c.D.components.tooltips.richText.checkmarkBullet},undo:{icon:(0,a.jsx)(nP,{}),onClick:H,disabled:!k,tooltip:c.D.components.tooltips.richText.undo},redo:{icon:(0,a.jsx)("div",{style:{transform:"scaleX(-1)"},children:(0,a.jsx)(nP,{})}),onClick:F,disabled:!P,tooltip:c.D.components.tooltips.richText.redo},photo:{icon:(0,a.jsx)(nv,{}),onClick:V,tooltip:c.D.components.tooltips.richText.addImage},video:{icon:(0,a.jsx)(nN,{}),onClick:E,tooltip:c.D.components.tooltips.richText.addVideo}},U=[{label:"Heading 1",level:1},{label:"Heading 2",level:2},{label:"Text",level:null}],_=n.isActive("heading",{level:1})||n.isActive("heading",{level:2}),q=[...d?[$.bold]:[],...p?[$.italic]:[],...i?[$.link]:[]],Q=!y&&l&&q&&o&&s;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:rA,children:[l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(nT.V,{className:rE,toggleClassName:rZ,values:U,selectedValue:n?n.isActive("heading",{level:1})?U[0]:n.isActive("heading",{level:2})?U[1]:U[2]:U[0],onValueChanged:e=>R(e.level),itemTemplate:e=>(0,a.jsx)("span",{children:(null==e?void 0:e.label)||"Text"}),disabled:I}),(0,a.jsx)(oy,{className:rR})]}),(0,a.jsx)(nD,{buttons:q.map(e=>({...e,disabled:g&&_||e.disabled})),"data-sentry-element":"IconButtonGroup","data-sentry-source-file":"RichTextEditor.tsx"}),o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(oy,{className:rR}),(0,a.jsx)(nD,{buttons:[$.bullet,...!Q?[$.checkBullet,$.orderedList]:[]].map(e=>({...e,disabled:g&&_||I||e.disabled}))})]}),s&&!Q&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(oy,{className:rR}),(0,a.jsx)(nD,{buttons:[$.superscript,$.subscript].map(e=>({...e,disabled:g&&_||e.disabled}))})]}),!Q&&(u||m)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(oy,{className:rR}),(0,a.jsxs)("div",{className:rV,children:[u&&(0,a.jsx)(rN,{editor:n,disabled:I,tooltip:c.D.components.tooltips.richText.addTable}),m&&(0,a.jsx)(nD,{buttons:[$.photo,$.video].map(e=>({...e,disabled:I||e.disabled}))})]})]}),Q&&(0,a.jsx)(o$,{toggleIcon:(0,a.jsx)(nS,{}),toggleTooltip:c.D.components.tooltips.richText.more,buttonGroups:[o?[$.checkBullet,$.orderedList].map(e=>({...e,disabled:g&&_||I||e.disabled})):[],s?[$.superscript,$.subscript].map(e=>({...e,disabled:g&&_||e.disabled}
1)):[],m?[$.photo,$.video].map(e=>({...e,disabled:I||e.disabled})):[]],leadingNode:u?(0,a.jsx)(rN,{editor:n,disabled:I,tooltip:c.D.components.tooltips.richText.addTable}):void 0}),h&&(0,a.jsx)(n9,{title:z.linkModalTitle,isOpen:h,onClosed:()=>C(!1),link:(0,N.getLinkFromUrl)(n.getAttributes("link").href,w.sections,w.pages),onLinkChanged:function(e){if(!n)return;let t=(0,W.getLinkUrl)(e,w.sections,w.pages);n.chain().focus().extendMarkRange("link").setLink({href:t,target:e.type===N.LinkType.Section||e.type===N.LinkType.Blog?"":"_blank"}).run()},supportedLinkTypes:[N.LinkType.Section,...L?[N.LinkType.Blog]:[],N.LinkType.Web,N.LinkType.Email,N.LinkType.Phone,N.LinkType.None],availableSections:w.sections,showEditLabel:!1,onRemoveLink:function(){n&&(n.isActive("link")&&n.chain().focus().extendMarkRange("link").unsetLink().run(),C(!1))}}),f&&(0,a.jsx)(oe,{isOpen:f,imageKeywords:x,initialModeOverride:N.ImageSelectionMode.Unsplash,onImageSelected:G,onClosed:()=>S(!1)}),v&&(0,a.jsx)(oi,{isOpen:v,onVideoSelected:O,onClosed:()=>b(!1)}),(0,a.jsx)("div",{className:q.length?rW:"",children:(0,a.jsx)(nD,{buttons:[$.undo,$.redo],"data-sentry-element":"IconButtonGroup","data-sentry-source-file":"RichTextEditor.tsx"})})]})})}rI.register({html:nm.A,javascript:np.A,js:np.A,css:nd.A});let rA=(0,o.style)({$debugName:"rich-text-menu",backgroundColor:u.StandardColors.ColorWhite,borderTopLeftRadius:d.Spacing.Micro,borderTopRightRadius:d.Spacing.Micro,padding:d.Spacing.Micro,display:"flex",borderBottom:"1px solid ".concat(d.Colors.Secondary),$nest:{button:{width:d.Spacing.Micro+d.Spacing.xLarge,height:d.Spacing.Micro+d.Spacing.xLarge}}}),rH=(0,o.keyframes)({to:{visibility:"hidden"}}),rF={width:"100%",minHeight:100,overflow:"auto",padding:d.Spacing.Medium,$nest:{...(0,u.createRichTextStyles)(N.Alignment.Left).$nest,...d.selectionBranded,"&:focus":{outline:"none"},"& a":{color:d.Colors.Primary},"& h1":{marginBottom:"1em",fontWeight:N.FontWeight.SemiBold,fontSize:"19px",lineHeight:"30px",fontFamily:nh.fontFamilyCss},"& h2":{marginBottom:"1em",fontWeight:N.FontWeight.SemiBold,fontSize:"16px",lineHeight:"24px",fontFamily:nh.fontFamilyCss},"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",overflowWrap:"break-word"},"& img":{width:"100%",height:"auto",aspectRatio:"16 / 9",objectFit:"cover",display:"block",marginTop:d.Spacing.Small,marginBottom:d.Spacing.Medium,borderRadius:d.Spacing.Micro},"& div[data-youtube-video]":{width:"100%",maxWidth:"100%",marginTop:d.Spacing.Small,marginBottom:d.Spacing.Medium,borderRadius:0},"& div[data-youtube-video] iframe":{width:"100%",maxWidth:"100%",height:"auto",aspectRatio:"16 / 9",display:"block",borderRadius:0}}},rR=(0,o.style)({height:"20px",margin:"auto ".concat(d.Spacing.xSmall,"px")}),rV=(0,o.style)({display:"flex",alignItems:"center",columnGap:d.Spacing.Micro/2}),rW=(0,o.style)({display:"flex",justifyContent:"flex-end",flex:1}),rE=(0,o.style)({width:"auto !important",$nest:{svg:{height:d.Spacing.Large,width:d.Spacing.Large},".dropdown-item":{width:"100%",$nest:{"&:hover":{backgroundColor:(0,u.important)(d.Colors.SecondaryFlatHover)},"&:active":{backgroundColor:(0,u.important)(d.Colors.SecondaryFlatPressed)},"&:first-child":{fontWeight:N.FontWeight.SemiBold,fontSize:d.Spacing.Large+d.Spacing.Micro-1},"&:nth-child(2)":{fontWeight:N.FontWeight.SemiBold,fontSize:d.Spacing.Large}}}}}),rZ=(0,o.style)({display:"flex",alignItems:"center",justifyContent:"space-between",border:"none",borderRadius:d.Spacing.Micro,color:(0,u.important)(u.StandardColors.ColorDarkGray05),backgroundColor:u.StandardColors.ColorWhite,whiteSpace:"nowrap",zIndex:1050,paddingRight:(d.Spacing.Small+d.Spacing.xSmall)/8,$nest:{"&:hover":{backgroundColor:(0,u.important)(d.Colors.SecondaryFlatHover)},"&:active":{backgroundColor:(0,u.important)(d.Colors.SecondaryFlatPressed)}}});function rG(e){let{value:t,onValueChange:n,placeholder:o,rteOptions:r,rteMaxHeight:s,disableRTEToolbarOverflow:i,setCurrentCount:l,autoFocus:c,focusBorderColor:d}=e;return r?(0,a.jsx)(rT,{htmlContent:t,onUpdateHtml:(e,t)=>{let a=(null==r?void 0:r.textOnly)?t:e;n&&n(a)},characterCountLimit:e.maxLength,onFocus:()=>{e.setCounterVisible(!0)},onBlur:()=>{e.setCounterVisible(!1)},placeholder:o,enableBullets:r.enableBullets,enableLinks:r.enableLinks,enableHeadings:r.enableHeadings,enableBold:r.enableBold,enableItal
1ic:r.enableItalic,textOnly:r.textOnly,enableCodeHighlighting:r.enableCodeHighlighting,enableSupSubScripts:r.enableSupSubScripts,enableMedia:r.enableMedia,enableTable:r.enableTable,maxHeight:s,disableRTEToolbarOverflow:i,setCurrentCount:l,autoFocus:c,focusBorderColor:d,"data-sentry-element":"RichTextEditor","data-sentry-component":"RTEInput","data-sentry-source-file":"SimpleInputDialog.tsx"}):null}function rO(e){let{allowLineBreaksOnShiftEnter:t,canDismiss:n,onSave:o,onClosed:r,onBlur:s,setCounterVisible:i,inputClassName:l="",inputType:c="text",value:d,onValueChange:p,maxLength:m}=e;return(0,a.jsx)(tf.g,{id:"modalInput",className:l,type:c,autoFocus:!0,value:d,maxLength:m,onFocus:e=>{let t=e.target.value;e.target.value="",e.target.value=t,i(!0)},onBlur:e=>{i(!1),s&&s(e)},onKeyDown:async e=>{"Enter"===e.key&&(!e.shiftKey||!t||"textarea"!==c)&&n&&(e.preventDefault(),e.stopPropagation(),!1!==await o()&&r&&r())},onChange:e=>{p&&p(e.target.value)},"data-sentry-element":"SoloInput","data-sentry-component":"TextAreaInput","data-sentry-source-file":"SimpleInputDialog.tsx"})}function rz(e){var t;let{value:n,maxLength:s,inputLabel:i,detailsText:l,description:c,className:p,onSave:m,onClosed:u,canDismiss:g=!0,modalBodyLowerContent:y,maxWidth:x=440,useRTE:h=!1}=e,[C,f]=(0,r.useState)(!1),[S,v]=(0,r.useState)(n.length),b=(t=x,{container:(0,o.style)({display:"flex",maxWidth:t,$nest:{".modal-body":{padding:d.Spacing.xLarge,$nest:{".header":{marginBottom:d.Spacing.xLarge}}}}}),detailsText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:11,lineHeight:"".concat(d.Spacing.Large,"px"),textAlign:"left",overflow:"hidden",paddingTop:d.Spacing.Small,whiteSpace:"pre-line",color:d.StandardColors.ColorDarkGray05})),descriptionText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({textAlign:"left",whiteSpace:"pre-line",color:d.StandardColors.ColorDarkGray50,marginBottom:d.Spacing.Large})),modalBodyLowerContent:(0,o.style)({marginTop:d.Spacing.xLarge})});return(0,a.jsxs)(ty.y,{className:"".concat(b.container," ").concat(p),modalTransition:{timeout:100},autoFocus:!1,onSave:m,onClosed:u,onCancel:e.onCancel,canDismiss:g,title:e.title,headerContent:e.headerContent,hideCancelButton:e.hideCancelButton,keepOpenAfterSave:e.keepOpenAfterSave,saveButtonText:e.saveButtonText,isOpen:e.isOpen,"data-sentry-element":"ModalDialog","data-sentry-component":"SimpleInputDialog","data-sentry-source-file":"SimpleInputDialog.tsx",children:[c&&(0,a.jsx)("div",{className:b.descriptionText,children:c}),(0,a.jsxs)("div",{className:"d-flex flex-row-reverse justify-content-between py-1",children:[(0,a.jsx)(th,{maxLimit:s,currentCount:h?S:void 0,currentText:n,visible:C,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"SimpleInputDialog.tsx"}),i&&(0,a.jsx)(t1.A,{for:"modalInput",children:i})]}),h?(0,a.jsx)(rG,{setCounterVisible:f,setCurrentCount:v,...e}):(0,a.jsx)(rO,{setCounterVisible:f,...e}),(0,a.jsx)("div",{className:b.detailsText,children:l}),y&&(0,a.jsx)("div",{className:b.modalBodyLowerContent,children:y})]})}function r$(){return window.entri}function rU(e){let{showDisconnectModal:t,...n}=e,{websiteSettings:o,setWebsiteSettings:s}=(0,j.Hb)(),{isDomainPending:i,websiteDomain:l}=(0,D.hi)(),{pushToastMessage:p}=(0,K.dj)(),[m,u]=(0,r.useState)(!o.gaMeasurementId||!l&&o.gaMeasurementId&&o.gaMeasurementId.toUpperCase().startsWith("GTM")?"":o.gaMeasurementId),g=r$()&&l&&!i(),y=0===m.length||m.toUpperCase().startsWith("G-")||m.toUpperCase().startsWith("GTM-"),x=c.D.views.designer.components.properties.settings.analyticsProperties.editAnalyticsModal,h=(0,a.jsxs)("div",{className:"".concat(d.FontStyles.Regular," ").concat(r_),children:[(0,a.jsx)("div",{className:"pre-line",children:x.explanation}),(0,a.jsx)("a",{target:"_blank",className:"".concat(d.LinkStyles.Underline," pre-line"),href:c.D.externalLinks.googleAnalyticsSupport,rel:"noreferrer",children:x.supportArticleLabel}),o.gaMeasurementId&&(0,a.jsxs)("div",{className:rq,children:[(0,a.jsx)(eu.c,{}),(0,a.jsx)(G.A,{onClick:t,color:"link",className:"".concat(d.LinkStyles.NoUnderline," p-0"),children:x.disconnect})]})]});return(0,a.jsx)(rz,{title:x.header,inputLabel:g?x.inputLabelGandGTM:x.inputLabelG,detailsText:
1x.disclaimer,onSave:async()=>{let e=o.quickStartTasks||{};e.connectGoogleAnalytics=!0,o.quickStartTasks=e,s({...o,gaMeasurementId:m.toUpperCase()}),p(Y.vn.analyticsTagAdded)},maxLength:g?tg.H.gtmMeasurementId:tg.H.gaMeasurementId,value:m,placeholder:g?x.inputPlaceholderGandGTM:x.inputPlaceholderG,onValueChange:e=>u(e),canDismiss:y,modalBodyLowerContent:h,...n,"data-sentry-element":"SimpleInputDialog","data-sentry-component":"EditAnalyticsModal","data-sentry-source-file":"EditAnalyticsModal.tsx"})}let r_=(0,o.style)({color:u.StandardColors.ColorDarkGray50,lineHeight:"".concat(u.Spacing.Large+u.Spacing.Micro,"px"),$nest:{".pre-line":{whiteSpace:"pre-line"}}}),rq=(0,o.style)({marginTop:u.Spacing.xLarge});function rQ(e){let{isComplete:t}=e,n=c.D.views.designer.quickStart.connectGoogleAnalyticsTask,[o,s]=(0,r.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tN,{description:n.description,icon:t?(0,a.jsx)(tD,{}):(0,a.jsx)(tJ,{}),isComplete:t,rightContent:t?void 0:(0,a.jsx)(tI,{className:d.ButtonStyles.PrimarySmall,eventName:ew.o.designer.quickStart.connectGoogleAnalyticsTask,onClick:()=>s(!0),children:n.connect}),"data-sentry-element":"QuickStartItem","data-sentry-source-file":"ConnectGoogleAnalyticsTask.tsx"}),(0,a.jsx)(rU,{isOpen:o,onClosed:()=>s(!1),showDisconnectModal:()=>{throw Error("Function not implemented.")},"data-sentry-element":"EditAnalyticsModal","data-sentry-source-file":"ConnectGoogleAnalyticsTask.tsx"})]})}let rK={isComplete:function(e){let{websiteSettings:t}=e;return!!(t&&t.gaMeasurementId)},createQuickStartItem:e=>(0,a.jsx)(rQ,{isComplete:e})};function rY(){let e=c.D.views.designer.quickStart.createWebsiteTask;return(0,a.jsx)(tN,{description:e.description,icon:(0,a.jsx)(tD,{}),isComplete:!0,"data-sentry-element":"QuickStartItem","data-sentry-component":"CreateWebsiteItem","data-sentry-source-file":"CreateWebsiteTask.tsx"})}let rX={isComplete:()=>!0,createQuickStartItem:()=>(0,a.jsx)(rY,{})};var rJ=n(13743),r1=function(e){return e.PUBLISH_WEBSITE="publish_website",e}({}),r0=n(99113);async function r3(e){var t;if((0,E.assertBrowser)(),!r0.cL)throw Error("reCAPTCHA verification is currently disabled");let{auth:n}=(0,am.T)(),a=await (null==(t=n.currentUser)?void 0:t.getIdToken(!0));ai.ok(a,"Invalid authorization token.");let o={method:"POST",headers:{Authorization:"Bearer ".concat(a),"Content-Type":"application/json"},body:JSON.stringify(e)},r=await fetch("/api/recaptcha/verify",o),s=await r.json();if(!r.ok)throw s;return s}let r2=["invitation","invite"],r6=[function(){let e=[];for(let t=1;t<=20;t++)e.push("".concat("ep").concat(t));return e}],r5=["1080p","stream","download","camrip","dvdrip","bluray","4k","mp4","porn","xxx","nsfw","escort","onlyfans","https","mailzix","playboy","callboy","gigolo",...function(){let e=[];return r6.forEach(t=>{e.push(...t())}),e}()],r4=(0,nZ.zf)(["404","about","account","affiliates","admin","api","assets","blog","business-idea-creator","business-name-creator","businesses","call","careers","cart","checkout","community","contact","create-a-website-from-a-link","create-your-website-with-facebook","create-your-website-with-thumbtack","create-your-website-with-yelp","custom-404","customers","dashboard","designer","desktop","download","email","events","faq","favicon.ico","forgot-password","forum","gallery","github-to-website","google-ad-creator","help","home","index","info","integrations","invite","legal","login","logout","maintenance","map","media","mobile","news","newsroom","notification","notifications","onboarding","partners","podcast","portfolio","preferences","preview","pricing","privacy-policy","privacy","products","profile","register","robots.txt","search","services","settings","shop","sign-in","sign-out","sign-up","
1signin","signout","signup","sitemap.xml","sitemap","solo","soloai","soloaiwebsitecomposer","soloaiwebsitecreator","soloaiwebsitegenerator","soloist","soloistai","solowebsitecomposer","solowebsitecreator","solowebsitegenerator","static","store","support","terms-of-service","terms","testimonials","tos","trial","unsubscribe","user","users","verify-email","verify","verticals","videos","website","wishlist"]);async function r7(e){let t=e&&e.trim().toLocaleLowerCase();if(!e||r4.includes(t)||r2.find(e=>t.includes(e)))return!1;try{let{db:e}=(0,am.T)(),n=(0,P.H9)(e,N.Collections.Websites,t);return!(await (0,P.x7)(n)).exists()}catch(e){return console.error("Error while determining handle availability: ".concat(JSON.stringify(e,null,4))),!1}}async function r9(e){if(!r0.cL)throw Error("reCAPTCHA is currently disabled");return new Promise(t=>{grecaptcha.enterprise.ready(async()=>{let n=r0.gU;if(!n)return void t(null);let a=null;try{a=await grecaptcha.enterprise.execute(n,{action:e})}catch(e){console.error("Unable to execute captcha request."),t(null)}t(a)})})}var r8=n(58091);function se(e){let{placeholder:t,disabled:n,value:o,...r}=e;return n?(0,a.jsx)("div",{className:st.outerContainer,children:(0,a.jsxs)("div",{className:st.readOnlyContainer,children:[t,o]})}):(0,a.jsxs)("div",{className:st.outerContainer,"data-sentry-component":"TextInputLeftPlaceholder","data-sentry-source-file":"TextInputLeftPlaceholder.tsx",children:[(0,a.jsx)("div",{className:st.placeholderContainer,children:t}),(0,a.jsx)(tf.g,{className:st.textInput,type:"text",value:o,...r,"data-sentry-element":"SoloInput","data-sentry-source-file":"TextInputLeftPlaceholder.tsx"})]})}let st={outerContainer:(0,o.style)({display:"flex",flexDirection:"row",maxHeight:d.Spacing.xxLarge,width:"100%"}),placeholderContainer:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({$debugName:"placeholder-container",display:"flex",alignItems:"center",padding:d.Spacing.xSmall+d.Spacing.Micro,color:d.StandardColors.ColorDarkGray05,backgroundColor:d.StandardColors.ColorLightGray30,border:"1px solid ".concat(d.Colors.Border),borderRight:"none",borderRadius:"".concat(d.Spacing.Micro,"px 0 0 ").concat(d.Spacing.Micro,"px"),overflow:"hidden",whiteSpace:"nowrap",flexShrink:0})),readOnlyContainer:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",alignItems:"center",padding:d.Spacing.xSmall+d.Spacing.Micro,color:d.StandardColors.ColorDarkGray05,backgroundColor:d.StandardColors.ColorLightGray30,border:"1px solid ".concat(d.Colors.Border),borderRadius:d.Spacing.Micro,overflow:"hidden",whiteSpace:"nowrap",width:"100%"})),textInput:(0,o.style)({borderRadius:"0 ".concat(d.Spacing.Micro,"px ").concat(d.Spacing.Micro,"px 0 !important")})};function sn(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-+/,"")}function sa(e){return sn(e).replace(/-+$/,"")}function so(e){let{initialHandle:t,isOpen:n,closeModal:o,isEdit:s,noPopup:i,onPublishSuccess:l,customDescription:p,...m}=e,u=c.D.components.publishWebsiteModal,[g,y]=(0,r.useState)(!1),[C,f]=(0,r.useState)(t),[S,v]=(0,r.useState)(""),[b,w]=(0,r.useState)(""),{websiteDocument:L}=(0,M.SY)(),{publishWebsite:k}=(0,M.u)(),{websiteSettings:P,setSettingsDirty:N}=(0,j.Hb)(),{setSpinner:D}=(0,h.p6)(),{pushToastMessage:I}=(0,K.dj)(),{analytics:T}=(0,eL.S)(),{user:B}=(0,x.uM)(),{hasReachedPublishedWebsitesLimit:A}=(0,ap.o7)();(0,r.useEffect)(()=>{y(!0),Z(C)},[C]);let H=!!(L&&L.handle),F=(null==L?void 0:L.handle)!==C;(0,r.useEffect)(()=>{H&&N(F)},[F,H,N]);let R=!H||F,V=A(),W=!S&&!g&&C.length>0&&(s||!V);async function E(e){let t=e,n=1;for(;await r7(t)===!1;)t="".concat(e,"-").concat(n),n++;return t}(0,r.useEffect)(()=>{let e=sa(C);if(e===C)return;let t=setTimeout(()=>{f(e)},1e3);return()=>clearTimeout(t)},[C]);let{debouncedFunction:Z}=(0,tW.d7)(async()=>{let e=sa(C);if(H&&(null==L?void 0:L.handle)===e){v(""),y(!1);return}if(!(0,t$.nD)(e)){v(u.error.invalidHandle),y(!1);return}if(function(e){let t=e&&e.trim().toLocaleLowerCase();return void 0!==r5.find(e=>t.includes(e))}(e)){v(u.error.linkUnavailable),y(!1);return}if(e===t){f(await E(e)),v(""),y(!1);return}v(await r7(e)?"":u.error.linkUnavailable),y(!1)},1e3);async function O(){D(!0,h.Is.High,"Publishing");let e=sa(C);if(ai.ok(!g,"Publish flow invoked while still checking for website handle availability."),ai.ok(!S,"Publish flow invoked when there is an error."),r0.cL){let e=r1.PUBLISH_W
1EBSITE,t=await r9(e);if(t)try{var n;let a=await r3({captchaToken:t,action:e});a.riskAnalysis&&a.riskAnalysis.score&&(n=a.riskAnalysis.score,.5>=n)&&(0,ed.$s)(T,ew.o.recaptchaRiskAssessment.publishWebsite,{risky_user_id:null==B?void 0:B.firebaseUser.uid,website_id:null==L?void 0:L.websiteSettings.id,risk_score:a.riskAnalysis.score})}catch(e){}}if(!P){D(!1,h.Is.High),w(u.error.publishUnknownError);return}w("");try{await k(e,P,s?t:void 0)}catch(e){if(D(!1,h.Is.High),e instanceof M.uH&&422===e.status)return void w(u.error.publishGuidelineFailure);if(e instanceof M.uH&&503===e.status)return void w(u.error.publishCheckUnavailable);console.error("Publish failed with unexpected error:",e),w(u.error.publishUnknownError);return}I(Y.vn.publishedWebsite),N(!1),await new Promise(e=>setTimeout(e,rJ.w)),i||(0,r8.V)("/".concat(e)),l&&l(),D(!1,h.Is.High),o()}return(0,a.jsx)(_.A,{centered:!0,scrollable:!1,className:"".concat(ss.container),isOpen:n,modalTransition:{timeout:100},autoFocus:!1,...m,"data-sentry-element":"Modal","data-sentry-component":"PublishWebsiteModal","data-sentry-source-file":"PublishWebsiteModal.tsx",children:(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"PublishWebsiteModal.tsx",children:[(0,a.jsxs)("div",{className:ss.header,children:[(0,a.jsx)("h4",{children:u.header}),(0,a.jsxs)("div",{className:ss.buttonsContainer,children:[(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.SecondarySmall," ").concat(ss.button),onClick:o,"data-sentry-element":"Button","data-sentry-source-file":"PublishWebsiteModal.tsx",children:u.cancel}),(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.PrimarySmall," ").concat(ss.button),onClick:O,disabled:!W,"data-sentry-element":"Button","data-sentry-source-file":"PublishWebsiteModal.tsx",children:u.publish})]})]}),(0,a.jsxs)("div",{className:ss.bottomSection,children:[(0,a.jsx)("div",{className:ss.description,children:p||(H?u.descrptionPublished:u.descriptionUnpublished)}),(0,a.jsx)(se,{placeholder:(0,t$.kg)("/"),invalid:!!S&&!g,valid:!S&&!g&&R,onChange:e=>{f(sn(e.target.value))},onBlur:()=>{f(sa(C))},value:C,maxLength:tg.H.handle,autoFocus:!0,onKeyDown:e=>{"Enter"===e.key&&W&&(e.preventDefault(),e.stopPropagation(),O())},"data-sentry-element":"TextInputLeftPlaceholder","data-sentry-source-file":"PublishWebsiteModal.tsx"}),(0,a.jsx)(sr,{show:R,isLoading:g,error:S,"data-sentry-element":"ValidationStatusText","data-sentry-source-file":"PublishWebsiteModal.tsx"}),b&&(0,a.jsx)("div",{className:"".concat(ss.validationText," error"),children:b})]})]})})}function sr(e){let{show:t,isLoading:n,error:o}=e,r=c.D.components.publishWebsiteModal;return t?n?(0,a.jsx)("div",{className:ss.validationText,children:r.checkingAvailability}):o?(0,a.jsx)("div",{className:"".concat(ss.validationText," error"),children:o}):(0,a.jsx)("div",{className:"".concat(ss.validationText," success"),"data-sentry-component":"ValidationStatusText","data-sentry-source-file":"PublishWebsiteModal.tsx",children:r.webAddressAvailable}):(0,a.jsx)("div",{className:"".concat(ss.validationText),children:"\xa0"})}let ss={container:(0,o.style)({display:"flex",overflow:"hidden",minWidth:460,maxWidth:460,boxSizing:"content-box",$nest:{".modal-content":{borderRadius:d.Spacing.Medium,borderWidth:0,border:0,outline:"none",boxShadow:d.BoxShadowStyles.xLarge,padding:d.Spacing.xLarge,paddingTop:d.Spacing.Large+d.Spacing.Micro},".modal-body":{textAlign:"center",padding:0},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),header:(0,o.style)({display:"flex",width:"100%",height:d.Spacing.xxLarge,flexDirection:"row",justifyContent:"space-between",alignItems:"center",boxSizing:"content-box",marginBottom:d.Spacing.Large+d.Spacing.Micro}),buttonsContainer:"".concat((0,o.style)({display:"flex",flexDirection:"row",columnGap:d.Spacing.Small})),button:"".concat((0,o.style)({display:"flex",alignItems:"center",height:d.Spacing.xxLarge,borderRadius:d.Spacing.Micro,paddingTop:d.Spacing.Small,paddingBottom:d.Spacing.Small,paddingLeft:d.Spacing.Large,paddingRight:d.Spacing.Large})),bottomSection:"".concat((0,o.style)({display:"flex",flexDirection:"column",paddingBottom:d.Spacing.xLarge})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({textAlign:"left",lineHeight:"20px",color:d.StandardColors.ColorDarkGray50,paddingBottom:d.Spacing.Large,paddingRight:d.Spacing.xLarge})),validationText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({paddingTop:d.Spacing.Small,textAlign:"left",color:d.StandardColors.ColorDarkGray05,$nest:{"&.success":{color:d.StandardColors.ColorGreen70},"&.error":{color:d.StandardColors.ColorRed60},"&.hidden":{display:""}}})),reCaptchaDisclaimer:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({textAlign:"left",marginTop:d.Spacing.Large+d.Spacing.Micro,whiteSpace:"pre-line",color:d.Colors.Subdued,fontSize:"11px"})),divider:(0,o.style)({marginBlock:0,marginInline:-d.Spacing.xLarge})};function si(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"PublishWebsite","data-sentry-source-file":"PublishWebsite.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.92668 7.49992C3.95627 4.58694 6.73437 2.49992 9.99992 2.49992C10.7257 2.49992 11.4275 2.60302 12.0912 2.79537C11.4048 2.97838 10.843 3.26356 10.4061 3.63509C9.40521 4.4864 9.17838 5.70174 9.58371 6.71859C10.0435 7.87207 11.1887 8.63574 12.2879 8.8983L12.2891 8.89858L12.2891 8.89859C12.9566 9.05804 13.2847 9.13641 13.5013 9.35159C13.888 9.73576 14.1748 10.1437 14.2319 10.4604C14.3136 10.9133 14.747 11.2142 15.2 11.1325C15.6529 11.0508 15.9538 10.6174 15.8721 10.
11645C15.7179 9.30957 15.1004 8.59085 14.6759 8.16916C14.1087 7.60575 13.3212 7.42555 12.8182 7.31044L12.8182 7.31044C12.7674 7.29882 12.7196 7.28786 12.6751 7.27724C11.9512 7.10431 11.3394 6.62191 11.1319 6.10146C10.9876 5.73931 11.0375 5.28605 11.4859 4.90466C11.9575 4.5036 12.9621 4.11652 14.8213 4.25473C16.459 5.63052 17.4999 7.69366 17.4999 9.99992C17.4999 10.0843 17.4985 10.1684 17.4958 10.252C17.4806 10.712 17.8412 11.0972 18.3012 11.1124C18.7612 11.1275 19.1464 10.7669 19.1615 10.307C19.1649 10.205 19.1666 10.1026 19.1666 9.99992C19.1666 4.93731 15.0625 0.833252 9.99992 0.833252C4.93731 0.833252 0.833252 4.93731 0.833252 9.99992C0.833252 15.0625 4.93731 19.1666 9.99992 19.1666C10.6267 19.1666 11.2396 19.1036 11.8324 18.9832C12.2834 18.8917 12.5748 18.4518 12.4833 18.0008C12.3917 17.5497 11.9518 17.2583 11.5008 17.3499C11.0165 17.4482 10.5147 17.4999 9.99992 17.4999C9.18624 17.4999 8.40283 17.3703 7.66919 17.1307V16.267C7.66919 15.3541 8.04417 14.4812 8.70635 13.8526C10.0178 12.6079 10.0124 10.5164 8.69455 9.27843L7.67178 8.31764C7.11259 7.79234 6.3742 7.49992 5.60698 7.49992H2.92668ZM2.54569 9.16659C2.51545 9.4402 2.49992 9.71824 2.49992 9.99992C2.49992 12.6726 3.8979 15.0187 6.00252 16.347V16.267C6.00252 14.8969 6.56524 13.587 7.55897 12.6438C8.17556 12.0586 8.17302 11.0752 7.55342 10.4932L6.53065 9.53239C6.2805 9.2974 5.95019 9.16659 5.60698 9.16659H2.54569ZM16.0773 12.744C16.4028 12.4186 16.9304 12.4186 17.2558 12.744L19.7558 15.244C20.0813 15.5694 20.0813 16.0971 19.7558 16.4225C19.4304 16.7479 18.9028 16.7479 18.5773 16.4225L17.4999 15.3451V19.1666C17.4999 19.6268 17.1268 19.9999 16.6666 19.9999C16.2063 19.9999 15.8333 19.6268 15.8333 19.1666V15.3451L14.7558 16.4225C14.4304 16.7479 13.9028 16.7479 13.5773 16.4225C13.2519 16.0971 13.2519 15.5694 13.5773 15.244L16.0773 12.744Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"PublishWebsite.tsx"})})}function sl(e){let{isComplete:t}=e,n=c.D.views.designer.quickStart.publishTask,{user:o}=(0,x.uM)(),{websiteSettings:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),{hasReachedPublishedWebsitesLimit:u}=(0,ap.o7)(),{showPlanNotificationModal:g}=(0,ad.dp)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tN,{description:n.description,icon:t?(0,a.jsx)(tD,{}):(0,a.jsx)(si,{}),isComplete:t,rightContent:t?void 0:(0,a.jsx)(tI,{className:d.ButtonStyles.PrimarySmall,eventName:ew.o.designer.quickStart.publishWebsiteTask,onClick:()=>o?u()?void g(ad.Zh.PUBLISH_WEBSITE):void l(!0):void m(!0),children:n.publish}),"data-sentry-element":"QuickStartItem","data-sentry-source-file":"PublishTask.tsx"}),p&&(0,a.jsx)(eM.K,{isOpen:p,mustLoginPrompt:!0,toggle:()=>m(!p),closeModal:()=>m(!1),postLoginCallback:()=>{l(!0),m(!1)}}),(0,a.jsx)(so,{isOpen:i,initialHandle:(0,t$.bl)(s.businessName),toggle:()=>l(!i),closeModal:()=>l(!1),"data-sentry-element":"PublishWebsiteModal","data-sentry-source-file":"PublishTask.tsx"})]})}let sc={isComplete:function(e){let{documentContext:t}=e,{documentStatus:n,websiteDocument:a}=t;return!!(n===M.Ai.Ready&&a&&a.handle)},createQuickStartItem:e=>(0,a.jsx)(sl,{isComplete:e})};function sd(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Minimize","data-sentry-source-file":"Minimize.tsx",children:[(0,a.jsx)("path",{d:"M9.23164 11.6041C9.23164 11.6041 9.23164 10.0327 9.23164 16.3181C9.23164 17.4292 7.56497 17.4292 7.56497 16.3181L7.56498 12.4374L3.68426 12.4374C2.57315 12.4374 2.57315 10.7708 3.68426 10.7708L8.39831 10.7708C8.6598 10.7708 8.84576 10.877 8.98417 11.0182C9.15205 11.1861 9.23454 11.3814 9.23164 11.6041Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Minimize.tsx"}),(0,a.jsx)("path",{d:"M3.10228 18.0999C2.77684 18.4253 2.2492 18.4253 1.92377 18.0999C1.59833 17.7744 1.59833 17.2468 1.92377 16.9214L6.63781 12.2073C6.96325 11.8819 7.49088 11.8819 7.81632 12.2073C8.14176 12.5328 8.14176 13.0604 7.81632 13.3858L3.10228 18.0999Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Minimize.tsx"}),(0,a.jsx)("path",{d:"M10.7813 8.42204C10.7813 8.42204 10.7813 9.99339 10.7813 3.70799C10.7813 2.59688 12.448 2.59688 12.448 3.70799L12.448 7.5887L16.3287 7.5887C17.4398 7.5887 17.4398 9.25537 16.3287 9.25537L11.6146 9.25537C11.3531 9.25537 11.1672 9.14907 11.0288 9.0079C10.8609 8.84003 10.7784 8.64474 10.7813 8.42204Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Minimize.tsx"}
1),(0,a.jsx)("path",{d:"M16.9107 1.92625C17.2361 1.60081 17.7637 1.60081 18.0892 1.92625C18.4146 2.25168 18.4146 2.77932 18.0892 3.10476L13.3751 7.8188C13.0497 8.14424 12.5221 8.14424 12.1966 7.8188C11.8712 7.49337 11.8712 6.96573 12.1966 6.64029L16.9107 1.92625Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Minimize.tsx"})]})}function sp(e){let t=c.D.views.designer.quickStart.quickStartDialog,{websiteSettings:n,setWebsiteSettings:o}=(0,j.Hb)(),{updateWebsiteSettings:r}=(0,M.SY)();return(0,a.jsx)(_.A,{className:sy.container,...e,centered:!0,scrollable:!1,"data-sentry-element":"Modal","data-sentry-component":"QuickStartDialog","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsx)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"QuickStartDialog.tsx",children:[(0,a.jsx)(sm,{onClosed:e.onClosed,"data-sentry-element":"QuickStartHeader","data-sentry-source-file":"QuickStartDialog.tsx"}),(0,a.jsx)(sg,{"data-sentry-element":"QuickStartItems","data-sentry-source-file":"QuickStartDialog.tsx"}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsxs)(k.A,{className:sy.dismissLink,"data-sentry-element":"Col","data-sentry-source-file":"QuickStartDialog.tsx",children:[t.allSet,(0,a.jsx)(eG.T,{eventName:ew.o.designer.quickStart.doNotShowAgain,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsx)(eN(),{href:"",onClick:async()=>{let t=n.quickStartTasks||{};t.doNotShow=!0,n.quickStartTasks=t,o({...n}),e.onClosed&&e.onClosed(),await r(n)},"data-sentry-element":"Link","data-sentry-source-file":"QuickStartDialog.tsx",children:t.dismiss})})]})})]})})})}function sm(e){let{onClosed:t}=e,n=c.D.views.designer.quickStart.quickStartDialog,{completedCount:o,tasks:r}=sG();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuickStartDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsx)("h4",{children:n.title})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsx)("div",{className:sy.closeButton,onClick:t,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t&&t())},children:(0,a.jsx)(sd,{"data-sentry-element":"Minimize","data-sentry-source-file":"QuickStartDialog.tsx"})})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsx)("div",{className:sy.status,children:n.statusFormat.replace("{count}","".concat(o)).replace("{total}","".concat(r.length))})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuickStartDialog.tsx",children:(0,a.jsx)(su,{"data-sentry-element":"QuickStartProgressBar","data-sentry-source-file":"QuickStartDialog.tsx"})})]})}function su(){let{completedCount:e,tasks:t}=sG();return(0,a.jsx)(a.Fragment,{children:t.map((t,n)=>(0,a.jsx)(k.A,{className:"".concat(sy.progressStep," ").concat(n<e?"active":"")},n))})}function sg(){let{tasks:e}=sG(),t=(0,M.SY)(),{invites:n}=(0,z.YI)(),{websiteSettings:o}=(0,j.Hb)();return(0,a.jsx)(a.Fragment,{children:e.map((e,r)=>(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:e.createQuickStartItem(e.isComplete({documentContext:t,invites:n,websiteSettings:o}))})},r))})}let sy={container:(0,o.style)({width:438,$nest:{h4:{fontWeight:600},".modal-body":{paddingInline:u.Spacing.xLarge,paddingTop:u.Spacing.Large+u.Spacing.Micro}}}),closeButton:(0,o.style)({height:u.Spacing.xLarge,color:d.Colors.Subdued,cursor:"pointer",$nest:{"&:hover":{color:u.StandardColors.ColorLightGray90}}}),dismissLink:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued," ").concat((0,o.style)({textDecoration:"none",marginBlock:u.Spacing.Large-1})),progressStep:(0,o.style)({borderRadius:99,marginBlock:u.Spacing.Micro/2,height:u.Spacing.Micro,backgroundColor:u.StandardColors.ColorLightGray40,$nest:{"&:not(:last-child)":{marginRight:u.Spacing.Micro/2},"&.active":{backgroundColor:d.Colors.Primary}}}),status:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued," ").concat((0,o.style)({marginTop:u.Spacing.Micro,marginBottom:u.Spacing.Large}))};function sx(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ShareWebsite","data-sentry-source-file":"ShareWebsite.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3478 2.56346C11.0365 2.69244 10.8334 2.99631 10.8334 3.33336V6.69526C8.44147 6.85886 6.09858 7.71955 4.28013 9.1339C2.2418 10.7193 0.833416 13.0298 0.833416 15.8334C0.833416 16.
11407 1.00257 16.4231 1.27353 16.5681C1.54439 16.713 1.87302 16.6972 2.12869 16.5269L2.12874 16.5269C2.12883 16.5268 2.12891 16.5268 2.129 16.5267L2.13012 16.526L2.13838 16.5206L2.1759 16.4962C2.21008 16.4741 2.26239 16.4407 2.33161 16.3977C2.47009 16.3115 2.67598 16.1867 2.93957 16.0361C3.46735 15.7345 4.2233 15.3313 5.1302 14.9282C6.741 14.2123 8.777 13.5199 10.8334 13.3653V16.6667C10.8334 17.0037 11.0365 17.3076 11.3478 17.4366C11.6592 17.5656 12.0177 17.4943 12.256 17.2559L18.9227 10.5893C19.2481 10.2638 19.2481 9.73621 18.9227 9.41077L12.256 2.7441C12.0177 2.50577 11.6592 2.43447 11.3478 2.56346ZM2.69369 14.2673C3.07865 12.7499 4.0155 11.4512 5.30337 10.4495C7.02406 9.11117 9.34163 8.33336 11.6667 8.33336C12.127 8.33336 12.5001 7.96026 12.5001 7.50002V5.3452L17.1549 10L12.5001 14.6548V12.5C12.5001 12.0398 12.127 11.6667 11.6667 11.6667C8.99879 11.6667 6.37495 12.5511 4.4533 13.4052C3.77967 13.7046 3.18425 14.0039 2.69369 14.2673Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ShareWebsite.tsx"})})}var sh=n(43435),sC=n(54536);function sf(e){let{remainingItems:t,singularMessage:n,pluralMessage:o,className:r,...s}=e,i=c.D.components.remainingItemsTag,l=0==t;return(0,a.jsxs)("span",{className:"".concat(r||""," ").concat(sS.container," ").concat(l?"maximum-reached":""),...s,"data-sentry-component":"RemainingItemsTag","data-sentry-source-file":"RemainingItemsTag.tsx",children:[l?(0,a.jsx)(aV,{}):"",t>0?1===t?n:o:i.maximumReached]})}let sS={container:"".concat(d.FontStyles.Subdued," ").concat(d.FontStyles.Subordinate," ").concat((0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",color:d.StandardColors.ColorDarkGray05,fontWeight:400,$nest:{"&.maximum-reached":{fontWeight:500},svg:{height:d.Spacing.Medium,width:d.Spacing.Medium,marginRight:d.Spacing.Micro}}}))};var sv=n(58243);function sb(){return(0,a.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Clock","data-sentry-source-file":"Clock.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5C9.03757 11.5 11.5 9.03757 11.5 6C11.5 2.96243 9.03757 0.5 6 0.5C2.96243 0.5 0.5 2.96243 0.5 6C0.5 9.03757 2.96243 11.5 6 11.5ZM6.64645 7.35355L5.5 6.20711V3.5C5.5 3.22386 5.72386 3 6 3C6.27614 3 6.5 3.22386 6.5 3.5V5.79289L7.35355 6.64645C7.54882 6.84171 7.54882 7.15829 7.35355 7.35355C7.15829 7.54882 6.84171 7.54882 6.64645 7.35355Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Clock.tsx"})})}function sj(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"CloseWithCircle","data-sentry-source-file":"CloseWithCircle.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99992 17.5C14.1421 17.5 17.4999 14.1422 17.4999 10C17.4999 5.8579 14.1421 2.50004 9.99992 2.50004C5.85778 2.50004 2.49992 5.8579 2.49992 10C2.49992 14.1422 5.85778 17.5 9.99992 17.5ZM9.99992 19.1667C15.0625 19.1667 19.1666 15.0626 19.1666 10C19.1666 4.93743 15.0625 0.833374 9.99992 0.833374C4.93731 0.833374 0.833252 4.93743 0.833252 10C0.833252 15.0626 4.93731 19.1667 9.99992 19.1667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"CloseWithCircle.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.91066 6.91078C7.2361 6.58535 7.76374 6.58535 8.08917 6.91078L9.99992 8.82153L11.9107 6.91078C12.2361 6.58535 12.7637 6.58535 13.0892 6.91078C13.4146 7.23622 13.4146 7.76386 13.0892 8.0893L11.1784 10L13.0892 11.9108C13.4146 12.2362 13.4146 12.7639 13.0892 13.0893C12.7637 13.4147 12.2361 13.4147 11.9107 13.0893L9.99992 11.1786L8.08917 13.0893C7.76374 13.4147 7.2361 13.4147 6.91066 13.0893C6.58523 12.7639 6.58523 12.2362 6.91066 11.9108L8.82141 10L6.91066 8.0893C6.58523 7.76386 6.58523 7.23622 6.91066 6.91078Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"CloseWithCircle.tsx"})]})}var sw=n(33631);function sL(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Warning","data-sentry-source-file":"Warning.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5605 1.75856C10.8705 0.524978 9.12949 0.52498 8.43954 1.75856L0.239458 16.4195C-0.445204 17.6436 0.419937 19.1667 1.79992 19.1667H18.2001C19.5801 19.1667 20.4452 17.6436 19.7605 16.4195L11.5605 1.75856ZM11.4464 8.31875L10.9435 12.0907C10.8804 12.5636 10.477 12.9167 9.99998 12.9167C9.52293 12.9167 9.11956 12.5636 9.05651 12.0907L8.55359 8.31875C8.43695 7.44399 9.11748 6.66671 9.99998 6.66671C10.8825 6.66671 11.563 7.44399 11.4464 8.31875ZM11.25 15.4167C11.25 16.1071 10.6903 16.6667 9.99998 16.6667C9.30963 16.6667 8.74998 16.1071 8.74998 15.4167C8.74998 14.7264 9.30963 14.1667 9.99998 14.1667C10.6903 14.1667 11.25 14.7264 11.25 15.4167Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Warning.tsx"})})}function sk(){return(0,a.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SmallInfo","data-sentry-source-file":"SmallInfo.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5C9.03757 11.5 11.5 9.037
157 11.5 6C11.5 2.96243 9.03757 0.5 6 0.5C2.96243 0.5 0.5 2.96243 0.5 6C0.5 9.03757 2.96243 11.5 6 11.5ZM6 10.5C8.48528 10.5 10.5 8.48528 10.5 6C10.5 3.51472 8.48528 1.5 6 1.5C3.51472 1.5 1.5 3.51472 1.5 6C1.5 8.48528 3.51472 10.5 6 10.5ZM5.325 4C5.325 3.62721 5.6272 3.325 6 3.325C6.37279 3.325 6.675 3.62721 6.675 4C6.675 4.37279 6.37279 4.675 6 4.675C5.6272 4.675 5.325 4.37279 5.325 4ZM5.325 6C5.325 5.62721 5.6272 5.325 6 5.325C6.37279 5.325 6.675 5.62721 6.675 6V8.25C6.675 8.62279 6.37279 8.925 6 8.925C5.6272 8.925 5.325 8.62279 5.325 8.25V6Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SmallInfo.tsx"})})}function sM(e){let{subtitleWarning:t}=e;return t?(0,a.jsxs)("div",{className:sN.subtitleWarning,children:[(0,a.jsx)("div",{className:"alert-icon",children:(0,a.jsx)(sk,{})}),(0,a.jsx)("div",{className:"".concat(d.FontStyles.Medium," ").concat(d.FontStyles.Subordinate," warning-text"),children:t})]}):null}function sP(e){let{className:t,children:n,title:o,titleSuffix:r,subtitle:s,subtitleTooltip:i,subtitleWarning:l,rightContent:c,rightTitleContent:p,titleClassname:m,paidFeature:u=!1,planModalReason:g}=e,{ownerBillingStatus:y}=(0,ad.dp)();return(0,a.jsxs)(w.A,{className:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," ").concat(sN.container," ").concat(t||""),"data-sentry-element":"Container","data-sentry-component":"PropertySection","data-sentry-source-file":"PropertySection.tsx",children:[o&&(0,a.jsxs)(L.A,{className:sN.titleRow,children:[(0,a.jsxs)(k.A,{className:sN.leftTitleContent,children:[(0,a.jsxs)("div",{className:"".concat(m||d.FontStyles.SemiBold," ").concat(sN.titleContent),children:[(0,a.jsx)("span",{children:o}),r&&(0,a.jsx)("span",{className:sN.titleSuffix,children:r}),u&&(0,a.jsx)(aL.y,{tierOverride:y.isGrow?N.PlanType.GROW:N.PlanType.PRO,planModalReason:g})]}),s&&(0,a.jsx)(J.x,{disabled:!i,target:(0,a.jsx)("div",{className:"".concat(sN.subtitle," ").concat(d.FontStyles.Subdued," ").concat(d.FontStyles.Subordinate),children:s}),placement:"bottom",title:s}),(0,a.jsx)(sM,{subtitleWarning:l})]}),p&&(0,a.jsx)(k.A,{className:sN.rightTitleContent,children:p})]}),(n||c)&&(0,a.jsxs)(L.A,{className:"".concat(o||p?sN.contentRow:""," d-flex align-items-center"),children:[(0,a.jsx)(k.A,{className:"d-flex flex-column",children:n}),c&&(0,a.jsx)(k.A,{className:"col-auto",children:c})]})]})}let sN={container:(0,o.style)({display:"flex",flexDirection:"column"}),titleRow:"d-flex align-items-center ".concat((0,o.style)({flexWrap:"nowrap",paddingBlock:d.Spacing.Small-1,justifyContent:"space-between"})),titleContent:(0,o.style)({display:"flex",alignItems:"center"}),titleSuffix:(0,o.style)({marginInlineStart:d.Spacing.Small,fontSize:13,fontWeight:400,lineHeight:"18px",color:d.StandardColors.ColorDarkGray50}),leftTitleContent:"d-block ".concat((0,o.style)({maxWidth:"70%"})),rightTitleContent:"d-flex flex-row col-6 ".concat((0,o.style)({justifyContent:"right",alignItems:"center",columnGap:d.Spacing.Micro,flex:"0 1 auto",width:"fit-content"})),subtitle:(0,o.style)({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}),subtitleWarning:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",columnGap:d.Spacing.Micro,whiteSpace:"pre-line",overflow:"hidden",color:d.StandardColors.ColorDarkGray05,$nest:{".alert-icon":{display:"flex",alignItems:"center",justifyContent:"center",maxHeight:d.Spacing.Medium,maxWidth:d.Spacing.Medium},".warning-text":{lineHeight:"18px",color:d.StandardColors.ColorDarkGray05}}}),contentRow:(0,o.style)({})};var sD=n(85515),sI=n(44247);let{errorModal:sT}=c.D.views.designer.components.properties.settings.websiteSharingPropertySection;function sB(){let e=c.D.views.designer.components.properties.settings.websiteSharingPropertySection,t=ew.o.designer.settings.websiteSharing,{user:n}=(0,x.uM)(),{showPlanNotificationModal:o,planType:s}=(0,ad.dp)(),{websiteDocument:i,websiteOwnerEmail:l}=(0,M.SY)(),{setSpinner:p}=(0,h.p6)(),{addUserToWebsite:m,deleteInvite:g,invites:y,resendInvite:C}=(0,z.YI)(),{updateLastSharedAt:f}=(0,j.Hb)(),[S,v]=(0,r.useState)(!1),[b,P]=(0,r.useState)(null),[N,D]=(0,r.useState)(null),{pushToastMessage:I}=(0,K.dj)();if(!n||!i)return null;let T=i.userId===n.firebaseUser.uid,B=y.find(e=>e.accepted&&e.invitedUserId===n.firebaseUser.uid),A=y.filter(e=>e!==B&&(T||e.accepted)).sort((e,t)=>
1e.invitedUserEmail.localeCompare(t.invitedUserEmail)),H=B?[B,...A]:A,F=(0,ah.Z$)(s)-(H||[]).length;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"WebsiteSharingPropertySection","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing),"data-sentry-element":"Container","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:[(0,a.jsx)(L.A,{className:sF.rowTitle,"data-sentry-element":"Row","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)(k.A,{className:sF.colTitle,"data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:e.title})}),(0,a.jsxs)(L.A,{className:sF.inviteRow,"data-sentry-element":"Row","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)("div",{children:(0,a.jsxs)("div",{children:[l,T&&(0,a.jsx)("span",{className:sF.youLabel,children:e.you})]})})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)("div",{className:sF.staticValue,children:e.owner})})]}),H.map(t=>(0,a.jsx)(r.Fragment,{children:(0,a.jsxs)(L.A,{className:sF.inviteRow,children:[(0,a.jsxs)(k.A,{className:"align-items-center",children:[(0,a.jsx)("div",{children:t.invitedUserEmail}),t===B&&(0,a.jsx)("span",{className:sF.youLabel,children:e.you})]}),T||t.accepted&&t.invitedUserId===n.firebaseUser.uid?(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)(sA,{invite:t,onDelete:()=>{P(t)},onResendInvite:async()=>{p(!0,h.Is.High,e.inviteUserSpinner);try{await C(t.id),I(Y.vn.inviteSent),await f()}catch(e){D({email:t.invitedUserEmail,error:e})}finally{p(!1,h.Is.High)}}})}):(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)("div",{className:sF.staticValue,children:e.inviteState[t.state]})})]})},t.id)),T&&(0,a.jsx)(L.A,{className:sF.buttonRow,children:(0,a.jsxs)(k.A,{className:"align-items-end",children:[(0,a.jsx)(eG.T,{eventName:t.inviteEditor,onClick:()=>{if(F<=0)return o(ad.Zh.INVITE_EDITOR);v(!0)},children:(0,a.jsxs)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,children:[(0,a.jsx)(sv.O,{})," ",(0,a.jsx)("span",{className:sF.inviteUser,children:e.inviteUser})]})}),(0,a.jsx)(sf,{className:sF.remainingLinkTag,remainingItems:F,singularMessage:e.addSingleInvite,pluralMessage:e.addPluralInviteFormat.replace("{count}",F.toString())})]})}),S&&(0,a.jsx)(sH,{isOpen:S,onClosed:()=>v(!1),onInviteUser:async t=>{p(!0,h.Is.High,e.inviteUserSpinner);try{await m(t.trim().toLocaleLowerCase()),I(Y.vn.inviteSent),await f()}catch(e){D({email:t.trim().toLocaleLowerCase(),error:e})}finally{p(!1,h.Is.High)}}}),b&&(0,a.jsx)(sC.E,{isDestructive:!0,isOpen:!!b,title:T?e.deleteModal.titleRemoveUser:e.deleteModal.titleRemoveSelf,cancelText:e.deleteModal.cancel,acceptText:T?e.deleteModal.removeUser:e.deleteModal.removeSelf,onCancel:()=>P(null),onAccept:async()=>{p(!0);try{await g(b.id)}catch(e){D({email:b.invitedUserEmail,error:e})}finally{p(!1)}P(null)},children:(0,a.jsx)("div",{children:T?e.deleteModal.removeUserMessage(b.invitedUserEmail):e.deleteModal.removeSelfMessage})}),N&&N.error&&N.email&&(0,a.jsx)(sC.E,{title:e.errorModal.title,acceptText:e.errorModal.ok,onAccept:()=>{D(null)},className:sF.errorModal,warningAlertIcon:!0,children:function(e,t){switch(e){case sD.d.INVITE_LIMIT_EXCEEDED:return sT.maxSitesReached(t);case sI.B.INVITE_ALREADY_EXISTS:return sT.inviteAlreadyExists(t);case sI.B.INVITE_SELF:return sT.inviteSelf;default:return sT.genericDescription}}(N.error.message,N.email)})]})})}function sA(e){let{invite:t,onDelete:n,onResendInvite:o}=e,r=c.D.views.designer.components.properties.settings.websiteSharingPropertySection,s=ew.o.designer.settings.websiteSharing,i={icon:(0,a.jsx)(sj,{}),title:r.ownerDropdown.remove,onClick:n,eventName:s.removeEditor},l={icon:(0,a.jsx)(sw.k,{}),title:r.ownerDropdown.resendInvite,onClick:o,eventName:s.resendInviteEditor},p=t.state===z.mS.Pending?[l,i]:t.state===z.mS.Accepted?[i]:[l,i],m=r.inviteState[t.state];return(0,a.jsx)(nT.V,{className:sF.ownerDropdown,values:p,headerItemTemplate:()=>t.state===z.mS.Accepted?(0,a.jsx)("span",{children:m}):t.state===z.mS.Expired?(0,a.jsxs)("div",{className:"".concat(sF.status," ").concat(sF.expired),children:[(0,a.jsx)("span",{className:sF.icon,children:(0,a.jsx)(sL,{})}),m]}):(0,a.jsxs)("div",{className:"".concat(sF.status," ").concat(sF.pending),children:[(0,a.jsx)("span",{className:sF.icon,children:(0,a.jsx)(sb,{})}),m]}),itemTemplate:e=>(0,a.jsx)(eG.T,{className:d.LinkStyles.NoUnderline,eventName:null==e?void 0:e.eventName,children:(0,a.jsxs)("div",{className:sF.menuItem,children:[(0,a.jsx)("div",{className:"icon",children:null==e?void 0:e.icon}),(0,a.jsx)("div",{children:null==e?void 0:e.title})]},null==e?void 0:e.title)}),onValueChanged:e=>null==e?void 0:e.onClick(),"data-sentry-element":"DropdownSelector","data-sentry-component":"OwnerDropdown","data-sentry-source-file":"WebsiteSharingPropertySection.tsx"})}function sH(e){let{onInviteUser:t,...n}=e,o=c.D.views.designer.components.properties.settings.websiteSharingPropertySection.inviteUserModal,[s,i]=(0,r.useState)(""),[l,p]=(0,r.useState)(!0),{isMobileDevice:m}=(0,j.Hb)();function g(){l&&(t&&t(s),n.onClosed&&n.onClosed())}return(0,r.useEffect)(()=>{((0,n_.DT)(s)||!s)&&p(!0)}
1,[s]),(0,a.jsx)(_.A,{...n,autoFocus:!1,scrollable:!1,centered:!0,modalTransition:{timeout:100},className:"".concat(sF.modal," ").concat(m?sF.mobileContainer:""),contentClassName:"".concat(sF.modalContent," ").concat(m?sF.modalContentMobile:""),"data-sentry-element":"Modal","data-sentry-component":"InviteUserModal","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:[(0,a.jsx)(L.A,{className:sF.header,"data-sentry-element":"Row","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsxs)(k.A,{className:"justify-content-between","data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:sF.title,children:o.title})}),(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:sF.closeButton,onClick:()=>{n.onClosed&&n.onClosed()},children:(0,a.jsx)(aX.b,{})}),title:c.D.components.tooltips.close,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"WebsiteSharingPropertySection.tsx"})]})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:o.emailAddress})}),(0,a.jsxs)(L.A,{className:sF.emailAddressRow,"data-sentry-element":"Row","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)(tf.g,{value:s,onChange:e=>i(e.target.value.trim()),onBlur:e=>{var t;(t=e.target.value)&&p((0,n_.DT)(t))},invalid:!!s&&!l,autoFocus:!0,maxLength:tg.H.email,onKeyDown:e=>{"Enter"===e.key&&(0,n_.DT)(s)&&(e.preventDefault(),e.stopPropagation(),g())},"data-sentry-element":"SoloInput","data-sentry-source-file":"WebsiteSharingPropertySection.tsx"})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.PrimarySmall," ").concat(sF.button),onClick:()=>{(0,n_.DT)(s)&&g()},disabled:!l,"data-sentry-element":"Button","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:o.sendInvite})})]}),(0,a.jsx)(L.A,{className:sF.instructionsRow,"data-sentry-element":"Row","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"WebsiteSharingPropertySection.tsx",children:o.instructions})})]})})})}let sF={button:"".concat((0,o.style)({display:"flex",alignItems:"center",marginLeft:u.Spacing.Small,height:u.Spacing.xxLarge,borderRadius:u.Spacing.Micro,paddingTop:u.Spacing.Small,paddingBottom:u.Spacing.Small,paddingLeft:u.Spacing.Large,paddingRight:u.Spacing.Large})),buttonRow:(0,o.style)({marginTop:"".concat(u.Spacing.Large,"px !important")}),check:(0,o.style)({color:u.StandardColors.ColorGreen60}),close:(0,o.style)({cursor:"pointer"}),closeButton:(0,o.style)({color:d.Colors.Subdued,cursor:"pointer",backgroundColor:u.StandardColors.ColorTransparent,padding:0,margin:0,border:"none",$nest:{"&:hover":{color:u.StandardColors.ColorLightGray90,backgroundColor:u.StandardColors.ColorTransparent}},height:u.Spacing.xLarge,width:u.Spacing.xLarge}),colTitle:"col-auto ".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginRight:u.Spacing.Small})),deleteSubText:(0,o.style)({marginTop:u.Spacing.Medium}),emailAddressRow:(0,o.style)({marginTop:"".concat(u.Spacing.Small-1,"px !important"),marginBottom:"".concat(u.Spacing.Large,"px !important")}),errorModal:(0,o.style)({$nest:{a:{color:d.Colors.Primary}}}),expired:(0,o.style)({color:u.StandardColors.ColorRed60,fontWeight:N.FontWeight.Medium,$nest:{svg:{color:u.StandardColors.ColorRed60}}}),header:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",flexDirection:"row",paddingBottom:u.Spacing.Large+u.Spacing.Micro,textAlign:"left",width:"100%",height:u.Spacing.xxLarge,alignItems:"center",boxSizing:"content-box",marginBottom:u.Spacing.Large+u.Spacing.Micro})),icon:(0,o.style)({display:"flex",alignItems:"center",paddingRight:u.Spacing.Micro,$nest:{svg:{display:"inline-block",height:u.Spacing.Medium,width:u.Spacing.Medium,marginRight:u.Spacing.Micro}}}),instructionsRow:(0,o.style)({color:u.StandardColors.ColorDarkGray50,paddingRight:u.Spacing.Large}),inviteRow:(0,o.style)({alignItems:"center",marginTop:"".concat(u.Spacing.Small,"px !important"),minHeight:u.Spacing.xxLarge,$nest:{".col-btn":d.ButtonStyles.ListViewItemButton,".scale-icon":{display:"flex",alignItems:"center",maxHeight:u.Spacing.Large+u.Spacing.Micro,maxWidth:u.Spacing.Large+u.Spacing.Micro}}}),inviteUser:(0,o.style)({marginLeft:u.Spacing.Micro}),menuItem:"".concat(u.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flexDirection:"row",color:d.Colors.Subdued,$nest:{".icon > svg":{display:"flex",width:u.Spacing.Large+u.Spacing.Micro,height:u.Spacing.Large+u.Spacing.Micro,marginRight:u.Spacing.Small}}})),modal:(0,o.style)({display:"flex",overflow:"hidden",boxSizing:"content-box",justifyContent:"center",padding:0,width:"100%",bottom:0,maxWidth:460,paddingInline:u.Spacing.xLarge,height:"auto",margin:"auto",alignItems:"center",$nest:{".modal-content":{borderRadius:u.Spacing.Medium,borderWidth:0,border:0,outline:"none",boxShadow:u.BoxShadowStyles.xLarge,padding:u.Spacing.xLarge,paddingTop:u.Spacing.Large+u.Spacing.Micro},".modal-body":{padding:0},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),mobileContainer:(0,o.style)({maxWidth:"100%",padding:0,margin:0,height:"100vh",alignItems:"flex-end"}),modalContent:(0,o.style)({borderRadius:u.Spacing.Medium,height:"auto",borderWidth:0,border:0,outline:"none",boxShadow:u.BoxShadowStyles.xLarge}),modalContentMobile:(0,o.style)({height:"calc(100vh - ".concat(3*u.Spacing.xxxLarge,"px)"),borderRadius:"".concat(u.Spacing.Medium,"px ").concat(u.Spacing.Medium,"px 0px 0px !important")}),newBadge:(0,o.style)({display:"flex",justifyContent:"start"}),ownerDropdown:(0,o.style)({$nest:{button:{backgroundColor:u.StandardColors.ColorTransparent,color:u.StandardColors.ColorDarkGray05,fontWeight:N.FontWeight.Regular,$nest:{"&:hover":{backgroundColor:d.Colors.SecondaryFlatHover},"&:active":{backgroundColor:d.Colors.SecondaryFlatPressed}}},".dropdown-item":{$nest:{"&:hover":{backgroundColor:d.Colors.SecondaryFlatHover},"&:active":{backgroundColor:d.Colors.SecondaryFlatPressed},"&:not(:first-child)":{display:"flex",borderTop:1,borderTopStyle:"solid",borderTopColor:u.StandardColors.ColorLightGray20,marginTop:u.Spacing.Micro/2}}},".dropdown-menu":{width:"unset !important",minWidth:160}}}),pending:(0,o.style)({color:u.StandardColors.ColorYellow70,fontWeight:N.FontWeight.Medium,$nest:{svg:{color:u.StandardColors.ColorYellow60}
1}}),remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,marginBottom:u.Spacing.Micro/4}),resendLink:(0,o.style)({marginRight:u.Spacing.Medium}),roleLabelInline:(0,o.style)({marginLeft:u.Spacing.Micro}),rowTitle:"align-items-center ".concat((0,o.style)({marginBottom:"".concat(u.Spacing.Medium,"px !important")})),staticValue:(0,o.style)({color:u.StandardColors.ColorDarkGray05,padding:1.5*u.Spacing.Micro}),status:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",paddingInline:u.Spacing.Micro}),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({fontSize:"18px !important",lineHeight:"24px !important"})),youLabel:"".concat(d.FontStyles.Subordinate," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray05,marginLeft:u.Spacing.Micro}))};function sR(e){let{websiteDocument:t}=(0,M.SY)(),{websiteDomain:n}=(0,D.hi)(),{pushToastMessage:o}=(0,K.dj)(),{isMobileDevice:r}=(0,j.Hb)(),{height:s,width:i}=(0,u.useWindowSize)(),l=c.D.views.designer.components.websiteShareModal,p=r&&i&&s&&i>s,m=n&&n.state===N.WebsiteDomainState.Connected?"https://".concat((0,sh.toDisplayDomain)(n.domainName)):t&&t.handle?(0,t$.kg)(t.handle):"",g=!!m,{updateLastSharedAt:y}=(0,j.Hb)(),x=async e=>{if(!r||!navigator.share)return void h(e);let n={title:null==t?void 0:t.websiteSettings.businessName,url:e};try{await navigator.share(n),await y()}catch(e){console.error("Something might be wrong with the link")}},h=e=>{navigator.clipboard.writeText(e),o(Y.vn.linkCopied),y()};return(0,a.jsx)(_.A,{className:"".concat(sV.container," ").concat(r?sV.mobileContainer:sV.desktopContainer," ").concat(p?"mobile-landscape":""),...e,centered:!r,"data-sentry-element":"Modal","data-sentry-component":"WebsiteShareModal","data-sentry-source-file":"WebsiteShareModal.tsx",children:(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"WebsiteShareModal.tsx",children:[(0,a.jsxs)("div",{className:sV.header,children:[(0,a.jsx)("h4",{children:l.title}),(0,a.jsx)(J.x,{target:(0,a.jsx)("div",{className:sV.closeButton,onClick:t=>e.toggle&&e.toggle(t),children:(0,a.jsx)(aX.b,{})}),title:c.D.components.tooltips.close,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"WebsiteShareModal.tsx"})]}),(0,a.jsxs)(w.A,{className:sV.domainProperties,"data-sentry-element":"Container","data-sentry-source-file":"WebsiteShareModal.tsx",children:[(0,a.jsxs)(L.A,{className:"website-share-area","data-sentry-element":"Row","data-sentry-source-file":"WebsiteShareModal.tsx",children:[(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," website-properties col-auto ms-0 me-0"),"data-sentry-element":"Container","data-sentry-source-file":"WebsiteShareModal.tsx",children:[(0,a.jsx)(L.A,{className:d.FontStyles.SemiBold,"data-sentry-element":"Row","data-sentry-source-file":"WebsiteShareModal.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"WebsiteShareModal.tsx",children:null==t?void 0:t.websiteSettings.businessName})}),(0,a.jsx)(L.A,{className:"".concat(d.FontStyles.Subdued," ").concat(d.FontStyles.Subordinate),"data-sentry-element":"Row","data-sentry-source-file":"WebsiteShareModal.tsx",children:(0,a.jsx)(k.A,{className:"w-100","data-sentry-element":"Col","data-sentry-source-file":"WebsiteShareModal.tsx",children:m?(0,a.jsx)("a",{target:"_blank",rel:"noopener",className:sV.shareLink,onClick:()=>(0,r8.V)(m),children:m}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:sV.draft,children:l.draft}),l.draftPostFix]})})})]}),t&&t.handle&&m&&(0,a.jsx)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," col-auto  me-0 ms-auto dflex align-content-center"),children:(0,a.jsx)(L.A,{className:"h-100",children:(0,a.jsx)(k.A,{children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.share.copyLink,children:(0,a.jsxs)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>x(m),children:[r&&navigator&&void 0!=navigator.share?(0,a.jsx)(sx,{}):(0,a.jsx)(nf.q,{})," ",(0,a.jsx)("span",{className:"ms-2",children:r?l.shareWebsite:l.copyLink})]})})})})})]}),r&&!g&&(0,a.jsx)(L.A,{className:"mobile-disclaimer-area",children:(0,a.jsx)("div",{className:sV.disclaimerText,children:l.mobileDisclaimer})}),(0,a.jsx)(L.A,{className:"website-share-properties ".concat(p?"mobile-landscape":""),"data-sentry-element":"Row","data-sentry-source-file":"WebsiteShareModal.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"WebsiteShareModal.tsx",children:(0,a.jsx)(sB,{"data-sentry-element":"WebsiteSharingPropertySection","data-sentry-source-file":"WebsiteShareModal.tsx"})})})]})]})})}let sV={container:(0,o.style)({display:"flex",marginInline:"auto",$nest:{".modal-content":{boxShadow:u.BoxShadowStyles.xLarge,outline:"none",padding:u.Spacing.xLarge},".modal-body":{padding:0},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),desktopContainer:(0,o.style)({width:440,$nest:{".modal-content":{borderRadius:u.Spacing.Small,borderWidth:0,border:0,paddingTop:u.Spacing.Large+u.Spacing.Micro},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),mobileContainer:(0,o.style)({margin:0,top:u.Spacing.xxLarge+u.Spacing.xLarge,display:"flex",marginInline:"auto",width:"100%",$nest:{"&.mobile-landscape":{$nest:{".modal-content":{width:576}}},".modal-content":{borderBottomLeftRadius:0,borderBottomRightRadius:0,height:"calc(100vh - ".concat(u.Spacing.xxLarge+u.Spacing.xLarge,"px)"),overflow:"hidden"}}}),domainProperties:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Large,$nest:{".website-share-area":{paddingBlock:u.Spacing.Micro},".website-properties":{maxWidth:290},".mobile-disclaimer-area":{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",width:"100%",height:"100%",paddingInline:u.Spacing.Large,paddingBlock:u.Spacing.Large,background:u.StandardColors.ColorOrange05,overflow:"hidden",borderRadius:u.Spacing.Micro,marginTop:u.Spacing.Large},".website-share-properties":{paddingTop:u.Spacing.Large,borderTopStyle:"solid",borderTopWidth:1,borderTopColor:u.StandardColors.ColorLightGray20,marginTop:u.Spacing.Large,$nest:{"&.mobile-landscape":{height:"30vh",overflowY:"auto"}}}}})),draft:(0,o.style)({color:u.StandardColors.ColorYellow70,fontWeight:500,marginRight:u.Spacing.Micro}),header:(0,o.style)({display:"flex",width:"100%",flexDirection:"row",justifyContent:"space-between",overflow:"hidden",boxSizing:"content-box",paddingBottom:u.Spacing.Large+u.Spacing.Micro,borderBottomStyle:"solid",borderBottomWidth:1,borderBottomColor:u.StandardColors.ColorLightGray20}),closeButton:(0,o.style)({height:u.Spacing.xLarge,color:d.Colors.Subdued,cursor:"pointer",$nest:{"&:hover":{color:u.StandardColors.ColorLightGray90},svg:{height:u.Spacing.Large+u.Spacing.Micro,width:u.Spacing.Large+u.Spacing.Micro}}}),shareLink:"".concat(d.LinkStyles.NoUnderline," w-100 text-break ").concat((0,o.style)({$nest:{"&:hover":{color:u.StandardColors.ColorDarkGray90,cursor:"pointer"}}})),disclaimerText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({whiteSpace:"pre-line",color:u.StandardColors.ColorDarkGray50,padding:0}))};function sW(e){let{isComplete:t}=e,n=c.D.views.designer.quickStart.shareWebsiteTask,{user:o}=(0,x.uM)(),[s,i]=(0,r.useState)(!1),[l,p]=(0,r.useState)(!1);return(0,a.jsx)(tN,{description:n.description,icon:t?(0,a.jsx)(tD,{}):(0,a.jsx)(sx,{}),isComplete:t,rightContent:t?void 0:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tI,{className:d.ButtonStyles.PrimarySmall,eventName:ew.o.designer.quickStart.shareWebsiteTask,onClick:()=>
1{if(!o)return void p(!0);i(!0)},children:n.share}),l&&(0,a.jsx)(eM.K,{isOpen:l,mustLoginPrompt:!0,toggle:()=>p(!l),closeModal:()=>p(!1),postLoginCallback:()=>{i(!0),p(!1)}}),(0,a.jsx)(sR,{isOpen:s,toggle:()=>{i(!1)}})]}),"data-sentry-element":"QuickStartItem","data-sentry-component":"ShareWebsiteTaskItem","data-sentry-source-file":"ShareWebsiteTask.tsx"})}let sE={isComplete:function(e){let{documentContext:t,invites:n,websiteSettings:a}=e,{documentStatus:o,websiteDocument:r}=t;return!!(a&&a.quickStartTasks&&a.quickStartTasks.shareWebsite||o===M.Ai.Ready&&r&&r.userAccessLevel&&Object.keys(r.userAccessLevel).length>0||n.length>0||o===M.Ai.Ready&&r&&r.lastSharedAt)},createQuickStartItem:e=>(0,a.jsx)(sW,{isComplete:e})},sZ=(0,r.createContext)({});function sG(){return(0,r.useContext)(sZ)}function sO(e){let[t,n]=(0,r.useState)(0),[o,s]=(0,r.useState)(!1),[i]=(0,r.useState)([rX,tA,tX,sc,sE,rK]),l=(0,M.SY)(),{websiteSettings:c}=(0,j.Hb)(),{invites:d}=(0,z.YI)();return(0,r.useEffect)(()=>{if(!l||!c)return void n(0);n(i.reduce((e,t)=>e+ +!!t.isComplete({documentContext:l,invites:d,websiteSettings:c}),0))},[l,c]),(0,a.jsxs)(sZ.Provider,{value:{completedCount:t,setShowQuickStartDialog:s,tasks:i},"data-sentry-element":"QuickStartContext.Provider","data-sentry-component":"QuickStartProvider","data-sentry-source-file":"QuickStartDataContext.tsx",children:[e.children,o&&(0,a.jsx)(sp,{})]})}function sz(){return(0,a.jsx)(sO,{"data-sentry-element":"QuickStartProvider","data-sentry-component":"QuickStart","data-sentry-source-file":"QuickStart.tsx",children:(0,a.jsx)(s$,{"data-sentry-element":"QuickStartPanel","data-sentry-source-file":"QuickStart.tsx"})})}function s$(){let{completedCount:e,tasks:t}=sG(),{websiteSettings:n,isMobileDevice:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(!1);if(o)return null;let l=c.D.views.designer.quickStart;return e===t.length||n.quickStartTasks&&n.quickStartTasks.doNotShow?s?(0,a.jsx)(eX,{isOpen:s,onClosed:()=>i(!1)}):null:(0,a.jsx)(eG.T,{eventName:ew.o.designer.quickStart.onOpenClick,"data-sentry-element":"AnalyticsLink","data-sentry-component":"QuickStartPanel","data-sentry-source-file":"QuickStart.tsx",children:(0,a.jsxs)(w.A,{className:sU.container,onClick:()=>i(!0),"data-sentry-element":"Container","data-sentry-source-file":"QuickStart.tsx",children:[(0,a.jsxs)(L.A,{className:"align-items-center","data-sentry-element":"Row","data-sentry-source-file":"QuickStart.tsx",children:[(0,a.jsx)(k.A,{className:sU.icon,"data-sentry-element":"Col","data-sentry-source-file":"QuickStart.tsx",children:(0,a.jsx)(eO,{completedCount:e,"data-sentry-element":"Progress","data-sentry-source-file":"QuickStart.tsx"})}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuickStart.tsx",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:sU.description,children:l.description}),(0,a.jsx)("div",{className:sU.status,children:l.statusFormat.replace("{count}","".concat(e)).replace("{total}","".concat(t.length))})]})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"QuickStart.tsx",children:(0,a.jsx)(G.A,{className:sU.openButton,"data-sentry-element":"Button","data-sentry-source-file":"QuickStart.tsx",children:l.open})})]}),s&&(0,a.jsx)(sp,{isOpen:s,onClosed:()=>i(!1),toggle:()=>i(!s)})]})})}let sU={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({position:"relative",cursor:"pointer",border:"1px solid ".concat(u.StandardColors.ColorLightGray40),borderRadius:u.Spacing.Small,boxShadow:u.BoxShadowStyles.Medium,backgroundColor:u.StandardColors.ColorWhite,padding:"".concat(u.Spacing.Medium,"px !important"),width:260,zIndex:1002,$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray20},"&:active":{backgroundColor:u.StandardColors.ColorLightGray30}}})),description:"".concat(d.FontStyles.Medium),icon:"col-auto ".concat((0,o.style)({color:d.Colors.Primary,marginRight:u.Spacing.Small})),openButton:"".concat(d.ButtonStyles.PrimarySmall," ").concat((0,o.style)({backgroundColor:u.StandardColors.ColorTransparent,color:d.Colors.Primary})),status:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued)};function s_(e){let{title:t,description:n,buttonText:o,onClose:r,...s}=e;
1return(0,a.jsx)(_.A,{centered:!0,scrollable:!1,className:"".concat(sq.container),isOpen:!0,modalTransition:{timeout:100},...s,"data-sentry-element":"Modal","data-sentry-component":"GenericFailureMessageModal","data-sentry-source-file":"GenericFailureMessageModal.tsx",children:(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"GenericFailureMessageModal.tsx",children:[(0,a.jsxs)("div",{className:sq.title,children:[(0,a.jsx)("div",{className:sq.icon,children:(0,a.jsx)(e4.F,{"data-sentry-element":"Alert","data-sentry-source-file":"GenericFailureMessageModal.tsx"})}),(0,a.jsx)("div",{children:t})]}),(0,a.jsx)("div",{className:sq.description,children:n}),(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.Primary," ").concat(sq.button),onClick:r,"data-sentry-element":"Button","data-sentry-source-file":"GenericFailureMessageModal.tsx",children:o})]})})}let sq={container:(0,o.style)({display:"flex",overflow:"hidden",maxWidth:440,boxSizing:"content-box",$nest:{".modal-content":{borderRadius:d.Spacing.Small,borderWidth:0,border:0,outline:"none",boxShadow:d.BoxShadowStyles.xLarge,padding:d.Spacing.xLarge,paddingBottom:d.Spacing.Large+d.Spacing.Micro},".modal-body":{overflow:"hidden",textAlign:"center",padding:0,display:"flex",flexDirection:"column",justifyContent:"flex-start"},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),title:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({fontSize:18,lineHeight:"24px",display:"flex",flexDirection:"row",columnGap:d.Spacing.Small,textAlign:"left",justifyContent:"flex-start",alignItems:"center",overflow:"hidden",boxSizing:"content-box",height:d.Spacing.xxLarge,marginBottom:d.Spacing.Small,color:d.StandardColors.ColorDarkGray90})),icon:(0,o.style)({display:"flex",color:d.StandardColors.ColorDarkGray05,alignItems:"center"}),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",flexDirection:"column",lineHeight:"".concat(d.Spacing.Large+d.Spacing.Micro,"px"),textAlign:"left",overflow:"hidden",boxSizing:"content-box",whiteSpace:"pre-line",color:d.StandardColors.ColorDarkGray50,marginBottom:d.Spacing.Large})),button:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({padding:d.Spacing.Small,paddingLeft:d.Spacing.Large,paddingRight:d.Spacing.Large,alignSelf:"flex-start"}))};function sQ(e){let t=c.D.views.designer.components.invalidWebsiteIdModal;return(0,a.jsx)(s_,{title:t.header,description:t.description,buttonText:t.button,...e,"data-sentry-element":"GenericFailureMessageModal","data-sentry-component":"InvalidWebsiteIdModal","data-sentry-source-file":"InvalidWebsiteIdModal.tsx"})}function sK(e){return(0,a.jsx)(nT.V,{...e,itemTemplate:e=>(0,a.jsx)("div",{className:d.ContainerStyles.VerticallyCenter,children:e}),"data-sentry-element":"DropdownSelector","data-sentry-component":"FillDropdown","data-sentry-source-file":"FillDropdown.tsx"})}function sY(e){let{backgroundColor:t,textColor:n,buttonColor:o,className:r=""}=e;return(0,a.jsx)("div",{style:{backgroundColor:t},className:"".concat(sX.colorItem," ").concat(r),"data-sentry-component":"SectionColorChip","data-sentry-source-file":"SectionColorChip.tsx",children:(0,a.jsxs)("div",{className:"content",children:[(0,a.jsx)("div",{className:"type",style:{color:n},children:"Aa"}),(0,a.jsx)("div",{className:"button-color",style:{backgroundColor:o}})]})})}let sX={colorItem:(0,o.style)({display:"flex",flex:1,minHeight:2*d.Spacing.xLarge,justifyContent:"center",paddingTop:d.Spacing.Small,paddingBottom:d.Spacing.Medium,paddingInline:d.Spacing.Small,$nest:{"&:first-child":{borderTopLeftRadius:d.Spacing.Micro,borderBottomLeftRadius:d.Spacing.Micro},"&:last-child":{borderTopRightRadius:d.Spacing.Micro,borderBottomRightRadius:d.Spacing.Micro},".content":{display:"flex",flexDirection:"column",justifyContent:"flex-end",$nest:{".type":{fontWeight:500,marginBottom:d.Spacing.Micro/4,width:"100%"},".button-color":{width:d.Spacing.Large,height:d.Spacing.xSmall-1,borderRadius:1.5}}}}})};function sJ(e){var t;let{resolvedTheme:n,themeColor:o,label:r,onValueChanged:s}=e,i=null!=(t=e.selectedValue)?t:n.legacyThemeId?(0,u.resolveLegacySectionMode)(n.legacyThemeId,o):E.THEME_MODES[0],{analytics:l}=(0,eL.S)();return(0,a.jsxs)("div",{"data-sentry-component":"SectionThemeModeSwatchSelector","data-sentry-source-file":"SectionThemeModeSwatchSelector.tsx",children:[r&&(0,a.jsx)("div",{className:s1.label,children:r}),(0,a.jsx)("div",{className:s1.grid,children:E.THEME_MODES.map(t=>{let o=n.modes[t],r=t===i;return(0,a.jsx)("button",{type:"button","aria-label":t,"aria-pressed":r,className:r?s1.swatchSelected:s1.swatch,onClick:()=>{(0,ed.$s)(l,e.eventName),s(t)},children:(0,a.jsx)(sY,{backgroundColor:o["section.surface"],textColor:o["section.heading"],buttonColor:o["section.primary-fill"],className:s1.chip})},t)})})]})}let s1={label:(0,o.style)({fontSize:13,lineHeight:"18px",color:d.StandardColors.ColorDarkGray90,marginBottom:
1d.Spacing.Small}),grid:(0,o.style)({display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:d.Spacing.Small}),swatch:(0,o.style)({display:"flex",border:"none",borderRadius:4,padding:0,cursor:"pointer",background:"none",$nest:{"&:hover":{boxShadow:"0 0 0 1px #FFF, 0 0 0 2px ".concat(d.StandardColors.ColorDarkGray05)}}}),swatchSelected:(0,o.style)({display:"flex",border:"none",borderRadius:4,padding:0,cursor:"pointer",background:"none",boxShadow:d.BoxShadowStyles.SecondarySelect,$nest:{"&:hover":{boxShadow:d.BoxShadowStyles.SecondarySelect}}}),chip:(0,o.style)({borderRadius:4,boxShadow:d.BoxShadowStyles.innerXSmall})};function s0(e){let t=c.D.views.designer.components.properties.backgroundTypeDropdown;return(0,a.jsx)(nT.V,{...e,itemTemplate:e=>(0,a.jsx)("div",{className:"".concat(d.ContainerStyles.VerticallyCenter," ").concat(s3.itemTemplate),children:e&&t.labels[e]}),"data-sentry-element":"DropdownSelector","data-sentry-component":"BackgroundTypeDropdown","data-sentry-source-file":"BackgroundTypeDropdown.tsx"})}let s3={itemTemplate:(0,o.style)({paddingInline:d.Spacing.Micro})};function s2(e){let t=c.D.views.designer.components.properties.shadowDropdown;return(0,a.jsx)(nT.V,{...e,itemTemplate:e=>(0,a.jsx)("div",{className:d.ContainerStyles.VerticallyCenter,children:e&&t.labels[e]||t.labels[N.Shadow.None]}),"data-sentry-element":"DropdownSelector","data-sentry-component":"ShadowDropdown","data-sentry-source-file":"ShadowDropdown.tsx"})}var s6=function(e){return e.Fill="fill",e.Color="color",e.Shadow="shadow",e.Type="type",e.Enabled="enabled",e}({});function s5(e){let{properties:t,sectionThemeModeProps:n,fillProps:o,shadowProps:r,typeProps:s,hideLabel:i=!1}=e,l=c.D.views.designer.components.properties.backgroundPropertySection,p=t.map((e,t)=>{let c={key:t,rowIndex:t,hideLabel:i};switch(e){case"fill":return ai.ok(o,"No fill props provided."),(0,a.jsx)(s4,{...c,label:l.fill,eventName:o.eventName,children:(0,a.jsx)(sK,{...o})});case"color":var p;return ai.ok(n,"No section theme mode props provided."),(0,a.jsx)(sJ,{eventName:n.eventName,resolvedTheme:n.resolvedTheme,themeColor:n.themeColor,selectedValue:n.selectedValue,onValueChanged:n.onValueChanged,label:null!=(p=n.label)?p:(0,a.jsx)("span",{className:d.FontStyles.SemiBold,children:l.color})},t);case"shadow":return ai.ok(r,"No shadow props provided."),(0,a.jsx)(s4,{...c,label:l.shadow,eventName:r.eventName,children:(0,a.jsx)(s2,{...r})});case"type":return ai.ok(s,"No type props provided."),(0,a.jsx)(s4,{...c,label:l.type,eventName:s.eventName,children:(0,a.jsx)(s0,{...s})});default:return null}});return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"BackgroundPropertySection","data-sentry-source-file":"BackgroundPropertySection.tsx",children:(0,a.jsx)(w.A,{className:"".concat(s7.container),"data-sentry-element":"Container","data-sentry-source-file":"BackgroundPropertySection.tsx",children:p})})}function s4(e){let{label:t,children:n,hideLabel:o,rowIndex:r,eventName:s}=e,i=c.D.views.designer.components.properties.backgroundPropertySection;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"BackgroundPropertyRow","data-sentry-source-file":"BackgroundPropertySection.tsx",children:[0===r?(0,a.jsx)(k.A,{className:d.FontStyles.SemiBold,children:!o&&i.title}):(0,a.jsx)(k.A,{children:t}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"BackgroundPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:s,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"BackgroundPropertySection.tsx",children:n})})]})}let s7={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row:not(:first-child)":{marginTop:"".concat(d.Spacing.Small,"px !important")}}}))};function s9(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskAngledLandscape","data-sentry-source-file":"MaskAngledLandscape.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 3.7937L20.8 19.7937H1L3.2 3.7937H23Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskAngledLandscape.tsx"})})}function s8(){return(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskNone","data-sentry-source-file":"MaskNone.tsx",children:[(0,a.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M2 3C2 2.44772 2.44772 2 3 2H21C21.5523 2 22 2.44772 22 3V21C22 21.5523 21.5523 22 21 22H3C2.44772 22 2 21.5523 2 21V3ZM4 4V20H20V4H4Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskNone.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.7071 2.29289C22.0976 2.68342 22.0976 3.31658 21.7071 3.70711L3.70711 21.7071C3.31658 22.0976 2.68342 22.0976 2.29289 21.7071C1.90237 21.3166 1.90237 20.6834 2.29289 20.2929L20.2929 2.29289C20.6834 1.90237 21.3166 1.90237 21.7071 2.29289Z",fill:"#E22850","data-sentry-element":"path","data-sentry-source-file":"MaskNone.tsx"})]})}function ie(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskPillLandscape","data-sentry-source-file":"MaskPillLandscape.tsx",children:(0,a.jsx)("path",{d:"M15 4C19.4183 4 23 7.58172 23 12C23 16.4183 19.4183 20 15 20L9 20C4.58172 20 0.999999 16.4183 1 12C1 7.58172 4.58172 4 9 4L15 4Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskPillLandscape.tsx"})})}let it={[N.DecorFrame.None]:{frame:N.DecorFrame.None,availableBaseframes:{[N.ImageFrame.Portrait]:{designerIcon:(0,a.jsx)(s8,{})},[N.ImageFrame.Landscape]:{designerIcon:(0,a.jsx)(s8,{})},[N.ImageFrame.Square]:{designerIcon:(0,a.jsx)(s8,{})},[N.ImageFrame.Wide]:{designerIcon:(0,a.jsx)(s8,{})}}},[N.DecorFrame.Angled]:{frame:N.DecorFrame.Angled,availableBaseframes:{[N.ImageFrame.Landscape]:{designerIcon:(0,a.jsx)(s9,{})},[N.ImageFrame.Portrait]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskAngledPortrait","data-sentry-source-file":"MaskAngledPortrait.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 1L18 23H4L6 1H20Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskAngledPortrait.tsx"})})},{})},[N.ImageFrame.Square]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskAngledSquare","data-sentry-source-file":"MaskAngledSquare.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 2L20 22H2L4 2H22Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskAngledSquare.tsx"})})},{})},[N.ImageFrame.Wide]:{designerIcon:(0,a.jsx)(s9,{})}}},[N.DecorFrame.Arch]:{frame:N.DecorFrame.Arch,availableBaseframes:{[N.ImageFrame.Portrait]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskArchPortrait","data-sentry-source-file":"MaskArchPortrait.tsx",children:(0,a.jsx)("path",{d:"M4 9C4 4.58172 7.58172 1 12 1C16.4183 1 20 4.58172 20 9V23H4V9Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskArchPortrait.tsx"})})},{})}}},[N.DecorFrame.Bumpy]:{frame:N.DecorFrame.Bumpy,availableBaseframes:{[N.ImageFrame.Square]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskBumpySquare","data-sentry-source-file":"MaskBumpySquare.tsx",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_10461_27278)","data-sentry-element":"g","data-sentry-source-file":"MaskBumpySquare.tsx",children:(0,a.jsx)("path",{d:"M10.2295 1.26429C11.2887 0.507954 12.7113 0.507954 13.7705 1.26429C14.3692 1.69182 15.1023 1.88827 15.8346 1.81737C17.13 1.69194 18.362 2.40326 18.9011 3.58785C19.2059 4.25744 19.7426 4.79415 20.4122 5.09887C21.5967 5.63795 22.3081 6.87 22.1826 8.16543C22.1117 8.89767 22.3082 9.63083 22.7357 10.2295C23.492 11.2887 23.492 12.7113 22.7357 13.7705C22.3082 14.3692 22.1117 15.1023 22.1826 15.8346C22.3081 17.13 21.5967 18.362 20.4122 18.9011C19.7426 19.2059 19.2059 19.7426 18.9011 20.4122C18.362 21.5967 17.13 22.3081 15.8346 22.1826C15.1023 22.1117 14.3692 22.3082 13.7705 22.7357C12.7113 23.492 11.2887 23.492 10.2295 22.7357C9.63083 22.3082 8.89767 22.1117 8.16543 22.1826C6.87 22.3
1081 5.63795 21.5967 5.09887 20.4122C4.79415 19.7426 4.25744 19.2059 3.58785 18.9011C2.40326 18.362 1.69194 17.13 1.81737 15.8346C1.88827 15.1023 1.69182 14.3692 1.26429 13.7705C0.507954 12.7113 0.507954 11.2887 1.26429 10.2295C1.69182 9.63083 1.88827 8.89767 1.81737 8.16543C1.69194 6.87 2.40326 5.63795 3.58785 5.09887C4.25744 4.79415 4.79415 4.25744 5.09887 3.58785C5.63795 2.40326 6.87 1.69194 8.16543 1.81737C8.89767 1.88827 9.63083 1.69182 10.2295 1.26429Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskBumpySquare.tsx"})}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"MaskBumpySquare.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_10461_27278","data-sentry-element":"clipPath","data-sentry-source-file":"MaskBumpySquare.tsx",children:(0,a.jsx)("rect",{width:"24",height:"24",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"MaskBumpySquare.tsx"})})})]})},{})}}},[N.DecorFrame.Flared]:{frame:N.DecorFrame.Flared,availableBaseframes:{[N.ImageFrame.Square]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskFlaredSquare","data-sentry-source-file":"MaskFlaredSquare.tsx",children:(0,a.jsx)("path",{d:"M2 2L4 12L2 22H22L20 12L22 2H2Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskFlaredSquare.tsx"})})},{})}}},[N.DecorFrame.Flower]:{frame:N.DecorFrame.Flower,availableBaseframes:{[N.ImageFrame.Square]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskFlowerSquare","data-sentry-source-file":"MaskFlowerSquare.tsx",children:(0,a.jsx)("path",{d:"M12 3.52228C10.9386 2.57544 9.53873 2 8.00446 2C4.68829 2 2 4.68829 2 8.00446C2 9.53873 2.57544 10.9386 3.52228 12C2.57544 13.0614 2 14.4613 2 15.9955C2 19.3117 4.68829 22 8.00446 22C9.53873 22 10.9386 21.4246 12 20.4777C13.0614 21.4246 14.4613 22 15.9955 22C19.3117 22 22 19.3117 22 15.9955C22 14.4613 21.4246 13.0614 20.4777 12C21.4246 10.9386 22 9.53873 22 8.00446C22 4.68829 19.3117 2 15.9955 2C14.4613 2 13.0614 2.57544 12 3.52228Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskFlowerSquare.tsx"})})},{})}}},[N.DecorFrame.Notched]:{frame:N.DecorFrame.Notched,availableBaseframes:{[N.ImageFrame.Landscape]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskNotchedLandscape","data-sentry-source-file":"MaskNotchedLandscape.tsx",children:(0,a.jsx)("path",{d:"M19 4H1V17L5 20H23V7L19 4Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskNotchedLandscape.tsx"})})},{})}}},[N.DecorFrame.Pill]:{frame:N.DecorFrame.Pill,availableBaseframes:{[N.ImageFrame.Landscape]:{designerIcon:(0,a.jsx)(ie,{})},[N.ImageFrame.Portrait]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskPillPortrait","data-sentry-source-file":"MaskPillPortrait.tsx",children:(0,a.jsx)("path",{d:"M4 9C4 4.58172 7.58172 1 12 1C16.4183 1 20 4.58172 20 9V15C20 19.4183 16.4183 23 12 23C7.58172 23 4 19.4183 4 15V9Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskPillPortrait.tsx"})})},{})},[N.ImageFrame.Wide]:{designerIcon:(0,a.jsx)(ie,{})}}},[N.DecorFrame.Screen]:{frame:N.DecorFrame.Screen,availableBaseframes:{[N.ImageFrame.Square]:{designerIcon:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"MaskScreenSquare","data-sentry-source-file":"MaskScreenSquare.tsx",children:(0,a.jsx)("path",{d:"M12 2C20.7054 2 22 3.25 22 12C22 20.75 20.7054 22 12 22C3.29464 22 2 20.75 2 12C2 3.25 3.29464 2 12 2Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"MaskScreenSquare.tsx"})})},{})}}}},ia={[N.ImageFrame.Landscape]:io(N.ImageFrame.Landscape),[N.ImageFrame.Portrait]:io(N.ImageFrame.Portrait),[N.ImageFrame.Square]:io(N.ImageFrame.Square),[N.ImageFrame.Wide]:io(N.ImageFrame.Wide)};function io(e){let t=[];return Object.values(it).map(n=>{Object.keys(n.availableBaseframes).includes(e)&&t.push(n)}),t}function ir(e){let{editEventName:t,currentBaseFrame:n,currentValue:o,onValueChanged:r}=e,s=c.D.views.designer.components.properties.imageDecorFrameSelector;if(n!==N.ImageFrame.Circle){let e=ia[n].map(e=>e.frame);return(0,a.jsx)(sP,{children:(0,a.jsx)(w.A,{className:is.container,children:(0,a.jsxs)(L.A,{className:"align-items-center",children:[(0,a.jsx)(k.A,{className:d.FontStyles.Regular,children:s.title}),(0,a.jsx)(k.A,{children:(0,a.jsx)(nT.V,{eventName:t,selectedValue:o,values:e,headerElement:(0,a.jsx)(oM.A,{header:!0,className:is.dropdownHeader,children:s.shapePresets[n].toUpperCase()}),itemTemplate:e=>{var t;return(0,a.jsxs)("div",{className:"".concat(u.ContainerStyles.VerticallyCenter," d-flex flex-row"),children:[(0,a.jsx)("div",{className:"icon",children:e?null==(t=it[e].availableBaseframes[n])?void 0:t.designerIcon:""}),(0,a.jsx)("div",{children:e})]},e)},onValueChanged:r})})]})})})}return null}let is={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".icon > svg":{width:u.Spacing.Medium+u.Spacing.Small,height:u.Spacing.Medium+u.Spacing.Small,marginRight:u.Spacing.Small,color:u.StandardColors.ColorDarkGray05}}})),dropdownHeader:"".concat(d.FontStyles.Overline," ").concat((0,o.style)({padding:u.Spacing.xSmall,color:u.StandardColors.ColorDarkGray05}))};function ii(e){let{fitStyle:t,onFitStyleSelected:n}=e,o=c.D.views.designer.components.properties.imageFitStyleSelector;return(0,a.jsxs)("div",{className:il.buttonsContainer,"data-sentry-component":"ImageFitStyleSelector","data-sentry-source-file":"ImageFitStyleSelector.tsx",children:[(0,a.jsx)(G.A,{active:t===N.ImageFitStyle.Cover,"aria-pressed":t===N.ImageFitStyle.Cover,onClick:()=>n(N.ImageFitStyle.Cover),className:il.iconButton,"data-testid":"fill-option","data-sentry-element":"Button","data-sentry-source-file":"ImageFitStyleSelector.tsx",children:o.fill}),(0,a.jsx)(G.A,{active:t===N.ImageFitStyle.Contain,"aria-pressed":t===N.ImageFitStyle.Contain,onClick:()=>n(N.ImageFitStyle.Contain),className:il.iconButton,"data-testid":"fit-option","data-sentry-element":"Button","data-sentry-source-file":"ImageFitStyleSelector.tsx",children:o.fit})]})}let il={buttonsContainer:(0,o.style)({display:"flex",columnGap:d.Spacing.Micro}),iconButton:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",paddingInline:d.Spacing.Medium,paddingBlock:d.Spacing.Small-1,$nest:{"&.active":{backgroundColor:d.StandardColors.ColorLightGray30,color:d.StandardColors.ColorDarkGray50},"&.disabled":{backgroundColor:"transparent"}}}))},ic={[N.ImageFrame.Landscape]:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImageLandscape","data-sentry-source-file":"ImageLandscape.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.833008 5.83334C0.833008 4.45263 1.9523 3.33334 3.33301 3.33334H16.6663C18.0471 3.33334 19.1663 4.45263 19.1663 5.83334V14.1667C19.1663 15.5474 18.0471 16.6667 16.6663 16.6667H3.33301C1.9523 16.6667 0.833008 15.5474 0.833008 14.1667V5.83334ZM3.33301 5.00001C2.87277 5.00001 2.49967 5.37311 2.49967 5.83334V14.1667C2.49967 14.6269 2.87277 15 3.33301 15H16.6663C17.1266 15 17.4997 14.6269 17.4997 14.1667V5.83334C17.4997 5.37311 17.1266 5.00001 16.6663 5.00001H3.33301Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"ImageLandscape.tsx"})})},{},N.ImageFrame.Landscape),[N.ImageFrame.Portrait]:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImagePortrait","data-sentry-source-file":"ImagePortrait.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.167 0.833343C15.5477 0.833343 16.667 1.95263 16.667 3.33334L16.667 16.6667C16.667 18.0474 15.5477 19.1667 14.167 19.1667L5.83366 19.1667C4.45295 19.1667 3.33366 18.0474 3.33366 16.6667L3.33366 3.33334C3.33366 1.95263 4.45295 0.833343 5.83366 0.833343L14.167 0.833343ZM15.0003 3.33334C15.0003 2.87311 14.6272 2.50001 14.167 2.50001L5.83366 2.50001C5.37342 2.50001 5.00033 2.87311 5.00033 3.33334L5.00033 16.6667C5.00033 17.1269 5.37342 17.5 5.83366 17.5L14.167 17.5C14.6272 17.5 15.0003 17.1269 15.0003 16.6667L15.0003 3.33334Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"ImagePortrait.tsx"})})},{},N.ImageFrame.Portrait),[N.ImageFrame.Square]:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImageSquare","data-sentry-source-file":"ImageSquare.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 4.16666C1.66699 2.78594 2.78628 1.66666 4.16699 1.66666H15.8337C17.2144 1.66666 18.3337 2.78594 18.3337 4.16666V15.8333C18.3337 17.214 17.2144 18.3333 15.8337 18.3333H4.16699C2.78628 18.3333 1.66699 17.214 1.66699 15.8333V4.16666ZM4.16699 3.33332C3.70675 3.33332 3.33366 3.70642 3.33366 4.16666V15.8333C3.33366 16.2936 3.70676 16.6667 4.16699 16.6667H15.8337C16.2939 16.6667 16.66
17 16.2936 16.667 15.8333V4.16666C16.667 3.70642 16.2939 3.33332 15.8337 3.33332H4.16699Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"ImageSquare.tsx"})})},{},N.ImageFrame.Square),[N.ImageFrame.Circle]:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImageCircle","data-sentry-source-file":"ImageCircle.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99967 17.5C14.1418 17.5 17.4997 14.1421 17.4997 10C17.4997 5.85787 14.1418 2.50001 9.99967 2.50001C5.85754 2.50001 2.49967 5.85787 2.49967 10C2.49967 14.1421 5.85754 17.5 9.99967 17.5ZM9.99967 19.1667C15.0623 19.1667 19.1663 15.0626 19.1663 10C19.1663 4.9374 15.0623 0.833344 9.99967 0.833344C4.93706 0.833344 0.833008 4.9374 0.833008 10C0.833008 15.0626 4.93706 19.1667 9.99967 19.1667Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"ImageCircle.tsx"})})},{},N.ImageFrame.Circle),[N.ImageFrame.Wide]:(0,a.jsx)(function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ImageWideLandscape","data-sentry-source-file":"ImageWideLandscape.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.835938 7.5C0.835938 6.11929 1.95523 5 3.33594 5H16.6693C18.05 5 19.1693 6.11929 19.1693 7.5V12.5C19.1693 13.8807 18.05 15 16.6693 15H3.33594C1.95523 15 0.835938 13.8807 0.835938 12.5V7.5ZM3.33594 6.66667C2.8757 6.66667 2.5026 7.03976 2.5026 7.5V12.5C2.5026 12.9602 2.8757 13.3333 3.33594 13.3333H16.6693C17.1295 13.3333 17.5026 12.9602 17.5026 12.5V7.5C17.5026 7.03976 17.1295 6.66667 16.6693 6.66667H3.33594Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"ImageWideLandscape.tsx"})})},{},N.ImageFrame.Wide)};function id(e){let{frame:t,onFrameSelected:n,frameOptions:o=[{frame:N.ImageFrame.Wide},{frame:N.ImageFrame.Landscape},{frame:N.ImageFrame.Portrait},{frame:N.ImageFrame.Square},{frame:N.ImageFrame.Circle}]}=e,r=o.map(e=>{let{frame:a,...o}=e;return{icon:ic[a],tooltip:c.D.components.tooltips.frames[a],onClick:()=>n(a),active:a===t,...o}});return(0,a.jsx)(nD,{buttons:r,"data-sentry-element":"IconButtonGroup","data-sentry-component":"ImageFrameSelector","data-sentry-source-file":"ImageFrameSelector.tsx"})}function ip(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlignCenter","data-sentry-source-file":"AlignCenter.tsx",children:[(0,a.jsx)("path",{d:"M9.9987 18.3333C9.53846 18.3333 9.16536 17.9602 9.16536 17.4999L9.16537 2.49992C9.16537 2.03968 9.53846 1.66659 9.9987 1.66659C10.4589 1.66659 10.832 2.03968 10.832 2.49992L10.832 17.4999C10.832 17.9602 10.4589 18.3333 9.9987 18.3333Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignCenter.tsx"}),(0,a.jsx)("path",{d:"M7.34141 9.6641C7.55113 9.83887 7.55113 10.161 7.34141 10.3357L3.21569 13.7738C2.93097 14.0111 2.4987 13.8086 2.4987 13.438C2.4987 7.36081 2.4987 13.5334 2.4987 6.56182C2.4987 6.1912 2.93097 5.98873 3.21569 6.226L7.34141 9.6641Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignCenter.tsx"}),(0,a.jsx)("path",{d:"M12.6573 9.66408C12.4476 9.83885 12.4476 10.161 12.6573 10.3357L16.783 13.7738C17.0677 14.0111 17.5 13.8086 17.5 13.438C17.5 7.36079 17.5 13.5334 17.5 6.5618C17.5 6.19118 17.0677 5.98871 16.783 6.22598L12.6573 9.66408Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignCenter.tsx"})]})}function im(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlignFill","data-sentry-source-file":"AlignFill.tsx",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_7856_36250)","data-sentry-element":"g","data-sentry-source-file":"AlignFill.tsx",children:[(0,a.jsx)("path",{d:"M1.66797 9.99992C1.66
1797 9.53968 2.04106 9.16659 2.5013 9.16659L8.33464 9.16658C8.79487 9.16658 9.16797 9.53968 9.16797 9.99992C9.16797 10.4602 8.79487 10.8333 8.33464 10.8333L2.5013 10.8333C2.04106 10.8333 1.66797 10.4602 1.66797 9.99992Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignFill.tsx"}),(0,a.jsx)("path",{d:"M7.5 9.99992C7.5 9.53968 7.8731 9.16659 8.33333 9.16659L14.1667 9.16658C14.6269 9.16658 15 9.53968 15 9.99992C15 10.4602 14.6269 10.8333 14.1667 10.8333L8.33333 10.8333C7.8731 10.8333 7.5 10.4602 7.5 9.99992Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignFill.tsx"}),(0,a.jsx)("path",{d:"M0.989321 9.66408C0.779601 9.83885 0.779601 10.161 0.989321 10.3357L5.11504 13.7738C5.39976 14.0111 5.83203 13.8086 5.83203 13.438C5.83203 7.36079 5.83203 13.5334 5.83203 6.5618C5.83203 6.19118 5.39976 5.98871 5.11504 6.22598L0.989321 9.66408Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignFill.tsx"}),(0,a.jsx)("path",{d:"M19.0107 10.3359C19.2204 10.1612 19.2204 9.83904 19.0107 9.66428L14.885 6.22618C14.6002 5.98891 14.168 6.19138 14.168 6.562C14.168 12.6392 14.168 6.46663 14.168 13.4382C14.168 13.8088 14.6002 14.0113 14.885 13.774L19.0107 10.3359Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignFill.tsx"})]}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"AlignFill.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_7856_36250","data-sentry-element":"clipPath","data-sentry-source-file":"AlignFill.tsx",children:(0,a.jsx)("rect",{width:"20",height:"20",fill:"white",transform:"translate(20 20) rotate(-180)","data-sentry-element":"rect","data-sentry-source-file":"AlignFill.tsx"})})})]})}function iu(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlignItemBottom","data-sentry-source-file":"AlignItemBottom.tsx",children:[(0,a.jsx)("path",{d:"M1.66797 17.5C1.66797 17.0398 2.04106 16.6667 2.5013 16.6667L17.5013 16.6667C17.9615 16.6667 18.3346 17.0398 18.3346 17.5C18.3346 17.9603 17.9615 18.3334 17.5013 18.3334L2.5013 18.3334C2.04106 18.3334 1.66797 17.9603 1.66797 17.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignItemBottom.tsx"}),(0,a.jsx)("path",{d:"M10.3371 14.8428C10.1624 15.0525 9.84025 15.0525 9.66548 14.8428L6.22738 10.717C5.99011 10.4323 6.19258 10 6.5632 10L9.16797 10L9.16797 2.50004C9.16797 2.0398 9.54107 1.66671 10.0013 1.66671C10.4615 1.66671 10.8346 2.03981 10.8346 2.50004L10.8346 10L13.4394 10C13.81 10 14.0125 10.4323 13.7752 10.717L10.3371 14.8428Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignItemBottom.tsx"})]})}function ig(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlignItemLeft","data-sentry-source-file":"AlignItemLeft.tsx",children:[(0,a.jsx)("path",{d:"M2.50033 1.66666C2.96056 1.66666 3.33366 2.03975 3.33366 2.49999V17.5C3.33366 17.9602 2.96056 18.3333 2.50033 18.3333C2.04009 18.3333 1.66699 17.9602 1.66699 17.5V2.49999C1.66699 2.03975 2.04009 1.66666 2.50033 1.66666Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"AlignItemLeft.tsx"}),(0,a.jsx)("path",{d:"M5.15762 10.3358C4.9479 10.161 4.9479 9.83894 5.15762 9.66417L9.28333 6.22607C9.56806 5.9888 10.0003 6.19127 10.0003 6.56189V9.16666H17.5003C17.9606 9.16666 18.3337 9.53975 18.3337 9.99999C18.3337 10.4602 17.9606 10.8333 17.5003 10.8333H10.0003V13.4381C10.0003 13.8087 9.56806 14.0112 9.28333 13.7739L5.15762 10.3358Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"AlignItemLeft.tsx"})]})}function iy(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlignItemRight","data-sentry-source-file":"AlignItemRight.tsx",children:[(0,a.jsx)("path",{d:"M17.4997 18.3333C17.0394 18.3333 16.6663 17.9602 16.6663 17.5L16.6663 2.50001C16.6663 2.03977 17.0394 1.66668 17.4997 1.66668C17.9599 1.66668 18.333 2.0397
17 18.333 2.50001L18.333 17.5C18.333 17.9602 17.9599 18.3333 17.4997 18.3333Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"AlignItemRight.tsx"}),(0,a.jsx)("path",{d:"M14.8424 9.66419C15.0521 9.83896 15.0521 10.1611 14.8424 10.3358L10.7167 13.7739C10.4319 14.0112 9.99968 13.8087 9.99968 13.4381L9.99968 10.8333L2.49968 10.8333C2.03944 10.8333 1.66634 10.4602 1.66634 10C1.66634 9.53977 2.03944 9.16668 2.49968 9.16668L9.99968 9.16668L9.99968 6.56191C9.99968 6.19129 10.4319 5.98882 10.7167 6.22609L14.8424 9.66419Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"AlignItemRight.tsx"})]})}function ix(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlignItemTop","data-sentry-source-file":"AlignItemTop.tsx",children:[(0,a.jsx)("path",{d:"M18.332 2.49996C18.332 2.9602 17.9589 3.33329 17.4987 3.33329L2.4987 3.33329C2.03846 3.33329 1.66536 2.9602 1.66536 2.49996C1.66536 2.03972 2.03846 1.66662 2.4987 1.66662L17.4987 1.66663C17.9589 1.66663 18.332 2.03972 18.332 2.49996Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignItemTop.tsx"}),(0,a.jsx)("path",{d:"M9.66288 5.15725C9.83764 4.94753 10.1598 4.94753 10.3345 5.15725L13.7726 9.28297C14.0099 9.56769 13.8074 9.99996 13.4368 9.99996L10.832 9.99996L10.832 17.5C10.832 17.9602 10.4589 18.3333 9.9987 18.3333C9.53846 18.3333 9.16536 17.9602 9.16536 17.5L9.16536 9.99996L6.5606 9.99996C6.18998 9.99996 5.98751 9.56769 6.22478 9.28297L9.66288 5.15725Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlignItemTop.tsx"})]})}function ih(e){let{alignment:t,onAlignmentSelected:n,availableAlignments:o}=e,r={[N.Alignment.Left]:{icon:(0,a.jsx)(ig,{}),onClick:()=>n(N.Alignment.Left),active:t===N.Alignment.Left,tooltip:c.D.components.tooltips.alignment[N.Alignment.Left]},[N.Alignment.Right]:{icon:(0,a.jsx)(iy,{}),onClick:()=>n(N.Alignment.Right),active:t===N.Alignment.Right,tooltip:c.D.components.tooltips.alignment[N.Alignment.Right]},[N.Alignment.Top]:{icon:(0,a.jsx)(ix,{}),onClick:()=>n(N.Alignment.Top),active:t===N.Alignment.Top,tooltip:c.D.components.tooltips.alignment[N.Alignment.Top]},[N.Alignment.Bottom]:{icon:(0,a.jsx)(iu,{}),onClick:()=>n(N.Alignment.Bottom),active:t===N.Alignment.Bottom,tooltip:c.D.components.tooltips.alignment[N.Alignment.Bottom]},[N.Alignment.Center]:{icon:(0,a.jsx)(ip,{}),onClick:()=>n(N.Alignment.Center),active:t===N.Alignment.Center,tooltip:c.D.components.tooltips.alignment[N.Alignment.Center]},[N.Alignment.Fill]:{icon:(0,a.jsx)(im,{}),onClick:()=>n(N.Alignment.Fill),active:t===N.Alignment.Fill,tooltip:c.D.components.tooltips.alignment[N.Alignment.Fill]}},s=o.map(e=>r[e]);return(0,a.jsx)(nD,{buttons:s,"data-sentry-element":"IconButtonGroup","data-sentry-component":"PositionAlignmentSelector","data-sentry-source-file":"PositionAlignmentSelector.tsx"})}function iC(e){let{availableAlignments:t,eventNames:n}=e,o=c.D.views.designer.components.properties.imagePropertySection,{designerSettings:r,updateWebsiteSection:s}=(0,j.Hb)(),i=r.selectedSection,l=i.props.imageProperties.alignment,d=i.props.imageProperties.frame,p=i.props.image.fitStyle||N.ImageFitStyle.Cover;return(0,a.jsxs)(w.A,{className:iS.container,"data-sentry-element":"Container","data-sentry-component":"ImagePropertySection","data-sentry-source-file":"ImagePropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImagePropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImagePropertySection.tsx",children:o.style}),(0,a.jsx)(k.A,{className:"selector","data-sentry-element":"Col","data-sentry-source-file":"ImagePropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:n.fitStyle,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ImagePropertySection.tsx",children:(0,a.jsx)(ii,{fitStyle:p,onFitStyleSelected:function(e){var t;e!==p&&s({...i,props:{...i.props,image:{...i.props.image,fitStyle:e},imageProperties:{...i.props.imageProperties,...e===N.ImageFitStyle.Contain?{...i.props.imageProperties.frame===N.ImageFrame.Circle?{frame:N.ImageFrame.Square}:{},...(null==(t=i.props.imageProperties)?void 0:t.decorFrameProperties)!==void 0?{decorFrameProperties:{frame:N.DecorFrame.None}}:{}}:{}}}})},"data-sentry-element":"ImageFitStyleSelector","data-sentry-source-file":"ImagePropertySection.tsx"})})})]}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImagePropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImagePropertySection.tsx",children:o.frame}),(0,a.jsx)(k.A,{className:"selector","data-sentry-element":"Col","data-sentry-source-file":"ImagePropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:n.frame,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ImagePropertySection.tsx",children:(0,a.jsx)(id,{frame:d,onFrameSelected:function(e){var t;if(e===d)return;let{effects:n,...a}=i.props.image;s({...i,props:{...i.props,imageProperties:{...i.props.imageProperties,frame:e,...(null==(t=i.props.imageProperties)?void 0:t.decorFrameProperties)!==void 0?{decorFrameProperties:{frame:N.DecorFrame.None}}:{}},image:a}})},frameOptions:[{frame:N.ImageFrame.Wide},{frame:N.ImageFrame.Landscape},{frame:N.ImageFrame.Portrait},{frame:N.ImageFrame.Square},{frame:N.ImageFrame.Circle,disabled:p===N.ImageFitStyle.Contain}],"data-sentry-element":"ImageFrameSelector","data-sentry-source-file":"ImagePropertySection.tsx"})})})]}),t.length>0&&(0,a.jsxs)(L.A,{children:[(0,a.jsx)(k.A,{children:o.placement}),(0,a.jsx)(k.A,{className:"selector",children:(0,a.jsx)(eG.T,{eventName:n.alignment,children:(0,a.jsx)(ih,{alignment:l,onAlignmentSelected:function(e){s({...i,props:{...i.props,imageProperties:{...i.props.imageProperties,alignment:e}}})},availableAlignments:t})})})]})]})}let iS={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({display:"flex",flexDirection:"column",rowGap:d.Spacing.Small,$nest:{".selector":{display:"flex",justifyContent:"flex-end"},".col":{alignItems:"center"}}}))};var iv=n(11206);function ib(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Crop","data-sentry-source-file":"Crop.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.33301 1.66666C6.33301 1.20642 5.95991 0.833328 5.499
167 0.833328C5.03944 0.833328 4.66634 1.20642 4.66634 1.66666V4.16666H2.16634C1.7061 4.16666 1.33301 4.53976 1.33301 4.99999C1.33301 5.46023 1.7061 5.83333 2.16634 5.83333H4.66634V13.3333C4.66634 14.714 5.78563 15.8333 7.16634 15.8333H14.6663V18.3333C14.6663 18.7936 15.0394 19.1667 15.4997 19.1667C15.9599 19.1667 16.333 18.7936 16.333 18.3333V15.8333H18.833C19.2932 15.8333 19.6663 15.4602 19.6663 15C19.6663 14.5398 19.2932 14.1667 18.833 14.1667L15.4997 14.1667L7.16634 14.1667C6.7061 14.1667 6.33301 13.7936 6.33301 13.3333V4.99999V1.66666ZM7.99967 5.83333H13.833C14.2932 5.83333 14.6663 6.20642 14.6663 6.66666V12.5H16.333V6.66666C16.333 5.28595 15.2137 4.16666 13.833 4.16666H7.99967V5.83333Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Crop.tsx"})})}var ij=n(98858);function iw(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ReCenter","data-sentry-source-file":"ReCenter.tsx",children:(0,a.jsx)("g",{"data-sentry-element":"g","data-sentry-source-file":"ReCenter.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.13852 3.33333C7.57051 3.33333 7.28604 4.08431 7.68769 4.52352L9.39857 6.39439C9.73055 6.75742 10.2688 6.75742 10.6008 6.39439L12.3117 4.52352C12.7133 4.08431 12.4288 3.33333 11.8608 3.33333L10.833 3.33333V1.25C10.833 1.01988 10.6465 0.833332 10.4163 0.833332L9.58301 0.833332C9.35289 0.833332 9.16634 1.01988 9.16634 1.25V3.33333L8.13852 3.33333ZM16.6663 8.13885C16.6663 7.57083 15.9154 7.28637 15.4762 7.68802L13.6053 9.39889C13.2423 9.73087 13.2423 10.2691 13.6053 10.6011L15.4762 12.312C15.9154 12.7136 16.6663 12.4292 16.6663 11.8611V10.8333H18.7497C18.9798 10.8333 19.1663 10.6468 19.1663 10.4167V9.58333C19.1663 9.35321 18.9798 9.16666 18.7497 9.16666H16.6663V8.13885ZM3.33301 11.8611C3.33301 12.4292 4.08399 12.7136 4.5232 12.312L6.39407 10.6011C6.7571 10.2691 6.7571 9.73087 6.39407 9.39889L4.5232 7.68802C4.08399 7.28637 3.33301 7.57083 3.33301 8.13885L3.33301 9.16667H1.24967C1.01956 9.16667 0.833008 9.35321 0.833008 9.58333V10.4167C0.833008 10.6468 1.01956 10.8333 1.24967 10.8333H3.33301L3.33301 11.8611ZM12.3117 15.4765C12.7133 15.9157 12.4288 16.6667 11.8608 16.6667H10.833V18.75C10.833 18.9801 10.6465 19.1667 10.4163 19.1667H9.58301C9.35289 19.1667 9.16634 18.9801 9.16634 18.75V16.6667H8.13852C7.57051 16.6667 7.28604 15.9157 7.68769 15.4765L9.39857 13.6056C9.73055 13.2426 10.2688 13.2426 10.6008 13.6056L12.3117 15.4765Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ReCenter.tsx"})})})}function iL(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ZoomIn","data-sentry-source-file":"ZoomIn.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16699 16.6667C10.9378 16.6667 12.5653 16.0529 13.8484 15.0266L16.9111 18.0893C17.2365 18.4147 17.7641 18.4147 18.0896 18.0893C18.415 17.7638 18.415 17.2362 18.0896 16.9107L15.0269 13.8481C16.0533 12.565 16.667 10.9375 16.667 9.16667C16.667 5.02453 13.3091 1.66667 9.16699 1.66667C5.02486 1.66667 1.66699 5.02453 1.66699 9.16667C1.66699 13.3088 5.02486 16.6667 9.16699 16.6667ZM9.16699 15C12.3887 15 15.0003 12.3883 15.0003 9.16667C15.0003 5.94501 12.3887 3.33333 9.16699 3.33333C5.94533 3.33333 3.33366 5.94501 3.33366 9.16667C3.33366 12.3883 5.94533 15 9.16699 15ZM10.0003 6.25C10.0003 5.78976 9.62723 5.41667 9.16699 5.41667C8.70676 5.41667 8.33366 5.78976 8.33366 6.25V8.33333H6.25033C5.79009 8.33333 5.41699 8.70643 5.41699 9.16667C5.41699 9.62691 5.79009 10 6.25033 10H8.33366V12.0833C8.33366 12.5436 8.70676 12.9167 9.16699 12.9167C9.62723 12.9167 10.0003 12.5436 10.0003 12.0833V10H12.0837C12.5439 10 12.917 9.62691 12.917 9.16667C12.917 8.70643 12.5439 8.33333 12.0837 8.33333H10.0003V6.25Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ZoomIn.tsx"})})}function ik(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ZoomOut","data-sentry-source-file":"ZoomOut.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16699 16.6667C10.9378 16.6667 12.5653 16.0529 13.8484 15.0266L16.9111 18.0893C17.2365 18.4147 17.7641 18.4147 18.0896 18.0893C18.415 17.7638 18.415 17.2362 18.0896 16.9107L15.0269 13.8481C16.0533 12.565 16.66
17 10.9375 16.667 9.16667C16.667 5.02453 13.3091 1.66667 9.16699 1.66667C5.02486 1.66667 1.66699 5.02453 1.66699 9.16667C1.66699 13.3088 5.02486 16.6667 9.16699 16.6667ZM9.16699 15C12.3887 15 15.0003 12.3883 15.0003 9.16667C15.0003 5.94501 12.3887 3.33333 9.16699 3.33333C5.94533 3.33333 3.33366 5.94501 3.33366 9.16667C3.33366 12.3883 5.94533 15 9.16699 15ZM12.917 9.16667C12.917 8.70643 12.5439 8.33333 12.0837 8.33333H6.25033C5.79009 8.33333 5.41699 8.70643 5.41699 9.16667C5.41699 9.62691 5.79009 10 6.25033 10H12.0837C12.5439 10 12.917 9.62691 12.917 9.16667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ZoomOut.tsx"})})}var iM=n(79911);function iP(e){let{title:t,className:n,onChange:o,onChangeAnalyticsEventName:r,...s}=e,{analytics:i}=(0,eL.S)(),{debouncedFunction:l}=(0,tW.d7)(()=>{r&&(0,ed.$s)(i,r)},1e3);return(0,a.jsx)(iM.A,{type:"range",autoComplete:"off",className:"".concat(iB).concat(n?" ".concat(n):""),onChange:e=>(l(),o&&o(e)),...s,"data-sentry-element":"Input","data-sentry-component":"RangeSliderControl","data-sentry-source-file":"RangeSliderControl.tsx"})}let iN={backgroundColor:u.StandardColors.ColorWhite,border:"2px solid ".concat(d.Colors.Primary),cursor:"pointer",height:u.Spacing.Large,width:u.Spacing.Large,boxSizing:"border-box",borderRadius:"50%",transition:"background-color .15s ease-in-out"},iD={boxShadow:"none"},iI={backgroundColor:d.Colors.Primary},iT={height:u.Spacing.Micro,background:"".concat(u.StandardColors.ColorLightGray30),borderRadius:u.Spacing.Micro/2},iB=(0,o.style)({$nest:{"&::-moz-range-thumb":iN,"&::-webkit-slider-thumb":{...iN,"-webkit-appearance":"none",marginTop:-u.Spacing.Large/2+u.Spacing.Micro/2},"&:focus::-moz-range-thumb":{...iD,"-webkit-appearance":"none"},"&:focus::-webkit-slider-thumb":iD,"&:active::-moz-range-thumb":iI,"&:active::-webkit-slider-thumb":{...iI,"-webkit-appearance":"none"},"&::-moz-range-track":iT,"&::-webkit-slider-runnable-track":{...iT,"-webkit-appearance":"none"}}});function iA(e){var t,n;let{aspectRatio:o,children:s,image:i,imageChangeEventName:l,imageKeywords:p,frame:m,onImageEditingComplete:g,onImageSelected:y,onSave:x,showImageSelector:h,title:C,initialModeOverride:f,...S}=e,[v,b]=(0,r.useState)({x:0,y:0}),[j,M]=(0,r.useState)((null==i||null==(t=i.effects)?void 0:t.zoom)||tg.H.cropper.defaultZoom),[P,D]=(0,r.useState)(null),[I,T]=(0,r.useState)(!1),[B,A]=(0,r.useState)(i),H=c.D.views.designer.components.properties.imageEditingDialog;async function F(){let e={...B};P&&(e.effects={translate:P,zoom:j}),g(e)}function R(){b({x:0,y:0}),M(tg.H.cropper.defaultZoom),D(null)}return(0,a.jsxs)(ty.y,{title:C||H.title,onSave:F,className:iH.modalDialog,...S,"data-sentry-element":"ModalDialog","data-sentry-component":"ImageEditingDialog","data-sentry-source-file":"ImageEditingDialog.tsx",children:[(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," content-grid"),"data-sentry-element":"Container","data-sentry-source-file":"ImageEditingDialog.tsx",children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(k.A,{className:"indented-col","data-sentry-element":"Col","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(eG.T,{eventName:l,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsxs)(G.A,{className:"".concat(d.ButtonStyles.LinkButtonPrimary),onClick:()=>T(!0),"data-sentry-element":"Button","data-sentry-source-file":"ImageEditingDialog.tsx",children:[(0,a.jsx)(oA,{"data-sentry-element":"ReplaceImage","data-sentry-source-file":"ImageEditingDialog.tsx"}),(0,a.jsx)("span",{children:H.replaceImage})]})})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(k.A,{className:"cropper-col","data-sentry-element":"Col","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(ij.Ay,{image:(0,N.getImageUrl)(B,N.ImageType.Regular),aspect:o,crop:v,zoom:j,onCropChange:b,onZoomChange:M,onCropComplete:D,onWheelRequest:()=>!1,initialCroppedAreaPercentages:null==B||null==(n=B.effects)?void 0:n.translate,cropShape:m===N.ImageFrame.Circle?"round":"rect","data-sentry-element":"Cropper","data-sentry-source-file":"ImageEditingDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"controls-row","data-sentry-element":"Row","data-sentry-source-file":"ImageEditingDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," zoomer"),"data-sentry-element":"Container","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ImageEditingDialog.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(G.A,{onClick:function(){M(Math.max(j-.1,tg.H.cropper.minZoom))},className:iF,"data-sentry-element":"Button","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(ik,{"data-sentry-element":"ZoomOut","data-sentry-source-file":"ImageEditingDialog.tsx"})})}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(iP,{value:j,min:tg.H.cropper.minZoom,max:tg.H.cropper.maxZoom,step:.1,onChange:e=>{M(e.target.valueAsNumber)},"data-sentry-element":"RangeSliderControl","data-sentry-source-file":"ImageEditingDialog.tsx"})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(G.A,{onClick:function(){M(Math.min(j+.1,tg.H.cropper.maxZoom))},className:iF,"data-sentry-element":"Button","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(iL,{"data-sentry-element":"ZoomIn","data-sentry-source-file":"ImageEditingDialog.tsx"})})})]})})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ImageEditingDialog.tsx",children:(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{onClick:R,className:iF,children:(0,a.jsx)(iw,{})}),title:c.D.components.tooltips.recenter,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"ImageEditingDialog.tsx"})})]}),s&&(0,a.jsx)(L.A,{className:"extended-content-row",children:(0,a.jsx)(k.A,{children:s})})]}),I&&(0,a.jsx)(oe,{isOpen:I,onClosed:()=>T(!1),imageKeywords:p,selectedImage:B,initialModeOverride:f,currentEditingImage:B,onCurrentImageDeleted:function(){A(N.EmptyImage),R()},onImageSelected:(e,t)=>{R(),A(e),y&&y(e,t)}})]})}let iH={modalDialog:(0,o.style)({maxWidth:"440px",$nest:{".modal-body":{padding:"0px",$nest:{".header":{paddingBlock:u.Spacing.Large+u.Spacing.Micro,paddingInline:u.Spacing.xLarge,marginBottom:"0px",borderBottom:1,borderBottomStyle:"solid",borderBottomColor:u.StandardColors.ColorLightGray20},".content-grid":{$nest:{".controls-row":{paddingInline:u.Spacing.xLarge,paddingBlock:u.Spacing.Large,color:u.StandardColors.ColorDarkGray05,$nest:{".zoomer":{paddingRight:u.Spacing.Medium-1,marginRight:u.Spacing.Medium-1,borderRightColor:u.StandardColors.ColorLightGray40,borderRightStyle:"solid",borderRight:1,$nest:{input:{marginInline:u.Spacing.xSmall+u.Spacing.Micro}}}}},".cropper-col":{height:278,backgroundColor:"".concat(u.StandardColors.ColorDarkGray50,"80"),position:"relative"},".extended-content-row":{paddingInline:u.Spacing.xLarge,paddingBottom:u.Spacing.xLarge},".indented-col":{paddingBlock:u.Spacing.Medium-1,paddingInline:u.Spacing.xLarge,$nest:{svg:{marginRight:u.Spacing.Small}}}}}}}}})},iF="".concat(d.ButtonStyles.LinkButtonBlack," ").concat((0,o.style)({color:"inherit"}));function iR(e){let{aspectRatio:t,enableToggle:n,enabled:o,enableCrop:s,eventNames:i,image:l,imageKeywords:d,imageChangeEventName:p,label:m,onImageSelected:u,onToggle:g,showLabel:y=!0}=e,x=c.D.views.designer.components.properties.imageSelectorSection,[h,C]=(0,r.useState)(!1),[f,S]=(0,r.useState)(!1);return(0,a.jsx)(sP,{title:y?m||x.title:void 0,rightTitleContent:n?(0,a.jsx)(eG.T,{eventName:i.toggle,allowDefault:!0,children:(0,a.jsx)(iv.A,{switch:!0,children:(0,a.jsx)(tf.g,{type:"switch",checked:o,onChange:()=>{l||C(!0),g&&g()}})})}):void 0,"data-sentry-element":"PropertySection","data-sentry-component":"ImageSelectorPropertySection","data-sentry-source-file":"ImageSelectorPropertySection.tsx",children:(void 0===n||o)&&(0,a.jsxs)("div",{className:iV.imageContainer,children:[(0,a.jsx)("div",{className:"image-slot",style:{backgroundImage:"url(".concat((0,N.getImageUrl)(l,N.ImageType.Small),")")}}),(0,a.jsx)("div",{className:"overlay",children:(0,a.jsxs)("div",{className:"button-row",children:[(0,a.jsx)(eG.T,{eventName:i.replaceImage,children:(0,a.jsx)(ov,{icon:(0,a.jsx)(oA,{}),label:x.replaceImage,onClick:()=>C(!h),showDropShadow:!0}
1)}),s&&!(0,N.isEmptyImage)(l)&&(0,a.jsx)(eG.T,{eventName:i.crop,children:(0,a.jsx)(ov,{icon:(0,a.jsx)(ib,{}),label:x.crop,onClick:()=>S(!f),showDropShadow:!0})})]})}),h&&(0,a.jsx)(oe,{isOpen:h,onClosed:()=>{C(!1)},imageKeywords:d,selectedImage:l,onImageSelected:(e,t)=>u(e,t)}),f&&(0,a.jsx)(iA,{aspectRatio:t,imageChangeEventName:p,image:l,imageKeywords:d,showImageSelector:()=>{C(!0),S(!1)},isOpen:f,onClosed:()=>S(!1),onImageEditingComplete:e=>{u(e)}})]})})}let iV={imageContainer:(0,o.style)({backgroundColor:d.Colors.Secondary,borderRadius:d.Spacing.Micro,position:"relative",boxShadow:d.BoxShadowStyles.innerXSmall,width:"100%",overflow:"hidden",$nest:{"&:hover .overlay":{visibility:"visible"},".image-slot":{height:150,backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat"},".overlay":{zIndex:1,display:"flex",flexDirection:"column",position:"absolute",left:0,right:0,bottom:0,top:0,backgroundColor:"".concat(d.StandardColors.ColorDarkGray50,"50"),justifyContent:"center",alignItems:"center",visibility:"hidden",borderRadius:d.Spacing.Micro,$nest:{".button-row":{display:"flex",justifyContent:"center",alignItems:"center",gap:d.Spacing.Small},a:{display:"flex",textDecoration:"none"}}}}})};function iW(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),{designer:n}=ew.o,{article:o,introduction:r}=n.sections,s=e.selectedSection,{props:i}=s,{imageProperties:l,image:c,imageKeywords:d}=i,{frame:p,decorFrameProperties:m,imageEnabled:g}=l,y=p!==N.ImageFrame.Circle&&c.fitStyle!==N.ImageFitStyle.Contain,x=p===N.ImageFrame.Wide?[]:[N.Alignment.Left,N.Alignment.Center,N.Alignment.Right];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(iR,{enableCrop:!0,eventNames:{toggle:o.imageChange,replaceImage:o.imageChange,crop:o.imageChange},aspectRatio:(0,u.getAspectRatio)(l.frame),image:c,imageChangeEventName:o.imageChange,imageKeywords:d,onImageSelected:(e,n)=>{t({...s,props:{...i,image:e,...void 0!==n&&{userKeywords:n}}})},enableToggle:!0,enabled:g,onToggle:()=>t({...s,props:{...i,imageProperties:{...l,imageEnabled:!g}}}),"data-sentry-element":"ImageSelectorPropertySection","data-sentry-source-file":"ArticleImagePropertySection.tsx"}),g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{className:iE.transparentDivider}),(0,a.jsx)(iC,{availableAlignments:x,eventNames:{alignment:o.imageAlignmentChange,fitStyle:o.imageChange,frame:o.imageChange}}),y&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{className:iE.transparentDivider}),(0,a.jsx)(ir,{editEventName:r.imageDecorFrameChange,currentBaseFrame:p,currentValue:(null==m?void 0:m.frame)||N.DecorFrame.None,onValueChanged:e=>{t({...s,props:{...i,imageProperties:{...l,decorFrameProperties:{...m,frame:e}}}})}})]})]})]})}let iE={transparentDivider:(0,o.style)({color:"transparent",marginBlock:u.Spacing.Micro})},iZ=18*u.Spacing.xxxLarge,iG={enableBullets:!1,enableHeadings:!1,enableLinks:!1,enableBold:!1,enableItalic:!1,enableCodeHighlighting:!0,enableSupSubScripts:!1,textOnly:!0},iO={enableBullets:!0,enableHeadings:!0,enableLinks:!0,enableBold:!0,enableItalic:!0,enableCodeHighlighting:!1,enableSupSubScripts:!0,enableMedia:!0,enableTable:!0,textOnly:!1};function iz(e){let{description:t,supportLink:n,supportLinkText:o,analyticsEventName:r}=e;return n&&o?(0,a.jsxs)("div",{className:iU.descriptionContainer,"data-sentry-component":"Description","data-sentry-source-file":"ExpandedEditorModal.tsx",children:[t.replace(/\s*$/,"")," ",(0,a.jsx)(eG.T,{eventName:r,onClick:()=>{(0,r8.V)(n)},href:"#",allowDefault:!1,className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(iU.link),"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ExpandedEditorModal.tsx",children:o})]}):(0,a.jsx)("div",{className:iU.descriptionContainer,children:t})}function i$(e){let{initialContent:t,onSaveContent:n,title:o,inputLabel:s,placeholder:i,description:l,supportLink:d,supportLinkText:p,analyticsEventName:m,maxLength:g,mode:y,validationFunction:x,customRteOptions:h,height:C,autoFocus:f=!0,focusBorderColor:S,onContentChange:v,saveButtonText:b,allowJson:j=!1,...w}=e,[L,k]=(0,r.useState)(t),[M,P]=(0,r.useState)(t),N=c.D.views.designer.components.properties.settings.codeContentProperties.modal.errors,{debouncedFunction:D}=(0,tW.d7)(e=>{P(e)},1e3),I=(0,r.useMemo)(()=>
1{if(!x)return{isValid:!0};let e=x(M);return!e.isValid&&e.errorType?{isValid:!1,errorMessage:({[E.CustomCodeErrorType.MALFORMED_SCRIPT_TAG]:N.malformedScriptTag,[E.CustomCodeErrorType.MALFORMED_STYLE_TAG]:N.malformedStyleTag,[E.CustomCodeErrorType.INVALID_TAGS]:N.invalidTags,[E.CustomCodeErrorType.LINK_MISSING_HREF]:N.linkMissingHref,[E.CustomCodeErrorType.MALFORMED_LINK_TAG]:N.malformedLinkTag,...j?{[E.CustomCodeErrorType.INVALID_JSON]:N.invalidJson}:{}})[e.errorType]}:{isValid:!0}},[M,N,x,j]),T={..."code"===y?iG:iO,...h},B=C||("code"===y?"".concat(13*u.Spacing.xxxLarge+u.Spacing.Small+u.Spacing.Medium,"px"):"75vh"),A="code"===y?iU.codeModal(B):iU.richTextModal;return(0,a.jsx)(rz,{className:A,title:o,inputLabel:s,detailsText:"",description:l?(0,a.jsx)(iz,{description:l,supportLink:d,supportLinkText:p,analyticsEventName:m}):void 0,modalBodyLowerContent:!I.isValid&&I.errorMessage?(0,a.jsx)("div",{className:"text-danger",style:{marginTop:"-16px"},children:I.errorMessage}):void 0,onSave:async()=>(!x||!!x(L).isValid)&&(n(L),!0),value:L,onValueChange:e=>{k(e),null==v||v(e),x&&D((0,W.sanitizeHtml)(e,{allowedTags:[]}))},maxLength:g,placeholder:i,rteOptions:T,allowLineBreaksOnShiftEnter:"code"===y,maxWidth:iZ,useRTE:!0,rteMaxHeight:"richText"===y?"none":void 0,disableRTEToolbarOverflow:"richText"===y,saveDisabled:!!x&&!x(L).isValid,autoFocus:f,focusBorderColor:S,...w,"data-sentry-element":"SimpleInputDialog","data-sentry-component":"ExpandedEditorModal","data-sentry-source-file":"ExpandedEditorModal.tsx"})}let iU={codeModal:e=>(0,o.style)({width:"100%",height:e,$nest:{".modal-body":{display:"flex",flexDirection:"column",overflow:"hidden"},".editor-container":{display:"flex",flexDirection:"column",flex:1,minHeight:0,overflow:"auto"},".tiptap-editor-content":{flex:1,overflow:"auto"},".ProseMirror":{minHeight:"200px",maxHeight:"none",height:"auto",padding:u.Spacing.Small},"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",overflowWrap:"break-word"}}}),richTextModal:(0,o.style)({width:"100%",height:"75vh",$nest:{".modal-body":{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",minHeight:"0"},".editor-container":{display:"flex",flexDirection:"column",flex:"1",minHeight:"0",overflow:"auto"},".tiptap-editor-content":{display:"flex",flexDirection:"column",flex:"1",minHeight:"0",overflow:"auto"},".ProseMirror":{minHeight:"200px",maxHeight:"none",height:"auto",padding:u.Spacing.Small}}}),descriptionContainer:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({textAlign:"left",color:d.StandardColors.ColorDarkGray50,whiteSpace:"normal"})),link:(0,o.style)({display:"inline",padding:0,marginLeft:0,verticalAlign:"baseline",textDecoration:"none"})};function i_(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Expand","data-sentry-source-file":"Expand.tsx",children:(0,a.jsx)("path",{d:"M17.4843 11.9629C17.484 10.8522 15.8186 10.8522 15.8183 11.9629V14.6445L12.8466 11.6719C12.5213 11.3466 11.9934 11.3468 11.6679 11.6719C11.3426 11.9973 11.3425 12.5252 11.6679 12.8506L14.6611 15.8438H11.9374C10.8265 15.8439 10.8265 17.5106 11.9374 17.5107H16.6513C16.9127 17.5107 17.0988 17.4038 17.2372 17.2627C17.4048 17.095 17.4871 16.9001 17.4843 16.6777V11.9629ZM3.31732 2.52344C3.05587 2.52346 2.86977 2.62935 2.73138 2.77051C2.56362 2.93833 2.48143 3.13383 2.48431 3.35645V8.07031C2.48472 9.18088 4.14991 9.18088 4.15032 8.07031V5.38965L7.11126 8.34961C7.43664 8.67453 7.96368 8.67463 8.28899 8.34961C8.61434 8.02426 8.61416 7.49636 8.28899 7.1709L5.30755 4.18945H8.03118C9.14211 4.18931 9.14211 2.52358 8.03118 2.52344H3.31732Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Expand.tsx"})})}function iq(e){let{alignment:t,onAlignmentSelected:n}=e,o=[{icon:(0,a.jsx)(rt,{}),onClick:()=>n(N.Alignment.Left),active:t===N.Alignment.Left,tooltip:c.D.components.tooltips.alignment[N.Alignment.Left]},{icon:(0,a.jsx)(rn,{}),onClick:()=>n(N.Alignment.Center),active:t===N.Alignment.Center,tooltip:c.D.components.tooltips.alignment[N.Alignment.Center]},{icon:(0,a.jsx)(ra,{}),onClick:()=>n(N.Alignment.Right),active:t===N.Alignment.Right,tooltip:c.D.components.tooltips.alignment[N.Alignment.Right]}];return(0,a.jsx)(nD,{buttons:o,"data-sentry-element":"IconButtonGroup","data-sentry-component":"TextAlignmentSelector","data-sentry-source-file":"TextAlignmentSelector.tsx"})}function iQ(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),{analytics:n}=(0,eL.S)(),o=c.D.views.designer.components.properties.sections.article.textPropertySection,s=c.D.views.designer.components.properties.headingPropertySection.heading,i=e.selectedSection,{props:l}=i,{title:p,content:m}=l,[g,y]=(0,r.useState)(!1),[x,h]=(0,r.useState)(!1),[C,f]=(0,r.useState)(0),[S,v]=(0,r.useState)(!1),[b,M]=(0,r.useState)(0);return(0,a.jsxs)(w.A,{className:iK.container,"data-sentry-element":"Container","data-sentry-component":"ArticleTextPropertySection","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:s}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.articleHeading,currentText:p,visible:g,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ArticleTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",maxLength:tg.H.articleHeading,value:p,onFocus:()=>y(!0),onBlur:()=>y(!1),onChange:e=>t({...i,props:{...l,title:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"ArticleTextPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:o.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.articleContent,currentCount:C,visible:x,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ArticleTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:(0,a.jsx)(rT,{htmlContent:m,onFocus:()=>h(!0),onBlur:()=>h(!1),enableHeadings:!0,enableMedia:!0,enableTable:!0,onUpdateHtml:e=>{t({...i,props:{...l,content:e}})},setCurrentCount:f,characterCountLimit:tg.H.articleContent,bottomToolbar:(0,a.jsxs)(G.A,{className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(iK.expandButton),onClick:()=>{(0,ed.$s)(n,ew.o.designer.sections.article.expandEditorClick),v(!0)},children:[(0,a.jsx)(i_,{}),(0,a.jsx)("span",{style:{marginLeft:"8px"},children:o.expandEditor})]}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"ArticleTextPropertySection.tsx"},"".concat(i.id,"-").concat(b))})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.Regular,"data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:o.alignment}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ArticleTextPropertySection.tsx",children:(0,a.jsx)(iq,{alignment:l.textAlignment,onAlignmentSelected:e=>{(0,ed.$s)(n,ew.o.designer.sections.article.textAlignmentChange),t({...i,props:{...l,textAlignment:e}})},"data-sentry-element":"TextAlignmentSelector","data-sentry-source-file":"ArticleTextPropertySection.tsx"})})]}),S&&(0,a.jsx)(i$,{isOpen:!0,onClosed:()=>v(!1),initialContent:m,onSaveContent:e=>{t({...i,props:{...l,content:e}}),M(e=>e+1)},title:o.expandedModalTitle,placeholder:void 0,maxLength:tg.H.articleContent,mode:"richText",saveButtonText:o.saveButton,focusBorderColor:u.StandardColors.ColorViolet60})]})}let iK={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{$nest:{"&:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"}}},".editor-container":{minHeight:"220px",maxHeight:"440px",display:"flex",flexDirection:"column"},".tiptap-editor-content":{flex:1,overflow:"auto",minHeight:0},".rich-text-editor-bottom-toolbar":{borderTop:"1px solid ".concat(u.StandardColors.ColorLightGray20),padding:"".concat(u.Spacing.Small,"px"),display:"flex",justifyContent:"flex-start"}}}
1)),expandButton:(0,o.style)({display:"flex",alignItems:"center",padding:"".concat(u.Spacing.Micro,"px ").concat(u.Spacing.Small,"px"),borderRadius:u.Spacing.Micro,color:u.StandardColors.ColorViolet60,$nest:{"&:hover":{color:"".concat(u.StandardColors.ColorDarkGray90," !important"),backgroundColor:"transparent !important"},"&:active":{color:"".concat(u.StandardColors.ColorDarkGray90," !important")}}})};function iY(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection,{props:r}=o;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(iQ,{"data-sentry-element":"ArticleTextPropertySection","data-sentry-source-file":"ArticleSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ArticleSectionProperties.tsx"}),(0,a.jsx)(iW,{"data-sentry-element":"ArticleImagePropertySection","data-sentry-source-file":"ArticleSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ArticleSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.article.backgroundChange,resolvedTheme:n,themeColor:r.themeColor,selectedValue:r.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...r,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"ArticleSectionProperties.tsx"})]})}function iX(){var e;let t=c.D.views.designer.components.properties.sections.blogFeed.postElementsPropertySection,{designerSettings:n,updateWebsiteSection:o,websiteSettings:s}=(0,j.Hb)(),{blogFeedSection:i}=(0,W.getLocaleStrings)(s.language),[l,d]=(0,r.useState)(!1),p=n.selectedSection,m=p.props;return(0,a.jsx)(sP,{title:t.title,"data-sentry-element":"PropertySection","data-sentry-component":"BlogFeedPostElementsPropertySection","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:"".concat(i1.container," ").concat(m.showDate||m.showLink?"additional-bottom-margin":""),"data-sentry-element":"Container","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx",children:[(0,a.jsxs)("div",{className:i1.checkboxRow,children:[(0,a.jsx)(iJ,{isChecked:m.showDate,onChange:(e,t)=>
1({...e,showDate:t}),title:t.date,name:"date","data-sentry-element":"PostElementProperty","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx"}),(0,a.jsx)(iJ,{isChecked:m.showAuthorName,onChange:(e,t)=>({...e,showAuthorName:t}),title:t.authorName,name:"author","data-sentry-element":"PostElementProperty","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx"}),(0,a.jsx)(iJ,{isChecked:m.showImages,onChange:(e,t)=>({...e,showImages:t}),title:t.images,name:"images","data-sentry-element":"PostElementProperty","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx"}),(0,a.jsx)(iJ,{isChecked:m.showLink,onChange:(e,t)=>{var n;let a={...e,showLink:t};return!t||(null==(n=e.linkLabel)?void 0:n.trim())||(a.linkLabel=i.readMore),a},title:t.link,name:"link","data-sentry-element":"PostElementProperty","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx"})]}),m.showDate&&(0,a.jsxs)("div",{className:i1.labeledSection,children:[(0,a.jsx)(L.A,{className:i1.labelRow,children:(0,a.jsx)(k.A,{children:(0,a.jsx)("span",{className:i1.labelText,children:t.dateFormat})})}),(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(nT.V,{values:Object.values(N.DateFormat),selectedValue:null!=(e=m.dateFormat)?e:N.DateFormat.MMDDYYYY,dividerAfterIndex:[1,3],itemTemplate:e=>(0,a.jsx)("div",{children:e}),onValueChanged:e=>{let{analytics:t}=(0,eL.S)();(0,ed.$s)(t,ew.o.designer.sections.blogFeed.dateFormatChange,{date_format:e}),o({...p,props:{...m,dateFormat:e}})}})})})]}),m.showLink&&(0,a.jsxs)("div",{className:i1.labeledSection,children:[(0,a.jsxs)(L.A,{className:i1.labelRow,children:[(0,a.jsx)(k.A,{children:(0,a.jsx)("span",{className:i1.labelText,children:t.linkLabel})}),(0,a.jsx)(k.A,{className:"justify-content-end",children:(0,a.jsx)(th,{maxLimit:128,currentText:m.linkLabel||"",visible:l})})]}),(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(tf.g,{type:"text",value:m.linkLabel,maxLength:128,onFocus:()=>d(!0),onBlur:()=>d(!1),onChange:e=>{o({...p,props:{...m,linkLabel:e.target.value}})}})})})]})]})})}function iJ(e){let{title:t,isChecked:n,onChange:o,name:r}=e,{designerSettings:s,updateWebsiteSection:i}=(0,j.Hb)(),l=s.selectedSection,c=l.props;return(0,a.jsxs)("div",{className:i1.checkboxItem,"data-sentry-component":"PostElementProperty","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx",children:[(0,a.jsx)(eG.T,{allowDefault:!0,eventName:ew.o.designer.sections.blogFeed.postElementToggle,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx",children:(0,a.jsx)(tf.g,{id:"blog-feed-".concat(r,"-checkbox"),type:"checkbox",checked:n,"aria-label":t,onChange:e=>{let t=o(c,e.target.checked);i({...l,props:t})},"data-sentry-element":"SoloInput","data-sentry-source-file":"BlogFeedPostElementsPropertySection.tsx"})}),(0,a.jsx)("label",{className:i1.checkboxLabel,htmlFor:"blog-feed-".concat(r,"-checkbox"),children:t})]})}let i1={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"},"&.additional-bottom-margin":{marginBottom:u.Spacing.Small}}})),checkboxRow:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:16,flexWrap:"wrap"}),checkboxItem:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:8}),checkboxLabel:(0,o.style)({fontSize:13,fontWeight:400,lineHeight:"1.38em",color:u.StandardColors.ColorDarkGray50,marginBottom:0,cursor:"pointer"}),labeledSection:(0,o.style)({marginTop:u.Spacing.Large,width:"100%"}),labelRow:(0,o.style)({marginBottom:u.Spacing.Micro,marginTop:"0 !important"}),labelText:(0,o.style)({fontSize:13,fontWeight:400})};function i0(){let e=c.D.views.designer.components.properties.sections.blogFeed.textPropertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),{analytics:o}=(0,eL.S)(),[s,i]=(0,r.useState)(!1),[l,p]=(0,r.useState)(!1),m=t.selectedSection,u=m.props.textAlignment;return(0,a.jsxs)(w.A,{className:i2.container,"data-sentry-element":"Container","data-sentry-component":"BlogFeedTextPropertySection","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:e.heading}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.introHeading,currentText:m.props.title,visible:s,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"BlogFeedTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",maxLength:tg.H.introHeading,value:m.props.title,onFocus:()=>i(!0),onBlur:()=>i(!1),onChange:e=>n({...m,props:{...m.props,title:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"BlogFeedTextPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{className:i2.paragraphLabelRow,"data-sentry-element":"Row","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:e.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.introBody,currentText:(0,W.sanitizeHtml)(m.props.description,{allowedTags:[]}),visible:l,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"BlogFeedTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:(0,a.jsx)(rT,{htmlContent:m.props.description,onFocus:()=>p(!0),onBlur:()=>p(!1),onUpdateHtml:e=>{n({...m,props:{...m.props,description:e}})},characterCountLimit:tg.H.introBody,"data-sentry-element":"RichTextEditor","data-sentry-source-file":"BlogFeedTextPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.Regular,"data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:e.alignment}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"BlogFeedTextPropertySection.tsx",children:(0,a.jsx)(iq,{alignment:u,onAlignmentSelected:e=>{ew.o.designer.sections.blogFeed&&(0,ed.$s)(o,ew.o.designer.sections.blogFeed.textAlignmentChange),n({...m,props:{...m.props,textAlignment:e}})},"data-sentry-element":"TextAlignmentSelector","data-sentry-source-file":"BlogFeedTextPropertySection.tsx"})})]})]})}let i3=(0,o.style)({$debugName:"paragraphLabelRow",marginTop:"".concat(u.Spacing.xxLarge,"px !important")}),i2={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{$nest:{"&:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"}}},[".".concat(i3)]:{marginTop:"".concat(u.Spacing.xxLarge,"px !important")}}})),paragraphLabelRow:i3};function i6(e){let{post:t,onCancel:n,onDelete:o,isOpen:r,...s}=e;return(0,a.jsx)(sC.E,{title:"Delete blog post",warning:"This action cannot be undone",acceptText:"Delete Blog Post",cancelText:"Cancel",onAccept:o,onCancel:n,isDestructive:!0,isOpen:r,...s,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DeleteBlogPostModal","data-sentry-source-file":"DeleteBlogPostModal.tsx",children:(0,a.jsxs)("div",{className:i5.content,children:[(0,a.jsx)("p",{className:i5.message,children:"Are you sure you want to delete the blog post:"}),(0,a.jsx)("p",{className:i5.postTitle,children:t.title})]})})}let i5={content:(0,o.style)({textAlign:"left"}),message:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,lineHeight:"".concat(d.Spacing.xLarge,"px"),marginBottom:
1d.Spacing.Micro})),postTitle:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,lineHeight:"".concat(d.Spacing.xLarge,"px"),marginBottom:d.Spacing.Medium}))};var i4=n(96878);function i7(e){let{message:t}=e;return(0,a.jsxs)("div",{className:i9.spinnerContainer,"data-sentry-component":"InlineSpinner","data-sentry-source-file":"InlineSpinner.tsx",children:[(0,a.jsx)("div",{className:i9.spinner}),(0,a.jsx)("span",{className:i9.spinnerText,children:t})]})}let i9={spinnerContainer:(0,o.style)({display:"flex",alignItems:"center",height:d.Spacing.xxLarge,paddingBlock:d.Spacing.xSmall}),spinner:(0,o.style)({position:"relative",height:20,width:20,backgroundColor:"transparent",backgroundImage:"url(/img/spinner-48-transparent-violet.png)",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"20px 20px",marginRight:d.Spacing.Small}),spinnerText:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({color:d.Colors.Primary}))};var i8=n(82307);function le(){return(0,a.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SoloGrowAppIcon","data-sentry-source-file":"SoloGrowAppIcon.tsx",children:[(0,a.jsx)("rect",{width:"40",height:"40",rx:"6",fill:"#D9BFFF","data-sentry-element":"rect","data-sentry-source-file":"SoloGrowAppIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.1585 22.1937C21.9511 22.6513 22.9646 22.3797 23.4222 21.5871C23.8798 20.7945 23.6083 19.781 22.8157 19.3234L19.8239 17.5961C19.0313 17.1385 18.0178 17.4101 17.5602 18.2027C17.1026 18.9953 17.3741 20.0088 18.1667 20.4664L21.1585 22.1937Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloGrowAppIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.2789 13.7561C17.8264 13.5004 17.3031 13.3543 16.7455 13.3543C15.0291 13.3543 13.6377 14.7379 13.6377 16.4447C13.6377 16.9114 13.7418 17.3541 13.9281 17.7508C12.846 17.2406 12.0972 16.1398 12.0972 14.8641C12.0972 13.1025 13.5253 11.6744 15.2869 11.6744C16.6589 11.6744 17.8286 12.5407 18.2789 13.7561Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloGrowAppIcon.tsx"}),(0,a.jsx)("path",{d:"M22.9947 9.61052C21.4377 8.71159 19.5191 8.71292 17.9633 9.614L13.6377 12.1194C14.2362 11.814 14.8539 11.7564 15.7427 12.2694L29.5438 20.2376V14.9391C29.5438 13.9815 29.033 13.0967 28.2037 12.6179L22.9947 9.61052Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloGrowAppIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7064 26.0401C23.1537 26.2919 23.6701 26.4355 24.22 26.4355C25.9267 26.4355 27.3103 25.0519 27.3103 23.3452C27.3103 22.8706 27.2033 22.4211 27.0122 22.0193C28.1172 22.5205 28.8857 23.6334 28.8857 24.9257C28.8857 26.6873 27.4577 28.1154 25.696 28.1154C24.3264 28.1154 23.1584 27.2522 22.7064 26.0401Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloGrowAppIcon.tsx"}),(0,a.jsx)("path",{d:"M17.9881 30.1792C19.5451 31.0781 21.4637 31.0768 23.0195 30.1757L27.3451 27.6703C26.7466 27.9757 26.1289 28.0333 25.2401 27.5203L11.439 19.5521L11.439 24.8506C11.439 25.8082 11.9498 26.693 12.7791 27.1718L17.9881 30.1792Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloGrowAppIcon.tsx"})]})}var lt=function(e){return e.PostfulAdDismissed="postfulAdDismissed",e.SoloGrowAdDismissed="soloGrowAdDismissed",e}({});async function ln(e,t){var n;let{auth:a}=(0,am.T)(),o=await (null==(n=a.currentUser)?void 0:n.getIdToken());if(!o)throw Error("Authentication required to update user preferences.");let r=await fetch("/api/users/preferences",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(o)},body:JSON.stringify({key:e,value:t})});if(!r.ok)throw Error('Failed to update preference "'.concat(e,'": ').concat(r.status))}function la(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","data-sentry-element":"svg","data-sentry-component":"VerySmallX","data-sentry-source-file":"VerySmallX.tsx",children:(0,a.jsx)("path",{d:"M10.0147 11.1935L7.27062 13.9376C6.48495 14.7233 5.30644 13.5448 6.09211 12.7591L8.83619 10.015L6.09211 7.27096C5.30644 6.48528 6.48495 5.30677 7.27062 6.09245L10.0147 8.83652L12.7588 6.09245C13.5444 5.30677 14.723 6.48528 13.9373 7.27096L11.1932 10.015L13.9373 12.7591C14.723 13.5448 13.5444 14.7233 12.7588 13.9376L10.0147 11.1935Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"VerySmallX.tsx"})})}var lo=n(63498);function lr(e){let{url:t,icon:n,heading:o,byline:s,ctaText:i,prefKey:l,onCtaClick:c,onDismiss:d}=e,{isLoaded:p,userPreferences:m}=(0,ad.dp)(),[u,g]=(0,r.useState)(!0);if((0,r.useEffect)(()=>{p&&(null==m?void 0:m[l])!==!0&&g(!1)},[p,m,l]),u)return null;async function y(){null==d||d(),g(!0);try{await ln(l,!0)}catch(e){console.error("Failed to persist ad dismissal:",e)}}return(0,a.jsx)("div",{className:ls.container,"data-sentry-component":"AdUnit","data-sentry-source-file":"AdUnit.tsx",children:(0,a.jsxs)("div",{className:ls.row,children:[(0,a.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:ls.iconLink,"aria-label":o,children:n}),(0,a.jsxs)("div",{className:ls.content,children:[(0,a.jsxs)("div",{className:ls.header,children:[(0,a.jsxs)("div",{className:ls.headingRow,children:[(0,a.jsx)("span",{className:ls.heading,children:o}),s&&(0,a.jsx)("span",{className:ls.byline,children:s})]}),(0,a.jsx)("button",{className:"btn ".concat(lo.t.IconXXS," ").concat(ls.closeButton),onClick:y,"aria-label":"Dismiss ".concat(o," ad"),children:(0,a.jsx)(la,{"data-sentry-element":"VerySmallX","data-sentry-source-file":"AdUnit.tsx"})})]}),(0,a.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:ls.ctaLink,onClick:c,children:i})]})]})})}let ls={container:(0,o.style)({marginTop:u.Spacing.Large,marginBottom:u.Spacing.Small}),row:(0,o.style)({display:"flex",flexDirection:"row",gap:u.Spacing.Medium,alignItems:"flex-start"}),iconLink:(0,o.style)({flexShrink:0,display:"block",lineHeight:0}),content:(0,o.style)({flex:1,minWidth:0,paddingBlock:1}),header:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:2}),headingRow:(0,o.style)({display:"flex",alignItems:"baseline",gap:4}),heading:(0,o.style)({fontSize:13,fontWeight:600,lineHeight:"18px",color:u.StandardColors.ColorDarkGray90}),byline:(0,o.style)({fontSize:11,fontWeight:400,lineHeight:"16px",color:u.StandardColors.ColorDarkGray05}),closeButton:(0,o.style)({width:20,height:20,lineHeight:"0",flexShrink:0,color:u.StandardColors.ColorDarkGray05}),ctaLink:(0,o.style)({fontSize:13,fontWeight:400,lineHeight:"18px",color:u.StandardColors.ColorViolet60,textDecoration:"none",display:"block",$nest:{"&:hover":{color:u.StandardColors.ColorDarkGray90,textDecoration:"none"},"&:active":{color:"".concat(u.StandardColors.ColorDarkGray90," !important"),textDecoration:"none"}}})},li=c.D.views.designer.components.properties.sections.soloGrowAdUnit;function ll(e){let{surface:t}=e,{isGrow:n,isPro:o}=(0,ad.dp)(),{analytics:s}=(0,eL.S)(),i=o?"pro":"free",l={surface:t,plan_tier:i},c=(0,r.useCallback)(()=>{(0,ed.$s)(s,ew.o.soloGrowAdUnit.ctaClick,l)},[s,t,i]),d=(0,r.useCallback)(()=>{(0,ed.$s)(s,ew.o.soloGrowAdUnit.dismiss,l)},[s,t,i]);return n?null:(0,a.jsx)(lr,{url:"/pricing",icon:(0,a.jsx)(le,{}),heading:li.heading,ctaText:li.ctaText,prefKey:lt.SoloGrowAdDismissed,onCtaClick:c,onDismiss:d,"data-sentry-element":"AdUnit","data-sentry-component":"SoloGrowAdUnit","data-sentry-source-file":"SoloGrowAdUnit.tsx"})}var lc=n(58546),ld=n(19922);function lp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g,"").replace(/\s+/g," ").trim().slice(0,t)}function lm(e){var t,n;return e&&Array.isArray(e.urls)&&0!==e.urls.length&&"Custom"!==e.provider&&null!=(n=null==(t=e.urls[0])?void 0:t.url)?n:null}function lu(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if("object"!=typeof e||null===e||!Array.isArray(e.result)||0===e.result.length)return null;let a=e.result;for(let e=0;e<a.length;e++){let o=(n+e)%a.length,r=a[o];if("object"!=typeof r||null===r||!Array.isArray(r.urls)||0===r.urls.length||"Custom"===r.provider)continue;let s=r.urls[0],i=null==s?void 0:s.url;if(i&&!t.has(i))return r}return null}async function lg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
1,{timeoutMs:n=1e4,perPage:a=20,orientation:o=ak.t.Landscape}=t;try{let t=new Promise(e=>setTimeout(()=>e(null),n)),r=(0,as.$8)({query:e,orientation:o,perPage:a});return await Promise.race([r,t])}catch(e){return null}}async function ly(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;for(let r of[e,...n].filter(Boolean)){let e=await lg(r,a);if(!e)continue;let n=lu(e,t,o);if(n){let e=lm(n);return e&&t.add(e),n}}return N.EmptyImage}async function lx(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new Set(t),r=Array(e.length).fill(null),s=e.map(e=>lg(e,a)),i=await Promise.all(s);for(let e=0;e<i.length;e++){let t=i[e];if(!t)continue;let n=lu(t,o,e);if(n){let t=lm(n);t&&o.add(t),r[e]=n}}for(let e=0;e<r.length;e++){if(r[e])continue;let t=!1;for(let n=0;n<i.length&&!t;n++){let a=i[n];if(!a)continue;let s=lu(a,o,e+n);if(s){let n=lm(s);n&&o.add(n),r[e]=s,t=!0}}if(!t)for(let t of n){let n=await lg(t,a);if(!n)continue;let s=lu(n,o,e);if(s){let t=lm(s);t&&o.add(t),r[e]=s;break}}r[e]||(r[e]=N.EmptyImage)}return r}var lh=n(98725);function lC(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Duplicate","data-sentry-source-file":"Duplicate.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.38461 17C8.06762 17 6.99999 15.9324 6.99999 14.6154V9H4.38461C4.17219 9 3.99999 9.1722 3.99999 9.38462V19.6154C3.99999 19.8278 4.17219 20 4.38461 20H14.6154C14.8278 20 15 19.8278 15 19.6154V17L9.38461 17ZM17 17L19.6154 17C20.9324 17 22 15.9324 22 14.6154V4.38462C22 3.06763 20.9324 2 19.6154 2H9.38461C8.06762 2 6.99999 3.06763 6.99999 4.38462V7H4.38461C3.06762 7 1.99999 8.06763 1.99999 9.38462V19.6154C1.99999 20.9324 3.06762 22 4.38461 22H14.6154C15.9324 22 17 20.9324 17 19.6154V17ZM8.99999 14.6154C8.99999 14.8278 9.17219 15 9.38461 15H19.6154C19.8278 15 20 14.8278 20 14.6154V4.38462C20 4.1722 19.8278 4 19.6154 4H9.38461C9.17219 4 8.99999 4.1722 8.99999 4.38462V14.6154Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Duplicate.tsx"})})}function lf(e){let{isOpen:t,onToggle:n,onEdit:o,onDuplicate:r,onDelete:s,canDuplicate:i}=e,l=c.D.views.designer.components.properties.sections.blogFeed.blogPostDropdownMenu;return(0,a.jsxs)(ow.A,{isOpen:t,toggle:n,className:lS.dropdown,"data-sentry-element":"Dropdown","data-sentry-component":"BlogPostDropdownMenu","data-sentry-source-file":"BlogPostDropdownMenu.tsx",children:[(0,a.jsx)(oL.A,{className:lS.dropdownToggle,"data-testid":"blog-post-more-button","aria-label":"Blog post options","data-sentry-element":"DropdownToggle","data-sentry-source-file":"BlogPostDropdownMenu.tsx",children:(0,a.jsx)(o3,{"data-sentry-element":"MoreVertical","data-sentry-source-file":"BlogPostDropdownMenu.tsx"})}),(0,a.jsxs)(ok.A,{className:lS.dropdownMenu,end:!0,"data-sentry-element":"DropdownMenu","data-sentry-source-file":"BlogPostDropdownMenu.tsx",children:[(0,a.jsx)(oM.A,{className:"".concat(d.FontStyles.Medium," ").concat(lS.menuItem),onClick:e=>{e.stopPropagation(),o()},"data-sentry-element":"DropdownItem","data-sentry-source-file":"BlogPostDropdownMenu.tsx",children:(0,a.jsxs)("div",{className:lS.menuItemContent,children:[(0,a.jsx)("span",{className:lS.menuIcon,children:(0,a.jsx)(O.f,{"data-sentry-element":"Edit","data-sentry-source-file":"BlogPostDropdownMenu.tsx"})}),(0,a.jsx)("span",{children:l.edit})]})}),(0,a.jsx)(oM.A,{className:"".concat(d.FontStyles.Medium," ").concat(lS.menuItem),onClick:e=>{e.stopPropagation(),i&&r()},disabled:!i,tag:"button","data-sentry-element":"DropdownItem","data-sentry-source-file":"BlogPostDropdownMenu.tsx",children:(0,a.jsxs)("div",{className:lS.menuItemContent,children:[(0,a.jsx)("span",{className:lS.menuIcon,children:(0,a.jsx)(lC,{"data-sentry-element":"Duplicate","data-sentry-source-file":"BlogPostDropdownMenu.tsx"})}),(0,a.jsx)("span",{children:l.duplicate})]})}),(0,a.jsx)(oM.A,{divider:!0,className:lS.divider,"data-sentry-element":"DropdownItem","data-sentry-source-file":"BlogPostDropdownMenu.tsx"}),(0,a.jsx)(oM.A,{className:"".concat(d.FontStyles.Medium," ").concat(lS.menuItem),onClick:e=>{e.stopPropagation(),s()},"data-sentry-element":"DropdownItem","data-sentry-source-file":"BlogPostDropdownMenu.tsx",children:(0,a.jsxs)("div",{className:lS.menuItemContent,children:[(0,a.jsx)("span",{className:lS.menuIcon,children:(0,a.jsx)(aB.r,{"data-sentry-element":"Trashcan","data-sentry-source-file":"BlogPostDropdownMenu.tsx"})}),(0,a.jsx)("span",{children:l.delete})]})})]})]})}let lS={dropdown:(0,o.style)({display:"flex",alignItems:"center"}),dropdownToggle:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",padding:u.Spacing.xSmall,color:"".concat(u.StandardColors.ColorDarkGray05," !important"),borderRadius:u.Spacing.Micro,background:"none !important",border:"none !important",cursor:"pointer",$nest:{"&:hover":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&:active, &:focus:active":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20," !important"),color:"".concat(u.StandardColors.ColorDarkGray50," !important")},"&:focus":{boxShadow:"none !important",backgroundColor:"transparent !important"},"&::after":{display:"none"}}}),dropdownMenu:"".concat((0,o.style)((0,u.createDropdownMenuTransitionStyle)())," ").concat((0,o.style)({padding:u.Spacing.Small,boxShadow:u.BoxShadowStyles.Small,border:"1px solid",borderColor:u.StandardColors.ColorLightGray40,borderRadius:u.Spacing.Small,zIndex:1050,minWidth:160,$nest:{".dropdown-item":{minHeight:u.Spacing.xxLarge,borderRadius:u.Spacing.Micro/2,color:u.StandardColors.ColorDarkGray50,padding:u.Spacing.xSmall,$nest:{"&:not(:last-child)":{marginBottom:u.Spacing.Micro/2},"&:hover:not(:disabled)":{backgroundColor:d.Colors.SecondaryHover},"&:active:not(:disabled)":{backgroundColor:d.Colors.SecondaryPressed},"&:disabled":{opacity:.5,cursor:"not-allowed"}}}}})),menuItem:(0,o.style)({cursor:"pointer"}),menuItemContent:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:u.Spacing.Small}),menuIcon:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,color:u.StandardColors.ColorDarkGray30,$nest:{"& svg":{width:20,height:20}}}),divider:(0,o.style)({margin:"".concat(u.Spacing.Micro,"px 0"),borderColor:u.StandardColors.ColorLightGray40})};function lv(e){let{post:t,onClick:n}=e,o=(0,r.useMemo)(()=>(0,N.getImageUrl)(t.image,N.ImageType.Thumbnail),[t.image]),s=(0,r.useMemo)(()=>(0,E.dateAsNumericString)(new Date(t.date)),[t.date]);return(0,a.jsxs)("div",{className:lb.listItem,onClick:n,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&n()},"data-sentry-component":"BlogPostListViewItem","data-sentry-source-file":"BlogPostListViewItem.tsx",children:[(0,a.jsx)("div",{className:lb.thumbnail,"data-testid":"blog-post-thumbnail",style:{backgroundImage:o?"url(".concat(o,")"):void 0,backgroundColor:o?void 0:u.StandardColors.ColorLightGray30}}),(0,a.jsxs)("div",{className:lb.listItemContent,children:[(0,a.jsx)("div",{className:lb.listItemTitle,children:t.title}),(0,a.jsxs)("div",{className:lb.listItemMeta,children:[(0,a.jsx)("span",{children:s}),(0,a.jsx)("span",{className:lb.authorName,children:t.authorName})]})]})]})}let lb={listItem:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:u.Spacing.Medium,padding:"".concat(u.Spacing.Small,"px 0"),cursor:"pointer",flex:1,minWidth:0}),thumbnail:(0,o.style)({width:64,height:48,minWidth:64,borderRadius:u.Spacing.Micro,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",boxShadow:u.BoxShadowStyles.innerXSmall}),listItemContent:(0,o.style)({display:"flex",flexDirection:"column",flex:1,minWidth:0,gap:2}),listItemTitle:(0,o.style)({fontWeight:400,fontSize:13,lineHeight:"18px",color:u.StandardColors.ColorDarkGray50,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),listItemPreview:(0,o.style)({fontSize:11,lineHeight:"16px",color:u.StandardColors.ColorDarkGray05,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),listItemMeta:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:u.Spacing.Small,fontSize:11,lineHeight:"16px",color:u.StandardColors.ColorDarkGray05,overflow:"hidden",$nest:{"& > span":{whiteSpace:"nowrap"}}}),authorName:(0,o.style)({overflow:"hidden",textOverflow:"ellipsis"})};async function lj(e){let t;if(!navigator.onLine)throw Error("Browser is offline");
1await Promise.race([(0,P.iB)(e),new Promise((e,n)=>{t=setTimeout(()=>n(Error("Save confirmation timed out")),5e3)})]).finally(()=>clearTimeout(t))}function lw(e,t){return e.title!==t.title||e.body!==t.body||e.authorName!==t.authorName||JSON.stringify(e.image)!==JSON.stringify(t.image)}let lL=(0,r.createContext)(null);function lk(){let e=(0,r.useContext)(lL);if(!e)throw Error("useEditBlogPost must be used within an EditBlogPostProvider");return e}function lM(e){var t;let{initialPost:n,onClose:o,children:s}=e,[i,l]=(0,r.useState)(n),c=(0,r.useRef)(i),[d,p]=(0,r.useState)((null==(t=n.image)?void 0:t.fitStyle)||N.ImageFitStyle.Cover),[m,u]=(0,r.useState)(!1),[g,y]=(0,r.useState)(!1),[h,C]=(0,r.useState)(!1),[f,S]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),w=(0,r.useRef)(n),L=(0,r.useRef)(null),[k,M]=(0,r.useState)(!1),P=(0,r.useRef)(!1),D=(0,r.useRef)(null),I=(0,r.useCallback)(()=>{D.current&&(clearTimeout(D.current),D.current=null)},[]),T=(0,r.useRef)(!1),{designerSettings:B,updateWebsiteSection:A,saveWebsiteSettings:H}=(0,j.Hb)(),{user:F,isLoggedIn:R}=(0,x.uM)(),{pushToastMessage:V}=(0,K.dj)(),W=B.selectedSection;(0,r.useEffect)(()=>{var e;l(n),p((null==(e=n.image)?void 0:e.fitStyle)||N.ImageFitStyle.Cover),c.current=n,w.current=n,L.current=null,P.current=!1,M(!1)},[n]);let E=(0,r.useCallback)(()=>{P.current=!0,M(!0),o()},[o]),Z=(0,r.useCallback)(async e=>{if(!W)return;let t=(W.props.blogPosts||[]).map(t=>t.id===e.id?e:t);A({...W,props:{...W.props,blogPosts:t}},{silent:!0}),w.current=e,T.current=!0},[W,A]),G=(0,r.useCallback)(async e=>{u(!0);try{await Z(e)}finally{u(!1)}}
1,[Z]);(0,r.useEffect)(()=>{T.current&&(T.current=!1,H({silent:!0}).catch(e=>{console.error("Autosave failed to persist to database:",e)}))},[H]),(0,r.useEffect)(()=>{if(""!==i.title.trim()&&lw(i,w.current))return D.current=setTimeout(()=>{D.current=null,G(i).catch(e=>{console.error("Autosave failed:",e)})},2e3),I},[i,G,I]);let O=(0,r.useCallback)(e=>{c.current=e,l(e)},[]),z=(0,r.useCallback)(e=>{p(e)},[]),$=(0,r.useCallback)(async()=>{if(!P.current){if(""===c.current.title.trim()){I(),y(!0);return}I(),null===L.current&&(L.current=w.current),C(!0);try{lw(c.current,w.current)&&await G(c.current),T.current&&(T.current=!1,await H({silent:!0})),R&&F&&await lj((0,am.T)().db)}catch(e){console.error("Failed to save blog post on close:",e),C(!1),b(!0);return}C(!1),L.current=null,E()}},[G,H,E,I,R,F]),U=(0,r.useCallback)(async()=>{if(!f){S(!0),I();try{if(W){let e=(W.props.blogPosts||[]).filter(e=>e.id!==i.id);A({...W,props:{...W.props,blogPosts:e}},{silent:!0}),""!==n.title.trim()&&await H({silent:!0})}}catch(e){console.error("Failed to discard blog post:",e)}S(!1),E()}},[W,n.title,f,i.id,E,A,H,I]),_=(0,r.useCallback)(()=>{y(!1)},[]),q=(0,r.useCallback)(()=>{b(!1),$()},[$]),Q=(0,r.useCallback)(()=>{var e,t;if(P.current)return;b(!1);let a=null!=(t=L.current)?t:n;if(!W){console.error("Cannot revert blog post after interrupted save: no blog feed section selected"),V({toastType:lh.C.Error,text:"Couldn't discard the unsaved changes. They may reappear — please try again."}),E();return}let o=(W.props.blogPosts||[]).map(e=>e.id===a.id?a:e);A({...W,props:{...W.props,blogPosts:o}},{silent:!0}),l(a),p((null==(e=a.image)?void 0:e.fitStyle)||N.ImageFitStyle.Cover),c.current=a,w.current=a,I(),E(),H({silent:!0}).then(()=>{L.current=null}).catch(e=>{console.error("Failed to revert blog post after interrupted save:",e),V({toastType:lh.C.Error,text:"Couldn't discard the unsaved changes. They may reappear — please try again."})})},[W,n,A,H,V,I,E]);return(0,a.jsx)(lL.Provider,{value:{post:i,imageFitStyle:d,isSaving:m,isDoneSaving:h,isDiscarding:f,isClosing:k,showSaveFailedModal:v,dismissSaveFailedModal:Q,retrySave:q,updatePost:O,updateImageFitStyle:z,handleDone:$,discardAndClose:U,shouldPromptDiscard:g,dismissDiscardPrompt:_},"data-sentry-element":"EditBlogPostContext.Provider","data-sentry-component":"EditBlogPostProvider","data-sentry-source-file":"EditBlogPostContext.tsx",children:s})}function lP(){var e,t,n,s,i;let{post:l}=lk(),{designerSettings:c,websiteSettings:d}=(0,j.Hb)(),p=c.selectedSection,m=(null==p||null==(e=p.props)?void 0:e.title)||"Blog",g=(null==d||null==(t=d.colorScheme)?void 0:t.themes)||[],y=(null==p||null==(n=p.props)?void 0:n.themeColor)||(null==(s=g[0])?void 0:s.backgroundColor)||u.StandardColors.ColorWhite,x=null==p||null==(i=p.props)?void 0:i.sectionThemeMode,h=(0,r.useMemo)(()=>(0,o.style)((0,W.createThemeContainerStyles)(d)),[d]),C=(0,E.isDev)()?W.WebsiteEnvironmentType.Development:(0,E.isStaging)()?W.WebsiteEnvironmentType.Staging:W.WebsiteEnvironmentType.Production;return(0,a.jsx)("div",{className:lN,"data-testid":"edit-blog-post-preview-content","data-sentry-component":"EditBlogPostPreview","data-sentry-source-file":"EditBlogPostPreview.tsx",children:(0,a.jsx)("div",{className:h,children:(0,a.jsx)(W.WebsiteDataProvider,{environmentType:C,settings:d,isDesignerMode:!0,"data-sentry-element":"WebsiteDataProvider","data-sentry-source-file":"EditBlogPostPreview.tsx",children:(0,a.jsx)(W.BlogPostContent,{blogPost:l,blogTitle:m,themeColor:y,sectionThemeMode:x,disableLinks:!0,"data-sentry-element":"BlogPostContent","data-sentry-source-file":"EditBlogPostPreview.tsx"})})})})}let lN=(0,o.style)({$debugName:"edit-blog-post-preview-scroll-container",display:"flex",flexDirection:"column",flex:1,overflow:"auto",minHeight:0});function lD(e){let{onContinueEditing:t,onDiscard:n,isOpen:o,isDiscarding:r,...s}=e;return(0,a.jsx)(sC.E,{title:"Blog posts require a title",warning:"A post title is required for your blog to be effective.",warningAlertIcon:!1,acceptText:"Discard Post",cancelText:"Continue Editing",onAccept:n,onCancel:t,isDestructive:!0,isOpen:o,acceptDisabled:r,...s,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DiscardBlogPostModal","data-sentry-source-file":"DiscardBlogPostModal.tsx"})}let lI=c.D.views.designer.components.properties.sections.blogFeed.editBlogPostSidebar;function lT(e){let{onCloseAnyway:t,onTryAgain:n}=e;return(0,a.jsx)(_.A,{centered:!0,isOpen:!0,className:lB.modal,modalTransition:{timeout:100},"data-sentry-element":"Modal","data-sentry-component":"SaveInterruptedModal","data-sentry-source-file":"SaveInterruptedModal.tsx",children:(0,a.jsxs)(em.A,{className:lB.body,"data-sentry-element":"ModalBody","data-sentry-source-file":"SaveInterruptedModal.tsx",children:[(0,a.jsx)("h4",{className:lB.title,children:lI.saveInterruptedTitle}),(0,a.jsx)("p",{className:lB.description,children:lI.saveInterruptedDescription}),(0,a.jsxs)("div",{className:lB.buttonRow,children:[(0,a.jsx)(G.A,{className:d.ButtonStyles.DestructiveSmall,onClick:t,"data-sentry-element":"Button","data-sentry-source-file":"SaveInterruptedModal.tsx",children:lI.closeAnywayButton}),(0,a.jsx)(G.A,{className:d.ButtonStyles.PrimarySmall,onClick:n,"data-sentry-element":"Button","data-sentry-source-file":"SaveInterruptedModal.tsx",children:lI.tryAgainButton})]})]})})}let lB={modal:(0,o.style)({maxWidth:460,$nest:{".modal-content":{borderRadius:u.Spacing.Small,borderWidth:0,border:0,outline:"none",boxShadow:u.BoxShadowStyles.xLarge}}}),body:(0,o.style)({padding:u.Spacing.xLarge}),title:(0,o.style)({margin:0,marginBottom:u.Spacing.Small,fontWeight:600,fontSize:18,textAlign:"left",color:u.StandardColors.ColorDarkGray90}),description:(0,o.style)({margin:0,marginBottom:u.Spacing.Large,fontSize:13,textAlign:"left",color:"#32313C"}),buttonRow:(0,o.style)({display:"flex",gap:u.Spacing.Small})},lA=16/9,lH=c.D.views.designer.components.properties.sections.blogFeed.editBlogPostSidebar;function lF(){let{post:e,imageFitStyle:t,isSaving:n,isDoneSaving:o,isClosing:s,showSaveFailedModal:i,dismissSaveFailedModal:l,retrySave:c,handleDone:p,updatePost:m,updateImageFitStyle:g,discardAndClose:y,isDiscarding:x,shouldPromptDiscard:h,dismissDiscardPrompt:C}=lk(),{analytics:f}=(0,eL.S)(),[S,v]=(0,r.useState)(!1),[b,j]=(0,r.useState)(!1),[w,M]=(0,r.useState)(!1),[P,D]=(0,r.useState)(()=>(0,W.sanitizeHtml)(e.body,{allowedTags:[]}).length),[I,T]=(0,r.useState)(!1),[B,A]=(0,r.useState)(!1),[H,F]=(0,r.useState)(!1),[R,V]=(0,r.useState)(0);return(0,a.jsxs)("div",{className:lR.sidebar,"data-testid":"edit-blog-post-sidebar","data-sentry-component":"EditBlogPostSidebar","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:[(0,a.jsxs)("div",{className:lR.sidebarHeader,"data-testid":"edit-blog-post-sidebar-header",children:[(0,a.jsxs)("div",{className:lR.sidebarTitleRow,children:[(0,a.jsx)("h4",{id:"edit-blog-post-modal-title",className:lR.sidebarTitle,children:lH.title}),n&&(0,a.jsx)("span",{className:lR.savingIndicator,"data-testid":"autosave-indicator",children:lH.savingIndicator})]}),(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.PrimarySmall," ").concat(lR.headerDoneButton),onClick:p,disabled:o||s,"aria-label":lH.doneButton,style:{minWidth:72},"data-sentry-element":"Button","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:o?(0,a.jsx)("img",{src:"/img/small-spinner--white.gif",width:20,height:20,alt:""}):lH.doneButton})]}),(0,a.jsxs)("div",{className:lR.sidebarContent,"data-testid":"edit-blog-post-sidebar-content",children:[(0,a.jsxs)("div",{className:lR.fieldSection,children:[(0,a.jsxs)(L.A,{className:lR.fieldLabelRow,"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:[(0,a.jsx)(k.A,{className:"".concat(d.FontStyles.Regular," ").concat(lR.fieldLabel),"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:lH.postTitle}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.blogTitle,currentText:e.title,visible:S,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"EditBlogPostSidebar.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(tf.g,{type:"text","data-testid":"blog-post-title-input",autoFocus:!0,maxLength:tg.H.blogTitle,value:e.title,onFocus:()=>v(!0),onBlur:()=>v(!1),onChange:t=>{m({...e,title:t.target.value})},placeholder:lH.postTitlePlaceholder,"data-sentry-element":"SoloInput","data-sentry-source-file":"EditBlogPostSidebar.tsx"})})})]}),(0,a.jsxs)("div",{className:lR.fieldSection,children:[(0,a.jsxs)(L.A,{className:lR.fieldLabelRow,"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:[(0,a.jsx)(k.A,{className:"".concat(d.FontStyles.Regular," ").concat(lR.fieldLabel),"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:lH.authorName}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.blogAuthorName,currentText:e.authorName,visible:b,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"EditBlogPostSidebar.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(tf.g,{type:"text","data-testid":"blog-post-author-input",maxLength:tg.H.blogAuthorName,value:e.authorName,onFocus:()=>j(!0),onBlur:()=>j(!1),onChange:t=>{m({...e,authorName:t.target.value})},placeholder:lH.authorNamePlaceholder,"data-sentry-element":"SoloInput","data-sentry-source-file":"EditBlogPostSidebar.tsx"})})})]}),(0,a.jsxs)("div",{className:lR.fieldSection,children:[(0,a.jsx)(L.A,{className:lR.fieldLabelRow,"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(k.A,{className:"".concat(d.FontStyles.Regular," ").concat(lR.fieldLabel),"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:lH.mainImage})}),(0,a.jsxs)("div",{className:lR.imageContainer,"data-testid":"blog-post-image-container",children:[(0,a.jsx)("div",{className:lR.imageThumbnail,"data-testid":"blog-post-image-thumbnail",style:{backgroundImage:"url(".concat((0,N.getImageUrl)(e.image,N.ImageType.Small),")")}}),(0,a.jsx)("div",{className:"overlay ".concat(lR.imageOverlay),children:(0,a.jsxs)("div",{className:lR.imageButtonRow,children:[(0,a.jsx)(ov,{icon:(0,a.jsx)(oA,{}),label:lH.replaceImage,onClick:()=>T(!0),showDropShadow:!0,ariaLabel:lH.replaceImage,"data-testid":"blog-post-replace-image-btn","data-sentry-element":"DefaultButtonLeftIcon","data-sentry-source-file":"EditBlogPostSidebar.tsx"}),!(0,N.isEmptyImage)(e.image)&&(0,a.jsx)(ov,{icon:(0,a.jsx)(ib,{}),label:lH.crop,onClick:()=>A(!0),showDropShadow:!0,ariaLabel:lH.crop,"data-testid":"blog-post-crop-btn"})]})})]}),(0,a.jsx)(eu.c,{className:lR.transparentDivider,"data-sentry-element":"Divider","data-sentry-source-file":"EditBlogPostSidebar.tsx"}),(0,a.jsxs)(L.A,{className:lR.imagePropertyRow,"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:lH.style}),(0,a.jsx)(k.A,{className:"selector","data-testid":"blog-post-fill-fit-toggle","data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(ii,{fitStyle:t,onFitStyleSelected:t=>{g(t),e.image&&m({...e,image:{...e.image,fitStyle:t}})},"data-sentry-element":"ImageFitStyleSelector","data-sentry-source-file":"EditBlogPostSidebar.tsx"})})]})]}),(0,a.jsxs)("div",{className:lR.fieldSection,"data-testid":"blog-post-paragraph-section",children:[(0,a.jsxs)(L.A,{className:lR.fieldLabelRow,"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:[(0,a.jsx)(k.A,{className:"".concat(d.FontStyles.Regular," ").concat(lR.fieldLabel),"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:lH.paragraph}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.blogBody,currentCount:P,visible:w,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"EditBlogPostSidebar.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"EditBlogPostSidebar.tsx",children:(0,a.jsx)("div",{className:lR.richTextEditorContainer,children:(0,a.jsx)(rT,{htmlContent:e.body,onUpdateHtml:(t,n)=>{D(n.length),m({...e,body:t})},characterCountLimit:tg.H.blogBody,onFocus:()=>M(!0),onBlur:()=>M(!1),enableHeadings:!0,enableMedia:!0,enableTable:!0,enableBold:!0,enableItal
1ic:!0,enableLinks:!0,enableBullets:!0,maxHeight:"360px",setCurrentCount:D,bottomToolbar:(0,a.jsxs)(G.A,{className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(lR.expandButton),onClick:()=>{ew.o.designer.sections.blogFeed&&(0,ed.$s)(f,ew.o.designer.sections.blogFeed.expandEditorClick),F(!0)},children:[(0,a.jsx)(i_,{}),(0,a.jsx)("span",{style:{marginLeft:"8px"},children:lH.expandEditor})]}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"EditBlogPostSidebar.tsx"},"blog-post-body-".concat(e.id,"-").concat(R))})})})]})]}),I&&(0,a.jsx)(oe,{isOpen:I,onClosed:()=>T(!1),imageKeywords:e.imageKeywords||e.title||"blog post",selectedImage:e.image,onImageSelected:n=>{let a={...n,fitStyle:t};m({...e,image:a}),T(!1)}}),B&&(0,a.jsx)(iA,{isOpen:B,onClosed:()=>A(!1),aspectRatio:lA,image:e.image,imageKeywords:e.imageKeywords||e.title||"blog post",imageChangeEventName:"blog_post_image_crop",onImageEditingComplete:n=>{let a={...n,fitStyle:t};m({...e,image:a}),A(!1)}}),H&&(0,a.jsx)(i$,{isOpen:!0,onClosed:()=>F(!1),initialContent:e.body,onContentChange:t=>{m({...e,body:t})},onSaveContent:()=>{V(e=>e+1)},title:lH.expandedModalTitle,placeholder:void 0,maxLength:tg.H.blogBody,mode:"richText",saveButtonText:lH.doneButton,focusBorderColor:u.StandardColors.ColorViolet60,hideCancelButton:!0}),h&&(0,a.jsx)(lD,{isOpen:h,onContinueEditing:C,onDiscard:y,isDiscarding:x}),i&&(0,a.jsx)(lT,{onCloseAnyway:l,onTryAgain:c})]})}let lR={sidebar:(0,o.style)({width:390,minWidth:390,maxWidth:390,display:"flex",flexDirection:"column",height:"100%",borderLeft:"1px solid ".concat(u.StandardColors.ColorLightGray30),backgroundColor:u.StandardColors.ColorWhite}),sidebarContent:(0,o.style)({flex:1,overflowX:"hidden",overflowY:"auto",padding:u.Spacing.xLarge}),sidebarHeader:(0,o.style)({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:"".concat(u.Spacing.Large+u.Spacing.Micro,"px ").concat(u.Spacing.xLarge,"px"),gap:u.Spacing.Medium,borderBottom:"1px solid ".concat(u.StandardColors.ColorLightGray20),flexShrink:0}),sidebarTitleRow:(0,o.style)({display:"flex",flexDirection:"column",flex:1}),sidebarTitle:(0,o.style)({margin:0,marginTop:2,color:u.StandardColors.ColorDarkGray90,fontWeight:600}),savingIndicator:(0,o.style)({color:u.StandardColors.ColorDarkGray50,fontSize:"14px",fontStyle:"italic",marginTop:u.Spacing.xSmall}),headerDoneButton:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",height:u.Spacing.xxLarge,borderRadius:u.Spacing.Micro,paddingTop:u.Spacing.Small,paddingBottom:u.Spacing.Small,paddingLeft:u.Spacing.Large,paddingRight:u.Spacing.Large,flexShrink:0}),fieldSection:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginBottom:u.Spacing.Large})),fieldLabelRow:(0,o.style)({marginBottom:"".concat(u.Spacing.Micro,"px !important"),alignItems:"center"}),fieldLabel:(0,o.style)({color:"".concat(u.StandardColors.ColorDarkGray50," !important")}),imageContainer:(0,o.style)({position:"relative",width:"100%",borderRadius:u.Spacing.Micro,overflow:"hidden",backgroundColor:d.Colors.Secondary,boxShadow:u.BoxShadowStyles.innerXSmall,$nest:{"&:hover .overlay":{visibility:"visible",opacity:1}}}),imageThumbnail:(0,o.style)({height:150,backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat"}),imageOverlay:(0,o.style)({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"".concat(u.StandardColors.ColorDarkGray50,"50"),visibility:"hidden",opacity:0,transition:"visibility 0.2s, opacity 0.2s",borderRadius:u.Spacing.Micro}),imageButtonRow:(0,o.style)({display:"flex",gap:u.Spacing.Small,justifyContent:"center",alignItems:"center"}),transparentDivider:(0,o.style)({color:"transparent",marginBlock:u.Spacing.Micro}),imagePropertyRow:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",$nest:{".selector":{display:"flex",justifyContent:"flex-end"},".col":{alignItems:"center"}}})),richTextEditorContainer:(0,o.style)({width:"100%",$nest:{".editor-container":{minHeight:"220px",maxHeight:"440px",display:"flex",flexDirection:"column"},".tiptap-editor-content":{flex:1,overflow:"auto",minHeight:0},".rich-text-editor-bottom-toolbar":{borderTop:"1px solid ".concat(u.StandardColors.ColorLightGray20),padding:"".concat(u.Spacing.Small,"px"),display:"flex",justifyContent:"flex-start"}}}),expandButton:(0,o.style)({display:"flex",alignItems:"center",padding:"".concat(u.Spacing.Micro,"px ").concat(u.Spacing.Small,"px"),borderRadius:u.Spacing.Micro,color:u.StandardColors.ColorViolet60,$nest:{"&:hover":{color:"".concat(u.StandardColors.ColorDarkGray90," !important"),backgroundColor:"transparent !important"},"&:active":{color:"".concat(u.StandardColors.ColorDarkGray90," !important")}}})};function lV(e){let{isOpen:t,post:n,onClose:o,onExited:s}=e,[i,l]=(0,r.useState)(!1);(0,r.useEffect)(()=>{t&&l(!0)},[t]);let c=(0,r.useCallback)(()=>{l(!1),null==s||s()},[s]);return i?(0,a.jsx)(lM,{initialPost:n,onClose:o,"data-sentry-element":"EditBlogPostProvider","data-sentry-component":"EditBlogPostModal","data-sentry-source-file":"EditBlogPostModal.tsx",children:(0,a.jsx)(lW,{isOpen:t,onCloseAnimationEnd:c,"data-sentry-element":"EditBlogPostModalContent","data-sentry-source-file":"EditBlogPostModal.tsx"})}):null}function lW(e){let{isOpen:t,onCloseAnimationEnd:n}=e,[o,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>
1{if(t){let e=requestAnimationFrame(()=>s(!0));return()=>cancelAnimationFrame(e)}s(!1)},[t]),(0,a.jsx)(_.A,{isOpen:!0,autoFocus:!1,keyboard:!1,className:lE.modalContainer,modalClassName:lE.modalWrapper,contentClassName:lE.modalContent,backdropClassName:lE.backdrop,centered:!1,scrollable:!1,modalTransition:{timeout:100},backdropTransition:{timeout:100},returnFocusAfterClose:!1,"data-sentry-element":"Modal","data-sentry-component":"EditBlogPostModalContent","data-sentry-source-file":"EditBlogPostModal.tsx",children:(0,a.jsxs)(em.A,{className:lE.modalBody,"data-sentry-element":"ModalBody","data-sentry-source-file":"EditBlogPostModal.tsx",children:[(0,a.jsx)("div",{className:"".concat(lE.backdropOverlay," ").concat(o?lE.backdropVisible:""),"data-testid":"edit-blog-post-backdrop"}),(0,a.jsx)("div",{className:"".concat(lE.modal," ").concat(o?lE.modalVisible:""),"data-testid":"edit-blog-post-modal",role:"dialog","aria-modal":"true","aria-labelledby":"edit-blog-post-modal-title",onTransitionEnd:e=>{e.target!==e.currentTarget||"transform"!==e.propertyName||o||n()},style:{position:"fixed",top:"56px",right:"0px",bottom:"0px",left:"0px"},children:(0,a.jsxs)("div",{className:lE.twoColumnLayout,children:[(0,a.jsx)("div",{className:lE.previewArea,"data-testid":"edit-blog-post-preview",children:(0,a.jsx)(lP,{"data-sentry-element":"EditBlogPostPreview","data-sentry-source-file":"EditBlogPostModal.tsx"})}),(0,a.jsx)(lF,{"data-sentry-element":"EditBlogPostSidebar","data-sentry-source-file":"EditBlogPostModal.tsx"})]})})]})})}let lE={modalContainer:(0,o.style)({margin:0,padding:0,maxWidth:"100%",width:"100%",height:"100%"}),modalWrapper:(0,o.style)({display:"flex !important",alignItems:"flex-start",justifyContent:"center",margin:0,padding:0,maxWidth:"100%",width:"100%",height:"100%"}),modalContent:(0,o.style)({backgroundColor:"transparent",border:"none",boxShadow:"none",margin:0,padding:0,width:"100%",height:"100%",maxHeight:"100%"}),modalBody:(0,o.style)({padding:0,margin:0,width:"100%",height:"100%",position:"relative"}),backdrop:(0,o.style)({backgroundColor:"transparent",opacity:"1 !important"}),backdropOverlay:(0,o.style)({position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:1040,backgroundColor:"rgba(0, 0, 0, 0.5058823529)",opacity:0,transition:"opacity 200ms ease-out"}),backdropVisible:(0,o.style)({opacity:1}),modal:(0,o.style)({backgroundColor:u.StandardColors.ColorWhite,borderRadius:0,boxShadow:u.BoxShadowStyles.xLarge,display:"flex",flexDirection:"column",overflow:"hidden",zIndex:1050,transform:"translateY(100%)",transition:"transform ".concat(400,"ms ease-out")}),modalVisible:(0,o.style)({transform:"translateY(0)"}),twoColumnLayout:(0,o.style)({display:"flex",flexDirection:"row",flex:1,height:"100%",overflow:"hidden"}),previewArea:(0,o.style)({flex:1,display:"flex",flexDirection:"column",overflow:"hidden",backgroundColor:u.StandardColors.ColorLightGray05})};function lZ(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),{analytics:n}=(0,eL.S)(),[o,s]=(0,r.useState)(null),[i,l]=(0,r.useState)(null),[d,p]=(0,r.useState)(null),[m,u]=(0,r.useState)(!1),g=(0,r.useMemo)(()=>e.selectedSection,[e.selectedSection]),{blogPosts:y=[]}=g.props,C=c.D.views.designer.components.properties.sections.blogFeed.blogPostsPropertySection,{hasReachedBlogPostsLimit:f,getMaxAllowedBlogPostsCount:S}=(0,ap.o7)(),v=S()-y.length,b=(0,r.useCallback)(e=>{p(e),u(!0)},[]),{isGenerating:L,createBlogPost:k}=function(e){var t;let{blogFeedSection:n,onPostCreated:a}=e,[o,s]=(0,r.useState)(!1),{setSpinner:i}=(0,h.p6)(),{updateWebsiteSection:l,websiteSettings:d,setWebsiteSettings:p}=(0,j.Hb)(),{analytics:m}=(0,eL.S)(),{user:u}=(0,x.uM)(),{showPlanNotificationModal:g}=(0,ad.dp)(),{hasReachedBlogPostsLimit:y,hasReachedAIAssistedBlogPostsLimit:C}=(0,ap.o7)(),{pushToastMessage:f}=(0,K.dj)(),S=(0,r.useMemo)(()=>(null==n?void 0:n.props.blogPosts)||[],[n]),v=(0,r.useCallback)(e=>{let t=lp(d.businessName||"the business"),n=lp(d.businessActivities||"various services"),a=lp(d.businessLocation||"the local area"),o=e.length>0?" The blog already has posts titled: ".concat(e.map(e=>lp(e,200)).join(", "),". Create a post with a completely different topic, angle, and title. Also use different image_keywords than what would match those existing posts."):"";return"For a website named ".concat(t," based in ").concat(a," engaging in ").concat(n,', create a blog post with a title and 2 paragraphs of content, wrapped in p tags. The second paragraph should be preceded by an h3 heading, but the first paragraph should not have any heading. The blog post should be informative and engaging. Keep the total length under 2500 characters. Ensure that the "content" field in the response does NOT contain the suggested title, since the title should appear ONLY in the separate "title" field. For image_keywords, provide specific and unique keywords that would return a distinct image (avoid generic terms).').concat(o)},[d.businessName,d.businessActivities,d.businessLocation]),b=(0,r.useCallback)((e,t)=>{n&&l({...n,props:{...n.props,blogPosts:e}},t)},[n,l]);return{isGenerating:o,createBlogPost:(0,r.useCallback)(async()=>{var e,t,o;if(!n)return;if(y(S.length))return void g(i8.Z.ADD_BLOG_POST);let r=S.filter(e=>!!e.isAIAssisted).length,l=((null==u||null==(e=u.firebaseUser)?void 0:e.displayName)||"").slice(0,100);if(C(r)){(0,ed.$s)(m,ew.o.designer.sections.blogFeed.addBlankBlogPost);
1let e={id:(0,au.bz)(),title:"",body:"",image:N.EmptyImage,imageKeywords:"",authorName:l,date:new Date().toISOString(),isAIAssisted:!1};b([e,...S],{silent:!0}),null==a||a(e);return}(0,ed.$s)(m,ew.o.designer.sections.blogFeed.addBlogPost);let x=d.pregeneratedBlogPosts,j=null!=(t=d.pregeneratedBlogPostsUsedCount)?t:0;if(x&&j<x.length){let e={...x[j],id:(0,au.bz)(),date:new Date().toISOString(),authorName:((null==u||null==(o=u.firebaseUser)?void 0:o.displayName)||"Author").slice(0,100)},t={...n,props:{...n.props,blogPosts:[e,...S]}},r=d.sections.map(e=>e.id===t.id?t:e);p({...d,sections:r,pregeneratedBlogPostsUsedCount:j+1}),null==a||a(e);return}s(!0),i(!0,h.Is.High,c.D.views.designer.components.properties.sections.blogFeed.blogPostsPropertySection.spinnerMessage);try{let e=S.map(e=>e.title).filter(Boolean),t=await (0,ld.K)({docId:d.id,prompt:v(e),schema:lc._.BlogPost,genLanguage:d.language}),n=JSON.parse(t.result);if("string"!=typeof n.title||""===n.title.trim()||"string"!=typeof n.content||""===n.content.trim()||"string"!=typeof n.image_keywords)throw Error("Invalid AI response format");let o=(0,W.wrapBareTextInParagraphs)((0,W.sanitizeHtml)(n.content)),r=o.length>2500?o.slice(0,2497)+"...":o,s=function(e){let t=new Set;for(let n of e)if(n.image){let e=lm(n.image);e&&t.add(e)}return t}(S),i=[d.businessActivities||"","professional business office"].filter(Boolean),c=await ly(n.image_keywords,s,i);lm(c)||f({toastType:lh.C.Neutral,text:"Could not find an image for this post. You can add one manually."});let p={id:(0,au.bz)(),title:n.title.slice(0,200),body:r,image:c,imageKeywords:n.image_keywords,authorName:l,date:new Date().toISOString(),isAIAssisted:!0},m=[p,...S];b(m),null==a||a(p)}catch(e){console.error("Failed to generate blog post:",e),f({toastType:lh.C.Error,text:"Failed to generate blog post. Please try again."})}finally{s(!1),i(!1)}},[n,S,y,C,g,m,d.id,d.businessActivities,d.pregeneratedBlogPosts,d.pregeneratedBlogPostsUsedCount,p,v,b,a,null==u||null==(t=u.firebaseUser)?void 0:t.displayName,f,i])}}({blogFeedSection:g,onPostCreated:e=>{b(e)}}),{duplicateBlogPost:M}=function(e){let{blogFeedSection:t,onDuplicationComplete:n}=e,[a,o]=(0,r.useState)(!1),{updateWebsiteSection:s}=(0,j.Hb)(),{analytics:i}=(0,eL.S)(),{showPlanNotificationModal:l}=(0,ad.dp)(),{hasReachedBlogPostsLimit:c}=(0,ap.o7)(),d=(0,r.useMemo)(()=>t.props.blogPosts||[],[t]),p=(0,r.useCallback)(e=>{s({...t,props:{...t.props,blogPosts:e}})},[t,s]),m=(0,r.useCallback)(e=>{let t;if(a)return;if(c(d.length))return void l(i8.Z.ADD_BLOG_POST);o(!0);let r=e.title.match(/^\(Copy(?: of Copy)*\) /);if(r){let n=e.title.slice(r[0].length),a=r[0].slice(1,-2);t="(Copy of ".concat(a,") ").concat(n)}else t="(Copy) ".concat(e.title);p([{...e,id:(0,au.bz)(),title:t,date:new Date().toISOString()},...d]),(0,ed.$s)(i,ew.o.designer.sections.blogFeed.duplicateBlogPost),o(!1),null==n||n()},[a,d,c,l,i,p,n]);return{isDuplicating:a,duplicateBlogPost:m}}({blogFeedSection:g,onDuplicationComplete:()=>{s(null)}});return(0,a.jsxs)(sP,{title:C.title,planModalReason:i8.Z.ADD_BLOG_POST,"data-sentry-element":"PropertySection","data-sentry-component":"BlogPostsPropertySection","data-sentry-source-file":"BlogPostsPropertySection.tsx",children:[(0,a.jsx)(ll,{surface:ew.o.soloGrowAdUnit.surfaces.blogSidebar,"data-sentry-element":"SoloGrowAdUnit","data-sentry-source-file":"BlogPostsPropertySection.tsx"}),(0,a.jsxs)(w.A,{className:lG.container,"data-sentry-element":"Container","data-sentry-source-file":"BlogPostsPropertySection.tsx",children:[(0,a.jsxs)("div",{className:lG.addSection,children:[(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.blogFeed.addBlogPost,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"BlogPostsPropertySection.tsx",children:L?(0,a.jsx)(i7,{message:C.spinnerMessage}):(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:lG.addPost,onClick:k,children:C.addBlogPost})}),!L&&v<=0&&(0,a.jsx)(sf,{className:lG.remainingTag,remainingItems:v,singularMessage:"",pluralMessage:""})]}),(0,a.jsx)("div",{className:lG.postsList,children:y.map(e=>(0,a.jsxs)("div",{className:lG.postItemContainer,children:[(0,a.jsx)(lv,{post:e,onClick:()=>{b(e)}}),(0,a.jsx)("div",{className:lG.menuContainer,children:(0,a.jsx)(lf,{post:e,isOpen:o===e.id,onToggle:()=>{var t;s(o===(t=e.id)?null:t)},onEdit:()=>{s(null),b(e)},onDuplicate:()=>M(e),onDelete:()=>{s(null),l(e)},canDuplicate:!f(y.length)})})]},e.id))}),i&&(0,a.jsx)(i6,{isOpen:!!i,post:i,onCancel:function(){l(null)},onDelete:function(){var e;i&&(e=y.filter(e=>e.id!==i.id),t({...g,props:{...g.props,blogPosts:e}}),(0,ed.$s)(n,ew.o.designer.sections.blogFeed.deleteBlogPost),l(null))}}),d&&(0,a.jsx)(lV,{isOpen:m,post:d,onClose:function(){u(!1)},onExited:function(){p(null)}})]})]})}let lG={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Micro+u.Spacing.xSmall})),addPost:(0,o.style)({$nest:{".icon svg":{width:20,height:20}}}),addSection:"d-flex flex-row align-items-end",remainingTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4}),postsList:(0,o.style)({marginTop:u.Spacing.Medium}),postItemContainer:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center"}),menuContainer:(0,o.style)({marginLeft:"auto",flexShrink:0})};function lO(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection,r=c.D.views.designer.components.properties.sections.blogFeed.backgroundPropertySection,{props:s}=o;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i0,{"data-sentry-element":"BlogFeedTextPropertySection","data-sentry-source-file":"BlogFeedSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"BlogFeedSectionProperties.tsx"}),(0,a.jsx)(iX,{"data-sentry-element":"BlogFeedPostElementsPropertySection","data-sentry-source-file":"BlogFeedSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"BlogFeedSectionProperties.tsx"}),(0,a.jsx)(lZ,{"data-sentry-element":"BlogPostsPropertySection","data-sentry-source-file":"BlogFeedSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"BlogFeedSectionProperties.tsx"}),(0,a.jsxs)("div",{className:u.ContainerStyles.NoSpacing,children:[(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.blogFeed.backgroundChange,resolvedTheme:n,themeColor:s.themeColor,selectedValue:s.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...s,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"BlogFeedSectionProperties.tsx"}),(0,a.jsx)("p",{className:lz.colorHelperText,children:r.colorHelperText})]})]})}let lz={colorHelperText:(0,o.style)({fontSize:11,lineHeight:"1.45em",color:u.StandardColors.ColorDarkGray05,marginTop:u.Spacing.Medium,marginBottom:0})};function l$(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection,s=c.D.views.designer.components.properties.sections.codeEmbed,i=c.D.views.designer.components.properties.headingPropertySection.heading,{props:l}=o,[p,m]=(0,r.useState)(!1),[u,g]=(0,r.useState)(0),[y,x]=(0,r.useState)(!1);return(0,a.jsxs)(w.A,{className:lU.container,"data-sentry-element":"Container","data-sentry-component":"CodeEmbedSectionProperties","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:s.description})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:i}),(0,a.jsx)(k.A,{xs:"auto",className:"ms-auto text-end","data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.sectionHeading,currentText:l.title,visible:y,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"CodeEmbedSectionProperties.tsx"})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(tf.g,{type:"text",value:l.title,maxLength:tg.H.sectionHeading,onFocus:()=>{x(!0)},onBlur:()=>{x(!1)},onChange:e=>t({...o,props:{...o.props,title:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"CodeEmbedSectionProperties.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:s.code}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.codeEmbed.learnMoreClick,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>{(0,r8.V)(s.supportLink)},"data-sentry-element":"Button","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:s.supportLinkText})})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(rT,{htmlContent:l.code,onUpdateHtml:(e,n)=>t({...o,props:{...o.props,code:n}}),characterCountLimit:tg.H.codeEmbedCode,placeholder:s.codePlaceholder,enableBullets:!1,enableLinks:!1,enableHeadings:!1,enableBold:!1,enableItalic:!1,enableSupSubScripts:!1,textOnly:!0,enableCodeHighlighting:!0,bottomToolbar:(0,a.jsxs)(G.A,{className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(lU.expandButton),onClick:()=>m(!0),children:[(0,a.jsx)(i_,{}),(0,a.jsx)("span",{style:{marginLeft:"8px"},children:s.expandEditor})]}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"CodeEmbedSectionProperties.tsx"},u)})}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"CodeEmbedSectionProperties.tsx"}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CodeEmbedSectionProperties.tsx",children:(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.codeEmbed.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"CodeEmbedSectionProperties.tsx"})})}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"CodeEmbedSectionProperties.tsx"}),p&&(0,a.jsx)(i$,{isOpen:!0,onClosed:()=>m(!1),initialContent:l.code||"",onSaveContent:e=>{t({...o,props:{...o.props,code:e}}),g(e=>e+1)},title:s.expandedModalTitle,inputLabel:s.code,placeholder:s.codePlaceholder,supportLink:s.supportLink,supportLinkText:s.supportLinkText,analyticsEventName:ew.o.designer.sections.codeEmbed.expandEditorClick,maxLength:tg.H.codeEmbedCode,mode:"code",customRteOptions:{enableCodeHighlighting:!0},saveButtonText:s.saveButton})]})}let lU={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row.mt-1":{marginTop:"".concat(u.Spacing.Micro,"px !important")},".row:not(:first-child)":{marginTop:"".concat(u.Spacing.Large,"px")},".input:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px")},".editor-container":{height:"342px"}}})),expandButton:(0,o.style)({padding:0,textDecoration:"none",display:"inline-flex",alignItems:"center"})};function l_(e){let t=c.D.views.designer.components.properties.headingPropertySection,[n,o]=(0,r.useState)(!1);return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"HeadingPropertySection","data-sentry-source-file":"HeadingPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:lq.container,"data-sentry-element":"Container","data-sentry-source-file":"HeadingPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"HeadingPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"HeadingPropertySection.tsx",children:t.heading}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"HeadingPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.sectionHeading,currentText:e.value,visible:n,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"HeadingPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"HeadingPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"HeadingPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",maxLength:tg.H.sectionHeading,onFocus:()=>o(!0),onBlur:()=>o(!1),...e,"data-sentry-element":"SoloInput","data-sentry-source-file":"HeadingPropertySection.tsx"})})})]})})}let lq={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{$nest:{"&:not(:first-child)":{marginTop:"".concat(d.Spacing.Small,"px !important"),alignItems:"center"}}}}}))};function lQ(){var e;let t=c.D.views.designer.components.properties.sections.contact.contactButtonPropertySection,{websiteSettings:n,designerSettings:o,updateWebsiteSection:s}=(0,j.Hb)(),{language:i}=n,l=(0,W.getDefaultContactFormStrings)(i),[d,p]=(0,r.useState)(!1),[m,u]=(0,r.useState)(!1),g=o.selectedSection,y=g.props;function x(){return y.buttonLabel!==l.contactUs}return(0,r.useEffect)(()=>{y.successMessage||(y.successMessage=l.messageSent,s({...g}))},[]),(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"ContactButtonPropertySection","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:lK.container,"data-sentry-element":"Container","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:[(0,a.jsxs)(L.A,{className:lK.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:"justify-content-between align-items-center","data-sentry-element":"Col","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:[(0,a.jsxs)("span",{children:[" ",t.button.buttonLabel]}),(0,a.jsx)(th,{className:"pe-3",maxLimit:tg.H.buttonLabels,currentText:y.buttonLabel,visible:d,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ContactButtonPropertySection.tsx"})]}),(0,a.jsxs)(k.A,{className:"position-relative","data-sentry-element":"Col","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:[(0,a.jsx)(tf.g,{type:"text",className:"".concat(x()?"pe-5":""),value:y.buttonLabel,maxLength:tg.H.buttonLabels,onFocus:()=>p(!0),onBlur:()=>p(!1),onChange:e=>{y.buttonLabel=e.target.value,s({...g})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ContactButtonPropertySection.tsx"}),x()&&(0,a.jsx)(nA,{onReset:()=>{y.buttonLabel=l.contactUs,s({...g})}})]})]}),(0,a.jsx)(L.A,{className:lK.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:(0,a.jsx)(n2,{labelText:t.button.buttonStyle,selectedButtonStyle:(null==(e=y.buttonStyleProperties)?void 0:e.buttonStyle)||N.ButtonStyle.Solid,onButtonStyleChanged:e=>s({...g,props:{...g.props,buttonStyleProperties:{...g.props.buttonStyleProperties||{},buttonStyle:e}}}),"data-sentry-element":"ButtonStyleSelectionDropdown","data-sentry-source-file":"ContactButtonPropertySection.tsx"})}),(0,a.jsxs)(L.A,{className:lK.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:(0,a.jsx)("div",{className:"",children:t.button.successMessageLabel})}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.contactFormSuccessMessage,currentText:y.successMessage||"",visible:m,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ContactButtonPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:(0,a.jsxs)(k.A,{className:"position-relative","data-sentry-element":"Col","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:[(0,a.jsx)(tf.g,{className:"".concat(y.successMessage!==l.messageSent?"pe-5":""),type:"text",value:y.successMessage,placeholder:l.messageSent,maxLength:tg.H.contactFormSuccessMessage,onFocus:()=>u(!0),onBlur:()=>u(!1),onChange:e=>{y.successMessage=e.target.value,s({...g})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ContactButtonPropertySection.tsx"}),y.successMessage!==l.messageSent&&(0,a.jsx)(nA,{onReset:()=>{y.successMessage=l.messageSent,s({...g})}})]})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ContactButtonPropertySection.tsx",children:(0,a.jsx)("div",{className:lK.subordinateText,children:t.button.successMessageSubordinate})})]})})}let lK={container:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," d-flex flex-column"),rowContainer:(0,o.style)({paddingTop:u.Spacing.Small-2,paddingBottom:u.Spacing.Small-2,alignItems:"center"}),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular),subordinateText:"".concat(d.FontStyles.Subordinate," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray05,marginTop:"".concat(u.Spacing.Micro,"px !important"),marginLeft:0,padding:0,$nest:{"&.error":{color:u.StandardColors.ColorRed60}}}))};function lY(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"EnvelopeSubmit","data-sentry-source-file":"EnvelopeSubmit.tsx",children:[(0,a.jsx)("path",{d:"M5.03154 14.1634C5.03643 14.1636 5.04131 14.164 5.04619 14.1642L5.08525 14.1667C5.09344 14.1675 5.10156 14.1689 5.10967 14.1699C5.1132 14.1704 5.11672 14.171 5.12025 14.1716C5.21572 14.1854 5.30587 14.2153 5.38799 14.2586C5.39228 14.2609 5.39676 14.2628 5.40101 14.2651L5.44496 14.2912C5.44941 14.294 5.45358 14.2972 5.45798 14.3001C5.46494 14.3047 5.47147 14.31 5.47832 14.3148
1C5.49374 14.3256 5.50927 14.3363 5.52389 14.3482C5.52836 14.3518 5.5325 14.3558 5.53691 14.3595C5.55101 14.3715 5.56433 14.3842 5.5776 14.397C5.58119 14.4004 5.58546 14.4032 5.589 14.4067C5.5936 14.4113 5.59755 14.4167 5.60202 14.4214C5.61144 14.4313 5.62076 14.4412 5.62969 14.4515C5.63755 14.4606 5.64507 14.4698 5.65247 14.4792C5.66043 14.4892 5.66776 14.4997 5.67526 14.5101C5.6842 14.5225 5.69313 14.5348 5.7013 14.5475C5.70512 14.5535 5.70903 14.5594 5.7127 14.5654C5.72173 14.5804 5.72991 14.5957 5.73792 14.611C5.74393 14.6225 5.74953 14.6342 5.75501 14.646C5.75905 14.6547 5.7635 14.6632 5.76722 14.672C5.77372 14.6874 5.77872 14.7034 5.78431 14.7192C5.78745 14.7282 5.79043 14.7371 5.79326 14.7461C5.79817 14.7617 5.80309 14.7773 5.8071 14.7933C5.80873 14.7998 5.81051 14.8063 5.81198 14.8128C5.81602 14.8308 5.8197 14.8489 5.82256 14.8674C5.82416 14.8776 5.82542 14.888 5.82663 14.8983C5.82783 14.9085 5.82825 14.9189 5.82907 14.9292C5.83041 14.946 5.832 14.9628 5.83232 14.9797C5.83243 14.9851 5.83314 14.9905 5.83314 14.9959V18.3293C5.83314 18.7895 5.46004 19.1626 4.99981 19.1626C4.53957 19.1626 4.16647 18.7895 4.16647 18.3293V17.0077L2.25567 18.9185C1.93023 19.2439 1.40272 19.2439 1.07728 18.9185C0.751923 18.593 0.75187 18.0655 1.07728 17.7401L2.98809 15.8293H1.66647C1.20624 15.8293 0.833139 15.4562 0.833139 14.9959C0.833222 14.5358 1.20629 14.1626 1.66647 14.1626H4.99981L5.03154 14.1634Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"EnvelopeSubmit.tsx"}),(0,a.jsx)("path",{d:"M17.4998 15.4128V4.57943C17.4998 4.34931 17.3133 4.16276 17.0831 4.16276H2.91647C2.68635 4.16276 2.49981 4.34931 2.49981 4.57943V10.8294C2.49981 11.2897 2.12671 11.6628 1.66647 11.6628C1.20624 11.6628 0.833139 11.2897 0.833139 10.8294V4.57943C0.833139 3.42883 1.76588 2.49609 2.91647 2.49609H17.0831C18.2337 2.49609 19.1665 3.42883 19.1665 4.57943V15.4128C19.1665 16.5634 18.2337 17.4961 17.0831 17.4961H9.16647C8.70623 17.4961 8.33314 17.123 8.33314 16.6628C8.33314 16.2025 8.70623 15.8294 9.16647 15.8294H17.0831C17.3133 15.8294 17.4998 15.6429 17.4998 15.4128Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"EnvelopeSubmit.tsx"}),(0,a.jsx)("path",{d:"M0.951954 5.40055C1.17395 5.03069 1.63744 4.89552 2.01966 5.07503L2.09535 5.11491L9.99981 9.85693L17.9043 5.11491L17.9799 5.07503C18.3622 4.89552 18.8257 5.03069 19.0477 5.40055C19.2697 5.77057 19.1712 6.24397 18.8328 6.49674L18.762 6.54395L10.4287 11.5439C10.1977 11.6825 9.91619 11.7 9.67266 11.596L9.57093 11.5439L1.2376 6.54395L1.1668 6.49674C0.828363 6.24397 0.729947 5.77057 0.951954 5.40055Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"EnvelopeSubmit.tsx"})]})}function lX(){let e=c.D.views.designer.components.properties.sections.contact.contactSubmissionEmailPropertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),{user:o}=(0,x.uM)(),s=t.selectedSection,i=s.props,[l,d]=(0,r.useState)(!0);function p(){return!!i.contactEmail&&!l}return(0,r.useEffect)(()=>{i.contactEmail&&(0,n_.DT)(i.contactEmail)||!i.contactEmail?d(!0):i.contactEmail&&!(0,n_.DT)(i.contactEmail)&&d(!1)},[i.contactEmail]),(0,a.jsx)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"ContactEmailPropertySection","data-sentry-source-file":"ContactEmailPropertySection.tsx",children:(0,a.jsx)(w.A,{className:lJ.container,"data-sentry-element":"Container","data-sentry-source-file":"ContactEmailPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:lJ.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"ContactEmailPropertySection.tsx",children:[(0,a.jsx)("div",{className:"mb-1 p-0 ".concat(lJ.descriptionText),children:e.contactFormEmail}),(0,a.jsxs)(tF.A,{className:"p-0 m-0","data-sentry-element":"InputGroup","data-sentry-source-file":"ContactEmailPropertySection.tsx",children:[(0,a.jsx)(tR.A,{"data-sentry-element":"InputGroupText","data-sentry-source-file":"ContactEmailPropertySection.tsx",children:(0,a.jsx)(lY,{"data-sentry-element":"EnvelopeSubmit","data-sentry-source-file":"ContactEmailPropertySection.tsx"})}),(0,a.jsx)(tf.g,{type:"text",value:i.contactEmail,placeholder:(null==o?void 0:o.firebaseUser.email)?null==o?void 0:o.firebaseUser.email:"",invalid:p(),valid:!p(),onBlur:e=>{var t;(t=e.target.value)&&d((0,n_.DT)(t))},maxLength:tg.H.email,onChange:e=>{i.contactEmail=e.target.value,n({...s,props:{...s.props,contactEmail:e.target.value}})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ContactEmailPropertySection.tsx"})]}),(0,a.jsx)("div",{className:"".concat(lJ.subordinateText," ").concat(p()?"error":""),children:p()?e.emailSubordinateError:e.emailSubordinate})]})})})}let lJ={container:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({marginTop:u.Spacing.Micro,marginBottom:u.Spacing.Micro+u.Spacing.xSmall,$nest:{"input::-webkit-contacts-auto-fill-button":{width:0},".input-group-text":{color:d.Colors.Subdued}}})),rowContainer:(0,o.style)({paddingTop:u.Spacing.Small-2,paddingBottom:u.Spacing.Small-2,alignItems:"center"}),descriptionText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray50})),subordinateText:"".concat(d.FontStyles.Subordinate," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray05,marginTop:"".concat(u.Spacing.Micro,"px !important"),marginLeft:0,padding:0,$nest:{"&.error":{color:u.StandardColors.ColorRed60}}}))};var l1=n(8384),l0=n(82087);function l3(e){let{id:t,children:n,className:o,onClick:r}=e,{attributes:s,listeners:i,setNodeRef:l,transform:c,transition:d,isDragging:p}=(0,l1.gl)({id:t}),m={transform:l0.Ks.Transform.toString(c),transition:c?d:void 0};return(0,a.jsx)("div",{ref:l,style:m,...s,className:o,onClick:r,tabIndex:-1,"data-sentry-component":"SortableItem","data-sentry-source-file":"SortableItem.tsx",children:n({listeners:null!=i?i:{},isDragging:p})})}var l2=n(35192);let l6=e=>{let{transform:t,containerNodeRect:n,draggingNodeRect:a}=e;if(!n||!a)return{...t,x:0};let o=Math.min(Math.max(t.y,n.top-a.top),n.bottom-a.bottom);return{...t,x:0,y:o}};function l5(e){let{items:t,onDragEnd:n,children:o}=e,s=(0,l2.FR)((0,l2.MS)(l2.AN),(0,l2.MS)(l2.uN,{coordinateGetter:l1.JR})),i=(0,r.useRef)(null),l=(0,r.useRef)(null),c=(0,r.useCallback)(e=>(!l.current&&i.current&&(l.current=function(e){var t;let n=null!=(t=null==e?void 0:e.parentElement)?t:null;for(;n;){let{overflowY:e}=getComputedStyle(n);if("auto"===e||"scroll"===e)return n;n=n.parentElement}return null}(i.current)),e===l.current),[]);return(0,a.jsx)("div",{ref:i,"data-sentry-component":"SortableList","data-sentry-source-file":"SortableList.tsx",children:(0,a.jsx)(l2.Mp,{sensors:s,collisionDetection:l2.fp,onDragEnd:n,autoScroll:{canScroll:c},modifiers:[l6],"data-sentry-element":"DndContext","data-sentry-source-file":"SortableList.tsx",children:(0,a.jsx)(l1.gB,{items:t,strategy:l1._G,"data-sentry-element":"SortableContext","data-sentry-source-file":"SortableList.tsx",children:o})})})}function l4(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"DragHandle","data-sentry-source-file":"DragHandle.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 6.05001C9.35604 6.05001 10.05 5.35605 10.05 4.50001C10.05 3.64397 9.35604 2.95001 8.5 2.95001C7.64396 2.95001 6.95 3.64397 6.95 4.50001C6.95 5.35605 7.64396 6.05001 8.5 6.05001ZM15.5 6.05001C16.356 6.05001 17.05 5.35605 17.05 4.50001C17.05 3.64397 16.356 2.95001 15.5 2.95001C14.644 2.95001 13.95 3.64397 13.95 4.50001C13.95 5.35605 14.644 6.05001 15.5 6.05001ZM15.5 21.05C16.356 21.05 17.05 20.3561 17.05 19.5C17.05 18.644 16.356 17.95 15.5 17.95C14.644 17.95 13.95 18.644 13.95 19.5C13.95 20.3561 14.644 21.05 15.5 21.05ZM8.5 21.05C9.35604 21.05 10.05 20.3561 10.05 19.5C10.05 18.644 9.35604 17.95 8.5 17.95C7.64396 17.95 6.95 18.644 6.95 19.5C6.95 20.3561 7.64396 21.05 8.5 21.05ZM8.5 13.55C9.35604 13.55 10.05 12.8561 10.05 12C10.05 11.144 9.35604 10.45 8.5 10.45C7.64396 10.45 6.95 11.144 6.95 12C6.95 12.8561 7.64396 13.55 8.5 13.55ZM15.5 13.55C16.356 13.55 17.05 12.8561 17.05 12C17.05 11.144 16.356 10.45 15.5 10.45C14.644 10.45 13.95 11.144 13.95 12C13.95 12.8561 14.644 13.55 15.5 13.55Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"DragHandle.tsx"})})}function l7(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Envelope","data-sentry-source-file":"Envelope.tsx",children:[(0,a.jsx)("path",{d:"M0.952931 5.40054C1.17493 5.03068 1.63841 4.89551 2.02064 5.07502L2.09632 5.1149L10.0008 9.85692L17.9052 5.1149L17.9809 5.07502C18.3632 4.89551 18.8266 5.03068 19.0486 5.40054C19.2706 5.77056 19.1722 6.24396 18.8338 6.49673L18.763 6.54393L10.4297 11.5439C10.1987 11.6825 9.91717 11.7 9.67363 11.596L9.57191 11.5439L1.23858 6.54393L1.16777 6.49673C0.829339 6.24396 0.730923 5.77056 0.952931 5.40054Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Envelope.tsx"}),(0,a.jsx)("path",{d:"M17.5008 4.58333C17.5008 4.35321 17.3142 4.16667 17.0841 4.16667H2.91745C2.68733 4.16667 2.50078 4.35321 2.50078 4.58333V15.4167C2.50078 15.6468 2.68733 15.8333 2.91745 15.8333H17.0841C17.3142 15.8333 17.5008 15.6468 17.5008 15.4167V4.58333ZM19.1674 15.4167C19.1674 16.5673 18.2347 17.5 17.0841 17.5H2.91745C1.76686 17.5 0.834116 16.5673 0.834116 15.4167V4.58333C0.834116 3.43274 1.76686 2.5 2.91745 2.5H17.0841C18.2347 2.5 19.1674 3.43274 19.1674 4.58333V15.4167Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Envelope.tsx"})]})}function l9(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"PersonInfo","data-sentry-source-file":"PersonInfo.tsx",children:[(0,a.jsx)("path",{d:"M5.34775 11.667C7.51167 11.6671 8.88305 12.6444 9.69247 13.6406C10.089 14.1287 10.3459 14.6149 10.505 14.9785C10.5655 15.1169 10.6351 15.2692 10.6866 15.4248C10.759 15.6434 10.5761 15.833 10.3458 15.833H9.25595C9.13463 15.833 9.02735 15.7576 8.97861 15.6465C8.86429 15.3852 8.67878 15.0374 8.39853 14.6924C7.85389 14.0221 6.9332 
113.3331 5.34775 13.333C3.76199 13.333 2.84068 14.022 2.29599 14.6924C2.01574 15.0374 1.83023 15.3852 1.71591 15.6465C1.66716 15.7576 1.55989 15.833 1.43857 15.833H0.345793C0.121364 15.833 -0.0546813 15.6418 0.0157148 15.4287C0.052951 15.316 0.109665 15.1611 0.189543 14.9785C0.348662 14.6149 0.605509 14.1287 1.00204 13.6406C1.81152 12.6444 3.18354 11.667 5.34775 11.667ZM5.34677 4.16699C7.18772 4.16699 8.68075 5.65905 8.68075 7.5C8.68075 9.34095 7.18772 10.833 5.34677 10.833C3.50604 10.8327 2.01376 9.34079 2.01376 7.5C2.01376 5.65921 3.50604 4.16725 5.34677 4.16699ZM5.34677 5.83301C4.42651 5.83327 3.68075 6.57968 3.68075 7.5C3.68075 8.42032 4.42651 9.16673 5.34677 9.16699C6.26724 9.16699 7.01376 8.42047 7.01376 7.5C7.01376 6.57953 6.26724 5.83301 5.34677 5.83301Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"PersonInfo.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.666 8.33333C11.666 7.8731 12.0391 7.5 12.4993 7.5H19.166C19.6263 7.5 19.9993 7.8731 19.9993 8.33333C19.9993 8.79357 19.6263 9.16667 19.166 9.16667H12.4993C12.0391 9.16667 11.666 8.79357 11.666 8.33333ZM11.666 11.6667C11.666 11.2064 12.0391 10.8333 12.4993 10.8333H16.666C17.1263 10.8333 17.4993 11.2064 17.4993 11.6667C17.4993 12.1269 17.1263 12.5 16.666 12.5H12.4993C12.0391 12.5 11.666 12.1269 11.666 11.6667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"PersonInfo.tsx"})]})}function l8(){return(0,a.jsx)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Phone","data-sentry-source-file":"Phone.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.82087 2.5046C5.54493 2.51187 5.25324 2.59648 4.94636 2.75825C4.54503 2.96981 4.15233 3.29628 3.80069 3.67434C3.55326 3.94036 3.33696 4.22032 3.16248 4.48078C3.10681 4.88269 3.10141 5.3242 3.15005 5.79948C3.3795 8.04141 4.79618 10.8659 7.26507 13.3348C8.78846 14.8582 10.4587 15.991 12.0509 
116.6846C13.5856 17.3531 14.9972 17.5927 16.119 17.4374C16.5948 17.1184 17.1213 16.6683 17.513 16.1555C17.8819 15.6727 18.0799 15.2048 18.0913 14.775C17.3287 13.9873 16.3389 13.3001 15.0231 12.763C14.7032 13.0638 14.1741 13.5967 13.4934 14.4097C13.0435 14.9471 12.2828 15.0685 11.6901 14.735C9.27004 13.3732 7.22181 11.3291 5.86298 8.90381L5.86298 8.90381C5.53149 8.31212 5.65228 7.55343 6.18823 7.10368L6.18827 7.10364C6.56639 6.78638 6.8839 6.50204 7.14558 6.25647C7.44579 5.97474 7.67258 5.74398 7.83314 5.57302C7.52044 4.80709 7.1576 4.15337 6.75569 3.59177C6.46516 3.1858 6.15257 2.82567 5.82087 2.5046ZM4.16916 1.28389C4.77406 0.965026 5.48576 0.763942 6.25254 0.862446C6.43955 0.886471 6.61267 0.967462 6.74979 1.09155C7.24027 1.53543 7.6962 2.04216 8.11104 2.62182C8.60752 3.31556 9.04182 4.10913 9.40628 5.01747L9.4063 5.01751C9.63553 5.58888 9.50029 6.22711 9.09667 6.66191L9.0966 6.66198C8.90872 6.86433 8.64166 7.13812 8.28609 7.4718C8.0382 7.70442 7.74734 7.96612 7.41033 8.25299C8.58663 10.2833 10.3138 12.008 12.3431 13.1884C13.0412 12.3667 13.5901 11.8193 13.9335 11.5L13.9338 11.4998C14.3687 11.0957 15.0072 10.9606 15.5786 11.1898C17.2498 11.8603 18.5256 12.7647 19.5044 13.8461C19.6285 13.9833 19.7095 14.1564 19.7336 14.3434C19.8747 15.4413 19.4061 16.4228 18.8374 17.1673C18.2631 17.9191 17.5138 18.529 16.884 18.9281C16.7817 18.9929 16.6686 19.0362 16.5508 19.0567C14.9846 19.3283 13.1766 18.9929 11.3853 18.2126C9.58392 17.4279 7.74312 16.1699 6.08655 14.5133C3.42982 11.8566 1.77104 8.69517 1.49204 5.96917C1.42424 5.30671 1.43711 4.66068 1.54322 4.04903C1.56365 3.93126 1.60695 3.81815 1.67178 3.71584C1.90949 3.3407 2.21732 2.9295 2.5803 2.53925C3.01648 2.07029 3.55412 1.6081 4.16916 1.28389ZM12.2164 13.3387C12.2161 13.339 12.2158 13.3394 12.2155 13.3398L12.2155 13.3398C12.2158 13.3394 12.2161 13.339 12.2164 13.3387Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Phone.tsx"})})}function ce(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"RequiredField","data-sentry-source-file":"RequiredField.tsx",children:(0,a.jsx)("path",{d:"M9.16602 5C9.62599 5.00018 9.99885 5.37303 9.99902 5.83301C9.99902 6.29314 9.6261 6.66682 9.16602 6.66699H2.91602C2.68601 6.66699 2.4992 6.85304 2.49902 7.08301V12.917C2.4992 13.147 2.68601 13.333 2.91602 13.333H17.082C17.312 13.333 17.4988 13.147 17.499 12.917V11.667C17.499 11.2069 17.8719 10.8332 18.332 10.833C18.7923 10.833 19.166 11.2068 19.166 11.667V12.917C19.1658 14.0674 18.2325 15 17.082 15H2.91602C1.76553 15 0.832207 14.0674 0.832031 12.917V7.08301C0.832208 5.93256 1.76553 5 2.91602 5H9.16602ZM15.416 1.97949C15.8761 1.97967 16.249 2.35237 16.249 2.8125V4.73242L18.0752 4.13867C18.5127 3.99677 18.9827 4.23642 19.125 4.67383C19.2672 5.11146 19.0274 5.58232 18.5898 5.72461L16.7637 6.31738L17.8926 7.87012C18.163 8.24241 18.0802 8.76366 17.708 9.03418C17.3357 9.30463 16.8145 9.22276 16.5439 8.85059L15.415 7.2959L14.2871 8.85059C14.0165 9.22251 13.4952 9.30448 13.123 9.03418C12.7511 8.76357 12.669 8.24231 12.9395 7.87012L14.0674 6.31641L12.2422 5.72461C11.8045 5.58239 11.5648 5.11154 11.707 4.67383C11.8494 4.23637 12.3193 3.9965 12.7568 4.13867L14.583 4.73242V2.8125C14.583 2.35226 14.9558 1.97949 15.416 1.97949Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"RequiredField.tsx"})})}function ct(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ShortText","data-sentry-source-file":"ShortText.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 8.33333C2.5 7.8731 2.8731 7.5 3.33333 7.5H16.6667C17.1269 7.5 17.5 7.8731 17.5 8.33333C17.5 8.79357 17.1269 9.16667 16.6667 9.16667H3.33333C2.8731 9.16667 2.5 8.79357 2.5 8.33333ZM2.5 11.6667C2.5 11.2064 2.8731 10.8333 3.33333 10.8333H12.2222C12.6825 10.8333 13.0556 11.2064 13.0556 11.6667C13.0556 12.1269 12.6825 12.5 12.2222 12.5H3.33333C2.8731 12.5 2.5 12.1269 2.5 11.6667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ShortText.tsx"})})}function cn(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ValidationCheckField","data-sentry-source-file":"ValidationCheckField.tsx",children:(0,a.jsx)("path",{d:"M9.16602 4.99945C9.62589 4.99963 9.99868 5.37262 9.99902 5.83246C9.99902 6.29259 9.6261 6.66626 9.16602 6.66644H2.91602C2.68611 6.66644 2.49937 6.85263 2.49902 7.08246V12.9164C2.4992 13.1464 2.68601 13.3325 2.91602 13.3325H17.082C17.312 13.3325 17.4988 13.1464 17.499 12.9164V9.16644C17.4992 8.70645 17.872 8.33263 18.332 8.33246C18.7922 8.33246 19.1658 8.70635 19.166 9.16644V12.9164C19.1658 14.0669 18.2325 14.9994 17.082 14.9994H2.91602C1.76553 14.9994 0.832207 14.0669 0.832031 12.9164V7.08246C0.832376 5.93216 1.76563 4.99945 2.91602 4.99945H9.16602ZM17.748 2.93207C18.0735 2.60663 18.6013 2.60663 18.9268 2.93207C19.2519 3.25744 19.2519 3.78441 18.9268 4.1098L15.1719 8.24554C14.8465 8.57092 14.3186 8.57081 13.9932 8.24554L12.1865 6.4389C11.8611 6.11346 11.8611 5.58563 12.1865 5.26019C12.512 4.93477 13.0398 4.93476 13.3652 5.26019L14.582 6.47796L17.748 2.93207Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ValidationCheckField.tsx"})})}function ca(e){let{item:t,onItemChanged:n,...o}=e,s=c.D.views.designer.components.properties.sections.contact.contactFormFieldComposeDialog,{websiteSettings:i}=(0,j.Hb)(),[l,d]=(0,r.useState)(t),[p,m]=(0,r.useState)(t),[g,y]=(0,r.useState)(!1),[x,h]=(0,r.useState)([]),[C,f]=(0,r.useState)();return(0,r.useEffect)(()=>{let e,n=(0,W.getDefaultContactFormFields)(i.language).find(e=>e.id===t.id);if(n){m(n),e={icon:cr(n.id),text:n.title};let t=[];
1n.validator&&n.validator===N.ContactFormFieldValidator.Required?t.push("Required"):n.validator&&n.validator===N.ContactFormFieldValidator.EmailRequired&&(t.push("Required"),t.push("ValidityCheckEmail")),h(t)}else e={icon:cr(""),text:s.shortAnswer};f(e)},[]),(0,a.jsx)(ty.y,{title:s.title,onSave:async()=>{n(l)},canDismiss:!nF(l.title),...o,className:"".concat(cs.dialog),autoFocus:!1,centered:!0,onKeyDown:e=>{"Enter"===e.key&&n(l)},"data-sentry-element":"ModalDialog","data-sentry-component":"ComposeFormFieldComposeDialog","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:[(0,a.jsx)(L.A,{className:"mb-4","data-sentry-element":"Row","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:s.description})}),(0,a.jsxs)(L.A,{className:cs.inputRow,"data-sentry-element":"Row","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:[C&&(0,a.jsx)(k.A,{className:"position-relative col-auto",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,children:[(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{className:"mt-2 mb-1",children:s.fieldType})}),(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{className:"position-relative col-auto",children:(0,a.jsx)(J.x,{target:(0,a.jsxs)("div",{className:cs.fieldTypeCard,children:[(0,a.jsx)("div",{className:"icon",children:C.icon}),(0,a.jsx)("div",{className:"text",children:C.text})]}),title:s.fieldCardTooltip})})})]})}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:[(0,a.jsxs)(L.A,{className:"mt-2 mb-1 w-100 p-0","data-sentry-element":"Row","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:s.fieldTitle}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.contactFormFieldTitle,currentText:l.title,visible:g,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:(0,a.jsxs)(k.A,{className:"position-relative","data-sentry-element":"Col","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:[(0,a.jsx)(tf.g,{className:"label ".concat(l.title!==t.title?"pe-5-important":""),type:"text",value:l.title,autoFocus:!0,maxLength:tg.H.contactFormFieldTitle,onFocus:()=>y(!0),onBlur:()=>y(!1),onChange:e=>{d({...l,title:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx"}),l.title!==t.title&&!t.isCustom&&(0,a.jsx)(nA,{onReset:()=>d({...l,title:p.title})})]})})]})})]}),x.length>0&&x.map(e=>(0,a.jsx)(co,{type:e},e))]})})}function co(e){let{type:t}=e,n=c.D.views.designer.components.properties.sections.contact.contactFormFieldComposeDialog.disclaimerAttributes,o=function(e){switch(e){case"Required":default:return{icon:(0,a.jsx)(ce,{}),text:n.required};case"ValidityCheckEmail":return{icon:(0,a.jsx)(cn,{}),text:n.validityCheck}}}(t);return(0,a.jsxs)(L.A,{className:cs.fieldDisclaimerRow,"data-sentry-element":"Row","data-sentry-component":"FieldDetailDisclaimer","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:[(0,a.jsx)(k.A,{className:"position-relative col-auto","data-sentry-element":"Col","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:(0,a.jsx)("div",{className:"icon",children:o.icon})}),(0,a.jsx)(k.A,{className:"position-relative col-auto","data-sentry-element":"Col","data-sentry-source-file":"ComposeFormFieldComposeDialog.tsx",children:(0,a.jsx)("div",{className:"text",children:o.text})})]})}function cr(e){var t;return null!=(t=({email:(0,a.jsx)(l7,{}),name:(0,a.jsx)(l9,{}
1),phone:(0,a.jsx)(l8,{}),message:(0,a.jsx)(rt,{})})[e])?t:(0,a.jsx)(ct,{})}let cs={dialog:(0,o.style)({width:520,$nest:{".modal-body":{$nest:{".header":{marginBottom:u.Spacing.xLarge}}}}}),inputRow:(0,o.style)({columnGap:u.Spacing.Large,$nest:{"&:not(:last-child)":{marginBottom:u.Spacing.xLarge},".pe-5-important":{paddingRight:"3rem !important"}}}),fieldTypeCard:(0,o.style)({paddingInline:u.Spacing.Small-1,paddingBlock:u.Spacing.Micro-1,display:"flex",flexDirection:"row",alignItems:"center",columnGap:u.Spacing.Micro,backgroundColor:u.StandardColors.ColorLightGray30,borderWidth:1,borderStyle:"solid",borderColor:u.StandardColors.ColorLightGray40,borderRadius:u.Spacing.Micro,height:34,$nest:{".text":{paddingInline:u.Spacing.Micro,color:u.StandardColors.ColorDarkGray50},".icon":{display:"flex",justifyContent:"center",alignItems:"center",height:"20px",width:"20px",color:u.StandardColors.ColorDarkGray05},"&:hover":{cursor:"pointer"}}}),fieldDisclaimerRow:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",columnGap:u.Spacing.Micro,height:u.Spacing.xLarge,marginTop:(0,u.important)(u.Spacing.Small),$nest:{".text":{paddingInline:u.Spacing.Micro,color:u.StandardColors.ColorDarkGray50},".icon":{display:"flex",justifyContent:"center",alignItems:"center",height:"20px",width:"20px",color:u.StandardColors.ColorDarkGray05},"&:not(:last-child)":{marginBottom:u.Spacing.Small}}})};function ci(){let e=c.D.views.designer.components.properties.sections.contact.contactFormFieldsPropertySection,{analytics:t}=(0,eL.S)(),{designerSettings:n,updateWebsiteSection:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(),l=n.selectedSection,d=l.props,p=cc();function m(e){i(e)}return(0,a.jsx)(sP,{title:e.title,titleClassname:cd.title,"data-sentry-element":"PropertySection","data-sentry-component":"ContactFormFieldsPropertySection","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:[(0,a.jsx)(l5,{items:p.map(e=>e.id+e.title),onDragEnd:function(e){let{active:n,over:a}=e;if(!a||n.id===a.id)return;let r=p.findIndex(e=>e.id+e.title===n.id),s=p.findIndex(e=>e.id+e.title===a.id),i=(0,l1.be)(p,r,s);o({...l,props:{...d,fields:i}}),(0,ed.$s)(t,ew.o.designer.sections.contact.fieldsList.reorder)},"data-sentry-element":"SortableList","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:(0,a.jsx)("div",{children:p.map((e,t)=>(0,a.jsx)(l3,{id:e.id+e.title,children:n=>{let{listeners:o,isDragging:r}=n;return(0,a.jsx)(w.A,{className:u.ContainerStyles.NoSpacing,children:(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(cl,{item:e,onClickEdit:m,dragHandleProps:o,isDragging:r})})},"".concat(e.title).concat(t))})}},e.id+e.title))})}),tg.H.maxContactFormFieldItems>p.length?(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.contact.fieldsList.add,children:(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:cd.addSection,onClick:function(){i({id:Date.now().toString(),isCustom:!0,title:"",propertyName:""})},children:e.addItem})}
1):null,s&&(0,a.jsx)(ca,{isOpen:!!s,onClosed:()=>i(void 0),item:s,onItemChanged:function(e){let t=p.findIndex(t=>t.id===e.id);-1===t?p.push(e):p.splice(t,1,e),o({...l,props:{...d,fields:p}}),i(void 0)}})]})})}function cl(e){let{item:t,onClickEdit:n,dragHandleProps:o,isDragging:r}=e,s=ew.o.designer.sections.contact.fieldsList,{designerSettings:i,updateWebsiteSection:l}=(0,j.Hb)(),d=cc(),p=i.selectedSection,m=p.props;return(0,a.jsx)(w.A,{className:cd.fieldItem,"data-sentry-element":"Container","data-sentry-component":"ContactFormFieldItem","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:"d-flex align-items-center w-100","data-sentry-element":"Row","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto drag-icon ".concat(r?"dragging":""),...o,"data-sentry-element":"Col","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:(0,a.jsx)(l4,{"data-sentry-element":"DragHandle","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx"})}),(0,a.jsx)(k.A,{className:"text-col","data-sentry-element":"Col","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:(0,a.jsx)("div",{className:"title-container",children:(0,a.jsx)("span",{className:"title-text",onClick:()=>n(t),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),n(t))},role:"button",tabIndex:0,children:t.title})})}),d.length>1&&!t.validator&&(0,a.jsx)(eG.T,{eventName:s.delete,children:(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",onClick:()=>{let e=d.filter(e=>e!==t);l({...p,props:{...m,fields:e}})},children:(0,a.jsx)("div",{className:"scale-button",children:(0,a.jsx)(aB.r,{})})}),title:c.D.components.tooltips.delete})}),(0,a.jsx)(eG.T,{eventName:s.edit,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx",children:(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",onClick:()=>n(t),children:(0,a.jsx)("div",{className:"scale-button",children:(0,a.jsx)(O.f,{})})}),title:c.D.components.tooltips.edit,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"ContactFormFieldsPropertySection.tsx"})})]})})}function cc(){let{websiteSettings:e,designerSettings:t}=(0,j.Hb)(),{language:n}=e;return[...t.selectedSection.props.fields||(0,W.getDefaultContactFormFields)(n)]}let cd={fieldItem:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({overflow:"hidden",paddingBlock:u.Spacing.Micro,$nest:{"& .body, & .title":{marginRight:u.Spacing.Small},".row":{overflow:"hidden"},".scale-button":{display:"flex",alignItems:"center",maxHeight:u.Spacing.Large+u.Spacing.Micro,maxWidth:u.Spacing.Large+u.Spacing.Micro},".drag-icon":{marginRight:u.Spacing.Small,color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro,paddingBlock:"".concat(u.Spacing.xSmall,"px !important"),transition:"background-color 0.2s ease, opacity 0.2s ease",$nest:{"&:hover":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20)},"&.dragging":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")},"&:active":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")}}},".col-btn":{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",height:u.Spacing.xxLarge,width:u.Spacing.xxLarge,color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro,$nest:{"&:hover":{backgroundColor:d.Colors.SecondaryHover},"&:active":{backgroundColor:"".concat(d.Colors.SecondaryPressed," !important")},"&:not(:last-child)":{marginRight:u.Spacing.Micro}}},".text-col":{display:"flex",flexDirection:"column",overflow:"hidden",color:u.StandardColors.ColorDarkGray50,$nest:{".title-container":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},".title-text":{cursor:"pointer"},".body":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:u.StandardColors.ColorDarkGray05}}}}})),addSection:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginTop:u.Spacing.Small,$nest:{".icon svg":{width:20,height:20}}})),title:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray50}))};function cp(){var e;let{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),[o,s]=(0,r.useState)(!1),i=t.selectedSection,l=i.props,d=ew.o.designer.sections.contact,p=c.D.views.designer.components.properties.sections.contact.contactInfoPropertySection,[m,u]=(0,r.useState)(!0);(0,r.useEffect)(()=>{(l.businessEmail&&(0,n_.DT)(l.businessEmail)||!l.businessEmail)&&u(!0)},[l.businessEmail]);let g=null!=(e=i.props.otherInfo)?e:"";return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"ContactInfoPropertySection","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:cm.container,"data-sentry-element":"Container","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:[(0,a.jsxs)("div",{className:"input-container",children:[(0,a.jsxs)(L.A,{className:"title","data-sentry-element":"Row","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:p.businessEmailAddress}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(eG.T,{allowDefault:!0,eventName:d.businessEmailToggle,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:l.displayBusinessEmail,onChange:e=>{l.displayBusinessEmail=e.target.checked,n({...i})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ContactInfoPropertySection.tsx"})})})})]}),l.displayBusinessEmail&&(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:l.businessEmail,maxLength:tg.H.email,invalid:!!l.businessEmail&&!m,onBlur:e=>{var t;(t=e.target.value)&&u((0,n_.DT)(t))},onChange:e=>{l.businessEmail=e.target.value,n({...i})}})})})]}),(0,a.jsxs)("div",{className:"input-container",children:[(0,a.jsxs)(L.A,{className:"title","data-sentry-element":"Row","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:p.businessPhone}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(eG.T,{allowDefault:!0,eventName:d.businessPhoneToggle,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:l.displayPhone,onChange:e=>{l.displayPhone=e.target.checked,n({...i})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ContactInfoPropertySection.tsx"})})})})]}),l.displayPhone&&(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:l.phone,maxLength:tg.H.phoneNumber,onChange:e=>{l.phone=e.target.value,n({...i})}})})})]}),(0,a.jsxs)("div",{className:"input-container",children:[(0,a.jsxs)(L.A,{className:"other_details title","data-sentry-element":"Row","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:"text-nowrap","data-sentry-element":"Col","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:p.otherDetails}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.otherContactDetails,currentText:(0,W.sanitizeHtml)(g,{allowedTags:[]}),visible:o,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ContactInfoPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ContactInfoPropertySection.tsx",children:(0,a.jsx)(rT,{htmlContent:g,onFocus:()=>s(!0),onBlur:()=>s(!1),onUpdateHtml:e=>{n({...i,props:{...i.props,otherInfo:e}})},characterCountLimit:tg.H.otherContactDetails,enableBullets:!1,customEditorStyle:cu,"data-sentry-element":"RichTextEditor","data-sentry-source-file":"ContactInfoPropertySection.tsx"})})})]})]})})}let cm={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Medium,$nest:{".row.title":{alignItems:"center",padding:"3px 0"},".form-switch":{marginBottom:0,minHeight:"18px",$nest:{'& input[type="checkbox"]':{marginTop:"1.25px"}}},".input-container:not(:last-child)":{marginBottom:u.Spacing.Large},".input-container":{marginBottom:u.Spacing.Large},'input[type="text"]':{marginTop:u.Spacing.Micro},".other_details":{marginBottom:u.Spacing.Micro}}}))},cu={minHeight:"44px !important"};function cg(e){let{fetchOptions:t,onSelect:n,initialQuery:o,debounceDelay:s=300}=e,[i,l]=(0,r.useState)(!1),[d,p]=(0,r.useState)(!1),[m,g]=(0,r.useState)([]),[y,x]=(0,r.useState)(o||""),[h,C]=(0,r.useState)(!1),f=c.D.components.asyncSearchDropdown,{debouncedFunction:S}=(0,tW.d7)(async e=>{let n=await t(e)||[];g(n),C(!n.length),p(!1)},s);async function v(e){x(e.target.value),p(!0),C(!1),l(!0),S(e.target.value)}let b=[];return b=d?[(0,a.jsx)(oM.A,{className:"text-wrap",disabled:!0,children:f.loading},"loading")]:y&&h?[(0,a.jsx)(oM.A,{className:"text-wrap",disabled:!0,children:f.noneFound},"none-found")]:m.map(e=>{let{id:t,label:o}=e;return(0,a.jsx)(oM.A,{className:"text-wrap",onClick:()=>(function(e){let{id:t,label:a}=e;x(a),n({id:t,label:a})})({id:t,label:o}),children:o},t)}),(0,a.jsxs)(ow.A,{isOpen:i&&b.length>0,toggle:()=>l(!i),className:"w-100","data-sentry-element":"Dropdown","data-sentry-component":"AsyncSearchDropdown","data-sentry-source-file":"AsyncSearchDropdown.tsx",children:[(0,a.jsx)(oL.A,{tag:"div","data-sentry-element":"DropdownToggle","data-sentry-source-file":"AsyncSearchDropdown.tsx",children:(0,a.jsx)(aY,{type:"text",placeholder:"Search...",value:y,onChange:v,icon:(0,a.jsx)(a1,{}),style:{paddingRight:u.Spacing.xLarge+u.Spacing.xSmall},"data-sentry-element":"SearchInput","data-sentry-source-file":"AsyncSearchDropdown.tsx"})}),(0,a.jsx)(ok.A,{className:"w-100","data-sentry-element":"DropdownMenu","data-sentry-source-file":"AsyncSearchDropdown.tsx",children:b})]})}var cy=n(91601),cx=n(77148);function ch(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props,r=c.D.views.designer.components.properties.sections.contact.contactMapPro
1pertySection;async function s(e){let a=await (0,cx.HI)(e);t({...n,props:{...n.props,address:e.description,addressLocation:a.location}})}async function i(e){if(e.length<=5)return[];let t=await (0,cy.P)({address:e});return t.addresses?t.addresses.map(e=>({id:e.placeId,label:e.description})):[]}return(0,a.jsx)(sP,{title:r.title,rightTitleContent:(0,a.jsx)(eG.T,{allowDefault:!0,eventName:ew.o.designer.sections.contact.mapToggle,children:(0,a.jsx)(iv.A,{switch:!0,children:(0,a.jsx)(tf.g,{type:"switch",checked:o.displayMap,onChange:e=>{o.displayMap=e.target.checked,t({...n})}})})}),"data-sentry-element":"PropertySection","data-sentry-component":"ContactMapPropertySection","data-sentry-source-file":"ContactMapPropertySection.tsx",children:o.displayMap&&(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,children:[(0,a.jsx)(L.A,{className:"mt-1",children:(0,a.jsx)(k.A,{children:r.businessLocation})}),(0,a.jsx)(L.A,{className:"mt-1",children:(0,a.jsx)(k.A,{children:(0,a.jsx)(cg,{fetchOptions:i,onSelect:e=>s({placeId:e.id,description:e.label}),initialQuery:o.address})})})]})})}function cC(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l_,{value:o.props.title,onChange:e=>{t({...o,props:{...o.props,title:e.target.value}})},"data-sentry-element":"HeadingPropertySection","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(cp,{"data-sentry-element":"ContactInfoPropertySection","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(lX,{"data-sentry-element":"ContactEmailPropertySection","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(ci,{"data-sentry-element":"ContactFormFieldsPropertySection","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(lQ,{"data-sentry-element":"ContactButtonPropertySection","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(ch,{"data-sentry-element":"ContactMapPropertySection","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.contact.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"ContactSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ContactSectionProperties.tsx"})]})}function cf(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props,r=o.alignment||N.Alignment.Fill,s=c.D.views.designer.components.properties.sections.footer.footerLayoutPropertySection;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"FooterLayoutPropertySection","data-sentry-source-file":"FooterLayoutPropertySection.tsx",children:(0,a.jsx)(w.A,{className:"".concat(cv.container),"data-sentry-element":"Container","data-sentry-source-file":"FooterLayoutPropertySection.tsx",children:(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"FooterLayoutPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.SemiBold,"data-sentry-element":"Col","data-sentry-source-file":"FooterLayoutPropertySection.tsx",children:s.title}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FooterLayoutPropertySection.tsx",children:(0,a.jsx)(cS,{eventName:ew.o.designer.sections.footer.layoutChange,selectedValue:r,onValueChanged:e=>{o.alignment=e,t({...n})},"data-sentry-element":"FooterAlignmentDropdown","data-sentry-source-file":"FooterLayoutPropertySection.tsx"})})]})})})}function cS(e){let t=c.D.views.designer.components.properties.sections.footer.footerLayoutPropertySection;return(0,a.jsx)(nT.V,{...e,values:[N.Alignment.Fill,N.Alignment.Center],itemTemplate:e=>(0,a.jsxs)("div",{className:cv.dropdown,children:[(0,a.jsx)("div",{className:"icon",children:e===N.Alignment.Center?(0,a.jsx)(ip,{}):(0,a.jsx)(im,{})}),(0,a.jsx)("div",{className:"text",children:e===N.Alignment.Center?t.centered:t.fullWidth})]},e),"data-sentry-element":"DropdownSelector","data-sentry-component":"FooterAlignmentDropdown","data-sentry-source-file":"FooterLayoutPropertySection.tsx"})}let cv={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"}}})),dropdown:"".concat(u.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flexDirection:"row",color:d.Colors.Subdued,$nest:{".icon > svg":{width:u.Spacing.Medium+u.Spacing.Small,height:u.Spacing.Medium+u.Spacing.Small,marginRight:u.Spacing.Small},".text":{marginRight:u.Spacing.Small}}}))};function cb(e){let{propertyEnabled:t,setPropertyEnabled:n,title:o,subtitle:r,subtitleTooltip:s,subtitleWarning:i,onClickEditButton:l,toggleDisabled:d=!1,titleClassname:p,children:m,editEventName:u,toggleEventName:g,paidFeature:y=!1,planModalReason:x}=e,h=c.D.views.designer.components.properties.propertySectionWithToggle,{ownerBillingStatus:C,isLoaded:f,showPlanNotificationModal:S}=(0,ad.dp)(),v=y&&!C.isPro&&!C.isGrow||d,b=(0,a.jsxs)(a.Fragment,{children:[t&&l&&(0,a.jsx)(eG.T,{eventName:u,allowDefault:!0,children:(0,a.jsx)(G.A,{className:cj.editButton,onClick:l,children:h.edit})}),f&&(0,a.jsx)(eG.T,{eventName:g,allowDefault:!0,children:(0,a.jsx)(iv.A,{switch:!0,onClick:()=>y&&v&&!C.isPro&&!C.isGrow&&x&&S(x),children:(0,a.jsx)(tf.g,{type:"switch",checked:t,onChange:e=>{n(e.currentTarget.checked)},disabled:v})})})]});return(0,a.jsx)(sP,{title:o,subtitle:r,subtitleTooltip:s,subtitleWarning:i,rightTitleContent:b,titleClassname:p,paidFeature:y,planModalReason:x,"data-sentry-element":"PropertySection","data-sentry-component":"PropertySectionWithToggle","data-sentry-source-file":"PropertySectionWithToggle.tsx",children:m})}let cj={editButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginRight:d.Spacing.Large}))};function cw(e){let{showSocialMediaLinks:t,setShowSocialMediaLinks:n,eventNames:o,titleClassname:s,socialMediaLinks:i,setSocialMediaLinks:l,hasSavedLinks:d,disableAds:p}=e,m=c.D.views.designer.components.properties.sections.socialNetworkPropertySection,[u,g]=(0,r.useState)(!1),y=t&&d,x=[...i].sort().map(e=>e.socialMediaType).join(", ");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(cb,{editEventName:o.edit,toggleEventName:o.toggle,onClickEditButton:()=>g(!0),propertyEnabled:y,setPropertyEnabled:function(e){e&&!d&&g(!0),n(e)},title:m.socialNetworkLinks,subtitle:y?x:m.socialNetworkLinksHint,titleClassname:s,"data-sentry-element":"PropertySectionWithToggle","data-sentry-source-file":"SocialNetworkPropertySection.tsx"}),!p&&(0,a.jsx)(ll,{surface:ew.o.soloGrowAdUnit.surfaces.socialSidebar}),u&&(0,a.jsx)(tQ,{isOpen:!0,onClosed:()=>g(!1),socialMediaLinks:i,setSocialMediaLinks:l})]})}function cL(e){let{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),o=t.selectedSection,s=o.props,i=c.D.views.designer.components.properties.sections.footer.copyrightTextSelectionDialog,[l,d]=(0,r.useState)(s.copyrightText||""),[p,m]=(0,r.useState)(s.addCopyrightYear),[u,g]=(0,r.useState)(!1);return(0,a.jsxs)(ty.y,{title:i.title,onSave:async()=>{s.copyrightText=l,s.addCopyrightYear=p,n({...o})},...e,className:"".concat(ck.container),"data-sentry-element":"ModalDialog","data-sentry-component":"CopyrightTextSelectionDialog","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:i.copyrightAndCurrentYear}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:p,onChange:e=>{m(e.currentTarget.checked)},"data-sentry-element":"SoloInput","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx"})})})]}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx"}),(0,a.jsxs)(L.A,{className:"additional-text-row","data-sentry-element":"Row","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:i.additionalText}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.copyrightText,currentText:l,visible:u,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",placeholder:i.additionalTextPlaceholder,value:l,onCh
1ange:e=>{d(e.currentTarget.value)},maxLength:tg.H.copyrightText,onFocus:()=>g(!0),onBlur:()=>g(!1),"data-sentry-element":"SoloInput","data-sentry-source-file":"CopyrightTextSelectionDialog.tsx"})})})]})}let ck={container:(0,o.style)({width:390,$nest:{".modal-body":{maxHeight:"unset"},".additional-text-row":{marginBottom:u.Spacing.Small}}})};function cM(){let e=c.D.views.designer.components.properties.sections.footer.footerLinksPropertySection,t=ew.o.designer.sections.footer,{designerSettings:n,updateWebsiteSection:o,websiteSettings:s,setWebsiteSettings:i}=(0,j.Hb)(),{isLoggedIn:l}=(0,x.uM)(),p=n.selectedSection,m=p.props,[u,g]=(0,r.useState)(!1),y=!!(s.socialMediaLinks&&s.socialMediaLinks.length),h=(m.addCopyrightYear?e.copyrightYear.replace("{year}",new Date().getFullYear().toString())+" ":"")+m.copyrightText;return(0,a.jsxs)(w.A,{className:cP.container,"data-sentry-element":"Container","data-sentry-component":"FooterLinksPropertySection","data-sentry-source-file":"FooterLinksPropertySection.tsx",children:[(0,a.jsx)(cw,{eventNames:t.socialMediaLinks,showSocialMediaLinks:m.showSocialMediaLinks,setShowSocialMediaLinks:e=>{m.showSocialMediaLinks=e,o({...p})},titleClassname:d.FontStyles.SemiBold,socialMediaLinks:s.socialMediaLinks,setSocialMediaLinks:e=>{i({...s,socialMediaLinks:e})},hasSavedLinks:y,"data-sentry-element":"SocialNetworkPropertySection","data-sentry-source-file":"FooterLinksPropertySection.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FooterLinksPropertySection.tsx"}),(0,a.jsx)(cb,{editEventName:t.legalText.edit,toggleEventName:t.legalText.toggle,title:e.legalText,subtitle:h,subtitleTooltip:h,propertyEnabled:m.addCopyright,setPropertyEnabled:e=>{m.addCopyright=e,o({...p})},onClickEditButton:()=>g(!0),titleClassname:d.FontStyles.Regular,"data-sentry-element":"PropertySectionWithToggle","data-sentry-source-file":"FooterLinksPropertySection.tsx"}),u&&(0,a.jsx)(cL,{isOpen:!0,onClosed:()=>g(!1)}),l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{}),(0,a.jsx)(cb,{editEventName:ew.o.designer.sections.footer.editMadeWithSolo,propertyEnabled:!!m.hideMadeWithSolo,setPropertyEnabled:e=>{m.hideMadeWithSolo=e,o({...p})},title:e.hideMadeWithSolo,titleClassname:d.FontStyles.Regular,toggleEventName:ew.o.designer.sections.footer.toggleMadeWithSolo,paidFeature:!0,planModalReason:ad.Zh.REMOVE_BADGE})]})]})}let cP={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row:not(:last-child)":{marginBottom:u.Spacing.Large}}})),editButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginRight:u.Spacing.Large}))};function cN(){return(0,a.jsx)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Minus","data-sentry-source-file":"Minus.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4375 9.16663C13.8977 9.16663 14.2708 9.53972 14.2708 9.99996C14.2708 10.4602 13.8977 10.8333 13.4375 10.8333C9.21623 10.8333 10.5011 10.8333 6.77083 10.8333C6.3106 10.8333 5.9375 10.4602 5.9375 9.99996C5.9375 9.53972 6.3106 9.16663 6.77083 9.16663C11.0166 9.16663 9.69764 9.16663 13.4375 9.16663Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Minus.tsx"})})}function cD(e){let{size:t,maxSize:n,onSizeChanged:o,onSizeChangedAnalyticsEventName:r,defaultSize:s,customText:i}=e,l=c.D.views.designer.components.properties.sizeRangeSelector;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"SizeSlider","data-sentry-source-file":"SizeSlider.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"SizeSlider.tsx",children:i||l.size}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"SizeSlider.tsx",children:(0,a.jsxs)("div",{className:"d-flex flex-row ".concat(cI.sizeSlider),children:[(0,a.jsx)(cN,{"data-sentry-element":"Minus","data-sentry-source-file":"SizeSlider.tsx"}),(0,a.jsx)(iP,{min:1,max:n,step:1,value:t||s,onChange:e=>{o(parseInt(e.target.value,10))},onChangeAnalyticsEventName:r,"data-sentry-element":"RangeSliderControl","data-sentry-source-file":"SizeSlider.tsx"}),(0,a.jsx)(o0,{"data-sentry-element":"Plus","data-sentry-source-file":"SizeSlider.tsx"})]})})]})}let cI={sizeSlider:(0,o.style)({columnGap:u.Spacing.Micro,color:u.StandardColors.ColorDarkGray05})};function cT(){let e=c.D.views.designer.components.properties.sections.footer.footerLogoPropertySection,{setDesignerSettings:t,designerSettings:n,websiteSettings:o,scrollToSection:r}=(0,j.Hb)(),s=o.sections.find(e=>e.type===N.WebsiteSectionType.Header);return(0,a.jsx)(sP,{title:e.title,rightTitleContent:(0,a.jsx)("div",{className:cA.rightContent,children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.footer.editLogoInHeader,children:(0,a.jsx)(G.A,{className:cA.button,onClick:function(){t({...n,selectedSection:s,showProperties:!0}),r(s.id)},children:e.editInHeader})})}),"data-sentry-element":"PropertySection","data-sentry-component":"FooterLogoProperties","data-sentry-source-file":"FooterLogoPropertySection.tsx",children:(0,a.jsx)(cB,{"data-sentry-element":"FooterLogoSizeSlider","data-sentry-source-file":"FooterLogoPropertySection.tsx"})})}function cB(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props;
1return(0,a.jsx)(w.A,{className:cA.logoSliderContainer,"data-sentry-element":"Container","data-sentry-component":"FooterLogoSizeSlider","data-sentry-source-file":"FooterLogoPropertySection.tsx",children:(0,a.jsx)(cD,{size:o.logoSize,defaultSize:N.Size.xxSmall,maxSize:N.Size.xxLarge,onSizeChanged:e=>t({...n,props:{...n.props,logoSize:e}}),"data-sentry-element":"SizeSlider","data-sentry-source-file":"FooterLogoPropertySection.tsx"})})}let cA={logoSliderContainer:(0,o.style)({marginTop:u.Spacing.Large,display:"flex",flexDirection:"column",rowGap:u.Spacing.Large,$nest:{"& .col":{paddingInline:0}}}),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular),rightContent:(0,o.style)({display:"flex",flexDirection:"row",columnGap:u.Spacing.Large})};function cH(e){let{size:t=20}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"DocStack","data-sentry-source-file":"DocStack.tsx",children:(0,a.jsx)("path",{d:"M21 0.999603C22.1044 0.999604 22.9998 1.89522 23 2.9996V11.9996C23 13.1042 22.1046 13.9996 21 13.9996H17.5V16.4996C17.5 17.6042 16.6046 18.4996 15.5 18.4996H12V20.9996C12 22.1042 11.1046 22.9996 10 22.9996H3C1.89543 22.9996 1 22.1042 1 20.9996V11.9996C1.00021 10.8952 1.89556 9.9996 3 9.9996H6.5V7.4996C6.50021 6.39521 7.39556 5.4996 8.5 5.4996H12V2.9996C12.0002 1.89522 12.8956 0.999603 14 0.999603H21ZM3 20.9996H10V18.4996H8.5C7.39543 18.4996 6.5 17.6042 6.5 16.4996V11.9996H3V20.9996ZM8.5 7.4996V16.4996H15.5V13.9996H14C12.8954 13.9996 12 13.1042 12 11.9996V7.4996H8.5ZM14 11.9996H21V2.9996H14V11.9996Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"DocStack.tsx"})})}function cF(e){let{size:t=24}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"PageSection","data-sentry-source-file":"PageSection.tsx",children:(0,a.jsx)("path",{d:"M19 1C20.1046 1 21 1.89543 21 3V4C21 4.55228 20.5523 5 20 5C19.4477 5 19 4.55228 19 4V3H2V21H19V20C19 19.4477 19.4477 19 20 19C20.5523 19 21 19.4477 21 20V21C21 22.1046 20.1046 23 19 23H2C0.895431 23 9.39479e-07 22.1046 0 21V3C5.22207e-06 1.89544 0.895435 1 2 1H19ZM21.5 7C22.8807 7 24 8.11929 24 9.5V14.5C24 15.8807 22.8807 17 21.5 17H7.5C6.11929 17 5 15.8807 5 14.5V9.5C5 8.11929 6.11929 7 7.5 7H21.5ZM7.5 9C7.22386 9 7 9.22386 7 9.5V14.5C7 14.7761 7.22386 15 7.5 15H21.5C21.7761 15 22 14.7761 22 14.5V9.5C22 9.22386 21.7761 9 21.5 9H7.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"PageSection.tsx"})})}function cR(e){let{dimensions:t=u.Spacing.Large+u.Spacing.Micro}=e;return(0,a.jsx)("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Sections","data-sentry-source-file":"Sections.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41927 1.91663C2.26868 1.91663 1.33594 2.84937 1.33594 3.99996V9.83329C1.33594 10.9839 2.26868 11.9166 3.41927 11.9166H17.5859C18.7365 11.9166 19.6693 10.9839 19.6693 9.83329V3.99996C19.6693 2.84937 18.7365 1.91663 17.5859 1.91663H3.41927ZM3.00261 3.99996C3.00261 3.76984 3.18915 3.58329 3.41927 3.58329H17.5859C17.8161 3.58329 18.0026 3.76984 18.0026 3.99996V9.83329C18.0026 10.0634 17.8161 10.25 17.5859 10.25H3.41927C3.18915 10.25 3.00261 10.0634 3.00261 9.83329V3.99996ZM18.0026 17.75C18.0026 18.2102 18.3757 18.5833 18.8359 18.5833C19.2962 18.5833 19.6693 18.2102 19.6693 17.75V15.6666C19.6693 14.516 18.7365 13.5833 17.5859 13.5833L3.41927 13.5833C2.26868 13.5833 1.33594 14.516 1.33594 15.6666V17.75C1.33594 18.2102 1.70903 18.5833 2.16927 18.5833C2.62951 18.5833 3.0026 18.2102 3.0026 17.75L3.0026 15.6666C3.0026 15.4365 3.18915 15.25 3.41927 15.25L17.5859 15.25C17.8161 15.25 18.0026 15.4365 18.0026 15.6666L18.0026 17.75Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Sections.tsx"})})}function cV(e){let{availableSections:t,existingLinks:n,onLinkSelect:o,eventName:s,disabled:i,...l}=e,{analytics:p}=(0,eL.S)(),{currentPage:m,websiteSettings:u}=(0,j.Hb)(),[g,y]=(0,r.useState)(!1),x=nU(u.pages,u.sections,null!=t?t:[],n).length>0,h=u.pages.length>1,C=nq(u),f=c.D.views.designer.components.properties.linkQuickSelectorDropdown;return(0,a.jsxs)(ow.A,{className:"".concat(cE.container," ").concat(i?cE.disabled:""),isOpen:g,toggle:()=>{let e=!g;s&&e&&(0,ed.$s)(p,s,{}),y(e)},disabled:i,...l,"data-sentry-element":"Dropdown","data-sentry-component":"LinkQuickSelectorDropdown","data-sentry-source-file":"LinkQuickSelectorDropdown.tsx",children:[(0,a.jsx)(oL.A,{className:"".concat(d.ButtonStyles.LinkButtonBlack),"data-sentry-element":"DropdownToggle","data-sentry-source-file":"LinkQuickSelectorDropdown.tsx",children:(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:cE.addSection,"data-sentry-element":"ImageLink","data-sentry-source-file":"LinkQuickSelectorDropdown.tsx",children:f.addLink})}),g&&(0,a.jsxs)(ok.A,{className:cE.dropdownContentContainer,children:[x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(cW,{label:h?f.inPageLinkMultipage:f.inPageLink,icon:h?(0,a.jsx)(cF,{size:20}):(0,a.jsx)(cR,{}),onClick:()=>{o(function(){let e=u.pages.find(e=>"/"===e.path);return function(e,t,n,a,o){var r,s;let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=nz(t,n,a,i);if(l&&n)return{type:N.LinkType.Section,value:l.type,sectionID:l.id,pageId:n.id,label:nW(n)};if(0===e.length)return{type:N.LinkType.Section};let c=null!=(r=e.find(e=>e.id===(null==n?void 0:n.sectionIds[1])))?r:e[0];return{type:N.LinkType.Section,value:c.type,sectionID:c.id,pageId:null!=(s=null==n?void 0:n.id)?s:"",label:(0,Q.Z9)(c,o)}}(null!=t?t:[],u.sections,m,e,u.language,n)}(),!0),y(!1)}}),(0,a.jsx)(eu.c,{className:cE.divider})]}),C&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(cW,{label:f.blogBlogPost,icon:(0,a.jsx)(cH,{}),onClick:()=>
1{let e=(0,W.getLocaleStrings)(u.language);o({type:N.LinkType.Blog,blogPageId:C.blogPage.id,value:C.blogPage.path,label:e.links.blogLabel},!0),y(!1)}}),(0,a.jsx)(eu.c,{className:cE.divider})]}),(0,a.jsx)(cW,{label:f.webUrl,icon:(0,a.jsx)(nf.q,{}),onClick:()=>{o({type:N.LinkType.Web,label:""},!0),y(!1)}}),(0,a.jsx)(eu.c,{className:cE.divider}),(0,a.jsx)(cW,{label:f.email,icon:(0,a.jsx)(l7,{}),onClick:()=>{o({type:N.LinkType.Email,label:""},!0),y(!1)}}),(0,a.jsx)(eu.c,{className:cE.divider}),(0,a.jsx)(cW,{label:f.phoneNumber,icon:(0,a.jsx)(l8,{}),onClick:()=>{o({type:N.LinkType.Phone,label:""},!0),y(!1)}})]})]})}function cW(e){let{label:t,icon:n,className:o,...r}=e;return(0,a.jsxs)(oM.A,{className:"".concat(cE.itemButtonStyle," ").concat(o||""),...r,"data-sentry-element":"DropdownItem","data-sentry-component":"LinkItemButton","data-sentry-source-file":"LinkQuickSelectorDropdown.tsx",children:[(0,a.jsx)("div",{className:cE.icon,children:n}),t]})}let cE={addSection:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({$nest:{".icon svg":{width:20,height:20}}})),container:(0,o.style)({display:"flex",position:"relative",height:d.Spacing.xxLarge,alignItems:"center"}),disabled:(0,o.style)({pointerEvents:"none",opacity:.4}),icon:(0,o.style)({color:"".concat(d.StandardColors.ColorDarkGray05," !important")}),divider:(0,o.style)({marginBlock:2}),dropdownContentContainer:"".concat((0,o.style)({minWidth:210,display:"flex !important",flexDirection:"column",marginLeft:-d.Spacing.xSmall,marginTop:d.Spacing.Small,padding:d.Spacing.Small,rowGap:d.Spacing.Micro/2,backgroundColor:d.StandardColors.ColorWhite,boxShadow:d.BoxShadowStyles.Small,border:"1px solid",borderColor:d.StandardColors.ColorLightGray40,borderRadius:d.Spacing.xSmall,...(0,d.createShadowStyle)(N.Shadow.Small)})),itemButtonStyle:"".concat(d.ButtonStyles.Secondary," ").concat(d.FontStyles.Medium," ").concat((0,o.style)({boxShadow:"none",display:"flex",alignItems:"center",flexDirection:"row",columnGap:d.Spacing.xSmall+d.Spacing.Micro,height:d.Spacing.xxLarge,lineHeight:"150%",paddingBlock:d.Spacing.Micro,paddingInline:d.Spacing.Small,borderRadius:d.Spacing.Micro/2,textAlign:"left",backgroundColor:d.StandardColors.ColorTransparent,color:"".concat(d.StandardColors.ColorDarkGray50," !important"),$nest:{"&:hover":{backgroundColor:d.Colors.SecondaryHover,color:"".concat(d.StandardColors.ColorDarkGray50," !important"),$nest:{"&:active":{color:"".concat(d.StandardColors.ColorDarkGray50," !important")}}},"&:active":{color:"".concat(d.StandardColors.ColorDarkGray50," !important")}}}))};function cZ(e){let{navigationLinks:t,onUpdate:n,onDelete:o,title:s,maxLinks:i}=e,{websiteSettings:l}=(0,j.Hb)(),[p,m]=(0,r.useState)(null),u=function(e,t){let n=t.filter(e=>e.type===N.LinkType.Section),a=new Map,o=new Set;return n.forEach(e=>{let{sectionID:t,value:n}=e;a.set(n,(a.get(n)||0)+1),t&&o.add(t)}),e.filter(e=>{let t=Q.KT.get(e.type);return!(!t||!t.headerLinkAllowed||(a.get(e.type)||0)>=t.maxCount||o.has(e.id))})}(l.sections,t),g=p?t.filter(e=>e!==p):t,y=nU(l.pages,l.sections,u,g).length>0,x=l.pages.some(e=>e.pageType===N.PageType.Blog);function h(e){let a=t.indexOf(p);-1===a?t.push(e):t.splice(a,1,e),n()}function C(e){o(t.filter(t=>t!==e))}let f=nG(l.sections),S=i-t.reduce((e,t)=>t.type===N.LinkType.Section&&f&&t.sectionID===f.id&&t.value===N.WebsiteSectionType.Header?e:e+1,0),v=S>0,b=c.D.views.designer.components.properties.navigationLinksPropertySection;return(0,a.jsx)(sP,{title:s,titleClassname:cO.sectionTitle,"data-sentry-element":"PropertySection","data-sentry-component":"NavigationLinksPropertySection","data-sentry-source-file":"NavigationLinksPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:d.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"NavigationLinksPropertySection.tsx",children:[(0,a.jsx)(l5,{items:t.map((e,t)=>"nav-link-".concat(t)),onDragEnd:function(e){let{active:a,over:o}=e;if(!o||a.id===o.id)return;let r=t.findIndex((e,t)=>"nav-link-".concat(t)===a.id),s=t.findIndex((e,t)=>"nav-link-".concat(t)===o.id),i=(0,l1.be)(t,r,s);t.splice(0,t.length,...i),n()},"data-sentry-element":"SortableList","data-sentry-source-file":"NavigationLinksPropertySection.tsx",children:(0,a.jsx)("div",{children:t.map((e,t)=>(0,a.jsx)(l3,{id:"nav-link-".concat(t),children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(cG,{link:e,onClickEdit:e=>m(e),onClickDelete:C,dragHandleProps:n,isDragging:o})})})}},"nav-link-".concat(t)))})}),(0,a.jsxs)("div",{className:"d-flex flex-row align-items-end",children:[(0,a.jsx)(cV,{eventName:ew.o.designer.sections.footer.links.add,onLinkSelect:(e,t)=>
1{t?m(e):h(e)},availableSections:u,existingLinks:g,disabled:!v,"data-sentry-element":"LinkQuickSelectorDropdown","data-sentry-source-file":"NavigationLinksPropertySection.tsx"}),(0,a.jsx)(sf,{className:cO.remainingLinkTag,remainingItems:S,singularMessage:b.singleLinkAddMessage,pluralMessage:b.pluralLinkAddMessageFormat.replace("{count}","".concat(S)),"data-sentry-element":"RemainingItemsTag","data-sentry-source-file":"NavigationLinksPropertySection.tsx"})]}),!!p&&(0,a.jsx)(n9,{title:b.linkModalTitle,isOpen:!!p,onClosed:()=>m(null),link:p,onLinkChanged:h,supportedLinkTypes:[...y?[N.LinkType.Section]:[],...x?[N.LinkType.Blog]:[],N.LinkType.Web,N.LinkType.Email,N.LinkType.Phone],availableSections:u,existingLinks:g})]})})}function cG(e){let{link:t,onClickEdit:n,onClickDelete:o,dragHandleProps:r,isDragging:s}=e,i=ew.o.designer.sections.footer.links;return(0,a.jsx)(w.A,{className:cO.linkItemContainer,"data-sentry-element":"Container","data-sentry-component":"LinkItem","data-sentry-source-file":"NavigationLinksPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:"d-flex align-items-center","data-sentry-element":"Row","data-sentry-source-file":"NavigationLinksPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto",...r,"data-sentry-element":"Col","data-sentry-source-file":"NavigationLinksPropertySection.tsx",children:(0,a.jsx)("div",{className:"drag-icon ".concat(s?"dragging":""),children:(0,a.jsx)(l4,{"data-sentry-element":"DragHandle","data-sentry-source-file":"NavigationLinksPropertySection.tsx"})})}),(0,a.jsx)(k.A,{className:"text-col","data-sentry-element":"Col","data-sentry-source-file":"NavigationLinksPropertySection.tsx",children:(0,a.jsx)("div",{className:"title",children:t.label})}),(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",onClick:e=>{o(t),e.stopPropagation()},children:(0,a.jsx)(eG.T,{eventName:i.delete,children:(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(aB.r,{})})})}),title:c.D.components.tooltips.delete,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"NavigationLinksPropertySection.tsx"}),(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",onClick:()=>n(t),children:(0,a.jsx)(eG.T,{eventName:i.edit,children:(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(O.f,{})})})}),title:c.D.components.tooltips.edit,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"NavigationLinksPropertySection.tsx"})]})})}let cO={remainingLinkTag:(0,o.style)({marginLeft:d.Spacing.Large,paddingBlock:1.5*d.Spacing.Micro,marginBottom:d.Spacing.Micro/4}),sectionTitle:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginBottom:d.Spacing.Micro})),linkItemContainer:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({alignItems:"center",position:"relative",overflow:"hidden",marginBottom:d.Spacing.Small,display:"flex",flex:1,$nest:{".drag-icon":{marginRight:d.Spacing.Small,color:d.StandardColors.ColorDarkGray05,borderRadius:d.Spacing.Micro,paddingBlock:"".concat(d.Spacing.xSmall,"px !important"),transition:"background-color 0.2s ease, opacity 0.2s ease",$nest:{"&:hover":{backgroundColor:"".concat(d.StandardColors.ColorLightGray20)},"&.dragging":{backgroundColor:"".concat(d.StandardColors.ColorLightGray30," !important")},"&:active":{backgroundColor:"".concat(d.StandardColors.ColorLightGray30," !important")}}},".row":{overflow:"hidden",flex:1},".col-btn":{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",height:d.Spacing.xxLarge,width:d.Spacing.xxLarge,color:d.StandardColors.ColorDarkGray05,$nest:{"&:hover":{backgroundColor:d.StandardColors.ColorLightGray20,borderRadius:d.Spacing.Micro},"&:active":{backgroundColor:d.StandardColors.ColorLightGray30},"&:not(:last-child)":{marginRight:d.Spacing.Micro}}},".scale-icon":{display:"flex",alignItems:"center",maxHeight:d.Spacing.Large+d.Spacing.Micro,maxWidth:d.Spacing.Large+d.Spacing.Micro},".text-col":{display:"flex",flexDirection:"column",overflow:"hidden",color:d.StandardColors.ColorDarkGray50,marginRight:d.Spacing.Small,$nest:{".title":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},".body":{"-webkit-line-clamp":2,flexDirection:"column",maxHeight:d.Spacing.xxLarge,overflow:"hidden",textOverflow:"ellipsis",color:d.StandardColors.ColorDarkGray05,$nest:{"& > *":{overflowWrap:"break-word",wordWrap:"break-word",hyphens:"auto"}}}}}}}))};function cz(){let e=c.D.views.designer.components.properties.sections.footer.footerNavigationLinksPropertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),o=t.selectedSection,r=o.props;return void 0===r.navigationLinks?(n({...o,props:{...o.props,navigationLinks:[]}}),(0,a.jsx)("div",{})):(0,a.jsx)(cZ,{navigationLinks:r.navigationLinks,onUpdate:()=>n(o),onDelete:e=>n({...o,props:{...o.props,navigationLinks:e}}),title:e.title,maxLinks:tg.H.maxLinks,"data-sentry-element":"NavigationLinksPropertySection","data-sentry-component":"FooterNavigationLinksPropertySection","data-sentry-source-file":"FooterNavigationLinksPropertySection.tsx"})}function c$(){let{designerSettings:e,updateWebsiteSection:t,websiteSettings:n,resolvedTheme:o}=(0,j.Hb)(),r=e.selectedSection,s=n.sections.find(e=>e.type===N.WebsiteSectionType.Header);return(0,a.jsxs)(a.Fragment,{children:[s.props.logo.type===N.LogoType.Image&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(cT,{}),(0,a.jsx)(eu.c,{})]}),(0,a.jsx)(cf,{"data-sentry-element":"FooterLayoutPropertySection","data-sentry-source-file":"FooterSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FooterSectionProperties.tsx"}),(0,a.jsx)(cz,{"data-sentry-element":"FooterNavigationLinksPropertySection","data-sentry-source-file":"FooterSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FooterSectionProperties.tsx"}),(0,a.jsx)(cM,{"data-sentry-element":"FooterLinksPropertySection","data-sentry-source-file":"FooterSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FooterSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.footer.backgroundChange,resolvedTheme:o,themeColor:r.props.themeColor,selectedValue:r.props.sectionThemeMode,onValueChanged:e=>{t({...r,props:{...r.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"FooterSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FooterSectionProperties.tsx"})]})}function cU(e){let{onFaqItemChanged:t,faqItem:n,...o}=e,s=c.D.views.designer.components.properties.sections.frequentlyAskedQuestions.faqItemComposeDialog,[i,l]=(0,r.useState)(n),[p,m]=(0,r.useState)(!1),{websiteSettings:g}=(0,j.Hb)(),y=g.pages.some(e=>e.pageType===N.PageType.Blog),[x,h]=(0,r.useState)(!1),[C,f]=(0,r.useState)(!1);return(0,a.jsx)(ty.y,{title:s.title,onSave:async()=>{t(i)},canDismiss:!nF(i.question)&&!nR(i.answer),...o,autoFocus:!1,className:"".concat(c_.dialog),"data-sentry-element":"ModalDialog","data-sentry-component":"FaqItemComposeDialog","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:[(0,a.jsxs)(L.A,{className:"mt-2 mb-2","data-sentry-element":"Row","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:s.question}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.faqQuestion,currentText:i.question,visible:x,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"FaqItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:i.question,maxLength:tg.H.faqQuestion,autoFocus:!0,onFocus:()=>h(!0),onBlur:()=>h(!1),onChange:e=>{l({...i,question:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"FaqItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2","data-sentry-element":"Row","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:s.answer}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.faqAnswer,currentText:(0,W.sanitizeHtml)(i.answer,{allowedTags:[]}),visible:C,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"FaqItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(rT,{htmlContent:i.answer,characterCountLimit:tg.H.faqAnswer,onFocus:()=>f(!0),onBlur:()=>f(!1),onUpdateHtml:e=>l({...i,answer:e}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"FaqItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2 align-items-center","data-sentry-element":"Row","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{children:s.button.title}),(0,a.jsx)("div",{className:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued),children:i.button?'"'.concat(i.button.label,'"'):s.button.subordinate})]})}),i.button?(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)(G.A,{className:c_.editLabel,onClick:()=>m(!0),children:s.button.edit})}):null,(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"FaqItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:!!i.button||p,onChange:e=>{if(e.currentTarget.checked)n.button||m(!0),l({...i,button:n.button});else{let{button:e,...t}=i;l(t)}},"data-sentry-element":"SoloInput","data-sentry-source-file":"FaqItemComposeDialog.tsx"})})})]}),p&&(0,a.jsx)(n9,{title:s.linkModalTitle,labelCharLimit:tg.H.buttonLabels,isOpen:p,onClosed:()=>m(!1),link:i.button||{type:N.LinkType.None,label:""},onLinkChanged:e=>{if(e&&e.type!==N.LinkType.None)l({...i,button:e});else{let{button:e,...t}=i;l(t)}},supportedLinkTypes:[N.LinkType.Section,...y?[N.LinkType.Blog]:[],N.LinkType.Web,N.LinkType.Email,N.LinkType.Phone],availableSections:g.sections,buttonStyle:i.buttonStyleProperties?i.buttonStyleProperties.buttonStyle:N.ButtonStyle.Solid,onButtonStyleChanged:e=>{l({...i,buttonStyleProperties:{...i.buttonStyleProperties,buttonStyle:e}})}})]})})}let c_={dialog:(0,o.style)({width:440}),editLabel:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginRight:u.Spacing.Large}))};function cq(){let e=c.D.views.designer.components.properties.sections.frequentlyAskedQuestions.faqItemPropertySection,{analytics:t}=(0,eL.S)(),{designerSettings:n,updateWebsiteSection:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(null),l=n.selectedSection,d=l.props;function p(e){i(e)}function m(e){let t=d.items.filter(t=>t!==e),n=[...d.hiddenItems||[],e];o({...l,props:{...d,items:t,hiddenItems:n}})}let g=tg.H.maxFaqItems-d.items.length;return(0,a.jsx)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"FaqItemPropertySection","data-sentry-source-file":"FaqItemPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:cK.container,"data-sentry-element":"Container","data-sentry-source-file":"FaqItemPropertySection.tsx",children:[(0,a.jsx)(l5,{items:d.items.map((e,t)=>"faq-".concat(t)),onDragEnd:function(e){let{active:n,over:a}=e;if(!a||n.id===a.id)return;let r=d.items.findIndex((e,t)=>
1"faq-".concat(t)===n.id),s=d.items.findIndex((e,t)=>"faq-".concat(t)===a.id),i=(0,l1.be)(d.items,r,s);d.items.splice(0,d.items.length,...i),o(l),(0,ed.$s)(t,ew.o.designer.sections.frequentlyAskedQuestions.questionsList.reorder)},"data-sentry-element":"SortableList","data-sentry-source-file":"FaqItemPropertySection.tsx",children:(0,a.jsx)("div",{children:d.items.map((e,t)=>(0,a.jsx)(l3,{id:"faq-".concat(t),children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(w.A,{className:u.ContainerStyles.NoSpacing,children:(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(cQ,{faqItem:e,onClickEdit:p,onClickDelete:m,dragHandleProps:n,isDragging:o})})})})}},"faq-".concat(t)))})}),(0,a.jsx)("div",{className:cK.addSection,children:(0,a.jsxs)(eG.T,{eventName:ew.o.designer.sections.frequentlyAskedQuestions.questionsList.add,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"FaqItemPropertySection.tsx",children:[(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:cK.addButton,onClick:d.hiddenItems&&d.hiddenItems.length>0?function(){var e;ai.ok(null==(e=d.hiddenItems)?void 0:e.length,"No hidden items to add");let t=d.hiddenItems.pop();d.items.push(t),o({...l})}:function(){i({question:"",answer:"<p></p>"})},disabled:g<=0,"data-sentry-element":"ImageLink","data-sentry-source-file":"FaqItemPropertySection.tsx",children:e.addQuestion}),g<=0&&(0,a.jsx)(sf,{className:cK.remainingLinkTag,remainingItems:g,singularMessage:"",pluralMessage:""})]})}),!!s&&(0,a.jsx)(cU,{isOpen:!!s,onClosed:()=>i(null),faqItem:s,onFaqItemChanged:function(e){let t=d.items.indexOf(s);-1===t?d.items.push(e):d.items.splice(t,1,e),o({...l})}})]})})}function cQ(e){let{faqItem:t,onClickEdit:n,onClickDelete:o,dragHandleProps:r,isDragging:s}=e,i=ew.o.designer.sections.frequentlyAskedQuestions.questionsList,{designerSettings:l}=(0,j.Hb)(),p=l.selectedSection.props;return(0,a.jsx)(eG.T,{eventName:i.edit,onClick:()=>n(t),"data-sentry-element":"AnalyticsLink","data-sentry-component":"FaqItem","data-sentry-source-file":"FaqItemPropertySection.tsx",children:(0,a.jsx)(w.A,{className:cK.reviewItem,"data-sentry-element":"Container","data-sentry-source-file":"FaqItemPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:"d-flex align-items-center w-100","data-sentry-element":"Row","data-sentry-source-file":"FaqItemPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:"drag-icon col-auto ".concat(s?"dragging":""),...r,"data-sentry-element":"Col","data-sentry-source-file":"FaqItemPropertySection.tsx",children:(0,a.jsx)(l4,{"data-sentry-element":"DragHandle","data-sentry-source-file":"FaqItemPropertySection.tsx"})}),(0,a.jsxs)(k.A,{className:"text-col","data-sentry-element":"Col","data-sentry-source-file":"FaqItemPropertySection.tsx",children:[(0,a.jsx)("div",{className:"title",children:t.question}),(0,a.jsx)("div",{className:"body ".concat(d.FontStyles.Subordinate),children:(0,a.jsx)("span",{children:(0,W.sanitizeHtml)(t.answer,{allowedTags:[]})})})]}),p.items.length>1&&(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",onClick:e=>{e.stopPropagation(),e.preventDefault(),o(t)},children:(0,a.jsx)(eG.T,{eventName:i.delete,children:(0,a.jsx)("div",{className:"scale-button",children:(0,a.jsx)(aB.r,{})})})}),title:c.D.components.tooltips.delete}),(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",children:(0,a.jsx)("div",{className:"scale-button",children:(0,a.jsx)(O.f,{})})}),title:c.D.components.tooltips.edit,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"FaqItemPropertySection.tsx"})]})})})}let cK={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.xSmall})),reviewItem:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({overflow:"hidden",paddingBlock:u.Spacing.Small,marginBottom:u.Spacing.Micro,$nest:{"& .body, & .title":{marginRight:u.Spacing.Small},".row":{overflow:"hidden"},".scale-button":{display:"flex",alignItems:"center",maxHeight:u.Spacing.Large+u.Spacing.Micro,maxWidth:u.Spacing.Large+u.Spacing.Micro},".drag-icon":{marginRight:u.Spacing.Small,color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro,paddingBlock:"".concat(u.Spacing.xSmall,"px !important"),transition:"background-color 0.2s ease, opacity 0.2s ease",$nest:{"&:hover":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20)},"&.dragging":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")},"&:active":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")}}},".col-btn":{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",height:u.Spacing.xxLarge,width:u.Spacing.xxLarge,color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro,$nest:{"&:hover":{backgroundColor:d.Colors.SecondaryHover},"&:active":{backgroundColor:"".concat(d.Colors.SecondaryPressed," !important")},"&:not(:last-child)":{marginRight:u.Spacing.Micro}}},".text-col":{display:"flex",flexDirection:"column",overflow:"hidden",color:u.StandardColors.ColorDarkGray50,$nest:{".title":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},".body":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:u.StandardColors.ColorDarkGray05}}}}})),addButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({$nest:{".icon svg":{width:20,height:20}}})),addSection:"d-flex flex-row align-items-end",remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4})};function cY(){return(0,a.jsx)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"FAQListLayout","data-sentry-source-file":"FAQListLayout.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.1517 4.81981C14.8263 4.49437 14.8263 3.96673 15.1517 3.64129C15.4771 3.31586 16.0048 3.31586 16.3302 3.64129L17.0104 4.32151L17.6712 3.66077C17.9966 3.33533 18.5242 3.33533 18.8497 3.66077C19.1751 3.9862 19.1751 4.51384 18.8497 4.83928L17.5997 6.08928C17.2742 6.41471 16.7466 6.41471 16.4212 6.08928L15.1517 4.81981ZM15.1354 10.6369C14.81 10.3114 14.81 9.78379 15.1354 9.45835C15.4609 9.13292 15.9885 9.13292 16.3139 9.45835L17.0104 10.1548L17.6712 9.49409C17.9966 9.16866 18.5242 9.16866 18.8497 9.49409C19.1751 9.81953 19.1751 10.3472 18.8497 10.6726L17.5997 11.9226C17.2742 12.248 16.7466 12.248 16.4212 11.9226L15.1354 10.6369ZM15.1777 15.334C14.8523 15.6595 14.8523 16.1871 15.1777 16.5125L16.4212 17.756C16.7466 18.0814 17.2742 18.0814 17.5997 17.756L18.8497 16.506C19.1751 16.
11805 19.1751 15.6529 18.8497 15.3274C18.5242 15.002 17.9966 15.002 17.6712 15.3274L17.0104 15.9882L16.3562 15.334C16.0308 15.0086 15.5032 15.0086 15.1777 15.334ZM12.4271 3.83336C12.8873 3.83336 13.2604 4.20646 13.2604 4.6667C13.2604 5.12693 12.8873 5.50003 12.4271 5.50003L3.28646 5.50003C2.82622 5.50003 2.45312 5.12693 2.45312 4.6667C2.45312 4.20646 2.82622 3.83336 3.28646 3.83336L12.4271 3.83336ZM13.2604 10.5C13.2604 10.0398 12.8873 9.6667 12.4271 9.6667L3.28646 9.6667C2.82622 9.6667 2.45312 10.0398 2.45312 10.5C2.45312 10.9603 2.82622 11.3334 3.28646 11.3334L12.4271 11.3334C12.8873 11.3334 13.2604 10.9603 13.2604 10.5ZM12.4271 15.5C12.8873 15.5 13.2604 15.8731 13.2604 16.3334C13.2604 16.7936 12.8873 17.1667 12.4271 17.1667L3.28646 17.1667C2.82622 17.1667 2.45312 16.7936 2.45312 16.3334C2.45312 15.8731 2.82622 15.5 3.28646 15.5L12.4271 15.5Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"FAQListLayout.tsx"})})}function cX(){return(0,a.jsx)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"FAQSideBarLayout","data-sentry-source-file":"FAQSideBarLayout.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.26042 3C2.33994 3 1.59375 3.74619 1.59375 4.66667V8.27736L1.59375 8.27778L1.59375 12.7219C1.59375 12.722 1.59375 12.7221 1.59375 12.7222C1.59375 12.7223 1.59375 12.7224 1.59375 12.7225L1.59375 16.3333C1.59375 17.2538 2.33994 18 3.26042 18H18.2604C19.1809 18 19.9271 17.2538 19.9271 16.3333V4.66667C19.9271 3.74619 19.1809 3 18.2604 3H3.26042ZM3.26042 13.5556V16.3333H9.92708V13.5556L3.26042 13.5556ZM9.92708 11.8889V9.11111L3.26042 9.11111V11.8889L9.92708 11.8889ZM3.26042 7.44444L9.92708 7.44445V4.66667H3.26042V7.44444ZM11.5938 4.66667H18.2604V16.3333H11.5938V4.66667Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"FAQSideBarLayout.tsx"})})}function cJ(){let e=c.D.views.designer.components.properties.sections.faq.faqLayoutPropertySection;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"FaqLayoutPropertySection","data-sentry-source-file":"FaqLayoutPropertySection.tsx",children:(0,a.jsx)(w.A,{className:c0.container,"data-sentry-element":"Container","data-sentry-source-file":"FaqLayoutPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:"align-items-center","data-sentry-element":"Row","data-sentry-source-file":"FaqLayoutPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.SemiBold,"data-sentry-element":"Col","data-sentry-source-file":"FaqLayoutPropertySection.tsx",children:e.title}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FaqLayoutPropertySection.tsx",children:(0,a.jsx)(c1,{"data-sentry-element":"FaqLayoutDropdown","data-sentry-source-file":"FaqLayoutPropertySection.tsx"})})]})})})}function c1(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props;return(0,a.jsx)(nT.V,{eventName:ew.o.designer.sections.faq.layoutChange,selectedValue:o.layout||N.FrequentlyAskedQuestionsLayout.List,values:[N.FrequentlyAskedQuestionsLayout.List,N.FrequentlyAskedQuestionsLayout.Sidebar],itemTemplate:e=>(0,a.jsxs)("div",{className:"".concat(u.ContainerStyles.VerticallyCenter," d-flex flex-row"),children:[(0,a.jsx)("div",{className:"icon",children:e===N.FrequentlyAskedQuestionsLayout.List?(0,a.jsx)(cY,{}):(0,a.jsx)(cX,{})}),(0,a.jsx)("div",{children:N.FrequentlyAskedQuestionsLayout[e||N.FrequentlyAskedQuestionsLayout.List]})]},e),onValueChanged:e=>{t({...n,props:{...n.props,layout:e}})},"data-sentry-element":"DropdownSelector","data-sentry-component":"FaqLayoutDropdown","data-sentry-source-file":"FaqLayoutPropertySection.tsx"})}let c0={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".icon > svg":{width:u.Spacing.Medium+u.Spacing.Small,height:u.Spacing.Medium+u.Spacing.Small,marginRight:u.Spacing.Small}}}))};function c3(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l_,{value:o.props.title,onChange:e=>{t({...o,props:{...o.props,title:e.target.value}})},"data-sentry-element":"HeadingPropertySection","data-sentry-source-file":"FaqSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FaqSectionProperties.tsx"}),(0,a.jsx)(cJ,{"data-sentry-element":"FaqLayoutPropertySection","data-sentry-source-file":"FaqSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FaqSectionProperties.tsx"}),(0,a.jsx)(cq,{"data-sentry-element":"FaqItemPropertySection","data-sentry-source-file":"FaqSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"FaqSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.frequentlyAskedQuestions.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"FaqSectionProperties.tsx"})]})}var c2=n(22213);function c6(e){let{values:t,...n}=e,o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e;return e.slice().sort((e,a)=>"asc"===t?n(e).localeCompare(n(a)):n(a).localeCompare(n(e)))}(t,"asc",e=>(0,c2.lw)(e));return(0,a.jsx)(nT.V,{...n,values:o,itemTemplate:e=>(0,a.jsx)(c5,{color:e}),"data-sentry-element":"DropdownSelector","data-sentry-component":"ColorDropdown","data-sentry-source-file":"ColorDropdown.tsx"})}function c5(e){let{color:t}=e;return(0,a.jsxs)("div",{className:c4.container,"data-sentry-component":"ColorItem","data-sentry-source-file":"ColorDropdown.tsx",children:[(0,a.jsx)("div",{className:c4.colorSwatch,style:{backgroundColor:t||"transparent"}}),(0,a.jsx)("div",{children:t&&(0,c2.lw)(t)})]})}let c4={container:"".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex"})),colorSwatch:(0,o.style)({height:d.Spacing.Medium+d.Spacing.xSmall,width:d.Spacing.Medium+d.Spacing.xSmall,margin:1,marginRight:d.Spacing.Small+1,borderRadius:d.Spacing.Micro/2,boxShadow:d.BoxShadowStyles.innerXSmall})},c7=[["neutral/50","neutral/950"],["primary/300","primary/500","primary/700"],["accent/300","accent/500","accent/700"],["accent2/300","accent2/500","accent2/700"],["base/300","base/500","base/700"]];function c9(e){let{rampMap:t,selectedValue:n,onValueChanged:o,ariaLabel:s}=e,[i,l]=(0,r.useState)(!1);return(0,a.jsxs)(ow.A,{isOpen:i,toggle:()=>l(e=>!e),className:dt.dropdown,"data-sentry-element":"Dropdown","data-sentry-component":"BorderColorDropdown","data-sentry-source-file":"BorderColorDropdown.tsx",children:[(0,a.jsxs)(oL.A,{className:dt.toggle,"aria-label":s,"data-sentry-element":"DropdownToggle","data-sentry-source-file":"BorderColorDropdown.tsx",children:[(0,a.jsx)("div",{"data-testid":"border-color-toggle-swatch",className:dt.toggleSwatch,style:{backgroundColor:(0,E.resolveRampColor)(n,t)}}),(0,a.jsx)(oP.X,{"data-sentry-element":"ChevronDownSmall","data-sentry-source-file":"BorderColorDropdown.tsx"})]}),(0,a.jsx)(ok.A,{persist:!0,className:dt.menu,end:!0,"data-sentry-element":"DropdownMenu","data-sentry-source-file":"BorderColorDropdown.tsx",children:c7.map((e,s)=>(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("div",{className:dt.row,children:e.map(e=>{let r=(0,E.resolveRampColor)(e,t)===(0,E.resolveRampColor)(n,t);return(0,a.jsx)("button",{type:"button","aria-label":(0,E.formatRampTokenLabel)(e),"aria-pressed":r,className:"".concat(dt.swatch," ").concat(r?dt.swatchSelected:""),style:{backgroundColor:(0,E.resolveRampColor)(e,t)},onClick:()=>{o(e),l(!1)}},e)})}),0===s&&(0,a.jsx)("div",{className:dt.separator})]},s))})]})}let c8="inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)",de="0 0 0 2px #FFF, 0 0 0 4px #5B5B66, inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)",dt={dropdown:(0,o.style)({display:"flex",justifyContent:"flex-end"}),toggle:(0,o.style)({display:"inline-flex",alignItems:"center",gap:4,padding:6,borderRadius:4,border:"none",backgroundColor:d.Colors.Secondary,color:d.Colors.Subdued,boxShadow:"none",$nest:{"&:hover":{backgroundColor:d.StandardColors.ColorLightGray30},"&:active":{backgroundColor:d.StandardColors.ColorLightGray40}}}),toggleSwatch:(0,o.style)({width:40,height:20,borderRadius:4,boxShadow:c8}),menu:"".concat((0,o.style)((0,d.createDropdownMenuTransitionStyle)())," ").concat((0,o.style)({width:168,minWidth:168,padding:16,borderRadius:8,border:"1px solid ".concat(d.StandardColors.ColorLightGray40),boxShadow:d.BoxShadowStyles.Medium})),row:(0,o.style)({display:"flex",gap:8,$nest:{"&:not(:last-child)":{marginBottom:8}}}),separator:(0,o.style)({height:1,marginBottom:8,backgroundColor:d.StandardColors.ColorLightGray20}),swatch:(0,o.style)({flex:"1 0 0",minWidth:0,height:28,border:"none",padding:0,cursor:"pointer",borderRadius:4,boxShadow:c8,$nest:{"&:hover":{boxShadow:"0 0 0 1px #FFF, 0 0 0 2px #5B5B66, inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)"}}}
1),swatchSelected:(0,o.style)({boxShadow:de,$nest:{"&:hover":{boxShadow:de}}})};function dn(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderAll","data-sentry-source-file":"BorderAll.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75033 2.50002C3.75033 2.03978 4.12342 1.66669 4.58366 1.66669H15.417C15.8772 1.66669 16.2503 2.03978 16.2503 2.50002C16.2503 2.96026 15.8772 3.33335 15.417 3.33335H4.58366C4.12342 3.33335 3.75033 2.96026 3.75033 2.50002Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderAll.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75033 17.5C3.75033 17.0398 4.12342 16.6667 4.58366 16.6667H15.417C15.8772 16.6667 16.2503 17.0398 16.2503 17.5C16.2503 17.9603 15.8772 18.3334 15.417 18.3334H4.58366C4.12342 18.3334 3.75033 17.9603 3.75033 17.5Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderAll.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.50033 16.25C2.04009 16.25 1.66699 15.8769 1.66699 15.4167L1.66699 4.58335C1.66699 4.12312 2.04009 3.75002 2.50033 3.75002C2.96056 3.75002 3.33366 4.12312 3.33366 4.58335L3.33366 15.4167C3.33366 15.8769 2.96056 16.25 2.50033 16.25Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderAll.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5003 16.25C17.0401 16.25 16.667 15.8769 16.667 15.4167V4.58335C16.667 4.12312 17.0401 3.75002 17.5003 3.75002C17.9606 3.75002 18.3337 4.12312 18.3337 4.58335V15.4167C18.3337 15.8769 17.9606 16.25 17.5003 16.25Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderAll.tsx"})]})}function da(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderBottom","data-sentry-source-file":"BorderBottom.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.25 17.5C16.25 17.9602 15.8769 18.3333 15.4167 18.3333L4.58333 18.3333C4.1231 18.3333 3.75 17.9602 3.75 17.5C3.75 17.0398 4.1231 16.6667 4.58334 16.6667L15.4167 16.6667C15.8769 16.6667 16.25 17.0398 16.25 17.5Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderBottom.tsx"}),(0,a.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M16.25 2.50001C16.25 2.96025 15.8769 3.33334 15.4167 3.33334L4.58333 3.33334C4.1231 3.33334 3.75 2.96025 3.75 2.50001C3.75 2.03977 4.1231 1.66668 4.58333 1.66668L15.4167 1.66668C15.8769 1.66668 16.25 2.03977 16.25 2.50001Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderBottom.tsx"}),(0,a.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M17.4997 3.75C17.9599 3.75 18.333 4.1231 18.333 4.58333L18.333 15.4167C18.333 15.8769 17.9599 16.25 17.4997 16.25C17.0394 16.25 16.6663 15.8769 16.6663 15.4167L16.6663 4.58333C16.6663 4.1231 17.0394 3.75 17.4997 3.75Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderBottom.tsx"}),(0,a.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M2.49967 3.75C2.95991 3.75 3.33301 4.1231 3.33301 4.58333L3.33301 15.4167C3.33301 15.8769 2.95991 16.25 2.49967 16.25C2.03944 16.25 1.66634 15.8769 1.66634 15.4167L1.66634 4.58333C1.66634 4.1231 2.03944 3.75 2.49967 3.75Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderBottom.tsx"})]})}function dr(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderNone","data-sentry-source-file":"BorderNone.tsx",children:(0,a.jsxs)("g",{opacity:"0.2","data-sentry-element":"g","data-sentry-source-file":"BorderNone.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75033 2.50002C3.75033 2.03978 4.12342 1.66669 4.58366 1.66669H15.417C15.8772 1.66669 16.2503 2.03978 16.2503 2.50002C16.2503 2.96026 15.8772 3.33335 15.417 3.33335H4.58366C4.12342 3.33335 3.75033 2.96026 3.75033 2.50002Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderNone.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75033 17.5C3.75033 17.0398 4.12342 16.6667 4.58366 16.6667H15.417C15.8772 16.6667 16.2503 17.0398 16.2503 17.5C16.2503 17.9603 15.8772 18.3334 15.417 18.3334H4.58366C4.12342 18.3334 3.75033 17.9603 3.75033 17.5Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderNone.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.50033 16.25C2.04009 16.25 1.66699 15.8769 1.66699 15.4167L1.66699 4.58335C1.66699 4.12312 2.04009 3.75002 2.50033 3.75002C2.96056 3.75002 3.33366 4.12312 3.33366 4.58335L3.33366 15.4167C3.33366 15.8769 2.96056 16.25 2.50033 16.25Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderNone.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5003 16.25C17.0401 16.25 16.667 15.8769 16.667 15.4167V4.58335C16.667 4.12312 17.0401 3.75002 17.5003 3.75002C17.9606 3.75002 18.3337 4.12312 18.3337 4.58335V15.4167C18.3337 15.8769 17.9606 16.25 17.5003 16.25Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderNone.tsx"})]})})}function ds(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderTop","data-sentry-source-file":"BorderTop.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75 2.50002C3.75 2.03978 4.1231 1.66669 4.58333 1.66669H15.4167C15.8769 1.66669 16.25 2.03978 16.25 2.50002C16.25 2.96026 15.8769 3.33335 15.4167 3.33335H4.58333C4.1231 3.33335 3.75 2.96026 3.75 2.50002Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderTop.tsx"}),(0,a.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M3.75 17.5C3.75 17.0398 4.1231 16.6667 4.58333 16.6667H15.4167C15.8769 16.6667 16.25 17.0398 16.25 17.5C16.25 17.9603 15.8769 18.3334 15.4167 18.3334H4.58333C4.1231 18.3334 3.75 17.9603 3.75 17.5Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderTop.tsx"}),(0,a.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M2.50033 16.25C2.04009 16.25 1.66699 15.8769 1.66699 15.4167L1.66699 4.58333C1.66699 4.1231 2.04009 3.75 2.50032 3.75C2.96056 3.75 3.33366 4.1231 3.33366 4.58333L3.33366 15.4167C3.33366 15.8769 2.96056 16.25 2.50033 16.25Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderTop.tsx"}),(0,a.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M17.5003 16.25C17.0401 16.25 16.667 15.8769 16.667 15.4167L16.667 4.58333C16.667 4.1231 17.0401 3.75 17.5003 3.75C17.9606 3.75 18.3337 4.1231 18.3337 4.58333L18.3337 15.4167C18.3337 15.8769 17.9606 16.25 17.5003 16.25Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderTop.tsx"})]})}function di(e){return(0,a.jsx)(nT.V,{...e,itemTemplate:e=>(0,a.jsxs)("div",{className:dc.container,children:[(0,a.jsx)("div",{className:"icon",children:(0,a.jsx)(dl,{border:e})}),(0,a.jsx)("div",{children:N.Border[e]}
1)]},e),"data-sentry-element":"DropdownSelector","data-sentry-component":"BorderDropdown","data-sentry-source-file":"BorderDropdown.tsx"})}function dl(e){let{border:t}=e;switch(t){case N.Border.None:return(0,a.jsx)(dr,{});case N.Border.All:return(0,a.jsx)(dn,{});case N.Border.Top:return(0,a.jsx)(ds,{});case N.Border.Bottom:return(0,a.jsx)(da,{});default:throw Error("Invalid border type.")}}let dc={container:"".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flexDirection:"row",color:d.Colors.Subdued,$nest:{".icon > svg":{display:"flex",width:d.Spacing.Large+d.Spacing.Micro,height:d.Spacing.Large+d.Spacing.Micro,marginRight:d.Spacing.Small}}}))};function dd(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderThicknessLarge","data-sentry-source-file":"BorderThicknessLarge.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6 16.8H2.40002V7.2H21.6V16.8Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderThicknessLarge.tsx"})})}function dp(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderThicknessMedium","data-sentry-source-file":"BorderThicknessMedium.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6 14.4H2.40002V9.60001H21.6V14.4Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderThicknessMedium.tsx"})})}function dm(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderThicknessSmall","data-sentry-source-file":"BorderThicknessSmall.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6 13.2H2.40002V10.8H21.6V13.2Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderThicknessSmall.tsx"})})}function du(){return(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderThicknessXSmall","data-sentry-source-file":"BorderThicknessXSmall.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6 12.6H2.40002V11.4H21.6V12.6Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderThicknessXSmall.tsx"})})}function dg(e){return(0,a.jsx)(nT.V,{...e,itemTemplate:e=>(0,a.jsxs)("div",{className:dx.container,children:[(0,a.jsx)("div",{className:"icon",children:(0,a.jsx)(dy,{border:e})}),(0,a.jsxs)("div",{children:[e," px"]})]},e),"data-sentry-element":"DropdownSelector","data-sentry-component":"BorderThicknessDropdown","data-sentry-source-file":"BorderThicknessDropdown.tsx"})}function dy(e){let{border:t}=e;switch(t){case N.BorderThickness.xSmall:return(0,a.jsx)(du,{});case N.BorderThickness.Small:return(0,a.jsx)(dm,{});case N.BorderThickness.Medium:return(0,a.jsx)(dp,{});case N.BorderThickness.Large:return(0,a.jsx)(dd,{});default:throw Error("Invalid border type.")}}let dx={container:"".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flexDirection:"row",color:d.Colors.Subdued,$nest:{".icon > svg":{display:"flex",height:d.Spacing.Large+d.Spacing.Micro,width:d.Spacing.Large+d.Spacing.Micro,marginRight:d.Spacing.Small}}}))};function dh(){return(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"BorderNoneLine","data-sentry-source-file":"BorderNoneLine.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6 13.2H2.4V10.8H21.6V13.2Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"BorderNoneLine.tsx"}),(0,a.jsx)("path",{d:"M4 20L20 4",stroke:"#5B5B66",strokeWidth:"2",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"BorderNoneLine.tsx"})]})}let dC=["none",N.BorderThickness.xSmall,N.BorderThickness.Small,N.BorderThickness.Medium,N.BorderThickness.Large];function df(e){let{values:t=dC,...n}=e;return(0,a.jsx)(nT.V,{...n,values:t,itemTemplate:e=>(0,a.jsxs)("div",{className:dS.container,children:[(0,a.jsx)("div",{className:"icon",children:"none"===e?(0,a.jsx)(dh,{}):(0,a.jsx)(dy,{border:e})}),(0,a.jsx)("div",{children:"none"===e?"None":"".concat(e," px")})]},e),"data-sentry-element":"DropdownSelector","data-sentry-component":"CombinedBorderDropdown","data-sentry-source-file":"CombinedBorderDropdown.tsx"})}let dS={container:"".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flexDirection:"row",color:d.Colors.Subdued,$nest:{".icon > svg":{display:"flex",height:d.Spacing.Large+d.Spacing.Micro,width:d.Spacing.Large+d.Spacing.Micro,marginRight:d.Spacing.Small}}}))};function dv(e){var t;let{value:n,onChange:o,strings:r=c.D.views.designer.components.properties.imageOptionsPropertySection,analyticsEvents:s=ew.o.designer.sections.team,frameValues:i=[N.ImageFrame.Wide,N.ImageFrame.Landscape,N.ImageFrame.Square,N.ImageFrame.Circle],borderValues:l=[N.Border.None,N.Border.All,N.Border.Top,N.Border.Bottom],borderThicknessValues:d=[N.BorderThickness.xSmall,N.BorderThickness.Small,N.BorderThickness.Medium,N.BorderThickness.Large],combinedBorderControl:p=!1,rampBorderColor:m=!1,wideRowSpacing:u=!1,borderAnalyticsSectionType:g,sectionTokens:y}=e,{borders:x,frame:h,borderColor:C,borderThickness:f,title:S}=r,{imageFrameChange:v,imageBorderChange:b,imageBorderColorChange:j,imageBorderThicknessChange:L}=s,k={imageStyle:n,onImageStyleChange:o};return(0,a.jsx)(sP,{title:S,"data-sentry-element":"PropertySection","data-sentry-component":"ImageOptionsPropertySection","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:u?dP.containerWide:dP.container,"data-sentry-element":"Container","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:[(0,a.jsx)(db,{title:h,analyticsChangeEventName:v,values:i,...k,"data-sentry-element":"FrameSelector","data-sentry-source-file":"ImageOptionsPropertySection.tsx"}),p?(0,a.jsx)(dk,{title:null!=(t=r.border)?t:"Border",sectionType:g,...k}):(0,a.jsx)(dj,{title:x,analyticsChangeEventName:b,values:l,...k}),n.border!==N.Border.None&&(0,a.jsxs)(a.Fragment,{children:[m?(0,a.jsx)(dM,{title:C,sectionType:g,sectionTokens:y,...k}):(0,a.jsx)(dw,{title:C,analyticsChangeEventName:j,...k}),!p&&(0,a.jsx)(dL,{title:f,analyticsChangeEventName:L,values:d,...k})]})]})})}function db(e){let{title:t,values:n,analyticsChangeEventName:o,imageStyle:r,onImageStyleChange:s}=e,i=r.frame||N.ImageFrame.Landscape,l=n.map(e=>({frame:e}));return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"FrameSelector","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{className:dP.rightAlign,"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:o,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(id,{frame:i,onFrameSelected:function(e){e!==i&&s({...r,frame:e})},frameOptions:l,"data-sentry-element":"ImageFrameSelector","data-sentry-source-file":"ImageOptionsPropertySection.tsx"})})})]})}function dj(e){let{title:t,analyticsChangeEventName:n,values:o,imageStyle:r,onImageStyleChange:s}=e;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"BorderSelector","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(di,{eventName:n,values:o,selectedValue:r.border||N.Border.None,onValueChanged:e=>{s({...r,border:e})},"data-sentry-element":"BorderDropdown","data-sentry-source-file":"ImageOptionsPropertySection.tsx"})})]})}function dw(e){let{title:t,analyticsChangeEventName:n,imageStyle:o,onImageStyleChange:r}=e,{websiteSettings:s}=(0,j.Hb)(),i={values:(0,N.getAllThemeColors)(s.colorScheme.themes),selectedValue:o.borderColor||s.colorScheme.themes[0].backgroundColor,onValueChanged:e=>{r({...o,borderColor:e})}};return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"BorderColorSelector","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:n,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(c6,{...i,"data-sentry-element":"ColorDropdown","data-sentry-source-file":"ImageOptionsPropertySection.tsx"})})})]})}function dL(e){let{title:t,analyticsChangeEventName:n,values:o,imageStyle:r,onImageStyleChange:s}=e;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"BorderThicknessSelector","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:n,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(dg,{values:o,selectedValue:r.borderThickness||N.BorderThickness.xSmall,onValueChanged:e=>{s({...r,borderThickness:e})},"data-sentry-element":"BorderThicknessDropdown","data-sentry-source-file":"ImageOptionsPropertySection.tsx"})})})]})}function dk(e){var t;let{title:n,sectionType:o,imageStyle:r,onImageStyleChange:s}=e,i=r.border===N.Border.None?"none":null!=(t=r.borderThickness)?t:N.BorderThickness.Small;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"CombinedBorderRow","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:n}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(df,{selectedValue:i,onValueChanged:e=>{s("none"===e?{...r,border:N.Border.None}:{...r,border:N.Border.All,borderThickness:e}),o&&(0,W.sendEventToGoogleAnalytics)("designer_border_change",{border_value:e,section_type:o})},"data-sentry-element":"CombinedBorderDropdown","data-sentry-source-file":"ImageOptionsPropertySection.tsx"})})]})}function dM(e){let{title:t,sectionType:n,imageStyle:o,onImageStyleChange:r,sectionTokens:s}=e,{resolvedTheme:i}=(0,j.Hb)(),l=o.borderColor||(null==s?void 0:s["section.border-strong"])||(0,E.getBorderColorToken)();return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"RampBorderColorRow","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{className:dP.rightAlign,"data-sentry-element":"Col","data-sentry-source-file":"ImageOptionsPropertySection.tsx",children:(0,a.jsx)(c9,{ariaLabel:t,rampMap:i.rampMap,selectedValue:l,onValueChanged:e=>{r({...o,borderColor:e}),n&&(0,W.sendEventToGoogleAnalytics)("designer_border_color_change",{color:(0,E.formatRampTokenLabel)(e),section_type:n})},"data-sentry-element":"BorderColorDropdown","data-sentry-source-file":"ImageOptionsPropertySection.tsx"})})]})}let dP={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginBottom:8,$nest:{".row":{marginTop:"".concat(d.Spacing.Small,"px !important"),alignItems:"center"}}})),containerWide:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginBottom:8,$nest:{".row":{marginTop:"".concat(d.Spacing.Small,"px !important"),alignItems:"center"},".row + .row":{marginTop:"".concat(d.Spacing.Large,"px !important")}}})),rightAlign:(0,o.style)({display:"flex",justifyContent:"flex-end"})};function dN(e){let{enabled:t,onOnOffSelected:n}=e,o=c.D.views.designer.components.properties.onOffSelector;return(0,a.jsxs)("div",{className:dD.buttonsContainer,"data-sentry-component":"OnOffSelector","data-sentry-source-file":"OnOffSelector.tsx",children:[(0,a.jsx)(G.A,{active:!t,onClick:()=>n(!1),className:dD.iconButton,"data-sentry-element":"Button","data-sentry-source-file":"OnOffSelector.tsx",children:o.off}),(0,a.jsx)(G.A,{active:t,onClick:()=>n(!0),className:dD.iconButton,"data-sentry-element":"Button","data-sentry-source-file":"OnOffSelector.tsx",children:o.on})]})}let dD={buttonsContainer:(0,o.style)({display:"flex",columnGap:d.Spacing.Micro,alignContent:"flex-end"}),iconButton:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",paddingInline:d.Spacing.Medium,paddingBlock:d.Spacing.Small-1,$nest:{"&.active":{backgroundColor:d.StandardColors.ColorLightGray30,color:d.StandardColors.ColorDarkGray50},"&.disabled":{backgroundColor:"transparent"}}}))};function dI(){let e=c.D.views.designer.components.properties.sections.gallery.galleryAutoplayPropertySection,{updateWebsiteSection:t,designerSettings:n}=(0,j.Hb)(),o=n.selectedSection,{props:r}=o;return(void 0===r.autoplayEnabled&&t({...o,props:{...r,autoplayEnabled:!0}}),o.props.layout!==N.GalleryLayout.Carousel)?null:(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"GalleryAutoplayPropertySection","data-sentry-source-file":"GalleryAutoplayPropertySection.tsx",children:(0,a.jsx)(w.A,{className:dT.container,"data-sentry-element":"Container","data-sentry-source-file":"GalleryAutoplayPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:"align-items-center","data-sentry-element":"Row","data-sentry-source-file":"GalleryAutoplayPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:dT.label,"data-sentry-element":"Col","data-sentry-source-file":"GalleryAutoplayPropertySection.tsx",children:e.title}),(0,a.jsx)(k.A,{className:"d-flex justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"GalleryAutoplayPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.gallery.autoplayChange,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"GalleryAutoplayPropertySection.tsx",children:(0,a.jsx)(dN,{enabled:r.autoplayEnabled,onOnOffSelected:function(e){e!==r.autoplayEnabled&&t({...o,props:{...r,autoplayEnabled:e}})},"data-sentry-element":"OnOffSelector","data-sentry-source-file":"GalleryAutoplayPropertySection.tsx"})})})]})})})}let dT={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Large})),label:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray50}))};function dB(e){var t;let[n,o]=(0,r.useState)(!1);return(0,a.jsx)(eG.T,{eventName:e.eventNames.editEventName,onClick:()=>e.onEditClicked(),"data-sentry-element":"AnalyticsLink","data-sentry-component":"Thumbn
1ailListViewItem","data-sentry-source-file":"ThumbnailListViewItem.tsx",children:(0,a.jsxs)(w.A,{className:dA.container,"data-sentry-element":"Container","data-sentry-source-file":"ThumbnailListViewItem.tsx",children:[(0,a.jsxs)(L.A,{className:"d-flex align-items-center","data-sentry-element":"Row","data-sentry-source-file":"ThumbnailListViewItem.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ThumbnailListViewItem.tsx",children:(0,a.jsx)("div",{...e.dragHandleProps,className:"drag-icon ".concat(e.isDragging?"dragging":""),children:(0,a.jsx)(l4,{"data-sentry-element":"DragHandle","data-sentry-source-file":"ThumbnailListViewItem.tsx"})})}),(0,a.jsx)(k.A,{className:"image-col col-auto",style:{backgroundSize:null!=(t=e.thumbnailFitStyle)?t:"fill",backgroundImage:"url(".concat((0,N.getImageUrl)(e.image,N.ImageType.Thumbnail),")")},"data-sentry-element":"Col","data-sentry-source-file":"ThumbnailListViewItem.tsx"}),(0,a.jsxs)(k.A,{className:"text-col","data-sentry-element":"Col","data-sentry-source-file":"ThumbnailListViewItem.tsx",children:[e.title&&(0,a.jsx)("div",{className:"title",children:e.title}),e.descriptionElementOverride||(0,a.jsxs)(a.Fragment,{children:[e.description&&(0,a.jsx)("div",{className:dA.description,children:(0,a.jsx)("span",{children:(0,W.sanitizeHtml)(e.description,{allowedTags:[]})})}),!e.description&&e.descriptionPlaceholder&&(0,a.jsx)(eG.T,{eventName:e.eventNames.editEventName,children:(0,a.jsx)("div",{className:"".concat(dA.description," ").concat(dA.placeholder),children:e.descriptionPlaceholder})})]})]}),e.deleteEnabled&&(0,a.jsx)(k.A,{className:"col-auto",onClick:t=>{e.onDeleteClicked(),t.stopPropagation()},children:(0,a.jsx)(eG.T,{eventName:e.eventNames.deleteEventName,children:(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.Secondary," col-btn"),children:(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(aB.r,{})})}),title:c.D.components.tooltips.delete})})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ThumbnailListViewItem.tsx",children:(0,a.jsx)(eG.T,{eventName:e.eventNames.editEventName,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ThumbnailListViewItem.tsx",children:(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.Secondary," col-btn"),children:(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(O.f,{})})}),title:c.D.components.tooltips.edit,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"ThumbnailListViewItem.tsx"})})})]}),n&&e.onImageChanged&&(0,a.jsx)(oe,{isOpen:n,onClosed:()=>o(!1),imageKeywords:e.imageKeywords,selectedImage:e.image,initialModeOverride:e.imageSelectionInitialModeOverride,onImageSelected:t=>{e.onImageChanged&&e.onImageChanged(t)}})]})})}let dA={container:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({alignItems:"center",position:"relative",overflow:"hidden",marginBottom:u.Spacing.Medium,display:"flex",flex:1,$nest:{".drag-icon":{marginRight:u.Spacing.Small,color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro,paddingBlock:"".concat(u.Spacing.xSmall,"px !important"),transition:"background-color 0.2s ease, opacity 0.2s ease",$nest:{"&:hover":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20)},"&.dragging":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")},"&:active":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")}}},".row":{overflow:"hidden",flex:1},".col-btn":d.ButtonStyles.ListViewItemButton,".image-col":{borderRadius:u.Spacing.Micro,height:2*u.Spacing.xLarge,width:2*u.Spacing.xxLarge,marginRight:u.Spacing.Medium,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",boxShadow:u.BoxShadowStyles.innerXSmall},".scale-icon":{display:"flex",alignItems:"center",maxHeight:u.Spacing.Large+u.Spacing.Micro,maxWidth:u.Spacing.Large+u.Spacing.Micro},".text-col":{display:"flex",flexDirection:"column",overflow:"hidden",color:u.StandardColors.ColorDarkGray50,marginRight:u.Spacing.Small,$nest:{".title":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},".body":{"-webkit-line-clamp":2,flexDirection:"column",maxHeight:u.Spacing.xxLarge,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:u.StandardColors.ColorDarkGray05,$nest:{"& > *":{overflowWrap:"break-word",wordWrap:"break-word",hyphens:"auto"}}}}}}})),description:"body ".concat(d.FontStyles.Subordinate),placeholder:(0,o.style)({opacity:"0.6",$nest:{"&:hover":{opacity:"1 !important",color:"".concat(u.StandardColors.ColorDarkGray05," !important"),cursor:"pointer"}}})};function dH(e){var t;let{onItemChanged:n,item:o,imageKeywords:s,userKeywords:i,...l}=e,[p,m]=(0,r.useState)(o),[g,y]=(0,r.useState)(!1),{designerSettings:x,updateWebsiteSection:h}=(0,j.Hb)(),C=c.D.views.designer.components.properties.sections.gallery.galleryImageComposeDialog,f=x.selectedSection;return(0,a.jsx)(iA,{title:C.title,image:p.image,imageKeywords:s,onImageEditingComplete:e=>{p.image=e,n(p)},onImageSelected:(e,t)=>{m({...p,image:e}),void 0!==t&&f&&h({...f,props:{...f.props,userKeywords:t}})},autoFocus:!1,imageChangeEventName:ew.o.designer.sections.gallery.changeGalleryItemImage,...l,"data-sentry-element":"ImageEditingDialog","data-sentry-component":"GalleryItemComposeDialog","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:[(0,a.jsxs)(L.A,{className:"mt-2 mb-2","data-sentry-element":"Row","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto me-1","data-sentry-element":"Col","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:C.heading}),(0,a.jsx)(k.A,{className:"col-auto ".concat(d.FontStyles.Subdued),"data-sentry-element":"Col","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:C.optional}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.galleryCaption,currentText:null!=(t=p.description)?t:"",visible:g,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"GalleryItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"textarea",className:"label",rows:"3",value:p.description,maxLength:tg.H.galleryCaption,autoFocus:!0,onFocus:()=>y(!0),onBlur:()=>y(!1),onChange:e=>{m({...p,description:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"GalleryItemComposeDialog.tsx"})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{className:"".concat(dF.footer," ").concat(d.FontStyles.Subordinate),"data-sentry-element":"Col","data-sentry-source-file":"GalleryItemComposeDialog.tsx",children:C.footerText})})]})})}let dF={footer:(0,o.style)({color:u.StandardColors.ColorDarkGray05,marginTop:"".concat(u.Spacing.Micro,"px !important")})};function dR(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),{analytics:n}=(0,eL.S)(),o=e.selectedSection,{items:r,imageKeywords:s,userKeywords:i,unusedImages:l}=o.props,d=c.D.views.designer.components.properties.sections.gallery.galleryItemsImageList,p=tg.H.maxGalleryItems-r.length;return(0,a.jsxs)(w.A,{className:dW.container,"data-sentry-element":"Container","data-sentry-component":"GalleryItemsImageList","data-sentry-source-file":"GalleryItemsImageList.tsx",children:[(0,a.jsx)(l5,{items:r.map((e,t)=>"".concat(t)),onDragEnd:function(e){let{active:a,over:s}=e;if(!s||a.id===s.id)return;let i=parseInt(a.id),l=parseInt(s.id),c=(0,l1.be)(r,i,l);return r.splice(0,r.length,...c),(0,ed.$s)(n,ew.o.designer.sections.gallery.reorderGalleryItem),t(o)},"data-sentry-element":"SortableList","data-sentry-source-file":"GalleryItemsImageList.tsx",children:(0,a.jsx)("div",{className:"d-flex flex-column",children:r.map((e,t)=>(0,a.jsx)(l3,{id:"".concat(t),className:"d-flex",children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(dV,{dragHandleProps:n,isDragging:o,item:e,imageKeywords:s,userKeywords:i})}},t))})}),(0,a.jsxs)("div",{className:dW.addSection,children:[(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:dW.addImage,onClick:function(){let e;if(l.length>0){let t=Math.floor(Math.random()*l.length);e=l[t],l.splice(t,1)}else e={...N.EmptyImage};r.push({image:e}),t({...o}
1),(0,ed.$s)(n,ew.o.designer.sections.gallery.addGalleryItem)},disabled:p<=0,"data-sentry-element":"ImageLink","data-sentry-source-file":"GalleryItemsImageList.tsx",children:d.addImage}),(0,a.jsx)(sf,{className:dW.remainingLinkTag,remainingItems:p,singularMessage:d.addSingleRemainingImage,pluralMessage:d.addPluralRemainingImages.replace("{count}",p.toString()),"data-sentry-element":"RemainingItemsTag","data-sentry-source-file":"GalleryItemsImageList.tsx"})]})]})}function dV(e){let{dragHandleProps:t,isDragging:n,item:o,imageKeywords:s,userKeywords:i}=e,{designerSettings:l,updateWebsiteSection:d}=(0,j.Hb)(),[p]=(0,r.useState)(o.image),[m,g]=(0,r.useState)(!1),y=l.selectedSection,x=c.D.views.designer.components.properties.sections.gallery.galleryItemsImageList,h=y.props,C=y.props;function f(e){o.image=e,p.provider===N.ImageProvider.Custom||C.unusedImages.find(e=>(0,N.areImagesEqual)(e,p))||C.unusedImages.push(p),d({...y})}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(dB,{deleteEnabled:C.items.length>1,description:o.description||"",descriptionPlaceholder:x.captionPlaceholder,eventNames:{deleteEventName:ew.o.designer.sections.gallery.deleteGalleryItem,editEventName:ew.o.designer.sections.gallery.editGalleryItem},image:o.image,imageKeywords:C.imageKeywords,onDeleteClicked:()=>{C.items=C.items.filter(e=>e!==o),o.image.provider!==N.ImageProvider.Custom&&C.unusedImages.push(o.image),d({...y})},onImageChanged:e=>f(e),onEditClicked:()=>g(!0),dragHandleProps:t,isDragging:n,"data-sentry-element":"ThumbnailListViewItem","data-sentry-source-file":"GalleryItemsImageList.tsx"}),m&&(0,a.jsx)(dH,{aspectRatio:(0,u.getAspectRatio)(N.ImageFrame.Landscape),imageKeywords:s,userKeywords:i,isOpen:m,onClosed:()=>g(!1),item:o,onItemChanged:e=>{h.items.splice(h.items.indexOf(o),1,e),f(e.image)}})]})}let dW={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Micro+u.Spacing.xSmall})),addImage:(0,o.style)({$nest:{".icon svg":{width:20,height:20}}}),addSection:"d-flex flex-row align-items-end",remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4})};function dE(){let e=c.D.views.designer.components.properties.sections.gallery.galleryImagePropertySection;return(0,a.jsx)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"GalleryImagePropertySection","data-sentry-source-file":"GalleryImagePropertySection.tsx",children:(0,a.jsx)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"GalleryImagePropertySection.tsx",children:(0,a.jsx)(dR,{"data-sentry-element":"GalleryItemsImageList","data-sentry-source-file":"GalleryImagePropertySection.tsx"})})})}function dZ(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Carousel","data-sentry-source-file":"Carousel.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.54096 1.66666C2.50543 1.66666 1.66596 2.50612 1.66596 3.54166V4.99999C1.66596 5.46023 2.03906 5.83332 2.4993 5.83332C2.95954 5.83332 3.33263 5.46023 3.33263 4.99999V3.54166C3.33263 3.4266 3.42591 3.33332 3.54096 3.33332H16.4576C16.5727 3.33332 16.666 3.4266 16.666 3.54166V4.99999C16.666 5.46023 17.0391 5.83332 17.4993 5.83332C17.9595 5.83332 18.3326 5.46023 18.3326 4.99999V3.54166C18.3326 2.50612 17.4932 1.66666 16.4576 1.66666H3.54096ZM16.4576 18.3333C17.4932 18.3333 18.3326 17.4939 18.3326 16.4583V15C18.3326 14.5398 17.9595 14.1667 17.4993 14.1667C17.0391 14.1667 16.666 14.5398 16.666 15V16.4583C16.666 16.5734 16.5727 16.6667 16.4576 16.6667L3.54096 16.6667C3.42591 16.6667 3.33263 16.5734 3.33263 16.4583V15C3.33263 14.5398 2.95954 14.1667 2.4993 14.1667C2.03906 14.1667 1.66596 14.5398 1.66596 15L1.66596 16.4583C1.66596 17.4939 2.50543 18.3333 3.54096 18.3333L16.4576 18.3333ZM2.09309 7.7336C2.48682 7.33987 3.16003 7.61873 3.16003 8.17554V11.8244C3.16003 12.3813 2.48682 12.6601 2.09309 12.2664L0.415952 10.5892C0.0905155 10.2638 0.0905161 9.73617 0.415953 9.41074L2.09309 7.7336ZM16.8386 11.8244C16.8386 12.3813 17.5118 12.6601 17.9055 12.2664L19.5826 10.5892C19.9081 10.2638 19.9081 9.73617 19.5826 9.41073L17.9055 7.7336C17.5118 7.33987 16.8386 7.61872 16.8386 8.17554V11.8244Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Carousel.tsx"})})}function dG(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"GridView","data-sentry-source-file":"GridView.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49935 3.33334H3.33268L3.33268 7.50001H7.49935V3.33334ZM3.33268 1.66667C2.41221 1.66667 1.66602 2.41286 1.66602 3.33334V7.50001C1.66602 8.42048 2.41221 9.16667 3.33268 9.16667H7.49935C8.41982 9.16667 9.16602 8.42048 9.16602 7.50001V3.33334C9.16602 2.41286 8.41982 1.66667 7.49935 1.66667H3.33268Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"GridView.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49935 12.5H3.33268L3.33268 16.6667H7.49935V12.5ZM3.33268 10.8333C2.41221 10.8333 1.66602 11.5795 1.66602 12.5V16.6667C1.66602 17.5871 2.41221 18.3333 3.33268 18.3333H7.49935C8.41982 18.3333 9.16602 17.5871 9.16602 16.6667V12.5C9.16602 11.5795 8.41982 10.8333 7.49935 10.8333H3.33268Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"GridView.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.666 3.33334H12.4993V7.50001H16.666V3.33334ZM12.4993 1.66667C11.5789 1.66667 10.8327 2.41286 10.8327 3.33334V7.50001C10.8327 8.42048 11.5789 9.16667 12.4993 9.16667H16.666C17.5865 9.16667 18.3327 8.42048 18.3327 7.50001V3.33334C18.3327 2.41286 17.5865 1.66667 16.666 1.66667H12.4993Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"GridView.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.666 12.5H12.4993V16.6667H16.666V12.5ZM12.4993 10.8333C11.5789 10.8333 10.8327 11.5795 10.8327 12.5V16.6667C10.8327 17.5871 11.5789 18.3333 12.4993 18.3333H16.666C17.5865 18.3333 18.3327 17.5871 18.3327 16.6667V12.5C18.3327 11.5795 17.5865 10.8333 16.666 10.8333H12.4993Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"GridView.tsx"})]})}function dO(){let e=c.D.views.designer.components.properties.sections.gallery.galleryLayoutPropertySection;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"GalleryLayoutPropertySection","data-sentry-source-file":"GalleryLayoutPropertySection.tsx",children:(0,a.jsx)(w.A,{className:d$.container,"data-sentry-element":"Container","data-sentry-source-file":"GalleryLayoutPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:"align-items-center","data-sentry-element":"Row","data-sentry-source-file":"GalleryLayoutPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.SemiBold,"data-sentry-element":"Col","data-sentry-source-file":"GalleryLayoutPropertySection.tsx",children:e.title}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"GalleryLayoutPropertySection.tsx",children:(0,a.jsx)(dz,{"data-sentry-element":"GalleryLayoutDropdown","data-sentry-source-file":"GalleryLayoutPropertySection.tsx"})})]})})})}function dz(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props;return(0,a.jsx)(nT.V,{eventName:ew.o.designer.sections.gallery.layoutChange,selectedValue:o.layout,values:[N.GalleryLayout.Carousel,N.GalleryLayout.Grid],itemTemplate:e=>(0,a.jsxs)("div",{className:"".concat(u.ContainerStyles.VerticallyCenter," d-flex flex-row"),children:[(0,a.jsx)("div",{className:"icon",children:e===N.GalleryLayout.Carousel?(0,a.jsx)(dZ,{}):(0,a.jsx)(dG,{})}),(0,a.jsx)("div",{children:N.GalleryLayout[e]})]},e),onValueChanged:e=>{t({...n,props:{...n.props,layout:e}})},"data-sentry-element":"DropdownSelector","data-sentry-component":"GalleryLayoutDropdown","data-sentry-source-file":"GalleryLayoutPropertySection.tsx"})}let d$={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".icon > svg":{width:u.Spacing.Medium+u.Spacing.Small,height:u.Spacing.Medium+u.Spacing.Small,marginRight:u.Spacing.Small}}}))};function dU(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection,r=[N.ImageFrame.Landscape,N.ImageFrame.Square];return o.props.layout!==N.GalleryLayout.Grid&&r.push(N.ImageFrame.Circle),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l_,{value:o.props.title,onChange:e=>{t({...o,props:{...o.props,title:e.target.value}})},"data-sentry-element":"HeadingPropertySection","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(dO,{"data-sentry-element":"GalleryLayoutPropertySection","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(dI,{"data-sentry-element":"GalleryAutoplayPropertySection","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(dE,{"data-sentry-element":"GalleryImagePropertySection","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(dv,{value:o.props.imageStyle||N.DefaultImageStyle,strings:c.D.views.designer.components.properties.sections.gallery.imageOptionsPropertySection,analyticsEvents:ew.o.designer.sections.gallery,borderValues:[N.Border.None,N.Border.All],frameValues:r,onChange:e=>{let n=o.props.imageStyle,a={...o.props,imageStyle:e};
1n&&n.frame!==e.frame&&(a.items=o.props.items.map(e=>{let{image:t,...n}=e,{effects:a,...o}=t;return{...n,image:o}})),t({...o,props:a})},combinedBorderControl:!0,rampBorderColor:!0,borderAnalyticsSectionType:"gallery","data-sentry-element":"ImageOptionsPropertySection","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.gallery.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"GallerySectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"GallerySectionProperties.tsx"})]})}function d_(e){let{editEventName:t,link:n,isEnabled:o,onLinkChanged:s,toggleEventName:i,buttonStyle:l,onButtonStyleChanged:d,buttonSize:p,onButtonSizeChanged:m,title:u,titleClassname:g,useSegmentedButtonControls:y=!1,showButtonPreview:x=!1,sectionThemeMode:h}=e,C=c.D.views.designer.components.properties.buttonPropertySection,[f,S]=(0,r.useState)(!1),{websiteSettings:v}=(0,j.Hb)(),b=v.pages.some(e=>e.pageType===N.PageType.Blog);return n?(0,a.jsx)(cb,{editEventName:t,onClickEditButton:()=>S(!0),propertyEnabled:o,setPropertyEnabled:e=>{s(n,e)},subtitle:n.label,title:null!=u?u:C.title,titleClassname:g,toggleEventName:i,"data-sentry-element":"PropertySectionWithToggle","data-sentry-component":"ButtonPropertySection","data-sentry-source-file":"ButtonPropertySection.tsx",children:f&&(0,a.jsx)(n9,{title:C.title,labelCharLimit:tg.H.buttonLabels,isOpen:f,onClosed:()=>S(!1),link:n,onLinkChanged:e=>s(e,o),supportedLinkTypes:[N.LinkType.Section,...b?[N.LinkType.Blog]:[],N.LinkType.Web,N.LinkType.Email,N.LinkType.Phone],availableSections:v.sections,buttonStyle:l,onButtonStyleChanged:d,showButtonSizeSelector:!0,buttonSize:p,onButtonSizeChanged:m,useSegmentedButtonControls:y,showButtonPreview:x,sectionThemeMode:h})}):(s(dq,!1),null)}let dq={type:N.LinkType.Email,label:c.D.views.designer.components.properties.buttonPropertySection.defaultButtonLabel,value:""};function dQ(e){let{fixedHeaderEnabled:t,setFixedHeader:n,titleClassname:o}=e,r=c.D.views.designer.components.properties.sections.header.fixedHeaderPropertySection,{pushToastMessage:s}=(0,K.dj)();return(0,a.jsx)(cb,{editEventName:ew.o.designer.sections.header.fixedHeaderToggle,propertyEnabled:t,setPropertyEnabled:e=>{e&&s(Y.vn.fixedHeaderEnabled),n(e)},title:r.title,subtitle:r.description,titleClassname:o,toggleEventName:ew.o.designer.sections.header.fixedHeaderToggle,"data-sentry-element":"PropertySectionWithToggle","data-sentry-component":"FixedHeaderPropertySection","data-sentry-source-file":"FixedHeaderPropertySection.tsx"})}function dK(e){let{title:t,closeButtonLabel:n,onClose:o,width:s=390,top:i="calc(50vh + 32px)",borderRadius:l=u.Spacing.Small,showHeaderDivider:c=!1,ignoreRefs:p,animateHeight:m=!1,disableHeightTransition:g=!1,headerHugContent:y=!1,headerHorizontalPadding:x=u.Spacing.xLarge,stickyContent:h,children:C}=e,f=(0,r.useRef)(null),S=(0,r.useRef)(null),v=(0,r.useRef)(null),b=(0,r.useRef)(null),[j,w]=(0,r.useState)(),[L,k]=(0,r.useState)(!1);return(0,r.useLayoutEffect)(()=>{var e;if(!m)return;let t=v.current;if(!t)return;let n=()=>{var e,n,a,o,r,s;w((r=null!=(a=null==(e=S.current)?void 0:e.offsetHeight)?a:0,s=null!=(o=null==(n=b.current)?void 0:n.offsetHeight)?o:0,Math.min(r+s+t.scrollHeight,.7*window.innerHeight)))};if(n(),"undefined"==typeof ResizeObserver)return;let a=new ResizeObserver(n);return null==(e=a.observe)||e.call(a,t),()=>{var e;return null==(e=a.disconnect)?void 0:e.call(a)}},[m]),(0,r.useEffect)(()=>{if(!m||"undefined"==typeof requestAnimationFrame)return;let e=requestAnimationFrame(()=>k(!0));return()=>cancelAnimationFrame(e)},[m]),(0,r.useEffect)(()=>{function e(e){var t;let n=e.target;!((null==(t=f.current)?void 0:t.contains(n))||(null==p?void 0:p.some(e=>{var t;return null==(t=e.current)?void 0:t.contains(n)})))&&(n instanceof Element&&n.closest(".modal")||o())}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[o,p]),(0,a.jsxs)("div",{ref:f,className:"".concat(dY.panel," ").concat(m?dY.animated:""),style:{right:402,width:s,borderRadius:l,...m?{height:j,top:void 0!==j?"calc(50vh - ".concat(j/2,"px)"):i,transform:"none",transition:L&&!g?"height 400ms ease-in-out":"none"}:{top:i,transform:"translateY(-50%)"}},"data-sentry-component":"FloatingSidebarPanel","data-sentry-source-file":"FloatingSidebarPanel.tsx",children:[(0,a.jsxs)("div",{ref:S,className:"".concat(dY.header," ").concat(y?dY.headerHug:""),style:{borderBottom:c?"1px solid ".concat(d.Colors.LightBorder):"none",...y?{}:{padding:"0 ".concat(x,"px")}},children:[(0,a.jsx)("h4",{className:dY.panelTitle,children:t}),(0,a.jsx)("button",{className:dY.closeButton,onClick:o,"aria-label":n,children:(0,a.jsx)(aX.b,{"data-sentry-element":"Close","data-sentry-source-file":"FloatingSidebarPanel.tsx"})})]}),h&&(0,a.jsx)("div",{ref:b,className:dY.sticky,children:h}),m?(0,a.jsx)("div",{className:dY.scrollViewport,children:(0,a.jsx)("div",{ref:v,children:C})}):C]})}let dY={panel:(0,o.style)({position:"fixed",backgroundColor:u.StandardColors.ColorWhite,boxShadow:u.BoxShadowStyles.Large,zIndex:200}),animated:(0,o.style)({display:"flex",flexDirection:"column",maxHeight:"".concat(70,"vh"),overflow:"hidden"}),sticky:(0,o.style)({flexShrink:0,overflow:"visible"}),scrollViewport:(0,o.style)({flex:1,minHeight:0,overflowY:"auto"}),header:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 ".concat(u.Spacing.xLarge,"px"),height:64}),headerHug:(0,o.style)({height:"auto",alignItems:"flex-start",padding:"".concat(u.Spacing.xLarge-4,"px ").concat(u.Spacing.xLarge,"px 0")}),panelTitle:(0,o.style)({margin:0,fontWeight:600}),closeButton:(0,o.style)({background:"none",border:"none",padding:0,cursor:"pointer",color:u.StandardColors.ColorDarkGray05,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,$nest:{"&:hover":{color:u.StandardColors.ColorDarkGray90},"& svg":{width:20,height:20}}})},dX={[N.HeaderLayout.SingleRowLeft]:function(){return(0,a.jsxs)("svg",{width:"342",height:"72",viewBox:"0 0 342 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"NavbarLeftWithContent","data-sentry-source-file":"NavbarLeftWithContent.tsx",children:[(0,a.jsx)("rect",{width:"342",height:"72",fill:"#F0F0F4","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("rect",{x:"61.5",y:"26.5",width:"219",height:"19",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("rect",{x:"61.5",y:"26.5",width:"219",height:"19",rx:"1.5",stroke:"#CFCFD8",strokeLinejoin:"round","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("path",{d:"M69 33V39H72.4286",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("rect",{x:"73.9286",y:"33",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("path",{d:"M84.75 36.4286H86.4643C86.4643 36.6505 86.4362 36.8658 86.3833 37.0713C86.0979 38.1804 85.0911 39 83.8929 39C82.4727 39 81.3214 37.8487 81.3214 36.4286V35.5714C81.3214 34.1513 82.4727 33 83.8929 33C84.9142 33 85.7964 33.5954 86.2114 34.458C86.2392 34.5159 86.265 34.575 86.2885 34.6352",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithContent.tsx"}
1),(0,a.jsx)("path",{d:"M86.4645 36.4287V39.0001",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("rect",{x:"88.7145",y:"33",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("path",{d:"M225 36L233 36",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("path",{d:"M239 36L247 36",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithContent.tsx"}),(0,a.jsx)("rect",{x:"255.625",y:"32.625",width:"16.75",height:"6.75",rx:"3.375",fill:"#7542E4",fillOpacity:"0.8",stroke:"#7542E4",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithContent.tsx"})]})},[N.HeaderLayout.TwoRowLeft]:function(){return(0,a.jsxs)("svg",{width:"342",height:"72",viewBox:"0 0 342 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"NavbarLeftTwoRow","data-sentry-source-file":"NavbarLeftTwoRow.tsx",children:[(0,a.jsx)("rect",{width:"342",height:"72",fill:"#F0F0F4","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_25115_65401)","data-sentry-element":"g","data-sentry-source-file":"NavbarLeftTwoRow.tsx",children:[(0,a.jsx)("rect",{x:"61",y:"17",width:"220",height:"38",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("mask",{id:"path-3-inside-1_25115_65401",fill:"white","data-sentry-element":"mask","data-sentry-source-file":"NavbarLeftTwoRow.tsx",children:(0,a.jsx)("path",{d:"M61 17H281V37H61V17Z","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"})}),(0,a.jsx)("path",{d:"M61 17H281V37H61V17Z",fill:"white","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("path",{d:"M281 37V36H61V37V38H281V37Z",fill:"#CFCFD8",mask:"url(#path-3-inside-1_25115_65401)","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("path",{d:"M69 24V30H72.4286",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("rect",{x:"73.9286",y:"24",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("path",{d:"M84.75 27.4286H86.4643C86.4643 27.6505 86.4362 27.8658 86.3833 28.0713C86.0979 29.1804 85.0911 30 83.8929 30C82.4727 30 81.3214 28.8487 81.3214 27.4286V26.5714C81.3214 25.1513 82.4727 24 83.8929 24C84.9142 24 85.7964 24.5954 86.2114 25.458C86.2392 25.5159 86.265 25.575 86.2885 25.6352",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("path",{d:"M86.4645 27.4287V30.0001",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("rect",{x:"88.7145",y:"24",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("rect",{x:"255.625",y:"23.625",width:"16.75",height:"6.75",rx:"3.375",fill:"#7542E4",fillOpacity:"0.8",stroke:"#7542E4",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("path",{d:"M160 46L168 46",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("path",{d:"M174 46L182 46",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftTwoRow.tsx"})]}),(0,a.jsx)("rect",{x:"61.5",y:"17.5",width:"219",height:"37",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftTwoRow.tsx"}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"NavbarLeftTwoRow.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_25115_65401","data-sentry-element":"clipPath","data-sentry-source-file":"NavbarLeftTwoRow.tsx",children:(0,a.jsx)("rect",{x:"61",y:"17",width:"220",height:"38",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftTwoRow.tsx"})})})]})},[N.HeaderLayout.HamburgerLeft]:function(){return(0,a.jsxs)("svg",{width:"342",height:"72",viewBox:"0 0 342 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"NavbarLeftWithDropdown","data-sentry-source-file":"NavbarLeftWithDropdown.tsx",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_25115_65421)","data-sentry-element":"g","data-sentry-source-file":"NavbarLeftWithDropdown.tsx",children:[(0,a.jsx)("rect",{width:"342",height:"72",fill:"#F0F0F4","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("rect",{x:"61.5",y:"26.5",width:"219",height:"19",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("rect",{x:"61.5",y:"26.5",width:"219",height:"19",rx:"1.5",stroke:"#CFCFD8",strokeLinejoin:"round","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M69 33V39H72.4286",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("rect",{x:"73.9286",y:"33",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M84.75 36.4286H86.4643C86.4643 36.6505 86.4362 36.8658 86.3833 37.0713C86.0979 38.1804 85.0911 39 83.8929 39C82.4727 39 81.3214 37.8487 81.3214 36.4286V35.5714C81.3214 34.1513 82.4727 33 83.8929 33C84.9142 33 85.7964 33.5954 86.2114 34.458C86.2392 34.5159 86.265 34.575 86.2885 34.6352",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}
1),(0,a.jsx)("path",{d:"M86.4645 36.4287V39.0001",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("rect",{x:"88.7145",y:"33",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M267 33L272.937 33",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M267 36L272.937 36",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M267 39L273 39",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("mask",{id:"path-10-inside-1_25115_65421",fill:"white","data-sentry-element":"mask","data-sentry-source-file":"NavbarLeftWithDropdown.tsx",children:(0,a.jsx)("path",{d:"M237 45C237 43.8954 237.895 43 239 43H275C276.105 43 277 43.8954 277 45V72H237V45Z","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"})}),(0,a.jsx)("path",{d:"M237 45C237 43.8954 237.895 43 239 43H275C276.105 43 277 43.8954 277 45V72H237V45Z",fill:"white","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M236 45C236 43.3431 237.343 42 239 42H275C276.657 42 278 43.3431 278 45H276C276 44.4477 275.552 44 275 44H239C238.448 44 238 44.4477 238 45H236ZM238 45M277 72H237H277M236 72V45C236 43.3431 237.343 42 239 42V44C238.448 44 238 44.4477 238 45V72H236ZM275 42C276.657 42 278 43.3431 278 45V72H276V45C276 44.4477 275.552 44 275 44V42Z",fill:"#CFCFD8",mask:"url(#path-10-inside-1_25115_65421)","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M245 52L253 52",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("path",{d:"M245 59L253 59",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"}),(0,a.jsx)("rect",{x:"245.625",y:"66.625",width:"22.75",height:"6.75",rx:"3.375",fill:"#7542E4",fillOpacity:"0.8",stroke:"#7542E4",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"})]}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"NavbarLeftWithDropdown.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_25115_65421","data-sentry-element":"clipPath","data-sentry-source-file":"NavbarLeftWithDropdown.tsx",children:(0,a.jsx)("rect",{width:"342",height:"72",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarLeftWithDropdown.tsx"})})})]})},[N.HeaderLayout.TwoRowCentered]:function(){return(0,a.jsxs)("svg",{width:"342",height:"72",viewBox:"0 0 342 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"NavbarCenteredWithContent","data-sentry-source-file":"NavbarCenteredWithContent.tsx",children:[(0,a.jsx)("rect",{width:"342",height:"72",fill:"#F0F0F4","data-sentry-element":"rect","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_25115_65447)","data-sentry-element":"g","data-sentry-source-file":"NavbarCenteredWithContent.tsx",children:[(0,a.jsx)("rect",{x:"61",y:"17",width:"220",height:"38",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("mask",{id:"path-3-inside-1_25115_65447",fill:"white","data-sentry-element":"mask","data-sentry-source-file":"NavbarCenteredWithContent.tsx",children:(0,a.jsx)("path",{d:"M61 17H281V37H61V17Z","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"})}),(0,a.jsx)("path",{d:"M61 17H281V37H61V17Z",fill:"white","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("path",{d:"M281 37V36H61V37V38H281V37Z",fill:"#CFCFD8",mask:"url(#path-3-inside-1_25115_65447)","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("path",{d:"M157.893 24V30H161.321",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("rect",{x:"162.821",y:"24",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("path",{d:"M173.643 27.4286H175.357C175.357 27.6505 175.329 27.8658 
1175.276 28.0713C174.991 29.1804 173.984 30 172.786 30C171.365 30 170.214 28.8487 170.214 27.4286V26.5714C170.214 25.1513 171.365 24 172.786 24C173.807 24 174.689 24.5954 175.104 25.458C175.132 25.5159 175.158 25.575 175.181 25.6352",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("path",{d:"M175.357 27.4287V30.0001",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("rect",{x:"177.607",y:"24",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("rect",{x:"255.625",y:"23.625",width:"16.75",height:"6.75",rx:"3.375",fill:"#7542E4",fillOpacity:"0.8",stroke:"#7542E4",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("path",{d:"M160 46L168 46",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("path",{d:"M174 46L182 46",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCenteredWithContent.tsx"})]}),(0,a.jsx)("rect",{x:"61.5",y:"17.5",width:"219",height:"37",rx:"1.5",stroke:"#CFCFD8","data-sentry-element":"rect","data-sentry-source-file":"NavbarCenteredWithContent.tsx"}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"NavbarCenteredWithContent.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_25115_65447","data-sentry-element":"clipPath","data-sentry-source-file":"NavbarCenteredWithContent.tsx",children:(0,a.jsx)("rect",{x:"61",y:"17",width:"220",height:"38",rx:"2",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarCenteredWithContent.tsx"})})})]})},[N.HeaderLayout.HamburgerCentered]:function(){return(0,a.jsxs)("svg",{width:"342",height:"72",viewBox:"0 0 342 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"NavbarCentered","data-sentry-source-file":"NavbarCentered.tsx",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_25115_65467)","data-sentry-element":"g","data-sentry-source-file":"NavbarCentered.tsx",children:[(0,a.jsx)("rect",{width:"342",height:"72",fill:"#F0F0F4","data-sentry-element":"rect","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("rect",{x:"61.5",y:"26.5",width:"219",height:"19",rx:"1.5",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("rect",{x:"61.5",y:"26.5",width:"219",height:"19",rx:"1.5",stroke:"#CFCFD8",strokeLinejoin:"round","data-sentry-element":"rect","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M158.893 33V39H162.321",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("rect",{x:"163.821",y:"33",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M174.643 36.4286H176.357C176.357 36.6505 176.329 36.8658 176.276 37.0713C175.991 38.1804 174.984 39 173.786 39C172.365 39 171.214 37.8487 171.214 36.4286V35.5714C171.214 34.1513 172.365 33 173.786 33C174.807 33 175.689 33.5954 176.104 34.458C176.132 34.5159 176.158 34.575 176.181 34.6352",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M176.357 36.4287V39.0001",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("rect",{x:"178.607",y:"33",width:"5.14286",height:"6",rx:"2.57143",stroke:"#32313C",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M267 33L272.937 33",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M267 36L272.937 36",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M267 39L273 39",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("mask",{id:"path-10-inside-1_25115_65467",fill:"white","data-sentry-element":"mask","data-sentry-source-file":"NavbarCentered.tsx",children:(0,a.jsx)("path",{d:"M237 45C237 43.8954 237.895 43 239 43H275C276.105 43 277 43.8954 277 45V72H237V45Z","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"})}),(0,a.jsx)("path",{d:"M237 45C237 43.8954 237.895 43 239 43H275C276.105 43 277 43.8954 277 45V72H237V45Z",fill:"white","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M236 45C236 43.3431 237.343 42 239 42H275C276.657 42 278 43.3431 278 45H276C276 44.4477 275.552 44 275 44H239C238.448 44 238 44.4477 238 45H236ZM238 45M277 72H237H277M236 72V45C236 43.3431 237.343 42 239 42V44C238.448 44 238 44.4477 238 45V72H236ZM275 42C276.657 42 278 43.3431 278 45V72H276V45C276 44.4477 275.552 44 275 44V42Z",fill:"#CFCFD8",mask:"url(#path-10-inside-1_25115_65467)","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M245 52L253 52",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("path",{d:"M245 59L253 59",stroke:"#32313C",strokeWidth:"1.25",strokeLinecap:"round","data-sentry-element":"path","data-sentry-source-file":"NavbarCentered.tsx"}),(0,a.jsx)("rect",{x:"245.625",y:"66.625",width:"22.75",height:"6.75",rx:"3.375",fill:"#7542E4",f
1illOpacity:"0.8",stroke:"#7542E4",strokeWidth:"1.25","data-sentry-element":"rect","data-sentry-source-file":"NavbarCentered.tsx"})]}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"NavbarCentered.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_25115_65467","data-sentry-element":"clipPath","data-sentry-source-file":"NavbarCentered.tsx",children:(0,a.jsx)("rect",{width:"342",height:"72",fill:"white","data-sentry-element":"rect","data-sentry-source-file":"NavbarCentered.tsx"})})})]})}},dJ=[N.HeaderLayout.SingleRowLeft,N.HeaderLayout.TwoRowLeft,N.HeaderLayout.HamburgerLeft],d1=[N.HeaderLayout.TwoRowCentered,N.HeaderLayout.HamburgerCentered];function d0(e){let{selectedLayout:t,onSelectLayout:n,onClose:o}=e,r=c.D.views.designer.components.properties.sections.header.layoutPropertySection;function s(e){let o=dX[e],s=r.layoutAltText[e],i=t===e;return(0,a.jsx)("button",{className:"".concat(d3.layoutOption," ").concat(i?d3.layoutOptionSelected:""),onClick:()=>n(e),"aria-label":s,"aria-pressed":i,"data-sentry-component":"renderLayoutOption","data-sentry-source-file":"HeaderLayoutPanel.tsx",children:(0,a.jsx)("div",{className:d3.iconWrapper,children:(0,a.jsx)(o,{"data-sentry-element":"Icon","data-sentry-source-file":"HeaderLayoutPanel.tsx"})})},e)}return(0,a.jsx)(dK,{title:r.panelTitle,closeButtonLabel:r.closePanel,onClose:o,showHeaderDivider:!0,"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"HeaderLayoutPanel","data-sentry-source-file":"HeaderLayoutPanel.tsx",children:(0,a.jsxs)("div",{className:d3.layoutGrid,children:[(0,a.jsx)("h6",{className:d3.sectionHeading,children:r.leftLogoHeading}),dJ.map(s),(0,a.jsx)("hr",{className:d3.separator}),(0,a.jsx)("h6",{className:d3.sectionHeading,children:r.centeredLogoHeading}),d1.map(s)]})})}let d3={layoutGrid:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.Large,padding:"".concat(u.Spacing.Large,"px ").concat(u.Spacing.xLarge,"px ").concat(u.Spacing.xLarge,"px")}),sectionHeading:(0,o.style)({margin:0,textTransform:"uppercase",fontSize:10,lineHeight:"14px",letterSpacing:"0.1em",fontWeight:600,color:u.StandardColors.ColorDarkGray05}),separator:(0,o.style)({margin:0,borderColor:u.StandardColors.ColorLightGray20,opacity:1}),layoutOption:(0,o.style)({background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",justifyContent:"center"}),iconWrapper:(0,o.style)({borderRadius:4,lineHeight:0,position:"relative",$nest:{"& svg, & img":{display:"block",width:"100%",borderRadius:4},"&::after":{content:'""',position:"absolute",inset:0,borderRadius:4,boxShadow:"inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)",pointerEvents:"none"}}}),layoutOptionSelected:(0,o.style)({$nest:{"& > div":{boxShadow:"0 0 0 1px #FFF, 0 0 0 3px #5B5B66"}}})};function d2(){var e;let{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),[o,s]=(0,r.useState)(!1),i=t.selectedSection,l=i.props,p=null!=(e=l.layout)?e:N.HeaderLayout.SingleRowLeft,m=c.D.views.designer.components.properties.sections.header.layoutPropertySection,u=dX[p],g=m.layoutAltText[p];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(sP,{title:m.title,rightTitleContent:(0,a.jsx)("button",{className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(d.FontStyles.Medium),onClick:()=>s(!0),children:m.changeLayout}),"data-sentry-element":"PropertySection","data-sentry-source-file":"HeaderLayoutPropertySection.tsx",children:(0,a.jsx)("button",{className:d6.previewButton,onClick:()=>s(!0),"aria-label":g,children:(0,a.jsx)(u,{"data-sentry-element":"LayoutIcon","data-sentry-source-file":"HeaderLayoutPropertySection.tsx"})})}),o&&(0,a.jsx)(d0,{selectedLayout:p,onSelectLayout:e=>{let{analytics:t}=(0,eL.S)();(0,ed.$s)(t,ew.o.designer.sections.header.layoutChange,{layout:e}),n({...i,props:{...l,layout:e}})},onClose:()=>s(!1)})]})}let d6={previewButton:(0,o.style)({background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",justifyContent:"center",position:"relative",width:"100%",aspectRatio:"342 / 72",borderRadius:u.Spacing.Micro,marginBottom:u.Spacing.Small,$nest:{"& svg":{display:"block",width:"100%",height:"100%",borderRadius:u.Spacing.Micro},"&::after":{content:'""',position:"absolute",inset:0,borderRadius:u.Spacing.Micro,boxShadow:"inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)",pointerEvents:"none"}}})};function d5(){var e;let{websiteSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),o=c.D.views.designer.components.properties.sections.header.n
1avigationLinksSection,r=c.D.views.designer.components.properties.sections.header.navTextSizeSection,s=t.sections.find(e=>e.type===N.WebsiteSectionType.Header),i=s.props,l=null!=(e=i.navTextSize)?e:N.HeaderNavTextSize.Default;if(void 0===i.links)return n({...s,props:{...s.props,links:[]}}),(0,a.jsx)("div",{});function d(e){let{analytics:t}=(0,eL.S)();(0,ed.$s)(t,ew.o.designer.sections.header.navTextSizeChange,{navTextSize:e}),n({...s,props:{...s.props,navTextSize:e}})}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(cZ,{navigationLinks:i.links,onUpdate:()=>n(s),onDelete:e=>n({...s,props:{...s.props,links:e}}),title:o.title,maxLinks:tg.H.maxLinks,"data-sentry-element":"NavigationLinksPropertySection","data-sentry-source-file":"LinksSection.tsx"}),(0,a.jsx)(sP,{title:r.title,className:d4.sizeSection,titleClassname:d4.sizeLabel,rightTitleContent:(0,a.jsxs)("div",{className:d4.buttonsContainer,children:[(0,a.jsx)(G.A,{active:l===N.HeaderNavTextSize.Small,className:d4.sizeButton,onClick:()=>d(N.HeaderNavTextSize.Small),children:r.small}),(0,a.jsx)(G.A,{active:l===N.HeaderNavTextSize.Default,className:d4.sizeButton,onClick:()=>d(N.HeaderNavTextSize.Default),children:r.default})]}),"data-sentry-element":"PropertySection","data-sentry-source-file":"LinksSection.tsx"})]})}let d4={sizeSection:(0,o.style)({marginTop:u.Spacing.Small}),sizeLabel:(0,o.style)({fontWeight:400,color:u.StandardColors.ColorDarkGray50,fontSize:13,lineHeight:"18px"}),buttonsContainer:(0,o.style)({display:"flex",columnGap:u.Spacing.Micro}),sizeButton:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",paddingInline:u.Spacing.Medium,paddingBlock:u.Spacing.Small-1,fontWeight:600,fontSize:13,color:u.StandardColors.ColorDarkGray05,$nest:{"&.active":{backgroundColor:u.StandardColors.ColorLightGray30,color:u.StandardColors.ColorDarkGray05}}}))};function d7(e){let{settings:t,footNote:n,onClose:o,...r}=e,s=c.D.views.designer.components.properties.sections.header.invalidLogoModal,{maxSizeMB:i}=t;return(0,a.jsx)(_.A,{centered:!0,scrollable:!1,className:"".concat(d9.container),isOpen:!0,modalTransition:{timeout:100},...r,"data-sentry-element":"Modal","data-sentry-component":"InvalidLogoModal","data-sentry-source-file":"InvalidLogoModal.tsx",children:(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"InvalidLogoModal.tsx",children:[(0,a.jsxs)("div",{className:d9.title,children:[(0,a.jsx)("div",{className:d9.icon,children:(0,a.jsx)(e4.F,{"data-sentry-element":"Alert","data-sentry-source-file":"InvalidLogoModal.tsx"})}),(0,a.jsx)("div",{children:s.title})]}),(0,a.jsx)("div",{className:d9.description,children:"".concat(s.supported).concat(function(){let{supportedFiletypes:e}=t,n="";return e.forEach((t,a)=>{n=n.concat(t+(a<e.length-1?", ":""))}),n}(),"\n").concat(s.maximumSize).concat(i," MB.")}),n&&(0,a.jsx)("div",{className:d9.description,children:n}),(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.Primary," ").concat(d9.button),onClick:o,"data-sentry-element":"Button","data-sentry-source-file":"InvalidLogoModal.tsx",children:s.confirm})]})})}let d9={container:(0,o.style)({display:"flex",overflow:"hidden",maxWidth:440,boxSizing:"content-box",$nest:{".modal-content":{borderRadius:u.Spacing.Small,borderWidth:0,border:0,outline:"none",boxShadow:u.BoxShadowStyles.xLarge,padding:u.Spacing.xLarge,paddingBottom:u.Spacing.Large+u.Spacing.Micro},".modal-body":{overflow:"hidden",textAlign:"center",padding:0,display:"flex",flexDirection:"column",justifyContent:"flex-start"},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),title:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({fontSize:18,lineHeight:"24px",display:"flex",flexDirection:"row",columnGap:u.Spacing.Small,textAlign:"left",justifyContent:"flex-start",alignItems:"center",overflow:"hidden",boxSizing:"content-box",height:u.Spacing.xxLarge,marginBottom:u.Spacing.Small,color:u.StandardColors.ColorDarkGray90})),icon:(0,o.style)({display:"flex",color:u.StandardColors.ColorDarkGray05,alignItems:"center"}),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",flexDirection:"column",lineHeight:"".concat(u.Spacing.Large+u.Spacing.Micro,"px"),textAlign:"left",overflow:"hidden",boxSizing:"content-box",whiteSpace:"pre-line",color:u.StandardColors.ColorDarkGray50,marginBottom:u.Spacing.Large})),button:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({padding:u.Spacing.Small,paddingLeft:u.Spacing.Large,paddingRight:u.Spacing.Large,alignSelf:"flex-start"}))};function d8(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"FontLarge","data-sentry-source-file":"FontLarge.tsx",children:(0,a.jsx)("path",{d:"M5.00033 3.33334C4.54009 3.33334 4.16699 3.70643 4.16699 4.16667V5.83334C4.16699 6.29357 4.54009 6.66667 5.00033 6.66667C5.46056 6.66667 5.83366 6.29357 5.83366 5.83334V5L9.16699 5V15H8.33366C7.87342 15 7.50033 15.3731 7.50033 15.8333C7.50033 16.2936 7.87342 16.6667 8.33366 16.6667L11.667 16.6667C12.1272 16.6667 12.5003 16.2936 12.5003 15.8333C12.5003 15.3731 12.1272 15 11.667 15H10.8337V5L14.167 5V5.83334C14.167 6.29357 14.5401 6.66667 15.0003 
16.66667C15.4606 6.66667 15.8337 6.29357 15.8337 5.83334V4.16667C15.8337 3.70643 15.4606 3.33334 15.0003 3.33334H5.00033Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"FontLarge.tsx"})})}function pe(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"FontSmall","data-sentry-source-file":"FontSmall.tsx",children:(0,a.jsx)("path",{d:"M8.41634 13.3333C8.41634 12.8731 8.78944 12.5 9.24967 12.5H9.66634V7.5H7.99967V7.91667C7.99967 8.37691 7.62658 8.75 7.16634 8.75C6.7061 8.75 6.33301 8.37691 6.33301 7.91667V6.66667C6.33301 6.20643 6.7061 5.83334 7.16634 5.83334H13.833C14.2932 5.83334 14.6663 6.20643 14.6663 6.66667V7.91667C14.6663 8.37691 14.2932 8.75 13.833 8.75C13.3728 8.75 12.9997 8.37691 12.9997 7.91667V7.5L11.333 7.5V12.5H11.7497C12.2099 12.5 12.583 12.8731 12.583 13.3333C12.583 13.7936 12.2099 14.1667 11.7497 14.1667L9.24967 14.1667C8.78944 14.1667 8.41634 13.7936 8.41634 13.3333Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"FontSmall.tsx"})})}var pt=function(e){return e.Preview="Preview",e.FontSelect="FontSelect",e.FontSize="FontSize",e.FontWeight="FontWeight",e}({});function pn(e){var t,n,o;let r="pair"===e.variant?null==(t=e.selectedFont)?void 0:t.headingFont:e.selectedFont,s="pair"===e.variant?null==(n=e.selectedFont)?void 0:n.bodyFont:void 0;if((0,Z.G)(null!=(o=null==r?void 0:r.fontName)?o:null,null==r?void 0:r.supportedWeights),!r)return null;let i=t=>{"pair"===e.variant?e.selectedFont&&e.onFontChanged({...e.selectedFont,headingFont:t}):e.onFontChanged(t)},{fontSettings:l,strings:c,eventNames:d,onOpenFontPanel:p}=e;return(0,a.jsx)(w.A,{className:pi.fontContainer,"data-sentry-element":"Container","data-sentry-component":"FontProperties","data-sentry-source-file":"FontProperties.tsx",children:(l||[]).map((t,n)=>{let o="".concat(t).concat(n);switch(t){case"FontSelect":return(0,a.jsx)(pa,{headingFont:r,fontLabel:c.fontLabel,onOpenFontPanel:p},o);case"Preview":return(0,a.jsx)(po,{headingFont:r,bodyFont:s,displayText:e.displayText,previewSubordinate:e.previewSubordinate,onOpenFontPanel:p},o);case"FontSize":return(0,a.jsx)(pr,{headingFont:r,sizeLabel:c.sizeLabel,eventName:d.fontSizeChange,onHeadingChange:i},o);case"FontWeight":return(0,a.jsx)(ps,{headingFont:r,weightLabel:c.weightLabel,eventName:d.fontWeightChange,onHeadingChange:i},o);default:return null}})})}function pa(e){let{headingFont:t,fontLabel:n,onOpenFontPanel:o}=e;return(0,a.jsxs)(L.A,{className:"spacedRow","data-sentry-element":"Row","data-sentry-component":"FontSelect","data-sentry-source-file":"FontProperties.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FontProperties.tsx",children:n}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FontProperties.tsx",children:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.SecondarySmall," p-0 w-100"),onClick:()=>null==o?void 0:o(),"data-sentry-element":"Button","data-sentry-source-file":"FontProperties.tsx",children:(0,a.jsxs)("div",{className:"d-flex flex-row w-100 align-items-center ".concat(pi.fontSelector),children:[(0,a.jsx)("span",{className:"fontLabel",children:t.fontName}),(0,a.jsx)("span",{className:"icon",children:(0,a.jsx)(oP.X,{"data-sentry-element":"ChevronDownSmall","data-sentry-source-file":"FontProperties.tsx"})})]})})})]})}function po(e){let{headingFont:t,bodyFont:n,displayText:o,previewSubordinate:r,onOpenFontPanel:s}=e,i=t.fontSize,l=i===N.FontSize.Default?{fontSize:18,lineHeight:"28px"}:i===N.FontSize.Large?{fontSize:19.8,lineHeight:"30.8px"}:{fontSize:21.6,lineHeight:"33.6px"};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"FontProperties.tsx"}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"FontProperties.tsx",children:(0,a.jsxs)(k.A,{className:"fontPreview",onClick:()=>null==s?void 0:s(),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null==s||s())},role:"button",tabIndex:0,"data-sentry-element":"Col","data-sentry-source-file":"FontProperties.tsx",children:[(0,a.jsx)("h5",{className:"".concat(pi.title," ").concat(!n&&"text-center"),style:{fontFamily:"var(".concat((0,W.getVariableName)(t.fontName),")"),fontWeight:t.fontWeight,...l},children:o||t.fontName}),n&&(0,a.jsx)("div",{className:"".concat(d.FontStyles.Regular," ").concat(pi.body),style:{fontFamily:"var(".concat((0,W.getVariableName)(n.fontName),")")},children:n.fontName})]})}),r&&(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:r})})]})}function pr(e){var t;let{headingFont:n,sizeLabel:o,eventName:r,onHeadingChange:s}=e;return(0,a.jsxs)(L.A,{className:"spacedRow","data-sentry-element":"Row","data-sentry-component":"HeadingFontSize","data-sentry-source-file":"FontProperties.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FontProperties.tsx",children:o}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FontProperties.tsx",children:(0,a.jsxs)("div",{className:"d-flex flex-row headingSize",children:[(0,a.jsx)(pe,{"data-sentry-element":"FontSmall","data-sentry-source-file":"FontProperties.tsx"}),(0,a.jsx)(iP,{min:0,max:2,step:1,value:(t=n.fontSize)===N.FontSize.Default?0:t===N.FontSize.Large?1:2,onChange:e=>{var t;s({...n,fontSize:(t=parseInt(e.target.value,10))<=0||t>2?N.FontSize.Default:1===t?N.FontSize.Large:N.FontSize.ExtraLarge})},onChangeAnalyticsEventName:r,"data-sentry-element":"RangeSliderControl","data-sentry-source-file":"FontProperties.tsx"}),(0,a.jsx)(d8,{"data-sentry-element":"FontLarge","data-sentry-source-file":"FontProperties.tsx"})]})})]})}function ps(e){var t;let{headingFont:n,weightLabel:o,eventName:r,onHeadingChange:s}=e,i=c.D.views.designer.components.properties.fontProperties,{fontWeight:l,supportedWeights:d}=n,p=(null!=(t=null==d?void 0:d.length)?t:0)<2;return(0,a.jsxs)(L.A,{className:"spacedRow","data-sentry-element":"Row","data-sentry-component":"HeadingFontWeight","data-sentry-source-file":"FontProperties.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FontProperties.tsx",children:o}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FontProperties.tsx",children:(0,a.jsx)(nT.V,{disabled:p,eventName:r,selectedValue:l,values:null!=d?d:[],itemTemplate:e=>(0,a.jsx)("div",{className:"".concat(u.ContainerStyles.VerticallyCenter," ").concat(pi.itemTemplate),children:e?i.fontWeights[e]:i.fontWeights[N.FontWeight.Regular]}),onValueChanged:e=>{s({...n,fontWeight:e})},"data-sentry-element":"DropdownSelector","data-sentry-source-file":"FontProperties.tsx"})})]})}let pi={fontContainer:(0,o.style)({marginTop:u.Spacing.Micro,$nest:{"& .col":{paddingInline:0},".fontLabel":{whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:115,overflow:"hidden",marginLeft:u.Spacing.Micro},".fontPreview":{display:"flex",flexDirection:"column",borderRadius:u.Spacing.Micro,padding:u.Spacing.Large,background:u.StandardColors.ColorLightGray05,boxSh
1adow:u.BoxShadowStyles.innerXSmall,cursor:"pointer",$nest:{h5:{minHeight:34,display:"flex",alignItems:"center"}}},".text-center":{justifyContent:"center",textAlign:"center"},".headingSize":{color:u.StandardColors.ColorDarkGray05,$nest:{input:{paddingInline:u.Spacing.Micro}}},".spacedRow":{marginTop:u.Spacing.Large-1,display:"flex",alignItems:"center"}}}),body:(0,o.style)({marginTop:u.Spacing.Micro}),title:(0,o.style)({fontWeight:"bold",marginBottom:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}),fontSelector:(0,o.style)({padding:u.Spacing.xSmall,alignItems:"center",justifyContent:"space-between",$nest:{".icon":{display:"flex",alignItems:"center",color:u.StandardColors.ColorDarkGray05},".icon > svg":{width:20,height:20}}}),itemTemplate:(0,o.style)({paddingLeft:u.Spacing.Micro})};var pl=n(1263),pc=n(87420);function pd(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 21.68 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"LanguageCharacter","data-sentry-source-file":"LanguageCharacter.tsx",children:(0,a.jsx)("path",{d:"M14.075 16.95L13.225 19.375C13.1583 19.5583 13.0417 19.7083 12.875 19.825C12.7083 19.9417 12.525 20 12.325 20C11.9917 20 11.7208 19.8625 11.5125 19.5875C11.3042 19.3125 11.2667 19.0083 11.4 18.675L15.2 8.625C15.2833 8.44167 15.4083 8.29167 15.575 8.175C15.7417 8.05833 15.925 8 16.125 8H16.875C17.075 8 17.2583 8.05833 17.425 8.175C17.5917 8.29167 17.7167 8.44167 17.8 8.625L21.6 18.7C21.7333 19.0167 21.7 19.3125 21.5 19.5875C21.3 19.8625 21.0333 20 20.7 20C20.4833 20 20.2958 19.9417 20.1375 19.825C19.9792 19.7083 19.8583 19.55 19.775 19.35L18.925 16.95H14.075ZM8.05 11.975L3.7 16.3C3.51667 16.4833 3.2875 16.5792 3.0125 16.5875C2.7375 16.5958 2.5 16.5 2.3 16.3C2.11667 16.1167 2.025 15.8833 2.025 15.6C2.025 15.3167 2.11667 15.0833 2.3 14.9L6.65 10.55C6.06667 9.96667 5.5375 9.3 5.0625 8.55C4.5875 7.8 4.15 6.95 3.75 6H5.85C6.18333 6.65 6.51667 7.21667 6.85 7.7C7.18333 8.18333 7.58333 8.66667 8.05 9.15C8.6 8.6 9.17083 7.82917 9.7625 6.8375C10.3542 5.84583 10.8 4.9 11.1 4H1C0.716667 4 0.479167 3.90417 0.2875 3.7125C0.0958333 3.52083 0 3.28333 0 3C0 2.71667 0.0958333 2.47917 0.2875 2.2875C0.479167 2.09583 0.716667 2 1 2H7V1C7 0.716667 7.09583 0.479167 7.2875 0.2875C7.47917 0.0958333 7.71667 0 8 0C8.28333 0 8.52083 0.0958333 8.7125 0.2875C8.90417 0.479167 9 0.716667 9 1V2H15C15.2833 2 15.5208 2.09583 15.7125 2.2875C15.9042 2.47917 16 2.71667 16 3C16 3.28333 15.9042 3.52083 15.7125 3.7125C15.5208 3.90417 15.2833 4 15 4H13.1C12.75 5.2 12.225 6.43333 11.525 7.7C10.825 8.96667 10.1333 9.93333 9.45 10.6L11.85 13.05L11.1 15.1L8.05 11.975ZM14.7 15.2H18.3L16.5 10.1L14.7 15.2Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"LanguageCharacter.tsx"})})}let pp={[pl.y0.Latin]:function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"LatinCharacter","data-sentry-source-file":"LatinCharacter.tsx",children:(0,a.jsx)("path",{d:"M10.0488 1.17773C10.4386 1.17789 10.7159 1.38031 10.8809 1.78516L17.458 17.3701H18.4111C18.8282 17.3701 19.167 17.7079 19.167 18.125C19.167 18.5421 18.8282 18.8799 18.4111 18.8799H14.9482C14.5312 18.8799 14.1924 18.5421 14.1924 18.125C14.1924 17.7079 14.5312 17.3701 14.9482 17.3701H15.5518L14.0518 13.7314H6.03516L4.52441 17.3701H5.05176C5.46885 17.3701 5.80762 17.7079 5.80762 18.125C5.80762 18.5421 5.46885 18.8799 5.05176 18.8799H1.58887C1.17178 18.8799 0.833008 18.5421 0.833008 18.125C0.833008 17.7079 1.17178 17.3701 1.58887 17.3701H2.62891L9.19336 1.78516C9.35836 1.38016 9.64383 1.17773 10.0488 1.17773ZM6.66113 12.2246H13.4307L10.0576 4.04395L6.66113 12.2246Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"LatinCharacter.tsx"})})},[pl.y0.Japanese]:function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"JapaneseCharacter","data-sentry-source-file":"JapaneseCharacter.tsx",children:(0,a.jsx)("path",{d:"M6.29142 9.37792C5.21614 9.85431 4.37225 10.4872 3.75975 11.2767C3.14725 12.0525 2.841 12.91 2.841 13.8492C2.841 14.6114 3.01795 15.2035 3.37184 15.6254C3.72572 16.0337 4.22934 16.2379 4.88267 16.2379C5.33184 16.2379 5.80822 16.1426 6.31184 15.9521C6.40711 15.9112 6.45475 15.8364 6.45475 15.7275V9.50042C6.45475 9.45958 6.43434 9.42556 6.3935 9.39833C6.36628 9.37111 6.33225 9.3643 6.29142 9.37792ZM10.6606 8.54083C9.8167 8.54083 8.966 8.62931 8.1085 8.8
10625C7.99961 8.83347 7.94517 8.90153 7.94517 9.01042V14.87C7.94517 14.9108 7.95878 14.9449 7.986 14.9721C8.02684 14.9857 8.06086 14.9789 8.08809 14.9517C9.95281 13.5361 11.3616 11.5012 12.3143 8.84708C12.3279 8.80625 12.3211 8.76542 12.2939 8.72458C12.2667 8.68375 12.2327 8.65653 12.1918 8.64292C11.6746 8.57486 11.1642 8.54083 10.6606 8.54083ZM4.73975 17.5854C3.67809 17.5854 2.84781 17.2724 2.24892 16.6462C1.65003 16.0065 1.35059 15.1218 1.35059 13.9921C1.35059 12.6174 1.78614 11.3924 2.65725 10.3171C3.54198 9.24181 4.75336 8.43194 6.29142 7.8875C6.40031 7.84667 6.45475 7.7718 6.45475 7.66292V4.96792C6.45475 4.85903 6.3935 4.80458 6.271 4.80458H2.73892C2.56197 4.80458 2.40545 4.74333 2.26934 4.62083C2.14684 4.48472 2.08559 4.32819 2.08559 4.15125C2.08559 3.9743 2.14684 3.82458 2.26934 3.70208C2.40545 3.56597 2.56197 3.49791 2.73892 3.49791H6.271C6.3935 3.49791 6.45475 3.44347 6.45475 3.33458V1.66042C6.45475 1.45625 6.52281 1.28611 6.65892 1.15C6.80864 1.00028 6.98559 0.925415 7.18975 0.925415C7.39392 0.925415 7.57086 1.00028 7.72059 1.15C7.87031 1.28611 7.94517 1.45625 7.94517 1.66042V3.33458C7.94517 3.44347 7.99961 3.49791 8.1085 3.49791H16.4181C16.595 3.49791 16.7448 3.56597 16.8673 3.70208C17.0034 3.82458 17.0714 3.9743 17.0714 4.15125C17.0714 4.32819 17.0034 4.48472 16.8673 4.62083C16.7448 4.74333 16.595 4.80458 16.4181 4.80458H8.1085C7.99961 4.80458 7.94517 4.85903 7.94517 4.96792V7.25458C7.94517 7.37708 7.99961 7.42472 8.1085 7.3975C8.93878 7.24778 9.78948 7.17292 10.6606 7.17292C12.8928 7.17292 14.6418 7.66972 15.9077 8.66333C17.1735 9.64333 17.8064 10.984 17.8064 12.6854C17.8064 14.0874 17.3436 15.2987 16.4181 16.3196C15.4925 17.3404 14.2131 18.055 12.5798 18.4633C12.3892 18.5178 12.2123 18.4906 12.0489 18.3817C11.8856 18.2728 11.7767 18.1231 11.7223 17.9325C11.6678 17.7556 11.6882 17.5854 11.7835 17.4221C11.8788 17.2587 12.0217 17.1499 12.2123 17.0954C13.5053 16.7415 14.5125 16.1767 15.2339 15.4008C15.9553 14.625 16.316 13.7199 16.316 12.6854C16.316 10.984 15.5061 9.78625 13.8864 9.09208C13.8048 9.05125 13.7367 9.08528 13.6823 9.19417C12.7703 11.7667 11.4704 13.8083 9.78267 15.3192C8.09489 16.83 6.41392 17.5854 4.73975 17.5854Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"JapaneseCharacter.tsx"})})},[pl.y0.Korean]:function(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"KoreanCharacter","data-sentry-source-file":"KoreanCharacter.tsx",children:(0,a.jsx)("path",{d:"M14.2135 1.78001C14.2135 1.54001 14.2869 1.34668 14.4335 1.20001C14.5802 1.05334 14.7735 0.980011 15.0135 0.980011H15.0535C15.2935 0.980011 15.4869 1.05334 15.6335 1.20001C15.7935 1.34668 15.8735 1.54001 15.8735 1.78001V13.74C15.8735 13.98 15.7935 14.1733 15.6335 14.32C15.4869 14.4667 15.2935 14.54 15.0535 14.54H15.0135C14.7735 14.54 14.5802 14.4667 14.4335 14.32C14.2869 14.1733 14.2135 13.98 14.2135 13.74V1.78001ZM15.3535 6.92001H17.8335C18.0469 6.92001 18.2135 6.98668 18.3335 7.12001C18.4669 7.24001 18.5335 7.40668 18.5335 7.62001C18.5335 7.83334 18.4669 8.00001 18.3335 8.12001C18.2135 8.24001 18.0469 8.30001 17.8335 8.30001H15.3535V6.92001ZM1.87354 3.84001C1.87354 3.64001 1.93354 3.48001 2.05354 3.36001C2.17354 3.24001 2.3402 3.18001 2.55354 3.18001H11.8935C12.0935 3.18001 12.2535 3.24001 12.3735 3.36001C12.4935 3.48001 12.5535 3.64668 12.5535 3.86001C12.5535 4.06001 12.4935 4.22001 12.3735 4.34001C12.2535 4.46001 12.0935 4.52001 11.8935 4.52001H2.55354C2.3402 4.52001 2.17354 4.46001 2.05354 4.34001C1.93354 4.20668 1.87354 4.04001 1.87354 3.84001ZM7.21353 5.50001C8.06687 5.50001 8.8202 5.64668 9.47354 5.94001C10.1269 6.22001 10.6335 6.61334 10.9935 7.12001C11.3535 7.61334 11.5335 8.20001 11.5335 8.88001C11.5335 9.56001 11.3535 10.1533 10.9935 10.66C10.6335 11.1533 10.1269 11.54 9.47354 11.82C8.8202 12.1 8.06687 12.24 7.21353 12.24C6.3602 12.24 5.60687 12.1 4.95354 11.82C4.3002 11.54 3.78687 11.1533 3.41354 10.66C3.05354 10.1533 2.87354 9.56001 2.87354 8.88001C2.87354 8.20001 3.05354 7.61334 3.41354 7.12001C3.78687 6.61334 4.3002 6.22001 4.95354 5.94001C5.60687 5.64668 6.3602 5.50001 7.21353 5.50001ZM7.21353 6.80001C6.4002 6.80001 5.7402 6.99334 5.23354 7.38001C4.72687 7.75334 4.47354 8.25334 4.47354 8.88001C4.47354 9.50668 4.72687 10.0067 5.23354 10.38C5.7402 10.7533 6.4002 10.94 7.21353 10.94C8.02687 10.94 8.68687 10.7533 9.19354 10.38C9.7002 10.0067 9.95354 9.50668 9.95354 8.88001C9.95354 8.25334 9.7002 7.75334 9.19354 7.38001C8.68687 6.99334 8.02
1687 6.80001 7.21353 6.80001ZM6.39354 1.78001C6.39354 1.54001 6.46687 1.34668 6.61353 1.20001C6.77354 1.05334 6.97354 0.980011 7.21353 0.980011H7.25354C7.4802 0.980011 7.66687 1.05334 7.81354 1.20001C7.97354 1.34668 8.05354 1.54001 8.05354 1.78001V3.86001H6.39354V1.78001ZM5.69354 18.66C5.37354 18.66 5.11354 18.5533 4.91354 18.34C4.71354 18.14 4.61354 17.8867 4.61354 17.58V14.26C4.61354 14.02 4.68687 13.8267 4.83354 13.68C4.9802 13.5333 5.17354 13.46 5.41354 13.46H5.51354C5.7402 13.46 5.9202 13.5333 6.05353 13.68C6.18687 13.8133 6.25354 13.9933 6.25354 14.22V16.76C6.25354 16.9067 6.30687 17.0333 6.41354 17.14C6.5202 17.2467 6.64687 17.3 6.79354 17.3H15.9935C16.2069 17.3 16.3735 17.36 16.4935 17.48C16.6135 17.6 16.6735 17.7667 16.6735 17.98C16.6735 18.18 16.6135 18.34 16.4935 18.46C16.3735 18.5933 16.2069 18.66 15.9935 18.66H5.69354Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"KoreanCharacter.tsx"})})}},pm=[pl.y0.Japanese,pl.y0.Korean,pl.y0.Latin];function pu(e){let{selectedValue:t,onValueChanged:n}=e,o=c.D.views.designer.components.properties.characterSetDropdown,[s,i]=(0,r.useState)(!1),l=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(s)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){l.current&&!l.current.contains(e.target)&&i(!1)}},[s]),(0,a.jsxs)("div",{ref:l,className:pg.container,"data-sentry-component":"CharacterSetDropdown","data-sentry-source-file":"CharacterSetDropdown.tsx",children:[(0,a.jsxs)("button",{type:"button",className:pg.toggle,onClick:()=>i(e=>!e),"aria-haspopup":"listbox","aria-expanded":s,children:[(0,a.jsx)("span",{className:pg.icon,children:(0,a.jsx)(pd,{"data-sentry-element":"LanguageCharacter","data-sentry-source-file":"CharacterSetDropdown.tsx"})}),(0,a.jsx)("span",{className:"".concat(d.FontStyles.Medium," ").concat(pg.label),children:o.characterSets[t]}),(0,a.jsx)("span",{className:pg.icon,children:(0,a.jsx)(oP.X,{"data-sentry-element":"ChevronDownSmall","data-sentry-source-file":"CharacterSetDropdown.tsx"})})]}),s&&(0,a.jsxs)("div",{className:pg.menu,role:"listbox",children:[(0,a.jsx)("div",{className:"".concat(d.FontStyles.Overline," ").concat(pg.supportForHeader),children:o.supportFor}),pm.map(e=>{let r=pp[e],s=o.descriptions[e];return(0,a.jsxs)("button",{type:"button",role:"option","aria-selected":e===t,className:"".concat(pg.option," ").concat(s?pg.optionMultiline:""),onClick:()=>{n(e),i(!1)},children:[(0,a.jsx)("span",{className:pg.icon,children:(0,a.jsx)(r,{})}),(0,a.jsxs)("span",{className:pg.optionText,children:[(0,a.jsx)("span",{className:"".concat(d.FontStyles.Medium," ").concat(pg.optionLabel),children:o.characterSets[e]}),s&&(0,a.jsx)("span",{className:pg.optionDescription,children:s})]})]},e)})]})]})}let pg={container:(0,o.style)({position:"relative",display:"inline-flex"}),toggle:(0,o.style)({display:"inline-flex",alignItems:"center",gap:u.Spacing.Micro,padding:"".concat(u.Spacing.xSmall,"px 0"),border:"none",background:"none",cursor:"pointer",color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro}),label:(0,o.style)({paddingLeft:u.Spacing.Micro,fontSize:13,lineHeight:"18px",color:u.StandardColors.ColorDarkGray05,whiteSpace:"nowrap"}),icon:(0,o.style)({display:"flex",alignItems:"center",color:u.StandardColors.ColorDarkGray05,$nest:{"& svg":{width:20,height:20}}}),menu:(0,o.style)({position:"absolute",top:"calc(100% + ".concat(u.Spacing.Micro,"px)"),left:0,zIndex:1050,minWidth:220,display:"flex",flexDirection:"column",gap:u.Spacing.Micro/2,padding:u.Spacing.Small,backgroundColor:u.StandardColors.ColorWhite,border:"1px solid ".concat(u.StandardColors.ColorLightGray40),borderRadius:u.Spacing.xSmall,boxShadow:u.BoxShadowStyles.Medium}),supportForHeader:(0,o.style)({padding:"5px ".concat(u.Spacing.Small,"px"),textTransform:"uppercase",color:u.StandardColors.ColorDarkGray05}),option:(0,o.style)({display:"flex",alignItems:"center",gap:10,width:"100%",minHeight:32,padding:"".concat(u.Spacing.Micro,"px ").concat(u.Spacing.Small,"px"),border:"none",background:"none",cursor:"pointer",borderRadius:2,textAlign:"left",$nest:{"&:hover":{backgroundColor:d.Colors.SecondaryHover}}}),optionMultiline:(0,o.style)({alignItems:"flex-start"}),optionText:(0,o.style)({display:"flex",flexDirection:"column",justifyContent:"center"}),optionLabel:(0,o.style)({fontSize:13,lineHeight:"1.5",color:u.StandardColors.ColorDarkGray50,whiteSpace:"nowrap"}),optionDescription:(0,o.style)({fontSize:11,lineHeight:"1.5",fontWeight:400,color:u.StandardColors.ColorDarkGray05,whiteSpace:"nowrap"})};function py(e){let{onClose:t,ignoreRefs:n}=e,o=c.D.views.designer.components.properties.fontSelectionPanel,[s,i]=(0,r.useState)(()=>(function(e){let t=(0,pc.hO)(e);return(0,pl.RS)(t[0])})(e.selectedFont)),[l,d]=(0,r.useState)({status:"loading"}),[p,m]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=!0;return d({status:"loading"}),(async()=>{try{let t=await (0,pc.lu)(s);if(!e)return;d({status:"loaded",fonts:t})}catch(t){if(!e)return;(0,C.z3)("[FontSelectionPanel] failed to load ".concat(s," fonts:"),t),d({status:"error"})}})(),()=>{e=!1}},[s,p]),(0,r.useEffect)(()=>(window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)),[t]),(0,a.jsx)(dK,{title:"pair"===e.variant?o.pairTitle:o.fontTitle,closeButtonLabel:o.closePanel,onClose:t,width:260,borderRadius:u.Spacing.Small,ignoreRefs:n,animateHeight:!0,disableHeightTransition:!0,headerHugContent:!0,stickyContent:(0,a.jsx)("div",{className:pC.stickyControls,children:(0,a.jsx)(pu,{selectedValue:s,onValueChanged:i})}),"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"FontSelectionPanel","data-sentry-source-file":"FontSelectionPanel.tsx",children:"error"===l.status?(0,a.jsxs)("div",{className:pC.message,children:[(0,a.jsx)("span",{children:o.loadError}),(0,a.jsx)("button",{type:"button",className:pC.retry,onClick:()=>m(e=>e+1),children:o.retry})]}):"loaded"===l.status?0===l.fonts.fonts.length?(0,a.jsx)("div",{className:pC.message,children:(0,a.jsx)("span",{children:o.empty})}):"pair"===e.variant?(0,a.jsx)(px,{variant:"pair",fontList:l.fonts,selectedFont:e.selectedFont,onSelect:t=>{e.onFontSelected(t),e.onApply(t,s)}}):(0,a.jsx)(px,{variant:"single",fontList:l.fonts,selectedFont:e.selectedFont,onSelect:t=>{e.onFontSelected(t),e.onApply(t,s)}}):null})}function px(e){let t=(0,r.useMemo)(()=>(function(e){let t=new Map;for(let{headingFont:n}of e.fonts)t.set(n.fontName,(0,pc.QN)(n));for(let{bodyFont:n}of e.fonts)t.has(n.fontName)||t.set(n.fontName,(0,pc.QN)(n));return[...t.values()].sort((e,t)=>
1e.fontName.localeCompare(t.fontName))})(e.fontList),[e.fontList]);if("single"===e.variant){let{selectedFont:n,onSelect:o}=e;return(0,a.jsx)("div",{className:pC.list,children:t.map(e=>(0,a.jsx)(ph,{headingFont:e,isActive:e.fontName===n.fontName,onClick:()=>o(e)},e.fontName))})}let{selectedFont:n,onSelect:o}=e;return(0,a.jsx)("div",{className:pC.list,"data-sentry-component":"FontList","data-sentry-source-file":"FontSelectionPanel.tsx",children:e.fontList.fonts.map(e=>(0,a.jsx)(ph,{headingFont:e.headingFont,bodyFont:e.bodyFont,isActive:n.headingFont.fontName===e.headingFont.fontName&&n.bodyFont.fontName===e.bodyFont.fontName,onClick:()=>o(e)},e.headingFont.fontName+e.bodyFont.fontName))})}function ph(e){var t;let{headingFont:n,bodyFont:o,isActive:r,onClick:s}=e;return(0,Z.G)(n.fontName),(0,Z.G)(null!=(t=null==o?void 0:o.fontName)?t:null),(0,a.jsxs)("button",{type:"button",className:"".concat(pC.row," ").concat(r?pC.rowActive:""),onClick:s,"data-sentry-component":"FontRow","data-sentry-source-file":"FontSelectionPanel.tsx",children:[(0,a.jsx)("span",{className:pC.heading,style:{fontFamily:"var(".concat((0,W.getVariableName)(n.fontName),")"),fontWeight:n.fontWeight},children:n.fontName}),o&&(0,a.jsx)("span",{className:pC.body,style:{fontFamily:"var(".concat((0,W.getVariableName)(o.fontName),")")},children:o.fontName})]})}let pC={stickyControls:(0,o.style)({display:"flex",flexDirection:"column",padding:"".concat(u.Spacing.Medium,"px ").concat(u.Spacing.xLarge,"px ").concat(u.Spacing.Medium,"px"),borderBottom:"1px solid ".concat(u.StandardColors.ColorLightGray20)}),list:(0,o.style)({display:"flex",flexDirection:"column",padding:"".concat(u.Spacing.Medium,"px ").concat(u.Spacing.Medium,"px ").concat(u.Spacing.Large,"px")}),row:(0,o.style)({display:"flex",flexDirection:"column",alignItems:"flex-start",gap:2,width:"100%",padding:"".concat(u.Spacing.Small,"px ").concat(u.Spacing.Medium,"px"),borderRadius:u.Spacing.Micro,border:"none",background:"none",cursor:"pointer",textAlign:"left",overflow:"hidden",whiteSpace:"nowrap",$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray20}}}),rowActive:(0,o.style)({backgroundColor:u.StandardColors.ColorLightGray30,$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray30}}}),heading:(0,o.style)({fontSize:16,lineHeight:"20px",color:u.StandardColors.ColorDarkGray90,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis"}),body:(0,o.style)({fontSize:14,lineHeight:"18px",fontWeight:400,color:u.StandardColors.ColorDarkGray50,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis"}),message:(0,o.style)({display:"flex",flexDirection:"column",alignItems:"center",gap:u.Spacing.Small,padding:"".concat(u.Spacing.xLarge,"px ").concat(u.Spacing.Large,"px"),textAlign:"center",fontSize:14,lineHeight:"18px",color:u.StandardColors.ColorDarkGray50}),retry:(0,o.style)({border:"none",background:"none",padding:0,cursor:"pointer",color:u.StandardColors.ColorDarkGray90,textDecoration:"underline"})};function pf(){let e=c.D.views.designer.components.properties.sections.header.logoFontPropertySection,{analytics:t}=(0,eL.S)(),{designerSettings:n,updateWebsiteSection:o,websiteSettings:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(!1),p=(0,r.useRef)(null),m=n.selectedSection,u=m.props,g=u.logo.type===N.LogoType.Text&&u.logo.font||{...s.fonts.headingFont};function y(e){u.logo={type:N.LogoType.Text,font:e},o({...m})}return(0,r.useEffect)(()=>{i&&(0,ed.$s)(t,ew.o.designer.sections.header.logo.fontChange)},[i]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:p,children:(0,a.jsx)(pn,{variant:"single",displayText:s.businessName,selectedFont:g,onOpenFontPanel:()=>l(!0),onFontChanged:e=>y(e),fontSettings:[pt.Preview,pt.FontSelect,pt.FontWeight,pt.FontSize],strings:{fontLabel:e.font,weightLabel:e.weight,sizeLabel:e.size},previewSubordinate:function(){let e=c.D.views.designer.components.properties.sections.header.logoFontPropertySection.subordinate,{setDesignerSettings:t,designerSettings:n}=(0,j.Hb)();return(0,a.jsxs)("span",{className:pS.subordinate,"data-sentry-component":"FontPreviewSubordinate","data-sentry-source-file":"LogoFontPropertySection.tsx",children:[e.partA,(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.header.logo.editCompanyName,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"LogoFontPropertySection.tsx",children:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(d.FontStyles.Subordinate," d-block"),onClick:function(){t({...n,designerMode:j.dR.Settings,selectedSection:void 0})},"data-sentry-element":"Button","data-sentry-source-file":"LogoFontPropertySection.tsx",children:e.button})}),e.partB]})}(),eventNames:{fontSizeChange:ew.o.designer.sections.header.logo.fontSizeChange,fontWeightChange:ew.o.designer.sections.header.logo.fontWeightChange},"data-sentry-element":"FontProperties","data-sentry-source-file":"LogoFontPropertySection.tsx"})}),i&&(0,a.jsx)(py,{variant:"single",selectedFont:g,ignoreRefs:[p],onClose:()=>l(!1),onFontSelected:e=>y(e),onApply:(e,n)=>(0,ed.$s)(t,ew.o.designer.sections.header.logo.fontApply,{character_set:n,logo_font_name:e.fontName})})]})}let pS={subordinate:"".concat(d.FontStyles.Subordinate," ").concat((0,o.style)({display:"flex",marginBlock:u.Spacing.Micro,color:u.StandardColors.ColorDarkGray05,whiteSpace:"break-spaces"}))};function pv(e){let{updateImage:t}=e,{designerSettings:n,updateWebsiteSection:o}=(0,j.Hb)(),r=n.selectedSection,s=r.props;return(0,a.jsx)(pb,{onLogoImageUpdate:t,onLogoImageDelete:()=>o({...r,props:{...r.props,logo:{...r.props.logo,type:N.LogoType.Text}}}),onSizeChanged:e=>o({...r,props:{...r.props,logo:{...r.props.logo,size:e}}}),logo:s.logo,"data-sentry-element":"LogoImageProperties","data-sentry-component":"LogoImagePropertySection","data-sentry-source-file":"LogoImagePropertySection.tsx"})}function pb(e){return(0,a.jsxs)(w.A,{className:pw.logoContainer,"data-sentry-element":"Container","data-sentry-component":"LogoImageProperties","data-sentry-source-file":"LogoImagePropertySection.tsx",children:[(0,a.jsx)(pj,{...e,"data-sentry-element":"LogoImagePreview","data-sentry-source-file":"LogoImagePropertySection.tsx"}),(0,a.jsx)(cD,{size:e.logo.size,defaultSize:N.Size.Large,maxSize:N.Size.xxxxxxxLarge,onSizeChanged:e.onSizeChanged,onSizeChangedAnalyticsEventName:ew.o.designer.sections.header.logo.imageSizeChange,"data-sentry-element":"SizeSlider","data-sentry-source-file":"LogoImagePropertySection.tsx"})]})}function pj(e){let{logo:t,onLogoImageUpdate:n,onLogoImageDelete:o}=e,r=c.D.views.designer.components.properties.sections.header.logoImagePropertySection;return(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-component":"LogoImagePreview","data-sentry-source-file":"LogoImagePropertySection.tsx",children:(0,a.jsxs)(k.A,{className:pw.logoPreview,"data-sentry-element":"Col","data-sentry-source-file":"LogoImagePropertySection.tsx",children:[(0,a.jsx)("div",{className:"image-slot",style:{backgroundImage:"url(".concat((0,N.getImageUrl)(t.image,N.ImageType.Small),")")}}),(0,a.jsx)("div",{className:"".concat(u.ContainerStyles.AbsoluteFillToParent," ").concat(pw.checkerboard)}),(0,a.jsxs)("div",{className:"overlay",children:[(0,a.jsxs)(G.A,{onClick:()=>{n(t.image)},"data-sentry-element":"Button","data-sentry-source-file":"LogoImagePropertySection.tsx",children:[(0,a.jsx)(oA,{"data-sentry-element":"ReplaceImage","data-sentry-source-file":"LogoImagePropertySection.tsx"}),(0,a.jsx)("span",{children:r.uploadLogo})]}),(0,a.jsxs)(G.A,{onClick:o,"data-sentry-element":"Button","data-sentry-source-file":"LogoImagePropertySection.tsx",children:[(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(aB.r,{"data-sentry-element":"Trashcan","data-sentry-source-file":"LogoImagePropertySection.tsx"})}),(0,a.jsx)("span",{className:"align-content-center",children:r.delete})]})]})]})})}let pw={logoContainer:(0,o.style)({marginTop:u.Spacing.Micro,display:"flex",flexDirection:"column",rowGap:u.Spacing.Large,$nest:{"& .col":{paddingInline:0}}}),checkerboard:(0,o.style)({background:"repeating-conic-gradient(".concat(u.StandardColors.ColorBlack," 0% 25%, transparent 0% 50%)\n      50% / 20p
1x 20px"),zIndex:-1,opacity:.06}),logoPreview:(0,o.style)({position:"relative",backgroundColor:u.StandardColors.ColorTransparent,borderRadius:u.Spacing.Micro,boxShadow:u.BoxShadowStyles.innerXSmall,width:"100%",overflow:"hidden",paddingBlock:"".concat(u.Spacing.Small,"px !important"),paddingInline:"".concat(u.Spacing.xLarge,"px !important"),height:96,$nest:{"&:hover .overlay":{visibility:"visible"},".image-slot":{height:"auto",width:"100%",backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat"},".scale-icon":{display:"flex",alignItems:"center",transform:"scale(0.8)"},".overlay":{zIndex:1,display:"flex",position:"absolute",left:0,right:0,bottom:0,top:0,backgroundColor:"".concat(u.StandardColors.ColorDarkGray50,"50"),justifyContent:"center",alignItems:"center",visibility:"hidden",borderRadius:u.Spacing.Micro,$nest:{".btn":{height:u.Spacing.xxLarge,alignItems:"center",paddingBlock:u.Spacing.xSmall,paddingInline:u.Spacing.Small,paddingRight:u.Spacing.Medium,boxShadow:u.BoxShadowStyles.Small,border:"none",display:"flex",color:u.StandardColors.ColorDarkGray05,backgroundColor:d.Colors.Secondary,fontWeight:"500",$nest:{"&:hover":{backgroundColor:"".concat(d.Colors.SecondaryHover)},"&:active":{color:"".concat(u.StandardColors.ColorDarkGray05),backgroundColor:"".concat(d.Colors.SecondaryPressed)},"&:not(:last-child)":{marginRight:u.Spacing.Small},svg:{marginRight:u.Spacing.Small}}}}}}})};function pL(){let e=c.D.views.designer.components.properties.sections.header.logoPropertySection,{designerSettings:t,updateWebsiteSection:n,websiteSettings:o}=(0,j.Hb)(),{storage:s}=(0,am.T)(),{setSpinner:i}=(0,h.p6)(),{pushToastMessage:l}=(0,K.dj)(),{isLoggedIn:p}=(0,x.uM)(),[m,u]=(0,r.useState)(!1),g=(0,r.useRef)(null),[y,C]=(0,r.useState)(!1),f=t.selectedSection,S=f.props;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(sP,{title:e.title,rightTitleContent:S.logo.type===N.LogoType.Text?(0,a.jsxs)("div",{className:pP.rightContent,children:[(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.header.logo.reset,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>{S.logo={type:N.LogoType.Text},n({...f})},children:e.reset})}),(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.header.logo.upload,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:function(){p?g.current&&g.current.click():C(!0)},children:e.uploadLogo})})]}):(0,a.jsx)(a.Fragment,{}),"data-sentry-element":"PropertySection","data-sentry-source-file":"LogoPropertySection.tsx",children:[(0,a.jsx)("input",{type:"file",id:"file",accept:function(){let{supportedFiletypes:e}=ah.EK,t="";return e.forEach((n,a)=>{t=t.concat("image/"+n+(a<e.length-1?", ":""))}),t}(),ref:e=>{g.current=e},style:{display:"none"},onChange:e=>v(e)}),S.logo.type===N.LogoType.Text?(0,a.jsx)(pf,{}):(0,a.jsx)(pv,{updateImage:()=>g.current&&g.current.click()}),m&&(0,a.jsx)(d7,{settings:ah.EK,footNote:e.footNote,onClose:()=>u(!1)})]}),y&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>{C(!y)},closeModal:()=>C(!1),postLoginCallback:()=>{C(!1)}})]});async function v(e){if(e.stopPropagation(),e.preventDefault(),e.target.files){let t=await b(e.target.files[0]);t.error===ax.None&&t.image&&n({...f,props:{...f.props,logo:{type:N.LogoType.Image,image:t.image}}})}}async function b(t){if(!await pk(t))return u(!0),{file:t,state:aS.Rejected,error:ax.InvalidFileType};let n=t.name.split("."),a="".concat(o.id,"/logo/").concat((0,au.bz)(),".").concat(n[n.length-1]);i(!0,h.Is.High,e.uploading);let r=(0,ac.KR)(s,a);try{let e=await (0,ac.D)(r,t),n="moz-ocho-solo-nonprod.appspot.com"===e.metadata.bucket?"https://main.cdn.soloist.ai":"https://cdn.soloist.ai",o={provider:N.ImageProvider.Custom,width:1024,height:1024,description:"Logo",tags:"",urls:Object.values(N.ImageType).map(e=>({type:e,url:"".concat(n,"/").concat(a)}))};return i(!1,h.Is.High),{file:t,image:o,state:aS.Completed,error:ax.None}}catch(e){return i(!1,h.Is.High),l(Y.vn.logoUploadFailed),{file:t,state:aS.Failed,error:ax.UploadFailed}}}}async function pk(e){var t;let{supportedFiletypes:n,maxSizeMB:a}=ah.EK,o=null==(t=e.name.split(".").pop())?void 0:t.toLowerCase(),r=o&&n.includes(o),s=e.size;return r&&s<1024*a*1024&&await pM(e)}async function pM(e){return new Promise(t=>{let n=new FileReader;n.onload=e=>{var n;let a=null==(n=e.target)?void 0:n.result,o=new Image;o.onload=function(){t(!0)},o.onerror=function(){t(!1)},o.src=a},n.readAsDataURL(e)})}let pP={rightContent:(0,o.style)({display:"flex",flexDirection:"row",columnGap:u.Spacing.Large})};function pN(){let{designerSettings:e,updateWebsiteSection:t,websiteSettings:n,setWebsiteSettings:o,resolvedTheme:r}=(0,j.Hb)(),s=e.selectedSection,i=s.props,l=ew.o.designer.sections.header,c=!!(n.socialMediaLinks&&n.socialMediaLinks.length);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(pL,{"data-sentry-element":"LogoPropertySection","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(d2,{"data-sentry-element":"HeaderLayoutPropertySection","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(d5,{"data-sentry-element":"LinksSection","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(cw,{eventNames:{edit:l.socialMediaEdit,toggle:l.socialMediaToggle},showSocialMediaLinks:i.showSocialMediaLinks,setShowSocialMediaLinks:e=>{i.showSocialMediaLinks=e,t({...s})},socialMediaLinks:n.socialMediaLinks,setSocialMediaLinks:e=>{o({...n,socialMediaLinks:e})},hasSavedLinks:c,"data-sentry-element":"SocialNetworkPropertySection","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(d_,{editEventName:ew.o.designer.sections.header.buttonEdit,isEnabled:i.primaryLinkEnabled,link:i.primaryLink,onLinkChanged:(e,n)=>{if(e.type===N.LinkType.None)return;let a={...(null==s?void 0:s.props)||{},primaryLink:e,primaryLinkEnabled:n};t({id:s.id,type:N.WebsiteSectionType.Header,props:a})},toggleEventName:ew.o.designer.sections.header.buttonToggle,buttonStyle:i.buttonStyleProperties?i.buttonStyleProperties.buttonStyle:N.ButtonStyle.Solid,onButtonStyleChanged:e=>{t({...s,props:{...s.props,buttonStyleProperties:{...i.buttonStyleProperties,buttonStyle:e}}})},"data-sentry-element":"ButtonPropertySection","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.header.backgroundChange,resolvedTheme:r,themeColor:s.props.themeColor,selectedValue:s.props.sectionThemeMode,onValueChanged:e=>{t({...s,props:{...s.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(dQ,{fixedHeaderEnabled:s.props.fixedHeaderEnabled,setFixedHeader:e=>t({...s,props:{...s.props,fixedHeaderEnabled:e}}),"data-sentry-element":"FixedHeaderPropertySection","data-sentry-source-file":"HeaderSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"HeaderSectionProperties.tsx"})]})}function pD(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props.bannerHeight,r=c.D.views.designer.components.properties.sections.imageBanner.imagePropertySection;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"ImageBannerHeightSection","data-sentry-source-file":"ImageBannerHeightSection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageBannerHeightSection.tsx",children:r.height}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ImageBannerHeightSection.tsx",children:(0,a.jsx)(iP,{value:o,min:tg.H.imageBanner.min,max:tg.H.imageBanner.max,step:1,onChange:e=>{t({...n,props:{...n.props,bannerHeight:parseInt(e.target.value)}})},onChangeAnalyticsEventName:ew.o.designer.sections.imageBanner.bannerHeightChange,"data-sentry-element":"RangeSliderControl","data-sentry-source-file":"ImageBannerHeightSection.tsx"})})]})}function pI(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"OpacityDecrease","data-sentry-source-file":"OpacityDecrease.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.53918 7.22333C2.30734 7.37789 2.16809 7.63808 2.16809 7.91671C2.16809 8.19533 2.30734 8.45553 2.53918 8.61008L10.0392 13.6101C10.3191 13.7967 10.6838 13.7967 10.9637 13.6101L18.4637 8.61008C18.6955 8.45553 18.8348 8.19533 18.8348 7.91671C18.8348 7.63808 18.6955 7.37789 18.4637 7.22333L10.9637 2.22333C10.6838 2.03672 10.3191 2.03672 10.0392 2.22333L2.53918 7.22333ZM10.5014 11.9152L4.50374 7.91671L10.5014 3.91825L16.4991 7.91671L10.5014 11.9152ZM3.46364 11.39C3.0807 11.1347 2.56331 11.2382 2.30802 11.6211C2.05272 12.0041 2.1562 12.5215 2.53914 12.7767L10.0391 17.7767C10.3191 17.9634 10.6837 17.9634 10.9636 17.7767L18.4636 12.7767C18.8466 12.5215 18.9501 12.0041 18.6948 11.6211C18.4395 11.2382 17.9221 11.1347 17.5391 11.39L10.5014 16.0818L3.46364 11.39Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"OpacityDecrease.tsx"})})}function pT(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"OpacityIncrease","data-sentry-source-file":"OpacityIncrease.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.03918 7.22333C1.80734 7.37789 1.66809 7.63808 1.66809 7.91671C1.66809 8.19533 1.80734 8.45553 2.03918 8.61008L9.53918 13.6101C9.81909 13.7967 10.1838 13.7967 10.4637 13.6101L17.9637 8.61008C18.1955 8.45553 18.3348 8.19533 18.3348 7.91671C18.3348 7.63808 18.1955 7.37789 17.9637 7.22333L10.4637 2.22333C10.1838 2.03672 9.81909 2.03672 9.53918 2.22333L2.03918 7.22333ZM2.96364 11.39C2.5807 11.1347 2.06331 11.2382 1.80802 11.6211C1.55272 12.0041 1.6562 12.5215 2.03914 12.7767L9.53914 17.7767C9.81906 17.9634 10.1837 17.9634 10.4636 17.7767L17.9636 12.7767C18.3466 12.5215 18.4501 12.0041 18.1948 11.6211C17.9395 11.2382 17.4221 11.1347 17.0391 11.39L10.0014 16.0818L2.96364 11.39Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"OpacityIncrease.tsx"})})}function pB(e){let t=c.D.views.designer.components.properties.overlayPropertySection,{eventName:n,...o}=e;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"OpacitySliderControl","data-sentry-source-file":"OpacitySliderControl.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"OpacitySliderControl.tsx",children:t.opacity}),(0,a.jsxs)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"OpacitySliderControl.tsx",children:[(0,a.jsx)("span",{className:pA.opacityIcon,
1children:(0,a.jsx)(pI,{"data-sentry-element":"OpacityDecrease","data-sentry-source-file":"OpacitySliderControl.tsx"})}),(0,a.jsx)(iP,{className:pA.rangeSlider,min:tg.H.opacity.min,max:tg.H.opacity.max,step:tg.H.opacity.step,onChangeAnalyticsEventName:n,...o,"data-sentry-element":"RangeSliderControl","data-sentry-source-file":"OpacitySliderControl.tsx"}),(0,a.jsx)("span",{className:pA.opacityIcon,children:(0,a.jsx)(pT,{"data-sentry-element":"OpacityIncrease","data-sentry-source-file":"OpacitySliderControl.tsx"})})]})]})}let pA={opacityIcon:(0,o.style)({color:u.StandardColors.ColorDarkGray05}),rangeSlider:(0,o.style)({marginLeft:u.Spacing.xSmall,marginRight:u.Spacing.xSmall})};function pH(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props.overlayOpacity;return(0,a.jsx)(w.A,{className:pF.container,"data-sentry-element":"Container","data-sentry-component":"ImageBannerOverlayPropertySection","data-sentry-source-file":"ImageBannerOverlayPropertySection.tsx",children:(0,a.jsx)(pB,{eventName:ew.o.designer.sections.imageBanner.opacityChange,onChange:e=>{t({...n,props:{...n.props,overlayOpacity:parseFloat(e.target.value)}})},value:o,"data-sentry-element":"OpacitySliderControl","data-sentry-source-file":"ImageBannerOverlayPropertySection.tsx"})})}let pF={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({display:"flex",flexDirection:"column",rowGap:u.Spacing.Small})),rangeInputSection:(0,o.style)({minHeight:"".concat(u.Spacing.Large+u.Spacing.Micro," !important")})};function pR(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection;return(0,a.jsxs)(w.A,{className:pV.container,"data-sentry-element":"Container","data-sentry-component":"ImageBannerPropertySection","data-sentry-source-file":"ImageBannerPropertySection.tsx",children:[(0,a.jsx)(pD,{"data-sentry-element":"ImageBannerHeightSection","data-sentry-source-file":"ImageBannerPropertySection.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ImageBannerPropertySection.tsx"}),(0,a.jsx)(pH,{"data-sentry-element":"ImageBannerOverlayPropertySection","data-sentry-source-file":"ImageBannerPropertySection.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ImageBannerPropertySection.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.imageBanner.overlayColorChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"ImageBannerPropertySection.tsx"})]})}let pV={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row:not(:first-child)":{marginTop:"".concat(u.Spacing.Large,"px")},".input:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px")}}}))};function pW(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(iR,{aspectRatio:(0,u.getAspectRatio)(N.ImageFrame.Landscape),enableCrop:!1,eventNames:{crop:ew.o.designer.sections.imageBanner.imageCrop,replaceImage:ew.o.designer.sections.imageBanner.replaceImage,toggle:ew.o.designer.sections.imageBanner.imageToggle},image:o.image,imageChangeEventName:ew.o.designer.sections.imageBanner.imageChange,imageKeywords:o.imageKeywords,onImageSelected:(e,a)=>t({...n,props:{...n.props,image:e,...void 0!==a&&{userKeywords:a}}}),"data-sentry-element":"ImageSelectorPropertySection","data-sentry-source-file":"ImageBannerSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ImageBannerSectionProperties.tsx"}),(0,a.jsx)(pR,{"data-sentry-element":"ImageBannerPropertySection","data-sentry-source-file":"ImageBannerSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ImageBannerSectionProperties.tsx"})]})}function pE(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=c.D.views.designer.components.properties.backgroundPropertySection,r=e.selectedSection,s=r.props.backgroundProperties,i=r.props.backgroundProperties.backgroundType===N.Backgroun
1dType.Image;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(iR,{aspectRatio:(0,u.getAspectRatio)(N.ImageFrame.Landscape),enabled:i,enableCrop:!1,enableToggle:!0,eventNames:{crop:ew.o.designer.sections.introduction.backgroundImageCrop,replaceImage:ew.o.designer.sections.introduction.backgroundImageReplace,toggle:ew.o.designer.sections.introduction.backgroundImageToggle},image:s.image,imageChangeEventName:ew.o.designer.sections.introduction.backgroundImageChange,imageKeywords:r.props.imageKeywords,label:o.title,onImageSelected:e=>t({...r,props:{...r.props,backgroundProperties:{...r.props.backgroundProperties,image:e}}}),onToggle:()=>{t({...r,props:{...r.props,backgroundProperties:{...r.props.backgroundProperties,backgroundType:i?N.BackgroundType.ColorFill:N.BackgroundType.Image}}})},"data-sentry-element":"ImageSelectorPropertySection","data-sentry-source-file":"IntroductionBackgroundPropertySection.tsx"}),i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{className:pZ.transparentDivider}),(0,a.jsx)(pB,{eventName:ew.o.designer.sections.introduction.opacityChange,onChange:e=>{t({...r,props:{...r.props,backgroundProperties:{...r.props.backgroundProperties,opacity:parseFloat(e.target.value)}}})},value:s.opacity})]}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"IntroductionBackgroundPropertySection.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.introduction.backgroundChange,resolvedTheme:n,themeColor:r.props.themeColor,selectedValue:r.props.sectionThemeMode,onValueChanged:e=>{t({...r,props:{...r.props,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"IntroductionBackgroundPropertySection.tsx"})]})}let pZ={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({display:"flex",flexDirection:"column",rowGap:u.Spacing.Small,$nest:{".selector":{display:"flex",justifyContent:"flex-end"},".col":{alignItems:"center"}}})),transparentDivider:(0,o.style)({color:"transparent",marginBlock:u.Spacing.Micro})},pG={[N.IntroductionLayout.ForegroundImageWithTextBlock]:"/img/intro-foreground-image-mobile.png",[N.IntroductionLayout.TextBlockOnly]:"/img/intro-text-block-only-mobile.png",[N.IntroductionLayout.TextOnCard]:"/img/intro-text-on-card-mobile.png"},pO={[N.IntroductionLayout.ForegroundImageWithTextBlock]:"/img/intro-foreground-image.png",[N.IntroductionLayout.TextBlockOnly]:"/img/intro-text-block-only.png",[N.IntroductionLayout.TextOnCard]:"/img/intro-text-on-card.png"},pz=[N.IntroductionLayout.ForegroundImageWithTextBlock,N.IntroductionLayout.TextBlockOnly,N.IntroductionLayout.TextOnCard];function p$(e){let{selectedLayout:t,onSelectLayout:n,onClose:o}=e,r=c.D.views.designer.components.properties.sections.introduction.layoutPropertySection;return(0,a.jsx)(dK,{title:r.panelTitle,closeButtonLabel:r.closePanel,onClose:o,showHeaderDivider:!0,"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"IntroductionLayoutPanel","data-sentry-source-file":"IntroductionLayoutPanel.tsx",children:(0,a.jsx)("div",{className:pU.layoutGrid,children:pz.map(function(e){let o=pG[e],s=r.layoutAltText[e],i=r.layoutLabels[e],l=t===e;return(0,a.jsxs)("button",{className:"".concat(pU.layoutOption," ").concat(l?pU.layoutOptionSelected:""),onClick:()=>n(e),"aria-label":s,"aria-pressed":l,"data-sentry-component":"renderLayoutOption","data-sentry-source-file":"IntroductionLayoutPanel.tsx",children:[(0,a.jsx)("div",{className:pU.iconWrapper,children:(0,a.jsx)("img",{src:o,alt:""})}),(0,a.jsx)("span",{className:pU.layoutLabel,children:i})]},e)})})})}let pU={layoutGrid:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.Large,padding:"".concat(u.Spacing.Large,"px ").concat(u.Spacing.xLarge,"px ").concat(u.Spacing.xLarge,"px")}),layoutOption:(0,o.style)({background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",flexDirection:"column",alignItems:"center",gap:6}),iconWrapper:(0,o.style)({borderRadius:4,lineHeight:0,$nest:{"& img":{display:"block",width:"100%",borderRadius:4}}}),layoutOptionSelected:(0,o.style)({$nest:{"& > div":{boxShadow:"0 0 0 1px #FFF, 0 0 0 3px #5B5B66"}}}),layoutLabel:(0,o.style)({fontSize:11,lineHeight:"16px",color:u.StandardColors.ColorDarkGray05,textAlign:"center"})};function p_(){var e,t,n;let{designerSettings:o,updateWebsiteSection:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(!1),p=o.selectedSection,m=p.props,u=(0,N.inferIntroductionLayout)(m),{analytics:g}=(0,eL.S)(),y=c.D.views.designer.components.properties.sections.introduction.layoutPropertySection,x=null!=(e=m.sectionHeight)?e:(0,N.getIntroductionLayoutPreset)(u).sectionHeight,h=null!=(t=m.textPosition)?t:m.layout?(0,N.getIntroductionLayoutPreset)(u).textPosition:m.imageProperties.alignment===N.Alignment.Right?N.Alignment.Left:N.Alignment.Right,C=null!=(n=m.textWidth)?n:(0,N.getIntroductionLayoutPreset)(u).textWidth,f=u!==N.IntroductionLayout.ForegroundImageWithTextBlock,S=u===N.IntroductionLayout.ForegroundImageWithTextBlock?[N.Alignment.Left,N.Alignment.Right]:[N.Alignment.Left,N.Alignment.Center,N.Alignment.Right],v=pO[u],b=y.layoutAltText[u];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(sP,{title:y.title,rightTitleContent:(0,a.jsx)("button",{className:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat(d.FontStyles.Medium),onClick:()=>l(!0),children:y.changeLayout}),"data-sentry-element":"PropertySection","data-sentry-source-file":"IntroductionLayoutPropertySection.tsx",children:[(0,a.jsx)("button",{className:pq.previewButton,onClick:()=>l(!0),"aria-label":b,children:(0,a.jsx)("img",{src:v,alt:""})}),(0,a.jsxs)("div",{className:pq.controlRow,children:[(0,a.jsx)("span",{className:pq.controlLabel,children:y.sectionHeight}),(0,a.jsxs)("div",{className:pq.buttonsContainer,children:[(0,a.jsx)(G.A,{active:x===N.IntroductionSectionHeight.Compact,className:pq.segmentedButton,onClick:()=>{(0,ed.$s)(g,ew.o.designer.sections.introduction.sectionHeightChange),s({...p,props:{...m,sectionHeight:N.IntroductionSectionHeight.Compact}})},"data-sentry-element":"Button","data-sentry-source-file":"IntroductionLayoutPropertySection.tsx",children:y.compact}),(0,a.jsx)(G.A,{active:x===N.IntroductionSectionHeight.Full,className:pq.segmentedButton,onClick:()=>{(0,ed.$s)(g,ew.o.designer.sections.introduction.sectionHeightChange),s({...p,props:{...m,sectionHeight:N.IntroductionSectionHeight.Full}})},"data-sentry-element":"Button","data-sentry-source-file":"IntroductionLayoutPropertySection.tsx",children:y.full})]})]}),(0,a.jsxs)("div",{className:pq.controlRow,children:[(0,a.jsx)("span",{className:pq.controlLabel,children:y.textPosition}),(0,a.jsx)(ih,{alignment:h,availableAlignments:S,onAlignmentSelected:e=>{(0,ed.$s)(g,ew.o.designer.sections.introduction.textPositionChange),s({...p,props:{...m,textPosition:e}})},"data-sentry-element":"PositionAlignmentSelector","data-sentry-source-file":"IntroductionLayoutPropertySection.tsx"})]}),f&&(0,a.jsxs)("div",{className:pq.controlRow,children:[(0,a.jsx)("span",{className:pq.controlLabel,children:y.textWidth}),(0,a.jsxs)("div",{className:pq.buttonsContainer,children:[(0,a.jsx)(G.A,{active:50===C,className:pq.segmentedButton,onClick:()=>{(0,ed.$s)(g,ew.o.designer.sections.introduction.textWidthChange),s({...p,props:{...m,textWidth:50}})},children:y.textWidth50}),(0,a.jsx)(G.A,{active:66===C,className:pq.segmentedButton,onClick:()=>{(0,ed.$s)(g,ew.o.designer.sections.introduction.textWidthChange),s({...p,props:{...m,textWidth:66}})},children:y.textWidth66})]})]})]}),i&&(0,a.jsx)(p$,{selectedLayout:u,onSelectLayout:function(e){(0,ed.$s)(g,ew.o.designer.sections.introduction.layoutChange,{layout_name:e});let t=(0,N.getIntroductionLayoutPreset)(e),n=e===N.IntroductionLayout.ForegroundImageWithTextBlock;s({...p,props:{...m,layout:e,sectionHeight:t.sectionHeight,textPosition:t.textPosition,textWidth:t.textWidth,imageProperties:{...m.imageProperties,imageEnabled:n},backgroundProperties:{...m.backgroundProperties,backgroundType:n?N.Backgroun
1dType.ColorFill:N.BackgroundType.Image,opacity:t.overlayOpacity}}})},onClose:()=>l(!1)})]})}let pq={previewButton:(0,o.style)({background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",justifyContent:"center",width:"100%",aspectRatio:"342 / 94",borderRadius:u.Spacing.Micro,marginBottom:u.Spacing.Small,$nest:{"& img":{display:"block",width:"100%",height:"100%",borderRadius:u.Spacing.Micro}}}),controlRow:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:u.Spacing.Small}),controlLabel:(0,o.style)({fontWeight:400,color:u.StandardColors.ColorDarkGray50,fontSize:13,lineHeight:"18px"}),buttonsContainer:(0,o.style)({display:"flex",columnGap:u.Spacing.Micro}),segmentedButton:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",paddingInline:u.Spacing.Medium,paddingBlock:u.Spacing.Small-1,fontWeight:600,fontSize:13,color:u.StandardColors.ColorDarkGray05,$nest:{"&.active":{backgroundColor:u.StandardColors.ColorLightGray30,color:u.StandardColors.ColorDarkGray05}}}))};function pQ(){var e,t,n,o,s,i;let l=c.D.views.designer.components.properties.sections.introduction.textPropertySection,p=c.D.views.designer.components.properties.headingPropertySection.heading,{designerSettings:m,websiteSettings:g,updateWebsiteSection:y}=(0,j.Hb)(),{analytics:x}=(0,eL.S)(),[h,C]=(0,r.useState)(!1),[f,S]=(0,r.useState)(!1),v=m.selectedSection,b=v.props.textAlignment,M=null!=(n=null==(t=g.fonts)||null==(e=t.headingFont)?void 0:e.fontSize)?n:N.FontSize.Default,P=Math.round((0,u.getSpecificHeadingStyle)(M,"h2").fontSize);return(0,a.jsxs)(w.A,{className:pK.container,"data-sentry-element":"Container","data-sentry-component":"IntroductionTextPropertySection","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:[(0,a.jsx)(sP,{title:l.title,"data-sentry-element":"PropertySection","data-sentry-source-file":"IntroductionTextPropertySection.tsx"}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:p}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.introHeading,currentText:v.props.title,visible:h,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"IntroductionTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",maxLength:tg.H.introHeading,value:v.props.title,onFocus:()=>C(!0),onBlur:()=>C(!1),onChange:e=>y({...v,props:{...v.props,title:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"IntroductionTextPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:l.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.introBody,currentText:(0,W.sanitizeHtml)(v.props.description,{allowedTags:[]}),visible:f,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"IntroductionTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsx)(rT,{htmlContent:v.props.description,onFocus:()=>S(!0),onBlur:()=>S(!1),onUpdateHtml:e=>{y({...v,props:{...v.props,description:e}})},characterCountLimit:tg.H.introBody,"data-sentry-element":"RichTextEditor","data-sentry-source-file":"IntroductionTextPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.Regular,"data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:l.headingSize}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsxs)("div",{className:"d-flex flex-row align-items-center",children:[(0,a.jsx)(pe,{"data-sentry-element":"FontSmall","data-sentry-source-file":"IntroductionTextPropertySection.tsx"}),(0,a.jsx)(iP,{min:P,max:tg.H.introduction.headingSize.max,step:tg.H.introduction.headingSize.step,value:null!=(o=v.props.headingSize)?o:tg.H.introduction.headingSize.default,onCh
1ange:e=>y({...v,props:{...v.props,headingSize:parseInt(e.target.value)}}),onChangeAnalyticsEventName:ew.o.designer.sections.introduction.headingSizeChange,"data-sentry-element":"RangeSliderControl","data-sentry-source-file":"IntroductionTextPropertySection.tsx"}),(0,a.jsx)(d8,{"data-sentry-element":"FontLarge","data-sentry-source-file":"IntroductionTextPropertySection.tsx"})]})})]}),(0,a.jsx)(sP,{title:l.bodySize,className:pK.sizeSection,titleClassname:pK.sizeLabel,rightTitleContent:(0,a.jsxs)("div",{className:pK.buttonsContainer,children:[(0,a.jsx)(G.A,{active:(null!=(s=v.props.bodySize)?s:N.IntroductionBodySize.Large)===N.IntroductionBodySize.Medium,className:pK.sizeButton,onClick:()=>{(0,ed.$s)(x,ew.o.designer.sections.introduction.bodySizeChange),y({...v,props:{...v.props,bodySize:N.IntroductionBodySize.Medium}})},children:l.bodySizeMedium}),(0,a.jsx)(G.A,{active:(null!=(i=v.props.bodySize)?i:N.IntroductionBodySize.Large)===N.IntroductionBodySize.Large,className:pK.sizeButton,onClick:()=>{(0,ed.$s)(x,ew.o.designer.sections.introduction.bodySizeChange),y({...v,props:{...v.props,bodySize:N.IntroductionBodySize.Large}})},children:l.bodySizeLarge})]}),"data-sentry-element":"PropertySection","data-sentry-source-file":"IntroductionTextPropertySection.tsx"}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.Regular,"data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:l.alignment}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"IntroductionTextPropertySection.tsx",children:(0,a.jsx)(iq,{alignment:b,onAlignmentSelected:e=>{(0,ed.$s)(x,ew.o.designer.sections.introduction.textAlignmentChange),y({...v,props:{...v.props,textAlignment:e}})},"data-sentry-element":"TextAlignmentSelector","data-sentry-source-file":"IntroductionTextPropertySection.tsx"})})]})]})}let pK={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{$nest:{"&:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"}}}}})),sizeSection:(0,o.style)({marginTop:u.Spacing.Small}),sizeLabel:(0,o.style)({fontWeight:400,color:u.StandardColors.ColorDarkGray50,fontSize:13,lineHeight:"18px"}),buttonsContainer:(0,o.style)({display:"flex",columnGap:u.Spacing.Micro}),sizeButton:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({background:"none",paddingInline:u.Spacing.Medium,paddingBlock:u.Spacing.Small-1,fontWeight:600,fontSize:13,color:u.StandardColors.ColorDarkGray05,$nest:{"&.active":{backgroundColor:u.StandardColors.ColorLightGray30,color:u.StandardColors.ColorDarkGray05}}}))};function pY(){var e,t,n,o,s;let{designerSettings:i,updateWebsiteSection:l}=(0,j.Hb)(),p=i.selectedSection,m=p.props,g=(0,N.inferIntroductionLayout)(m),y=c.D.views.designer.components.properties.sections.introduction.textPropertySection,x=c.D.views.designer.components.properties.foregroundImageSelectorSection,h=null!=(n=null==(e=m.buttonStyleProperties)?void 0:e.buttonStyle)?n:N.ButtonStyle.Solid,C=null!=(o=m.buttonSize)?o:N.ButtonSize.Large,[f,S]=(0,r.useState)(h),[v,b]=(0,r.useState)(C);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p_,{"data-sentry-element":"IntroductionLayoutPropertySection","data-sentry-source-file":"IntroductionSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"IntroductionSectionProperties.tsx"}),(0,a.jsx)(pQ,{"data-sentry-element":"IntroductionTextPropertySection","data-sentry-source-file":"IntroductionSectionProperties.tsx"}),(0,a.jsx)(d_,{title:y.button,titleClassname:d.FontStyles.Regular,editEventName:ew.o.designer.sections.introduction.buttonEdit,link:m.link,isEnabled:m.linkEnabled,onLinkChanged:(e,t)=>{l({...p,props:{...p.props,link:e.type===N.LinkType.None?void 0:e,linkEnabled:t,buttonSize:v,buttonStyleProperties:{buttonStyle:f}}})},toggleEventName:ew.o.designer.sections.introduction.buttonToggle,buttonStyle:f,onButtonStyleChanged:e=>S(e),buttonSize:v,onButtonSizeChanged:e=>b(e),useSegmentedButtonControls:!0,showButtonPreview:!0,sectionThemeMode:null!=(s=m.sectionThemeMode)?s:"base-light","data-sentry-element":"ButtonPropertySection","data-sentry-source-file":"IntroductionSectionProperties.tsx"}),g===N.IntroductionLayout.ForegroundImageWithTextBlock&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{}),(0,a.jsx)(iR,{enableCrop:!0,eventNames:{crop:ew.o.designer.sections.introduction.imageCrop,replaceImage:ew.o.designer.sections.introduction.replaceImage,toggle:ew.o.designer.sections.introduction.imageToggle},aspectRatio:(0,u.getAspectRatio)(m.imageProperties.frame),label:
1x.title,image:m.image,imageChangeEventName:ew.o.designer.sections.introduction.imageChange,imageKeywords:m.imageKeywords,onImageSelected:(e,t)=>l({...p,props:{...p.props,image:e,...void 0!==t&&{userKeywords:t}}})}),p.props.imageProperties.imageEnabled&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{className:pX.transparentDivider}),(0,a.jsx)(iC,{availableAlignments:[],eventNames:{alignment:ew.o.designer.sections.introduction.imageAlign,fitStyle:ew.o.designer.sections.introduction.imageFitStyle,frame:ew.o.designer.sections.introduction.imageFrameChange}}),p.props.imageProperties.frame!==N.ImageFrame.Circle&&p.props.image.fitStyle!==N.ImageFitStyle.Contain&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{className:pX.transparentDivider}),(0,a.jsx)(ir,{editEventName:ew.o.designer.sections.introduction.imageDecorFrameChange,currentBaseFrame:p.props.imageProperties.frame,currentValue:(null==(t=p.props.imageProperties.decorFrameProperties)?void 0:t.frame)||N.DecorFrame.None,onValueChanged:e=>l({...p,props:{...p.props,imageProperties:{...p.props.imageProperties,decorFrameProperties:{...p.props.imageProperties.decorFrameProperties,frame:e}}}})})]})]})]}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"IntroductionSectionProperties.tsx"}),(0,a.jsx)(pE,{"data-sentry-element":"IntroductionBackgroundPropertySection","data-sentry-source-file":"IntroductionSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"IntroductionSectionProperties.tsx"})]})}let pX={transparentDivider:(0,o.style)({color:"transparent",marginBlock:u.Spacing.Micro})};function pJ(e){let{onLogoChanged:t,logo:n,...o}=e,s=c.D.views.designer.components.properties.sections.logos.logoItemComposeDialog,[i,l]=(0,r.useState)(n),[p,m]=(0,r.useState)(!1),[g,y]=(0,r.useState)(!1),{websiteSettings:x}=(0,j.Hb)(),h=x.pages.some(e=>e.pageType===N.PageType.Blog),C=p0(i);return(0,a.jsxs)(ty.y,{title:s.title,onSave:async()=>{t(i)},canDismiss:i.image!==N.EmptyImage,...o,autoFocus:!1,className:"".concat(p3.dialog),centered:!0,"data-sentry-element":"ModalDialog","data-sentry-component":"LogoItemComposeDialog","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:[(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," content-grid"),"data-sentry-element":"Container","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{className:"select-image-button","data-sentry-element":"Col","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.logos.changeLogoItemImage,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:(0,a.jsxs)(G.A,{className:"".concat(d.ButtonStyles.LinkButtonPrimary),onClick:()=>y(!0),"data-sentry-element":"Button","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:[(0,a.jsx)(oA,{"data-sentry-element":"ReplaceImage","data-sentry-source-file":"LogoItemComposeDialog.tsx"}),(0,a.jsx)("span",{children:s.replaceImage})]})})})}),(0,a.jsx)(p1,{logo:i,"data-sentry-element":"LogoItemImagePreview","data-sentry-source-file":"LogoItemComposeDialog.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"LogoItemComposeDialog.tsx"}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2 align-items-center","data-sentry-element":"Row","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:p3.addLinkTitle,children:s.link.title}),(0,a.jsx)("div",{className:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued),children:""!==C?C:s.link.subordinate})]})}),i.link?(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)(G.A,{className:p3.editLabel,onClick:()=>m(!0),children:s.link.edit})}):null,(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:!!i.link||p,onChange:e=>{if(e.currentTarget.checked)n.link||m(!0),l({...i,link:n.link});else{let{link:e,...t}=i;l(t)}},"data-sentry-element":"SoloInput","data-sentry-source-file":"LogoItemComposeDialog.tsx"})})})]}),p&&(0,a.jsx)(n9,{title:s.linkModalTitle,labelCharLimit:tg.H.buttonLabels,isOpen:p,onClosed:()=>m(!1),link:i.link||{type:N.LinkType.None,label:""},onLinkChanged:e=>{if(e&&e.type!==N.LinkType.None)l({...i,link:e});else{let{link:e,...t}=i;l(t)}},supportedLinkTypes:[N.LinkType.Section,...h?[N.LinkType.Blog]:[],N.LinkType.Web,N.LinkType.Email,N.LinkType.Phone,N.LinkType.None],availableSections:x.sections,showEditLabel:!1})]}),g&&(0,a.jsx)(oe,{isOpen:g,onClosed:()=>y(!1),imageKeywords:"",selectedImage:n.image,initialModeOverride:N.ImageSelectionMode.MyImages,onImageSelected:e=>{l({...i,image:{...e,fitStyle:N.ImageFitStyle.Contain}})}})]})}function p1(e){let{logo:t}=e,n=t.image!==N.EmptyImage?"url(".concat((0,N.getImageUrl)(t.image,N.ImageType.Small),")"):"";return(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-component":"LogoItemImagePreview","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:(0,a.jsxs)(k.A,{className:p3.logoPreview,"data-sentry-element":"Col","data-sentry-source-file":"LogoItemComposeDialog.tsx",children:[(0,a.jsx)("div",{className:"image-slot",style:{backgroundImage:n}}),(0,a.jsx)("div",{className:"".concat(u.ContainerStyles.AbsoluteFillToParent," ").concat(p3.checkerboard)})]})})}function p0(e){return e.link&&e.link.type!==N.LinkType.None?e.link.type===N.LinkType.Email||e.link.type===N.LinkType.Phone?e.link.value:e.link.label?e.link.label:e.link.value?e.link.value:"":""}let p3={dialog:(0,o.style)({width:440,$nest:{".modal-body":{padding:"0px",$nest:{".header":{paddingBlock:u.Spacing.Large+u.Spacing.Micro,paddingInline:u.Spacing.xLarge,marginBottom:"0px",borderBottom:1,borderBottomStyle:"solid",borderBottomColor:u.StandardColors.ColorLightGray20},".content-grid":{paddingInline:u.Spacing.xLarge,paddingTop:u.Spacing.Large,paddingBottom:u.Spacing.xLarge,color:u.StandardColors.ColorDarkGray05}}},".select-image-button":{paddingInline:u.Spacing.xLarge,marginBottom:u.Spacing.Large,$nest:{svg:{marginRight:u.Spacing.Small}}}}}),addLinkTitle:(0,o.style)({color:u.StandardColors.ColorDarkGray50}),editLabel:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginRight:u.Spacing.Large})),checkerboard:(0,o.style)({background:"repeating-conic-gradient(".concat(u.StandardColors.ColorBlack," 0% 25%, transparent 0% 50%)\n        50% / 20p
1x 20px"),opacity:.06}),logoPreview:(0,o.style)({position:"relative",backgroundColor:u.StandardColors.ColorTransparent,borderRadius:u.Spacing.Micro,boxShadow:u.BoxShadowStyles.innerXSmall,width:"100%",overflow:"hidden",paddingBlock:"".concat(u.Spacing.Large,"px !important"),paddingInline:"".concat(u.Spacing.xLarge,"px !important"),height:94,$nest:{".image-slot":{height:"auto",width:"100%",backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat"}}})};function p2(){let e=c.D.views.designer.components.properties.sections.logos.logoItemsPropertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),{analytics:o}=(0,eL.S)(),[s,i]=(0,r.useState)(null),[l,d]=(0,r.useState)(!1),p=t.selectedSection,m=p.props,u=tg.H.maxLogoItems-m.logos.length;return(0,a.jsx)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"LogoItemsPropertySection","data-sentry-source-file":"LogoItemsPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:p5.container,"data-sentry-element":"Container","data-sentry-source-file":"LogoItemsPropertySection.tsx",children:[(0,a.jsx)(l5,{items:m.logos.map(e=>e.id),onDragEnd:function(e){let{active:t,over:a}=e;if(!a||t.id===a.id)return;let r=m.logos.findIndex(e=>e.id===t.id),s=m.logos.findIndex(e=>e.id===a.id),i=(0,l1.be)(m.logos,r,s);m.logos.splice(0,m.logos.length,...i),n(p),(0,ed.$s)(o,ew.o.designer.sections.logos.reorderLogoItem)},"data-sentry-element":"SortableList","data-sentry-source-file":"LogoItemsPropertySection.tsx",children:(0,a.jsx)("div",{children:m.logos.map(e=>(0,a.jsx)(l3,{id:e.id,children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(p6,{dragHandleProps:n,isDragging:o,logo:e,setIsEditing:()=>i(e)})})})}},e.id))})}),(0,a.jsxs)("div",{className:p5.addSection,children:[(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.logos.addLogoItemClicked,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"LogoItemsPropertySection.tsx",children:l?(0,a.jsxs)("div",{className:"d-flex flex-row justify-items-center ".concat(p5.spinnerContainer),children:[(0,a.jsx)("div",{className:p5.spinner}),(0,a.jsx)("div",{className:p5.spinnerText,children:e.spinnerMessage})]}):(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:p5.addButton,onClick:function(){i({id:(0,au.bz)(),image:N.EmptyImage}),d(!0)},disabled:u<=0,children:e.addLogo})}),!l&&(0,a.jsx)(sf,{className:p5.remainingLinkTag,remainingItems:u,singularMessage:e.addLogoFormat.replace("{count}",u.toString()),pluralMessage:e.addLogoFormat.replace("{count}",u.toString())})]}),!!s&&(0,a.jsx)(pJ,{isOpen:!!s,onClosed:()=>{i(null),d(!1)},logo:s,onLogoChanged:function(e){let t=m.logos.indexOf(s);-1===t?m.logos.push(e):m.logos.splice(t,1,e),n({...p}),d(!1)}})]})})}function p6(e){let{dragHandleProps:t,isDragging:n,logo:o,setIsEditing:r}=e,{designerSettings:s,updateWebsiteSection:i}=(0,j.Hb)(),l=c.D.views.designer.components.properties.sections.logos.logoItemsPropertySection,d=s.selectedSection,p=d.props;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(dB,{thumbnailFitStyle:N.ImageFitStyle.Contain,deleteEnabled:p.logos.length>1,description:p0(o),descriptionPlaceholder:l.captionPlaceholder,eventNames:{deleteEventName:ew.o.designer.sections.logos.deleteLogoItem,editEventName:ew.o.designer.sections.logos.editLogoItem},image:o.image,imageKeywords:"",imageSelectionInitialModeOverride:N.ImageSelectionMode.MyImages,onDeleteClicked:()=>{let e=p.logos.filter(e=>e!==o);i({...d,props:{...p,logos:e}})},onEditClicked:()=>r(),onImageChanged:e=>{o.image=e,i({...d})},dragHandleProps:t,isDragging:n,"data-sentry-element":"ThumbnailListViewItem","data-sentry-source-file":"LogoItemsPropertySection.tsx"})})}let p5={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Micro+u.Spacing.xSmall})),addButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({$nest:{".icon svg":{width:20,height:20}}})),addSection:"d-flex flex-row align-items-end",remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4}),spinnerText:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({color:d.Colors.Primary})),spinner:(0,o.style)({position:"relative",height:20,width:20,backgroundColor:"transparent",backgroundImage:"url(/img/spinner-48-transparent-violet.png)",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"20px 20px",marginRight:u.Spacing.Small}),spinnerContainer:(0,o.style)({height:u.Spacing.xxLarge,paddingBlock:u.Spacing.xSmall})};function p4(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=n.props,r=ew.o.designer.sections.logos,s=c.D.views.designer.components.properties.sections.logos.logosMiscPropertySection;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"LogosMiscPropertiesSection","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:(0,a.jsxs)(w.A,{className:p7.container,"data-sentry-element":"Container","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:[(0,a.jsxs)(L.A,{className:"title align-items-center","data-sentry-element":"Row","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:s.whiteInset}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:(0,a.jsx)(eG.T,{allowDefault:!0,eventName:r.whiteInsetToggle,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:o.logoFrameProps.insetFillEnabled,onChange:e=>{o.logoFrameProps.insetFillEnabled=e.target.checked,t({...n})},"data-sentry-element":"SoloInput","data-sentry-source-file":"LogosMiscPropertiesSection.tsx"})})})})]}),(0,a.jsxs)(L.A,{className:"title","data-sentry-element":"Row","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:s.removeColor}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:(0,a.jsx)(eG.T,{allowDefault:!0,eventName:r.removeColorToggle,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"LogosMiscPropertiesSection.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:o.removeColor,onChange:e=>{o.removeColor=e.target.checked,t({...n})},"data-sentry-element":"SoloInput","data-sentry-source-file":"LogosMiscPropertiesSection.tsx"})})})})]})]})})}let p7={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Medium,$nest:{".row.title":{marginBottom:u.Spacing.Micro}
1,input:{marginBottom:u.Spacing.Small}}}))};function p9(){let e=c.D.views.designer.components.properties.sections.logos.textPropertySection,t=c.D.views.designer.components.properties.headingPropertySection.heading,{designerSettings:n,updateWebsiteSection:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(!1),[l,d]=(0,r.useState)(!1),p=n.selectedSection;return(0,a.jsxs)(w.A,{className:p8.container,"data-sentry-element":"Container","data-sentry-component":"LogosTextPropertySection","data-sentry-source-file":"LogosTextPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"LogosTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LogosTextPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"LogosTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.logosHeading,currentText:p.props.title,visible:s,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"LogosTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{className:"heading-text-property","data-sentry-element":"Row","data-sentry-source-file":"LogosTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LogosTextPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",maxLength:tg.H.logosHeading,value:p.props.title,onFocus:()=>i(!0),onBlur:()=>i(!1),onChange:e=>o({...p,props:{...p.props,title:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"LogosTextPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"LogosTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LogosTextPropertySection.tsx",children:e.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"LogosTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.logosBody,currentText:(0,W.sanitizeHtml)(p.props.description,{allowedTags:[]}),visible:l,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"LogosTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"LogosTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"LogosTextPropertySection.tsx",children:(0,a.jsx)(rT,{htmlContent:p.props.description,onFocus:()=>d(!0),onBlur:()=>d(!1),customEditorStyle:{minHeight:u.Spacing.xLarge},onUpdateHtml:e=>{o({...p,props:{...p.props,description:e}})},enableBullets:!1,enableSupSubScripts:!1,characterCountLimit:tg.H.logosBody,"data-sentry-element":"RichTextEditor","data-sentry-source-file":"LogosTextPropertySection.tsx"})})})]})}let p8={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{$nest:{"&:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"}}},".heading-text-property":{marginBottom:"".concat(u.Spacing.Large,"px !important")}}}))};function me(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p9,{"data-sentry-element":"LogosTextPropertySection","data-sentry-source-file":"LogosSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"LogosSectionProperties.tsx"}),(0,a.jsx)(p2,{"data-sentry-element":"LogoItemsPropertySection","data-sentry-source-file":"LogosSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"LogosSectionProperties.tsx"}),(0,a.jsx)(p4,{"data-sentry-element":"LogosMiscPropertiesSection","data-sentry-source-file":"LogosSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"LogosSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.logos.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"LogosSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"LogosSectionProperties.tsx"})]})}function mt(){var e;let t=c.D.views.designer.components.properties.sections.newsletter.newsletterPropertySection,n=c.D.views.designer.components.properties.headingPropertySection.heading,{designerSettings:o,updateWebsiteSection:s,websiteSettings:i,resolvedTheme:l}=(0,j.Hb)(),{user:p}=(0,x.uM)(),[m,u]=(0,r.useState)(!1),[g,y]=(0,r.useState)(!1),[h,C]=(0,r.useState)(!1),f=o.selectedSection,S=f.props,v=(0,W.getLocaleStrings)(i.language).newsletterSection.fieldLabel;function b(){return v!==S.fieldLabel}return(0,a.jsxs)(w.A,{className:mn.container,"data-sentry-element":"Container","data-sentry-component":"NewsletterPropertySection","data-sentry-source-file":"NewsletterPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:n}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.newsletterHeadingMaxLimit,currentText:(0,W.sanitizeHtml)(S.title,{allowedTags:[]}),visible:m,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"NewsletterPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label ".concat(b()?"pe-5":""),value:S.title,maxLength:tg.H.newsletterHeadingMaxLimit,onFocus:()=>u(!0),onBlur:()=>u(!1),onChange:e=>{S.title=e.target.value,s({...f})},"data-sentry-element":"SoloInput","data-sentry-source-file":"NewsletterPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:t.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.newsletterBodyMaxLimit,currentText:(0,W.sanitizeHtml)(S.description,{allowedTags:[]}),visible:g,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"NewsletterPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(rT,{htmlContent:f.props.description,onFocus:()=>y(!0),onBlur:()=>y(!1),onUpdateHtml:e=>{s({...f,props:{...f.props,description:e}})},characterCountLimit:tg.H.newsletterBodyMaxLimit,"data-sentry-element":"RichTextEditor","data-sentry-source-file":"NewsletterPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:"justify-content-between align-items-center","data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:[(0,a.jsx)("span",{children:t.fieldLabel}),(0,a.jsx)(th,{className:"pe-3",maxLimit:tg.H.newsletterFieldLabelLimit,currentText:S.fieldLabel,visible:h,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"NewsletterPropertySection.tsx"})]}),(0,a.jsxs)(k.A,{className:"position-relative","data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:[(0,a.jsx)(tf.g,{type:"text",className:"label ".concat(b()?"pe-5":""),value:S.fieldLabel,maxLength:tg.H.newsletterFieldLabelLimit,onFocus:()=>C(!0),onBlur:()=>C(!1),onChange:e=>{S.fieldLabel=e.target.value,s({...f})},"data-sentry-element":"SoloInput","data-sentry-source-file":"NewsletterPropertySection.tsx"}),b()&&(0,a.jsx)(nA,{onReset:()=>{S.fieldLabel=v,s({...f})}})]})]}),(0,a.jsx)(n2,{selectedButtonStyle:(null==(e=S.buttonStyleProperties)?void 0:e.buttonStyle)||N.ButtonStyle.Solid,onButtonStyleChanged:e=>s({...f,props:{...f.props,buttonStyleProperties:{...f.props.buttonStyleProperties||{},buttonStyle:e}}}),"data-sentry-element":"ButtonStyleSelectionDropdown","data-sentry-source-file":"NewsletterPropertySection.tsx"}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:t.contactEmail})}),(0,a.jsx)(L.A,{className:"mt-1","data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:S.contactEmail,maxLength:tg.H.introHeading,placeholder:(null==p?void 0:p.firebaseUser.email)?null==p?void 0:p.firebaseUser.email:"",onChange:e=>{S.contactEmail=e.target.value,s({...f})},"data-sentry-element":"SoloInput","data-sentry-source-file":"NewsletterPropertySection.tsx"})})}),(0,a.jsx)(L.A,{className:"mt-1","data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)("div",{className:d.FontStyles.Subordinate,children:t.contactSubtext})})}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"NewsletterPropertySection.tsx"}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"NewsletterPropertySection.tsx",children:(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.newsletter.backgroundChange,resolvedTheme:l,themeColor:f.props.themeColor,selectedValue:f.props.sectionThemeMode,onValueChanged:e=>{s({...f,props:{...f.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"NewsletterPropertySection.tsx"})})}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"NewsletterPropertySection.tsx"})]})}let mn={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row.mt-1":{marginTop:"".concat(u.Spacing.Micro,"px !important")},".row:not(:first-child)":{marginTop:"".concat(u.Spacing.Large,"px")},".input:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px")},"input::-webkit-contacts-auto-fill-button":{width:0}}}))};function ma(){let e=c.D.views.designer.components.properties.sections.quoteBanner.textPropertySection,t=c.D.views.designer.components.properties.headingPropertySection.heading,{designerSettings:n,updateWebsiteSection:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(!1),[l,d]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),g=n.selectedSection,y=g.props.subheadText||"";return(0,a.jsxs)(w.A,{className:mo.container,"data-sentry-element":"Container","data-sentry-component":"QuoteBannerPropertySection","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.quotePrimary,currentText:g.props.primaryText,visible:s,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"QuoteBannerPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"textarea",rows:2,maxLength:tg.H.quotePrimary,value:g.props.primaryText,onFocus:()=>i(!0),onBlur:()=>i(!1),onChange:e=>o({...g,props:{...g.props,primaryText:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"QuoteBannerPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:e.subheadText}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.quoteSubhead,currentText:(0,W.sanitizeHtml)(y,{allowedTags:[]}),visible:p,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"QuoteBannerPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(rT,{customEditorStyle:{minHeight:u.Spacing.xLarge},htmlContent:y,enableBullets:!1,onFocus:()=>m(!0),onBlur:()=>m(!1),onUpdateHtml:e=>{o({...g,props:{...g.props,subheadText:e}})},characterCountLimit:tg.H.quoteSubhead,"data-sentry-element":"RichTextEditor","data-sentry-source-file":"QuoteBannerPropertySection.tsx"},g.id)})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:e.subordinateText}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.quoteSubordinate,currentText:(0,W.sanitizeHtml)(g.props.subordinateText,{allowedTags:[]}),visible:l,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"QuoteBannerPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"QuoteBannerPropertySection.tsx",children:(0,a.jsx)(rT,{htmlContent:g.props.subordinateText,onFocus:()=>d(!0),onBlur:()=>d(!1),onUpdateHtml:e=>{o({...g,props:{...g.props,subordinateText:e}})},characterCountLimit:tg.H.quoteSubordinate,"data-sentry-element":"RichTextEditor","data-sentry-source-file":"QuoteBannerPropertySection.tsx"},g.id)})})]})}let mo={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row:not(:first-child)":{marginTop:"".concat(u.Spacing.Large,"px")},".input:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px")}}}))};function mr(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),{analytics:n}=(0,eL.S)(),o=e.selectedSection,r=o.props.textAlignment,s=c.D.views.designer.components.properties.sections.quoteBanner.textAlignmentPropertySection;return(0,a.jsx)(sP,{title:s.title,rightTitleContent:(0,a.jsx)(iq,{alignment:r,onAlignmentSelected:e=>{(0,ed.$s)(n,ew.o.designer.sections.quoteBanner.textAlignmentChange),t({...o,props:{...o.props,textAlignment:e}})}}),"data-sentry-element":"PropertySection","data-sentry-component":"QuoteBannerTextPropertySection","data-sentry-source-file":"QuoteBannerTextPropertySection.tsx"})}function ms(){var e;let{designerSettings:t,updateWebsiteSection:n,resolvedTheme:o}=(0,j.Hb)(),r=t.selectedSection,{props:s}=r,{imageProperties:i={imageEnabled:!1,alignment:N.Alignment.Top,frame:N.ImageFrame.Circle}}=s;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ma,{"data-sentry-element":"QuoteBannerPropertySection","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(d_,{editEventName:ew.o.designer.sections.quoteBanner.buttonEdit,link:r.props.link,isEnabled:r.props.linkEnabled,onLinkChanged:(e,t)=>{n({...r,props:{...r.props,link:e.type===N.LinkType.None?void 0:e,linkEnabled:t}})},toggleEventName:ew.o.designer.sections.quoteBanner.buttonToggle,buttonStyle:s.buttonStyleProperties?s.buttonStyleProperties.buttonStyle:N.ButtonStyle.Solid,onButtonStyleChanged:e=>{n({...r,props:{...r.props,buttonStyleProperties:{...r.props.buttonStyleProperties,buttonStyle:e}}})},"data-sentry-element":"ButtonPropertySection","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(mr,{"data-sentry-element":"QuoteBannerTextPropertySection","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(iR,{aspectRatio:(0,u.getAspectRatio)(i.frame),enabled:i.imageEnabled,enableCrop:!0,enableToggle:!0,eventNames:{crop:ew.o.designer.sections.quoteBanner.imageCrop,replaceImage:ew.o.designer.sections.quoteBanner.replaceImage,toggle:ew.o.designer.sections.quoteBanner.imageToggle},image:s.image,imageChangeEventName:ew.o.designer.sections.quoteBanner.imageChange,imageKeywords:s.imageKeywords,onImageSelected:(e,t)=>n({...r,props:{...r.props,image:e,...void 0!==t&&{userKeywords:t}}}),onToggle:()=>n({...r,props:{...r.props,imageProperties:{...i,imageEnabled:!i.imageEnabled}}}),"data-sentry-element":"ImageSelectorPropertySection","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),i.imageEnabled&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{className:mi.transparentDivider}),(0,a.jsx)(iC,{availableAlignments:[N.Alignment.Left,N.Alignment.Top,N.Alignment.Right],eventNames:{alignment:ew.o.designer.sections.quoteBanner.imageAlign,fitStyle:ew.o.designer.sections.quoteBanner.imageFitStyle,frame:ew.o.designer.sections.quoteBanner.imageFrameChange}}),r.props.imageProperties.frame!==N.ImageFrame.Circle&&r.props.image.fitStyle!==N.ImageFitStyle.Contain&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{className:mi.transparentDivider}),(0,a.jsx)(ir,{editEventName:ew.o.designer.sections.quoteBanner.imageDecorFrameChange,currentBaseFrame:r.props.imageProperties.frame,currentValue:(null==(e=r.props.imageProperties.decorFrameProperties)?void 0:e.frame)||N.DecorFrame.None,onValueChanged:e=>n({...r,props:{...r.props,imageProperties:{...r.props.imageProperties,decorFrameProperties:{...r.props.imageProperties.decorFrameProperties,frame:e}}}})})]})]}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.quoteBanner.backgroundChange,resolvedTheme:o,themeColor:r.props.themeColor,selectedValue:r.props.sectionThemeMode,onValueChanged:e=>{n({...r,props:{...r.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"QuoteBannerSectionProperties.tsx"})]})}let mi={transparentDivider:(0,o.style)({color:"transparent",marginBlock:u.Spacing.Micro})};function ml(e){var t;let{review:n,onReviewChanged:o,className:s,...i}=e,l=c.D.views.designer.components.properties.sections.reviews.reviewItemComposeDialog,[d,p]=(0,r.useState)(n),[m,g]=(0,r.useState)(!1),[y,x]=(0,r.useState)(!1),[h,C]=(0,r.useState)(!1);return(0,a.jsx)(ty.y,{title:l.title,onSave:async()=>{o(d)},canDismiss:!nF(d.body)&&!nF(d.authorName),className:"".concat(s," ").concat(md.modalDialog),...i,"data-sentry-element":"ModalDialog","data-sentry-component":"ReviewItemComposeDialog","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(md.content),"data-sentry-element":"Container","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:[(0,a.jsxs)(L.A,{className:"mb-2 align-items-center","data-sentry-element":"Row","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:l.rating}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(mc,{value:d.rating,onValueChanged:e=>p({...d,rating:e}),"data-sentry-element":"RatingDropdown","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})})]}),(0,a.jsxs)(L.A,{className:"mt-3 mb-2","data-sentry-element":"Row","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:l.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.reviewParagraph,currentText:d.body,visible:m,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"textarea",rows:8,value:d.body,maxLength:tg.H.reviewParagraph,onFocus:()=>g(!0),onBlur:()=>g(!1),onChange:e=>p({...d,body:e.target.value}),"data-sentry-element":"SoloInput","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-3 mb-2","data-sentry-element":"Row","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:l.authorName}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.reviewAuthorName,currentText:d.authorName,visible:y,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:d.authorName,maxLength:tg.H.reviewAuthorName,onFocus:()=>x(!0),onBlur:()=>x(!1),onChange:e=>{p({...d,authorName:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-3 mb-2","data-sentry-element":"Row","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:l.authorLocation}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.reviewAuthorLocation,currentText:null!=(t=d.authorLocation)?t:"",visible:h,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:d.authorLocation,maxLength:tg.H.reviewAuthorLocation,onFocus:()=>C(!0),onBlur:()=>C(!1),onChange:e=>{p({...d,authorLocation:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})})})]})})}function mc(e){let{value:t,onValueChanged:n}=e;return(0,a.jsx)(nT.V,{selectedValue:null!=t?t:N.ReviewRating.None,values:W.customerReviewRatingValues,dividerAfterIndex:0,itemTemplate:e=>e&&e!==N.ReviewRating.None?(0,a.jsx)(W.CustomerReviewStars,{value:e,starClassName:md.star}):(0,a.jsx)("span",{children:c.D.views.designer.components.properties.sections.reviews.reviewItemComposeDialog.noRating}),onValueChanged:n,"data-sentry-element":"DropdownSelector","data-sentry-component":"RatingDropdown","data-sentry-source-file":"ReviewItemComposeDialog.tsx"})}let md={modalDialog:(0,o.style)({width:"432px",$nest:{".modal-body":{padding:"0px",$nest:{".header":{paddingBlock:u.Spacing.Large+u.Spacing.Micro,paddingInline:u.Spacing.xLarge,marginBottom:"0px",borderBottom:1,borderBottomStyle:"solid",borderBottomColor:u.StandardColors.ColorLightGray20}}}}}),content:(0,o.style)({padding:u.Spacing.xLarge,paddingTop:u.Spacing.Large+u.Spacing.Micro}),star:(0,o.style)({color:"".concat(u.StandardColors.ColorDarkGray05," !important")})};function mp(){let e=c.D.views.designer.components.properties.sections.reviews.reviewItemPropertySection,{analytics:t}=(0,eL.S)(),{designerSettings:n,updateWebsiteSection:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(null),l=n.selectedSection,d=l.props;function p(e){i(e)}let m=tg.H.maxReviews-d.reviews.length;return(0,a.jsx)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"ReviewItemPropertySection","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:[(0,a.jsx)(l5,{items:d.reviews.map((e,t)=>"review-".concat(t)),onDragEnd:function(e){let{active:n,over:a}=e;if(!a||n.id===a.id)return;let r=d.reviews.findIndex((e,t)=>
1"review-".concat(t)===n.id),s=d.reviews.findIndex((e,t)=>"review-".concat(t)===a.id),i=(0,l1.be)(d.reviews,r,s);d.reviews.splice(0,d.reviews.length,...i),o(l),(0,ed.$s)(t,ew.o.designer.sections.reviews.reviewList.reorder)},"data-sentry-element":"SortableList","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:(0,a.jsx)("div",{children:d.reviews.map((e,t)=>(0,a.jsx)(l3,{id:"review-".concat(t),children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(w.A,{className:u.ContainerStyles.NoSpacing,children:(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(mm,{review:e,onClickEdit:p,dragHandleProps:n,isDragging:o})})})})}},"review-".concat(t)))})}),(0,a.jsx)("div",{className:mu.addSection,children:(0,a.jsxs)(eG.T,{eventName:ew.o.designer.sections.reviews.reviewList.add,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:[(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:mu.addButton,onClick:function(){d.hiddenReviews.length?(d.reviews.push(d.hiddenReviews.pop()),o(l)):i({body:"",authorName:"",authorLocation:""})},disabled:m<=0,"data-sentry-element":"ImageLink","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:e.addReview}),(0,a.jsx)(sf,{className:mu.remainingLinkTag,remainingItems:m,singularMessage:e.addSingleReview,pluralMessage:e.addPluralReviews.replace("{count}",m.toString()),"data-sentry-element":"RemainingItemsTag","data-sentry-source-file":"ReviewItemPropertySection.tsx"})]})}),!!s&&(0,a.jsx)(ml,{isOpen:!!s,onClosed:()=>i(null),review:s,onReviewChanged:function(e){let t=d.reviews.indexOf(s);-1===t?d.reviews.push(e):d.reviews.splice(t,1,e),o({...l})}})]})})}function mm(e){let{review:t,onClickEdit:n,dragHandleProps:o,isDragging:r}=e,s=ew.o.designer.sections.reviews.reviewList,{designerSettings:i,updateWebsiteSection:l}=(0,j.Hb)(),p=i.selectedSection,m=p.props,u=(t.authorName||"")+(t.authorName&&t.authorLocation?", ":"")+(t.authorLocation||"");return(0,a.jsx)(w.A,{className:mu.reviewItem,"data-sentry-element":"Container","data-sentry-component":"ReviewItem","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:"d-flex align-items-center w-100","data-sentry-element":"Row","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:"drag-icon col-auto ".concat(r?"dragging":""),...o,"data-sentry-element":"Col","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:(0,a.jsx)(l4,{"data-sentry-element":"DragHandle","data-sentry-source-file":"ReviewItemPropertySection.tsx"})}),(0,a.jsxs)(k.A,{className:"text-col","data-sentry-element":"Col","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:[(0,a.jsx)("div",{className:"title",children:t.body}),(0,a.jsx)("div",{className:"body ".concat(d.FontStyles.Subordinate),children:u})]}),m.reviews.length>1&&(0,a.jsx)(eG.T,{eventName:s.delete,children:(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",onClick:()=>{let e=m.reviews.filter(e=>e!==t);l({...p,props:{...m,reviews:e,hiddenReviews:[...m.hiddenReviews,t]}})},children:(0,a.jsx)("div",{className:"scale-button",children:(0,a.jsx)(aB.r,{})})}),title:c.D.components.tooltips.delete})}),(0,a.jsx)(eG.T,{eventName:s.edit,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ReviewItemPropertySection.tsx",children:(0,a.jsx)(J.x,{target:(0,a.jsx)(k.A,{className:"col-auto col-btn",onClick:()=>n(t),children:(0,a.jsx)("div",{className:"scale-button",children:(0,a.jsx)(O.f,{})})}),title:c.D.components.tooltips.edit,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"ReviewItemPropertySection.tsx"})})]})})}let mu={reviewItem:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({overflow:"hidden",paddingBlock:u.Spacing.Small,marginBottom:u.Spacing.Micro,$nest:{"& .body, & .title":{marginRight:u.Spacing.Small},".row":{overflow:"hidden"},".scale-button":{display:"flex",alignItems:"center",maxHeight:u.Spacing.Large+u.Spacing.Micro,maxWidth:u.Spacing.Large+u.Spacing.Micro},".drag-icon":{marginRight:u.Spacing.Small,color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro,paddingBlock:"".concat(u.Spacing.xSmall,"px !important"),transition:"background-color 0.2s ease, opacity 0.2s ease",$nest:{"&:hover":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20)},"&.dragging":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")},"&:active":{backgroundColor:"".concat(u.StandardColors.ColorLightGray30," !important")}}},".col-btn":{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",height:u.Spacing.xxLarge,width:u.Spacing.xxLarge,color:u.StandardColors.ColorDarkGray05,borderRadius:u.Spacing.Micro,$nest:{"&:hover":{backgroundColor:d.Colors.SecondaryHover},"&:active":{backgroundColor:"".concat(d.Colors.SecondaryPressed," !important")},"&:not(:last-child)":{marginRight:u.Spacing.Micro}}},".text-col":{display:"flex",flexDirection:"column",overflow:"hidden",color:u.StandardColors.ColorDarkGray50,$nest:{".title":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},".body":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:u.StandardColors.ColorDarkGray05}}}}})),addButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({$nest:{".icon svg":{width:20,height:20}}})),addSection:"d-flex flex-row align-items-end",remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4})};function mg(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l_,{value:o.props.title,onChange:e=>{t({...o,props:{...o.props,title:e.target.value}})},"data-sentry-element":"HeadingPropertySection","data-sentry-source-file":"ReviewsSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ReviewsSectionProperties.tsx"}),(0,a.jsx)(mp,{"data-sentry-element":"ReviewItemPropertySection","data-sentry-source-file":"ReviewsSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ReviewsSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.reviews.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"ReviewsSectionProperties.tsx"})]})}function my(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),n=e.selectedSection,o=c.D.views.designer.components.properties.sections.scheduling.linkPropertySection;return(0,a.jsxs)(sP,{title:o.title,rightTitleContent:(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.scheduling.learnMoreClick,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>{(0,r8.V)(c.D.externalLinks.schedulingTutorial)},children:o.learnMore})}),"data-sentry-element":"PropertySection","data-sentry-component":"SchedulingLinkPropertySection","data-sentry-source-file":"SchedulingLinkPropertySection.tsx",children:[(0,a.jsx)(tf.g,{placeholder:o.placeholder,value:n.props.link,onChange:e=>{t({...n,props:{...n.props,link:e.target.value}})},onBlur:e=>{let a=(0,t$.YT)(e.target.value),o=a?e.target.value:(0,t$.VO)(e.target.value);a||t({...n,props:{...n.props,link:o}})},"data-sentry-element":"SoloInput","data-sentry-source-file":"SchedulingLinkPropertySection.tsx"}),(0,a.jsx)("div",{className:"".concat(d.FontStyles.Subdued," ").concat(d.FontStyles.Subordinate," my-2"),children:o.explanation})]})}function mx(){var e;let t=c.D.views.designer.components.properties.sections.scheduling.textPropertySection,n=c.D.views.designer.components.properties.headingPropertySection.heading,{designerSettings:o,updateWebsiteSection:s}=(0,j.Hb)(),{analytics:i}=(0,eL.S)(),[l,d]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),[u,g]=(0,r.useState)(!1),y=o.selectedSection,{props:x}=y;return(0,a.jsxs)(w.A,{className:mh.container,"data-sentry-element":"Container","data-sentry-component":"SchedulingTextPropertySection","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:n}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.quotePrimary,currentText:y.props.primaryText,visible:l,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"textarea",rows:2,maxLength:tg.H.quotePrimary,value:y.props.primaryText,onFocus:()=>d(!0),onBlur:()=>d(!1),onChange:e=>s({...y,props:{...y.props,primaryText:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:t.subordinateText}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.quoteSubordinate,currentText:y.props.subordinateText,visible:p,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{className:"input","data-sentry-element":"Row","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"textarea",rows:2,maxLength:tg.H.quoteSubordinate,value:y.props.subordinateText,onFocus:()=>m(!0),onBlur:()=>m(!1),onChange:e=>s({...y,props:{...y.props,subordinateText:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:t.alignment}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:(0,a.jsx)(iq,{alignment:y.props.textAlignment,onAlignmentSelected:e=>{(0,ed.$s)(i,ew.o.designer.sections.scheduling.textAlignmentChange),s({...y,props:{...y.props,textAlignment:e}})},"data-sentry-element":"TextAlignmentSelector","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})})]}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:"justify-content-between align-items-center","data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:[(0,a.jsxs)("span",{children:[" ",t.linkLabel]}),(0,a.jsx)(th,{className:"pe-3",maxLimit:tg.H.buttonLabels,currentText:y.props.linkLabel,visible:u,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})]}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"SchedulingTextPropertySection.tsx",children:(0,a.jsx)(tf.g,{value:y.props.linkLabel,maxLength:tg.H.buttonLabels,onFocus:()=>g(!0),onBlur:()=>g(!1),onChange:e=>s({...y,props:{...y.props,linkLabel:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})})]}),(0,a.jsx)(n2,{selectedButtonStyle:(null==(e=x.buttonStyleProperties)?void 0:e.buttonStyle)||N.ButtonStyle.Solid,onButtonStyleChanged:e=>s({...y,props:{...y.props,buttonStyleProperties:{...y.props.buttonStyleProperties||{},buttonStyle:e}}}),"data-sentry-element":"ButtonStyleSelectionDropdown","data-sentry-source-file":"SchedulingTextPropertySection.tsx"})]})}let mh={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row:not(:first-child)":{marginTop:"".concat(u.Spacing.Large,"px")},".input:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px")}}}))};function mC(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(my,{"data-sentry-element":"SchedulingLinkPropertySection","data-sentry-source-file":"SchedulingSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"SchedulingSectionProperties.tsx"}),(0,a.jsx)(mx,{"data-sentry-element":"SchedulingTextPropertySection","data-sentry-source-file":"SchedulingSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"SchedulingSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.scheduling.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}}
1,"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"SchedulingSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"SchedulingSectionProperties.tsx"})]})}function mf(){return(0,a.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AutoCornerEdge","data-sentry-source-file":"AutoCornerEdge.tsx",children:[(0,a.jsx)("path",{transform:"translate(3 3)",fillRule:"evenodd",clipRule:"evenodd",d:"M13 2C6.92487 2 2 6.92487 2 13V14H0V13C0 5.8203 5.8203 0 13 0H14V2H13Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"AutoCornerEdge.tsx"}),(0,a.jsx)("path",{transform:"translate(10 9)",d:"M6.03223 0.75L6.27734 1.73242C6.36983 2.10192 6.64011 2.37686 6.96289 2.50098C7.33327 2.64326 7.67661 2.84261 7.98047 3.08887C8.24962 3.30693 8.62291 3.40363 8.98926 3.29883L9.96289 3.01953L10.3799 3.74023L9.65137 4.44434C9.37774 4.70891 9.27448 5.08033 9.32813 5.42188C9.35812 5.61299 9.37401 5.8093 9.37402 6.00977C9.37402 6.11002 9.36996 6.20957 9.3623 6.30762L9.32813 6.59863C9.27447 6.94019 9.37775 7.31161 9.65137 7.57617L10.3799 8.2793L9.96289 9L8.98926 8.72168L8.85156 8.69141C8.5768 8.64958 8.30603 8.71572 8.08594 8.85547L7.98047 8.93164C7.75247 9.11642 7.50235 9.27463 7.23535 9.40234L6.96289 9.51953C6.68035 9.62821 6.43823 9.85224 6.32031 10.1543L6.27832 10.2881L6.0332 11.2705H5.2002L4.95508 10.2881L4.91211 10.1543C4.79417 9.85223 4.55208 9.62819 4.26953 9.51953C3.99182 9.41285 3.72915 9.27404 3.4873 9.10742L3.25293 8.93164L3.14648 8.85547C2.88971 8.69246 2.5637 8.62999 2.24316 8.72168L1.26855 9L0.851563 8.2793L1.58105 7.5752C1.85449 7.31065 1.95793 6.94008 1.9043 6.59863C1.87425 6.40732 1.8584 6.21046 1.8584 6.00977C1.85842 5.80912 1.87425 5.61217 1.9043 5.4209C1.9578 5.07947 1.85456 4.70879 1.58105 4.44434L0.851563 3.74023L1.26855 3.01953L2.24316 3.29883C2.60957 3.40364 2.98377 3.307 3.25293 3.08887C3.55668 2.84276 3.89932 2.6432 4.26953 2.50098C4.59233 2.37687 4.86259 2.10193 4.95508 1.73242L5.20117 0.75H6.03223ZM5.61621 2.88574C3.89092 2.88575 2.49236 4.28451 2.49219 6.00977C2.49219 7.73516 3.89081 9.13378 5.61621 9.13379C7.34162 9.13379 8.74023 7.73517 8.74023 6.00977C8.74007 4.2845 7.34151 2.88574 5.61621 2.88574Z",stroke:"#5B5B66",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"AutoCornerEdge.tsx"})]})}function mS(){return(0,a.jsx)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"OvalEdge","data-sentry-source-file":"OvalEdge.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2497 4.66667C8.19959 4.66667 4.91634 7.94991 4.91634 12V12.6667H3.58301V12C3.58301 7.21353 7.46321 3.33333 12.2497 3.33333H12.9163V4.66667H12.2497Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"OvalEdge.tsx"})})}function mv(){return(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"RoundedEdge","data-sentry-source-file":"RoundedEdge.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16699 10.8334C4.16699 7.15146 7.15176 4.16669 10.8337 4.16669H15.8337V5.83335H10.8337C8.07223 5.83335 5.83366 8.07193 5.83366 10.8334V15.8334H4.16699V10.8334Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"RoundedEdge.tsx"})})}function mb(){return(0,a.jsx)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SoftenedEdge","data-sentry-source-file":"SoftenedEdge.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.08301 4.66667C6.61025 4.66667 5.41634 5.86057 5.41634 7.33333V12.6667H4.08301V7.33333C4.08301 5.12419 5.87387 3.33333 8.08301 3.33333H13.4163V4.66667H8.08301Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SoftenedEdge.tsx"})})}function mj(){return(0,a.jsx)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SquareEdge","data-sentry-source-file":"SquareEdge.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.58301 3.33333H12.9163V4.66667H4.91634V12.6667H3.58301V3.33333Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SquareEdge.tsx"})})}let mw="Auto",mL=[mw,N.CornerStyle.Square,N.CornerStyle.Softened,N.CornerStyle.Rounded,N.CornerStyle.Oval];function mk(e){let{autoLabel:t,values:n=mL,...o}=e,r={[mw]:(0,a.jsx)(mf,{}),[N.CornerStyle.Square]:(0,a.jsx)(mj,{}),[N.CornerStyle.Softened]:(0,a.jsx)(mb,{}),[N.CornerStyle.Rounded]:(0,a.jsx)(mv,{}
1),[N.CornerStyle.Oval]:(0,a.jsx)(mS,{})};return(0,a.jsx)(nT.V,{...o,values:n,itemTemplate:e=>{let n=e||mw;return(0,a.jsxs)("div",{className:mM.container,children:[(0,a.jsx)("div",{className:"icon",children:r[n]}),(0,a.jsx)("div",{className:"text",children:n===mw?t:N.CornerStyle[n]})]},n)},"data-sentry-element":"DropdownSelector","data-sentry-component":"CardCornerDropdown","data-sentry-source-file":"CardCornerDropdown.tsx"})}let mM={container:"".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flexDirection:"row",color:d.Colors.Subdued,$nest:{".icon > svg":{width:d.Spacing.Medium+d.Spacing.Small,height:d.Spacing.Medium+d.Spacing.Small,marginRight:d.Spacing.Small},".text":{marginRight:d.Spacing.Small}}}))},mP=ew.o.designer.sections.services,mN=[N.BorderThickness.xSmall,N.BorderThickness.Small,N.BorderThickness.Medium,N.BorderThickness.Large];function mD(){var e;let t=c.D.views.designer.components.properties.sections.services.serviceCardsPropertySection,{designerSettings:n,updateWebsiteSection:o,resolvedTheme:r}=(0,j.Hb)(),s=n.selectedSection,{props:i}=s,l=null!=(e=i.showCards)&&e,d=(0,W.getSectionTokens)(i.themeColor,i.sectionThemeMode,r);function p(e){o({...s,props:{...i,...e}})}return(0,a.jsx)(sP,{title:t.title,rightTitleContent:(0,a.jsx)(iv.A,{switch:!0,className:"m-0",children:(0,a.jsx)(tf.g,{type:"switch",checked:l,onChange:e=>{var t;p({showCards:t=e.target.checked}),(0,W.sendEventToGoogleAnalytics)(mP.layoutChange,{layout:t?"card":"flat"})}})}),"data-sentry-element":"PropertySection","data-sentry-component":"ServiceCardsPropertySection","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:l&&(0,a.jsxs)(w.A,{className:mB.container,children:[(0,a.jsx)(mI,{title:t.cardCorner,autoLabel:t.auto,cornerStyle:i.cardCornerStyle,onChange:e=>p({cardCornerStyle:e})}),(0,a.jsx)(mT,{border:i.cardBorder,borderColorLabel:t.borderColor,borderLabel:t.border,sectionTokens:d,onChange:e=>p({cardBorder:e})})]})})}function mI(e){let{title:t,autoLabel:n,cornerStyle:o,onChange:r}=e;return(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-component":"CardCornerRow","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:t}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:(0,a.jsx)(mk,{autoLabel:n,selectedValue:null!=o?o:mw,onValueChanged:e=>{r(e===mw?void 0:e),(0,W.sendEventToGoogleAnalytics)(mP.cardCornerChange,{corner:e})},"data-sentry-element":"CardCornerDropdown","data-sentry-source-file":"ServiceCardsPropertySection.tsx"})})]})}function mT(e){var t;let{border:n,borderLabel:o,borderColorLabel:r,sectionTokens:s,onChange:i}=e,{resolvedTheme:l}=(0,j.Hb)(),c=null!=(t=null==n?void 0:n.borderThickness)?t:N.BorderThickness.xSmall;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:o}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:(0,a.jsx)(df,{values:mN,selectedValue:c,onValueChanged:e=>{"none"!==e&&i({...n,border:N.Border.All,borderThickness:e})},"data-sentry-element":"CombinedBorderDropdown","data-sentry-source-file":"ServiceCardsPropertySection.tsx"})})]}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:r}),(0,a.jsx)(k.A,{className:mB.rightAlign,"data-sentry-element":"Col","data-sentry-source-file":"ServiceCardsPropertySection.tsx",children:(0,a.jsx)(c9,{ariaLabel:r,rampMap:l.rampMap,selectedValue:(null==n?void 0:n.borderColor)||(null==s?void 0:s["section.border-strong"])||(0,E.getBorderColorToken)(),onValueChanged:e=>{i({...n,border:N.Border.All,borderColor:e}),(0,W.sendEventToGoogleAnalytics)(mP.cardBorderColorChange,{color:(0,E.formatRampTokenLabel)(e)})},"data-sentry-element":"BorderColorDropdown","data-sentry-source-file":"ServiceCardsPropertySection.tsx"})})]})]})}let mB={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"}}})),rightAlign:(0,o.style)({display:"flex",justifyContent:"flex-end"})};function mA(){let e=c.D.views.designer.components.properties.sections.services.serviceItemsComponentsPropertySection,{designerSettings:t}=(0,j.Hb)(),n=t.selectedSection.props;return(0,a.jsx)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"ServiceItemsComponentsPropertySection","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx",children:(0,a.jsx)(w.A,{className:mF.container,"data-sentry-element":"Container","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx",children:(0,a.jsxs)("div",{className:mF.checkboxRow,children:[(0,a.jsx)(mH,{name:"image",title:e.image,isChecked:n.showImage,disabled:!n.showParagraph&&!n.showHeading,onChange:(e,t)=>
1({...e,showImage:t}),"data-sentry-element":"ServiceElementCheckbox","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx"}),(0,a.jsx)(mH,{name:"heading",title:e.heading,isChecked:n.showHeading,disabled:!n.showImage&&!n.showParagraph,onChange:(e,t)=>({...e,showHeading:t}),"data-sentry-element":"ServiceElementCheckbox","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx"}),(0,a.jsx)(mH,{name:"paragraph",title:e.paragraph,isChecked:n.showParagraph,disabled:!n.showImage&&!n.showHeading,onChange:(e,t)=>({...e,showParagraph:t}),"data-sentry-element":"ServiceElementCheckbox","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx"})]})})})}function mH(e){let{name:t,title:n,isChecked:o,disabled:r,onChange:s}=e,{designerSettings:i,updateWebsiteSection:l}=(0,j.Hb)(),c=i.selectedSection,d=c.props,p="service-element-".concat(t,"-checkbox");return(0,a.jsxs)("div",{className:mF.checkboxItem,"data-sentry-component":"ServiceElementCheckbox","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx",children:[(0,a.jsx)(eG.T,{allowDefault:!0,eventName:ew.o.designer.sections.services.itemOptionChange,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx",children:(0,a.jsx)(tf.g,{id:p,type:"checkbox",checked:o,"aria-label":n,disabled:r,onChange:e=>{l({...c,props:s(d,e.target.checked)})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ServiceItemsComponentsPropertySection.tsx"})}),(0,a.jsx)("label",{className:mF.checkboxLabel,htmlFor:p,children:n})]})}let mF={container:u.ContainerStyles.NoSpacing,checkboxRow:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:16,flexWrap:"wrap"}),checkboxItem:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:8}),checkboxLabel:(0,o.style)({fontSize:13,fontWeight:400,lineHeight:"1.38em",color:u.StandardColors.ColorDarkGray50,marginBottom:0,cursor:"pointer"})};function mR(e){let{onServiceChanged:t,service:n,...o}=e,s=c.D.views.designer.components.properties.sections.services.serviceItemComposeDialog,[i,l]=(0,r.useState)(n),[p,m]=(0,r.useState)(!1),[g,y]=(0,r.useState)(!1),[x,h]=(0,r.useState)(!1),[C,f]=(0,r.useState)(!1),{websiteSettings:S,setCurrentService:v,currentService:b}=(0,j.Hb)(),M=S.pages.some(e=>e.pageType===N.PageType.Blog);(0,r.useEffect)(()=>(v(i),()=>v(void 0)),[v,i.id]),(0,r.useEffect)(()=>{b&&b.id===i.id&&l(b)},[b,i.id]);let P=i.pricing||"<p></p>";return(0,a.jsx)(iA,{title:s.title,image:i.image,imageKeywords:i.imageKeywords,canDismiss:!nF(i.title),onImageEditingComplete:e=>{i.image=e,t(i)},onImageSelected:(e,n)=>{let a={...i,image:e,...void 0!==n&&{userKeywords:n}};l(a),t(a)},initialModeOverride:(0,N.isEmptyImage)(i.image)?N.ImageSelectionMode.Unsplash:void 0,imageChangeEventName:ew.o.designer.sections.services.changeServiceItemImage,...o,"data-sentry-element":"ImageEditingDialog","data-sentry-component":"ServiceItemComposeDialog","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:[(0,a.jsxs)(L.A,{className:"mt-2 mb-2","data-sentry-element":"Row","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:s.heading}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.sectionHeading,currentText:i.title,visible:g,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ServiceItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:i.title,maxLength:tg.H.sectionHeading,onFocus:()=>y(!0),onBlur:()=>y(!1),onChange:e=>{l({...i,title:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"ServiceItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2","data-sentry-element":"Row","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:s.pricing}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.servicesPricing,currentText:(0,W.sanitizeHtml)(P,{allowedTags:[]}),visible:C,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ServiceItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(rT,{customEditorStyle:{minHeight:u.Spacing.xLarge},enableBullets:!1,htmlContent:P,characterCountLimit:tg.H.servicesPricing,onFocus:()=>f(!0),onBlur:()=>f(!1),onUpdateHtml:e=>l({...i,pricing:e}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"ServiceItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2","data-sentry-element":"Row","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:s.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.servicesBody,currentText:(0,W.sanitizeHtml)(i.body,{allowedTags:[]}),visible:x,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"ServiceItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(rT,{htmlContent:i.body,characterCountLimit:tg.H.servicesBody,onFocus:()=>h(!0),onBlur:()=>h(!1),onUpdateHtml:e=>l({...i,body:e}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"ServiceItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2 align-items-center","data-sentry-element":"Row","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{children:s.button}),(0,a.jsx)("div",{className:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued),children:i.link?'"'.concat(i.link.label,'"'):s.addButton})]})}),i.link?(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)(G.A,{className:mV.editLabel,onClick:()=>m(!0),children:s.edit})}):null,(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(iv.A,{switch:!0,"data-sentry-element":"FormGroup","data-sentry-source-file":"ServiceItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:!!i.link||p,onChange:e=>{if(e.currentTarget.checked)n.link||m(!0),l({...i,link:n.link});else{let{link:e,...t}=i;l(t)}},"data-sentry-element":"SoloInput","data-sentry-source-file":"ServiceItemComposeDialog.tsx"})})})]}),p&&(0,a.jsx)(n9,{title:s.linkModalTitle,labelCharLimit:tg.H.buttonLabels,isOpen:p,onClosed:()=>m(!1),link:i.link||{type:N.LinkType.None,label:""},onLinkChanged:e=>{if(e&&e.type!==N.LinkType.None)l({...i,link:e});else{let{link:e,...t}=i;l(t)}},supportedLinkTypes:[N.LinkType.Section,...M?[N.LinkType.Blog]:[],N.LinkType.Web,N.LinkType.Email,N.LinkType.Phone],availableSections:S.sections,buttonStyle:i.buttonStyleProperties?i.buttonStyleProperties.buttonStyle:N.ButtonStyle.Solid,onButtonStyleChanged:e=>{l({...i,buttonStyleProperties:{...i.buttonStyleProperties,buttonStyle:e}})}})]})})}let mV={editLabel:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginRight:u.Spacing.Large}))};function mW(){let e=c.D.views.designer.components.properties.sections.services.serviceItemsPro
1pertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),{analytics:o}=(0,eL.S)(),[s,i]=(0,r.useState)(null),l=t.selectedSection,d=l.props,p=tg.H.maxServicesItems-d.services.length;return(0,a.jsx)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"ServiceItemsPropertySection","data-sentry-source-file":"ServiceItemsPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:mZ.container,"data-sentry-element":"Container","data-sentry-source-file":"ServiceItemsPropertySection.tsx",children:[(0,a.jsx)(l5,{items:d.services.map(e=>e.id),onDragEnd:function(e){let{active:t,over:a}=e;if(!a||t.id===a.id)return;let r=d.services.findIndex(e=>e.id===t.id),s=d.services.findIndex(e=>e.id===a.id),i=(0,l1.be)(d.services,r,s);d.services.splice(0,d.services.length,...i),n(l),(0,ed.$s)(o,ew.o.designer.sections.services.reorderServiceItem)},"data-sentry-element":"SortableList","data-sentry-source-file":"ServiceItemsPropertySection.tsx",children:(0,a.jsx)("div",{children:d.services.map(e=>(0,a.jsx)(l3,{id:e.id,children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(mE,{dragHandleProps:n,isDragging:o,service:e,setIsEditing:()=>{i(e),requestAnimationFrame(()=>{let t=Array.from(document.querySelectorAll('[data-service-id="'.concat(CSS.escape(e.id),'"]'))).find(e=>!e.closest("[data-carousel-clone]"));null==t||t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})})}})})})}},e.id))})}),(0,a.jsxs)("div",{className:mZ.addSection,children:[(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.services.addServiceItemClicked,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ServiceItemsPropertySection.tsx",children:(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:mZ.addButton,onClick:function(){d.hiddenServices.length?(d.services.push(d.hiddenServices.pop()),n(l)):i({id:(0,au.bz)(),title:"",body:"<p></p>",image:N.EmptyImage,imageKeywords:""})},disabled:p<=0,"data-sentry-element":"ImageLink","data-sentry-source-file":"ServiceItemsPropertySection.tsx",children:e.addFeature})}),(0,a.jsx)(sf,{className:mZ.remainingLinkTag,remainingItems:p,singularMessage:e.addServiceFormat.replace("{count}",p.toString()),pluralMessage:e.addServiceFormat.replace("{count}",p.toString()),"data-sentry-element":"RemainingItemsTag","data-sentry-source-file":"ServiceItemsPropertySection.tsx"})]}),!!s&&(0,a.jsx)(mR,{aspectRatio:(0,u.getAspectRatio)(d.imageStyle.frame),isOpen:!!s,onClosed:()=>{i(null)},service:s,onServiceChanged:function(e){let t=d.services.findIndex(t=>t.id===e.id);-1===t?d.services.push(e):d.services.splice(t,1,e),n({...l})}})]})})}function mE(e){let{dragHandleProps:t,isDragging:n,service:o,setIsEditing:r}=e,{designerSettings:s,updateWebsiteSection:i}=(0,j.Hb)(),l=s.selectedSection,c=l.props;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(dB,{deleteEnabled:c.services.length>1,description:o.body,eventNames:{deleteEventName:ew.o.designer.sections.services.deleteServiceItem,editEventName:ew.o.designer.sections.services.editServiceItem},image:o.image,imageKeywords:o.imageKeywords,imageSelectionInitialModeOverride:N.ImageSelectionMode.Unsplash,onDeleteClicked:()=>{let e=c.services.filter(e=>e!==o);i({...l,props:{...c,services:e,hiddenServices:[...c.hiddenServices,o]}})},onEditClicked:()=>r(),onImageChanged:e=>{o.image=e,i({...l})},title:o.title,dragHandleProps:t,isDragging:n,"data-sentry-element":"ThumbnailListViewItem","data-sentry-source-file":"ServiceItemsPropertySection.tsx"})})}let mZ={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Micro+u.Spacing.xSmall})),addButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({$nest:{".icon svg":{width:20,height:20}}})),addSection:"d-flex flex-row align-items-end",remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4})};function mG(){let{designerSettings:e,updateWebsiteSection:t}=(0,j.Hb)(),{analytics:n}=(0,eL.S)(),o=e.selectedSection,r=o.props.textAlignment,s=c.D.views.designer.components.properties.sections.services.serviceItemsTextPropertySection;return(0,a.jsx)(sP,{title:s.title,rightTitleContent:(0,a.jsx)(iq,{alignment:r,onAlignmentSelected:e=>{t({...o,props:{...o.props,textAlignment:e}}),(0,ed.$s)(n,ew.o.designer.sections.services.textAlignmentChange)}}),"data-sentry-element":"PropertySection","data-sentry-component":"ServiceItemsTextPropertySection","data-sentry-source-file":"ServiceItemsTextPropertySection.tsx"})}let mO={sidebar:{[N.ServicesLayout.Grid]:"/img/services-grid-layout.png",[N.ServicesLayout.Carousel]:"/img/services-carousel-layout.png"},panel:{[N.ServicesLayout.Grid]:"/img/services-grid-layout-panel.png",[N.ServicesLayout.Carousel]:"/img/services-carousel-layout-panel.png"}};function mz(e){let{layout:t,variant:n="sidebar"}=e;return(0,a.jsx)("img",{src:mO[n][t],alt:"".concat(t," layout preview"),draggable:!1,style:{display:"block",width:"100%",height:"auto",userSelect:"none",pointerEvents:"none"},"data-sentry-component":"ServicesLayoutIllustration","data-sentry-source-file":"ServicesLayoutIllustration.tsx"})}function m$(e){let{isOpen:t,selectedLayout:n,onSelect:o,onClose:r}=e,s=c.D.views.designer.components.properties.sections.services.servicesLayoutPropertySection;return t?(0,a.jsx)(dK,{title:s.dialogTitle,closeButtonLabel:"Close",onClose:r,showHeaderDivider:!0,"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"ServicesLayoutDialog","data-sentry-source-file":"ServicesLayoutDialog.tsx",children:(0,a.jsxs)("div",{className:m_.body,children:[(0,a.jsx)(mU,{layout:N.ServicesLayout.Grid,label:s.grid,selected:n===N.ServicesLayout.Grid,onSelect:o,"data-sentry-element":"LayoutOption","data-sentry-source-file":"ServicesLayoutDialog.tsx"}),(0,a.jsx)(mU,{layout:N.ServicesLayout.Carousel,label:s.carousel,selected:n===N.ServicesLayout.Carousel,onSelect:o,"data-sentry-element":"LayoutOption","data-sentry-source-file":"ServicesLayoutDialog.tsx"})]})}):null}function mU(e){let{layout:t,label:n,selected:o,onSelect:r}=e;return(0,a.jsxs)("button",{type:"button","aria-pressed":o,className:m_.option,onClick:()=>r(t),"data-sentry-component":"LayoutOption","data-sentry-source-file":"ServicesLayoutDialog.tsx",children:[(0,a.jsx)("div",{className:"".concat(m_.iconWrapper," ").concat(o?m_.selected:""),children:(0,a.jsx)(mz,{layout:t,variant:"panel","data-sentry-element":"ServicesLayoutIllustration","data-sentry-source-file":"ServicesLayoutDialog.tsx"})}),(0,a.jsx)("span",{className:m_.optionLabel,children:n})]})}let m_={body:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.Large,paddingInline:u.Spacing.xLarge,paddingTop:u.Spacing.Large,paddingBottom:u.Spacing.xLarge}),option:(0,o.style)({display:"flex",flexDirection:"column",alignItems:"center",gap:u.Spacing.xSmall,border:"none",background:"none",padding:0,cursor:"pointer"}),iconWrapper:(0,o.style)({borderRadius:4,lineHeight:0,position:"relative"}),selected:(0,o.style)({boxShadow:"0 0 0 1px #FFF, 0 0 0 3px #5B5B66"}),optionLabel:(0,o.style)({fontSize:11,lineHeight:"16px",color:d.Colors.Subdued})};function mq(){let e=c.D.views.designer.components.properties.sections.services.servicesLayoutPropertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),o=t.selectedSection,s=o.props.layout||N.ServicesLayout.Grid,[i,l]=(0,r.useState)(!1);return(0,a.jsxs)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"ServicesLayoutPropertySection","data-sentry-source-file":"ServicesLayoutPropertySection.tsx",children:[(0,a.jsxs)(w.A,{className:mQ.container,"data-sentry-element":"Container","data-sentry-source-file":"ServicesLayoutPropertySection.tsx",children:[(0,a.jsxs)(L.A,{className:"align-items-center","data-sentry-element":"Row","data-sentry-source-file":"ServicesLayoutPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.SemiBold,"data-sentry-element":"Col","data-sentry-source-file":"ServicesLayoutPropertySection.tsx",children:e.title}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"ServicesLayoutPropertySection.tsx",children:(0,a.jsx)("button",{type:"button",className:mQ.changeLayout,onClick:()=>l(!0),children:e.changeLayout})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ServicesLayoutPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ServicesLayoutPropertySection.tsx",children:(0,a.jsx)("button",{type:"button",className:mQ.preview,"aria-label":e.changeLayout,onClick:()=>l(!0),children:(0,a.jsx)(mz,{layout:s,"data-sentry-element":"ServicesLayoutIllustration","data-sentry-source-file":"ServicesLayoutPropertySection.tsx"})})})})]}),(0,a.jsx)(m$,{isOpen:i,selectedLayout:s,onSelect:function(e){if(e!==s){let{analytics:t}=(0,eL.S)();(0,ed.$s)(t,ew.o.designer.sections.services.layoutChange,{layout:e}),n({...o,props:{...o.props,layout:e}})}},onClose:()=>l(!1),"data-sentry-element":"ServicesLayoutDialog","data-sentry-source-file":"ServicesLayoutPropertySection.tsx"})]})}let mQ={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row:not(:first-child)":{marginTop:"".concat(u.Spacing.Medium,"px !important")}}})),changeLayout:(0,o.style)({border:"none",background:"none",padding:0,cursor:"pointer",color:d.Colors.Primary,fontWeight:600,$nest:{"&:hover, &:active":{color:u.StandardColors.ColorDarkGray90}}}),preview:(0,o.style)({display:"block",width:"100%",border:"none",background:"none",padding:0,cursor:"pointer"})};function mK(){var e;let{designerSettings:t,updateWebsiteSection:n,resolvedTheme:o}=(0,j.Hb)(),r=t.selectedSection,s=(0,W.getSectionTokens)(r.props.themeColor,r.props.sectionThemeMode,o),i=c.D.views.designer.components.properties.sections.services;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l_,{value:r.props.title,onChange:e=>{n({...r,props:{...r.props,title:e.target.value}})},"data-sentry-element":"HeadingPropertySection","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(mq,{"data-sentry-element":"ServicesLayoutPropertySection","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(mA,{"data-sentry-element":"ServiceItemsComponentsPropertySection","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"}
1),(0,a.jsx)(mW,{"data-sentry-element":"ServiceItemsPropertySection","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"}),r.props.showImage&&(0,a.jsx)(dv,{value:{...e=r.props.imageStyle,border:e.border!==N.Border.None?N.Border.All:N.Border.None},strings:i.serviceItemsImagesPropertySection,analyticsEvents:ew.o.designer.sections.services,onChange:e=>{let t={...r.props,imageStyle:e};r.props.imageStyle.frame!==e.frame&&(t.services=r.props.services.map(e=>{let{image:t,...n}=e,{effects:a,...o}=t;return{...n,image:o}})),n({...r,props:t})},borderValues:[N.Border.None,N.Border.All],combinedBorderControl:!0,rampBorderColor:!0,sectionTokens:s,wideRowSpacing:!0,borderAnalyticsSectionType:"services"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(mD,{"data-sentry-element":"ServiceCardsPropertySection","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(mG,{"data-sentry-element":"ServiceItemsTextPropertySection","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.services.backgroundChange,resolvedTheme:o,themeColor:r.props.themeColor,selectedValue:r.props.sectionThemeMode,onValueChanged:e=>{n({...r,props:{...r.props,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"ServicesSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ServicesSectionProperties.tsx"})]})}function mY(){let e=c.D.views.designer.components.properties.headingPropertySection.heading,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),[o,s]=(0,r.useState)(!1),i=t.selectedSection;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"TeamHeadingPropertySection","data-sentry-source-file":"TeamHeadingPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:mX.container,"data-sentry-element":"Container","data-sentry-source-file":"TeamHeadingPropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"TeamHeadingPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamHeadingPropertySection.tsx",children:e}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"TeamHeadingPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.teamHeading,currentText:i.props.title,visible:o,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"TeamHeadingPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"TeamHeadingPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamHeadingPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",maxLength:tg.H.teamHeading,value:i.props.title,onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:e=>n({...i,props:{...i.props,title:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"TeamHeadingPropertySection.tsx"})})})]})})}let mX={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{$nest:{"&:not(:first-child)":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"}}}}}))};var mJ=n(1195);function m1(e){var t;let{onMemberChanged:n,member:o,...s}=e,i=c.D.views.designer.components.properties.sections.team.teamMemberComposeDialog,[l,d]=(0,r.useState)(o),[p,m]=(0,r.useState)(!1),[g,y]=(0,r.useState)(!1),[x,h]=(0,r.useState)(!1),C=!nF(l.name)||l.image&&l.image!==N.EmptyPersonImage,f=ew.o.designer.sections.team,S=!!(null==l||null==(t=l.socialMediaLinks)?void 0:t.length);return(0,a.jsx)(iA,{title:i.title,image:l.image,imageKeywords:"",canDismiss:C,onImageEditingComplete:e=>{l.image=e,n(l)},onImageSelected:e=>{d({...l,image:e})},initialModeOverride:N.ImageSelectionMode.MyImages,imageChangeEventName:f.changeTeamMemberImage,...s,"data-sentry-element":"ImageEditingDialog","data-sentry-component":"TeamMemberComposeDialog","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:[(0,a.jsxs)(L.A,{className:"mt-2 mb-2","data-sentry-element":"Row","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:i.name}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.teamNameMaxLimit,currentText:l.name,visible:x,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"TeamMemberComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:l.name,maxLength:tg.H.teamNameMaxLimit,onFocus:()=>h(!0),onBlur:()=>h(!1),onChange:e=>{d({...l,name:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"TeamMemberComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2","data-sentry-element":"Row","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:i.jobTitle}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.teamTitleMaxLimit,currentText:(0,W.sanitizeHtml)(l.title||"",{allowedTags:[]}),visible:p,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"TeamMemberComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(rT,{customEditorStyle:{minHeight:u.Spacing.xxxLarge},htmlContent:l.title||"<p></p>",characterCountLimit:tg.H.teamTitleMaxLimit,onFocus:()=>m(!0),onBlur:()=>m(!1),enableBullets:!1,enableLinks:!1,onUpdateHtml:e=>d({...l,title:e}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"TeamMemberComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2","data-sentry-element":"Row","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:i.description}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.teamDescriptionMaxLimit,currentText:(0,W.sanitizeHtml)(l.description,{allowedTags:[]}),visible:g,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"TeamMemberComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(rT,{htmlContent:l.description,characterCountLimit:tg.H.teamDescriptionMaxLimit,onFocus:()=>y(!0),onBlur:()=>y(!1),onUpdateHtml:e=>d({...l,description:e}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"TeamMemberComposeDialog.tsx"})})}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"TeamMemberComposeDialog.tsx"}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"TeamMemberComposeDialog.tsx",children:(0,a.jsx)(cw,{disableAds:!0,eventNames:{edit:f.teamMemberSocialMediaLinks.edit,toggle:f.teamMemberSocialMediaLinks.edit},showSocialMediaLinks:!!l.showSocialMediaLinks,setShowSocialMediaLinks:e=>{d({...l,showSocialMediaLinks:e})},hasSavedLinks:S,socialMediaLinks:l.socialMediaLinks||[],setSocialMediaLinks:e=>{d({...l,socialMediaLinks:e})},"data-sentry-element":"SocialNetworkPropertySection","data-sentry-source-file":"TeamMemberComposeDialog.tsx"})})})]})})}function m0(){let e=c.D.views.designer.components.properties.sections.team.teamMembersListPropertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),{analytics:o}=(0,eL.S)(),[s,i]=(0,r.useState)(!1),l=(0,r.useRef)(null),d=t.selectedSection,p=d.props,m=tg.H.team.maxMembers-p.members.length,g=async()=>{l.current=(0,mJ.A)(),i(!0)};return(0,a.jsxs)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"TeamMembersListPropertySection","data-sentry-source-file":"TeamMembersListPropertySection.tsx",children:[(0,a.jsxs)(w.A,{className:m2.container,"data-sentry-element":"Container","data-sentry-source-file":"TeamMembersListPropertySection.tsx",children:[(0,a.jsx)(l5,{items:p.members.map(e=>e.id),onDragEnd:function(e){let{active:t,over:a}=e;if(!a||t.id===a.id)return;let r=p.members.findIndex(e=>e.id===t.id),s=p.members.findIndex(e=>e.id===a.id),i=(0,l1.be)(p.members,r,s);p.members.splice(0,p.members.length,...i),n(d),(0,ed.$s)(o,ew.o.designer.sections.team.reorderTeamMemberItem)},"data-sentry-element":"SortableList","data-sentry-source-file":"TeamMembersListPropertySection.tsx",children:(0,a.jsx)("div",{children:p.members.map(e=>(0,a.jsx)(l3,{id:e.id,children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(m3,{member:e,dragHandleProps:n,isDragging:o})})})}},e.id))})}),(0,a.jsx)("div",{className:m2.addSection,children:(0,a.jsxs)(eG.T,{eventName:ew.o.designer.sections.team.addTeamMemberItem,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"TeamMembersListPropertySection.tsx",children:[(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:m2.addButton,onClick:g,disabled:m<=0,"data-sentry-element":"ImageLink","data-sentry-source-file":"TeamMembersListPropertySection.tsx",children:e.addPerson}),(0,a.jsx)(sf,{className:m2.remainingLinkTag,remainingItems:m,singularMessage:e.addSinglePerson,pluralMessage:e.addPluralPeople.replace("{count}",m.toString()),"data-sentry-element":"RemainingItemsTag","data-sentry-source-file":"TeamMembersListPropertySection.tsx"})]})})]}),s&&l.current&&(0,a.jsx)(m1,{aspectRatio:(0,u.getAspectRatio)(p.imageStyle.frame),member:l.current,isOpen:s,onClosed:()=>{i(!1)},onMemberChanged:e=>{n({...d,props:{...p,members:[...p.members,e]}}),i(!1)}})]})}function m3(e){let{member:t,dragHandleProps:n,isDragging:o}=e,{designerSettings:s,updateWebsiteSection:i}=(0,j.Hb)(),l=s.selectedSection,c=l.props,[d,p]=(0,r.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(dB,{deleteEnabled:c.members.length>1,description:t.title||"",eventNames:{deleteEventName:ew.o.designer.sections.team.deleteTeamMember,editEventName:ew.o.designer.sections.team.editTeamMember},image:t.image,imageKeywords:"team member",imageSelectionInitialModeOverride:N.ImageSelectionMode.MyImages,onDeleteClicked:()=>{let e=c.members.filter(e=>e!==t);i({...l,props:{...c,members:e}})},onEditClicked:()=>p(!0),onImageChanged:e=>{t.image=e,i({...l})},title:t.name,dragHandleProps:n,isDragging:o,"data-sentry-element":"Thumbn
1ailListViewItem","data-sentry-source-file":"TeamMembersListPropertySection.tsx"}),d&&(0,a.jsx)(m1,{aspectRatio:(0,u.getAspectRatio)(c.imageStyle.frame),isOpen:d,onClosed:()=>p(!1),member:t,onMemberChanged:e=>{c.members.splice(c.members.indexOf(t),1,e),i({...l})}})]})}let m2={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Micro+u.Spacing.xSmall})),addButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({$nest:{".icon svg":{width:20,height:20}}})),addSection:"d-flex flex-row align-items-end",remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4})};function m6(){let e=c.D.views.designer.components.properties.sections.team.textAlignmentPropertySection,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),{analytics:o}=(0,eL.S)(),r=t.selectedSection;return(0,a.jsxs)(L.A,{className:m5.container,"data-sentry-element":"Row","data-sentry-component":"TeamTextAlignmentPropertySection","data-sentry-source-file":"TeamTextAlignmentPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.Regular,"data-sentry-element":"Col","data-sentry-source-file":"TeamTextAlignmentPropertySection.tsx",children:e.title}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"TeamTextAlignmentPropertySection.tsx",children:(0,a.jsx)(iq,{alignment:r.props.textAlignment,onAlignmentSelected:e=>{(0,ed.$s)(o,ew.o.designer.sections.team.textAlignmentChange),n({...r,props:{...r.props,textAlignment:e}})},"data-sentry-element":"TextAlignmentSelector","data-sentry-source-file":"TeamTextAlignmentPropertySection.tsx"})})]})}let m5={container:(0,o.style)({paddingTop:u.Spacing.Small})};function m4(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection,r=(0,W.getSectionTokens)(o.props.themeColor,o.props.sectionThemeMode,n),s=c.D.views.designer.components.properties.sections.team;return(0,a.jsxs)(w.A,{className:m7.container,"data-sentry-element":"Container","data-sentry-component":"TeamSectionProperties","data-sentry-source-file":"TeamSectionProperties.tsx",children:[(0,a.jsx)(mY,{"data-sentry-element":"TeamHeadingPropertySection","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(m0,{"data-sentry-element":"TeamMembersListPropertySection","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(m6,{"data-sentry-element":"TeamTextAlignmentPropertySection","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(dv,{value:o.props.imageStyle,strings:s.imageOptionsPropertySection,analyticsEvents:ew.o.designer.sections.team,borderValues:[N.Border.None,N.Border.All],onChange:e=>{let n={...o.props,imageStyle:e};o.props.imageStyle.frame!==e.frame&&(n.members=o.props.members.map(e=>{let{image:t,...n}=e,{effects:a,...o}=t;return{...n,image:o}})),t({...o,props:n})},combinedBorderControl:!0,rampBorderColor:!0,sectionTokens:r,borderAnalyticsSectionType:"team","data-sentry-element":"ImageOptionsPropertySection","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"TeamSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.team.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"TeamSectionProperties.tsx"})]})}let m7={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"}}}))};function m9(){let e=c.D.views.designer.components.properties.headingPropertySection.heading,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),o=t.selectedSection,[s,i]=(0,r.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.A,{className:"mb-2","data-sentry-element":"Row","data-sentry-source-file":"VideoHeadingPropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"VideoHeadingPropertySection.tsx",children:e}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"VideoHeadingPropertySection.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.video.videoHeading,currentText:o.props.title,visible:s,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"VideoHeadingPropertySection.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"VideoHeadingPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"VideoHeadingPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",maxLength:tg.H.video.videoHeading,value:o.props.title,onFocus:()=>i(!0),onBlur:()=>i(!1),onChange:e=>n({...o,props:{...o.props,title:e.target.value}}),"data-sentry-element":"SoloInput","data-sentry-source-file":"VideoHeadingPropertySection.tsx"})})})]})}var m8=n(46561);function ue(e){let{videoUrl:t,onUrlChanged:n}=e,o=c.D.views.designer.components.properties.sections.video.videoComposeDialog.linkPropertySection,s=(0,r.useMemo)(()=>(0,or.getVideoProperties)(t||""),[t]),[i,l]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),u=!nF(t)&&!s&&(i||!p);return(0,a.jsx)(sP,{title:o.title,rightTitleContent:(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.video.learnMoreClick,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>{(0,r8.V)(c.D.externalLinks.videoTutorial)},children:o.learnMore})}),className:ut.container,"data-sentry-element":"PropertySection","data-sentry-component":"VideoLinkPropertySection","data-sentry-source-file":"VideoLinkPropertySection.tsx",children:(0,a.jsxs)(w.A,{"data-sentry-element":"Container","data-sentry-source-file":"VideoLinkPropertySection.tsx",children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"VideoLinkPropertySection.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"VideoLinkPropertySection.tsx",children:(0,a.jsx)(tf.g,{autoFocus:!0,t
1ype:"text",maxLength:tg.H.externalUrl,placeholder:o.placeholder,value:t||"",invalid:u,onFocus:()=>m(!0),onBlur:()=>{m(!1),l(!0)},onChange:e=>{var t;e.preventDefault();let a=e.target.value.trim(),o=(0,t$.dS)(a),r=(0,or.getVideoProperties)(o);n(null!=(t=null==r?void 0:r.embedUrl)?t:o)},"data-sentry-element":"SoloInput","data-sentry-source-file":"VideoLinkPropertySection.tsx"})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"VideoLinkPropertySection.tsx",children:(0,a.jsx)(k.A,{className:"".concat(d.FontStyles.Subdued," ").concat(d.FontStyles.Subordinate," ").concat(u?ut.error:""),"data-sentry-element":"Col","data-sentry-source-file":"VideoLinkPropertySection.tsx",children:u?o.error:o.description})}),s&&s.thumbnailUrl&&(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{className:ut.thumbnail,style:{backgroundImage:"url(".concat(s.thumbnailUrl,")")}})})]})})}let ut={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{marginTop:"0px !important",$nest:{"&:nth-child(n + 2)":{marginTop:"".concat(u.Spacing.Small,"px !important"),alignItems:"center"},"&:first-child":{padding:"0px !important",alignItems:"center"}}},".col":{padding:"0px !important"}}})),thumbnail:(0,o.style)({width:"100%",height:202,backgroundSize:"cover",backgroundPosition:"center",marginTop:"".concat(u.Spacing.Small,"px !important")}),error:(0,o.style)({color:"".concat(u.StandardColors.ColorRed70," !important")})};function un(e){let{alignment:t,onAlignmentChanged:n}=e,o=c.D.views.designer.components.properties.sections.video.videoComposeDialog.textAlignmentPropertySection,{analytics:r}=(0,eL.S)();return(0,a.jsxs)(L.A,{className:ua.container,"data-sentry-element":"Row","data-sentry-component":"VideoTextAlignmentPropertySection","data-sentry-source-file":"VideoTextAlignmentPropertySection.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.Regular,"data-sentry-element":"Col","data-sentry-source-file":"VideoTextAlignmentPropertySection.tsx",children:o.title}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"VideoTextAlignmentPropertySection.tsx",children:(0,a.jsx)(iq,{alignment:t,onAlignmentSelected:e=>{(0,ed.$s)(r,ew.o.designer.sections.video.textAlignmentChange),n(e)},"data-sentry-element":"TextAlignmentSelector","data-sentry-source-file":"VideoTextAlignmentPropertySection.tsx"})})]})}let ua={container:(0,o.style)({alignItems:"center",paddingTop:u.Spacing.Small})};function uo(e){let{onVideoItemChanged:t,videoItem:n,...o}=e,s=c.D.views.designer.components.properties.sections.video.videoComposeDialog,[i,l]=(0,r.useState)(n),[d,p]=(0,r.useState)(!1),[m,g]=(0,r.useState)(!1),y=(0,r.useMemo)(()=>nF(i.videoUrl)||!!(0,or.getVideoProperties)(i.videoUrl),[i.videoUrl]);return(0,a.jsx)(ty.y,{title:s.title,onSave:async()=>{t(i)},canSave:y,canDismiss:!nF(i.videoUrl)||!nF(i.title)||!nR(i.description),...o,autoFocus:!1,className:"".concat(ur.dialog),"data-sentry-element":"ModalDialog","data-sentry-component":"VideoItemComposeDialog","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsxs)(w.A,{className:u.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:[(0,a.jsx)(L.A,{className:"mt-2 mb-4","data-sentry-element":"Row","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsx)(ue,{videoUrl:i.videoUrl,onUrlChanged:e=>{l({...i,videoUrl:e})},"data-sentry-element":"VideoLinkPropertySection","data-sentry-source-file":"VideoItemComposeDialog.tsx"})}),(0,a.jsxs)(L.A,{className:"mt-2 mb-2","data-sentry-element":"Row","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:s.heading}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.video.videoHeading,currentText:i.title,visible:d,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"VideoItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsx)(tf.g,{type:"text",className:"label",value:i.title,maxLength:tg.H.video.videoHeading,onFocus:()=>p(!0),onBlur:()=>p(!1),onChange:e=>{l({...i,title:e.target.value})},"data-sentry-element":"SoloInput","data-sentry-source-file":"VideoItemComposeDialog.tsx"})})}),(0,a.jsxs)(L.A,{className:"mt-4 mb-2","data-sentry-element":"Row","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:s.paragraph}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.video.maxVideoDescription,currentText:(0,W.sanitizeHtml)(i.description,{allowedTags:[]}),visible:m,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"VideoItemComposeDialog.tsx"})})]}),(0,a.jsx)(L.A,{className:"mb-2","data-sentry-element":"Row","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"VideoItemComposeDialog.tsx",children:(0,a.jsx)(rT,{htmlContent:i.description,characterCountLimit:tg.H.video.maxVideoDescription,onFocus:()=>g(!0),onBlur:()=>g(!1),onUpdateHtml:e=>l({...i,description:e}),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"VideoItemComposeDialog.tsx"})})}),(0,a.jsx)(un,{alignment:i.textAlignment,onAlignmentChanged:e=>l({...i,textAlignment:e}),"data-sentry-element":"VideoTextAlignmentPropertySection","data-sentry-source-file":"VideoItemComposeDialog.tsx"})]})})}let ur={dialog:(0,o.style)({width:440}),editLabel:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginRight:u.Spacing.Large}))};function us(){let e=c.D.views.designer.components.properties.sections.video.videoList,{designerSettings:t,updateWebsiteSection:n}=(0,j.Hb)(),{analytics:o}=(0,eL.S)(),[s,i]=(0,r.useState)(!1),l=(0,r.useRef)(null),d=t.selectedSection,p=d.props;if(!p.videos)return n({...d,props:{title:p.title,themeColor:p.themeColor,videos:[{id:"",videoUrl:p.videoUrl,description:p.description,textAlignment:p.textAlignment,t
1itle:p.title}]}}),null;let m=tg.H.video.maxVideos-p.videos.length,u=async()=>{l.current=(0,m8.E)(),i(!0)};return(0,a.jsxs)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"VideoListPropertySection","data-sentry-source-file":"VideoListPropertySection.tsx",children:[(0,a.jsxs)(w.A,{className:ul.container,"data-sentry-element":"Container","data-sentry-source-file":"VideoListPropertySection.tsx",children:[(0,a.jsx)(l5,{items:p.videos.map(e=>e.id),onDragEnd:function(e){let{active:t,over:a}=e;if(!a||t.id===a.id)return;let r=p.videos.findIndex(e=>e.id===t.id),s=p.videos.findIndex(e=>e.id===a.id),i=(0,l1.be)(p.videos,r,s);p.videos.splice(0,p.videos.length,...i),n(d),(0,ed.$s)(o,ew.o.designer.sections.video.reorderVideoItem)},"data-sentry-element":"SortableList","data-sentry-source-file":"VideoListPropertySection.tsx",children:(0,a.jsx)("div",{children:p.videos.map(e=>(0,a.jsx)(l3,{id:e.id,children:t=>{let{listeners:n,isDragging:o}=t;return(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(ui,{video:e,dragHandleProps:n,isDragging:o})})})}},e.id))})}),(0,a.jsx)("div",{className:ul.addSection,children:(0,a.jsxs)(eG.T,{eventName:ew.o.designer.sections.video.addVideoItem,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"VideoListPropertySection.tsx",children:[(0,a.jsx)(i4.y,{icon:(0,a.jsx)(sv.O,{}),className:ul.addButton,onClick:u,disabled:m<=0,"data-sentry-element":"ImageLink","data-sentry-source-file":"VideoListPropertySection.tsx",children:e.addVideo}),(0,a.jsx)(sf,{className:ul.remainingLinkTag,remainingItems:m,singularMessage:e.addSingleVideo,pluralMessage:e.addPluralVideos.replace("{count}",m.toString()),"data-sentry-element":"RemainingItemsTag","data-sentry-source-file":"VideoListPropertySection.tsx"})]})})]}),s&&l.current&&(0,a.jsx)(uo,{isOpen:s,onClosed:()=>{i(!1)},videoItem:l.current,onVideoItemChanged:e=>{n({...d,props:{...p,videos:[...p.videos,e]}}),i(!1)}})]})}function ui(e){var t;let{video:n,dragHandleProps:o,isDragging:s}=e,{designerSettings:i,updateWebsiteSection:l}=(0,j.Hb)(),p=i.selectedSection,m=p.props,[u,g]=(0,r.useState)(!1),y=null==(t=(0,or.getVideoProperties)(n.videoUrl))?void 0:t.thumbnailUrl;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(dB,{deleteEnabled:m.videos.length>1,description:n.title||"",descriptionElementOverride:n.videoUrl?(0,a.jsxs)(a.Fragment,{children:[n.description&&(0,a.jsx)("div",{className:"".concat(ul.videoDescription),children:(0,a.jsx)("span",{children:(0,E.sanitizeHtml)(n.description,{allowedTags:[]})})}),(0,a.jsx)("div",{className:"".concat(ul.videoDescription),children:(0,a.jsx)("span",{children:n.videoUrl})})]}):(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>{g(!0)},children:c.D.views.designer.components.properties.sections.video.videoList.provideLink}),eventNames:{deleteEventName:ew.o.designer.sections.video.deleteVideoItem,editEventName:ew.o.designer.sections.video.editVideoItem},image:y?{provider:N.ImageProvider.Custom,description:n.title,tags:"",urls:[{type:N.ImageType.Thumbnail,url:y}]}:N.EmptyImage,imageKeywords:"video item",imageSelectionInitialModeOverride:N.ImageSelectionMode.MyImages,onDeleteClicked:()=>{let e=m.videos.filter(e=>e!==n);l({...p,props:{...m,videos:e}})},onEditClicked:()=>g(!0),title:n.title,dragHandleProps:o,isDragging:s,"data-sentry-element":"ThumbnailListViewItem","data-sentry-source-file":"VideoListPropertySection.tsx"}),u&&(0,a.jsx)(uo,{isOpen:u,onClosed:()=>g(!1),videoItem:n,onVideoItemChanged:e=>{m.videos.splice(m.videos.indexOf(n),1,e),l({...p})}})]})}let ul={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:u.Spacing.Micro+u.Spacing.xSmall})),addButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({$nest:{".icon svg":{width:20,height:20}}})),addSection:"d-flex flex-row align-items-end",remainingLinkTag:(0,o.style)({marginLeft:u.Spacing.Large,paddingBlock:1.5*u.Spacing.Micro,marginBottom:u.Spacing.Micro/4}),videoDescription:"".concat((0,o.style)({"-webkit-line-clamp":1,flexDirection:"column",maxHeight:u.Spacing.xxLarge,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:u.StandardColors.ColorDarkGray05})," ").concat(d.FontStyles.Subordinate)};function uc(){let{designerSettings:e,updateWebsiteSection:t,resolvedTheme:n}=(0,j.Hb)(),o=e.selectedSection;
1return(0,a.jsxs)(w.A,{className:ud.container,"data-sentry-element":"Container","data-sentry-component":"VideoSectionProperties","data-sentry-source-file":"VideoSectionProperties.tsx",children:[(0,a.jsx)(m9,{"data-sentry-element":"VideoHeadingPropertySection","data-sentry-source-file":"VideoSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"VideoSectionProperties.tsx"}),(0,a.jsx)(us,{"data-sentry-element":"VideoListPropertySection","data-sentry-source-file":"VideoSectionProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"VideoSectionProperties.tsx"}),(0,a.jsx)(s5,{properties:[s6.Color],sectionThemeModeProps:{eventName:ew.o.designer.sections.video.backgroundChange,resolvedTheme:n,themeColor:o.props.themeColor,selectedValue:o.props.sectionThemeMode,onValueChanged:e=>{t({...o,props:{...o.props,sectionThemeMode:e}})}},"data-sentry-element":"BackgroundPropertySection","data-sentry-source-file":"VideoSectionProperties.tsx"})]})}let ud={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"}}}))};function up(){return(0,a.jsx)("div",{className:uu.container,"data-sentry-component":"ElementProperties","data-sentry-source-file":"ElementProperties.tsx",children:(0,a.jsx)(um,{"data-sentry-element":"SectionFactory","data-sentry-source-file":"ElementProperties.tsx"})})}function um(){let{designerSettings:e}=(0,j.Hb)(),{selectedSection:t}=e;if(!t)throw Error("Element properties displayed when there is no selected section.");switch(t.type){case N.WebsiteSectionType.Article:return(0,a.jsx)(iY,{});case N.WebsiteSectionType.Header:return(0,a.jsx)(pN,{});case N.WebsiteSectionType.Introduction:return(0,a.jsx)(pY,{});case N.WebsiteSectionType.Services:return(0,a.jsx)(mK,{});case N.WebsiteSectionType.Gallery:return(0,a.jsx)(dU,{});case N.WebsiteSectionType.QuoteBanner:return(0,a.jsx)(ms,{});case N.WebsiteSectionType.Scheduling:return(0,a.jsx)(mC,{});case N.WebsiteSectionType.ImageBanner:return(0,a.jsx)(pW,{});case N.WebsiteSectionType.CustomerReviews:return(0,a.jsx)(mg,{});case N.WebsiteSectionType.Logos:return(0,a.jsx)(me,{});case N.WebsiteSectionType.FrequentlyAskedQuestions:return(0,a.jsx)(c3,{});case N.WebsiteSectionType.Contact:return(0,a.jsx)(cC,{});case N.WebsiteSectionType.Video:return(0,a.jsx)(uc,{});case N.WebsiteSectionType.Team:return(0,a.jsx)(m4,{});case N.WebsiteSectionType.Footer:return(0,a.jsx)(c$,{});case N.WebsiteSectionType.Newsletter:return(0,a.jsx)(mt,{});case N.WebsiteSectionType.CodeEmbed:return(0,a.jsx)(l$,{});case N.WebsiteSectionType.BlogFeed:return(0,a.jsx)(lO,{})}throw Error("Invalid selected section.")}let uu={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({padding:d.Spacing.xLarge,flexDirection:"column"}))};function ug(){let{websiteSettings:e,currentPage:t}=(0,j.Hb)(),[n,o]=(0,r.useState)(!1),s=c.D.views.designer.components.properties.sections.sectionsAdd;return(0,Q.PH)(e,t).length?(0,a.jsxs)("div",{className:uy.container,"data-sentry-component":"SectionsAdd","data-sentry-source-file":"SectionsAdd.tsx",children:[(0,a.jsxs)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>o(!0),"data-sentry-element":"Button","data-sentry-source-file":"SectionsAdd.tsx",children:[(0,a.jsx)(sv.O,{"data-sentry-element":"Add","data-sentry-source-file":"SectionsAdd.tsx"})," ",(0,a.jsx)("span",{className:uy.addSection,children:s.addSection})]}),(0,a.jsx)(tj,{isOpen:n,onClosed:()=>o(!1),context:tb.CurrentPage,"data-sentry-element":"AddSectionModal","data-sentry-source-file":"SectionsAdd.tsx"})]}):null}let uy={container:(0,o.style)({display:"flex",alignItems:"center",paddingBottom:d.Spacing.xLarge+"px"}),addSection:(0,o.style)({marginLeft:d.Spacing.Micro,$nest:{".icon svg":{width:20,height:20}}})};var ux=n(68201);function uh(e){let{isOpen:t,onClose:n,maxCount:o}=e,r=c.D.views.designer.components.properties.sections.duplicateSectionModal;return(0,a.jsx)(g.w,{isOpen:t,icon:(0,a.jsx)("div",{style:{color:u.StandardColors.ColorDarkGray05},children:(0,a.jsx)(e4.F,{})}),title:r.maxSectionsError.title,message:r.maxSectionsError.message(o),buttons:[{type:g.o.Primary,text:r.ok,onClick:n}],"data-sentry-element":"MessageBoxModal","data-sentry-component":"MaxSectionsModal","data-sentry-source-file":"MaxSectionsModal.tsx"})}function uC(e){let{label:t,tooltip:n}=e,o=(0,a.jsxs)("span",{className:uf.badge,tabIndex:0,role:"button",children:[(0,a.jsx)("span",{className:uf.label,children:t}),(0,a.jsx)("span",{className:uf.icon,children:(0,a.jsx)(sk,{})})]});return(0,a.jsx)(J.x,{target:o,"data-sentry-element":"SoloTooltip","data-sentry-component":"InfoBadge","data-sentry-source-file":"InfoBadge.tsx",children:n})}let uf={badge:(0,o.style)({display:"inline-flex",alignItems:"center",height:u.Spacing.xLarge,paddingInline:u.Spacing.xSmall,borderRadius:100,backgroundColor:u.StandardColors.ColorWhite,boxShadow:"inset 0 0 0 1px ".concat(u.StandardColors.ColorLightGray30),flexShrink:0,cursor:"pointer"}),label:(0,o.style)({fontSize:11,color:u.StandardColors.ColorDarkGray05,paddingInline:u.Spacing.xSmall-2,whiteSpace:"nowrap"}),icon:(0,o.style)({display:"flex",alignItems:"center",color:u.StandardColors.ColorViolet60,$nest:{"& svg":{width:u.Spacing.Large,height:u.Spacing.Large}}})};function uS(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ArrowRight","data-sentry-source-file":"ArrowRight.tsx",children:(0,a.jsx)("path",{d:"M11.2929 5.70711C10.9024 5.31658 10.9024 4.68342 11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071L12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071C10.9024 19.3166 10.9024 18.6834 11.2929 18.2929L16.5858 13L4.95 13C4.42533 13 4 12.5523 4 12C4 11.4477 4.42533 11 4.95 11L16.5858 11L11.2929 5.70711Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ArrowRight.tsx"})})}function uv(e){var t;let{section:n,onClose:o,onNewPage:r,onExistingPage:s,...i}=e,{websiteSettings:l,currentPage:p}=(0,j.Hb)(),m=c.D.views.designer.components.properties.sections.moveSectionModal,u=Q.V0.find(e=>e.type===n.type),g=null!=(t=null==u?void 0:u.maxCount)?t:1,y=l.pages.filter(e=>e.pageType!==N.PageType.Blog&&e.id!==(null==p?void 0:p.id)),x=l.pages.length>=tg.H.maxPages;return(0,a.jsx)(_.A,{className:uj.modal,modalClassName:uj.modalWrapper,toggle:o,centered:!0,...i,"data-sentry-element":"Modal","data-sentry-component":"MoveSectionModal","data-sentry-source-file":"MoveSectionModal.tsx",children:(0,a.jsxs)(em.A,{className:uj.body,"data-sentry-element":"ModalBody","data-sentry-source-file":"MoveSectionModal.tsx",children:[(0,a.jsxs)("div",{className:uj.header,children:[(0,a.jsx)("h4",{className:uj.title,children:m.title}),(0,a.jsx)("button",{className:uj.closeBtn,onClick:o,"aria-label":"Close",type:"button",children:(0,a.jsx)(aX.b,{"data-sentry-element":"Close","data-sentry-source-file":"MoveSectionModal.tsx"})})]}),(0,a.jsxs)("div",{className:uj.content,children:[(0,a.jsx)("p",{className:"".concat(d.FontStyles.Regular," ").concat(uj.subtitle),children:m.subtitle}),(0,a.jsxs)("div",{className:uj.rowList,children:[(0,a.jsxs)("div",{className:uj.rowGroup,children:[(0,a.jsx)("div",{className:uj.divider}),(0,a.jsx)(ub,{label:m.newPage,cta:m.moveToNewPage,disabled:x,limitBadgeLabel:m.pageLimitBadge,limitTooltip:m.pageLimitTooltip,onClick:r,"data-sentry-element":"PageRow","data-sentry-source-file":"MoveSectionModal.tsx"})]}),y.map(e=>{let t=(0,Q.Tr)(l,e,n.type);return(0,a.jsxs)("div",{className:uj.rowGroup,children:[(0,a.jsx)("div",{className:uj.divider}),(0,a.jsx)(ub,{label:nW(e),cta:m.move,disabled:t>=g,limitBadgeLabel:m.sectionLimitBadge,limitTooltip:m.sectionLimitTooltip,onClick:()=>s(e)})]},e.id)})]})]})]})})}function ub(e){let{label:t,cta:n,disabled:o,limitBadgeLabel:r,limitTooltip:s,onClick:i}=e,l=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"".concat(d.FontStyles.Medium," ").concat(uj.pageLabel," ").concat(o?uj.pageLabelDisabled:""),children:t}),o?(0,a.jsx)(uC,{label:r,tooltip:s}
1):(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Medium," ").concat(uj.moveCta),children:[n,(0,a.jsx)("span",{className:uj.ctaIcon,children:(0,a.jsx)(uS,{})})]})]});return o?(0,a.jsx)("div",{className:"".concat(uj.row," ").concat(uj.rowDisabled),"aria-disabled":!0,children:l}):(0,a.jsx)("button",{type:"button",className:"".concat(uj.row," ").concat(uj.rowEnabled),onClick:i,"data-sentry-component":"PageRow","data-sentry-source-file":"MoveSectionModal.tsx",children:l})}let uj={modal:(0,o.style)({maxWidth:"unset",width:480,alignSelf:"center",justifySelf:"center",$nest:{".modal-body":{padding:0,borderRadius:u.Spacing.Medium,overflow:"hidden",boxShadow:u.BoxShadowStyles.xLarge,backgroundColor:u.StandardColors.ColorWhite}}}),modalWrapper:(0,o.style)({display:"grid !important"}),body:(0,o.style)({padding:0}),header:(0,o.style)({display:"flex",alignItems:"center",height:72,padding:"20px ".concat(u.Spacing.xLarge,"px"),gap:u.Spacing.Small+u.Spacing.Micro,boxSizing:"border-box"}),title:(0,o.style)({flex:1,margin:0,fontWeight:600}),closeBtn:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,padding:0,flexShrink:0,background:"none",border:"none",cursor:"pointer",color:u.StandardColors.ColorDarkGray05,$nest:{"& svg":{width:20,height:20}}}),content:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.xLarge,padding:"0 ".concat(u.Spacing.xLarge,"px ").concat(u.Spacing.xLarge,"px")}),subtitle:(0,o.style)({margin:0,color:u.StandardColors.ColorDarkGray50}),rowList:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.xSmall}),rowGroup:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.xSmall}),divider:(0,o.style)({height:1,backgroundColor:u.StandardColors.ColorLightGray20,flexShrink:0}),row:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",minHeight:40,padding:"".concat(u.Spacing.xSmall,"px ").concat(u.Spacing.Medium,"px"),background:"none",border:"none",borderRadius:u.Spacing.Micro,textAlign:"left"}),rowEnabled:(0,o.style)({cursor:"pointer",$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray20},"&:active":{backgroundColor:u.StandardColors.ColorLightGray30}}}),rowDisabled:(0,o.style)({cursor:"default"}),pageLabel:(0,o.style)({color:u.StandardColors.ColorDarkGray50,flexShrink:0}),pageLabelDisabled:(0,o.style)({opacity:.4}),moveCta:(0,o.style)({display:"flex",alignItems:"center",gap:u.Spacing.Small,color:u.StandardColors.ColorViolet60,flexShrink:0}),ctaIcon:(0,o.style)({display:"flex",alignItems:"center",color:"inherit",$nest:{"& svg":{width:20,height:20}}})};var uw=n(74657);function uL(e){let{isOpen:t,onToggle:n,onDuplicate:o,onMoveToAnotherPage:r,onDelete:s}=e,i=c.D.views.designer.components.properties.sections.sectionMoreActionsMenu,{isGrow:l}=(0,ad.dp)(),p=l?N.PlanType.GROW:N.PlanType.PRO;return(0,a.jsxs)(ow.A,{isOpen:t,toggle:n,className:uk.dropdown,"data-sentry-element":"Dropdown","data-sentry-component":"SectionMoreActionsMenu","data-sentry-source-file":"SectionMoreActionsMenu.tsx",children:[(0,a.jsx)(oL.A,{className:uk.dropdownToggle,"aria-label":"Section options","data-testid":"section-more-actions-toggle","data-sentry-element":"DropdownToggle","data-sentry-source-file":"SectionMoreActionsMenu.tsx",children:(0,a.jsx)(o3,{"data-sentry-element":"MoreVertical","data-sentry-source-file":"SectionMoreActionsMenu.tsx"})}),(0,a.jsxs)(ok.A,{className:uk.dropdownMenu,end:!0,"data-sentry-element":"DropdownMenu","data-sentry-source-file":"SectionMoreActionsMenu.tsx",children:[(0,a.jsx)(oM.A,{header:!0,className:"".concat(d.FontStyles.Overline," ").concat(uk.menuHeader),"data-sentry-element":"DropdownItem","data-sentry-source-file":"SectionMoreActionsMenu.tsx",children:i.heading}),(0,a.jsx)(oM.A,{className:"".concat(d.FontStyles.Medium," ").concat(uk.menuItem),onClick:e=>{e.stopPropagation(),o()},"data-sentry-element":"DropdownItem","data-sentry-source-file":"SectionMoreActionsMenu.tsx",children:(0,a.jsxs)("div",{className:uk.menuItemContent,children:[(0,a.jsx)("span",{className:uk.menuIcon,children:(0,a.jsx)(lC,{"data-sentry-element":"Duplicate","data-sentry-source-file":"SectionMoreActionsMenu.tsx"})}),(0,a.jsx)("span",{className:uk.menuLabel,children:i.duplicate}),(0,a.jsx)(aL.y,{tierOverride:p,planModalReason:ad.Zh.DUPLICATE_SECTION,isClickable:!1,className:uk.tierBadge,"data-sentry-element":"TierBadge","data-sentry-source-file":"SectionMoreActionsMenu.tsx"})]})}),(0,a.jsx)(oM.A,{className:"".concat(d.FontStyles.Medium," ").concat(uk.menuItem),onClick:e=>{e.stopPropagation(),r()},"data-sentry-element":"DropdownItem","data-sentry-source-file":"SectionMoreActionsMenu.tsx",children:(0,a.jsxs)("div",{className:uk.menuItemContent,children:[(0,a.jsx)("span",{className:uk.menuIcon,children:(0,a.jsx)(uS,{"data-sentry-element":"ArrowRight","data-sentry-source-file":"SectionMoreActionsMenu.tsx"})}),(0,a.jsx)("span",{className:uk.menuLabel,children:i.moveToAnotherPage}),(0,a.jsx)(aL.y,{tierOverride:p,planModalReason:ad.Zh.MOVE_SECTION,isClickable:!1,className:uk.tierBadge,"data-sentry-element":"TierBadge","data-sentry-source-file":"SectionMoreActionsMenu.tsx"})]})}),(0,a.jsx)(oM.A,{divider:!0,className:uk.divider,"data-sentry-element":"DropdownItem","data-sentry-source-file":"SectionMoreActionsMenu.tsx"}),(0,a.jsx)(oM.A,{className:"".concat(d.FontStyles.Medium," ").concat(uk.menuItem),onClick:e=>{e.stopPropagation(),s()},"data-sentry-element":"DropdownItem","data-sentry-source-file":"SectionMoreActionsMenu.tsx",children:(0,a.jsxs)("div",{className:uk.menuItemContent,children:[(0,a.jsx)("span",{className:uk.menuIcon,children:(0,a.jsx)(aB.r,{"data-sentry-element":"Trashcan","data-sentry-source-file":"SectionMoreActionsMenu.tsx"})}),(0,a.jsx)("span",{className:uk.menuLabel,children:i.delete})]})})]})]})}let uk={dropdown:(0,o.style)({display:"flex",alignItems:"center"}),dropdownToggle:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",padding:u.Spacing.xSmall,color:"".concat(u.StandardColors.ColorDarkGray05," !important"),borderRadius:u.Spacing.Micro,background:"none !important",border:"none !important",cursor:"pointer",$nest:{"&:hover":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20," !important"),color:"".concat(u.StandardColors.ColorDarkGray05," !important")},"&:active, &:focus:active":{backgroundColor:"".concat(u.StandardColors.ColorLightGray20," !important"),color:"".concat(u.StandardColors.ColorDarkGray50," !important")},"&:focus":{boxShadow:"none !important",backgroundColor:"transparent !important"},"&::after":{display:"none"}}}),dropdownMenu:"".concat((0,o.style)((0,u.createDropdownMenuTransitionStyle)())," ").concat((0,o.style)({padding:u.Spacing.Small,boxShadow:u.BoxShadowStyles.Small,border:"1px solid",borderColor:u.StandardColors.ColorLightGray40,borderRadius:u.Spacing.Small,zIndex:1050,minWidth:200,$nest:{".dropdown-item":{minHeight:u.Spacing.xxLarge,borderRadius:u.Spacing.Micro/2,color:u.StandardColors.ColorDarkGray05,padding:"".concat(u.Spacing.xSmall,"px ").concat(u.Spacing.Small,"px"),$nest:{"&:not(:last-child)":{marginBottom:u.Spacing.Micro/2},"&:hover:not(:disabled)":{backgroundColor:d.Colors.SecondaryHover},"&:active:not(:disabled)":{backgroundColor:d.Colors.SecondaryPressed}}},".dropdown-header":{padding:"".concat(u.Spacing.xSmall-1,"px ").concat(u.Spacing.Small,"px ").concat(u.Spacing.xSmall,"px"),color:u.StandardColors.ColorDarkGray05,textTransform:"uppercase",letterSpacing:"0.065em"}}})),menuHeader:(0,o.style)({letterSpacing:"0.065em"}),menuItem:(0,o.style)({cursor:"pointer"}),menuItemContent:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:u.Spacing.Small+u.Spacing.Micro}),menuLabel:(0,o.style)({flex:1}),menuIcon:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",width:20,height:20,flexShrink:0,color:u.StandardColors.ColorDarkGray05,$nest:{"& svg":{width:20,height:20}}}),tierBadge:(0,o.style)({marginLeft:u.Spacing.xSmall,flexShrink:0}),divider:(0,o.style)({margin:"".concat(u.Spacing.Micro,"px 0"),borderColor:u.StandardColors.ColorLightGray20})};function uM(e){let{isDraggable:t,dragHandleProps:n,isDragging:o,title:s,hasMoreActions:i,onDelete:l,onDuplicate:p,onMoveToAnotherPage:m,onEdit:u,className:g,...y}=e,[x,h]=(0,r.useState)(!1);return(0,a.jsx)(uw.h,{className:"".concat(g||""," ").concat(uP.container),...y,"data-sentry-element":"ListViewItem","data-sentry-component":"SectionListViewItem","data-sentry-source-file":"SectionListViewItem.tsx",children:(0,a.jsx)(w.A,{className:"".concat(d.ContainerStyles.NoSpacing),"data-sentry-element":"Container","data-sentry-source-file":"SectionListViewItem.tsx",children:(0,a.jsxs)(L.A,{className:uP.content,"data-sentry-element":"Row","data-sentry-source-file":"SectionListViewItem.tsx",children:[t&&(0,a.jsx)(k.A,{className:"col-auto btn draggable ".concat(o?"dragging":""),...n||{},children:(0,a.jsx)(l4,{})}),(0,a.jsx)(k.A,{className:uP.titleStyle,"data-sentry-element":"Col","data-sentry-source-file":"SectionListViewItem.tsx",children:s}),(0,a.jsxs)(k.A,{className:"col-auto ".concat(uP.actionsCol),"data-sentry-element":"Col","data-sentry-source-file":"SectionListViewItem.tsx",children:[(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.SecondarySmall),onClick:e=>{u(),e.stopPropagation()},children:(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(O.f,{})})}),title:c.D.components.tooltips.edit,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"SectionListViewItem.tsx"}),i&&(0,a.jsx)(uL,{isOpen:x,onToggle:()=>h(e=>!e),onDuplicate:()=>{h(!1),null==p||p()},onMoveToAnotherPage:()=>{h(!1),null==m||m()},onDelete:()=>{h(!1),null==l||l()}})]})]})})})}let uP={container:(0,o.style)({display:"flex",paddingBlock:0,alignItems:"center",height:d.Spacing.xxxLarge,borderRadius:0}),content:" ".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flex:1,$nest:{".scale-icon":{display:"flex",alignItems:"center",maxHeight:d.Spacing.Large+d.Spacing.Micro,maxWidth:d.Spacing.Large+d.Spacing.Micro},"& .btn":{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",height:d.Spacing.xxLarge,width:d.Spacing.xxLarge,backgroundColor:d.StandardColors.ColorTransparent,transition:"background-color 0.2s ease, opacity 0.2s ease",border:"none",$nest:{"&:hover":{backgroundColor:d.StandardColors.ColorLightGray20},"&:active":{backgroundColor:d.StandardColors.ColorLightGray30}}},"& .draggable":{marginRight:d.Spacing.Small,width:d.Spacing.Large+d.Spacing.Micro,cursor:"grab",color:d.StandardColors.ColorDarkGray05,outline:"none !important",$nest:{"&.dragging":{backgroundColor:"".concat(d.StandardColors.ColorLightGray30," !important")}}}}})),titleStyle:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50})),actionsCol:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Micro/2,paddingRight:0})};function uN(){var e,t,n,o;let{addSectionToPage:s,currentPage:i,designerSettings:l,openSidebarSection:d,openSidebarMode:p,removeSectionFromPage:m,scrollToSection:u,setCurrentPage:g,setDesignerSettings:y,setWebsiteSettings:f,websiteSettings:S}=(0,j.Hb)(),{showPlanNotificationModal:v}=(0,ad.dp)(),{user:b,isLoaded:w}=(0,x.uM)(),{canDuplicateSection:L,canMoveSection:k}=(0,ap.o7)(),{setSpinner:M}=(0,h.p6)(),{pushToastMessage:P}=(0,K.dj)(),[D,I]=(0,r.useState)(!1),[T,B]=(0,r.useState)(1),[A,H]=(0,r.useState)(!1),[F,R]=(0,r.useState)(),[V,W]=(0,r.useState)(!1),[E,Z]=(0,r.useState)(!1),G=c.D.views.designer.components.properties.sections.duplicateSectionModal,O=c.D.views.designer.components.properties.sections.moveSectionModal;if((0,r.useEffect)(()=>{let e=(0,ux.ee)(S);e&&(S.sections=e,f(S))},[S]),!S.sections)return null;function z(e){u(e.id),y({...l,selectedSection:e})}function $(e){u(e.id),d(e)}function U(e){var t,n;return e&&(null==(t=l.selectedSection)?void 0:t.id)&&(null==(n=l.selectedSection)?void 0:n.id)===e.id}let _=(null==i?void 0:i.sectionIds.flatMap(e=>S.sections.find(t=>
1t.id===e)||[]))||[],q=_.find(e=>e.type===N.WebsiteSectionType.Header),X=_.find(e=>e.type===N.WebsiteSectionType.Footer),J=(_||[]).map(e=>({config:Q.V0.find(t=>t.type===e.type),section:e})).filter(e=>e&&e.config&&!e.config.required);async function ee(e){let{active:t,over:n}=e;if(!n||t.id===n.id)return;let a=J.findIndex(e=>e.section.id===n.id),o=_.find(e=>e.id===t.id),r=await m(o,S,i.path);f(await s(o,r,{currentPagePath:i.path,index:1+a}))}async function et(e){var t;if(!w)return;if(!b)return void Z(!0);let{analytics:n}=(0,eL.S)();if((0,ed.$s)(n,ew.o.designer.sectionList.duplicate,{section_type:e.type}),!L())return void v(ad.Zh.DUPLICATE_SECTION);let a=Q.V0.find(t=>t.type===e.type),o=null!=(t=null==a?void 0:a.maxCount)?t:1;if((0,Q.Tr)(S,i,e.type)>=o){B(o),I(!0);return}M(!0,h.Is.High,G.spinner);try{let t={...e,id:(0,au.bz)(),props:structuredClone(e.props)},n=i.sectionIds.indexOf(e.id),a=await s(t,S,{currentPagePath:i.path,index:n+1});f(a);let o=a.sections.find(e=>e.id===t.id);o&&(d(o),u(o.id)),M(!1),await P(Y.vn.sectionDuplicated)}catch(e){(0,C.z3)("[handleDuplicateSection] failed:",e),M(!1),await P(Y.vn.sectionDuplicateFailed)}}async function en(e){var t;if(!F)return;H(!1);let n=S.pages.find(t=>t.id===e.id),a=Q.V0.find(e=>e.type===F.type),o=null!=(t=null==a?void 0:a.maxCount)?t:1;if(!n||(0,Q.Tr)(S,n,F.type)>=o){await P(Y.vn.sectionMoveFailed),R(void 0);return}let r=structuredClone(S);M(!0,h.Is.High,O.spinnerMoving);try{let t,n=await m(F,S,i.path),a={...F,props:structuredClone(F.props)};try{t=await s(a,n,{currentPagePath:e.path})}catch(e){throw f(r),e}f(t);let o=t.pages.find(t=>t.id===e.id);g(o),p(j.dR.Sections);let l=t.sections.find(e=>e.id===a.id);l&&(d(l),u(l.id)),M(!1),await P(Y.vn.sectionMoved),R(void 0)}catch(e){(0,C.z3)("[handleMoveToExistingPage] failed:",e),M(!1),await P(Y.vn.sectionMoveFailed),R(void 0)}}async function ea(e){if(!F)return;W(!1);let t=structuredClone(S);M(!0,h.Is.High,O.spinnerMoving);try{let n,a=F.id,o=await m(F,S,i.path),r={...F,props:structuredClone(F.props)};try{n=await s(r,o,{newPageTitle:e})}catch(e){throw f(t),e}f(n);let l=n.pages.find(e=>e.sectionIds.includes(a));l&&(g(l),p(j.dR.Sections));let c=n.sections.find(e=>e.id===r.id);c&&(d(c),u(c.id)),M(!1),await P(Y.vn.sectionMovedToNewPage),R(void 0)}catch(e){(0,C.z3)("[handleMoveToNewPage] failed:",e),M(!1),await P(Y.vn.sectionMoveFailed),R(void 0)}}return(0,a.jsxs)("div",{className:uD.container,"data-sentry-component":"SectionsList","data-sentry-source-file":"SectionsList.tsx",children:[(0,a.jsx)(uM,{className:"fixed-list-view-item header-item ".concat(U(S.sections.find(e=>e.type===N.WebsiteSectionType.Header))?"selected":""),title:null==(e=Q.V0.find(e=>e.type===N.WebsiteSectionType.Header))?void 0:e.title,onClick:()=>{z(q)},isActive:(null==(t=l.selectedSection)?void 0:t.id)===q.id,onEdit:()=>$(q),"data-sentry-element":"SectionListViewItem","data-sentry-source-file":"SectionsList.tsx"}),(0,a.jsx)(l5,{items:J.map(e=>e.section.id),onDragEnd:ee,"data-sentry-element":"SortableList","data-sentry-source-file":"SectionsList.tsx",children:(0,a.jsx)("div",{className:"".concat(uD.sectionList),children:J.map(e=>e&&(0,a.jsx)(l3,{id:e.section.id,onClick:()=>z(e.section),children:t=>{var n;let{listeners:o,isDragging:r}=t;return(0,a.jsx)(uM,{className:"list-view-item ".concat(U(e.section)?"selected":""," ").concat(r?"list-view-item-dragging":""),title:(0,Q.FV)(e.section),isDraggable:!0,dragHandleProps:o,isDragging:r,hasMoreActions:!0,onDelete:async()=>{(0,e5.Uf)(e.section,S),f(await m(e.section,S,i.path))},onDuplicate:()=>et(e.section),onMoveToAnotherPage:()=>{if(!w)return;if(!b)return void Z(!0);let{analytics:t}=(0,eL.S)();if((0,ed.$s)(t,ew.o.designer.sectionList.move,{section_type:e.section.type}),!k())return void v(ad.Zh.MOVE_SECTION);R(e.section),H(!0)},isActive:(null==(n=l.selectedSection)?void 0:n.id)===e.section.id,onEdit:()=>$(e.section)})}},e.section.id))})}),(0,a.jsx)(uM,{className:"fixed-list-view-item  ".concat(U(_.find(e=>e.type===N.WebsiteSectionType.Footer))?"selected":""),title:null==(n=Q.V0.find(e=>e.type===N.WebsiteSectionType.Footer))?void 0:n.title,onClick:()=>{z(X)},isActive:(null==(o=l.selectedSection)?void 0:o.id)===X.id,onEdit:()=>$(X),"data-sentry-element":"SectionListViewItem","data-sentry-source-file":"SectionsList.tsx"}),(0,a.jsx)(uh,{isOpen:D,onClose:()=>I(!1),maxCount:T,"data-sentry-element":"MaxSectionsModal","data-sentry-source-file":"SectionsList.tsx"}),F&&(0,a.jsx)(uv,{isOpen:A,section:F,onClose:()=>{H(!1),R(void 0)},onNewPage:()=>{H(!1),W(!0)},onExistingPage:en}),F&&(0,a.jsx)(tS,{isOpen:V,onClosed:()=>{W(!1),R(void 0)},strings:{title:O.newPageTitle,pageName:O.newPageName,submitButton:O.newPageSubmit,cancel:O.newPageCancel},onSave:ea}),E&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>Z(!E),closeModal:()=>Z(!1),postLoginCallback:()=>Z(!1)})]})}let uD={container:"flex-fill ".concat((0,o.style)({marginBottom:
1d.Spacing.Large,$nest:{".fixed-list-view-item":{marginBottom:0,backgroundColor:d.StandardColors.ColorWhite,paddingRight:d.Spacing.Micro,paddingLeft:d.Spacing.xLarge+d.Spacing.Small,boxShadow:"inset 0px -1px 0px ".concat(d.Colors.SecondaryFlatHover),$nest:{"&.selected":{boxShadow:(0,d.important)("0px 0px 0px 2px ".concat(d.StandardColors.ColorViolet60," inset")),borderRadius:d.Spacing.Micro},"&.header-item":{boxShadow:"inset 0px -1px 0px ".concat(d.Colors.SecondaryFlatHover,", inset 0px 1px 0px ").concat(d.Colors.SecondaryFlatHover)}}}}})),sectionList:(0,o.style)({padding:0,boxShadow:"inset 0px -1px 0px ".concat(d.Colors.SecondaryFlatHover),borderRadius:0,$nest:{".list-view-item":{backgroundColor:d.StandardColors.ColorWhite,paddingInline:d.Spacing.Micro,boxShadow:"inset 0px -1px 0px ".concat(d.Colors.SecondaryFlatHover),$nest:{"&.selected":{boxShadow:"0px 0px 0px 2px ".concat(d.StandardColors.ColorViolet60," inset"),borderRadius:d.Spacing.Micro}}},".list-view-item-dragging":{borderRadius:0,boxShadow:(0,d.important)("inset 0px -1px 0px ".concat(d.Colors.SecondaryFlatHover,", inset 0px 1px 0px ").concat(d.Colors.SecondaryFlatHover))}}})};function uI(){return(0,a.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SortOrder","data-sentry-source-file":"SortOrder.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19494 1.52861C4.45529 1.26826 4.8774 1.26826 5.13775 1.52861L7.80441 4.19527C8.06476 4.45562 8.06476 4.87773 7.80441 5.13808C7.54406 5.39843 7.12195 5.39843 6.8616 5.13808L5.33301 3.60949V14C5.33301 14.3682 5.03453 14.6667 4.66634 14.6667C4.29815 14.6667 3.99967 14.3682 3.99967 14V3.60949L2.47108 5.13808C2.21073 5.39843 1.78862 5.39843 1.52827 5.13808C1.26792 4.87773 1.26792 4.45562 1.52827 4.19527L4.19494 1.52861Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SortOrder.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8616 14.4714C11.122 14.7318 11.5441 14.7318 11.8044 14.4714L14.4711 11.8047C14.7314 11.5444 14.7314 11.1223 14.4711 10.8619C14.2107 10.6016 13.7886 10.6016 13.5283 10.8619L11.9997 12.3905V2.00001C11.9997 1.63182 11.7012 1.33334 11.333 1.33334C10.9648 1.33334 10.6663 1.63182 10.6663 2.00001V12.3905L9.13775 10.8619C8.8774 10.6016 8.45529 10.6016 8.19494 10.8619C7.93459 11.1223 7.93459 11.5444 8.19494 11.8047L10.8616 14.4714Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"SortOrder.tsx"})]})}function uT(){let e=c.D.views.designer.components.properties.sections.sectionsTitle;return(0,a.jsxs)("div",{className:uB.header,"data-sentry-component":"SectionsTitle","data-sentry-source-file":"SectionsTitle.tsx",children:[(0,a.jsx)(uI,{"data-sentry-element":"SortOrder","data-sentry-source-file":"SectionsTitle.tsx"})," ",(0,a.jsx)("span",{className:"title",children:e.title})]})}let uB={header:"".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({color:d.Colors.Subdued,marginBottom:d.Spacing.Large,$nest:{".title":{marginLeft:d.Spacing.Small}}}))};function uA(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:uH.container,children:[(0,a.jsx)(uT,{"data-sentry-element":"SectionsTitle","data-sentry-source-file":"SectionsProperties.tsx"}),(0,a.jsx)(uN,{"data-sentry-element":"SectionsList","data-sentry-source-file":"SectionsProperties.tsx"}),(0,a.jsx)(ug,{"data-sentry-element":"SectionsAdd","data-sentry-source-file":"SectionsProperties.tsx"})]})})}let uH={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({padding:u.Spacing.xLarge,flexDirection:"column"}))};var uF=n(46701),uR=n(84084);function uV(e){let t=c.D.views.designer.components.properties.settings.businessDetailsPropertySection.editBusinessDetailsModal,{setWebsiteSettings:n,websiteSettings:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(o.businessActivities||""),[l,p]=(0,r.useState)(o.businessLocation||""),[m,u]=(0,r.useState)(!1),g=0===s.trim().length;async function y(){if(!m){u(!0);try{let e=await (0,cx.n5)(),t=await (0,cx.Rt)(e);if(t){let e=t.city||"",n=t.state||"";p(e+(e&&n?", ":"")+n)}}catch(e){console.error("Failed to find current location.")}finally{u(!1)}}}return(0,a.jsxs)(ty.y,{className:uW.container,modalTransition:{timeout:100},autoFocus:!1,onSave:async()=>void n({...o,businessActivities:s.trim(),businessLocation:l.trim()}),onClosed:e.onClosed,canDismiss:!g,title:t.header,isOpen:e.isOpen,"data-sentry-element":"ModalDialog","data-sentry-component":"EditBusinessDetail
1sModal","data-sentry-source-file":"EditBusinessDetailsModal.tsx",children:[(0,a.jsxs)("div",{className:uW.descriptionText,children:[t.description," ",(0,a.jsx)("a",{href:t.learnMoreUrl,target:"_blank",rel:"noopener noreferrer",className:d.LinkStyles.NoUnderlineNoPadding,children:t.learnMore})]}),(0,a.jsxs)("div",{className:uW.fieldGroup,children:[(0,a.jsxs)(uF.l,{className:uW.label,showRequired:g,"data-sentry-element":"InputLabel","data-sentry-source-file":"EditBusinessDetailsModal.tsx",children:[t.descriptionLabel,"*"]}),(0,a.jsx)(tf.g,{type:"textarea",rows:4,autoFocus:!0,value:s,maxLength:tg.H.businessDescription,className:uW.textArea,onChange:e=>i(e.target.value),"data-sentry-element":"SoloInput","data-sentry-source-file":"EditBusinessDetailsModal.tsx"})]}),(0,a.jsxs)("div",{className:uW.fieldGroup,children:[(0,a.jsxs)(t1.A,{className:uW.label,"data-sentry-element":"Label","data-sentry-source-file":"EditBusinessDetailsModal.tsx",children:[(0,a.jsx)("span",{children:t.locationLabel}),(0,a.jsxs)("span",{className:uW.optionalText,children:[" ",t.locationOptional]})]}),(0,a.jsxs)("div",{className:uW.locationRow,children:[(0,a.jsx)(tf.g,{type:"text",className:uW.locationInput,value:l,onChange:e=>p(e.target.value),"data-sentry-element":"SoloInput","data-sentry-source-file":"EditBusinessDetailsModal.tsx"}),(0,a.jsx)(G.A,{className:uW.locateButton,onClick:y,"data-sentry-element":"Button","data-sentry-source-file":"EditBusinessDetailsModal.tsx",children:m?(0,a.jsx)("div",{className:uW.locationSpinner}):(0,a.jsx)(J.x,{target:(0,a.jsx)("div",{className:uW.locateIcon,children:(0,a.jsx)(uR.X,{})}),title:c.D.components.tooltips.findLocation})})]})]})]})}let uW={container:(0,o.style)({display:"flex",maxWidth:440,$nest:{".modal-body":{padding:u.Spacing.xLarge,$nest:{".header":{marginBottom:u.Spacing.xLarge,$nest:{h4:{fontWeight:600}}}}}}}),descriptionText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({textAlign:"left",whiteSpace:"pre-line",color:u.StandardColors.ColorDarkGray50,marginBottom:u.Spacing.Large})),fieldGroup:(0,o.style)({marginBottom:u.Spacing.Large}),label:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray90,marginBottom:u.Spacing.Small})),optionalText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray05})),textArea:(0,o.style)({minHeight:100}),locationRow:(0,o.style)({display:"flex",alignItems:"center",gap:u.Spacing.Small}),locationInput:(0,o.style)({height:u.Spacing.xxLarge}),locateButton:"".concat(d.ButtonStyles.Secondary," ").concat((0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,padding:u.Spacing.xSmall,height:u.Spacing.xxLarge,width:u.Spacing.xxLarge})),locateIcon:(0,o.style)({color:u.StandardColors.ColorDarkGray05,display:"flex",alignItems:"center",justifyContent:"center"}),locationSpinner:(0,o.style)({height:u.Spacing.Large+u.Spacing.Micro,minWidth:u.Spacing.Large+u.Spacing.Micro,backgroundColor:"transparent",backgroundImage:"url(/img/small-spinner--violet.gif)",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"20px 20px"})};function uE(){let e=c.D.views.designer.components.properties.settings.businessDetailsPropertySection,{websiteSettings:t}=(0,j.Hb)(),[n,o]=(0,r.useState)(!1),s=t.businessActivities||"",i=t.businessLocation||"";return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"BusinessDetailsPropertySection","data-sentry-source-file":"BusinessDetailsPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:uZ.container,"data-sentry-element":"Container","data-sentry-source-file":"BusinessDetailsPropertySection.tsx",children:[n&&(0,a.jsx)(uV,{isOpen:!0,onClosed:()=>o(!1)}),(0,a.jsxs)(L.A,{className:uZ.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"BusinessDetailsPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:uZ.textColumn,"data-sentry-element":"Col","data-sentry-source-file":"BusinessDetailsPropertySection.tsx",children:[(0,a.jsx)("div",{className:uZ.title,children:e.title}
1),(0,a.jsx)("div",{className:uZ.subtitle,children:e.subtitle}),(s||i)&&(0,a.jsxs)("div",{className:uZ.detailsBlock,children:[s&&(0,a.jsxs)("div",{className:"".concat(uZ.detail," ").concat(uZ.detailClamp),children:[e.description," ",s]}),i&&(0,a.jsxs)("div",{className:uZ.detail,children:[e.location," ",i]})]})]}),(0,a.jsx)(k.A,{className:uZ.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"BusinessDetailsPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.changedBusinessDetails,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"BusinessDetailsPropertySection.tsx",children:(0,a.jsx)(G.A,{className:uZ.button,onClick:()=>o(!0),"data-sentry-element":"Button","data-sentry-source-file":"BusinessDetailsPropertySection.tsx",children:e.button})})})]})]})})}let uZ={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column"),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginBottom:0})),subtitle:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",color:d.StandardColors.ColorDarkGray50})),textColumn:"flex-column ".concat((0,o.style)({overflow:"hidden"})),rowContainer:(0,o.style)({paddingTop:d.Spacing.Small-2,paddingBottom:d.Spacing.Small-2,gap:d.Spacing.xLarge}),detailsBlock:(0,o.style)({marginTop:d.Spacing.Small,paddingLeft:d.Spacing.Medium,borderLeft:"2px solid ".concat(d.Colors.Border),display:"flex",flexDirection:"column",gap:d.Spacing.xSmall}),detailClamp:(0,o.style)({display:"-webkit-box","-webkit-line-clamp":3,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"}),detail:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",color:d.StandardColors.ColorDarkGray05,overflowWrap:"break-word"})),buttonContainer:"d-flex flex-column col-auto ".concat((0,o.style)({justifyContent:"flex-start"})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular)};function uG(e){let t=c.D.views.designer.components.properties.settings.businessNamePropertySection.editBusinessNameModal,{setWebsiteSettings:n,websiteSettings:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(o.businessName);return(0,a.jsx)(rz,{title:t.header,detailsText:t.description,onSave:async()=>void n({...o,businessName:s}),canDismiss:!nF(s),inputType:"text",value:s,onValueChange:e=>i(e),maxLength:tg.H.businessName,inputClassName:uO.textInput,...e,"data-sentry-element":"SimpleInputDialog","data-sentry-component":"EditBusinessNameModal","data-sentry-source-file":"EditBusinessNameModal.tsx"})}let uO={textInput:(0,o.style)({minHeight:u.Spacing.xxxLarge,height:u.Spacing.xxxLarge})};function uz(){let e=c.D.views.designer.components.properties.settings.businessNamePropertySection,{websiteSettings:t}=(0,j.Hb)(),[n,o]=(0,r.useState)(!1);return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"BusinessNamePropertySection","data-sentry-source-file":"BusinessNamePropertySection.tsx",children:(0,a.jsxs)(w.A,{className:u$.container,"data-sentry-element":"Container","data-sentry-source-file":"BusinessNamePropertySection.tsx",children:[n&&(0,a.jsx)(uG,{isOpen:!0,onClosed:()=>o(!1)}),(0,a.jsxs)(L.A,{className:u$.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"BusinessNamePropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:u$.textColumn,"data-sentry-element":"Col","data-sentry-source-file":"BusinessNamePropertySection.tsx",children:[(0,a.jsx)("div",{className:u$.title,children:e.title}),(0,a.jsx)("div",{className:u$.description,children:t.businessName})]}),(0,a.jsx)(k.A,{className:u$.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"BusinessNamePropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.changedCompanyName,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"BusinessNamePropertySection.tsx",children:(0,a.jsx)(G.A,{className:u$.button,onClick:()=>o(!0),"data-sentry-element":"Button","data-sentry-source-file":"BusinessNamePropertySection.tsx",children:e.button})})})]})]})})}let u$={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({})),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginBottom:0})),textColumn:"flex-column ".concat((0,o.style)({overflow:"hidden"})),rowContainer:(0,o.style)({paddingTop:d.Spacing.Small-2,paddingBottom:d.Spacing.Small-2}),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",textOverflow:"ellipsis",overflow:"hidden",paddingRight:d.Spacing.Medium,color:d.StandardColors.ColorDarkGray05})),buttonContainer:"d-flex flex-column col-auto ".concat((0,o.style)({justifyContent:"center"})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular," ").concat((0,o.style)({}))};function uU(e){let t=c.D.views.designer.components.planNotifications,{showPlanNotificationModal:n}=(0,ad.dp)();return(0,a.jsxs)("span",{className:u_.main,"data-sentry-component":"PlanWarning","data-sentry-source-file":"PlanWarning.tsx",children:[(0,a.jsx)(eG.T,{onClick:()=>n(e.planModalReason),eventName:ew.o.planNotifications.planInfoCl
1ick,className:u_.link,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"PlanWarning.tsx",children:t.proPlan}),e.additionalRequirements&&(0,a.jsxs)("span",{children:[" and ",e.additionalRequirements]})," "+t.required]})}let u_={main:(0,o.style)({fontWeight:400}),link:(0,o.style)({color:u.StandardColors.ColorViolet60})},uq=c.D.views.designer.components.properties.settings.codeContentProperties;function uQ(e){let{domainConnected:t,canUseCustomCode:n,isLoaded:o}=e,r=t?null:uq.subordinateWarning.customDomainMissing;return o?n?(0,a.jsxs)("span",{"data-sentry-component":"CodeContentSubtitleWarning","data-sentry-source-file":"CodeContentProperties.tsx",children:[r," required"]}):(0,a.jsx)(uU,{additionalRequirements:r,planModalReason:ad.Zh.ADD_CODE_TO_HEAD}):null}function uK(){var e,t;let n=ew.o.designer.settings.codeContent,{websiteSettings:o,setWebsiteSettings:s}=(0,j.Hb)(),{isDomainPending:i,websiteDomain:l}=(0,D.hi)(),{canUseCustomCode:c,isLoaded:d}=(0,ap.o7)(),[p,m]=(0,r.useState)(!1),u=!!l&&!i();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(cb,{editEventName:n.editCodeClick,toggleEventName:n.toggleCodeClick,onClickEditButton:()=>m(!0),toggleDisabled:!u,paidFeature:!0,planModalReason:ad.Zh.ADD_CODE_TO_HEAD,propertyEnabled:!!(o.codeContent&&o.codeContent.enabled&&u),setPropertyEnabled:e=>{s({...o,codeContent:{...o.codeContent?o.codeContent:{code:""},enabled:void 0!=o.codeContent&&!!o.codeContent.code&&e}}),m(e)},title:uq.title,subtitle:uq.subordinate,subtitleWarning:u&&c()?null:(0,a.jsx)(uQ,{domainConnected:u,canUseCustomCode:c(),isLoaded:d}),"data-sentry-element":"PropertySectionWithToggle","data-sentry-source-file":"CodeContentProperties.tsx"}),p&&(0,a.jsx)(i$,{isOpen:!0,onClosed:()=>m(!1),initialContent:null!=(t=null==(e=o.codeContent)?void 0:e.code)?t:"",onSaveContent:e=>{s({...o,codeContent:{enabled:!!e.trim(),code:e}})},title:uq.modal.header,inputLabel:uq.modal.inputLabel,placeholder:uq.modal.inputPlaceholder,description:uq.modal.description,supportLink:uq.modal.supportLink,supportLinkText:uq.modal.supportLinkText,analyticsEventName:n.learnMoreClick,maxLength:tg.H.codeContent,mode:"code",validationFunction:E.validateCustomCode,customRteOptions:{enableCodeHighlighting:!0}})]})}function uY(e){let{close:t,children:n,...o}=e,{draftId:r,deleteAllWebsiteDataById:s,websiteDocument:i}=(0,M.SY)(),{replace:l}=(0,eV.useRouter)(),{disconnectDomain:d,websiteDomain:p}=(0,D.hi)(),{setSpinner:m}=(0,h.p6)(),u=c.D.components.deleteWebsiteModal;async function g(){m(!0,h.Is.High),p&&p.state===N.WebsiteDomainState.Connected&&await d(),await s(r),l("/designer"),t(),m(!1,h.Is.High)}return(0,a.jsx)(sC.E,{title:u.header,warning:u.warning,acceptText:u.deleteButton,cancelText:u.cancel,onAccept:g,onCancel:t,isDestructive:!0,...o,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DeleteWebsiteModal","data-sentry-source-file":"DeleteWebsiteModal.tsx",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:uX.description,children:u.description}),(0,a.jsxs)("div",{className:uX.websiteUrls,children:[(0,a.jsx)("div",{children:(null==i?void 0:i.handle)?(0,t$.kg)(i.handle):u.yourDraft}),p&&p.state===N.WebsiteDomainState.Connected&&(0,a.jsxs)("div",{children:["https://",(0,sh.toDisplayDomain)(p.domainName)]})]}),(null==i?void 0:i.handle)&&(0,a.jsx)("p",{className:uX.description,children:u.descriptionPublished})]})})}let uX={websiteUrls:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({textAlign:"left",overflow:"hidden",lineHeight:"".concat(d.Spacing.xLarge,"px"),marginBottom:"1rem"})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,lineHeight:"".concat(d.Spacing.xLarge,"px")}))};function uJ(){let e=c.D.views.designer.components.properties.settings.deleteWebsitePropertySection,[t,n]=(0,r.useState)(!1);return(0,a.jsxs)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"DeleteWebsitePropertySection","data-sentry-source-file":"DeleteWebsitePropertySection.tsx",children:[t&&(0,a.jsx)(uY,{close:()=>n(!1),toggle:()=>n(!t)}),(0,a.jsx)(w.A,{className:"".concat(u1.container),"data-sentry-element":"Container","data-sentry-source-file":"DeleteWebsitePropertySection.tsx",children:(0,a.jsxs)(L.A,{className:u1.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"DeleteWebsitePropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:"flex flex-column","data-sentry-element":"Col","data-sentry-source-file":"DeleteWebsitePropertySection.tsx",children:[(0,a.jsx)("div",{className:u1.title,children:e.title}),(0,a.jsx)("div",{className:u1.description,children:e.description})]}),(0,a.jsx)(k.A,{className:u1.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"DeleteWebsitePropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.deleteWebsite,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"DeleteWebsitePropertySection.tsx",children:(0,a.jsx)(G.A,{className:u1.button,onClick:()=>n(!0),"data-sentry-element":"Button","data-sentry-source-file":"DeleteWebsitePropertySection.tsx",children:e.button})})})]})})]})}let u1={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({})),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginBottom:0})),rowContainer:(0,o.style)({paddingTop:d.Spacing.Small-2,paddingBottom:d.Spacing.Small-2}),sectionTitle:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray90,padding:0})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",maxWidth:155,color:d.StandardColors.ColorDarkGray05,flexDirection:"column"})),buttonContainer:"d-flex flex-column col-auto ".concat((0,o.style)({justifyContent:"center"})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular," ").concat((0,o.style)({}))};var u0=n(13670);function u3(e){let{close:t,...n}=e,[o,s]=(0,r.useState)(!1),[i,l]=(0,r.useState)(!1),{scrollToSection:d,openSidebarMode:p}=(0,j.Hb)(),{draftId:m,loadWebsiteHandles:u,setDraftId:g,websiteDocument:y}=(0,M.SY)(),{setSpinner:C}=(0,h.p6)(),{pushToastMessage:f}=(0,K.dj)(),{user:S}=(0,x.uM)(),{analytics:v}=(0,eL.S)(),b=(0,eV.useRouter)(),w=c.D.components.duplicateWebsiteModal;async function L(){if(S){s(!0),l(!1),C(!0,h.Is.High),v&&(0,ed.$s)(v,ew.o.designer.settings.duplicateWebsite);try{var e;let{auth:n}=(0,am.T)(),o=await (null==(e=n.currentUser)?void 0:e.getIdToken());if(!o)throw Error("Authentication required");
1let r=await fetch("/api/websites/".concat(m,"/duplicate"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(o)},body:JSON.stringify({})});if(r.ok){let e=await r.json();await u(),g(e.websiteSettings.id),await b.push("/designer"),t(),function(){let e=null==y?void 0:y.websiteSettings;e&&d(e.sections.find(e=>e.type===N.WebsiteSectionType.Header).id)}(),f({text:w.successMessage,toastType:lh.C.Success,icon:(0,a.jsx)(u0.s,{})}),p(j.dR.Settings)}else l(!0)}catch(e){console.error("Error duplicating website:",e),l(!0)}finally{s(!1),C(!1,h.Is.High)}}}let k=i?w.errorTitle:w.header,P=w.description,D=o?w.duplicating:i?w.errorButton:w.duplicateButton;return(0,a.jsx)(sC.E,{title:k,acceptText:D,cancelText:w.cancel,onAccept:()=>{v&&(0,ed.$s)(v,ew.o.designer.settings.duplicateWebsiteModalConfirm),i&&l(!1),L()},onCancel:()=>{v&&(0,ed.$s)(v,ew.o.designer.settings.duplicateWebsiteModalCancel),t()},acceptDisabled:o,toggle:o?void 0:t,...n,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DuplicateWebsiteModal","data-sentry-source-file":"DuplicateWebsiteModal.tsx",children:(0,a.jsx)("div",{className:u2.description,children:P})})}let u2={description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,lineHeight:"".concat(d.Spacing.xLarge,"px")}))};function u6(){let e=c.D.views.designer.components.properties.settings.duplicateWebsitePropertySection,[t,n]=(0,r.useState)(!1),{hasReachedWebsitesLimit:o}=(0,ap.o7)(),{showPlanNotificationModal:s,ownerBillingStatus:i,ownerBillingStatus:{isPro:l,isGrow:d}}=(0,ad.dp)(),p=o();return(0,a.jsxs)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"DuplicateWebsitePropertySection","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx",children:[t&&(0,a.jsx)(u3,{close:()=>n(!1),toggle:()=>n(!t)}),(0,a.jsx)(w.A,{className:"".concat(u5.container),"data-sentry-element":"Container","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx",children:(0,a.jsxs)(L.A,{className:u5.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:"flex flex-column","data-sentry-element":"Col","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx",children:[(0,a.jsxs)("div",{className:u5.titleContainer,children:[(0,a.jsx)("span",{className:u5.title,children:e.title}),(0,a.jsx)(aL.y,{tierOverride:i.isGrow?N.PlanType.GROW:N.PlanType.PRO,planModalReason:ad.Zh.DUPLICATE_WEBSITE,"data-sentry-element":"TierBadge","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx"})]}),(0,a.jsx)("div",{className:u5.description,children:e.description})]}),(0,a.jsx)(k.A,{className:u5.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.duplicateWebsite,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx",children:(0,a.jsx)(G.A,{className:u5.button,onClick:()=>{if(!(l||d)||p)return void s(ad.Zh.DUPLICATE_WEBSITE);n(!0)},"data-sentry-element":"Button","data-sentry-source-file":"DuplicateWebsitePropertySection.tsx",children:e.button})})})]})})]})}let u5={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({})),titleContainer:(0,o.style)({display:"flex",alignItems:"center",marginBottom:0}),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginBottom:0})),rowContainer:(0,o.style)({paddingTop:d.Spacing.Small-2,paddingBottom:d.Spacing.Small-2}),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",maxWidth:155,color:d.StandardColors.ColorDarkGray05,flexDirection:"column"})),buttonContainer:"d-flex flex-column col-auto ".concat((0,o.style)({justifyContent:"center"})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular," ").concat((0,o.style)({}))};function u4(e){let{close:t,downloadIframeName:n,children:o,...s}=e,{auth:i}=(0,am.T)(),{draftId:l}=(0,M.SY)(),d=(0,r.useRef)(null),[p,m]=(0,r.useState)(),{setSpinner:u}
1=(0,h.p6)(),g=c.D.components.exportContactsModal;return((0,r.useEffect)(()=>{var e;null==(e=i.currentUser)||e.getIdToken(!0).then(m)},[]),p)?(0,a.jsxs)(sC.E,{title:g.header,acceptText:g.exportButton,cancelText:g.cancel,onAccept:function(){d.current&&(u(!0,h.Is.High),d.current.requestSubmit())},onCancel:t,...s,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"ExportContactsModal","data-sentry-source-file":"ExportContactsModal.tsx",children:[(0,a.jsx)("div",{className:u7.description,children:g.description}),(0,a.jsx)("form",{ref:d,target:n,method:"POST",action:"/api/export/".concat(l,"/csv"),style:{display:"none"},onSubmit:function(){setTimeout(()=>{t(),u(!1,h.Is.High)},10)},children:(0,a.jsx)("input",{type:"text",name:"token",value:p,readOnly:!0})})]}):null}let u7={websiteUrls:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({textAlign:"left",overflow:"hidden",lineHeight:"".concat(d.Spacing.xLarge,"px"),marginBottom:"1rem"})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,lineHeight:"".concat(d.Spacing.xLarge,"px")}))};function u9(){let e=c.D.views.designer.components.properties.settings.exportContactsPropertySection,{pushToastMessage:t}=(0,K.dj)(),[n,o]=(0,r.useState)(!1),s="exportContactsFrame";return(0,a.jsxs)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"ExportContactsPropertySection","data-sentry-source-file":"ExportContactsPropertySection.tsx",children:[(0,a.jsx)("iframe",{name:s,style:{display:"none"},onLoad:e=>{let n=e.target;try{var a,o;let e=n.contentDocument||(null==(a=n.contentWindow)?void 0:a.document);(null==e||null==(o=e.body)?void 0:o.textContent)&&(console.log("export iframe content",e.body.textContent),t(Y.vn.exportDownloadFailed))}catch(e){t(Y.vn.exportDownloadFailed)}}}),n&&(0,a.jsx)(u4,{downloadIframeName:s,close:()=>o(!1),toggle:()=>o(!n)}),(0,a.jsx)(w.A,{className:"".concat(u8.container),"data-sentry-element":"Container","data-sentry-source-file":"ExportContactsPropertySection.tsx",children:(0,a.jsxs)(L.A,{className:u8.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"ExportContactsPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:"flex flex-column","data-sentry-element":"Col","data-sentry-source-file":"ExportContactsPropertySection.tsx",children:[(0,a.jsx)("div",{className:u8.title,children:e.title}),(0,a.jsx)("div",{className:u8.description,children:e.description})]}),(0,a.jsx)(k.A,{className:u8.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"ExportContactsPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.exportContacts,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"ExportContactsPropertySection.tsx",children:(0,a.jsx)(G.A,{className:u8.button,onClick:()=>{o(!0)},"data-sentry-element":"Button","data-sentry-source-file":"ExportContactsPropertySection.tsx",children:e.button})})})]})})]})}let u8={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({})),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginBottom:0})),rowContainer:(0,o.style)({paddingTop:d.Spacing.Small-2,paddingBottom:d.Spacing.Small-2}),sectionTitle:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray90,padding:0})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",maxWidth:155,color:d.StandardColors.ColorDarkGray05,flexDirection:"column"})),buttonContainer:"d-flex flex-column col-auto ".concat((0,o.style)({justifyContent:"center"})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular," ").concat((0,o.style)({}))};function ge(){let{websiteSettings:e,setFavIcon:t,deleteFavIcon:n}=(0,j.Hb)(),o=(0,r.useRef)(null),{setSpinner:s}=(0,h.p6)(),{storage:i}=(0,am.T)(),{pushToastMessage:l}=(0,K.dj)(),[d,p]=(0,r.useState)(!1),{isLoggedIn:m}=(0,x.uM)(),[u,g]=(0,r.useState)(!1),y=c.D.views.designer.components.properties.settings.favIconPropertySection;async function C(e){if(e.stopPropagation(),e.preventDefault(),e.target.files&&e.target.files.length>0){let n=await f(e.target.files[0]);n.error===ax.None&&n.image&&t(n.image)}}async function f(t){if(!await gn(t))return p(!0),{file:t,state:aS.Rejected,error:ax.InvalidFileType};let n=t.name.split("."),a="".concat(e.id,"/logo/").concat((0,au.bz)(),".").concat(n[n.length-1]);s(!0,h.Is.High,y.uploading);let o=(0,ac.KR)(i,a);
1try{let e=await (0,ac.D)(o,t),n="moz-ocho-solo-nonprod.appspot.com"===e.metadata.bucket?"https://main.cdn.soloist.ai":"https://cdn.soloist.ai",r={provider:N.ImageProvider.Custom,description:"Logo",tags:"",urls:Object.values(N.ImageType).map(e=>({type:e,url:"".concat(n,"/").concat(a)}))};return s(!1,h.Is.High),{file:t,image:r,state:aS.Completed,error:ax.None}}catch(e){return s(!1,h.Is.High),l(Y.vn.favIconUploadFailed),{file:t,state:aS.Failed,error:ax.UploadFailed}}}let S=void 0!==e.favIcon&&void 0!==e.favIcon.urls;return(0,a.jsxs)(sP,{title:y.title,subtitle:S?void 0:y.description,rightTitleContent:(0,a.jsxs)(a.Fragment,{children:[S&&(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.favIconDelete,children:(0,a.jsx)(G.A,{className:go.deleteButton,onClick:function(){n()},children:y.delete})}),(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.favIconUpload,children:(0,a.jsx)(G.A,{className:go.editButton,onClick:function(){m?o.current&&o.current.click():g(!0)},children:y.upload})})]}),"data-sentry-element":"PropertySection","data-sentry-component":"FavIconPropertySection","data-sentry-source-file":"FavIconPropertySection.tsx",children:[(0,a.jsx)("input",{type:"file",id:"file",accept:function(){let{supportedFiletypes:e}=ah.$C,t="";return e.forEach((n,a)=>{t=t.concat("image/"+n+(a<e.length-1?", ":""))}),t+", image/x-icon"}(),ref:e=>{o.current=e},style:{display:"none"},onChange:e=>C(e)}),d&&(0,a.jsx)(d7,{settings:ah.$C,footNote:y.footNote,onClose:()=>p(!1)}),u&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>{g(!u)},closeModal:()=>g(!1),postLoginCallback:()=>{g(!1)}}),e.favIcon&&(0,a.jsx)(gt,{})]})}function gt(){let{websiteSettings:e}=(0,j.Hb)();if(!e.favIcon||!e.favIcon.urls)return null;let t=c.D.views.designer.components.properties.settings.favIconPropertySection;return(0,a.jsx)(w.A,{className:go.preview,"data-sentry-element":"Container","data-sentry-component":"FavIconPreview","data-sentry-source-file":"FavIconPropertySection.tsx",children:(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"FavIconPropertySection.tsx",children:(0,a.jsxs)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"FavIconPropertySection.tsx",children:[(0,a.jsx)("img",{src:e.favIcon.urls[0].url,alt:e.favIcon.description}),(0,a.jsx)("span",{className:d.FontStyles.Subordinate,children:t.browserTab})]})})})}async function gn(e){var t;let{supportedFiletypes:n,maxSizeMB:a}=ah.$C,o=null==(t=e.name.split(".").pop())?void 0:t.toLowerCase(),r=o&&n.includes(o),s=e.size;return r&&s<1024*a*1024&&("ico"===o||await ga(e))}async function ga(e){let{maxWidth:t=512,maxHeight:n=512}=ah.$C;return new Promise(a=>{let o=new FileReader;o.onload=e=>{var o;let r=null==(o=e.target)?void 0:o.result,s=new Image;s.onload=function(){(s.width>t||s.height>n)&&a(!1),a(!0)},s.onerror=function(){a(!1)},s.src=r},o.readAsDataURL(e)})}let go={deleteButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({marginRight:d.Spacing.Large})),editButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({})),preview:(0,o.style)({display:"flex",justifyContent:"center",alignContent:"center",padding:d.Spacing.xLarge,backgroundColor:d.Colors.Secondary,borderRadius:d.Spacing.Micro,boxShadow:d.BoxShadowStyles.xSmall,$nest:{".col":{width:160,display:"flex",flexDirection:"row",alignItems:"flex-start",backgroundColor:d.StandardColors.ColorWhite,paddingBlock:d.Spacing.Small-1,paddingInline:d.Spacing.Small,borderRadius:d.Spacing.Micro,$nest:{img:{width:d.Spacing.Large,height:d.Spacing.Large,marginRight:d.Spacing.xSmall}}}}})};function gr(e){let t=c.D.views.designer.components.properties.settings.disableSearchIndexingDialog;return(0,a.jsx)(sC.E,{title:t.title,acceptText:t.disable,cancelText:t.leaveEnabled,className:gs.dialog,isDestructive:!0,...e,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DisableSearchIndexingDialog","data-sentry-source-file":"DisableSearchIndexingDialog.tsx",children:(0,a.jsx)(a.Fragment,{children:t.text})})}let gs={dialog:(0,o.style)({minWidth:440,maxWidth:440,$nest:{".button-container":{flexDirection:"row-reverse",justifyContent:"flex-end"}}})},gi=c.D.views.designer.components.properties.settings.seoPropertySection.seoKeywordsSection,gl={content:(0,o.style)({padding:"".concat(u.Spacing.xLarge,"px ").concat(u.Spacing.xLarge,"px 0 ").concat(u.Spacing.xLarge,"px !important"),maxHeight:"80vh",overflowY:"scroll !important"}),textInput:(0,o.style)({marginBottom:u.Spacing.xLarge}),inputHeader:(0,o.style)({display:"flex",justifyContent:"space-between",marginBottom:u.Spacing.Micro})};function gc(e){let{newSettings:t,setNewSettings:n,pageId:o,isHome:s=!1}=e,i=t.pages.find(e=>e.id===o),[l,c]=(0,r.useState)(!1);return i?(0,a.jsxs)("div",{"data-sentry-component":"MultiPageSEOInput","data-sentry-source-file":"EditSEOKeywordsModal.tsx",children:[(0,a.jsxs)("div",{className:gl.inputHeader,children:[(0,a.jsxs)("span",{children:["Page: ",s?gi.multipage.home:i.title]}),(0,a.jsx)(th,{currentText:i.keywords,maxLimit:tg.H.seoKeywords,visible:l,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"EditSEOKeywordsModal.tsx"})]}),(0,a.jsx)(tf.g,{className:gl.textInput,value:i.keywords,onChange:function(e){let a=nV(e.target.value),r=t.pages.map(e=>e.id===o?{...e,keywords:a}:e);n({...t,pages:r})},maxLength:tg.H.seoKeywords,onFocus:()=>c(!0),onBlur:()=>c(!1),"data-sentry-element":"SoloInput","data-sentry-source-file":"EditSEOKeywordsModal.tsx"})]}):null}function gd(e){let t=gi.multipage,{websiteSettings:n,setWebsiteSettings:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(n);async function l(){o(s)}return(0,a.jsxs)(ty.y,{onSave:l,title:gi.title,isOpen:e.isOpen,onClosed:e.onClosed,bodyClassName:gl.content,"data-sentry-element":"ModalDialog","data-sentry-component":"MultipageSEOKeywordsModal","data-sentry-source-file":"EditSEOKeywordsModal.tsx",children:[(0,a.jsxs)("span",{children:[t.description,(0,a.jsx)(eN(),{href:t.learnMoreLink,className:d.LinkStyles.NoUnderline,target:"_blank",rel:"noreferrer","data-sentry-element":"Link","data-sentry-source-file":"EditSEOKeywordsModal.tsx",children:t.learnMore})]}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"EditSEOKeywordsModal.tsx"}),n.pages.map((e,t)=>(0,a.jsx)(gc,{pageId:e.id,newSettings:s,setNewSettings:i,isHome:0===t},e.id))]})}function gp(e){let t=gi.singlePage,{websiteSettings:n,setWebsiteSettings:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(n.pages[0].keywords);return(0,a.jsx)(rz,{inputType:"textarea",title:gi.title,detailsText:t.description,onSave:async()=>void(n.pages[0].keywords=s,o({...n})),value:s,onValueChange:e=>i(nV(e)),maxLength:tg.H.seoKeywords,isOpen:e.isOpen,onClosed:e.onClosed,"data-sentry-element":"SimpleInputDialog","data-sentry-component":"SinglePageSEOKeywordsModal","data-sentry-source-file":"EditSEOKeywordsModal.tsx"})}function gm(e){let{isMultipage:t}=(0,j.Hb)();return t?(0,a.jsx)(gd,{...e}):(0,a.jsx)(gp,{...e,"data-sentry-element":"SinglePageSEOKeywordsModal","data-sentry-component":"EditSEOKeywordsModal","data-sentry-source-file":"EditSEOKeywordsModal.tsx"})}function gu(e){let{websiteSettings:t,setWebsiteSettings:n}=(0,j.Hb)(),[o,s]=(0,r.useState)(t.pages[0].title),i=c.D.views.designer.components.properties.settings.seoPropertySection.pageTitleSection.editWebsiteTitleModal;return(0,a.jsx)(rz,{title:i.header,detailsText:i.description,onSave:async()=>void(t.pages[0].title=o,n({...t})),canDismiss:!nF(o),value:o,onValueChange:e=>s(e),maxLength:tg.H.websiteTitle,...e,"data-sentry-element":"SimpleInputDialog","data-sentry-component":"EditWebsiteTitleModal","data-sentry-source-file":"EditWebsiteTitleModal.tsx"})}var gg=n(75243),gy=n(10427);let gx=new Set;function gh(e){let{submitUrl:t,size:n,className:o,dim:r}=e,s=function(e,t){try{let n=new URL(e).hostname.replace(/^www\./,"");return"https://www.google.com/s2/favicons?domain=".concat(n,"&sz=").concat(t)}catch(e){return(0,gy.S)(e,{component:"manage_directories_modal",action:"favicon_url_parse",error_class:e instanceof Error?e.constructor.name:"unknown"}),""}}(t,n);return s?(0,a.jsx)("img",{src:s,alt:"",className:o,width:r,height:r,"data-sentry-component":"FaviconImg","data-sentry-source-file":"ManageDirectoriesModal.tsx"}):null}function gC(e){var t,n,o,s,i;let{isOpen:l,onClosed:p}=e,m=c.D.views.designer.components.properties.settings.seoPropertySection.directoriesSection.modal,{websiteDocument:u,setDirectoryProfile:g}=(0,M.SY)(),y=null==u?void 0:u.suggestedDirectoriesError,x=(0,r.useRef)(null);(0,r.useEffect)(()=>
1{if(!y)return;let e="".concat(y.kind,"@").concat(y.at.toMillis());x.current!==e&&(x.current=e,(0,gy.S)(Error("suggestedDirectoriesError surfaced (kind=".concat(y.kind,")")),{component:"manage_directories_modal",action:"suggested_directories_error_surfaced",error_kind:y.kind}))},[y]);let h=(0,r.useMemo)(()=>(function(e,t){var n,a;let o=new Set(e.map(e=>e.id)),r=Object.keys(null!=(n=t.directoryProfiles)?n:{});for(let e of r)o.has(e)||gx.has(e)||(gx.add(e),(0,gy.S)(Error('directoryProfiles key "'.concat(e,"\" is not in the catalog; the user's saved profile URL is hidden.")),{component:"directory_selection",action:"unknown_directory_profile_key",directory_id:e}));let s=new Set(r),i=new Set;for(let e of null!=(a=t.suggestedDirectories)?a:[])s.has(e)||i.add(e);let l=[],c=[],d=[];for(let t of e)s.has(t.id)?l.push(t):i.has(t.id)?c.push(t):d.push(t);let p=(e,t)=>e.name.localeCompare(t.name);return l.sort(p),c.sort(p),d.sort(p),[{key:"yourListings",entries:l},{key:"suggested",entries:c},{key:"other",entries:d}]})(N.DIRECTORY_CATALOG,{suggestedDirectories:null==u?void 0:u.suggestedDirectories,directoryProfiles:null==u?void 0:u.directoryProfiles}),[null==u?void 0:u.suggestedDirectories,null==u?void 0:u.directoryProfiles]),C=(0,r.useMemo)(()=>h.flatMap(e=>e.entries),[h]),[f,S]=(0,r.useState)(""),[v,b]=(0,r.useState)(null!=(o=null==(t=C[0])?void 0:t.id)?o:null);(0,r.useEffect)(()=>{0!==C.length&&(C.some(e=>e.id===v)||b(C[0].id))},[C,v]);let j=(0,r.useMemo)(()=>{let e=f.trim().toLowerCase();if(!e)return h;let t=t=>t.name.toLowerCase().includes(e)||t.category.toLowerCase().includes(e)||t.description.toLowerCase().includes(e);return h.map(e=>({key:e.key,entries:e.entries.filter(t)}))},[f,h]),w=j.some(e=>e.entries.length>0),L=(0,r.useMemo)(()=>({yourListings:m.yourListingsHeading,suggested:m.suggestedHeading,other:m.otherHeading}),[m]),k=null!=(s=C.find(e=>e.id===v))?s:null,P=null!==v&&null!=(i=null==u||null==(n=u.directoryProfiles)?void 0:n[v])?i:"",[D,I]=(0,r.useState)(P),[T,B]=(0,r.useState)(null),A=(0,r.useRef)(null),H=(0,r.useRef)(null);function F(e){null===e?A.current=null:e!==T&&(A.current=Date.now()),B(e)}async function R(){var e,t;if(null===v)return"noop";let n=D.trim();if(n===(null!=(t=null==u||null==(e=u.directoryProfiles)?void 0:e[v])?t:""))return"noop";let a=null;if(""!==n&&null===(a=(0,N.tryParseUrlString)(n)))return F(m.step2InvalidUrl),"invalid";F(null);try{await g(v,a)}catch(e){(0,gy.S)(e,{component:"manage_directories_modal",action:"save_directory_profile_url",error_class:e instanceof Error?e.constructor.name:"unknown"})}return"ok"}function V(){var e;let t=(null!=(e=H.current)?e:Promise.resolve()).catch(()=>void 0).then(()=>R()),n=t.finally(()=>{H.current===n&&(H.current=null)});return H.current=n,t}async function W(){let e;try{e=await V()}catch(e){(0,gy.S)(e,{component:"manage_directories_modal",action:"close_modal_unexpected"}),p();return}if("ok"===e||"noop"===e)return void p();let t=A.current;null!==t&&Date.now()-t>=1e3&&p()}return(0,r.useEffect)(()=>{var e,t;I(null!==v&&null!=(t=null==u||null==(e=u.directoryProfiles)?void 0:e[v])?t:""),F(null)},[v]),(0,a.jsx)(_.A,{isOpen:l,toggle:W,centered:!0,size:"lg",className:gf.modal,"data-sentry-element":"Modal","data-sentry-component":"ManageDirectoriesModal","data-sentry-source-file":"ManageDirectoriesModal.tsx",children:(0,a.jsxs)(em.A,{className:gf.body,"data-sentry-element":"ModalBody","data-sentry-source-file":"ManageDirectoriesModal.tsx",children:[(0,a.jsx)("div",{className:gf.header,children:(0,a.jsxs)("div",{className:gf.headerTop,children:[(0,a.jsx)("h4",{className:gf.title,children:m.title}),(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:gf.closeButton,onClick:W,"aria-label":c.D.components.tooltips.close,children:(0,a.jsx)(aX.b,{})}),title:c.D.components.tooltips.close,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"ManageDirectoriesModal.tsx"})]})}),(0,a.jsxs)("div",{className:gf.content,children:[(0,a.jsxs)("div",{className:gf.leftPanel,children:[(0,a.jsx)(aY,{className:gf.searchInput,placeholder:m.searchPlaceholder,value:f,onChange:e=>S(e.target.value),"data-sentry-element":"SearchInput","data-sentry-source-file":"ManageDirectoriesModal.tsx"}),(0,a.jsx)("div",{className:gf.list,children:w?j.map(e=>{let t="suggested"===e.key&&!!y;return 0!==e.entries.length||t?(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("div",{className:gf.groupHeading,children:L[e.key]}),t&&(0,a.jsx)("div",{className:gf.suggestedErrorBanner,children:m.suggestedErrorBanner}),e.entries.map(e=>{let t=e.id===v;return(0,a.jsxs)("button",{type:"button",className:"".concat(gf.listItem," ").concat(t?gf.listItemSelected:""),onClick:()=>b(e.id),children:[(0,a.jsx)(gh,{submitUrl:e.submitUrl,size:32,className:gf.listItemLogo,dim:20}),(0,a.jsx)("div",{className:gf.listItemName,children:e.name})]},e.id)})]},e.key):null}):(0,a.jsx)("div",{className:gf.emptyResults,children:m.emptyResults})})]}),(0,a.jsx)("div",{className:gf.rightPanel,children:k?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:gf.detailHeader,children:[(0,a.jsx)(gh,{submitUrl:k.submitUrl,size:64,className:gf.detailLogo,dim:24}),(0,a.jsx)("h4",{className:gf.detailTitle,children:k.name})]}),(0,a.jsx)("p",{className:gf.detailDescription,children:k.description}),(0,a.jsxs)("div",{className:gf.stepCards,children:[(0,a.jsxs)("div",{className:gf.stepCard,children:[(0,a.jsx)("div",{className:gf.stepNumber,"aria-hidden":!0,
1children:"1"}),(0,a.jsxs)("div",{className:gf.stepBody,children:[(0,a.jsx)("div",{className:gf.stepAction,children:m.step1Action(k.name)}),(0,a.jsxs)("a",{href:k.submitUrl,target:"_blank",rel:"noreferrer",className:"".concat(gf.stepButton," ").concat(d.ButtonStyles.PrimarySmall),children:[m.step1Button(k.name),(0,a.jsx)("span",{className:gf.stepButtonIcon,"aria-hidden":!0,children:(0,a.jsx)(gg.G,{})})]})]})]}),(0,a.jsxs)("div",{className:gf.stepCard,children:[(0,a.jsx)("div",{className:gf.stepNumber,"aria-hidden":!0,children:"2"}),(0,a.jsxs)("div",{className:gf.stepBody,children:[(0,a.jsx)("div",{className:gf.stepAction,children:m.step2Action}),(0,a.jsx)(uF.l,{className:"".concat(d.FontStyles.Regular," ").concat(gf.stepInputLabel),children:m.step2InputLabel}),(0,a.jsx)(tf.g,{className:gf.stepInput,type:"text",placeholder:m.step2InputPlaceholder,value:D,onChange:e=>{I(e.target.value),T&&F(null)},onBlur:V}),T&&(0,a.jsx)("div",{className:gf.stepInputError,children:T})]})]})]})]}):(0,a.jsx)("div",{className:gf.emptyDetail,children:m.emptyDetail})})]})]})})}let gf={modal:(0,o.style)({display:"grid !important",maxWidth:"unset",width:880,boxSizing:"content-box",alignSelf:"center",justifySelf:"center",$nest:{".modal-content":{borderRadius:d.Spacing.Medium,boxShadow:d.BoxShadowStyles.xLarge}}}),body:(0,o.style)({padding:d.Spacing.xLarge,overflow:"hidden"}),header:(0,o.style)({marginBottom:d.Spacing.xLarge}),headerTop:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:d.Spacing.Small}),title:(0,o.style)({margin:0,flexGrow:1}),closeButton:(0,o.style)({height:d.Spacing.Large+d.Spacing.Micro,width:d.Spacing.xLarge,color:d.Colors.Subdued,cursor:"pointer",backgroundColor:d.StandardColors.ColorTransparent,padding:0,margin:0,border:"none",flexShrink:0,$nest:{"&:hover":{color:d.StandardColors.ColorLightGray90,backgroundColor:d.StandardColors.ColorTransparent}}}),content:(0,o.style)({display:"flex",gap:d.Spacing.Large,minHeight:480}),leftPanel:(0,o.style)({display:"flex",flexDirection:"column",width:280,flexShrink:0,gap:d.Spacing.Small}),searchInput:(0,o.style)({width:"100%"}),list:(0,o.style)({display:"flex",flexDirection:"column",gap:2,overflowY:"auto",minHeight:480,maxHeight:480,border:"1px solid ".concat(d.StandardColors.ColorLightGray30),borderRadius:d.Spacing.Micro,padding:d.Spacing.Micro}),listItem:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",gap:d.Spacing.Small,width:"100%",padding:"".concat(d.Spacing.Small,"px ").concat(d.Spacing.Medium,"px"),border:"none",borderRadius:d.Spacing.Micro,background:"transparent",textAlign:"left",cursor:"pointer",color:d.StandardColors.ColorDarkGray90,$nest:{"&:hover":{background:d.StandardColors.ColorLightGray10}}}),listItemLogo:(0,o.style)({flexShrink:0,borderRadius:4}),listItemSelected:(0,o.style)({background:d.StandardColors.ColorViolet05,$nest:{"&:hover":{background:d.StandardColors.ColorViolet05}}}),listItemName:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({fontSize:14})),emptyResults:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({padding:d.Spacing.Medium,color:d.StandardColors.ColorDarkGray05,fontSize:13})),groupHeading:"".concat(d.FontStyles.Overline," ").concat((0,o.style)({padding:"".concat(d.Spacing.Small,"px ").concat(d.Spacing.Medium,"px ").concat(d.Spacing.Micro,"px"),color:d.StandardColors.ColorDarkGray05,textTransform:"uppercase"})),suggestedErrorBanner:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({padding:d.Spacing.Large,margin:"".concat(d.Spacing.Micro,"px ").concat(d.Spacing.Medium,"px ").concat(d.Spacing.Small,"px"),borderRadius:d.Spacing.Micro,background:d.StandardColors.ColorOrange05,color:d.StandardColors.ColorDarkGray50})),rightPanel:(0,o.style)({flex:1,minWidth:0,display:"flex",flexDirection:"column",padding:d.Spacing.Large}),detailHeader:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Small}),detailLogo:(0,o.style)({flexShrink:0,borderRadius:6}),detailTitle:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({margin:0,fontSize:16,color:d.StandardColors.ColorDarkGray90})),detailDescription:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:14,marginTop:d.Spacing.Medium,marginBottom:
1d.Spacing.xxLarge})),stepCards:(0,o.style)({display:"flex",flexDirection:"column",gap:d.Spacing.xLarge}),stepCard:(0,o.style)({display:"flex",alignItems:"flex-start",gap:d.Spacing.Small}),stepNumber:"".concat(d.FontStyles.Medium," ").concat((0,o.style)({flexShrink:0,width:24,height:24,borderRadius:"50%",border:"1px solid ".concat(d.StandardColors.ColorLightGray30),display:"flex",alignItems:"center",justifyContent:"center",fontSize:12,color:d.StandardColors.ColorDarkGray05})),stepBody:(0,o.style)({flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:d.Spacing.Small}),stepAction:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:14,color:d.StandardColors.ColorDarkGray90})),stepButton:(0,o.style)({alignSelf:"flex-start",textDecoration:"none",display:"inline-flex",alignItems:"center",gap:d.Spacing.Micro,borderRadius:4}),stepInputLabel:(0,o.style)({marginTop:d.Spacing.Medium}),stepInput:(0,o.style)({width:"100%"}),stepButtonIcon:(0,o.style)({display:"inline-flex",alignItems:"center",$nest:{"& svg":{width:14,height:14}}}),stepInputError:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:12,color:d.StandardColors.ColorRed60,marginTop:d.Spacing.Micro})),emptyDetail:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray05,fontSize:13,margin:"auto"}))};function gS(){var e;let t=c.D.views.designer.components.properties.settings.seoPropertySection,{websiteSettings:n,setWebsiteSettings:o}=(0,j.Hb)(),{pushToastMessage:s}=(0,K.dj)(),{showPlanNotificationModal:i,ownerPlanType:l,ownerBillingStatus:d}=(0,ad.dp)(),[p,m]=(0,r.useState)(!1),[u,g]=(0,r.useState)(!1),[y,x]=(0,r.useState)(!1),[h,C]=(0,r.useState)(!1),f=null==(e=n.pages)?void 0:e.at(0);return(0,a.jsxs)(sP,{title:t.title,"data-sentry-element":"PropertySection","data-sentry-component":"SeoPropertySection","data-sentry-source-file":"SeoPropertySection.tsx",children:[p&&(0,a.jsx)(gu,{isOpen:p,onClosed:()=>m(!1)}),u&&(0,a.jsx)(gm,{isOpen:u,onClosed:()=>g(!1)}),h&&(0,a.jsx)(gC,{isOpen:h,onClosed:()=>C(!1)}),(0,a.jsxs)(w.A,{className:"".concat(gv.container),"data-sentry-element":"Container","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsxs)(L.A,{className:gv.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:gv.description,"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsx)("div",{className:gv.sectionTitle,children:t.pageTitleSection.title}),(0,a.jsx)("div",{className:"".concat(gv.sectionDescription),children:null==f?void 0:f.title})]}),(0,a.jsx)(k.A,{className:gv.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.editPageTitle,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(G.A,{className:gv.button,onClick:()=>m(!0),"data-sentry-element":"Button","data-sentry-source-file":"SeoPropertySection.tsx",children:t.pageTitleSection.button})})})]}),(0,a.jsxs)(L.A,{className:gv.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:gv.description,"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsx)("div",{className:gv.sectionTitle,children:t.seoKeywordsSection.title}),(0,a.jsx)("div",{className:gv.keywordsDescription,children:null==f?void 0:f.keywords})]}),(0,a.jsx)(k.A,{className:gv.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.editSEOKeywords,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(G.A,{className:gv.button,onClick:()=>g(!0),"data-sentry-element":"Button","data-sentry-source-file":"SeoPropertySection.tsx",children:t.seoKeywordsSection.button})})})]}),(0,a.jsxs)(L.A,{className:gv.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:"".concat(gv.description," ").concat(gv.directoriesDescription),"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsxs)("div",{className:gv.sectionTitleRow,children:[(0,a.jsx)("div",{className:gv.sectionTitle,children:t.directoriesSection.title}),(0,a.jsx)(aL.y,{tierOverride:d.isGrow?N.PlanType.GROW:N.PlanType.PRO,planModalReason:ad.Zh.MANAGE_DIRECTORIES,"data-sentry-element":"TierBadge","data-sentry-source-file":"SeoPropertySection.tsx"})]}),(0,a.jsx)("div",{className:"".concat(gv.sectionDescription),children:t.directoriesSection.description})]}),(0,a.jsx)(k.A,{className:gv.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.manageDirectories,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(G.A,{className:gv.button,onClick:()=>
1{if(!(0,ah.B0)(l))return void i(ad.Zh.MANAGE_DIRECTORIES);C(!0)},"data-sentry-element":"Button","data-sentry-source-file":"SeoPropertySection.tsx",children:t.directoriesSection.button})})})]}),(0,a.jsxs)(L.A,{className:gv.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsxs)(k.A,{className:gv.description,"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:[(0,a.jsx)("div",{className:gv.sectionTitle,children:t.searchIndexingSection.title}),(0,a.jsx)("div",{className:"".concat(gv.sectionDescription),children:t.searchIndexingSection.description})]}),(0,a.jsxs)(k.A,{className:gv.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"SeoPropertySection.tsx",children:[y&&(0,a.jsx)(gr,{isOpen:y,onCancel:()=>{x(!1)},onAccept:()=>{o({...n,indexForSearch:!1}),x(!1)}}),(0,a.jsx)(iv.A,{switch:!0,className:"justify-content-end","data-sentry-element":"FormGroup","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.searchIndexing,allowDefault:!0,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"SeoPropertySection.tsx",children:(0,a.jsx)(tf.g,{type:"switch",checked:n.indexForSearch,onChange:e=>{e.target.checked?(o({...n,indexForSearch:!0}),s(Y.vn.searchIndexingEnabled)):x(!0)},"data-sentry-element":"SoloInput","data-sentry-source-file":"SeoPropertySection.tsx"})})})]})]})]})]})}let gv={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({marginTop:d.Spacing.Small})),rowContainer:(0,o.style)({flex:1,justifyContent:"space-between",paddingTop:d.Spacing.Small-2,paddingBottom:d.Spacing.Small-2,$nest:{"&:not(:last-child)":{marginBottom:d.Spacing.Small}}}),sectionTitle:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray90,padding:0})),sectionTitleRow:(0,o.style)({display:"flex",alignItems:"center"}),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",maxWidth:164,color:d.StandardColors.ColorDarkGray05,flexDirection:"column",overflow:"hidden"})),directoriesDescription:(0,o.style)({maxWidth:240}),buttonContainer:"d-flex flex-column col-auto ".concat((0,o.style)({justifyContent:"center"})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular),sectionDescription:"".concat((0,o.style)({fontSize:"11px",textAlign:"left",textOverflow:"wrap",wordBreak:"break-word"})),keywordsDescription:(0,o.style)({fontSize:"11px",textAlign:"left",wordBreak:"break-word",display:"-webkit-box","-webkit-line-clamp":2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"})};var gb=n(50983);function gj(){let e=c.D.views.designer.components.properties.theme.websiteAddressPropertySection,{websiteDocument:t}=(0,M.SY)(),{websiteDomain:n}=(0,D.hi)(),[o,s]=(0,r.useState)(!1);if(!t)return null;let i=(null==n?void 0:n.state)===N.WebsiteDomainState.Connected?"https://".concat((0,sh.toDisplayDomain)(n.domainName)):(0,t$.kg)(t.handle);return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"WebsiteAddressPropertySection","data-sentry-source-file":"WebsiteDetailsPropertySection.tsx",children:(0,a.jsxs)(w.A,{className:"".concat(gw.container),"data-sentry-element":"Container","data-sentry-source-file":"WebsiteDetailsPropertySection.tsx",children:[o&&(0,a.jsx)(so,{isOpen:o,initialHandle:t.handle,toggle:()=>s(!o),closeModal:()=>s(!1),isEdit:!0}),t.handle&&(0,a.jsxs)(L.A,{className:"flex-grow-1 ".concat(gw.rowContainer),children:[(0,a.jsxs)(k.A,{className:gw.description,children:[(0,a.jsx)("div",{className:gw.title,children:e.title}),(0,a.jsx)(G.A,{className:"".concat(gw.button," ").concat(gw.websiteLinkButton),onClick:()=>(0,r8.V)(i),children:i}),(0,a.jsxs)("div",{className:gw.description,style:{maxWidth:6*d.Spacing.xxxLarge},children:[e.publishedSection.lastPublished,": ",(0,gb.VT)(t.lastPublishedAt)]})]}),(0,a.jsx)(k.A,{className:gw.buttonContainer,children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.editWebsiteHandle,children:(0,a.jsx)(G.A,{className:gw.button,onClick:()=>s(!0),children:e.websiteAddressSection.edit})})})]})]})})}let gw={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({})),rowContainer:(0,o.style)({flex:1,justifyContent:"space-between",paddingTop:d.Spacing.Small,paddingBottom:d.Spacing.Small}),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({marginBottom:0})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",maxWidth:210,color:d.StandardColors.ColorDarkGray05,flexDirection:"column"})),buttonContainer:"d-flex flex-row col-auto ".concat((0,o.style)({justifyContent:"center",alignItems:"center",columnGap:d.Spacing.Micro})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular," ").concat((0,o.style)({})),websiteLinkButton:"".concat((0,o.style)({fontSize:"11px",textAlign:"left",fontWeight:"400"})),divider:(0,o.style)({$debugName:"analytics-divider",height:"24px"})};function gL(){let e=c.D.views.designer.components.properties.settings.websiteSettingsLoggedOutPanelPropertySection;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"WebsiteSettingsLoggedOutPanelPropertySection","data-sentry-source-file":"WebsiteSettingsLoggedOutPanelPropertySection.tsx",children:(0,a.jsxs)("div",{className:gk.container,children:[(0,a.jsxs)("span",{className:gk.text,children:[(0,a.jsx)("span",{className:"".concat(gk.text," bold"),children:e.saveDraft}),e.description,(0,a.jsx)("br",{})]}),(0,a.jsx)("ul",{className:"".concat(gk.text," ps-4 pt-2"),children:e.bullets.map((e,t)=>(0,a.jsx)("li",{children:e},"".concat(t,"-").concat(e)))}),(0,a.jsx)("span",{className:gk.text,children:e.andMore})]})})}let gk={container:(0,o.style)({display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",width:"100%",height:"100%",padding:d.Spacing.Large,paddingBottom:d.Spacing.Large+d.Spacing.Micro,background:d.StandardColors.ColorOrange05,overflow:"hidden",borderRadius:d.Spacing.Micro}),text:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({wordWrap:"break-word",color:d.StandardColors.ColorDarkGray50,$nest:{"&.bold":{fontWeight:"600",color:d.StandardColors.ColorDarkGray90}}}))};function gM(e){let{close:t,...n}=e,{websiteSettings:o,setWebsiteSettings:r}=(0,j.Hb)(),s=c.D.views.designer.components.properties.settings.analyticsProperties.disconnectMod
1al;return(0,a.jsx)(sC.E,{title:s.title,acceptText:s.acceptText,cancelText:s.cancelText,onAccept:function(){r({...o,gaMeasurementId:""}),t()},onCancel:t,isDestructive:!0,...n,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DisconnectAnalyticsModal","data-sentry-source-file":"DisconnectAnalyticsModal.tsx",children:s.description})}function gP(){let e=c.D.views.designer.components.properties.settings.analyticsProperties,{websiteSettings:t}=(0,j.Hb)(),[n,o]=(0,r.useState)(!1),[s,i]=(0,r.useState)(!1),l=t.gaMeasurementId;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.A,{className:gN.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"AnalyticsProperties.tsx",children:[(0,a.jsxs)(k.A,{className:"flex-column ps-0","data-sentry-element":"Col","data-sentry-source-file":"AnalyticsProperties.tsx",children:[(0,a.jsx)("div",{className:gN.title,children:e.title}),(0,a.jsx)("div",{className:gN.description,children:e.description})]}),(0,a.jsx)(k.A,{className:"col-auto d-flex p-0","data-sentry-element":"Col","data-sentry-source-file":"AnalyticsProperties.tsx",children:(0,a.jsx)(eG.T,{eventName:l?ew.o.designer.settings.configureGoogleAnalytics:ew.o.designer.settings.addGoogleAnalytics,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"AnalyticsProperties.tsx",children:(0,a.jsx)(G.A,{className:d.LinkStyles.NoUnderlineNoPadding,onClick:()=>o(!0),"data-sentry-element":"Button","data-sentry-source-file":"AnalyticsProperties.tsx",children:l?e.edit:e.add})})}),l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.A,{className:"col-auto d-flex ps-1 pe-1",children:(0,a.jsx)(oy,{className:gD})}),(0,a.jsx)(k.A,{className:"col-auto d-flex ps-0 pe-0",children:(0,a.jsx)("a",{className:d.LinkStyles.NoUnderlineNoPadding,href:l.toUpperCase().startsWith("GTM")?c.D.externalLinks.googleAnalyticsGtm:c.D.externalLinks.googleAnalytics,target:"_blank",rel:"noreferrer",children:e.gaLinkLabel})})]})]}),n&&(0,a.jsx)(rU,{isOpen:n,onClosed:()=>{o(!1)},showDisconnectModal:()=>{i(!0),o(!1)}}),s&&(0,a.jsx)(gM,{isOpen:s,close:()=>i(!1)})]})}let gN={rowContainer:"align-items-center ".concat((0,o.style)({marginBlock:u.Spacing.Small,paddingTop:u.Spacing.Small-2,paddingBottom:u.Spacing.Small-2,margin:0})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:11,color:u.StandardColors.ColorDarkGray05,flexDirection:"column",textAlign:"left",marginRight:u.Spacing.Small,maxWidth:200})),title:(0,o.style)({color:u.StandardColors.ColorDarkGray50})},gD=(0,o.style)({$debugName:"analytics-divider",height:"24px"});function gI(e){let{saveCookieBannerProps:t,isOpen:n,onClosed:o,initialCookieBannerProps:s}=e,{defaults:i,modal:l}=c.D.views.designer.components.properties.settings.cookieBannerProperties,{resolvedTheme:p}=(0,j.Hb)(),[m,u]=(0,r.useState)(s.primaryText),[g,y]=(0,r.useState)(s.buttonText),[x,h]=(0,r.useState)(s.rejectButtonText||i.rejectButtonText),[C,f]=(0,r.useState)(s.sectionThemeMode),[S,v]=(0,r.useState)(!1),[b,w]=(0,r.useState)(!1),L=s.themeColor;async function M(){t({primaryText:m,buttonText:g,rejectButtonText:x,...C?{sectionThemeMode:C}:{}})}let P=g!==i.buttonText,N=x!==i.rejectButtonText;return(0,a.jsxs)(ty.y,{className:gT.modalDialog,title:l.title,onSave:M,isOpen:n,onClosed:o,centered:!0,"data-sentry-element":"ModalDialog","data-sentry-component":"CookieBannerModal","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:gT.description,children:l.description}),(0,a.jsx)("div",{className:"d-flex justify-content-end",children:(0,a.jsx)(th,{maxLimit:tg.H.cookiePrimaryText,currentText:(0,W.sanitizeHtml)(m,{allowedTags:[]}),visible:S,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"CookieBannerModal.tsx"})})]}),(0,a.jsx)(rT,{htmlContent:m,characterCountLimit:tg.H.cookiePrimaryText,onUpdateHtml:e=>u(e),enableBullets:!1,enableSupSubScripts:!1,onFocus:()=>v(!0),onBlur:()=>v(!1),"data-sentry-element":"RichTextEditor","data-sentry-source-file":"CookieBannerModal.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"CookieBannerModal.tsx"}),(0,a.jsxs)(iv.A,{row:!0,className:gT.formGroup,"data-sentry-element":"FormGroup","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsxs)(t1.A,{sm:6,for:"cookieBannerButtonLabel",className:"".concat(d.FontStyles.Label," ").concat(gT.label," d-flex flex-row justify-content-between pe-3"),"data-sentry-element":"Label","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsx)("span",{children:l.rejectButtonInputLabel}),(0,a.jsx)(th,{maxLimit:tg.H.buttonLabels,currentText:x,visible:b,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"CookieBannerModal.tsx"})]}),(0,a.jsxs)(k.A,{sm:6,className:"position-relative","data-sentry-element":"Col","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsx)(tf.g,{id:"cookieBannerRejectButtonLabel",className:N?"pe-5":"",type:"text",value:x,maxLength:tg.H.buttonLabels,onFocus:()=>w(!0),onBlur:()=>w(!1),onChange:e=>{h(e.target.value)},"data-sentry-element":"SoloInput","data-sentry-source-file":"CookieBannerModal.tsx"}),N&&(0,a.jsx)(nA,{onReset:()=>h(i.rejectButtonText)})]})]}),(0,a.jsxs)(iv.A,{row:!0,className:gT.formGroup,"data-sentry-element":"FormGroup","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsxs)(t1.A,{sm:6,for:"cookieBannerButtonLabel",className:"".concat(d.FontStyles.Label," ").concat(gT.label," d-flex flex-row justify-content-between pe-3"),"data-sentry-element":"Label","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsx)("span",{children:l.acceptButtonInputLabel}),(0,a.jsx)(th,{maxLimit:tg.H.buttonLabels,currentText:g,visible:b,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"CookieBannerModal.tsx"})]}),(0,a.jsxs)(k.A,{sm:6,className:"position-relative","data-sentry-element":"Col","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsx)(tf.g,{id:"cookieBannerButtonLabel",className:P?"pe-5":"",type:"text",value:g,maxLength:tg.H.buttonLabels,onFocus:()=>w(!0),onBlur:()=>w(!1),onChange:e=>{y(e.target.value)},"data-sentry-element":"SoloInput","data-sentry-source-file":"CookieBannerModal.tsx"}),P&&(0,a.jsx)(nA,{onReset:()=>y(i.buttonText)})]})]}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"CookieBannerModal.tsx"}),(0,a.jsxs)(iv.A,{row:!0,className:"align-items-center","data-sentry-element":"FormGroup","data-sentry-source-file":"CookieBannerModal.tsx",children:[(0,a.jsx)(t1.A,{className:"".concat(d.FontStyles.Label," ").concat(gT.label),sm:6,"data-sentry-element":"Label","data-sentry-source-file":"CookieBannerModal.tsx",children:l.colorInputLabel}),(0,a.jsx)(k.A,{sm:6,"data-sentry-element":"Col","data-sentry-source-file":"CookieBannerModal.tsx",children:(0,a.jsx)(sJ,{eventName:ew.o.designer.settings.cookieBannerColorChange,resolvedTheme:p,theme
1Color:L,selectedValue:C,onValueChanged:e=>f(e),"data-sentry-element":"SectionThemeModeSwatchSelector","data-sentry-source-file":"CookieBannerModal.tsx"})})]})]})}let gT={modalDialog:(0,o.style)({maxWidth:"440px"}),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({$debugName:"cookie-banner-modal-description",lineHeight:"".concat(d.Spacing.Large+d.Spacing.xSmall,"px"),marginBottom:d.Spacing.Large})),formGroup:"align-items-center ".concat((0,o.style)({$nest:{".solo-input-reset":{right:d.Spacing.Medium+2}}})),label:(0,o.style)({fontWeight:400,color:d.StandardColors.ColorDarkGray50})};function gB(){var e;let t=c.D.views.designer.components.properties.settings.cookieBannerProperties,[n,o]=(0,r.useState)(!1),{websiteSettings:s,setWebsiteSettings:i}=(0,j.Hb)(),l=(null==s||null==(e=s.cookieBanner)?void 0:e.enabled)||!1,{pushToastMessage:d}=(0,K.dj)(),p={...t.defaults};function m(e){i({...s,cookieBanner:{...p,...s.cookieBanner,...e}})}return(0,a.jsxs)(a.Fragment,{children:[n&&(0,a.jsx)(gI,{isOpen:n,onClosed:()=>o(!1),saveCookieBannerProps:m,initialCookieBannerProps:(null==s?void 0:s.cookieBanner)||p}),(0,a.jsx)(cb,{title:t.title,titleClassname:gA.title,subtitle:t.subtitle,propertyEnabled:l,setPropertyEnabled:function(e){var t;(null==s||null==(t=s.cookieBanner)?void 0:t.primaryText)||o(!0),e&&d(Y.vn.cookieBannerEnabled),m({enabled:e})},onClickEditButton:()=>o(!0),editEventName:ew.o.designer.settings.cookieBannerEdit,toggleEventName:ew.o.designer.settings.cookieBannerToggle,"data-sentry-element":"PropertySectionWithToggle","data-sentry-source-file":"CookieBannerProperties.tsx"})]})}let gA={title:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:u.StandardColors.ColorDarkGray50}))};var gH=n(79908),gF=n(10458);async function gR(e){var t;(0,E.assertBrowser)();let{auth:n}=(0,am.T)(),a=await (null==(t=n.currentUser)?void 0:t.getIdToken(!0));ai.ok(a,"Invalid authorization token.");try{let t=await fetch("/api/entri/config?websiteId=".concat(e),{method:"POST",headers:{Authorization:"Bearer ".concat(a),"Content-Type":"application/json"}});return await t.json()}catch(e){throw console.error("Failed to get entri config...\n ".concat(JSON.stringify(e))),e}}var gV=n(16910);function gW(){return(0,a.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AlertErrorFilled","data-sentry-source-file":"AlertErrorFilled.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 6C11.5 9.03757 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6C0.5 2.96243 2.96243 0.5 6 0.5C9.03757 0.5 11.5 2.96243 11.5 6ZM6.56607 6.25439L6.86783 3.99123C6.93781 3.46637 6.52949 3 5.99999 3C5.47049 3 5.06217 3.46637 5.13215 3.99123L5.43391 6.25439C5.47174 6.53811 5.71376 6.75 5.99999 6.75C6.28622 6.75 6.52824 6.53811 6.56607 6.25439ZM5.99999 9C6.4142 9 6.74999 8.66421 6.74999 8.25C6.74999 7.83579 6.4142 7.5 5.99999 7.5C5.58578 7.5 5.24999 7.83579 5.24999 8.25C5.24999 8.66421 5.58578 9 5.99999 9Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AlertErrorFilled.tsx"})})}var gE=n(39953);function gZ(){return(0,a.jsxs)("svg",{width:"200",height:"18",viewBox:"0 0 200 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"SoloDomainsFromMozilla","data-sentry-source-file":"SoloDomainsFromMozilla.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.9473 10.8883C8.5954 11.2628 9.42411 11.0406 9.79829 10.3918C10.1725 9.74312 9.95041 8.9136 9.30232 8.53906L6.85599 7.1253C6.2079 6.75076 5.37918 6.97303 5.00501 7.62175C4.63083 8.27048 4.85288 9.1 5.50098 9.47454L7.9473 10.8883Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M3.14648 2.27881C4.26789 2.2789 5.22044 2.98871 5.58887 3.98291C5.21955 3.77461 4.79366 3.65381 4.33887 3.65381C2.93547 3.65385 1.79787 4.78622 1.79785 6.18311C1.79785 6.56443 1.88431 6.92526 2.03613 7.24951C1.15148 6.83184 0.538086 5.93315 0.538086 4.88916C0.538278 3.44747 1.70615 2.27881 3.14648 2.27881Z",fill:"#7542E4","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M9.44887 0.589624C8.17574 -0.146126 6.60693 -0.14504 5.33482 0.592475L1.79785 2.64305C2.28724 2.39312 2.79232 2.34599 3.51906 2.76588L14.804 9.28765V4.9509C14.804 4.16717 14.3863 3.44298 13.7082 3.05111L9.44887 0.589624Z",fill:"#AB71FF","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M11.6582 15.7349C10.539 15.7348 9.58777 15.0278 9.21777 14.0366C9.58275 14.2416 10.0029 14.3598 10.4512 14.3599C11.8467 14.3599 12.9785 13.2275 12.9785 11.8306C12.9785 11.4427 12.8893 11.0761 12.7334 10.7476C13.637 11.1577 14.2666 12.0667 14.2666 13.1245C14.2664 14.5662 13.0985 15.7349 11.6582 15.7349Z",fill:"#E22850","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M5.3551 17.4241C6.62823 18.1598 8.19704 18.1588 9.46916 17.4212L13.0061 15.3707C12.5167 15.6206 12.0117 15.6677 11.2849 15.2478L3.78762e-07 8.72607L0 13.0628C-6.84492e-08 13.8465 0.417711 14.5707 1.09578 14.9626L5.3551 17.4241Z",fill:"#FF4F5E","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M24.6942 14.7454C22.7926 14.7454 21.0987 14.1056 19.8203 12.9219L21.1786 11.3064C22.2173 12.2021 23.3998 12.746 24.7901 12.746C25.9726 12.746 26.5799 12.2021 26.5799 11.5143C26.5799 10.7305 25.9407 10.4906 24.2628 10.1067C21.9457 9.57884 20.2997 8.92302 20.2997 6.79561C20.2997 4.76417 21.9616 3.37256 24.3586 3.37256C26.1484 3.37256 27.5387 3.9324 28.6573 4.89214L27.4268 6.58767C26.452 5.80389 25.3494 5.37201 24.2947 5.37201C23.288 5.37201 22.6807 5.89986 22.6807 6.55568C22.6807 7.35546 23.3359 7.61139 25.0298 7.99528C27.3949 8.52314 28.9609 9.22694 28.9609 11.2584C28.9609 13.3538 27.3789 14.7454 24.6942 14.7454Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M34.3272 14.7454C31.8663 14.7454 29.8048 12.762 29.8048 10.4106C29.8048 8.05926 31.8663 6.09181 34.3272 6.09181C36.7721 6.09181 38.8176 8.05926 38.8176 10.4106C38.8176 12.762 36.7721 14.7454 34.3272 14.7454ZM34.3272 12.778C35.5577 12.778 36.5964 11.6903 36.5964 10.4106C36.5964 9.13097 35.5577 8.05926 34.3272 8.05926C33.0808 8.05926 32.0421 9.13097 32.0421 10.4106C32.0421 11.6903 33.0808 12.778 34.3272 12.778Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M40.0766 14.5535V3.37256H42.4097V14.5535H40.0766Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M48.1855 14.7454C45.7246 14.7454 43.6632 12.762 43.6632 10.4106C43.6632 8.05926 45.7246 6.09181 48.1855 6.09181C50.6305 6.09181 52.6759 8.05926 52.6759 10.4106C52.6759 12.762 50.6305 14.7454 48.1855 14.7454ZM48.1855 12.778C49.416 12.778 50.4547 11.6903 50.4547 10.4106C50.4547 9.13097 49.416 8.05926 48.1855 8.05926C46.9391 8.05926 45.9004 9.13097 45.9004 10.4106C45.9004 11.6903 46.9391 12.778 48.1855 12.778Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M117.117 14.7246C115.906 14.7246 114.584 14.2939 113.596 13.4964L114.345 12.364C115.221 13.002 116.161 13.3688 117.133 13.3688C118.057 13.3688 118.695 12.9382 118.695 12.3002C118.695 11.5346 117.85 11.2954 116.83 11.0083C114.934 10.4819 113.994 9.93962 113.994 8.59983C113.978 7.0846 115.237 6.0957 116.99 6.0957C118.057 6.0957 119.141 6.46255 120.033 7.0527L119.332 8.21704C118.535 7.72259 117.707 7.45144 116.99 7.45144C116.177 7.45144 115.54 7.80234 115.54 8.42439C115.54 9.06238 116.05 9.25378 117.436 9.68443C118.79 10.0832 120.24 10.5298 120.24 12.1726C120.24 13.7357 118.918 14.7246 117.117 14.7246Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M109.188 6.0957C111.004 6.0957 112.279 7.41954 112.279 9.28568V14.5332H110.733
1V9.55683C110.733 8.32869 109.953 7.46739 108.837 7.46739C107.69 7.46739 106.702 8.21704 106.575 9.18998V14.5332H104.997V6.2871H106.575V7.48334C107.069 6.6699 108.072 6.0957 109.188 6.0957Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M102.332 4.9161C101.79 4.9161 101.376 4.46951 101.376 3.95911C101.376 3.46466 101.79 3.01807 102.332 3.01807C102.842 3.01807 103.272 3.46466 103.272 3.95911C103.272 4.46951 102.842 4.9161 102.332 4.9161ZM101.535 14.5339V6.28779H103.113V14.5339H101.535Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M96.2269 6.0957C98.4417 6.0957 99.6687 7.49929 99.6687 9.54088V14.5332H98.1231V13.4007C97.5175 14.262 96.3862 14.7246 95.3823 14.7246C93.6296 14.7246 92.3389 13.7038 92.3389 12.0929C92.3389 10.45 93.8208 9.34948 95.6373 9.34948C96.4499 9.34948 97.3263 9.52493 98.1231 9.79608V9.54088C98.1231 8.50413 97.645 7.40359 96.0038 7.40359C95.1911 7.40359 94.3944 7.72259 93.6774 8.08944L93.1037 6.9251C94.2829 6.33495 95.3186 6.0957 96.2269 6.0957ZM95.6851 13.4805C96.7049 13.4805 97.8522 12.9701 98.1231 11.9493V10.8488C97.4538 10.6414 96.689 10.5298 95.8763 10.5298C94.7768 10.5298 93.8526 11.1518 93.8526 12.045C93.8526 12.9382 94.6494 13.4805 95.6851 13.4805Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M87.9369 6.0957C89.6579 6.0957 90.9007 7.41954 90.9007 9.28568V14.5332H89.3551V9.52493C89.3551 8.31274 88.6381 7.46739 87.6023 7.46739C86.4232 7.46739 85.5946 8.24894 85.5946 9.38138V14.5332H84.049V9.52493C84.049 8.31274 83.3319 7.46739 82.2962 7.46739C81.117 7.46739 80.2884 8.24894 80.2884 9.38138V14.5332H78.7109V6.2871H80.2884V7.43549C80.7027 6.62205 81.5632 6.0957 82.6149 6.0957C83.8099 6.0957 84.7819 6.7337 85.26 7.75449C85.6424 6.7337 86.6941 6.0957 87.9369 6.0957Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M72.9624 14.7246C70.6041 14.7246 68.6123 12.7468 68.6123 10.4022C68.6123 8.05754 70.6041 6.0957 72.9624 6.0957C75.3047 6.0957 77.2806 8.05754 77.2806 10.4022C77.2806 12.7468 75.3047 14.7246 72.9624 14.7246ZM72.9624 13.3529C74.4443 13.3529 75.7031 12.0131 75.7031 10.4022C75.7031 8.80718 74.4443 7.46739 72.9624 7.46739C71.4486 7.46739 70.1898 8.80718 70.1898 10.4022C70.1898 12.0131 71.4486 13.3529 72.9624 13.3529Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M57.5576 14.5337V3.57617H61.3341C64.8715 3.57617 67.3891 5.84105 67.3891 9.04698C67.3891 12.2529 64.8715 14.5337 61.3341 14.5337H57.5576ZM59.167 13.0663H61.4297C63.9632 13.0663 65.732 11.4076 65.732 9.04698C65.732 6.70235 63.9632 5.04356 61.4297 5.04356H59.167V13.0663Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M143.669 14.3968V9.48775H144.398V10.2548H144.462C144.564 9.99272 144.729 9.78924 144.957 9.64435C145.185 9.49734 145.459 9.42383 145.778 9.42383C146.102 9.42383 146.372 9.49734 146.587 9.64435C146.804 9.78924 146.974 9.99272 147.095 10.2548H147.146C147.272 10.0012 147.46 9.79989 147.712 9.65075C147.963 9.49947 148.265 9.42383 148.616 9.42383C149.055 9.42383 149.414 9.56126 149.693 9.83611C149.973 10.1088 150.112 10.5339 150.112 11.1113V14.3968H149.358V11.1113C149.358 10.7491 149.259 10.4902 149.061 10.3347C148.862 10.1792 148.629 10.1014 148.361 10.1014C148.016 10.1014 147.748 10.2058 147.559 10.4146C147.369 10.6213 147.274 10.8833 147.274 11.2008V14.3968H146.507V11.0346C146.507 10.7555 146.416 10.5307 146.235 10.3603C146.054 10.1877 145.821 10.1014 145.535 10.1014C145.339 10.1014 145.156 10.1536 144.986 10.258C144.817 10.3624 144.681 10.5073 144.577 10.6926C144.474 10.8759 144.423 11.0879 144.423 11.3287V14.3968H143.669Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M140.293 14.4991C139.85 14.4991 139.461 14.3936 139.126 14.1827C138.794 13.9718 138.534 13.6767 138.346 13.2974C138.161 12.9181 138.068 12.475 138.068 11.9679C138.068 11.4565 138.161 11.0101 138.346 10.6287C138.534 10.2473 138.794 9.95117 139.126 9.74023C139.461 9.5293 139.85 9.42383 140.293 9.42383C140.736 9.42383 141.124 9.5293 141.456 9.74023C14
11.791 9.95117 142.051 10.2473 142.236 10.6287C142.423 11.0101 142.517 11.4565 142.517 11.9679C142.517 12.475 142.423 12.9181 142.236 13.2974C142.051 13.6767 141.791 13.9718 141.456 14.1827C141.124 14.3936 140.736 14.4991 140.293 14.4991ZM140.293 13.8216C140.629 13.8216 140.906 13.7353 141.124 13.5627C141.341 13.3901 141.502 13.1632 141.606 12.8819C141.711 12.6007 141.763 12.296 141.763 11.9679C141.763 11.6397 141.711 11.334 141.606 11.0506C141.502 10.7672 141.341 10.5382 141.124 10.3635C140.906 10.1887 140.629 10.1014 140.293 10.1014C139.956 10.1014 139.679 10.1887 139.462 10.3635C139.244 10.5382 139.084 10.7672 138.979 11.0506C138.875 11.334 138.823 11.6397 138.823 11.9679C138.823 12.296 138.875 12.6007 138.979 12.8819C139.084 13.1632 139.244 13.3901 139.462 13.5627C139.679 13.7353 139.956 13.8216 140.293 13.8216Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M135.1 14.3969V9.48784H135.828V10.2293H135.879C135.969 9.98642 136.131 9.78933 136.365 9.63805C136.6 9.48677 136.864 9.41113 137.158 9.41113C137.213 9.41113 137.282 9.4122 137.366 9.41433C137.449 9.41646 137.512 9.41966 137.554 9.42392V10.191C137.529 10.1846 137.47 10.175 137.378 10.1622C137.289 10.1473 137.194 10.1398 137.094 10.1398C136.855 10.1398 136.642 10.1899 136.455 10.29C136.269 10.3881 136.122 10.5244 136.014 10.6991C135.907 10.8717 135.854 11.0688 135.854 11.2904V14.3969H135.1Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M129.972 14.397V7.85156H133.896V8.55469H130.764V10.7663H133.602V11.4695H130.764V14.397H129.972Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"}),(0,a.jsx)("path",{d:"M158.444 5.49902L159.585 11.1125H159.994L161.135 5.49902H164.466V14.3403H162.648V7.04884H162.239L160.653 14.3403H158.932L157.345 7.04884H156.937V14.3403H155.112V5.49902H158.444ZM168.884 7.37222C170.983 7.37222 172.203 8.62916 172.203 10.9234C172.203 13.2176 170.989 14.4684 168.884 14.4684C166.779 14.4684 165.564 13.2115 165.564 10.9173C165.564 8.62305 166.785 7.37222 168.884 7.37222ZM168.884 13.0589C169.829 13.0589 170.281 12.5464 170.281 11.4176V10.4169C170.281 9.28813 169.836 8.7756 168.884 8.7756C167.932 8.7756 167.486 9.28813 167.486 10.4169V11.4176C167.492 12.5464 167.938 13.0589 168.884 13.0589ZM172.947 13.0223L176.419 8.81831H172.996V7.50036H178.585V8.81831L175.113 13.0223H178.634V14.3403H172.947V13.0223ZM179.586 7.50036H182.149V14.3403H180.33V8.81831H179.586V7.50036ZM180.33 5.49902H182.149V6.81697H180.33V5.49902ZM183.351 5.49902H185.913V14.3403H184.095V6.81697H183.351V5.49902ZM187.121 5.49902H189.684V14.3403H187.866V6.81697H187.121V5.49902ZM193.589 7.37222C194.602 7.37222 195.267 7.87255 195.462 8.74509H195.871V7.50036H198.037V8.81831H197.293V13.0223H198.037V14.3403H197C196.268 14.3403 195.871 13.9437 195.871 13.2115V13.0955H195.462C195.267 13.9681 194.602 14.4684 193.589 14.4684C191.991 14.4684 190.862 13.1077 190.862 10.9173C190.862 8.72678 191.991 7.37222 193.589 7.37222ZM194.126 13.0589C195.047 13.0589 195.468 12.5464 195.468 11.4176V10.4169C195.468 9.28813 195.047 8.7756 194.126 8.7756C193.205 8.7756 192.784 9.28813 192.784 10.4169V11.4176C192.784 12.5464 193.205 13.0589 194.126 13.0589Z",fill:"black","data-sentry-element":"path","data-sentry-source-file":"SoloDomainsFromMozilla.tsx"})]})}var gG=n(80086);function gO(e){let{ownerEmail:t,closeModal:n,...o}=e,r=c.D.views.designer.components.properties.settings.domainProperties.domainPermissionAlertModal;return(0,a.jsx)(_.A,{centered:!0,scrollable:!1,className:gz.container,isOpen:!0,modalTransition:{timeout:100},...o,"data-sentry-element":"Modal","data-sentry-component":"DomainPermissionAlertModal","data-sentry-source-file":"DomainPermissionAlertModal.tsx",children:(0,a.jsx)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"DomainPermissionAlertModal.tsx",children:(0,a.jsxs)(w.A,{className:d.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"DomainPermissionAlertModal.tsx",children:[(0,a.jsxs)("div",{className:gz.header,children:[(0,a.jsx)("h4",{className:gz.title,children:r.title}),(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:gz.closeButton,onClick:n,"aria-label":c.D.components.tooltips.close,children:(0,a.jsx)(aX.b,{})}),title:c.D.components.tooltips.close,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"DomainPermissionAlertModal.tsx"})]}),(0,a.jsx)(gG.R,{ownerEmail:t,domainActionPrevented:!0,className:gz.disclaimer,"data-sentry-element":"EditorUpgradeContent","data-sentry-source-file":"DomainPermissionAlertModal.tsx"})]})})})}let gz={container:(0,o.style)({display:"flex",width:440,marginInline:"auto",$nest:{".modal-content":{boxShadow:"0 0 1px 0 rgba(0, 0, 0, 0.30), 0 9px 18px 0 rgba(0, 0, 0, 0.28)",outline:"none",border:0,borderWidth:0,borderRadius:d.Spacing.xLarge,padding:d.Spacing.xxLarge},".modal-body":{overflow:"hidden",textAlign:"left",padding:0},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),header:(0,o.style)({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",columnGap:d.Spacing.xLarge,paddingBottom:d.Spacing.xLarge}),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({fontSize:(0,d.important)(21),lineHeight:(0,d.important)("28px"),marginBottom:0})),closeButton:(0,o.style)({alignSelf:"flex-start",flexShrink:0,height:d.Spacing.xLarge,width:d.Spacing.xLarge,color:d.Colors.Subdued,cursor:"pointer",backgroundColor:d.StandardColors.ColorTransparent,padding:0,margin:0,border:"none",$nest:{"&:hover":{color:d.StandardColors.ColorLightGray90,backgroundColor:d.StandardColors.ColorTransparent},svg:{height:d.Spacing.Large+d.Spacing.Micro,width:d.Spacing.Large+d.Spacing.Micro}}}),disclaimer:(0,o.style)({marginBottom:(0,d.important)(0)})};function g$(e){let t=c.D.views.designer.components.properties.settings.domainProperties.customDomainSelectionModal,n=ew.o.designer.settings,{closeModal:o,onPurchaseClick:s,onConnectClick:i,...l}=e,{isWebsiteOwner:p,websiteOwnerEmail:m}=(0,M.SY)(),[u,g]=(0,r.useState)(!1),y=p()?s:()=>g(!0);return u?(0,a.jsx)(gO,{ownerEmail:m,closeModal:()=>g(!1)}
1):(0,a.jsx)(_.A,{centered:!0,scrollable:!1,className:gX.container,isOpen:!0,modalTransition:{timeout:100},...l,"data-sentry-element":"Modal","data-sentry-component":"CustomDomainSelectionModal","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:(0,a.jsx)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:(0,a.jsxs)(w.A,{className:d.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsx)(L.A,{className:gX.headerSection,"data-sentry-element":"Row","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:(0,a.jsxs)(k.A,{className:"justify-content-between","data-sentry-element":"Col","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:gX.title,children:t.title})}),(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:gX.closeButton,onClick:o,children:(0,a.jsx)(aX.b,{})}),title:c.D.components.tooltips.close,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"CustomDomainSelectionModal.tsx"})]})}),(0,a.jsx)(L.A,{className:gX.description,"data-sentry-element":"Row","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:(0,a.jsxs)("span",{children:[t.description," ",(0,a.jsx)(eG.T,{href:t.learnMoreUrl,target:"_blank",rel:"noreferrer",eventName:n.customDomainModalLearnMoreClicked,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:(0,a.jsx)("span",{className:d.LinkStyles.UnderlinePersistent,children:t.learnMore})})]})}),(0,a.jsxs)(L.A,{className:gK.wrapper,"data-sentry-element":"Row","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsx)(gU,{...t.options.connect,type:"connect",customElement:(0,a.jsx)(g_,{onConnectClick:i}),"data-sentry-element":"DomainOption","data-sentry-source-file":"CustomDomainSelectionModal.tsx"}),(0,a.jsx)(gU,{...t.options.purchase,type:"purchase",analyticsEvent:n.connectNewDomainClick,onClick:y,"data-sentry-element":"DomainOption","data-sentry-source-file":"CustomDomainSelectionModal.tsx"})]})]})})})}function gU(e){let{type:t,title:n,description:o,subordinate:r,buttonLabel:s,onClick:i,analyticsEvent:l,customElement:c}=e;return(0,a.jsxs)("div",{className:"".concat(gK.container," ").concat("purchase"===t?"pb-0":""),"data-sentry-component":"DomainOption","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsxs)("div",{className:gK.primarySection,children:[(0,a.jsxs)("div",{className:gK.leftSection,children:[(0,a.jsxs)("div",{className:gK.textArea,children:[(0,a.jsx)("div",{className:d.FontStyles.SemiBold,children:n}),(0,a.jsx)("div",{className:"".concat(d.FontStyles.Regular," ").concat(gK.descriptionText),children:o})]}),c&&(0,a.jsx)("div",{children:c}),(0,a.jsx)("div",{className:gK.subordinateText,children:"purchase"===t?(0,a.jsx)(gZ,{}):r})]}),s&&i&&l&&(0,a.jsx)(eG.T,{eventName:l,children:(0,a.jsx)(G.A,{className:gK.button,onClick:i,children:s})})]}),"purchase"===t&&i&&(0,a.jsx)(gq,{onPurchaseClick:i})]})}function g_(e){let{onConnectClick:t}=e,n=c.D.views.designer.components.properties.settings.domainProperties.customDomainSelectionModal.options.connect.inputArea,o=ew.o.designer.settings,[s,i]=(0,r.useState)(""),[l,p]=(0,r.useState)(!1),[m,u]=(0,r.useState)(!1);async function g(){let e=(0,sh.toAsciiDomain)(s);if(!e||!(0,n_.Nr)(e))return void p(!0);u(!0);try{await t((0,n_.WA)(e))}finally{u(!1)}}return(0,a.jsxs)("div",{className:gX.connectDomainInputArea,"data-sentry-component":"ConnectDomainInputArea","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsx)("div",{className:"".concat(d.FontStyles.Regular," text"),children:n.title}),(0,a.jsxs)("div",{className:"input-area",children:[(0,a.jsx)(tf.g,{id:"domain-input",type:"text",autoFocus:!0,className:"input",placeholder:n.placeholder,maxLength:tg.H.domain,value:s,onChange:e=>{let t=e.target.value.toLowerCase().trim();t&&p(!(0,n_.Nr)((0,sh.toAsciiDomain)(t))),i(t)},onBlur:()=>p(!(0,n_.Nr)((0,sh.toAsciiDomain)(s))),invalid:!!l&&""!==s,disabled:m,onKeyDown:async e=>{"Enter"===e.key&&g()},"data-sentry-element":"SoloInput","data-sentry-source-file":"CustomDomainSelectionModal.tsx"}),(0,a.jsx)(eG.T,{eventName:o.connectExistingDomainClick,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:(0,a.jsxs)(G.A,{className:gK.button,onClick:g,disabled:m||!!l&&""!==s,style:{position:"relative"},"data-sentry-element":"Button","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsx)("span",{style:{visibility:m?"hidden":"visible"},children:n.button}),m&&(0,a.jsx)(gV.A,{size:"sm",style:{position:"absolute",inset:0,margin:"auto"}})]})})]})]})}function gq(e){let{onPurchaseClick:t}=e,{ownerBillingStatus:n,ownerBillingStatus:{isPro:o,isGrow:r},showPlanNotificationModal:s}=(0,ad.dp)(),{freeDomainAvailable:i}=(0,D.hi)(),l=ew.o.designer.settings,p=c.D.views.designer.components.properties.settings.domainProperties.customDomainSelectionModal.options.purchase.redeemDomainArea,m=(i?p.availableToRedeemDescription:p.alreadyRedeemedDescription)[o||r?N.PlanType.PRO:N.PlanType.FREE],u=o||r?{text:p.redeemed,icon:(0,a.jsx)(gE.M,{})}:{text:p.alreadyRedeemed,icon:(0,a.jsx)(gW,{})};return(0,a.jsxs)("div",{className:gY.container,"data-sentry-component":"RedeemDomainArea","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsx)(aL.y,{tierOverride:n.isGrow?N.PlanType.GROW:N.PlanType.PRO,className:gY.proBadge,planModalReason:ad.Zh.CONNECT_CUSTOM_DOMAIN,"data-sentry-element":"TierBadge","data-sentry-source-file":"CustomDomainSelectionModal.tsx"}),(0,a.jsxs)("span",{children:[(o||r)&&i?(0,a.jsx)(eG.T,{className:gY.redeemLink,onClick:t,eventName:l.redeemFreeDomainClick,role:"button","aria-label":m,children:m}):m,!(o||r)&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)("a",{className:d.LinkStyles.UnderlinePersistent,onClick:()=>s(ad.Zh.CONNECT_CUSTOM_DOMAIN),children:p.upgrade})]})]}),!i&&(0,a.jsx)(gQ,{...u})]})}function gQ(e){let{text:t,icon:n}=e;return(0,a.jsxs)("div",{className:gY.notificationBadge,"data-sentry-component":"BadgeNotification","data-sentry-source-file":"CustomDomainSelectionModal.tsx",children:[(0,a.jsx)("div",{className:"icon",children:n}),t]})}
1let gK={wrapper:(0,o.style)({display:"flex",flexDirection:"column",rowGap:d.Spacing.Large}),container:(0,o.style)({display:"flex",flexDirection:"column",paddingBlock:d.Spacing.xLarge-d.Spacing.Micro,paddingInline:d.Spacing.xLarge,border:"1px solid ".concat(d.StandardColors.ColorLightGray40),borderRadius:d.Spacing.Small}),primarySection:(0,o.style)({display:"flex",flexDirection:"row",columnGap:d.Spacing.xLarge}),leftSection:(0,o.style)({display:"flex",flexDirection:"column",rowGap:d.Spacing.Medium,width:"100%"}),textArea:(0,o.style)({display:"flex",flexDirection:"column",paddingRight:d.Spacing.Micro}),button:"".concat(d.ButtonStyles.PrimarySmall," ").concat((0,o.style)({margin:"auto",whiteSpace:"nowrap"})),descriptionText:(0,o.style)({color:d.StandardColors.ColorDarkGray50}),subordinateText:"".concat(d.FontStyles.Subordinate," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray05}))},gY={container:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",flexWrap:"wrap",rowGap:d.Spacing.Small,columnGap:d.Spacing.Small,minHeight:d.Spacing.xxxLarge,borderTop:"1px solid ".concat(d.StandardColors.ColorLightGray40),marginTop:d.Spacing.Large+d.Spacing.Micro,marginInline:-d.Spacing.xLarge,paddingInline:d.Spacing.xLarge,paddingBlock:d.Spacing.Small,backgroundColor:(0,d.hexToRgbaHex)(d.StandardColors.ColorViolet05,.5)}),redeemLink:(0,o.style)({textDecoration:"underline",cursor:"pointer",color:d.StandardColors.ColorViolet60,display:"inline",$nest:{"&:hover, &:active":{color:(0,d.important)(d.StandardColors.ColorDarkGray90),cursor:"pointer"}}}),proBadge:(0,o.style)({margin:(0,d.important)(0)}),notificationBadge:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"center",height:d.Spacing.xLarge-2,border:"1px solid ".concat(d.StandardColors.ColorLightGray40),borderRadius:d.Spacing.Micro,paddingInline:d.Spacing.Small-1,paddingBlock:d.Spacing.Micro/2,columnGap:d.Spacing.Micro,color:d.StandardColors.ColorDarkGray05,fontWeight:500,fontSize:"11px",$nest:{".icon svg":{width:12,height:12}}})},gX={container:(0,o.style)({display:"flex",minWidth:576,maxWidth:576,boxSizing:"content-box",$nest:{".modal-content":{borderRadius:d.Spacing.Medium,borderWidth:0,border:0,outline:"none",boxShadow:d.BoxShadowStyles.xLarge,paddingInline:d.Spacing.xLarge,paddingBottom:d.Spacing.xLarge},".modal-body":{overflow:"hidden",textAlign:"left",padding:0},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),closeButton:(0,o.style)({height:d.Spacing.Large+d.Spacing.Micro,color:d.Colors.Subdued,cursor:"pointer",backgroundColor:d.StandardColors.ColorTransparent,padding:0,margin:0,border:"none",width:d.Spacing.xLarge,$nest:{"&:hover":{color:d.StandardColors.ColorLightGray90,backgroundColor:d.StandardColors.ColorTransparent}}}),headerSection:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",paddingBlock:d.Spacing.Large+d.Spacing.Micro,textAlign:"left"})),title:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({fontSize:"18px !important",lineHeight:"24px !important"})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({paddingRight:d.Spacing.Large,paddingBottom:d.Spacing.xLarge,color:d.StandardColors.ColorDarkGray50})),connectDomainInputArea:(0,o.style)({display:"flex",flexDirection:"column",$nest:{"& .text":{paddingBlock:3,color:d.StandardColors.ColorDarkGray50},"& .input-area":{display:"flex",flexDirection:"row",columnGap:d.Spacing.Small,marginTop:d.Spacing.Micro,width:"100%",marginInline:"auto"},"& .input":{height:d.Spacing.xxLarge-2,width:"100%"}}})};function gJ(e){let t=c.D.views.designer.components.properties.settings.domainProperties.configureExistingDomainModal,{domainDocument:n,closeModal:o,onDisconnect:r,...s}=e;return(0,a.jsx)(_.A,{centered:!0,scrollable:!1,className:g1.container,isOpen:!0,modalTransition:{timeout:100},...s,"data-sentry-element":"Modal","data-sentry-component":"DisconnectDomainModal","data-sentry-source-file":"DisconnectDomainModal.tsx",children:(0,a.jsx)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"DisconnectDomainModal.tsx",children:(0,a.jsxs)(w.A,{className:d.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"DisconnectDomainModal.tsx",children:[(0,a.jsx)(L.A,{className:g1.headerSection,"data-sentry-element":"Row","data-sentry-source-file":"DisconnectDomainModal.tsx",children:(0,a.jsxs)(k.A,{className:"justify-content-between","data-sentry-element":"Col","data-sentry-source-file":"DisconnectDomainModal.tsx",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:g1.title,children:t.title})}),(0,a.jsx)(J.x,{target:(0,a.jsx)(G.A,{className:g1.closeButton,onClick:o,children:(0,a.jsx)(aX.b,{})}),title:c.D.components.tooltips.close,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"DisconnectDomainModal.tsx"})]})}),(0,a.jsx)(L.A,{className:g1.description,"data-sentry-element":"Row","data-sentry-source-file":"DisconnectDomainModal.tsx",children:"".concat(t.domainName,"\n").concat((0,sh.toDisplayDomain)(n.domainName))}),(0,a.jsx)(L.A,{className:g1.description,"data-sentry-element":"Row","data-sentry-source-file":"DisconnectDomainModal.tsx",children:"".concat(t.connected,"\n").concat((0,gb.VT)(e.domainDocument.modifiedAt))}),(0,a.jsx)(eu.c,{className:g1.divider,"data-sentry-element":"Divider","data-sentry-source-file":"DisconnectDomainModal.tsx"}),(0,a.jsx)(G.A,{className:"".concat(g1.disconnectButton),onClick:r,"data-sentry-element":"Button","data-sentry-source-file":"DisconnectDomainModal.tsx",children:t.disconnect})]})})})}let g1={container:(0,o.style)({display:"flex",width:440,boxSizing:"content-box",$nest:{".modal-content":{borderRadius:d.Spacing.Medium,borderWidth:0,border:0,outline:"none",boxShadow:d.BoxShadowStyles.xLarge,paddingInline:d.Spacing.xLarge,paddingBottom:d.Spacing.xLarge},".modal-body":{overflow:"hidden",textAlign:"left",padding:0},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}}),closeButton:(0,o.style)({height:d.Spacing.Large+d.Spacing.Micro,color:d.Colors.Subdued,cursor:"pointer",backgroundColor:d.StandardColors.ColorTransparent,padding:0,margin:0,border:"none",$nest:{"&:hover":{color:d.StandardColors.ColorLightGray90,backgroundColor:d.StandardColors.ColorTransparent}}}),divider:(0,o.style)({marginBlock:0}),headerSection:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({display:"flex",paddingBlock:d.Spacing.Large+d.Spacing.Micro,textAlign:"left"})),title:"".concat(d.FontStyles.Bold," ").concat((0,o.style)({fontSize:"18px !important",lineHeight:"24px !important"})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({paddingRight:d.Spacing.Large,paddingBottom:d.Spacing.Large,color:d.StandardColors.ColorDarkGray50,whiteSpace:"pre-line"})),disconnectButton:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular,"} ").concat((0,o.style)({paddingTop:d.Spacing.Large}))},g0=c.D.views.designer.components.properties.settings.domainProperties.domainAlreadyConnectedModal;function g3(e){let{domain:t,holdingSite:n,isOwner:o,ownerEmail:r,onMove:s,onClose:i}=e;return o?(0,a.jsx)(sC.E,{title:g0.title,warningAlertIcon:!0,acceptText:g0.moveButton,cancelText:g0.cancelButton,onAccept:s,onCancel:i,children:g0.ownerBody(t,n)}):(0,a.jsx)(sC.E,{title:g0.title,warningAlertIcon:!0,acceptText:g0.dism
1issButton,onAccept:i,onCancel:i,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DomainAlreadyConnectedModal","data-sentry-source-file":"DomainAlreadyConnectedModal.tsx",children:g0.editorBody(t,n,r)})}function g2(e){let t=function(e){let t=c.D.views.designer.components.properties.settings.domainProperties.domainErrorModal;switch(e.errorType){case gH.X.OwnershipVerificationFailure:return{...t.domainPending,description:t.domainPending.description((0,sh.toDisplayDomain)(e.domainName))};case gH.X.DisconnectFailure:return t.disconnectError;case gH.X.MoveFailure:return t.moveError;default:return t.generic}}(e.error);return(0,a.jsx)(s_,{title:t.header,description:t.description,buttonText:t.button,...e,"data-sentry-element":"GenericFailureMessageModal","data-sentry-component":"DomainErrorModal","data-sentry-source-file":"DomainErrorModal.tsx"})}var g6=n(78012),g5=n(75970),g4=n(43385),g7=n(74167),g9=n(20407),g8=n(13086),ye=n(46801);let yt=[1,2,3,5,10];parseFloat(r0.wK||"1.15"),parseFloat(r0.IJ||"15"),parseFloat(r0.sR||"5"),parseFloat(r0.Jf||"15");var yn=n(29758),ya=n(27152);let yo={columns:(0,o.style)({display:"flex",gap:d.Spacing.xLarge,paddingBottom:d.Spacing.xxLarge}),formColumn:(0,o.style)({flex:"1 1 0",minWidth:0,display:"flex",flexDirection:"column",gap:d.Spacing.Large}),backLink:(0,o.style)({display:"inline-flex",alignItems:"center",height:d.Spacing.xxLarge,gap:d.Spacing.Micro,background:"none",border:"none",paddingLeft:0,marginTop:d.Spacing.Large,color:d.Colors.Primary,$nest:{"&:hover, &:active":{color:d.StandardColors.ColorDarkGray90}}}),sectionTitle:(0,o.style)({fontWeight:600,lineHeight:"120%",margin:0,marginBottom:d.Spacing.Micro}),sectionSubtitle:(0,o.style)({color:d.StandardColors.ColorDarkGray50,margin:0}),fieldRow:(0,o.style)({display:"flex",gap:d.Spacing.Medium}),optionalLabel:(0,o.style)({color:d.StandardColors.ColorDarkGray05,fontWeight:400})};var yr=n(23075),ys=n(4853);let yi={summaryColumn:(0,o.style)({flex:"0 0 300px"}),summarySticky:(0,o.style)({position:"sticky",top:d.Spacing.xLarge}),discountBox:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"".concat(d.Spacing.Medium,"px ").concat(d.Spacing.Large,"px"),border:"1px solid ".concat(d.Colors.Border),borderRadius:d.Spacing.Small,marginBottom:d.Spacing.Large}),discountToggle:(0,o.style)({marginBottom:"0 !important"}),discountLabel:(0,o.style)({color:d.StandardColors.ColorDarkGray50}),discountHelpIcon:(0,o.style)({display:"inline-flex",color:d.Colors.Primary,$nest:{"& svg":{width:d.Spacing.Large,height:d.Spacing.Large}}}),summaryCard:(0,o.style)({display:"flex",flexDirection:"column",gap:d.Spacing.Large,backgroundColor:d.StandardColors.ColorLightGray20,border:"1px solid ".concat(d.StandardColors.ColorLightGray40),borderRadius:d.Spacing.Small,padding:d.Spacing.xLarge,$nest:{"& > *":{margin:0}}}),summaryLabel:(0,o.style)({display:"block",color:d.StandardColors.ColorDarkGray50,marginBottom:d.Spacing.Micro}),textSecondary:(0,o.style)({color:d.Colors.TextSecondary}),prominentText:(0,o.style)({color:d.Colors.TextSecondary,fontSize:16,fontWeight:500,lineHeight:"20px"}),registrationRow:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Small}),registrationLabel:(0,o.style)({flex:1}),strikethroughPrice:(0,o.style)({textDecoration:"line-through"}),freeText:(0,o.style)({color:d.StandardColors.ColorRed60}),termRow:(0,o.style)({display:"flex",alignItems:"center",$nest:{"& > *":{flex:"1 1 0"}}}),termPrice:(0,o.style)({textAlign:"right"}),dropdownText:(0,o.style)({paddingLeft:d.Spacing.Micro,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),summaryDivider:(0,o.style)({borderTop:"1px solid ".concat(d.StandardColors.ColorLightGray40)}),summarySubtotal:(0,o.style)({display:"flex",justifyContent:"space-between",alignItems:"center",height:d.Spacing.xLarge}),legalDisclaimerSpacing:(0,o.style)({paddingBottom:d.Spacing.Small}),icannPolicyLineLayout:(0,o.style)({paddingLeft:d.Spacing.xLarge,paddingRight:d.Spacing.xLarge,paddingTop:d.Spacing.Large}),agreementCheckbox:(0,o.style)({columnGap:d.Spacing.Small,alignItems:"flex-start"}),agreementCheckboxError:(0,o.style)({$nest:{"input[type='checkbox']":{outline:"1px solid ".concat(d.Colors.Danger),outlineOffset:1,borderRadius:2}}}),paymentButton:"".concat(d.ButtonStyles.Primary," w-100"),cardError:(0,o.style)({display:"flex",alignItems:"flex-start",justifyContent:"flex-start",ga
1p:d.Spacing.Small,color:d.StandardColors.ColorRed60,marginTop:d.Spacing.Large}),cardErrorIcon:(0,o.style)({display:"inline-flex",color:d.StandardColors.ColorRed60})},yl=c.D.views.designer.components.properties.settings.domainProperties.domainCheckoutModal;function yc(e){let{selectedDomain:t,availableYears:n,selectedYears:o,onSelectedYearsChange:r,redeemFree:s,onRedeemFreeChange:i,submitting:l,hasVisibleErrors:p,submitError:m,onSubmit:u,agreementChecked:g,agreementError:y,onAgreementChange:x}=e,{annualPrice:h}=t,C="$".concat((0,E.formatUsdAmount)(s?0:h*o,2));return(0,a.jsx)("div",{className:yi.summaryColumn,"data-sentry-component":"DomainCheckoutSummary","data-sentry-source-file":"DomainCheckoutSummary.tsx",children:(0,a.jsxs)("div",{className:yi.summarySticky,children:[t.freeEligible&&(0,a.jsxs)("div",{className:yi.discountBox,children:[(0,a.jsx)(iv.A,{switch:!0,className:yi.discountToggle,children:(0,a.jsx)(tf.g,{id:"checkout-free-credit-toggle",type:"switch",checked:s,onChange:e=>i(e.target.checked)})}),(0,a.jsx)("label",{htmlFor:"checkout-free-credit-toggle",className:"".concat(d.FontStyles.Regular," ").concat(yi.discountLabel),children:yl.freeCreditToggle}),(0,a.jsx)(J.x,{target:(0,a.jsx)("span",{className:yi.discountHelpIcon,tabIndex:0,role:"button","aria-label":c.D.components.tooltips.moreInformation,children:(0,a.jsx)(ys.a,{})}),placement:"bottom",heading:yl.freeCreditTooltip.heading,children:yl.freeCreditTooltip.body})]}),(0,a.jsxs)("div",{className:yi.summaryCard,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"".concat(d.FontStyles.Regular," ").concat(yi.summaryLabel),children:yl.domainLabel}),(0,a.jsx)("span",{className:yi.prominentText,children:(0,sh.toDisplayDomain)(t.domainName)})]}),s?(0,a.jsxs)("div",{className:yi.registrationRow,children:[(0,a.jsx)("span",{className:"".concat(d.FontStyles.Regular," ").concat(yi.registrationLabel),children:yl.registrationLabel}),(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued," ").concat(yi.strikethroughPrice),children:["$",(0,E.formatUsdAmount)(h),"/year"]}),(0,a.jsx)("span",{className:"".concat(d.FontStyles.SemiBold," ").concat(yi.freeText),children:yl.freeLabel})]}):(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"".concat(d.FontStyles.Regular," ").concat(yi.summaryLabel),children:yl.registrationTermLabel}),(0,a.jsxs)("div",{className:yi.termRow,children:[(0,a.jsx)("div",{children:(0,a.jsx)(nT.V,{values:n,selectedValue:o,onValueChanged:r,variant:"outlined",headerItemTemplate:e=>(0,a.jsx)("span",{className:yi.dropdownText,children:yl.registrationPeriod(null!=e?e:1)}),itemTemplate:e=>(0,a.jsx)("span",{children:yl.registrationPeriod(null!=e?e:1)})})}),(0,a.jsxs)("span",{className:yi.termPrice,children:["$",(0,E.formatUsdAmount)(h),"/year"]})]})]}),(0,a.jsx)("div",{className:yi.summaryDivider}),(0,a.jsxs)("div",{className:yi.summarySubtotal,children:[(0,a.jsx)("span",{className:yi.prominentText,children:yl.subtotal}),(0,a.jsx)("span",{className:yi.prominentText,children:C})]}),(0,a.jsxs)("div",{className:"".concat(d.FontStyles.Regular," ").concat(d.FontStyles.Subdued," ").concat(yi.legalDisclaimerSpacing),children:[yl.legalDisclaimer.partA,(0,a.jsx)("a",{className:d.LinkStyles.Underline,href:c.D.externalLinks.termsOfService,target:"_blank",rel:"noopener noreferrer",children:yl.legalDisclaimer.termsOfService}),yl.legalDisclaimer.partB,(0,a.jsx)("a",{className:d.LinkStyles.Underline,href:c.D.externalLinks.privacyPolicy,target:"_blank",rel:"noopener noreferrer",children:yl.legalDisclaimer.privacyPolicy})]}),(0,a.jsx)(yr.R,{className:y?"".concat(yi.agreementCheckbox," ").concat(yi.agreementCheckboxError):yi.agreementCheckbox,checked:g,onChange:e=>x(e.target.checked),label:(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Regular," ").concat(d.FontStyles.Subdued),children:[yl.registrationAgreementCheckbox.partA,(0,a.jsx)("a",{className:d.LinkStyles.Underline,href:c.D.externalLinks.domainRegistrationAgreement,target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),children:yl.registrationAgreementCheckbox.agreement})]}),"data-sentry-element":"LabeledCheckbox","data-sentry-source-file":"DomainCheckoutSummary.tsx"}),(0,a.jsx)(G.A,{className:yi.paymentButton,disabled:p||l,onClick:u,"data-sentry-element":"Button","data-sentry-source-file":"DomainCheckoutSummary.tsx",children:l?yl.submitting:yl.checkout}),(m||p)&&(0,a.jsxs)("div",{className:"".concat(d.FontStyles.Medium," ").concat(yi.cardError),children:[(0,a.jsx)("span",{className:yi.cardErrorIcon,children:(0,a.jsx)(e4.F,{})}),(0,a.jsx)("span",{children:null!=m?m:yl.correctErrors})]}),y&&(0,a.jsxs)("div",{className:"".concat(d.FontStyles.Medium," ").concat(yi.cardError),children:[(0,a.jsx)("span",{className:yi.cardErrorIcon,children:(0,a.jsx)(e4.F,{})}),(0,a.jsx)("span",{children:yl.registrationAgreementError})]})]}),(0,a.jsxs)("div",{className:"".concat(d.FontStyles.Regular," ").concat(yi.icannPolicyLineLayout," ").concat(yi.textSecondary),children:[yl.icannPolicyLine.partA,(0,a.jsx)("a",{className:d.LinkStyles.Underline,href:c.D.externalLinks.icannPolicy,target:"_blank",rel:"noopener noreferrer",children:yl.icannPolicyLine.benefitsAndResponsibilities}),yl.icannPolicyLine.partB]})]})})}let yd={firstName:"",lastName:"",email:"",company:"",country:"",phone:"",address1:"",address2:"",city:"",state:"",zip:""},yp=["firstName","lastName","email","phone","address1","city","state","zip","country"],ym=c.D.views.designer.components.properties.settings.domainProperties.domainCheckoutModal;function yu(e,t){if(yp.includes(e)&&!t.trim())return ym.required;if("email"===e&&t.trim()&&(t.trim().length>254||!(0,n_.DT)(t.trim())))return ym.invalidEmail;
1if("phone"===e&&t.trim())try{if(!(0,g5.L)(t.trim()).isValid())return ym.invalidPhone}catch(e){return ym.invalidPhone}}function yg(e){var t;let{selectedDomain:n,websiteId:o,initialRedeemFree:s,acceptedClaims:i,onBackToSearch:l}=e,c=(0,ye.m)({initialValues:yd,validateField:yu}),{formData:p,errors:m,touched:u,validate:g}=c,[y,x]=(0,r.useState)(!1),[h,C]=(0,r.useState)(null),[f,S]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),j=(0,r.useCallback)(e=>{S(e),e&&b(!1)},[]),w=yt.filter(e=>!n.allowedRegistrationYears||n.allowedRegistrationYears.includes(e)),L=w.length>0?w:null!=(t=n.allowedRegistrationYears)?t:[1],[k,M]=(0,r.useState)(L[0]),[P,N]=(0,r.useState)(null!=s?s:n.freeEligible),{analytics:D}=(0,eL.S)(),I=(0,r.useRef)(!1);(0,r.useEffect)(()=>{I.current||(I.current=!0,(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutOpen))},[D]);let T=p.country?function(e,t){var n,a,o,r;if(!(null==(a=e.requirements)||null==(n=a.fields)?void 0:n.country))return;let s=(0,sh.extractTld)(e.domainName);if(!s)return;let i=e.requirements.fields.country;if(!i)return;let{allowedValues:l}=i;if(l&&l.length>0&&t&&!l.includes(t.toUpperCase())){let e=l[0],t=null!=(r=null==(o=g6.A.getAllCountries().find(t=>t.isoCode===e))?void 0:o.name)?r:e;return ym.countryRestriction(s,t)}}(n,p.country):void 0,B=(0,r.useMemo)(()=>[...u].some(e=>m[e])||!!T||v,[u,m,T,v]),A=(0,r.useCallback)(async()=>{if(y)return;let e=g();if(f||(b(!0),(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutError,{error:"missing_agreement"})),e&&f){x(!0),C(null),(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutSubmit);try{var t;let{auth:e}=(0,am.T)();if(!await (null==(t=e.currentUser)?void 0:t.getIdToken(!0))){C(ym.sessionExpired),x(!1),(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutError,{error:"missing_auth_token"});return}let a={firstName:p.firstName.trim(),lastName:p.lastName.trim(),email:p.email.trim(),phone:p.phone.trim(),address1:p.address1.trim(),city:p.city.trim(),state:p.state.trim(),zip:p.zip.trim(),country:p.country.toUpperCase(),...p.company.trim()?{companyName:p.company.trim()}:{},...p.address2.trim()?{address2:p.address2.trim()}:{}},r={domainName:n.domainName,years:P?1:k,registrantContact:a,acknowledgedRegistrationAgreement:!0};o&&(r.websiteId=o),P&&(r.redeemFreeDomain=!0),i&&(r.claims=i);let{url:s}=await (0,ya.$R)(r);(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutRedirect),window.location.href=s}catch(e){if(e instanceof ya.zN){let t=e.status>=500,n=t||!e.serverMessage?ym.submitError:e.serverMessage;C(n),x(!1),t&&(0,gy.S)(e,{context:"domains",component:"DomainCheckoutContent",action:"checkout_submit",status:String(e.status)}),(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutError,{error:n});return}console.error("Domain checkout failed:",e),(0,gy.S)(e,{context:"domains",component:"DomainCheckoutContent",action:"checkout_submit"}),C(ym.submitError),x(!1),(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutError,{error:e instanceof Error?e.message:"Unknown error"})}}},[p,n,o,k,y,g,D,P,i,f]),H=(0,r.useCallback)(()=>{(0,ed.$s)(D,ew.o.designer.settings.domainCheckoutBackToSearch),l()},[D,l]);return(0,a.jsxs)("div",{className:yo.columns,"data-sentry-component":"DomainCheckoutContent","data-sentry-source-file":"DomainCheckoutContent.tsx",children:[(0,a.jsxs)("div",{className:yo.formColumn,children:[(0,a.jsxs)("button",{type:"button",className:"".concat(d.FontStyles.Medium," ").concat(yo.backLink),onClick:H,children:[(0,a.jsx)(yn.n,{"data-sentry-element":"ArrowLeft","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)("span",{children:ym.chooseDifferentDomain})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:yo.sectionTitle,children:ym.contactInformation}),(0,a.jsx)("p",{className:"".concat(d.FontStyles.Regular," ").concat(yo.sectionSubtitle),children:ym.contactSubtitle})]}),(0,a.jsx)(g7.zB,{label:ym.firstName,field:"firstName",form:c,required:!0,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g7.zB,{label:ym.lastName,field:"lastName",form:c,required:!0,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g7.zB,{label:ym.email,field:"email",form:c,type:"email",required:!0,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g7.zB,{label:ym.company,labelSuffix:(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Subordinate," ").concat(yo.optionalLabel),children:[" ",ym.optional]}),field:"company",form:c,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g4.t,{form:c,field:"country",label:ym.country,required:!0,error:T,onChange:()=>c.handleChange("state",""),"data-sentry-element":"CountryField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g9.P,{form:c,field:"phone",country:p.country,codeLabel:ym.countryCode,phoneLabel:ym.phone,required:!0,selectOnFocus:!0,"data-sentry-element":"PhoneField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g7.zB,{label:ym.address1,field:"address1",form:c,required:!0,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g7.zB,{label:ym.address2,labelSuffix:(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Subordinate," ").concat(yo.optionalLabel),children:[" ",ym.optional]}),field:"address2",form:c,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g7.zB,{label:ym.city,field:"city",form:c,required:!0,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsxs)("div",{className:yo.fieldRow,children:[(0,a.jsx)(g8.s,{form:c,field:"state",country:p.country,label:ym.state,required:!0,"data-sentry-element":"StateField","data-sentry-source-file":"DomainCheckoutContent.tsx"}),(0,a.jsx)(g7.zB,{label:ym.zip,field:"zip",form:c,required:!0,"data-sentry-element":"FormField","data-sentry-source-file":"DomainCheckoutContent.tsx"})]})]}),(0,a.jsx)(yc,{selectedDomain:n,availableYears:L,selectedYears:k,onSelectedYearsChange:M,redeemFree:P,onRedeemFreeChange:N,submitting:y,hasVisibleErrors:B,submitError:h,onSubmit:A,agreementChecked:f,agreementError:v,onAgreementChange:j,"data-sentry-element":"DomainCheckoutSummary","data-sentry-source-file":"DomainCheckoutContent.tsx"})]})}let yy=c.D.views.designer.components.properties.settings.domainProperties.domainSearchModal;function yx(e){let{result:t,useFreeCredit:n,onRegisterClick:o}=e;return t.available?(0,a.jsxs)("div",{className:yC.resultRow,"data-testid":"domain-result-row","data-sentry-component":"DomainResultRow","data-sentry-source-file":"DomainResultRow.tsx",children:[(0,a.jsxs)("div",{className:yC.resultMain,children:[(0,a.jsx)("span",{className:yC.domainName,children:(0,sh.toDisplayDomain)(t.domainName)}),(0,a.jsxs)("div",{className:yC.badges,children:[t.premium&&(0,a.jsx)(yh,{label:yy.premiumBadge,heading:yy.premiumTooltip.heading,children:yy.premiumTooltip.body}),null!=t.minRegistrationYears&&t.minRegistrationYears>1&&(0,a.jsx)(yh,{label:yy.multiYearBadge(t.minRegistrationYears),heading:yy.multiYearTooltip(t.minRegistrationYears).heading,children:yy.multiYearTooltip(t.minRegistrationYears).body}),t.requirements&&(0,a.jsx)(yh,{label:yy.requirementsBadge,heading:yy.requirementsTooltip.heading,children:yy.requirementsTooltip.body}
1),t.claims&&(0,a.jsx)(yh,{label:yy.claimsBadge,heading:yy.claimsTooltip.heading,children:yy.claimsTooltip.body})]})]}),(0,a.jsx)("div",{className:yC.resultPricing,children:t.freeEligible&&n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued," ").concat(yC.strikethroughPrice),children:["$",(0,E.formatUsdAmount)(t.annualPrice),"/year"]}),(0,a.jsx)("span",{className:"".concat(d.FontStyles.Large," ").concat(yC.priceAmount),children:yy.freeBadge})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Large," ").concat(yC.priceAmount),children:["$",(0,E.formatUsdAmount)(t.annualPrice)]}),(0,a.jsx)("span",{className:"".concat(d.FontStyles.Regular," ").concat(d.FontStyles.Subdued),children:"/year"})]})}),(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.domainSearchRegisterClick,eventParameters:{domain_name:t.domainName},onClick:()=>o(t),"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"DomainResultRow.tsx",children:(0,a.jsx)(G.A,{className:yC.registerButton,"data-sentry-element":"Button","data-sentry-source-file":"DomainResultRow.tsx",children:yy.registerButton})})]}):(0,a.jsx)("div",{className:yC.resultRow,"data-testid":"domain-result-row",children:(0,a.jsx)("span",{className:yC.unavailableText,children:yy.alreadyTaken((0,sh.toDisplayDomain)(t.domainName))})})}function yh(e){let{label:t,heading:n,children:o}=e,[s,i]=(0,r.useState)(!1),l=(0,r.useRef)(null);return(0,a.jsxs)("span",{className:"".concat(d.FontStyles.Subordinate," ").concat(yC.infoBadge),tabIndex:0,role:"button","aria-label":"More info about ".concat(t),onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onClick:()=>i(!0),onFocus:()=>i(!0),onBlur:()=>i(!1),"data-sentry-component":"InfoBadge","data-sentry-source-file":"DomainResultRow.tsx",children:[(0,a.jsx)("span",{children:t}),(0,a.jsx)("span",{ref:l,children:(0,a.jsx)(sk,{"data-sentry-element":"SmallInfo","data-sentry-source-file":"DomainResultRow.tsx"})}),(0,a.jsx)(J.x,{target:l,isOpen:s,heading:n,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"DomainResultRow.tsx",children:o})]})}let yC={resultRow:(0,o.style)({display:"flex",alignItems:"center",padding:"".concat(d.Spacing.Medium,"px 0"),borderBottom:"1px solid ".concat(d.Colors.LightBorder),gap:d.Spacing.Large,$nest:{"&:last-child":{borderBottom:"none"}}}),resultMain:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Large,flex:1,minWidth:0,flexWrap:"wrap"}),domainName:(0,o.style)({fontWeight:500,fontSize:16}),badges:(0,o.style)({display:"flex",gap:d.Spacing.xSmall,alignItems:"center"}),infoBadge:(0,o.style)({display:"inline-flex",alignItems:"center",height:d.Spacing.xLarge,paddingLeft:d.Spacing.xSmall,paddingRight:d.Spacing.xSmall,borderRadius:99,border:"1px solid ".concat(d.Colors.Border),backgroundColor:d.StandardColors.ColorWhite,color:d.Colors.Subdued,cursor:"default",$nest:{"& > span:first-child":{paddingLeft:d.Spacing.Micro,paddingRight:d.Spacing.Micro},"& svg":{width:16,height:16,color:d.Colors.Primary}}}),unavailableText:(0,o.style)({color:d.Colors.Subdued,fontSize:16,lineHeight:"".concat(d.Spacing.xxLarge,"px")}),resultPricing:(0,o.style)({display:"flex",alignItems:"baseline",whiteSpace:"nowrap"}),priceAmount:(0,o.style)({fontWeight:500}),strikethroughPrice:(0,o.style)({textDecoration:"line-through",marginRight:d.Spacing.Large}),registerButton:d.ButtonStyles.PrimarySmall},yf=["bestMatch","priceLowToHigh","priceHighToLow","nameAZ"],yS=c.D.views.designer.components.properties.settings.domainProperties.domainSearchModal.sortOptions,yv={bestMatch:yS.bestMatch,priceLowToHigh:yS.priceLowToHigh,priceHighToLow:yS.priceHighToLow,nameAZ:yS.nameAZ},yb=["com","net","org"],yj=c.D.views.designer.components.properties.settings.domainProperties.domainSearchModal;function yw(e){let{initialKeyword:t,isCheckout:n,onRegisterClick:o,children:s}=e,i=(0,r.useMemo)(()=>(0,E.stripDiacritics)(t),[t]),[l,p]=(0,r.useState)(i),[m,u]=(0,r.useState)([]),[g,y]=(0,r.useState)(!1),[x,h]=(0,r.useState)(null),[C,f]=(0,r.useState)(!1),[S,v]=(0,r.useState)(null),[b,j]=(0,r.useState)("bestMatch"),[w,L]=(0,r.useState)(!0),[k,M]=(0,r.useState)(null),{analytics:P}=(0,eL.S)(),{ownerPlanType:N}=(0,ad.dp)(),{freeDomainAvailable:I}=(0,D.hi)(),T=(0,r.useRef)(0),B=(0,r.useRef)(""),A=(0,r.useRef)(null),H=(0,ah.jr)(N),F=(0,r.useCallback)(async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e.trim())return;let a=++T.current;B.current=e,y(!0),h(null),(0,ed.$s)(P,ew.o.designer.settings.domainSearchPerformed);let o=null;try{let n={keyword:e.trim()};t&&(n.tlds=[t]);let{results:r,namecomEnvironment:s}=await (0,ya.eR)(n);if(a!==T.current)return;M(s),u(r),f(!0),o=r.length}catch(n){if(a!==T.current)return;console.error("Domain search failed:",n),(0,gy.S)(n,{context:"domains",component:"DomainSearchPanel",action:"search"}),(0,ed.$s)(P,ew.o.designer.settings.domainSearchError,{error:n instanceof Error?n.message:"Unknown error"});let e=n instanceof ya.Vk?n.serverMessage:void 0,t=yj.errorMessages;h(e&&t[e]||yj.errorMessage),f(!0)}finally{a===T.current&&y(!1)}n&&null!==o&&a===T.current&&(0,ed.$s)(P,ew.o.designer.settings.domainSearchSubmitted,{search_term:e.trim(),result_count:o})},[]),R=(0,r.useRef)(!1);(0,r.useEffect)(()=>{(0,ed.$s)(P,ew.o.designer.settings.domainSearchOpen),!R.current&&i.trim()&&(R.current=!0,F(i,S))},[]);let V=()=>{F(l,S,!0)},W=e=>{var t,n;null==(n=A.current)||null==(t=n.scrollTo)||t.call(n,{top:0}),o(e,w)},Z=(0,r.useMemo)(()=>"bestMatch"===b?m:[...m].sort((e,t)=>
1{var n,a,o,r;switch(b){case"priceLowToHigh":return(null!=(n=e.annualPrice)?n:1/0)-(null!=(a=t.annualPrice)?a:1/0);case"priceHighToLow":return(null!=(o=t.annualPrice)?o:0)-(null!=(r=e.annualPrice)?r:0);case"nameAZ":return e.domainName.localeCompare(t.domainName);default:return 0}}),[m,b]);return(0,a.jsxs)(a.Fragment,{children:["namecomSandbox"===k&&(0,a.jsx)("div",{className:yk.sandboxBadge,children:yj.sandboxBadge}),(0,a.jsxs)("div",{className:"".concat(yk.headerCollapsible," ").concat(n?yk.headerCollapsed:""),children:[(0,a.jsx)("div",{className:yk.searchSection,children:(0,a.jsxs)("div",{className:yk.searchRow,children:[(0,a.jsx)("div",{className:yk.inputWrapper,children:(0,a.jsx)(tf.Z,{placeholder:yj.searchLabel,value:l,maxLength:256,onChange:e=>p(e.target.value),onKeyDown:e=>{"Enter"===e.key&&V()},"data-sentry-element":"LargeSoloInput","data-sentry-source-file":"DomainSearchPanel.tsx"})}),(0,a.jsxs)(G.A,{className:"".concat(yk.searchButton," ").concat(g&&C?yk.searchButtonLoading:""),disabled:g&&C&&l===B.current,onClick:V,"data-sentry-element":"Button","data-sentry-source-file":"DomainSearchPanel.tsx",children:[(0,a.jsx)("span",{style:{visibility:g&&C?"hidden":"visible"},children:yj.searchButton}),g&&C&&(0,a.jsx)("div",{className:yk.searchButtonSpinner})]})]})}),H&&I&&(0,a.jsxs)("div",{className:yk.discountRow,children:[(0,a.jsx)(iv.A,{switch:!0,className:yk.discountToggle,children:(0,a.jsx)(tf.g,{id:"domain-search-free-credit-toggle",type:"switch",checked:w,onChange:e=>L(e.target.checked)})}),(0,a.jsx)("label",{htmlFor:"domain-search-free-credit-toggle",className:d.FontStyles.Medium,children:yj.discountToggle}),(0,a.jsx)(J.x,{target:(0,a.jsx)("span",{className:yk.discountHelpIcon,tabIndex:0,role:"button","aria-label":c.D.components.tooltips.moreInformation,children:(0,a.jsx)(ys.a,{})}),heading:yj.discountTooltip.heading,children:yj.discountTooltip.body})]})]}),(0,a.jsxs)("div",{className:"".concat(yk.resultsHeader," ").concat(n?yk.resultsHeaderHidden:""),style:g||!C?{opacity:.4,pointerEvents:"none"}:void 0,children:[(0,a.jsx)("h4",{children:yj.resultsTitle}),(0,a.jsxs)("div",{className:yk.filterRow,children:[(0,a.jsx)("span",{className:"".concat(d.FontStyles.Medium," ").concat(d.FontStyles.Subdued),children:yj.filterLabel}),(0,a.jsx)("div",{className:yk.filterChips,children:yb.map(e=>(0,a.jsx)(yL,{tld:e,selected:S===e,onClick:()=>(e=>{let t=S===e?null:e;v(t),F(l,t,!0)})(e)},e))})]}),(0,a.jsxs)("div",{className:yk.sortRow,children:[(0,a.jsx)("span",{className:"".concat(d.FontStyles.Medium," ").concat(d.FontStyles.Subdued),children:yj.sortLabel}),(0,a.jsx)(nT.V,{values:yf,selectedValue:b,onValueChanged:e=>j(e),variant:"outlined",toggleClassName:yk.sortToggle,headerItemTemplate:e=>(0,a.jsx)("span",{style:{paddingLeft:d.Spacing.Micro},children:e?yv[e]:""}),itemTemplate:e=>(0,a.jsx)("span",{children:e?yv[e]:""}),eventName:ew.o.designer.settings.domainSearchSortChange,"data-sentry-element":"DropdownSelector","data-sentry-source-file":"DomainSearchPanel.tsx"})]})]}),(0,a.jsx)("div",{className:"".concat(yk.divider," ").concat(n?yk.dividerExpanded:"")}),(0,a.jsxs)("div",{ref:A,className:yk.scrollArea,children:[(0,a.jsxs)("div",{className:"".concat(yk.contentPanel," ").concat(n?yk.contentPanelHidden:""),children:[x&&(0,a.jsx)("div",{className:yk.error,children:x}),g&&!C&&(0,a.jsxs)("div",{className:yk.loadingState,children:[(0,a.jsx)("div",{className:yk.loadingSpinner}),(0,a.jsx)("span",{className:d.FontStyles.Medium,children:yj.loadingMessage})]}),!g&&C&&!x&&0===m.length&&(0,a.jsx)("div",{className:yk.emptyState,children:yj.noResults}),Z.length>0&&(0,a.jsx)("div",{className:yk.resultsList,style:g?{opacity:.4,pointerEvents:"none"}:void 0,children:Z.map(e=>(0,a.jsx)(yx,{result:e,useFreeCredit:w,onRegisterClick:W},e.domainName))})]}),(0,a.jsx)("div",{className:"".concat(yk.contentPanel," ").concat(n?"":yk.contentPanelHidden),children:s})]})]})}function yL(e){let{tld:t,selected:n,onClick:o}=e;return(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.domainSearchFilterToggle,eventParameters:{tld:t,selected:n?"deselect":"select"},onClick:o,"data-sentry-element":"AnalyticsLink","data-sentry-component":"TldFilterChip","data-sentry-source-file":"DomainSearchPanel.tsx",children:(0,a.jsxs)("button",{type:"button",className:"".concat(d.FontStyles.Subordinate," ").concat(yk.tldChip," ").concat(n?yk.tldChipSelected:""),children:[".",t]})})}let yk={sandboxBadge:(0,o.style)({alignSelf:"flex-start",marginBottom:
1d.Spacing.Small,padding:"".concat(d.Spacing.Micro,"px ").concat(d.Spacing.Small,"px"),borderRadius:4,backgroundColor:d.StandardColors.ColorYellow100,color:d.StandardColors.ColorOrange90,fontSize:11,fontWeight:600,letterSpacing:.4,textTransform:"uppercase"}),headerCollapsible:(0,o.style)({overflow:"visible",maxHeight:200,opacity:1,transition:"max-height 0.3s ease, opacity 0.2s ease, overflow 0s 0.3s"}),headerCollapsed:(0,o.style)({maxHeight:0,opacity:0,overflow:"hidden",pointerEvents:"none",transition:"max-height 0.3s ease, opacity 0.2s ease, overflow 0s 0s"}),divider:(0,o.style)({height:1,backgroundColor:d.Colors.LightBorder,marginLeft:0,marginRight:0,transition:"margin 0.3s ease"}),dividerExpanded:(0,o.style)({marginLeft:-d.Spacing.xxLarge,marginRight:-d.Spacing.xxLarge}),searchSection:(0,o.style)({marginBottom:d.Spacing.Large}),searchRow:(0,o.style)({display:"flex",gap:d.Spacing.Small}),inputWrapper:(0,o.style)({flex:1,position:"relative"}),searchButton:"".concat(d.ButtonStyles.Primary," ").concat((0,o.style)({borderRadius:d.Spacing.xSmall,position:"relative"})),searchButtonLoading:(0,o.style)({backgroundColor:"".concat(d.Colors.PrimaryPressed," !important")}),searchButtonSpinner:(0,o.style)({position:"absolute",inset:0,backgroundImage:"url(/img/small-spinner-white.png)",backgroundSize:"20px 20px",backgroundRepeat:"no-repeat",backgroundPosition:"center"}),resultsHeader:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.xLarge,paddingTop:d.Spacing.Large,paddingBottom:d.Spacing.Large,overflow:"visible",maxHeight:200,opacity:1,transition:"max-height 0.3s ease, opacity 0.2s ease"}),resultsHeaderHidden:(0,o.style)({maxHeight:0,opacity:0,pointerEvents:"none",overflow:"hidden",paddingTop:0,paddingBottom:0}),filterRow:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Small,marginLeft:"auto"}),filterChips:(0,o.style)({display:"flex",gap:d.Spacing.Micro}),sortRow:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Small}),tldChip:(0,o.style)({height:d.Spacing.xLarge,paddingLeft:d.Spacing.xSmall,paddingRight:d.Spacing.xSmall,borderRadius:99,border:"1px solid ".concat(d.Colors.Border),backgroundColor:"transparent",color:d.Colors.Subdued,cursor:"pointer",$nest:{"&:hover":{borderColor:d.Colors.Primary}}}),tldChipSelected:(0,o.style)({borderColor:d.Colors.Primary,backgroundColor:d.StandardColors.ColorViolet05}),scrollArea:(0,o.style)({flex:1,overflowY:"auto",marginLeft:-d.Spacing.Medium,paddingLeft:d.Spacing.Medium,marginRight:-d.Spacing.Medium,paddingRight:d.Spacing.Medium,display:"grid",$nest:{"& > *":{gridArea:"1 / 1",minHeight:0}}}),contentPanel:(0,o.style)({display:"flex",flexDirection:"column",opacity:1,overflow:"visible",maxHeight:9999,transition:"opacity 0.25s ease, max-height 0s, overflow 0s, visibility 0s",visibility:"visible"}),contentPanelHidden:(0,o.style)({opacity:0,maxHeight:0,overflow:"hidden",visibility:"hidden",transitionDelay:"0s, 0.25s, 0.25s, 0.25s",pointerEvents:"none"}),error:(0,o.style)({color:d.Colors.Danger,padding:d.Spacing.Medium}),loadingState:(0,o.style)({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:d.Spacing.Medium,flex:1,color:d.Colors.Primary}),loadingSpinner:(0,o.style)({width:48,height:48,backgroundImage:"url(/img/spinner-96-transparent-violet.png)",backgroundSize:"48px 48px",backgroundRepeat:"no-repeat",backgroundPosition:"center"}),emptyState:(0,o.style)({color:d.Colors.Subdued,textAlign:"center",padding:d.Spacing.xxLarge}),resultsList:(0,o.style)({paddingBottom:d.Spacing.Medium}),discountRow:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Small,padding:"".concat(d.Spacing.Small,"px 0")}),discountToggle:(0,o.style)({marginBottom:"0 !important"}),discountHelpIcon:(0,o.style)({display:"inline-flex",width:16,height:16,color:d.Colors.Primary,cursor:"pointer",$nest:{"& svg":{width:16,height:16}}}),sortToggle:(0,o.style)({gap:d.Spacing.Micro})},yM=c.D.views.designer.components.properties.settings.domainProperties.claimsModal;function yP(e){let{initialKeyword:t,websiteId:n,closeModal:o}=e,[s,i]=(0,r.useState)({kind:"search"}),{analytics:l}=(0,eL.S)(),d="checkout"===s.kind;return(0,a.jsxs)(_.A,{isOpen:!0,centered:!0,size:"lg",className:yN.modal,"data-sentry-element":"Modal","data-sentry-component":"DomainModal","data-sentry-source-file":"DomainModal.tsx",children:[(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"DomainModal.tsx",children:[(0,a.jsxs)("div",{className:yN.header,children:[(0,a.jsxs)("div",{className:yN.branding,children:[(0,a.jsx)("img",{src:"/img/solo-domains.svg",alt:c.D.views.domains.pageTitle}),(0,a.jsx)("img",{src:"/img/from-mozilla.svg",alt:c.D.views.domains.fromMozillaAlt})]}),(0,a.jsx)(G.A,{type:"button","aria-label":"Close",className:yN.closeButton,onClick:o,"data-sentry-element":"Button","data-sentry-source-file":"DomainModal.tsx",children:(0,a.jsx)(aX.b,{"data-sentry-element":"Close","data-sentry-source-file":"DomainModal.tsx"})})]}),(0,a.jsx)(yw,{initialKeyword:t,isCheckout:d,onRegisterClick:(e,t)=>{e.claims?((0,ed.$s)(l,ew.o.designer.settings.domainClaimsModalShown),i({kind:"claims",result:e,useFreeCredit:t})):i({kind:"checkout",result:e,useFreeCredit:t})},"data-sentry-element":"DomainSearchPanel","data-sentry-source-file":"DomainModal.tsx",children:"checkout"===s.kind&&(0,a.jsx)(yg,{selectedDomain:s.result,websiteId:n,initialRedeemFree:s.result.freeEligible&&s.useFreeCredit,acceptedClaims:s.acceptedClaims,onBackToSearch:()=>i({kind:"search"})})})]}
1),"claims"===s.kind&&s.result.claims&&(0,a.jsx)(sC.E,{isOpen:!0,title:yM.title,acceptText:yM.accept,cancelText:yM.cancel,onAccept:()=>{if("claims"!==s.kind)return;let e=s.result.claims;e&&((0,ed.$s)(l,ew.o.designer.settings.domainClaimsAccepted),i({kind:"checkout",result:s.result,useFreeCredit:s.useFreeCredit,acceptedClaims:{token:e.token,acceptedAt:Date.now()}}))},onCancel:()=>{(0,ed.$s)(l,ew.o.designer.settings.domainClaimsDismissed),i({kind:"search"})},showCloseIcon:!0,size:"lg",children:(0,a.jsxs)("div",{className:yN.claimsBody,children:[s.result.claims.noticeHtml&&(0,a.jsx)("div",{className:yN.claimsNotice,dangerouslySetInnerHTML:{__html:s.result.claims.noticeHtml}}),s.result.claims.trademarks.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{children:(0,a.jsx)("strong",{children:e.trademark})}),(0,a.jsxs)("div",{children:[yM.holderLabel,": ",e.holder]}),(0,a.jsxs)("div",{children:[yM.jurisdictionLabel,": ",e.jurisdiction]}),(0,a.jsxs)("div",{children:[yM.registrationNumberLabel,":"," ",e.registrationNumber]}),e.description&&(0,a.jsx)("div",{children:e.description})]},"".concat(e.jurisdiction,"-").concat(e.registrationNumber)))]})})]})}let yN={claimsBody:(0,o.style)({display:"flex",flexDirection:"column",gap:d.Spacing.xLarge,paddingBottom:d.Spacing.xLarge-(d.Spacing.Large+d.Spacing.Micro)}),claimsNotice:(0,o.style)({display:"flex",flexDirection:"column",gap:d.Spacing.Large,$nest:{"& p, & ul, & ol":{margin:0}}}),modal:(0,o.style)({maxWidth:830+2*d.Spacing.xxLarge,margin:"0 auto",padding:d.Spacing.xxLarge,height:"100%",$nest:{".modal-content":{paddingLeft:d.Spacing.xxLarge,paddingRight:d.Spacing.xxLarge,paddingTop:d.Spacing.xxLarge,paddingBottom:0,borderRadius:d.Spacing.Medium,height:"88%"},".modal-body":{padding:0,display:"flex",flexDirection:"column",minHeight:0}}}),branding:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Large}),header:(0,o.style)({display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:d.Spacing.xLarge,fontSize:18}),closeButton:(0,o.style)({height:d.Spacing.Large+d.Spacing.Micro,width:d.Spacing.xLarge,color:d.Colors.Subdued,cursor:"pointer",backgroundColor:d.StandardColors.ColorTransparent,padding:0,margin:0,border:"none",$nest:{"&:hover":{color:d.StandardColors.ColorLightGray90,backgroundColor:d.StandardColors.ColorTransparent}}})};function yD(){let{isDomainPending:e}=(0,D.hi)();if(!r$())return null;let t=e();return(0,a.jsx)(w.A,{className:yV.container,"data-sentry-element":"Container","data-sentry-component":"DomainConfiguration","data-sentry-source-file":"DomainProperties.tsx",children:t?(0,a.jsx)(yI,{}):(0,a.jsx)(yF,{})})}function yI(){let{deleteDomain:e,websiteDomain:t}=(0,D.hi)(),{setSpinner:n}=(0,h.p6)(),[o,s]=(0,r.useState)(!1);if(!t)return null;let i=c.D.views.designer.components.properties.settings.domainProperties.pendingDomain,l="".concat(yV.statusLabel," col-auto");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{className:yV.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsxs)(k.A,{className:"flex-column","data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)("div",{className:yV.title,children:i.title}),(0,a.jsx)("div",{className:"".concat(yV.description," ").concat(d.FontStyles.SemiBold),children:"https://".concat((0,sh.toDisplayDomain)(t.domainName))})]})}),(0,a.jsx)(L.A,{className:yV.pendingRow,"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(k.A,{className:"d-block","data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsxs)(w.A,{className:"".concat(yV.container," container"),"data-sentry-element":"Container","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)(k.A,{className:l,"data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:i.connectionInitiatedLabel}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(yH,{"data-sentry-element":"CompletedStatus","data-sentry-source-file":"DomainProperties.tsx"})})]}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)(k.A,{className:l,"data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:i.dnsSettingsVerifiedLabel}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(yT,{"data-sentry-element":"OwnershipVerificationStatus","data-sentry-source-file":"DomainProperties.tsx"})})]}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)(k.A,{className:l,"data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:i.certificateGenerationLabel}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(yB,{"data-sentry-element":"CertificateGenerationStatus","data-sentry-source-file":"DomainProperties.tsx"})})]}),(0,a.jsx)(L.A,{className:"".concat(yV.description," tagline"),"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:i.certificateGenerationTagline})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsxs)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:[t.state===N.WebsiteDomainState.PendingOwnershipVerification&&(0,a.jsx)(G.A,{className:yV.button,onClick:()=>s(!0),children:i.cancelConnection}),o&&(0,a.jsx)(sC.E,{className:yV.cancelConnectionModal,title:i.cancelConnectionModal.title,cancelText:i.cancelConnectionModal.cancel,acceptText:i.cancelConnectionModal.accept,onAccept:async()=>{n(!0);try{await e()}catch(e){console.error(e)}n(!1),s(!1)},onCancel:()=>s(!1),isDestructive:!0,children:(0,a.jsx)("div",{className:yV.modalDe
1scription,children:"".concat(i.cancelConnectionModal.description,"\n\nhttps://").concat((0,sh.toDisplayDomain)(t.domainName))})})]})})]})})})]})}function yT(){let{websiteDomain:e}=(0,D.hi)();if(!e)return null;let t=c.D.views.designer.components.properties.settings.domainProperties.pendingDomain;return e.state===N.WebsiteDomainState.PendingOwnershipVerification?(0,a.jsx)(yA,{label:t.inProgress}):(0,a.jsx)(yH,{"data-sentry-element":"CompletedStatus","data-sentry-component":"OwnershipVerificationStatus","data-sentry-source-file":"DomainProperties.tsx"})}function yB(){let{websiteDomain:e}=(0,D.hi)();if(!e)return null;let t=c.D.views.designer.components.properties.settings.domainProperties.pendingDomain,n=e.state;return n===N.WebsiteDomainState.PendingOwnershipVerification||n===N.WebsiteDomainState.OwnershipVerified?(0,a.jsx)("span",{style:{color:d.StandardColors.ColorLightGray90},children:t.waiting}):n===N.WebsiteDomainState.PendingCertificateActivation?(0,a.jsx)(yA,{label:t.inProgress}):null}function yA(e){let{label:t}=e;return(0,a.jsxs)("span",{className:yV.inProgressStatus,role:"status","aria-live":"polite","data-sentry-component":"InProgressStatus","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)("div",{className:yV.inProgressSpinner,"aria-hidden":"true"}),t]})}function yH(){let e=c.D.views.designer.components.properties.settings.domainProperties.pendingDomain;return(0,a.jsx)(w.A,{className:"".concat(yV.container," ").concat(yV.completedContainer),"data-sentry-element":"Container","data-sentry-component":"CompletedStatus","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsxs)(L.A,{className:"d-flex align-items-center","data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(gF.J,{"data-sentry-element":"Check","data-sentry-source-file":"DomainProperties.tsx"})}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:e.completed})]})})}function yF(){var e,t;let[n,o]=(0,r.useState)(!1),[s,i]=(0,r.useState)(!1),[l,p]=(0,r.useState)(!1),{websiteSettings:m}=(0,j.Hb)(),{isLoggedIn:u}=(0,x.uM)(),[g,y]=(0,r.useState)(!1),[C,f]=(0,r.useState)(!1),[S,v]=(0,r.useState)(),{autoConnectSoloDomain:b,disconnectDomain:w,websiteDomain:P,autoDomainConnectionsRedeemed:I,isDomainTakenByAnotherUser:T,allWebsiteDomains:B,reconnectOwnedDomain:A}=(0,D.hi)(),{showPlanNotificationModal:H,ownerPlanType:F}=(0,ad.dp)(),{websiteDocument:R,isWebsiteOwner:V,websiteOwnerEmail:W}=(0,M.SY)(),{hasReachedDomainsLimit:E}=(0,ap.o7)(),{setSpinner:Z}=(0,h.p6)(),{domainError:O,setConfig:z,setDomainError:$}=(0,gH.v)({}),U=r$();async function _(e){var t;if(!U)return;let n=null==R||null==(t=R.websiteSettings)?void 0:t.id;if(!n)return void console.error("No website ID available");try{let t;if(await T(e)){o(!1),$({domainName:e,errorType:gH.X.OwnershipVerificationFailure});return}let a=function(e,t,n){let a=n.toLocaleLowerCase().trim(),o=e.find(e=>e.domainName===a);if(o)return o.websiteName!==t?o:void 0}(B,null==R?void 0:R.handle,e);if(a){o(!1),v({domain:e,holdingSite:a.websiteName});let{analytics:t}=(0,eL.S)();(0,ed.$s)(t,ew.o.designer.settings.domainAlreadyConnectedModalShown,{role:V()?"owner":"editor"});return}Z(!0);try{t=await b(e,n)}catch(e){console.error("Auto-connect check failed; falling back to Entri:",e),(0,ed.$s)((0,eL.S)().analytics,ew.o.designer.settings.domainAutoConnectAttempt,{outcome:"error",plan:F,apex_match:!1})}finally{Z(!1)}if(null==t?void 0:t.connected){o(!1),(0,ed.$s)((0,eL.S)().analytics,ew.o.designer.settings.domainAutoConnectAttempt,{outcome:"connected",plan:F,apex_match:!0});return}if(null==t?void 0:t.limitReached){o(!1),H(ad.Zh.CONNECT_CUSTOM_DOMAIN),(0,ed.$s)((0,eL.S)().analytics,ew.o.designer.settings.domainAutoConnectAttempt,{outcome:"limit_reached",plan:F,apex_match:!0});return}t&&(0,ed.$s)((0,eL.S)().analytics,ew.o.designer.settings.domainAutoConnectAttempt,{outcome:"not_eligible",plan:F,apex_match:!1});let r={...await gR(n),prefilledDomain:e,forceManualSetup:I>=(0,ah.nE)(F)};z(r),o(!1),U.showEntri(r)}catch(e){console.error("Failed to open Entri modal:",e)}}async function q(){if(P){Z(!0);try{await w()}catch(e){$({domainName:P.domainName,errorType:gH.X.DisconnectFailure})}Z(!1),y(!1)}}(0,r.useEffect)(()=>
1{if((null==P?void 0:P.state)===N.WebsiteDomainState.Connected)try{let{analytics:e}=(0,eL.S)();(0,ed.Fi)(e,{has_custom_domain:"true"})}catch(e){}},[null==P?void 0:P.state]);let Q=c.D.views.designer.components.properties.settings.domainProperties,K=null==P?void 0:P.state,Y=K===N.WebsiteDomainState.Failed;return(0,a.jsxs)(a.Fragment,{children:[n&&(K&&K===N.WebsiteDomainState.Connected?(0,a.jsx)(gJ,{domainDocument:P,onDisconnect:()=>{o(!1),y(!0)},closeModal:()=>o(!1)}):(0,a.jsx)(g$,{onPurchaseClick:()=>{o(!1),i(!0)},onConnectClick:_,closeModal:()=>o(!1)})),g&&(0,a.jsx)(sC.E,{title:Q.disconnectDomainModal.title,cancelText:Q.disconnectDomainModal.cancel,acceptText:Q.disconnectDomainModal.accept,onAccept:q,onCancel:()=>y(!1),isDestructive:!0,children:(0,a.jsxs)("div",{className:yV.modalDescription,children:["".concat(Q.disconnectDomainModal.description,"\n\n"),(0,a.jsx)("span",{className:d.FontStyles.SemiBold,children:"".concat(P?(0,sh.toDisplayDomain)(P.domainName):"","\n\n")}),"".concat(Q.disconnectDomainModal.additionalDataDisclaimer)]})}),C&&(0,a.jsx)(so,{isOpen:C,initialHandle:(0,t$.bl)(m.businessName),toggle:()=>f(!C),closeModal:()=>f(!1),onPublishSuccess:()=>o(!0),customDescription:Q.publishModal.description,noPopup:!0}),O&&(0,a.jsx)(g2,{onClose:()=>$(void 0),error:O}),S&&(0,a.jsx)(g3,{domain:(0,sh.toDisplayDomain)(S.domain),holdingSite:S.holdingSite,isOwner:V(),ownerEmail:W,onMove:async()=>{let{analytics:e}=(0,eL.S)();(0,ed.$s)(e,ew.o.designer.settings.domainMoveConfirmClick,{}),Z(!0);try{await A(S.domain)}catch(e){$({domainName:S.domain,errorType:gH.X.MoveFailure})}finally{v(void 0),Z(!1)}},onClose:()=>{let{analytics:e}=(0,eL.S)();(0,ed.$s)(e,ew.o.designer.settings.domainMoveCancelClick,{}),v(void 0)}}),s&&(0,a.jsx)(yP,{initialKeyword:null!=(t=m.businessName)?t:"",websiteId:null==R||null==(e=R.websiteSettings)?void 0:e.id,closeModal:()=>{i(!1),o(!1)}}),(0,a.jsxs)(L.A,{className:yV.rowContainer,"data-sentry-element":"Row","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsxs)(k.A,{className:"flex-column","data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)("div",{className:yV.title,children:Q.title}),(0,a.jsx)("div",{className:"".concat(P?"":yV.noDomainPresentInfo),children:(0,a.jsx)(yR,{websiteDomain:P,isFailed:Y,"data-sentry-element":"DomainInformation","data-sentry-source-file":"DomainProperties.tsx"})})]}),(0,a.jsx)(k.A,{className:yV.buttonContainer,"data-sentry-element":"Col","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(eG.T,{eventName:Y?ew.o.designer.settings.reconfigureDomainClick:ew.o.designer.settings.configureDomainClick,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"DomainProperties.tsx",children:(0,a.jsx)(G.A,{className:yV.button,onClick:()=>u?K!==N.WebsiteDomainState.Connected&&E()?H(ad.Zh.CONNECT_CUSTOM_DOMAIN):(null==R?void 0:R.handle)?void o(!0):void f(!0):void p(!0),"data-sentry-element":"Button","data-sentry-source-file":"DomainProperties.tsx",children:P?Y?Q.failedDomain.reconfigure:Q.configure:Q.connect})})}),Y&&(0,a.jsx)(L.A,{className:yV.failedRow,children:(0,a.jsxs)(k.A,{className:"d-block m-0 p-0",children:[(0,a.jsx)("div",{className:"title",children:Q.failedDomain.title}),(0,a.jsx)("div",{className:"tagline",children:Q.failedDomain.tagline}),(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:Q.failedDomain.supportLink,target:"_blank",className:"".concat(d.LinkStyles.NoUnderline),rel:"noreferrer",children:Q.failedDomain.supportLinkText})})]})}),l&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>{p(!l)},closeModal:()=>p(!1),postLoginCallback:()=>{p(!1),f(!0)}})]})]})}function yR(e){let{websiteDomain:t,isFailed:n}=e,o=c.D.views.designer.components.properties.settings.domainProperties;return n&&t?(0,a.jsxs)("div",{className:yV.errorDescriptionContainer,children:[(0,a.jsx)("div",{className:"d-flex align-items-center",children:(0,a.jsx)(tx.I,{})}),(0,a.jsx)("div",{className:yV.description,children:"https://".concat((0,sh.toDisplayDomain)(t.domainName))})]}):t?(0,a.jsxs)("div",{className:yV.description,"data-sentry-component":"DomainInformation","data-sentry-source-file":"DomainProperties.tsx",children:[(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"https://".concat((0,sh.toDisplayDomain)(t.domainName)),rel:"noopener noreferrer",target:"_blank",className:d.LinkStyles.NoUnderlineNoPadding,children:(0,sh.toDisplayDomain)(t.domainName)})}),(0,a.jsx)("div",{children:"".concat(o.connectedView.connected).concat((0,gb.VT)(t.modifiedAt||t.createdAt))})]}):(0,a.jsx)("div",{className:yV.description,children:o.configureDomain})}let yV={container:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," d-flex flex-column ").concat((0,o.style)({})),completedContainer:(0,o.style)({color:d.StandardColors.ColorGreen70,$nest:{".row":{marginBlock:"0 !important"}}}),title:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,marginBottom:0})),rowContainer:(0,o.style)({marginTop:"".concat(d.Spacing.Small,"px !important"),paddingTop:d.Spacing.Small-2,paddingBottom:d.Spacing.Small-2}),noDomainPresentInfo:(0,o.style)({maxWidth:200}),errorDescriptionContainer:"d-flex flex-row align-items-center justify-content-start ".concat((0,o.style)({color:d.StandardColors.ColorRed60,columnGap:d.Spacing.Micro})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:"11px",color:d.StandardColors.ColorDarkGray05,flexDirection:"column",textAlign:"left",marginRight:d.Spacing.Small})),buttonContainer:"d-flex flex-column col-auto ".concat((0,o.style)({justifyContent:"center"})),button:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Regular),inProgressStatus:(0,o.style)({display:"flex",alignItems:"center",columnGap:d.Spacing.Small}),inProgressSpinner:(0,o.style)({width:14,height:14,flexShrink:0,backgroundImage:"url(/img/small-spinner--violet.gif)",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"14px 14px"}),failedRow:(0,o.style)({marginTop:"".concat(d.Spacing.Large,"px !important"),marginLeft:0,paddingLeft:d.Spacing.Large,borderLeftWidth:1,borderLeftColor:d.StandardColors.ColorLightGray40,borderLeftStyle:"solid",$nest:{".tagline":{marginBottom:
1d.Spacing.Small},".title":{color:d.Colors.Danger,fontWeight:600,marginBottom:d.Spacing.Small}}}),modalDescription:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,whiteSpace:"pre-line"})),pendingRow:(0,o.style)({marginTop:"".concat(d.Spacing.Large,"px !important"),paddingLeft:d.Spacing.Large,borderLeftWidth:1,borderLeftColor:d.StandardColors.ColorLightGray40,borderLeftStyle:"solid",$nest:{".container":{$nest:{"& > .row":{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:d.Spacing.Micro,$nest:{"& > :first-child":{marginRight:d.Spacing.Small}}}}},".tagline":{marginBlock:"".concat(d.Spacing.Small,"px !important")}}}),cancelConnectionModal:(0,o.style)({width:440}),statusLabel:(0,o.style)({color:d.StandardColors.ColorDarkGray50})};function yW(){let e=c.D.views.designer.components.properties.settings.websiteSettingsPropertySection;return(0,a.jsxs)(sP,{title:e.title,"data-sentry-element":"PropertySection","data-sentry-component":"WebsiteSettingsPropertySection","data-sentry-source-file":"WebsiteSettingsPropertySection.tsx",children:[(0,a.jsx)(yD,{"data-sentry-element":"DomainConfiguration","data-sentry-source-file":"WebsiteSettingsPropertySection.tsx"}),(0,a.jsx)(gP,{"data-sentry-element":"AnalyticsProperties","data-sentry-source-file":"WebsiteSettingsPropertySection.tsx"}),(0,a.jsx)(gB,{"data-sentry-element":"CookieBannerProperties","data-sentry-source-file":"WebsiteSettingsPropertySection.tsx"})]})}function yE(){let{user:e}=(0,x.uM)(),{websiteDocument:t}=(0,M.SY)(),n=!!t,o=!e||t&&t.userId===e.firebaseUser.uid;return(0,a.jsx)("div",{className:"".concat(d.ContainerStyles.Flex," ").concat(d.ContainerStyles.Vertical," ").concat(yZ.container),"data-sentry-component":"SettingsProperties","data-sentry-source-file":"SettingsProperties.tsx",children:(0,a.jsxs)("div",{className:"".concat(d.ContainerStyles.Flex," ").concat(d.ContainerStyles.Fill," ").concat(d.ContainerStyles.Vertical," ").concat(yZ.topContainer," flex-grow-0"),children:[(0,a.jsx)(uz,{"data-sentry-element":"BusinessNamePropertySection","data-sentry-source-file":"SettingsProperties.tsx"}),(0,a.jsx)(uE,{"data-sentry-element":"BusinessDetailsPropertySection","data-sentry-source-file":"SettingsProperties.tsx"}),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"SettingsProperties.tsx"}),n&&(null==t?void 0:t.handle)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(gj,{}),(0,a.jsx)(eu.c,{})]}),e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(yW,{}),(0,a.jsx)(eu.c,{}),(0,a.jsx)(u6,{}),(0,a.jsx)(eu.c,{}),(0,a.jsx)(uK,{}),(0,a.jsx)(eu.c,{}),(0,a.jsx)(gS,{}),(0,a.jsx)(eu.c,{}),(0,a.jsx)(ge,{}),(0,a.jsx)(eu.c,{}),(0,a.jsx)(u9,{}),o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{}),(0,a.jsx)(uJ,{})]}),(0,a.jsx)(eu.c,{})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(gL,{}),(0,a.jsx)(eu.c,{})]})]})})]})})}let yZ={container:(0,o.style)({flex:1}),topContainer:(0,o.style)({paddingBlock:d.Spacing.Large,paddingInline:d.Spacing.xLarge})};function yG(e){let t={[N.CornerStyle.Square]:(0,a.jsx)(mj,{}),[N.CornerStyle.Softened]:(0,a.jsx)(mb,{}),[N.CornerStyle.Rounded]:(0,a.jsx)(mv,{}),[N.CornerStyle.Oval]:(0,a.jsx)(mS,{})};return(0,a.jsx)(nT.V,{...e,itemTemplate:e=>(0,a.jsxs)("div",{className:yO.container,children:[(0,a.jsx)("div",{className:"icon",children:e?t[e]:t[N.CornerStyle.Square]}),(0,a.jsx)("div",{className:"text",children:N.CornerStyle[e||N.CornerStyle.Square]})]},e),"data-sentry-element":"DropdownSelector","data-sentry-component":"CornerDropdown","data-sentry-source-file":"CornerDropdown.tsx"})}let yO={container:"".concat(d.ContainerStyles.VerticallyCenter," ").concat((0,o.style)({display:"flex",flexDirection:"row",color:d.Colors.Subdued,$nest:{".icon > svg":{width:d.Spacing.Medium+d.Spacing.Small,height:d.Spacing.Medium+d.Spacing.Small,marginRight:d.Spacing.Small},".text":{marginRight:d.Spacing.Small}}}))},yz=[N.ButtonAnimationStyle.Darken,N.ButtonAnimationStyle.Sweep,N.ButtonAnimationStyle.Grow,N.ButtonAnimationStyle.Lift],y$=[N.CornerStyle.Square,N.CornerStyle.Softened,N.CornerStyle.Rounded,N.CornerStyle.Oval];function yU(){let e=c.D.views.designer.components.properties.theme,{websiteSettings:t,setWebsiteSettings:n}=(0,j.Hb)(),o=(0,N.getButtonAnimationStyle)(t),r=yz.map(t=>({value:t,label:e.buttonAnimationPropertySection.labels[t]}));return(0,a.jsxs)(sP,{title:e.buttonThemePropertySection.title,"data-sentry-element":"PropertySection","data-sentry-component":"ButtonThemePropertySection","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:[(0,a.jsx)(nY,{variant:"card","data-sentry-element":"ButtonPreview","data-sentry-source-file":"ButtonThemePropertySection.tsx"}),(0,a.jsxs)(w.A,{className:y_.container,"data-sentry-element":"Container","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:[(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:e.buttonCornerPropertySection.title}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:(0,a.jsx)(yG,{values:y$,eventName:ew.o.designer.themes.buttonCornerChange,selectedValue:t.buttonCornerStyle,onValueChanged:e=>n({...t,buttonCornerStyle:e}),"data-sentry-element":"CornerDropdown","data-sentry-source-file":"ButtonThemePropertySection.tsx"})})]}),(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:e.buttonAnimationPropertySection.title}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"ButtonThemePropertySection.tsx",children:(0,a.jsx)(n4,{options:r,selectedValue:o,onValueChanged:e=>{let{analytics:a}=(0,eL.S)();(0,ed.$s)(a,ew.o.designer.themes.buttonAnimationChange,{animation_style:e}),(0,ed.$s)(a,ew.o.designer.themes.themeAnimationStyleChange,{style:e}),n({...t,buttonAnimationStyle:e})},"data-sentry-element":"SegmentedControl","data-sentry-source-file":"ButtonThemePropertySection.tsx"})})]})]})]})}let y_={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({marginTop:d.Spacing.Medium,$nest:{".row":{alignItems:"center"},".row:not(:first-child)":{marginTop:"".concat(d.Spacing.Small,"px !important")}}}))};var yq=n(24483);
1function yQ(e){let{color:t,onChange:n,onChangeEnd:o}=e,s=(0,r.useRef)(!1);return(0,a.jsxs)("div",{className:yK.content,"data-sentry-component":"ColorPicker","data-sentry-source-file":"ColorPicker.tsx",children:[(0,a.jsx)(yq.jI,{className:"solo-color-picker",color:t,onChange:n,onChangeEnd:o,"data-sentry-element":"HexColorPicker","data-sentry-source-file":"ColorPicker.tsx"}),(0,a.jsxs)("div",{className:yK.swatchRow,children:[(0,a.jsx)("div",{className:yK.swatchPreview,style:{background:t}}),(0,a.jsx)(yq.HC,{className:yK.hexInput,color:t,onChange:null!=o?o:n,onMouseDown:e=>{s.current=document.activeElement===e.currentTarget},onFocus:e=>e.target.select(),onMouseUp:e=>{e.preventDefault();let t=e.currentTarget,n=t.value.length>0&&0===t.selectionStart&&t.selectionEnd===t.value.length;if(s.current&&n){let e=t.value.length;t.setSelectionRange(e,e)}else t.select()},prefixed:!0,"data-sentry-element":"HexColorInput","data-sentry-source-file":"ColorPicker.tsx"})]})]})}(0,o.cssRule)(".solo-color-picker.react-colorful",{width:"100%",height:"auto",gap:u.Spacing.Small}),(0,o.cssRule)(".solo-color-picker .react-colorful__saturation",{flexGrow:0,height:216,borderRadius:u.Spacing.Micro,border:"none",boxShadow:"inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)"}),(0,o.cssRule)(".solo-color-picker .react-colorful__hue",{height:u.Spacing.xLarge,borderRadius:u.Spacing.Micro,boxShadow:"inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)"}),(0,o.cssRule)(".solo-color-picker .react-colorful__pointer",{width:u.Spacing.xLarge,height:u.Spacing.xLarge}),(0,o.cssRule)(".solo-color-picker .react-colorful__pointer-fill",{inset:2}),(0,o.cssRule)(".solo-color-picker .react-colorful__interactive:focus .react-colorful__pointer",{transform:"translate(-50%, -50%)"});let yK={content:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.Large}),swatchRow:(0,o.style)({display:"flex",alignItems:"center",gap:u.Spacing.Large}),swatchPreview:(0,o.style)({width:44,height:44,flexShrink:0,borderRadius:4,boxShadow:"inset 0px 0px 0px 1px rgba(0, 0, 0, 0.12)"}),hexInput:(0,o.style)({width:88,padding:"7px ".concat(u.Spacing.Medium-2,"px"),border:"1px solid ".concat(d.Colors.Border),borderRadius:u.Spacing.Micro,fontSize:13,lineHeight:"18px",color:u.StandardColors.ColorDarkGray50,$nest:{"&:focus":{outline:"none",borderColor:d.Colors.Primary,boxShadow:"0px 0px 2px 1px ".concat(d.Colors.Primary)},...d.selectionBranded}})};function yY(e){let{color:t,onChange:n,onChangeEnd:o,onClose:r}=e,s=c.D.views.designer.components.properties.theme.colorPickerPanel;return(0,a.jsx)(dK,{title:s.panelTitle,closeButtonLabel:s.closePanel,onClose:r,width:320,headerHorizontalPadding:u.Spacing.Large,"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"ColorPickerPanel","data-sentry-source-file":"ColorPickerPanel.tsx",children:(0,a.jsx)("div",{className:yX.content,children:(0,a.jsx)(yQ,{color:t,onChange:n,onChangeEnd:o,"data-sentry-element":"ColorPicker","data-sentry-source-file":"ColorPickerPanel.tsx"})})})}let yX={content:(0,o.style)({padding:u.Spacing.Large,paddingTop:0})};function yJ(e){let{swatches:t,selectedSwatchKey:n,onSelectSwatch:o}=e;return(0,a.jsx)("div",{className:y0.swatchRow,"data-sentry-component":"ColorSwatchRow","data-sentry-source-file":"ColorSwatchRow.tsx",children:t.map(e=>(0,a.jsx)(y1,{swatch:e,isSelected:e.key===n,onSelect:()=>o(e.key)},e.key))})}function y1(e){let{swatch:t,isSelected:n,onSelect:o}=e;return(0,a.jsxs)("div",{className:y0.swatchColumn,"data-sentry-component":"Swatch","data-sentry-source-file":"ColorSwatchRow.tsx",children:[(0,a.jsx)("button",{className:"".concat(y0.swatchButton," ").concat(n?y0.swatchButtonSelected:""),style:{backgroundColor:t.hex},onClick:o,"aria-label":t.label,"aria-pressed":n}),(0,a.jsx)("span",{className:y0.swatchLabel,children:t.label})]})}let y0={swatchRow:(0,o.style)({display:"flex",alignItems:"flex-start",gap:u.Spacing.Small,marginBlock:u.Spacing.Small}),swatchColumn:(0,o.style)({display:"flex",flexDirection:"column",alignItems:"center",gap:u.Spacing.Micro,flex:"1 0 0",minWidth:0}),swatchButton:(0,o.style)({width:"100%",height:56,border:"none",padding:0,cursor:"pointer",borderRadius:4,boxShadow:u.BoxShadowStyles.innerXSmall,$nest:{"&:hover":{boxShadow:"".concat(u.BoxShadowStyles.SecondarySelectHover,", ").concat(u.BoxShadowStyles.innerXSmall)}}}),swatchButtonSelected:(0,o.style)({boxShadow:"".concat(u.BoxShadowStyles.SecondarySelectActive,", ").concat(u.BoxShadowStyles.innerXSmall),$nest:{"&:hover":{boxShadow:"".concat(u.BoxShadowStyles.SecondarySelectActive,", ").concat(u.BoxShadowStyles.innerXSmall)}}}),swatchLabel:(0,o.style)({fontSize:11,lineHeight:"16px",color:u.StandardColors.ColorDarkGray05,textAlign:"center"})};var y3=n(73547),y2=n(72764);function y6(e){let{onClose:t}=e,n=c.D.views.designer.components.properties.theme.colorsPanel,{websiteSettings:o,setWebsiteSettings:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(null),[d,p]=(0,r.useState)(null);return(0,a.jsx)(dK,{title:n.panelTitle,closeButtonLabel:n.closePanel,onClose:t,width:312,showHeaderDivider:!0,animateHeight:!0,"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"ColorsPanel","data-sentry-source-file":"ColorsPanel.tsx",children:(0,a.jsx)("div",{className:y5.grid,children:y3.Xo.map(e=>{var t;return(0,a.jsx)("button",{type:"button",className:y5.presetButton,onClick:()=>(function(e){let t=y3.Xo.find(t=>
1t.id===e);if(!t)return;p(t.id);let{analytics:n}=(0,eL.S)();(0,ed.$s)(n,ew.o.designer.themes.colorPaletteSelected,{palette_id:t.id}),s({...o,theme:{...o.theme,seeds:t.colors}})})(e.id),onMouseEnter:()=>l(e.id),onMouseLeave:()=>l(null),children:(0,a.jsx)(y2.f,{"data-testid":"color-preset-".concat(e.id),colors:e.colors,interactionState:d===(t=e.id)?"selected":i===t?"hover":void 0})},e.id)})})})}let y5={grid:(0,o.style)({display:"grid",gridTemplateColumns:"repeat(".concat(2,", 1fr)"),gap:u.Spacing.Medium,paddingInline:20,paddingBlock:u.Spacing.Large}),presetButton:(0,o.style)({display:"block",width:"100%",padding:0,border:"none",background:"none",cursor:"pointer",textAlign:"left"})},y4=["base","headings","primary","accent","accent2"];function y7(){var e,t,n;let{analytics:o}=(0,eL.S)(),{ownerBillingStatus:s,isLoaded:i,showPlanNotificationModal:l}=(0,ad.dp)(),{user:p,isLoaded:m}=(0,x.uM)(),{websiteSettings:u,setWebsiteSettings:g,resolvedTheme:y}=(0,j.Hb)(),[h,C]=(0,r.useState)(null),[f,S]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),w={...null!=(t=null==(e=u.theme)?void 0:e.seeds)?t:y.seeds},[L,k]=(0,r.useState)(null),M=null!=L?L:w,P=c.D.views.designer.components.properties.theme.colorPickerSection,D=(n=P.seedLabels,y4.map(e=>({key:e,label:n[e],hex:M[e]}))),I=D.find(e=>e.key===h),T=(0,r.useRef)(u);T.current=u;let B=(0,r.useRef)(!1);function A(){B.current||(B.current=!0,(0,ed.$s)(o,ew.o.designer.themes.colorPickerColorChanged))}function H(e,t){var n,a;let o=T.current,r={...null!=(a=null==(n=o.theme)?void 0:n.seeds)?a:w,[e]:t};g({...o,theme:{...o.theme,seeds:r}})}let[F,R]=(0,r.useTransition)(),V=(0,r.useRef)(F);V.current=F;let{throttledFunction:W,cancel:E}=(0,tW.X9)((e,t)=>{var n,a;return n=V.current,a=()=>R(()=>H(e,t)),void(!n&&(A(),a()))});return(0,r.useEffect)(()=>{B.current=!1,E()},[h,E]),(0,a.jsxs)(sP,{title:P.title,rightTitleContent:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:function(){(0,ed.$s)(o,ew.o.designer.themes.colorChange),S(!0)},children:P.replace}),"data-sentry-element":"PropertySection","data-sentry-component":"ColorPickerSection","data-sentry-source-file":"ColorPickerSection.tsx",children:[(0,a.jsxs)("div",{className:y9.subtitleRow,children:[(0,a.jsx)("span",{className:y9.subtitle,children:P.subtitle}),(0,a.jsx)(aL.y,{tierOverride:s.isGrow?N.PlanType.GROW:N.PlanType.PRO,isClickable:!1,"data-sentry-element":"TierBadge","data-sentry-source-file":"ColorPickerSection.tsx"})]}),(0,a.jsx)(yJ,{swatches:D,selectedSwatchKey:h,onSelectSwatch:e=>{if(i&&m){if(!p)return void b(!0);if(!s.isPro&&!s.isGrow)return void l(ad.Zh.CUSTOMIZE_THEME_COLORS);C(e)}},"data-sentry-element":"ColorSwatchRow","data-sentry-source-file":"ColorPickerSection.tsx"}),I&&(0,a.jsx)(yY,{color:I.hex,onChange:function(e){if(!h)return;let t=e.toLowerCase();k({...M,[h]:t}),W(h,t)},onChangeEnd:function(e){if(!h)return;let t=e.toLowerCase();E(),w[h]!==t&&(A(),H(h,t)),k(null)},onClose:()=>C(null)}),f&&(0,a.jsx)(y6,{onClose:()=>S(!1)}),v&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>b(!v),closeModal:()=>b(!1),postLoginCallback:()=>b(!1)})]})}let y9={subtitleRow:(0,o.style)({display:"flex",alignItems:"center",height:u.Spacing.xLarge,gap:u.Spacing.Small}),subtitle:(0,o.style)({fontSize:13,lineHeight:"18px",color:u.StandardColors.ColorDarkGray50})};function y8(){let e=c.D.views.designer.components.properties.theme.fontPropertySection,{analytics:t}=(0,eL.S)(),{websiteSettings:n,setWebsiteSettings:o}=(0,j.Hb)(),[s,i]=(0,r.useState)(!1),l=(0,r.useRef)(null),p=(0,r.useRef)(null),m=()=>i(!0);return(0,r.useEffect)(()=>{s&&(0,ed.$s)(t,ew.o.designer.themes.fontChange)},[s]),(0,a.jsxs)(sP,{title:e.title,rightTitleContent:(0,a.jsx)("span",{ref:p,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:m,children:e.replace})}),"data-sentry-element":"PropertySection","data-sentry-component":"FontPropertySection","data-sentry-source-file":"FontPropertySection.tsx",children:[(0,a.jsx)("div",{ref:l,children:(0,a.jsx)(pn,{variant:"pair",selectedFont:n.fonts,onOpenFontPanel:m,fontSettings:[pt.Preview,pt.FontSize,pt.FontWeight],onFontChanged:e=>o({...n,fonts:e}),strings:{fontLabel:"",sizeLabel:e.headingSize,weightLabel:e.headingWeight},eventNames:{fontSizeChange:ew.o.designer.themes.fontSizeChange,fontWeightChange:ew.o.designer.themes.fontWeight},"data-sentry-element":"FontProperties","data-sentry-source-file":"FontPropertySection.tsx"})}),s&&(0,a.jsx)(py,{variant:"pair",selectedFont:n.fonts,ignoreRefs:[l,p],onClose:()=>i(!1),onFontSelected:e=>o({...n,fonts:e}),onApply:(e,n)=>{(0,ed.$s)(t,ew.o.designer.themes.fontApply,{character_set:n,font_pair_name:"".concat(e.headingFont.fontName," / ").concat(e.bodyFont.fontName)})}})]})}function xe(e){let{title:t,dropdownProps:n}=e,{values:o,...r}=n;return(0,a.jsx)(sP,{"data-sentry-element":"PropertySection","data-sentry-component":"CornerProperties","data-sentry-source-file":"CornerProperties.tsx",children:(0,a.jsx)(w.A,{className:"".concat(xt.container),"data-sentry-element":"Container","data-sentry-source-file":"CornerProperties.tsx",children:(0,a.jsxs)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"CornerProperties.tsx",children:[(0,a.jsx)(k.A,{className:d.FontStyles.SemiBold,"data-sentry-element":"Col","data-sentry-source-file":"CornerProperties.tsx",children:t}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"CornerProperties.tsx",children:(0,a.jsx)(yG,{values:o||[N.CornerStyle.Square,N.CornerStyle.Softened,N.CornerStyle.Rounded,N.CornerStyle.Oval],...r,"data-sentry-element":"CornerDropdown","data-sentry-source-file":"CornerProperties.tsx"})})]})})})}let xt={container:"".concat(d.ContainerStyles.NoSpacing," ").concat((0,o.style)({$nest:{".row":{alignItems:"center"},".row:not(:first-child)":{marginTop:"".concat(d.Spacing.Small,"px !important")}}}))};function xn(){let e=c.D.views.designer.components.properties.theme.imageCornerPropertySection,{websiteSettings:t,setWebsiteSettings:n}=(0,j.Hb)();return(0,a.jsx)(xe,{title:e.title,dropdownProps:{eventName:ew.o.designer.themes.imageCornerChange,selectedValue:t.imageCornerStyle,onValueChanged:e=>{n({...t,imageCornerStyle:e})}},"data-sentry-element":"CornerProperties","data-sentry-component":"ImageCornerPropertySection","data-sentry-source-file":"ImageCornerPropertySection.tsx"})}function xa(){let e=c.D.views.designer.components.properties.sectionBorderPropertySection,{websiteSettings:t,setWebsiteSettings:n}=(0,j.Hb)();return(0,a.jsx)(cb,{editEventName:ew.o.designer.themes.editBottomBorder,propertyEnabled:t.bottomBorderStyle&&t.bottomBorderStyle.enabled,subtitle:e.description,setPropertyEnabled:e=>{n({...t,bottomBorderStyle:{...t.bottomBorderStyle,enabled:e}})},title:e.title,toggleEventName:ew.o.designer.themes.toggleBottomBorder,"data-sentry-element":"PropertySectionWithToggle","data-sentry-component":"SectionBorderPropertySection","data-sentry-source-file":"SectionBorderPropertySection.tsx"})}var xo=n(84019),xr=n(55676),xs=n(1387),xi=n(14100);function xl(e){return"".concat(e/342,"em")}let xc=["headings","primary","accent","accent2"],xd=u.BoxShadowStyles.innerXSmall,xp={hover:u.BoxShadowStyles.SecondarySelectHover,selected:u.BoxShadowStyles.SecondarySelectActive,pressed:u.BoxShadowStyles.SecondarySelectActive};
1function xm(e){let{colors:t,fonts:n,buttonCornerStyle:o,buttonTextColor:s="#ffffff",headingColor:i,width:l,interactionState:d,className:p}=e,m=c.D.views.designer.components.properties.theme.themeCard,g=(0,r.useRef)(null),[y,x]=(0,r.useState)(342);(0,r.useLayoutEffect)(()=>{var e,t;if(void 0!==l)return;let n=null==(e=g.current)?void 0:e.parentElement;if(!n)return;let a=()=>{n.clientWidth>0&&x(n.clientWidth)};if(a(),"undefined"==typeof ResizeObserver)return;let o=new ResizeObserver(a);return null==(t=o.observe)||t.call(o,n),()=>{var e;return null==(e=o.disconnect)?void 0:e.call(o)}},[l]);let h=null!=l?l:y,C=xc.map(e=>t[e]),{fontFamilyCss:f}=(0,Z.G)(n.headingFont.fontName),{fontFamilyCss:S}=(0,Z.G)(n.bodyFont.fontName);return(0,a.jsxs)("div",{ref:g,className:"".concat(xu.card," ").concat(null!=p?p:""),style:{width:h,fontSize:h,backgroundColor:t.base,boxShadow:d?"".concat(xp[d],", ").concat(xd):xd},"data-sentry-component":"ThemeCard","data-sentry-source-file":"ThemeCard.tsx",children:[(0,a.jsx)("div",{className:xu.headingPreview,style:{fontFamily:null!=f?f:void 0,fontWeight:n.headingFont.fontWeight,color:null!=i?i:t.headings},children:m.headingPreview}),(0,a.jsx)("div",{className:xu.swatchStack,children:C.map((e,t)=>(0,a.jsx)("div",{className:xu.swatch,style:{zIndex:C.length-t,marginRight:t===C.length-1?0:void 0,backgroundColor:e}},"".concat(e,"-").concat(t)))}),(0,a.jsx)("div",{className:xu.buttonPreviewContainer,children:(0,a.jsx)("div",{className:xu.buttonPreview,style:{backgroundColor:t.primary,color:s,fontFamily:null!=S?S:void 0,borderRadius:(0,u.getButtonBorderRadius)(o)/342*h,paddingInline:.04093567251461988*h,paddingBlock:.017543859649122806*h},children:m.buttonPreview})})]})}let xu={card:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,overflow:"hidden",aspectRatio:"".concat(342," / ").concat(88),borderRadius:xl(6),paddingInline:xl(4),paddingBlock:xl(16)}),headingPreview:(0,o.style)({display:"flex",flex:"1 0 0",minWidth:0,alignItems:"center",justifyContent:"center",fontSize:xl(38)}),swatchStack:(0,o.style)({display:"flex",alignItems:"center",flexShrink:0}),swatch:(0,o.style)({flexShrink:0,width:xl(48),height:xl(48),marginRight:"-".concat(xl(20)),borderRadius:"50%",boxShadow:"inset -1px 0 0 0 rgba(255, 255, 255, 0.33), inset 1px 0 0 0 rgba(0, 0, 0, 0.25)"}),buttonPreviewContainer:(0,o.style)({display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",width:xl(112)}),buttonPreview:(0,o.style)({display:"flex",alignItems:"center",justifyContent:"center",fontSize:xl(11),fontWeight:500,whiteSpace:"nowrap"})},xg=new Map;function xy(e){let{onClose:t}=e,n=c.D.views.designer.components.properties.theme.localPresetThemesPanel,{websiteSettings:o,setWebsiteSettings:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(()=>(0,xs.Lo)()),[p,m]=(0,r.useState)(null),[u,g]=(0,r.useState)(),[y,x]=(0,r.useState)(null),[h,C]=(0,r.useState)(!1),[f,S]=(0,r.useState)("");function v(e){try{return(0,xi.e)(JSON.parse(e))}catch(e){return null}}function b(){C(!1),S("")}function w(e,t){let n=[...i],a=e+t;[n[e],n[a]]=[n[a],n[e]],(0,xs.Gd)(n),l(n)}return(0,a.jsxs)(dK,{title:n.panelTitle,closeButtonLabel:n.closePanel,onClose:t,width:516,showHeaderDivider:!0,animateHeight:!0,"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"LocalPresetThemesPanel","data-sentry-source-file":"LocalPresetThemesPanel.tsx",children:[0===i.length?(0,a.jsx)("div",{className:xx.emptyState,children:n.emptyState}):(0,a.jsx)("div",{className:xx.list,children:i.map((e,t)=>{var r;return(0,a.jsxs)("div",{className:xx.row,children:[(0,a.jsx)("button",{type:"button",className:xx.presetButton,onClick:()=>{s({...o,theme:{...o.theme,seeds:e.colors},fonts:e.fonts,buttonCornerStyle:e.buttonCornerStyle,sections:(0,E.assignSectionThemeModes)(o.sections,o.pages)})},onMouseEnter:()=>{m(e.id),g("hover")},onMouseLeave:()=>{m(null),g(void 0)},onMouseDown:()=>{m(e.id),g("pressed")},onMouseUp:()=>g("hover"),children:(0,a.jsx)(xm,{colors:e.colors,fonts:e.fonts,buttonCornerStyle:e.buttonCornerStyle,buttonTextColor:function(e){let t=xg.get(e.id);if(t&&t.colors===e.colors)return t.color;let n=(0,E.resolveButtonTextColorFromSeeds)(e.colors);return xg.set(e.id,{colors:e.colors,color:n}),n}(e),width:272,interactionState:p===e.id?u:void 0})}),(0,a.jsxs)("div",{className:xx.sideColumn,children:[(0,a.jsx)("span",{className:xx.slug,children:e.id}),(0,a.jsxs)("div",{className:xx.sideButtons,children:[(0,a.jsx)(J.x,{title:n.moveUpLabel,target:(0,a.jsx)(G.A,{"aria-label":n.moveUpLabel,className:xx.sideButton,disabled:0===t,onClick:()=>w(t,-1),children:(0,a.jsx)("span",{className:xx.chevronUp,children:(0,a.jsx)(oP.X,{})})})}),(0,a.jsx)(J.x,{title:n.moveDownLabel,target:(0,a.jsx)(G.A,{"aria-label":n.moveDownLabel,className:xx.sideButton,disabled:t===i.length-1,onClick:()=>w(t,1),children:(0,a.jsx)(oP.X,{})})}),(0,a.jsx)(J.x,{title:n.copyLabel,target:(0,a.jsx)(G.A,{"aria-label":n.copyLabel,className:xx.sideButton,onClick:()=>{navigator.clipboard.writeText(JSON.stringify(e,null,2))},children:(0,a.jsx)(lC,{})})}),(0,a.jsx)(J.x,{title:n.overwriteLabel,target:(0,a.jsx)(G.A,{"aria-label":n.overwriteLabel,className:xx.sideButton,disabled:!(null==(r=o.theme)?void 0:r.seeds),onClick:()=>(function(e){var t;let n=null==(t=o.theme)?void 0:t.seeds;if(!n)return;let a=i.map(t=>
1t.id===e.id?{...t,colors:n,fonts:o.fonts,buttonCornerStyle:o.buttonCornerStyle,modifiedAt:new Date().toISOString().slice(0,10)}:t);(0,xs.Gd)(a),l(a)})(e),children:(0,a.jsx)(xr.p,{})})}),(0,a.jsx)(J.x,{title:n.deleteLabel,target:(0,a.jsx)(G.A,{"aria-label":n.deleteLabel,className:xx.sideButton,onClick:()=>x(e.id),children:(0,a.jsx)(aB.r,{})})})]})]})]},e.id)})}),(0,a.jsxs)("div",{className:xx.footer,children:[(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:function(){navigator.clipboard.writeText(JSON.stringify(i,null,2))},disabled:0===i.length,"data-sentry-element":"Button","data-sentry-source-file":"LocalPresetThemesPanel.tsx",children:n.copyAll}),(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:function(){S(JSON.stringify(i,null,2)),C(!0)},"data-sentry-element":"Button","data-sentry-source-file":"LocalPresetThemesPanel.tsx",children:n.editJson})]}),h&&(0,a.jsx)(i$,{isOpen:!0,mode:"code",allowJson:!0,title:n.editJsonDialogTitle,description:n.editJsonDialogDescription,initialContent:f,maxLength:128e3,onContentChange:S,validationFunction:function(e){return v(e)?{isValid:!0}:{isValid:!1,errorType:E.CustomCodeErrorType.INVALID_JSON}},onSaveContent:function(e){let t=v(e);t&&((0,xs.Gd)(t),l(t))},onCancel:b,onClosed:b}),y&&(0,a.jsx)(ty.y,{isOpen:!0,title:n.deleteDialogTitle,saveButtonText:n.deleteDialogConfirm,onSave:async()=>(function(){let e=i.filter(e=>e.id!==y);(0,xs.Gd)(e),l(e),x(null)})(),onClosed:()=>x(null),children:n.deleteDialogDescription})]})}let xx={emptyState:(0,o.style)({padding:u.Spacing.xLarge,color:"inherit",textAlign:"center"}),list:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.Medium,paddingInline:20,paddingBlock:u.Spacing.Large}),row:(0,o.style)({display:"flex",flexDirection:"row",alignItems:"stretch",gap:u.Spacing.Medium}),presetButton:(0,o.style)({display:"block",flexShrink:0,width:272,padding:0,border:"none",background:"none",cursor:"pointer",textAlign:"left"}),sideColumn:(0,o.style)({display:"flex",flex:1,minWidth:0,flexDirection:"column",justifyContent:"space-between",paddingBlock:u.Spacing.Micro}),slug:"".concat(d.FontStyles.Subordinate," ").concat(d.FontStyles.Subdued," ").concat((0,o.style)({display:"block",width:"100%",fontSize:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})),sideButtons:(0,o.style)({display:"flex",flexDirection:"row",gap:u.Spacing.Small}),sideButton:"".concat(d.ButtonStyles.SecondaryExtraSmall," ").concat((0,o.style)({display:"flex",justifyContent:"center",alignItems:"center",width:u.Spacing.xxLarge,height:u.Spacing.xxLarge,margin:0})),chevronUp:(0,o.style)({display:"flex",transform:"rotate(180deg)"}),footer:(0,o.style)({display:"flex",justifyContent:"space-between",paddingInline:20,paddingBlock:u.Spacing.Medium})},xh=(0,o.style)({color:u.StandardColors.ColorOrange70,fontWeight:600});function xC(){let e=c.D.views.designer.components.properties.theme.localPresetThemesSection,[t,n]=(0,r.useState)(!1);return(0,a.jsx)(sP,{title:e.title,subtitle:e.subtitle,titleClassname:xh,rightTitleContent:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>n(!0),children:e.manageButton}),"data-sentry-element":"PropertySection","data-sentry-component":"LocalPresetThemesSection","data-sentry-source-file":"LocalPresetThemesSection.tsx",children:t&&(0,a.jsx)(xy,{onClose:()=>n(!1)})})}let xf=(0,o.style)({color:u.StandardColors.ColorOrange70,fontWeight:600});function xS(){let e=c.D.views.designer.components.properties.theme.revertToLegacyThemeSection,{websiteSettings:t,setWebsiteSettings:n}=(0,j.Hb)();return(0,a.jsx)(sP,{title:e.title,subtitle:e.subtitle,titleClassname:xf,rightTitleContent:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:function(){n({...t,theme:{...t.theme,seeds:void 0,themeV2:void 0},sections:t.sections.map(e=>({...e,props:{...e.props,sectionThemeMode:void 0}}))})},children:e.revertButton}),"data-sentry-element":"PropertySection","data-sentry-component":"RevertToLegacyThemeSection","data-sentry-source-file":"RevertToLegacyThemeSection.tsx"})}let xv=(0,o.style)({color:u.StandardColors.ColorOrange70,fontWeight:600});function xb(){var e;let t=c.D.views.designer.components.properties.theme.saveLocalThemePresetSection,{websiteSettings:n}=(0,j.Hb)(),[o,s]=(0,r.useState)(!1),[i,l]=(0,r.useState)(""),p=null==(e=n.theme)?void 0:e.seeds;async function m(){if(!p||!i.trim())return!1;let e=(0,xs.Lo)(),t=new Date().toISOString().slice(0,10),a={id:function(e,t){let n=new Set(t.map(e=>e.id));if(!n.has(e))return e;let a=2;for(;n.has("".concat(e,"-").concat(a));)a+=1;return"".concat(e,"-").concat(a)}(i.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""),e),name:i,colors:p,fonts:n.fonts,buttonCornerStyle:n.buttonCornerStyle,createdAt:t,modifiedAt:t};return(0,xs.Gd)([...e,a]),l(""),s(!1),!0}return(0,a.jsx)(sP,{title:t.title,subtitle:t.subtitle,titleClassname:xv,rightTitleContent:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,disabled:!p,onClick:()=>s(!0),children:t.saveButton}),"data-sentry-element":"PropertySection","data-sentry-component":"SaveLocalThemePresetSection","data-sentry-source-file":"SaveLocalThemePresetSection.tsx",children:o&&(0,a.jsx)(rz,{isOpen:!0,title:t.dialogTitle,inputLabel:t.dialogInputLabel,detailsText:"",value:i,maxLength:60,onValueChange:e=>l(e),onSave:m,onClosed:()=>s(!1)})})}var xj=n(31780);function xw(){return!function(e){let[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=xj.Ay.onFeatureFlags(()=>{var t;n(null!=(t=xj.Ay.isFeatureEnabled(e))&&t)});return()=>{null==t||t()}},[e]),t}(xo.g.ENABLE_THEME_DEV_TOOLS)?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeDevTools.tsx"}),(0,a.jsx)(xb,{"data-sentry-element":"SaveLocalThemePresetSection","data-sentry-source-file":"ThemeDevTools.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeDevTools.tsx"}),(0,a.jsx)(xC,{"data-sentry-element":"LocalPresetThemesSection","data-sentry-source-file":"ThemeDevTools.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeDevTools.tsx"}),(0,a.jsx)(xS,{"data-sentry-element":"RevertToLegacyThemeSection","data-sentry-source-file":"ThemeDevTools.tsx"})]})}function xL(e){let t=(0,y3.bN)(e);if(!t)throw Error('No color preset found for id "'.concat(e,'"'));return t}let xk=[{...xL("onboarding-2"),fonts:{headingFont:{fontName:"Gabarito",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Public Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Friendly"},buttonCornerStyle:N.CornerStyle.Softened},{...xL("onboarding-1"),fonts:{headingFont:{fontName:"Poppins",fontWeight:N.FontWeight.SemiBold,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Poppins",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Geometric"},buttonCornerStyle:N.CornerStyle.Square},{...xL("onboarding-4"),fonts:{headingFont:{fontName:"Rethink Sans",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Rethink Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Substantial"},buttonCornerStyle:N.CornerStyle.Rounded},{...xL("cools"),fonts:{headingFont:{fontName:"Hepta Slab",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Inter",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Vintage"},buttonCornerStyle:N.CornerStyle.Rounded},{...xL("magenta"),fonts:{headingFont:{fontName:"Montserrat",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Open Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Architectural"},buttonCornerStyle:N.CornerStyle.Oval},{...xL("onboarding-3"),fonts:{headingFont:{fontName:"Bricolage Grotesque",fontWeight:N.FontWeight.SemiBold,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Inter",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Quirky"},buttonCornerStyle:N.CornerStyle.Rounded},{...xL("persimmon"),fonts:{headingFont:{fontName:"Anton",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Inter",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Condensed"},buttonCornerStyle:N.CornerStyle.Square},{...xL("santa-fe"),fonts:{headingFont:{fontName:"Hepta Slab",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Inter",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Vintage"},buttonCornerStyle:N.CornerStyle.Oval},{...xL("apricot"),fonts:{headingFont:{fontName:"Instrument Sans",fontWeight:N.FontWeight.SemiBold,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Instrument Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Contemporary"},buttonCornerStyle:N.CornerStyle.Rounded},{...xL("americana-light"),fonts:{headingFont:{fontName:"Marcellus",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Libre Franklin",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Elegant"},buttonCornerStyle:N.CornerStyle.Square},{...xL("dusty-blue"),fonts:{headingFont:{fontName:"Rethink Sans",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Rethink Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Substantial"},buttonCornerStyle:N.CornerStyle.Softened},{...xL("onboarding-5"),fonts:{headingFont:{fontName:"Space Grotesk",fontWeight:N.FontWeight.Bold,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Inter",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Stark"},buttonCornerStyle:N.CornerStyle.Square},{...xL("onboarding-6"),fonts:{headingFont:{fontName:"Gabarito",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Public Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Friendly"},buttonCornerStyle:N.CornerStyle.Oval},{...xL("bold-teal"),fonts:{headingFont:{fontName:"Hepta Slab",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Inter",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Vintage"},buttonCornerStyle:N.CornerStyle.Square},{...xL("onboarding-7"),fonts:{headingFont:{fontName:"Urbanist",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Urbanist",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Modernist"},buttonCornerStyle:N.CornerStyle.Oval},{...xL("business-blue"),fonts:{headingFont:{fontName:"Poppins",fontWeight:N.FontWeight.Medium,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Poppins",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Geometric"},buttonCornerStyle:N.CornerStyle.Oval},{...xL("dark-violet"),fonts:{headingFont:{fontName:"Instrument Sans",fontWeight:N.FontWeight.SemiBold,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Instrument Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Contemporary"},buttonCornerStyle:N.CornerStyle.Rounded},{...xL("fastfood"),fonts:{headingFont:{fontName:"Poppins",fontWeight:N.FontWeight.SemiBold,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.
1ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Poppins",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Geometric"},buttonCornerStyle:N.CornerStyle.Rounded},{...xL("dark-cyan"),fonts:{headingFont:{fontName:"Inter Tight",fontWeight:N.FontWeight.Bold,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Light,N.FontWeight.Regular,N.FontWeight.Medium,N.FontWeight.SemiBold,N.FontWeight.Bold,N.FontWeight.ExtraBold],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Open Sans",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Simple"},buttonCornerStyle:N.CornerStyle.Square},{...xL("name-here"),fonts:{headingFont:{fontName:"Abril Fatface",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Libre Franklin",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Luxurious"},buttonCornerStyle:N.CornerStyle.Rounded},{...xL("onboarding-8"),fonts:{headingFont:{fontName:"Gloock",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Libre Franklin",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Graceful"},buttonCornerStyle:N.CornerStyle.Square},{...xL("pecan"),fonts:{headingFont:{fontName:"Marcellus",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular],supportedStyles:[N.FontStyle.Regular]},bodyFont:{fontName:"Libre Franklin",fontWeight:N.FontWeight.Regular,fontStyle:N.FontStyle.Regular,fontSize:N.FontSize.Default,supportedWeights:[N.FontWeight.Regular,N.FontWeight.Bold],supportedStyles:[N.FontStyle.Regular,N.FontStyle.Italic]},style:"Elegant"},buttonCornerStyle:N.CornerStyle.Square}];function xM(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(Array.isArray(e)||Array.isArray(t))return!!Array.isArray(e)&&!!Array.isArray(t)&&e.length===t.length&&e.every((e,n)=>xM(e,t[n]));let n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every(n=>Object.prototype.hasOwnProperty.call(t,n)&&xM(e[n],t[n]))}let xP=new Map,xN=new Map;function xD(e){let{onClose:t}=e,n=c.D.views.designer.components.properties.theme.presetThemesPanel,{websiteSettings:o,setWebsiteSettings:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(null),[d,p]=(0,r.useState)(null);return(0,a.jsx)(dK,{title:n.panelTitle,closeButtonLabel:n.closePanel,onClose:t,width:312,showHeaderDivider:!0,animateHeight:!0,"data-sentry-element":"FloatingSidebarPanel","data-sentry-component":"PresetThemesPanel","data-sentry-source-file":"PresetThemesPanel.tsx",children:(0,a.jsx)("div",{className:xI.list,children:xk.map(e=>{var t;let n,r;return(0,a.jsx)("button",{type:"button",className:xI.presetButton,onClick:()=>(function(e){let t=xk.find(t=>t.id===e);if(!t)return;p(t.id);let{analytics:n}=(0,eL.S)();(0,ed.$s)(n,ew.o.designer.themes.themeSelect,{theme_name:t.name,is_legacy:(0,E.isLegacyTheme)(o),source:"designer"}),s({...o,theme:{...o.theme,seeds:t.colors},fonts:t.fonts,buttonCornerStyle:t.buttonCornerStyle,sections:(0,E.assignSectionThemeModes)(o.sections,o.pages)})})(e.id),onMouseEnter:()=>l(e.id),onMouseLeave:()=>l(null),children:(0,a.jsx)(xm,{colors:e.colors,fonts:e.fonts,buttonCornerStyle:e.buttonCornerStyle,buttonTextColor:(void 0===(n=xP.get(e.id))&&(n=(0,E.resolveButtonTextColorFromSeeds)(e.colors),xP.set(e.id,n)),n),headingColor:(void 0===(r=xN.get(e.id))&&(r=(0,E.resolveHeadingColorFromSeeds)(e.colors),xN.set(e.id,r)),r),width:272,interactionState:d===(t=e.id)?"selected":i===t?"hover":void 0})},e.id)})})})}let xI={list:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.Medium,paddingInline:20,paddingBlock:u.Spacing.Large}),presetButton:(0,o.style)({display:"block",width:"100%",padding:0,border:"none",background:"none",cursor:"pointer",textAlign:"left"})};function xT(){var e,t;let n=c.D.views.designer.components.properties.theme.themePreview,{websiteSettings:o,resolvedTheme:s}=(0,j.Hb)(),[i,l]=(0,r.useState)(!1),[p,m]=(0,r.useState)(void 0),u=null==(e=o.theme)?void 0:e.seeds,g=null!=u?u:s.seeds,y=void 0!==u&&(t={seeds:u,fonts:o.fonts,buttonCornerStyle:o.buttonCornerStyle},!xk.some(e=>{var n,a;return e.buttonCornerStyle===t.buttonCornerStyle&&xM(e.colors,t.seeds)&&(n=e.fonts,a=t.fonts,xM(n.headingFont,a.headingFont)&&xM(n.bodyFont,a.bodyFont))})),x=s.modes.base["section.text-on-primary"],h=s.modes.base["section.heading"];function C(e){let{analytics:t}=(0,eL.S)();(0,ed.$s)(t,ew.o.designer.themes.presetPanelOpened,{source:e}),l(!0)}return(0,a.jsxs)(sP,{title:n.title,titleSuffix:y?n.customized:void 0,rightTitleContent:(0,a.jsx)(G.A,{className:d.ButtonStyles.LinkButtonPrimary,onClick:()=>
1C("replace_link"),children:n.replace}),"data-sentry-element":"PropertySection","data-sentry-component":"ThemePreview","data-sentry-source-file":"ThemePreview.tsx",children:[(0,a.jsx)("button",{type:"button",className:xB.trigger,onClick:()=>C("preview_click"),onMouseEnter:()=>m("hover"),onMouseLeave:()=>m(void 0),onMouseDown:()=>m("pressed"),onMouseUp:()=>m("hover"),children:(0,a.jsx)(xm,{colors:g,fonts:o.fonts,buttonCornerStyle:o.buttonCornerStyle,buttonTextColor:x,headingColor:h,interactionState:p,"data-sentry-element":"ThemeCard","data-sentry-source-file":"ThemePreview.tsx"})}),i&&(0,a.jsx)(xD,{onClose:()=>l(!1)})]})}let xB={trigger:(0,o.style)({display:"block",width:"100%",padding:0,border:"none",background:"none",cursor:"pointer",textAlign:"left"})};function xA(){return(0,a.jsxs)("div",{className:xH.container,"data-sentry-component":"ThemeProperties","data-sentry-source-file":"ThemeProperties.tsx",children:[(0,a.jsx)(xT,{"data-sentry-element":"ThemePreview","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(xw,{"data-sentry-element":"ThemeDevTools","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(y7,{"data-sentry-element":"ColorPickerSection","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(y8,{"data-sentry-element":"FontPropertySection","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(yU,{"data-sentry-element":"ButtonThemePropertySection","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(xn,{"data-sentry-element":"ImageCornerPropertySection","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(eu.c,{"data-sentry-element":"Divider","data-sentry-source-file":"ThemeProperties.tsx"}),(0,a.jsx)(xa,{"data-sentry-element":"SectionBorderPropertySection","data-sentry-source-file":"ThemeProperties.tsx"})]})}let xH={container:"".concat(u.ContainerStyles.NoSpacing," ").concat((0,o.style)({padding:u.Spacing.xLarge,flexDirection:"column"}))};function xF(){let{designerSettings:e,isWebsiteLoaded:t}=(0,j.Hb)(),{designerMode:n}=e;return t?n===j.dR.Settings?(0,a.jsx)(yE,{}):n===j.dR.Sections?(0,a.jsx)(uA,{}):n===j.dR.Theme?(0,a.jsx)(xA,{}):n===j.dR.Properties?(0,a.jsx)(up,{}):null:null}function xR(){let[e,t]=(0,r.useState)(!1),{designerSettings:n,closeSidebar:o,currentPage:s,isMultipage:i}=(0,j.Hb)(),{designerMode:l,selectedSection:p}=n,m=c.D.views.designer.components.properties.designerPropertiesHeader,u=l===j.dR.Properties&&(null==p?void 0:p.type)===N.WebsiteSectionType.BlogFeed,g=function(){if(u)return"Blog";switch(l){case j.dR.Settings:return m.settings;case j.dR.Sections:return m.sections;case j.dR.Theme:return m.theme;default:return(0,Q.FV)(n.selectedSection)}}(),y=!!(null==s?void 0:s.title)&&i&&l!==j.dR.Theme&&l!==j.dR.Settings&&!["Header","Footer"].includes(g)&&!u,x=(null==s?void 0:s.path)==="/"?"Home":null==s?void 0:s.title;return(0,a.jsx)(w.A,{className:xV.container,"data-sentry-element":"Container","data-sentry-component":"DesignerPropertiesHeader","data-sentry-source-file":"DesignerPropertiesHeader.tsx",children:(0,a.jsxs)(L.A,{className:xV.titleRow,"data-sentry-element":"Row","data-sentry-source-file":"DesignerPropertiesHeader.tsx",children:[(0,a.jsx)(k.A,{className:d.ContainerStyles.VerticallyCenter,"data-sentry-element":"Col","data-sentry-source-file":"DesignerPropertiesHeader.tsx",children:(0,a.jsxs)("div",{className:xV.titleSection,children:[y&&(0,a.jsxs)("span",{className:xV.currentPage,children:["Page: ",x]}),(0,a.jsx)("h4",{className:xV.title,children:g})]})}),(0,a.jsx)(k.A,{className:"col-auto d-flex align-items-center","data-sentry-element":"Col","data-sentry-source-file":"DesignerPropertiesHeader.tsx",children:(0,a.jsx)(J.x,{target:(0,a.jsx)("span",{className:"".concat(xV.close," ").concat(e?xV.closeActive:""),onClick:o,onMouseDown:()=>t(!0),onMouseUp:()=>t(!1),onMouseLeave:()=>t(!1),role:"button",tabIndex:0,"aria-label":c.D.views.designer.components.accessibility.closeSidebar,onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),o())},children:(0,a.jsx)(aX.b,{})}),title:c.D.components.tooltips.close,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"DesignerPropertiesHeader.tsx"})})]})})}let xV={close:(0,o.style)({cursor:"pointer",height:20,width:20,color:u.StandardColors.ColorDarkGray05}),closeActive:(0,o.style)({color:u.StandardColors.ColorDarkGray90}),container:(0,o.style)({padding:"16px 24px 16px 24px",borderBottomWidth:1,borderBottomColor:d.Colors.LightBorder,borderBottomStyle:"solid",flexDirection:"column",minHeight:d.Spacing.xxxLarge+d.Spacing.xxLarge,display:"flex",justifyContent:"center",height:d.Spacing.xxxLarge+d.Spacing.xxLarge}),title:(0,o.style)({display:"inline-block",marginBottom:0,fontWeight:600,paddingTop:2}),titleSection:(0,o.style)({display:"flex",flexDirection:"column",justifyContent:"center",minWidth:0,flex:1}),currentPage:(0,o.style)({fontSize:11,color:u.StandardColors.ColorDarkGray05,paddingTop:2,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:500}),titleRow:(0,o.style)({alignItems:"center"})};function xW(e){let{headerHeight:t}=e;return(0,a.jsxs)("div",{className:xE.container,style:void 0!==t?{height:"calc(100vh - ".concat(t,"px)")}:void 0,"data-sentry-component":"DesignerPropertiesPanel","data-sentry-source-file":"DesignerPropertiesPanel.tsx",children:[(0,a.jsx)(xR,{"data-sentry-element":"DesignerPropertiesHeader","data-sentry-source-file":"DesignerPropertiesPanel.tsx"}),(0,a.jsx)("div",{className:xE.propertyContainer,children:(0,a.jsx)(xF,{"data-sentry-element":"DesignerPropertiesFactory","data-sentry-source-file":"DesignerPropertiesPanel.tsx"})})]})}let xE={container:(0,o.style)({display:"flex",flexDirection:"column",width:390,height:"100vh"}),propertyContainer:(0,o.style)({overflowY:"auto",flexGrow:1})};function xZ(e){let{heading:t,description:n,primaryButtonText:o,secondaryButtonText:r,primaryButtonOnClick:s,secondaryButtonOnClick:i,className:l,...c}=e;return(0,a.jsx)(_.A,{centered:!0,scrollable:!1,className:"".concat(xG.container," ").concat(null!=l?l:""),isOpen:!0,modalTransition:{timeout:100},...c,"data-sentry-element":"Modal","data-sentry-component":"InterruptedModal","data-sentry-source-file":"InterruptedModal.tsx",children:(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"InterruptedModal.tsx",children:[(0,a.jsx)("h4",{className:xG.heading,children:t}),(0,a.jsx)("p",{className:xG.description,children:n}),(0,a.jsxs)("div",{className:xG.buttonContainer,children:[(0,a.jsx)(G.A,{className:d.ButtonStyles.SecondarySmall,onClick:i,"data-sentry-element":"Button","data-sentry-source-file":"InterruptedModal.tsx",children:r}),(0,a.jsx)(G.A,{className:d.ButtonStyles.PrimarySmall,onClick:s,"data-sentry-element":"Button","data-sentry-source-file":"InterruptedModal.tsx",children:o})]})]})})}let xG={container:(0,o.style)({display:"flex",overflow:"hidden",boxSizing:"content-box",alignItems:"center",padding:d.Spacing.Large,margin:0,$nest:{".modal-content":{borderRadius:d.Spacing.Small,borderWidth:0,border:0,outline:"none",boxShadow:d.BoxShadowStyles.xLarge,paddingTop:d.Spacing.Large+d.Spacing.Micro,paddingInline:d.Spacing.xLarge,paddingBottom:d.Spacing.xLarge},".modal-body":{overflow:"hidden",textAlign:"left",padding:0},".modal-backdrop":{$nest:{".show":{opacity:"0.16 !important"}}}}},(0,d.createResponsiveStyle)(d.ScreenSize.Small,{maxWidth:460,margin:"auto"},!0)),heading:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({margin:0,fontSize:(0,d.important)("18px"),lineHeight:(0,d.important)("24px"),letterSpacing:(0,d.important)("-0.011em")})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({marginTop:d.Spacing.Medium,marginBottom:0,lineHeight:(0,d.important)("20px"),color:d.StandardColors.ColorDarkGray50})),buttonContainer:(0,o.style)({display:"flex",flexDirection:"row",justifyContent:"flex-start",marginTop:d.Spacing.Large,columnGap:d.Spacing.Small})};function xO(){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"UserEditing","data-sentry-source-file":"UserEditing.tsx",children:[(0,a.jsx)("path",{d:"M18.9752 13.0311L16.9128 10.9687L17.701 10.1805C18.1078 9.77373 18.7673 9.77373 19.1741 10.
11805L19.7634 10.7698C20.1702 11.1766 20.1702 11.8361 19.7634 12.2429L18.9752 13.0311Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"UserEditing.tsx"}),(0,a.jsx)("path",{d:"M10.8213 17.2791C10.88 17.0768 10.9889 16.8925 11.1379 16.7436L15.7343 12.1472L17.7967 14.2096L13.2003 18.806C13.0513 18.9549 12.8671 19.0638 12.6648 19.1226L10.795 19.6651C10.4796 19.7567 10.1872 19.4643 10.2787 19.1489L10.8213 17.2791Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"UserEditing.tsx"}),(0,a.jsx)("path",{d:"M9.24193 16.7447C9.28753 16.6011 9.18583 16.4454 9.03516 16.4454H5.06902C5.46525 14.0809 7.52287 12.2787 10 12.2787C10.873 12.2787 11.6937 12.5025 12.4079 12.8957C12.4914 12.9416 12.5956 12.9289 12.6629 12.8616L13.5774 11.9471C13.6697 11.8548 13.6554 11.7012 13.545 11.6317C12.5181 10.9857 11.3027 10.6121 10 10.6121C6.63978 10.6121 3.86143 13.0973 3.40042 16.3302C3.25245 17.3679 4.11709 18.1121 5.00002 18.1121H8.68772C8.78041 18.1121 8.86196 18.0508 8.88779 17.9618L9.22068 16.8146C9.22748 16.7912 9.23456 16.7679 9.24193 16.7447Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"UserEditing.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.34835 3.37707C8.05161 2.67381 9.00544 2.27872 10 2.27872C10.9946 2.27872 11.9484 2.67381 12.6516 3.37707C13.3549 4.08033 13.75 5.03415 13.75 6.02872C13.75 7.02328 13.3549 7.97711 12.6516 8.68037C11.9484 9.38363 10.9946 9.77872 10 9.77872C9.00544 9.77872 8.05161 9.38363 7.34835 8.68037C6.64509 7.97711 6.25 7.02328 6.25 6.02872C6.25 5.03415 6.64509 4.08033 7.34835 3.37707ZM10 3.94538C9.44747 3.94538 8.91756 4.16488 8.52686 4.55558C8.13616 4.94628 7.91667 5.47618 7.91667 6.02872C7.91667 6.58125 8.13616 7.11116 8.52686 7.50186C8.91756 7.89256 9.44747 8.11205 10 8.11205C10.5525 8.11205 11.0824 7.89256 11.4731 7.50186C11.8638 7.11116 12.0833 6.58125 12.0833 6.02872C12.0833 5.47618 11.8638 4.94628 11.4731 4.55558C11.0824 4.16488 10.5525 3.94538 10 3.94538Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"UserEditing.tsx"})]})}function xz(){return(0,a.jsx)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"AddPage","data-sentry-source-file":"AddPage.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41927 1.66666C2.26868 1.66666 1.33594 2.5994 1.33594 3.74999V16.25C1.33594 17.4006 2.26868 18.3333 3.41927 18.3333H17.5859C18.7365 18.3333 19.6693 17.4006 19.6693 16.25V3.74999C19.6693 2.5994 18.7365 1.66666 17.5859 1.66666H3.41927ZM3.0026 3.74999C3.0026 3.51987 3.18915 3.33332 3.41927 3.33332H17.5859C17.8161 3.33332 18.0026 3.51987 18.0026 3.74999V16.25C18.0026 16.4801 17.8161 16.6667 17.5859 16.6667H3.41927C3.18915 16.6667 3.0026 16.4801 3.0026 16.25V3.74999ZM11.3359 6.66666C11.3359 6.20642 10.9628 5.83332 10.5026 5.83332C10.0424 5.83332 9.66927 6.20642 9.66927 6.66666V9.16666H7.16927C6.70903 9.16666 6.33594 9.53975 6.33594 9.99999C6.33594 10.4602 6.70903 10.8333 7.16927 10.8333H9.66927V13.3333C9.66927 13.7936 10.0424 14.1667 10.5026 14.1667C10.9628 14.1667 11.3359 13.7936 11.3359 13.3333V10.8333H13.8359C14.2962 10.8333 14.6693 10.4602 14.6693 9.99999C14.6693 9.53975 14.2962 9.16666 13.8359 9.16666H11.3359V6.66666Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"AddPage.tsx"})})}function x$(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Preview","data-sentry-source-file":"Preview.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.74999C0 2.5994 0.93274 1.66666 2.08333 1.66666H16.25C17.4006 1.66666 18.3333 2.5994 18.3333 3.74999V4.99999H16.6667V3.74999C16.6667 3.51987 16.4801 3.33332 16.25 3.33332H2.08333C1.85321 3.33332 1.66667 3.51987 1.66667 3.74999V13.75C1.66667 13.9801 1.85321 14.1667 2.08333 14.1667H10.8333V15.8333H10V17.5H10.8333C10.8333 17.5 10.8333 17.8581 11.0189 18.4114C11.2044 18.9648 11.3704 19.1667 11.3704 19.1667H4.16667C3.70643 19.1667 3.33333 18.7936 3.33333 18.3333C3.33333 17.8731 3.70643 17.5 4.16667 17.5H8.33333V15.8333H2.08333C0.93274 15.8333 0 14.9006 0 13.75V3.74999ZM14.375 6.66666C13.3395 6.66666 12.5 7.50612 12.5 8.54166V17.2917C12.5 18.3272 13.3395 19.1667 14.375 19.1667H18.125C19.1605 19.1667 20 18.3272 20 17.2917V8.54166C20 7.50612 19.1605 6.66666 18.125 6.66666H14.375ZM14.1667 8.54166C14.1667 8.4266 14.2599 8.33332 14.375 8.33332H18.125C18.2401 8.33332 18.3333 8.4266 18.3333 8.54166V17.2917C18.3333 17.4067 18.2401 17.5 18.125 17.5H14.375C14.2599 17.5 14.1667 17.4067 14.1667 17.2917V8.54166Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Preview.tsx"})})}function xU(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Settings","data-sentry-source-file":"Settings.tsx",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3C8 2.44772 7.55228 2 7 2C6.44772 2 6 2.44772 6 3V12.1449C4.5
15426 12.5752 3.5 13.9145 3.5 15.5C3.5 17.0855 4.55426 18.4248 6 18.8551L6 21C6 21.5523 6.44772 22 7 22C7.55229 22 8 21.5523 8 21V18.8551C9.44574 18.4248 10.5 17.0855 10.5 15.5C10.5 13.9145 9.44574 12.5752 8 12.1449V3ZM8.5 15.5C8.5 16.3284 7.82843 17 7 17C6.17157 17 5.5 16.3284 5.5 15.5C5.5 14.6716 6.17157 14 7 14C7.82843 14 8.5 14.6716 8.5 15.5ZM17 2C17.5523 2 18 2.44772 18 3V5.14494C19.4457 5.57521 20.5 6.91449 20.5 8.5C20.5 10.0855 19.4457 11.4248 18 11.8551L18 21C18 21.5523 17.5523 22 17 22C16.4477 22 16 21.5523 16 21L16 11.8551C14.5543 11.4248 13.5 10.0855 13.5 8.5C13.5 6.91449 14.5543 5.57521 16 5.14494V3C16 2.44772 16.4477 2 17 2ZM17 10C17.8284 10 18.5 9.32843 18.5 8.5C18.5 7.67157 17.8284 7 17 7C16.1716 7 15.5 7.67157 15.5 8.5C15.5 9.32843 16.1716 10 17 10Z",fill:"#5B5B66","data-sentry-element":"path","data-sentry-source-file":"Settings.tsx"})})}function x_(e){let{dimensions:t=u.Spacing.Large+u.Spacing.Micro}=e;return(0,a.jsxs)("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"Theme","data-sentry-source-file":"Theme.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6666 7.99999C14.5871 7.99999 15.3333 8.74618 15.3333 9.66666V13C15.3333 13.9205 14.5871 14.6667 13.6666 14.6667H4.677C4.30881 14.6667 4.01033 14.3682 4.01033 14C4.01033 13.6318 4.30881 13.3333 4.677 13.3333H13.6666C13.8507 13.3333 13.9999 13.1841 13.9999 13V9.66666C13.9999 9.48256 13.8507 9.33332 13.6666 9.33332H11.0728C10.7046 9.33332 10.4062 9.03485 10.4062 8.66666C10.4062 8.29847 10.7046 7.99999 11.0728 7.99999H13.6666Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Theme.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.67352 2.5384C9.3244 1.88752 10.3797 1.88752 11.0305 2.5384L13.3876 4.89542C14.0384 5.54629 14.0384 6.60157 13.3876 7.25244L9.82262 10.8174C9.56227 11.0777 9.14016 11.0777 8.87981 10.8174C8.61946 10.557 8.61946 10.1349 8.87981 9.87458L12.4448 6.30963C12.5749 6.17946 12.5749 5.9684 12.4448 5.83823L10.0877 3.4812C9.95756 3.35103 9.74651 3.35103 9.61633 3.4812L7.96019 5.13734C7.69984 5.39769 7.27773 5.39769 7.01738 5.13734C6.75703 4.87699 6.75703 4.45488 7.01738 4.19453L8.67352 2.5384Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Theme.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.33325 2.2893C1.33325 1.39314 2.05973 0.666656 2.95589 0.666656H6.37728C7.27344 0.666656 7.99992 1.39314 7.99992 2.2893V11.3333C7.99992 13.1743 6.50753 14.6667 4.66658 14.6667C2.82564 14.6667 1.33325 13.1743 1.33325 11.3333V2.2893ZM2.95589 1.99999C2.79611 1.99999 2.66659 2.12952 2.66659 2.2893V11.3333C2.66659 12.4379 3.56202 13.3333 4.66658 13.3333C5.77115 13.3333 6.66658 12.4379 6.66658 11.3333V2.2893C6.66658 2.12952 6.53706 1.99999 6.37728 1.99999H2.95589Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Theme.tsx"}),(0,a.jsx)("path",{d:"M5.33325 11.3333C5.33325 11.7015 5.03478 12 4.66658 12C4.2984 12 3.99992 11.7015 3.99992 11.3333C3.99992 10.9651 4.2984 10.6667 4.66658 10.6667C5.03478 10.6667 5.33325 10.9651 5.33325 11.3333Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"Theme.tsx"})]})}let xq="Blog";function xQ(){return(0,a.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"GetStartedIcon","data-sentry-source-file":"GetStartedIcon.tsx",children:[(0,a.jsx)("rect",{width:"72",height:"72",rx:"8",fill:"#E7DFFF","data-sentry-element":"rect","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_get_started)","data-sentry-element":"g","data-sentry-source-file":"GetStartedIcon.tsx",children:[(0,a.jsx)("path",{d:"M13 16.4805H21.8",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 20H33",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 23.5195H33",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M51.2812 14.75C51.2812 15.1642 50.9455 15.5 50.5312 15.5H40.7598C40.6164 15.5001 40.5001 15.6164 40.5 15.7598V24.2402C40.5001 24.3836 40.6164 24.4999 40.7598 24.5H57.2402C57.3836 24.4999 57.4999 24.3836 57.5 24.2402V22.4062C57.5 21.992 57.8358 21.6562 58.25 21.6562C58.6642 21.6562 59 21.992 59 22.4062V24.2402L58.9912 24.4199C58.9071 25.2483 58.2483 25.9071 57.4199 25.9912L57.2402 26H40.7598C39.8486 25.9999 39.0989 25.3074 39.0088 24.4199L39 24.2402V15.7598C39.0001 14.7879 39.7879 14.0001 40.7598 14H50.5312C50.9455 14 51.2812 14.3358 51.2812 14.75Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 32.4805H21.8",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 36H33",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 39.5195H33",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("rect",{x:"39.75",y:"30.75",width:"18.5",height:"10.5",rx:"1.01",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 48.4805H21.8",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 52H33",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("path",{d:"M13 55.5195H33",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("rect",{x:"39.75",y:"46.75",width:"18.5",height:"10.5",rx:"1.01",stroke:"#32313C",strokeWidth:"1.5","data-sentry-element":"rect","data-sentry-source-file":"GetStartedIcon.tsx"})]}),(0,a.jsx)("path",{d:"M57.893 10.0055C57.9728 9.78984 58.2778 9.78984 58.3576 10.0055L58.9688 11.6573C59.3702 12.742 60.2254 13.5972 61.3101 13.9986L62.962 14.6098C63.1776 14.6896 63.1776 14.9946 62.962 15.0744L61.3101 15.6856C60.2254 16.087 59.3702 16.9422 58.9688 18.0269L58.3576 19.6788C58.2778 19.8944 57.9728 19.8944 57.893 19.6788L57.2818 18.0269C56.8804 16.9422 56.0252 16.087 54.9405 15.6856L53.2887 15.0744C53.073 14.9946 53.073 14.6896 53.2887 14.6098L54.9405 13.9986C56.0252 13.5972 56.8804 12.742 57.2818 11.6573L57.893 10.0055Z",fill:"#7542E4","data-sentry-element":"path","data-sentry-source-file":"GetStartedIcon.tsx"}),(0,a.jsx)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"GetStartedIcon.tsx",children:(0,a.jsx)("clipPath",{id:"clip0_get_started","data-sentry-element":"clipPath","data-sentry-source-file":"GetStartedIcon.tsx",children:(0,a.jsx)("rect",{width:"46",height:"44",fill:"white",transform:"translate(13 14)","data-sentry-element":"rect","data-sentry-source-file":"GetStartedIcon.tsx"})})})]})}function xK(){return(0,a.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"PublishIcon","data-sentry-source-file":"PublishIcon.tsx",children:[(0,a.jsx)("rect",{width:"72",he
1ight:"72",rx:"8",fill:"#E7DFFF","data-sentry-element":"rect","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsxs)("mask",{id:"path-2-outside-1_22781_73045",maskUnits:"userSpaceOnUse",x:"4.9707",y:"12.2188",width:"57",height:"48",fill:"black","data-sentry-element":"mask","data-sentry-source-file":"PublishIcon.tsx",children:[(0,a.jsx)("rect",{fill:"white",x:"4.9707",y:"12.2188",width:"57",height:"48","data-sentry-element":"rect","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M58.1785 27.4375C58.632 27.4376 58.9998 27.8052 58.9998 28.2588V42.8174L58.9881 43.041C58.8835 44.0721 58.0641 44.8914 57.033 44.9961L56.8094 45.0078H15.1902C14.056 45.0078 13.1236 44.1457 13.0115 43.041L12.9998 42.8174V38.7939C12.9998 38.3404 13.3675 37.9727 13.8211 37.9727C14.2747 37.9727 14.6424 38.3404 14.6424 38.7939V42.8174C14.6424 43.1198 14.8878 43.3652 15.1902 43.3652H56.8094C57.1117 43.3651 57.3572 43.1197 57.3572 42.8174V28.2588C57.3572 27.8052 57.7249 27.4375 58.1785 27.4375Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M43.991 19.0078C44.4445 19.0079 44.8123 19.3756 44.8123 19.8291C44.8123 20.2826 44.4445 20.6503 43.991 20.6504H15.1902C14.8878 20.6504 14.6424 20.8958 14.6424 21.1982V23.1514C14.6424 23.605 14.2747 23.9727 13.8211 23.9727C13.3675 23.9727 12.9998 23.605 12.9998 23.1514V21.1982C12.9998 19.9885 13.9805 19.0078 15.1902 19.0078H43.991Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M39.4191 37.8701L43.2004 35.0361L51.3566 40.8613L51.4973 40.9629L51.5861 41.1123L52.0266 41.8574L54.3693 43.8477H51.8322L50.8576 43.0195L50.7522 42.9307L50.26 42.0967L43.2238 37.0713L40.6525 38.999L42.4377 40.6348H43.7629L47.8244 43.8477H45.177L43.1916 42.2773H41.7981L33.3566 34.5449L24.301 42.8584H22.7961L21.3449 43.8477H18.4279L22.0793 41.3584L22.2893 41.2158H23.6613L33.3547 32.3164L39.4191 37.8701Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.4738 24.582C42.5908 24.582 44.3076 26.2981 44.3078 28.415L44.3029 28.6123C44.2004 30.6379 42.5249 32.249 40.4738 32.249L40.2766 32.2441C38.2514 32.1412 36.6408 30.4658 36.6408 28.415C36.641 26.2983 38.3571 24.5824 40.4738 24.582ZM40.4738 26.2246C39.2645 26.2249 38.2836 27.2056 38.2834 28.415C38.2834 29.6246 39.2643 30.6051 40.4738 30.6055C41.6836 30.6055 42.6643 29.6248 42.6643 28.415C42.6641 27.2054 41.6835 26.2246 40.4738 26.2246Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M59.0002 48.25V49.75H13.0002V48.25H59.0002Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M46.1789 56.25V57.75H13.0002V56.25H46.1789Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M59.0002 52.25V53.75H13.0002V52.25H59.0002Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M26.0001 14.2188V15.7812H13.0001V14.2188H26.0001Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6288 32.6386C18.5959 32.4794 18.5171 32.3333 18.4021 32.2183L11.1164 24.9326C10.3028 24.119 8.98375 24.119 8.17015 24.9326L7.5809 25.5219C6.76731 26.3355 6.7673 27.6546 7.5809 28.4682L14.8665 35.7538C14.9815 35.8688 15.1276 35.9476 15.2868 35.9806L18.2594 36.5961C18.5342 36.653 18.8192 36.5678 19.0176 36.3693C19.216 36.1709 19.3013 35.8859 19.2444 35.6111L18.6288 32.6386ZM17.0473 33.2206L17.3551 34.7068L15.8688 34.3991L8.75941 27.2897C8.59669 27.1269 8.59669 26.8631 8.75941 26.7004L9.34866 26.1111C9.51138 25.9484 9.7752 25.9484 9.93792 26.1111L17.0473 33.2206Z","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"})]}),(0,a.jsx)("path",{d:"M58.1785 27.4375C58.632 27.4376 58.9998 27.8052 58.9998 28.2588V42.8174L58.9881 43.041C58.8835 44.0721 58.0641 44.8914 57.033 44.9961L56.8094 45.0078H15.1902C14.056 45.0078 13.1236 44.1457 13.0115 43.041L12.9998 42.8174V38.7939C12.9998 38.3404 13.3675 37.9727 13.8211 37.9727C14.2747 37.9727 14.6424 38.3404 14.6424 38.7939V42.8174C14.6424 43.1198 14.8878 43.3652 15.1902 43.3652H56.8094C57.1117 43.3651 57.3572 43.1197 57.3572 42.8174V28.2588C57.3572 27.8052 57.7249 27.4375 58.1785 27.4375Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M43.991 19.0078C44.4445 19.0079 44.8123 19.3756 44.8123 19.8291C44.8123 20.2826 44.4445 20.6503 43.991 20.6504H15.1902C14.8878 20.6504 14.6424 20.8958 14.6424 21.1982V23.1514C14.6424 23.605 14.2747 23.9727 13.8211 23.9727C13.3675 23.9727 12.9998 23.605 12.9998 23.1514V21.1982C12.9998 19.9885 13.9805 19.0078 15.1902 19.0078H43.991Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M39.4191 37.8701L43.2004 35.0361L51.3566 40.8613L51.4973 40.9629L51.5861 41.1123L52.0266 41.8574L54.3693 43.8477H51.8322L50.8576 43.0195L50.7522 42.9307L50.26 42.0967L43.2238 37.0713L40.6525 38.999L42.4377 40.6348H43.7629L47.8244 43.8477H45.
1177L43.1916 42.2773H41.7981L33.3566 34.5449L24.301 42.8584H22.7961L21.3449 43.8477H18.4279L22.0793 41.3584L22.2893 41.2158H23.6613L33.3547 32.3164L39.4191 37.8701Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.4738 24.582C42.5908 24.582 44.3076 26.2981 44.3078 28.415L44.3029 28.6123C44.2004 30.6379 42.5249 32.249 40.4738 32.249L40.2766 32.2441C38.2514 32.1412 36.6408 30.4658 36.6408 28.415C36.641 26.2983 38.3571 24.5824 40.4738 24.582ZM40.4738 26.2246C39.2645 26.2249 38.2836 27.2056 38.2834 28.415C38.2834 29.6246 39.2643 30.6051 40.4738 30.6055C41.6836 30.6055 42.6643 29.6248 42.6643 28.415C42.6641 27.2054 41.6835 26.2246 40.4738 26.2246Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M59.0002 48.25V49.75H13.0002V48.25H59.0002Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M46.1789 56.25V57.75H13.0002V56.25H46.1789Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M59.0002 52.25V53.75H13.0002V52.25H59.0002Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M26.0001 14.2188V15.7812H13.0001V14.2188H26.0001Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6288 32.6386C18.5959 32.4794 18.5171 32.3333 18.4021 32.2183L11.1164 24.9326C10.3028 24.119 8.98375 24.119 8.17015 24.9326L7.5809 25.5219C6.76731 26.3355 6.7673 27.6546 7.5809 28.4682L14.8665 35.7538C14.9815 35.8688 15.1276 35.9476 15.2868 35.9806L18.2594 36.5961C18.5342 36.653 18.8192 36.5678 19.0176 36.3693C19.216 36.1709 19.3013 35.8859 19.2444 35.6111L18.6288 32.6386ZM17.0473 33.2206L17.3551 34.7068L15.8688 34.3991L8.75941 27.2897C8.59669 27.1269 8.59669 26.8631 8.75941 26.7004L9.34866 26.1111C9.51138 25.9484 9.7752 25.9484 9.93792 26.1111L17.0473 33.2206Z",fill:"#32313C","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{d:"M58.1785 27.4375L58.1788 25.4375H58.1785V27.4375ZM58.9998 42.8174L60.9971 42.922C60.9989 42.8872 60.9998 42.8523 60.9998 42.8174H58.9998ZM58.9881 43.041L60.9779 43.2429C60.9811 43.2105 60.9836 43.1781 60.9853 43.1457L58.9881 43.041ZM57.033 44.9961L57.1377 46.9934C57.1702 46.9916 57.2026 46.9892 57.235 46.9859L57.033 44.9961ZM56.8094 45.0078V47.0078C56.8443 47.0078 56.8792 47.0069 56.914 47.0051L56.8094 45.0078ZM15.1902 45.0078L15.1902 47.0078H15.1902V45.0078ZM13.0115 43.041L11.0143 43.1457C11.016 43.1781 11.0184 43.2105 11.0217 43.2429L13.0115 43.041ZM12.9998 42.8174H10.9998C10.9998 42.8523 11.0007 42.8872 11.0025 42.922L12.9998 42.8174ZM14.6424 42.8174H12.6424V42.8175L14.6424 42.8174ZM15.1902 43.3652L15.1901 45.3652H15.1902V43.3652ZM56.8094 43.3652V45.3652H56.81L56.8094 43.3652ZM57.3572 42.8174L59.3572 42.8175V42.8174H57.3572ZM43.991 19.0078L43.9913 17.0078H43.991V19.0078ZM43.991 20.6504V22.6504H43.9913L43.991 20.6504ZM15.1902 20.6504V18.6504H15.1901L15.1902 20.6504ZM14.6424 21.1982L12.6424 21.1981V21.1982H14.6424ZM12.9998 21.1982L10.9998 21.1982V21.1982H12.9998ZM15.1902 19.0078V17.0078H15.1902L15.1902 19.0078ZM39.4191 37.8701L38.0684 39.3451L39.2915 40.4652L40.6186 39.4705L39.4191 37.8701ZM43.2004 35.0361L44.3628 33.4086L43.1719 32.5581L42.0009 33.4357L43.2004 35.0361ZM51.3566 40.8613L52.5276 39.2399L52.519 39.2338L51.3566 40.8613ZM51.4973 40.9629L53.2162 39.9405L53.0043 39.5842L52.6683 39.3415L51.4973 40.9629ZM51.5861 41.1123L53.3079 40.0946L53.3051 40.0899L51.5861 41.1123ZM52.0266 41.8574L50.3049 42.8751L50.4757 43.1642L50.7317 43.3817L52.0266 41.8574ZM54.3693 43.8477V45.8477H59.8127L55.6642 42.3234L54.3693 43.8477ZM51.8322 43.8477L50.5372 45.3718L51.0973 45.8477H51.8322V43.8477ZM50.8576 43.0195L52.1527 41.4954L52.1463 41.4901L50.8576 43.0195ZM50.7522 42.9307L49.0297 43.9472L49.2029 44.2406L49.4634 44.4601L50.7522 42.9307ZM50.26 42.0967L
151.9824 41.0802L51.7671 40.7154L51.4224 40.4692L50.26 42.0967ZM43.2238 37.0713L44.3862 35.4438L43.1952 34.5931L42.0241 35.4711L43.2238 37.0713ZM40.6525 38.999L39.4528 37.3988L37.5239 38.8449L39.3014 40.4736L40.6525 38.999ZM42.4377 40.6348L41.0865 42.1093L41.66 42.6348H42.4377V40.6348ZM43.7629 40.6348L45.0037 39.0662L44.4583 38.6348H43.7629V40.6348ZM47.8244 43.8477V45.8477H53.5764L49.0652 42.2791L47.8244 43.8477ZM45.177 43.8477L43.9362 45.4163L44.4816 45.8477H45.177V43.8477ZM43.1916 42.2773L44.4323 40.7087L43.887 40.2773H43.1916V42.2773ZM41.7981 42.2773L40.4471 43.7521L41.0205 44.2773H41.7981V42.2773ZM33.3566 34.5449L34.7076 33.0701L33.3551 31.8313L32.0041 33.0716L33.3566 34.5449ZM24.301 42.8584V44.8584H25.0798L25.6535 44.3317L24.301 42.8584ZM22.7961 42.8584V40.8584H22.1793L21.6696 41.2058L22.7961 42.8584ZM21.3449 43.8477V45.8477H21.9618L22.4715 45.5002L21.3449 43.8477ZM18.4279 43.8477L17.3014 42.1951L11.9437 45.8477H18.4279V43.8477ZM22.0793 41.3584L20.9557 39.7038L20.9527 39.7059L22.0793 41.3584ZM22.2893 41.2158V39.2158H21.6744L21.1657 39.5613L22.2893 41.2158ZM23.6613 41.2158V43.2158H24.4402L25.0139 42.6891L23.6613 41.2158ZM33.3547 32.3164L34.7054 30.8414L33.353 29.6029L32.0021 30.8431L33.3547 32.3164ZM40.4738 24.582V22.582H40.4735L40.4738 24.582ZM44.3078 28.415L46.3072 28.4645L46.3078 28.4397L46.3078 28.4149L44.3078 28.415ZM44.3029 28.6123L46.3004 28.7134L46.3017 28.6876L46.3023 28.6618L44.3029 28.6123ZM40.4738 32.249L40.4243 34.2484L40.4491 34.249H40.4738V32.249ZM40.2766 32.2441L40.175 34.2416L40.201 34.2429L40.2271 34.2435L40.2766 32.2441ZM36.6408 28.415L34.6408 28.4149V28.415H36.6408ZM40.4738 26.2246V24.2246H40.4733L40.4738 26.2246ZM38.2834 28.415L36.2834 28.4147V28.415H38.2834ZM40.4738 30.6055L40.4733 32.6055H40.4738V30.6055ZM42.6643 28.415H44.6643V28.4147L42.6643 28.415ZM59.0002 48.25H61.0002V46.25H59.0002V48.25ZM59.0002 49.75V51.75H61.0002V49.75H59.0002ZM13.0002 49.75H11.0002V51.75H13.0002V49.75ZM13.0002 48.25V46.25H11.0002V48.25H13.0002ZM46.1789 56.25H48.1789V54.25H46.1789V56.25ZM46.1789 57.75V59.75H48.1789V57.75H46.1789ZM13.0002 57.75H11.0002V59.75H13.0002V57.75ZM13.0002 56.25V54.25H11.0002V56.25H13.0002ZM59.0002 52.25H61.0002V50.25H59.0002V52.25ZM59.0002 53.75V55.75H61.0002V53.75H59.0002ZM13.0002 53.75H11.0002V55.75H13.0002V53.75ZM13.0002 52.25V50.25H11.0002V52.25H13.0002ZM26.0001 14.2188H28.0001V12.2188H26.0001V14.2188ZM26.0001 15.7812V17.7812H28.0001V15.7812H26.0001ZM13.0001 15.7812H11.0001V17.7812H13.0001V15.7812ZM13.0001 14.2188V12.2188H11.0001V14.2188H13.0001ZM18.6288 32.6386L20.5873 32.233V32.233L18.6288 32.6386ZM18.4021 32.2183L16.9879 33.6325V33.6325L18.4021 32.2183ZM11.1164 24.9326L12.5306 23.5184V23.5184L11.1164 24.9326ZM8.17015 24.9326L9.58437 26.3469L9.58437 26.3468L8.17015 24.9326ZM7.5809 25.5219L6.16668 24.1077L6.16668 24.1077L7.5809 25.5219ZM7.5809 28.4682L8.99511 27.054V27.054L7.5809 28.4682ZM14.8665 35.7538L13.4523 37.168V37.168L14.8665 35.7538ZM15.2868 35.9806L15.6924 34.0221H15.6924L15.2868 35.9806ZM18.2594 36.5961L18.6649 34.6376L18.6649 34.6376L18.2594 36.5961ZM19.2444 35.6111L17.2859 36.0166L19.2444 35.6111ZM17.0473 33.2206L19.0058 32.815C18.9267 32.4329 18.7375 32.0823 18.4616 31.8064L17.0473 33.2206ZM17.3551 34.7068L16.9496 36.6653C17.6091 36.8019 18.2931 36.5973 18.7693 36.121C19.2456 35.6448 19.4501 34.9608 19.3135 34.3013L17.3551 34.7068ZM15.8688 34.3991L14.4546 35.8133C14.7305 36.0892 15.0812 36.2784 15.4633 36.3575L15.8688 34.3991ZM8.75941 27.2897L10.1736 25.8754H10.1736L8.75941 27.2897ZM8.75941 26.7004L7.3452 25.2862L7.3452 25.2862L8.75941 26.7004ZM9.34866 26.1111L10.7629 27.5254L10.7629 27.5254L9.34866 26.1111ZM9.93792 26.1111L11.3521 24.6969L9.93792 26.1111ZM58.1785 27.4375L58.1782 29.4375C57.5277 29.4374 56.9998 28.9101 56.9998 28.2588H58.9998H60.9998C60.9998 26.7004 59.7363 25.4378 58.1788 25.4375L58.1785 27.4375ZM58.9998 28.2588H56.9998V42.8174H58.9998H60.9998V28.2588H58.9998ZM58.9998 42.8174L57.0025 42.7127L56.9908 42.9364L58.9881 43.041L60.9853 43.1457L60.9971 42.922L58.9998 42.8174ZM58.9881 43.041L56.9983 42.8392C56.9896 42.9252 56.9174 42.9976 56.831 43.0063L57.033 44.9961L57.235 46.9859C59.2107 46.7853 60.7774 45.219 60.9779 43.2429L58.9881 43.041ZM57.033 44.9961L56.9283 42.9988L56.7047 43.0106L56.8094 45.0078L56.914 47.0051L57.1377 46.9934L57.033 44.9961ZM56.8094 45.0078V43.0078H15.1902V45.0078V47.0078H56.8094V45.0078ZM15.1902 45.0078L15.1903 43.0078C15.0934 43.0078 15.0109 42.9336 15.0013 42.8391L13.0115 43.041L11.0217 43.2429C11.2363 45.3577 13.0186 47.0078 15.1902 47.0078L15.1902 45.0078ZM13.0115 43.041L15.0088 42.9364L14.9971 42.7127L12.9998 42.8174L11.0025 42.922L11.0143 43.1457L13.0115 43.041ZM12.9998 42.8174H14.9998V38.7939H12.9998H10.9998V42.8174H12.9998ZM14.6424 38.7939H12.6424V42.8174H14.6424H16.6424V38.7939H14.6424ZM14.6424 42.8174L12.6424 42.8175C12.6425 44.2244 13.7832 45.3651 15.1901 45.3652L15.1902 43.3652L15.1904 41.3652C15.9924 41.3653 16.6423 42.0152 16.6424 42.8172L14.6424 42.8174ZM15.1902 43.3652V45.3652H56.8094V43.3652V41.3652H15.1902V43.3652ZM56.8094 43.3652L56.81 45.3652C58.2159 45.3648 59.3571 44.2248 59.3572 42.8175L57.3572 42.8174L55.3572 42.8172C55.3573 42.0147 56.0075 41.3655 56.8087 41.3652L56.8094 43.3652ZM57.3572 42.8174H59.3572V28.2588H57.3572H55.3572V42.8174H57.3572ZM57.3572 28.2588H59.3572C59.3572 28.9098 58.8295 29.4375 58.1785 29.4375V27.4375V25.4375C56.6203 25.4375 55.3572 26.7006 55.3572 28.2588H57.3572ZM43.991 19.0078L43.9907 21.00
178C43.3402 21.0077 42.8123 20.4805 42.8123 19.8291H44.8123H46.8123C46.8123 18.2707 45.5488 17.0081 43.9913 17.0078L43.991 19.0078ZM44.8123 19.8291H42.8123C42.8123 19.1777 43.3402 18.6505 43.9907 18.6504L43.991 20.6504L43.9913 22.6504C45.5488 22.6501 46.8123 21.3875 46.8123 19.8291H44.8123ZM43.991 20.6504V18.6504H15.1902V20.6504V22.6504H43.991V20.6504ZM15.1902 20.6504L15.1901 18.6504C13.7832 18.6505 12.6425 19.7912 12.6424 21.1981L14.6424 21.1982L16.6424 21.1984C16.6423 22.0004 15.9924 22.6503 15.1904 22.6504L15.1902 20.6504ZM14.6424 21.1982H12.6424V23.1514H14.6424H16.6424V21.1982H14.6424ZM12.9998 23.1514H14.9998V21.1982H12.9998H10.9998V23.1514H12.9998ZM12.9998 21.1982L14.9998 21.1983C14.9998 21.0931 15.0851 21.0078 15.1903 21.0078L15.1902 19.0078L15.1902 17.0078C12.8759 17.0079 10.9998 18.8839 10.9998 21.1982L12.9998 21.1982ZM15.1902 19.0078V21.0078H43.991V19.0078V17.0078H15.1902V19.0078ZM13.8211 23.9727V21.9727C14.4721 21.9727 14.9998 22.5004 14.9998 23.1514H12.9998H10.9998C10.9998 24.7095 12.2629 25.9727 13.8211 25.9727V23.9727ZM14.6424 23.1514H12.6424C12.6424 22.5004 13.1701 21.9727 13.8211 21.9727V23.9727V25.9727C15.3792 25.9727 16.6424 24.7095 16.6424 23.1514H14.6424ZM13.8211 37.9727V39.9727C13.1701 39.9727 12.6424 39.4449 12.6424 38.7939H14.6424H16.6424C16.6424 37.2358 15.3792 35.9727 13.8211 35.9727V37.9727ZM12.9998 38.7939H14.9998C14.9998 39.4449 14.4721 39.9727 13.8211 39.9727V37.9727V35.9727C12.2629 35.9727 10.9998 37.2358 10.9998 38.7939H12.9998ZM43.2004 35.0361L42.038 36.6637L50.1943 42.4889L51.3566 40.8613L52.519 39.2338L44.3628 33.4086L43.2004 35.0361ZM51.3566 40.8613L50.1857 42.4827L50.3263 42.5842L51.4973 40.9629L52.6683 39.3415L52.5276 39.24L51.3566 40.8613ZM51.4973 40.9629L49.7783 41.9853L49.8672 42.1347L51.5861 41.1123L53.3051 40.0899L53.2162 39.9405L51.4973 40.9629ZM51.5861 41.1123L49.8644 42.13L50.3049 42.8751L52.0266 41.8574L53.7483 40.8397L53.3079 40.0946L51.5861 41.1123ZM52.0266 41.8574L50.7317 43.3817L53.0745 45.3719L54.3693 43.8477L55.6642 42.3234L53.3214 40.3332L52.0266 41.8574ZM54.3693 43.8477V41.8477H51.8322V43.8477V45.8477H54.3693V43.8477ZM51.8322 43.8477L53.1273 42.3236L52.1527 41.4954L50.8576 43.0195L49.5626 44.5436L50.5372 45.3718L51.8322 43.8477ZM50.8576 43.0195L52.1463 41.4901L52.0409 41.4012L50.7522 42.9307L49.4634 44.4601L49.5689 44.549L50.8576 43.0195ZM50.7522 42.9307L52.4746 41.9142L51.9824 41.0802L50.26 42.0967L48.5376 43.1132L49.0297 43.9472L50.7522 42.9307ZM50.26 42.0967L
151.4224 40.4692L44.3862 35.4438L43.2238 37.0713L42.0614 38.6988L49.0976 43.7242L50.26 42.0967ZM43.2238 37.0713L42.0241 35.4711L39.4528 37.3988L40.6525 38.999L41.8523 40.5992L44.4235 38.6715L43.2238 37.0713ZM40.6525 38.999L39.3014 40.4736L41.0865 42.1093L42.4377 40.6348L43.7889 39.1602L42.0037 37.5244L40.6525 38.999ZM42.4377 40.6348V42.6348H43.7629V40.6348V38.6348H42.4377V40.6348ZM43.7629 40.6348L42.5221 42.2033L46.5836 45.4162L47.8244 43.8477L49.0652 42.2791L45.0037 39.0662L43.7629 40.6348ZM47.8244 43.8477V41.8477H45.177V43.8477V45.8477H47.8244V43.8477ZM45.177 43.8477L46.4177 42.279L44.4323 40.7087L43.1916 42.2773L41.9509 43.846L43.9362 45.4163L45.177 43.8477ZM43.1916 42.2773V40.2773H41.7981V42.2773V44.2773H43.1916V42.2773ZM41.7981 42.2773L43.149 40.8026L34.7076 33.0701L33.3566 34.5449L32.0057 36.0197L40.4471 43.7521L41.7981 42.2773ZM33.3566 34.5449L32.0041 33.0716L22.9484 41.3851L24.301 42.8584L25.6535 44.3317L34.7092 36.0182L33.3566 34.5449ZM24.301 42.8584V40.8584H22.7961V42.8584V44.8584H24.301V42.8584ZM22.7961 42.8584L21.6696 41.2058L20.2184 42.1951L21.3449 43.8477L22.4715 45.5002L23.9226 44.5109L22.7961 42.8584ZM21.3449 43.8477V41.8477H18.4279V43.8477V45.8477H21.3449V43.8477ZM18.4279 43.8477L19.5545 45.5002L23.2059 43.0109L22.0793 41.3584L20.9527 39.7059L17.3014 42.1951L18.4279 43.8477ZM22.0793 41.3584L23.2029 43.013L23.4128 42.8704L22.2893 41.2158L21.1657 39.5613L20.9557 39.7038L22.0793 41.3584ZM22.2893 41.2158V43.2158H23.6613V41.2158V39.2158H22.2893V41.2158ZM23.6613 41.2158L25.0139 42.6891L34.7073 33.7897L33.3547 32.3164L32.0021 30.8431L22.3087 39.7426L23.6613 41.2158ZM33.3547 32.3164L32.004 33.7914L38.0684 39.3451L39.4191 37.8701L40.7699 36.3952L34.7054 30.8414L33.3547 32.3164ZM40.4738 24.582V26.582C41.4867 26.582 42.3077 27.4032 42.3078 28.4152L44.3078 28.415L46.3078 28.4149C46.3076 25.193 43.6949 22.582 40.4738 22.582V24.582ZM44.3078 28.415L42.3084 28.3655L42.3036 28.5628L44.3029 28.6123L46.3023 28.6618L46.3072 28.4645L44.3078 28.415ZM44.3029 28.6123L42.3055 28.5112C42.2566 29.478 41.4544 30.249 40.4738 30.249V32.249V34.249C43.5953 34.249 46.1443 31.7977 46.3004 28.7134L44.3029 28.6123ZM40.4738 32.249L40.5233 30.2496L40.3261 30.2448L40.2766 32.2441L40.2271 34.2435L40.4243 34.2484L40.4738 32.249ZM40.2766 32.2441L40.3781 30.2467C39.4116 30.1976 38.6408 29.3956 38.6408 28.415H36.6408H34.6408C34.6408 31.536 37.0913 34.0848 40.175 34.2416L40.2766 32.2441ZM36.6408 28.415L38.6408 28.4152C38.6409 27.4031 39.4616 26.5822 40.4741 26.582L40.4738 24.582L40.4735 22.582C37.2526 22.5825 34.6411 25.1935 34.6408 28.4149L36.6408 28.415ZM40.4738 26.2246L40.4733 24.2246C38.16 24.2252 36.2837 26.1007 36.2834 28.4147L38.2834 28.415L40.2834 28.4153C40.2834 28.3105 40.3689 28.2246 40.4744 28.2246L40.4738 26.2246ZM38.2834 28.415H36.2834C36.2834 30.7297 38.1602 32.6048 40.4733 32.6055L40.4738 30.6055L40.4744 28.6055C40.3685 28.6054 40.2834 28.5195 40.2834 28.415H38.2834ZM40.4738 30.6055V32.6055C42.7882 32.6055 44.6643 30.7294 44.6643 28.415H42.6643H40.6643C40.6643 28.5202 40.579 28.6055 40.4738 28.6055V30.6055ZM42.6643 28.415L44.6643 28.4147C44.6639 26.1011 42.7884 24.2246 40.4738 24.2246V26.2246V28.2246C40.5786 28.2246 40.6642 28.3098 40.6643 28.4153L42.6643 28.415ZM39.4191 37.8701L40.6186 39.4705L44.3999 36.6365L43.2004 35.0361L42.0009 33.4357L38.2197 3
16.2697L39.4191 37.8701ZM59.0002 48.25H57.0002V49.75H59.0002H61.0002V48.25H59.0002ZM59.0002 49.75V47.75H13.0002V49.75V51.75H59.0002V49.75ZM13.0002 49.75H15.0002V48.25H13.0002H11.0002V49.75H13.0002ZM13.0002 48.25V50.25H59.0002V48.25V46.25H13.0002V48.25ZM46.1789 56.25H44.1789V57.75H46.1789H48.1789V56.25H46.1789ZM46.1789 57.75V55.75H13.0002V57.75V59.75H46.1789V57.75ZM13.0002 57.75H15.0002V56.25H13.0002H11.0002V57.75H13.0002ZM13.0002 56.25V58.25H46.1789V56.25V54.25H13.0002V56.25ZM59.0002 52.25H57.0002V53.75H59.0002H61.0002V52.25H59.0002ZM59.0002 53.75V51.75H13.0002V53.75V55.75H59.0002V53.75ZM13.0002 53.75H15.0002V52.25H13.0002H11.0002V53.75H13.0002ZM13.0002 52.25V54.25H59.0002V52.25V50.25H13.0002V52.25ZM26.0001 14.2188H24.0001V15.7812H26.0001H28.0001V14.2188H26.0001ZM26.0001 15.7812V13.7812H13.0001V15.7812V17.7812H26.0001V15.7812ZM13.0001 15.7812H15.0001V14.2188H13.0001H11.0001V15.7812H13.0001ZM13.0001 14.2188V16.2188H26.0001V14.2188V12.2188H13.0001V14.2188ZM18.6288 32.6386L20.5873 32.233C20.4752 31.6917 20.2072 31.195 19.8163 30.8041L18.4021 32.2183L16.9879 33.6325C16.8269 33.4715 16.7166 33.267 16.6704 33.0441L18.6288 32.6386ZM18.4021 32.2183L19.8163 30.8041L12.5306 23.5184L11.1164 24.9326L9.70222 26.3468L16.9879 33.6325L18.4021 32.2183ZM11.1164 24.9326L12.5306 23.5184C10.936 21.9238 8.35058 21.9238 6.75594 23.5184L8.17015 24.9326L9.58437 26.3468C9.61691 26.3143 9.66967 26.3143 9.70222 26.3468L11.1164 24.9326ZM8.17015 24.9326L6.75594 23.5184L6.16668 24.1077L7.5809 25.5219L8.99511 26.9361L9.58437 26.3469L8.17015 24.9326ZM7.5809 25.5219L6.16668 24.1077C4.57204 25.7023 4.57204 28.2877 6.16668 29.8824L7.5809 28.4682L8.99511 27.054C8.96257 27.0214 8.96257 26.9686 8.99511 26.9361L7.5809 25.5219ZM7.5809 28.4682L6.16668 29.8824L13.4523 37.168L14.8665 35.7538L16.2808 34.3396L8.99511 27.054L7.5809 28.4682ZM14.8665 35.7538L13.4523 37.168C13.8432 37.5589 14.34 37.827 14.8813 37.939L15.2868 35.9806L15.6924 34.0221C15.9153 34.0683 16.1198 34.1786 16.2808 34.3396L14.8665 35.7538ZM15.2868 35.9806L14.8813 37.939L17.8538 38.5546L18.2594 36.5961L18.6649 34.6376L15.6924 34.0221L15.2868 35.9806ZM18.2594 36.5961L17.8538 38.5546C18.7882 38.748 19.7571 38.4582 20.4318 37.7835L19.0176 36.3693L17.6034 34.9551C17.8812 34.6773 18.2802 34.558 18.6649 34.6376L18.2594 36.5961ZM19.0176 36.3693L20.4318 37.7835C21.1065 37.1089 21.3963 36.1399 21.2028 35.2056L19.2444 35.6111L17.2859 36.0166C17.2062 35.6319 17.3256 35.2329 17.6034 34.9551L19.0176 36.3693ZM19.2444 35.6111L21.2028 35.2056L20.5873 32.233L18.6288 32.6386L16.6704 33.0441L17.2859 36.0166L19.2444 35.6111ZM17.0473 33.2206L15.0889 33.6261L15.3966 35.1124L17.3551 34.7068L19.3135 34.3013L19.0058 32.815L17.0473 33.2206ZM17.3551 34.7068L17.7606 32.7484L16.2744 32.4406L15.8688 34.3991L15.4633 36.3575L16.9496 36.6653L17.3551 34.7068ZM15.8688 34.3991L17.283 32.9849L10.1736 25.8754L8.75941 27.2897L7.3452 28.7039L14.4546 35.8133L15.8688 34.3991ZM8.75941 27.2897L10.1736 25.8754C10.792 26.4938 10.792 27.4963 10.1736 28.1146L8.75941 26.7004L7.3452 25.2862C6.40143 26.23 6.40143 27.7601 7.3452 28.7039L8.75941 27.2897ZM8.75941 26.7004L10.1736 28.1146L10.7629 27.5254L9.34866 26.1111L7.93445 24.6969L7.3452 25.2862L8.75941 26.7004ZM9.34866 26.1111L10.7629 27.5254C10.1446 28.1437 9.14204 28.1437 8.52371 27.5254L9.93792 26.1111L11.3521 24.6969C10.4084 23.7532 8.87821 23.7532 7.93445 24.6969L9.34866 26.1111ZM9.93792 26.1111L8.52371 27.5254L15.6331 34.6348L17.0473 33.2206L18.4616 31.8064L11.3521 24.6969L9.93792 26.1111Z",fill:"#E7DFFF",mask:"url(#path-2-outside-1_22781_73045)","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.75 9.80078C59.1683 9.80078 62.75 13.3825 62.75 17.8008C62.75 22.2191 59.1683 25.8008 54.75 25.8008C50.3317 25.8008 46.75 22.2191 46.75 17.8008C46.75 13.3825 50.3317 9.80078 54.75 9.80078ZM55.2803 13.1611C54.9874 12.8683 54.5126 12.8683 54.2197 13.1611L51.001 16.3799C50.7082 16.6728 50.7081 17.1476 51.001 17.4404C51.2938 17.7332 51.7687 17.7332 52.0615 17.4404L54 15.502V21.7998C54 22.214 54.3358 22.5498 54.75 22.5498C55.1642 22.5498 55.5 22.214 55.5 21.7998V15.502L57.4385 17.4404C57.7313 17.733 58.2062 17.7331 58.499 17.4404C58.7917 17.1476 58.7916 16.6728 58.499 16.3799L55.2803 13.1611Z",fill:"#7542E4","data-sentry-element":"path","data-sentry-source-file":"PublishIcon.tsx"})]})}
1function xY(e){let{onClose:t,page:n,children:o,...r}=e,{deletePage:s,websiteSettings:i}=(0,j.Hb)(),{replace:l}=(0,eV.useRouter)(),d=c.D.components.deletePageModal;async function p(){(0,e5.M7)(n.id,i),s(n),l("/designer"),t()}return(0,a.jsx)(sC.E,{className:xX.modal,title:d.header,warning:d.warning,acceptText:d.deleteButton,cancelText:d.cancel,onAccept:p,onCancel:t,isDestructive:!0,...r,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DeletePageModal","data-sentry-source-file":"DeletePageModal.tsx",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:xX.description,children:d.prompt}),(0,a.jsx)("div",{className:xX.pageTitle,children:nW(n)}),(0,a.jsx)("p",{className:xX.description,children:d.description})]})})}let xX={modal:(0,o.style)({maxWidth:440}),pageTitle:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({textAlign:"left",overflow:"hidden",lineHeight:"".concat(d.Spacing.xLarge,"px"),marginBottom:"1rem"})),description:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,lineHeight:"".concat(d.Spacing.xLarge,"px")}))};function xJ(e){let{onCancel:t,onDelete:n,isOpen:o,...r}=e,s=c.D.components.deleteBlogModal;return(0,a.jsx)(sC.E,{className:x1.modal,title:s.header,warning:s.warning,acceptText:s.deleteButton,cancelText:s.cancel,onAccept:n,onCancel:t,isDestructive:!0,isOpen:o,...r,"data-sentry-element":"ModalPromptWithWarning","data-sentry-component":"DeleteBlogModal","data-sentry-source-file":"DeleteBlogModal.tsx",children:(0,a.jsx)("div",{className:x1.content,children:(0,a.jsx)("p",{className:x1.message,children:s.description})})})}let x1={modal:(0,o.style)({$nest:{h4:{fontSize:21}}}),content:(0,o.style)({textAlign:"left"}),message:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray50,lineHeight:"".concat(d.Spacing.xLarge,"px"),marginBottom:d.Spacing.Medium}))};function x0(e){let{isOpen:t,onClose:n}=e,o=c.D.views.designer.components.properties.sections.addSectionModal,{message:r,title:s}=o.maxPagesError;return(0,a.jsx)(g.w,{isOpen:t,icon:(0,a.jsx)("div",{style:{color:u.StandardColors.ColorDarkGray05},children:(0,a.jsx)(e4.F,{})}),title:s,message:r,buttons:[{type:g.o.Primary,text:o.ok,onClick:n}],"data-sentry-element":"MessageBoxModal","data-sentry-component":"MaxPagesModal","data-sentry-source-file":"MaxPagesModal.tsx"})}function x3(e){let{page:t,onDelete:n,onClose:o,className:s,...i}=e,{websiteSettings:l,updatePage:p,duplicatePage:m,setCurrentPage:u,openSidebarMode:g,closeSidebar:y,deletePage:C}=(0,j.Hb)(),{setSpinner:f}=(0,h.p6)(),{analytics:S}=(0,eL.S)(),{replace:v}=(0,eV.useRouter)(),{websiteDocument:b}=(0,M.SY)(),{pushToastMessage:P}=(0,K.dj)(),{showPlanNotificationModal:D,ownerBillingStatus:I}=(0,ad.dp)(),{user:T,isLoaded:B}=(0,x.uM)(),{canDuplicatePage:A}=(0,ap.o7)(),H=c.D.views.designer.components.properties.pageEditDialog,F=c.D.views.designer.components.properties.duplicatePageModal,R=t.pageType===N.PageType.Blog,V="/"!==t.path&&!R,E="/"!==t.path,Z="/"===t.path?H.homeTitle:t.pageType===N.PageType.Blog?H.blogTitle:H.title;async function O(){let e=em().trim();if(!e||"..."===e)return;let n="/"===t.path?"":t.path;try{await navigator.clipboard.writeText("".concat((0,t$.kg)("/")).concat(e).concat(n)),P(Y.vn.linkCopied)}catch(e){console.error("[copyLink] clipboard write failed:",e)}}let[z,$]=(0,r.useState)(t),[U,_]=(0,r.useState)(!1),[q,Q]=(0,r.useState)(!1),[X,J]=(0,r.useState)(""),[ee,et]=(0,r.useState)(""),[en,ea]=(0,r.useState)(!1),[eo,er]=(0,r.useState)(!1),[es,ei]=(0,r.useState)(!1),[el,ec]=(0,r.useState)(!1);async function ep(){ei(!1),f(!0,h.Is.High,c.D.components.deletingBlogSpinner);try{(0,e5.M7)(t.id,l),C(t);let e=l.pages.find(e=>"/"===e.path);e&&u(e),y(),v("/designer"),f(!1),o()}catch(e){console.error("[onDeletePage] failed:",e),f(!1),P(Y.vn.pageDeleteFailed)}}function em(){var e;return null!=(e=null==b?void 0:b.handle)?e:" ... "}return(0,a.jsxs)(ty.y,{title:Z,onSave:async()=>{p(z),o()},onClosed:o,canDismiss:!X&&!ee,isOpen:!0,className:"".concat(x6.dialog," ").concat(null!=s?s:""),autoFocus:!1,centered:!0,...i,"data-sentry-element":"ModalDialog","data-sentry-component":"EditPageModal","data-sentry-source-file":"EditPageModal.tsx",children:[(0,a.jsxs)(w.A,{className:d.ContainerStyles.NoSpacing,"data-sentry-element":"Container","data-sentry-source-file":"EditPageModal.tsx",children:[!V&&(0,a.jsxs)(L.A,{className:"mb-1 ".concat(x6.nonEditableNotice),children:[(0,a.jsx)(k.A,{className:"col-auto d-flex align-items-center",children:(0,a.jsx)(e4.F,{})}),(0,a.jsx)(k.A,{className:x6.nonEditableNoticeText,children:H.nonEditableNotice})]}),(0,a.jsxs)(L.A,{className:"mb-1 ".concat(x6.labelInput," ").concat(x6.labelRow," page-name"),"data-sentry-element":"Row","data-sentry-source-file":"EditPageModal.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:H.pageNameLabel}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.pageName,currentText:z.title||"",visible:U,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"EditPageModal.tsx"})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(k.A,{className:"position-relative ".concat(x6.labelInput," page-name"),"data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(tf.g,{invalid:!!X,t
1ype:"text",value:z.title||"",maxLength:tg.H.pageName,onFocus:()=>_(!0),onBlur:()=>_(!1),onChange:e=>(function(e){$({...z,title:e});let n=(0,W.validatePageTitle)(e,l.pages.filter(e=>e.id!==t.id));n===W.PageValueStatus.InvalidHyphenPosition?J(H.pageNameErrors.invalidPageNameHyphenPosition):n===W.PageValueStatus.InvalidSyntax?J(H.pageNameErrors.invalidPageNameFormat):n===W.PageValueStatus.Unavailable?J(H.pageNameErrors.pageNameAlreadyExists):J("")})(e.target.value),autoFocus:V,disabled:!V,className:V?void 0:x6.disabledInput,"data-sentry-element":"SoloInput","data-sentry-source-file":"EditPageModal.tsx"})})}),(0,a.jsx)(x2,{message:X||H.pageNameSubordinate,isError:!!X,"data-sentry-element":"SubordinateMessage","data-sentry-source-file":"EditPageModal.tsx"}),(0,a.jsxs)(L.A,{className:"mb-1 ".concat(x6.labelInput," ").concat(x6.labelRow),"data-sentry-element":"Row","data-sentry-source-file":"EditPageModal.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:H.pageAddressLabel}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)("span",{className:x6.copyLinkButton,role:"button",tabIndex:0,onClick:O,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),O())},children:H.copyLinkButton})})]}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(k.A,{className:"position-relative ".concat(x6.labelInput),"data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(se,{placeholder:"".concat((0,t$.kg)("/")).concat(em(),"/"),invalid:!!ee,onChange:e=>(function(e){let n=e.replace("/","");$({...z,path:"/".concat(n)});let a=(0,W.validatePageAddress)(n,l.pages.filter(e=>e.id!==t.id));a===W.PageValueStatus.InvalidHyphenPosition?et(H.pageAddressErrors.invalidPageAddressHyphenPosition):a===W.PageValueStatus.InvalidSyntax?et(H.pageAddressErrors.invalidPageAddressFormat):a===W.PageValueStatus.Unavailable?et(H.pageAddressErrors.pageAddressAlreadyExists):et("")})(e.target.value),value:z.path.replace("/",""),maxLength:tg.H.pagePath,disabled:!V,"data-sentry-element":"TextInputLeftPlaceholder","data-sentry-source-file":"EditPageModal.tsx"})})}),(0,a.jsx)(x2,{message:ee||H.pageAddressSubordinate,isError:!!ee,"data-sentry-element":"SubordinateMessage","data-sentry-source-file":"EditPageModal.tsx"}),(0,a.jsxs)(L.A,{className:"mb-1 ".concat(x6.labelInput," ").concat(x6.labelRow),"data-sentry-element":"Row","data-sentry-source-file":"EditPageModal.tsx",children:[(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:H.seoKeywordsLabel}),(0,a.jsx)(k.A,{className:"justify-content-end","data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(th,{maxLimit:tg.H.seoKeywords,currentText:z.keywords||"",visible:q,"data-sentry-element":"CharacterCounter","data-sentry-source-file":"EditPageModal.tsx"})})]}),(0,a.jsx)(L.A,{className:"mt-1","data-sentry-element":"Row","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(k.A,{className:"position-relative ".concat(x6.labelInput),"data-sentry-element":"Col","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)(tf.g,{type:"textarea",value:z.keywords||"",maxLength:tg.H.seoKeywords,placeholder:H.seoKeywordsPlaceholder,className:x6.seoKeywordsInput,onFocus:()=>Q(!0),onBlur:()=>{Q(!1),z.keywords!==t.keywords&&(0,ed.$s)(S,ew.o.designer.editPage.pageSeoKeywordsEdited)},onChange:e=>$({...z,keywords:nV(e.target.value)}),"data-sentry-element":"SoloInput","data-sentry-source-file":"EditPageModal.tsx"})})}),(0,a.jsx)(x2,{message:H.seoKeywordsSubordinate,"data-sentry-element":"SubordinateMessage","data-sentry-source-file":"EditPageModal.tsx"}),!R&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{children:(0,a.jsx)(eu.c,{})}),(0,a.jsxs)(L.A,{className:x6.duplicateRow,children:[(0,a.jsxs)(k.A,{className:"d-flex flex-column",children:[(0,a.jsxs)("div",{className:x6.duplicateTitleRow,children:[(0,a.jsx)("span",{className:x6.duplicateTitle,children:H.duplicatePageTitle}),(0,a.jsx)(aL.y,{tierOverride:I.isGrow?N.PlanType.GROW:N.PlanType.PRO,planModalReason:ad.Zh.DUPLICATE_PAGE,isClickable:!1})]}),(0,a.jsx)("div",{className:x6.duplicateDescription,children:H.duplicatePageDescription})]}),(0,a.jsx)(k.A,{className:"col-auto d-flex align-items-center",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.editPage.duplicatePageClick,children:(0,a.jsx)(G.A,{className:x6.duplicateButton,onClick:()=>
1{if(B){if(!T)return void ec(!0);A()?l.pages.length>=tg.H.maxPages?er(!0):ea(!0):(D(ad.Zh.DUPLICATE_PAGE),(0,ed.$s)(S,ew.o.designer.editPage.duplicatePageUpgradeModalShown))}},children:H.duplicatePageButton})})})]})]}),E&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(L.A,{children:(0,a.jsx)(eu.c,{})}),(0,a.jsx)(L.A,{children:R?(0,a.jsx)(eG.T,{eventName:ew.o.designer.sections.blogFeed.deleteBlog,children:(0,a.jsxs)("div",{className:x6.deleteButton,onClick:()=>ei(!0),role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),ei(!0))},children:[(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(aB.r,{})}),H.deleteBlogButton]})}):(0,a.jsx)(eG.T,{eventName:ew.o.designer.editPage.deletePageClick,children:(0,a.jsxs)("div",{className:x6.deleteButton,onClick:n,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),n())},children:[(0,a.jsx)("div",{className:"scale-icon",children:(0,a.jsx)(aB.r,{})}),H.deletePageButton]})})})]})]}),en&&(0,a.jsx)(tS,{isOpen:en,onClosed:()=>ea(!1),strings:{title:F.title,pageName:F.pageName,submitButton:F.duplicateButton},onSave:async e=>{ea(!1),f(!0,h.Is.High,F.spinner);try{let n=m(t,e);u(n),g(j.dR.Sections),f(!1),P(Y.vn.pageDuplicated),(0,ed.$s)(S,ew.o.designer.editPage.pageDuplicated),o()}catch(e){console.error("[duplicatePage] failed:",e),f(!1),P(Y.vn.pageDuplicateFailed)}}}),eo&&(0,a.jsx)(x0,{isOpen:eo,onClose:()=>er(!1)}),es&&(0,a.jsx)(xJ,{isOpen:es,onCancel:()=>ei(!1),onDelete:ep}),el&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>ec(!el),closeModal:()=>ec(!1),postLoginCallback:()=>ec(!1)})]})}function x2(e){let{message:t,isError:n}=e;return(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-component":"SubordinateMessage","data-sentry-source-file":"EditPageModal.tsx",children:(0,a.jsx)("div",{className:"".concat(x6.subordinateText," ").concat(n?"error":""),children:t})})}let x6={dialog:(0,o.style)({width:520,$nest:{".modal-body":{padding:24,overflow:"visible"}}}),labelRow:(0,o.style)({marginTop:(0,d.important)(d.Spacing.Large),height:d.Spacing.xLarge,alignItems:"center"}),nonEditableNotice:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Small,color:d.StandardColors.ColorYellow70,marginBottom:d.Spacing.Small}),nonEditableNoticeText:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:13,lineHeight:"18px",color:d.StandardColors.ColorYellow80})),copyLinkButton:"".concat(d.LinkStyles.NoUnderlineNoPadding," ").concat(d.FontStyles.Medium),disabledInput:(0,o.style)({$nest:{"&:disabled":{backgroundColor:"".concat(d.StandardColors.ColorLightGray30," !important"),color:"".concat(d.StandardColors.ColorDarkGray05," !important")}}}),seoKeywordsInput:(0,o.style)({height:75,resize:"none"}),labelInput:(0,o.style)({$nest:{".form-control.is-valid, .form-control.is-invalid":{backgroundSize:"16px !important"},"&.page-name":{maxWidth:260}}}),subordinateText:"".concat(d.FontStyles.Subordinate," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray05,marginTop:"".concat(d.Spacing.Micro,"px !important"),marginLeft:0,padding:0,$nest:{"&.error":{color:d.StandardColors.ColorRed60}}})),duplicateRow:(0,o.style)({paddingBlock:d.Spacing.Micro,alignItems:"center"}),duplicateTitleRow:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Micro}),duplicateTitle:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({fontSize:13,lineHeight:"18px",color:d.StandardColors.ColorDarkGray90})),duplicateDescription:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:11,lineHeight:"16px",color:d.StandardColors.ColorDarkGray05})),duplicateButton:"".concat(d.ButtonStyles.LinkButtonSecondary," ").concat(d.FontStyles.Medium," ").concat((0,o.style)({fontSize:13,lineHeight:"18px",color:d.StandardColors.ColorViolet60,cursor:"pointer"})),deleteButton:"".concat(d.ButtonStyles.LinkButtonSecondary," ").concat(d.FontStyles.Medium," ").concat((0,o.style)({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center",textAlign:"left",height:d.Spacing.xxLarge,columnGap:d.Spacing.Small,$nest:{".scale-icon":{display:"flex",alignItems:"center",maxHeight:d.Spacing.Large+d.Spacing.Micro,maxWidth:d.Spacing.Large+d.Spacing.Micro}}}))};function x5(){let[e,t]=(0,r.useState)(),[n,o]=(0,r.useState)(!1);return{openEditModal:function(e){t(e),o(!1)},modals:e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x3,{page:e,onDelete:()=>o(!0),onClose:()=>t(void 0)}),n&&(0,a.jsx)(xY,{page:e,onClose:function(){t(void 0),o(!1)}})]}):null}}function x4(e){let{className:t,onClosed:n,onCreateBlog:o,...r}=e,s=c.D.views.designer.components.toolbar.createBlogModal,{websiteSettings:i}=(0,j.Hb)(),{openEditModal:l,modals:p}=x5(),m=i.pages.find(e=>"/blog"===e.path&&e.pageType!==N.PageType.Blog);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(_.A,{className:"".concat(x7.container," ").concat(t||""),...r,centered:!0,returnFocusAfterClose:!1,autoFocus:!1,"data-sentry-element":"Modal","data-sentry-source-file":"CreateBlogModal.tsx",children:(0,a.jsxs)(em.A,{"data-sentry-element":"ModalBody","data-sentry-source-file":"CreateBlogModal.tsx",children:[(0,a.jsx)("div",{className:"header",children:(0,a.jsx)("h4",{children:s.title})}),(0,a.jsxs)("div",{className:x7.infoSections,children:[(0,a.jsxs)("div",{className:x7.infoRow,children:[(0,a.jsx)("div",{className:x7.iconWrapper,children:(0,a.jsx)(xQ,{"data-sentry-element":"GetStartedIcon","data-sentry-source-file":"CreateBlogModal.tsx"})}),(0,a.jsx)("div",{className:x7.infoText,children:(0,a.jsx)("div",{className:x7.infoDescription,children:s.getStartedDescription})})]}),(0,a.jsxs)("div",{className:x7.infoRow,children:[(0,a.jsx)("div",{className:x7.iconWrapper,children:(0,a.jsx)(xK,{"data-sentry-element":"PublishIcon","data-sentry-source-file":"CreateBlogModal.tsx"})}),(0,a.jsx)("div",{className:x7.infoText,children:(0,a.jsx)("div",{className:x7.infoDescription,children:s.publishDescription})})]})]}),m&&(0,a.jsxs)("div",{className:x7.errorBanner,children:[(0,a.jsx)("div",{className:x7.errorIcon,children:(0,a.jsx)(e4.F,{})}),(0,a.jsxs)("div",{className:x7.errorTextWrapper,children:[(0,a.jsx)("div",{className:x7.errorTitle,children:s.blogSlugConflictTitle}),(0,a.jsx)("div",{className:x7.errorLink,role:"button",tabIndex:0,onClick:()=>l(m),onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),l(m))},children:s.blogSlugConflictLink})]})]}),(0,a.jsxs)("div",{className:x7.buttonRow,children:[(0,a.jsx)(G.A,{className:d.ButtonStyles.SecondarySmall,onClick:()=>n(),"data-sentry-element":"Button","data-sentry-source-file":"CreateBlogModal.tsx",children:s.cancelButton}),(0,a.jsx)(G.A,{className:d.ButtonStyles.PrimarySmall,disabled:!!m,onClick:()=>{o()},"data-sentry-element":"Button","data-sentry-source-file":"CreateBlogModal.tsx",children:s.createButton})]})]})}),p]})}let x7={container:(0,o.style)({width:480,maxWidth:480,margin:"auto",borderRadius:u.Spacing.xLarge,$nest:{".modal-content":{borderRadius:u.Spacing.xLarge},".modal-body":{display:"flex",flexDirection:"column",gap:u.Spacing.xxLarge,padding:u.Spacing.xxLarge,boxShadow:u.BoxShadowStyles.xLarge,$nest:{".header":{$nest:{h4:{fontSize:21,fontWeight:N.FontWeight.SemiBold,letterSpacing:"-0.015em",margin:0}}}}}}}),infoSections:(0,o.style)({display:"flex",flexDirection:"column",gap:u.Spacing.xLarge}),infoRow:(0,o.style)({display:"flex",flexDirection:"row",gap:u.Spacing.Large}),iconWrapper:(0,o.style)({flexShrink:0,width:64,height:64}),infoText:(0,o.style)({display:"flex",flexDirection:"column",justifyContent:"center"}),infoDescription:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({fontSize:13,lineHeight:"".concat(u.Spacing.Large+u.Spacing.Micro,"px"),color:d.StandardColors.ColorDarkGray50})),buttonRow:(0,o.style)({display:"flex",flexDirection:"row",gap:u.Spacing.Small}),errorBanner:(0,o.style)({display:"flex",flexDirection:"row",gap:u.Spacing.Small,padding:u.Spacing.Large,borderRadius:u.Spacing.Small,background:d.StandardColors.ColorOrange05,boxShadow:"inset 0px 0px 0px 1px rgba(0,0,0,0.12)"}),errorIcon:(0,o.style)({flexShrink:0,display:"flex",alignItems:"flex-start",color:d.StandardColors.ColorDarkGray05}),errorTextWrapper:(0,o.style)({display:"flex",flexDirection:"column",gap:2,justifyContent:"center"}),errorTitle:"".concat(d.FontStyles.SemiBold," ").concat((0,o.style)({color:d.StandardColors.ColorDarkGray90})),errorLink:"".concat(d.FontStyles.Regular," ").concat((0,o.style)({color:d.StandardColors.ColorViolet60,cursor:"pointer",$nest:{"&:hover":{color:d.StandardColors.ColorDarkGray90}}}))};function x9(e){var t;let{setLoginOverlayVisible:n}=e,{websiteSettings:o,isWebsiteLoaded:s}=(0,j.Hb)(),{isLoggedIn:i,user:l}=(0,x.uM)(),{createBlog:p}=function(){let[e,t]=(0,r.useState)(!1),n=(0,r.useRef)(!1),{websiteSettings:a,setWebsiteSettings:o,setCurrentPage:s,setDesignerSettings:i,designerSettings:l}=(0,j.Hb)(),{setSpinner:d}=(0,h.p6)(),{analytics:p}=(0,eL.S)(),{user:m}=(0,x.uM)(),{pushToastMessage:u}=(0,K.dj)(),g=c.D.views.designer.components.toolbar,y=(0,r.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=lp(a.businessName||"the business"),o=lp(a.businessActivities||"various services"),r=lp(a.businessLocation||"the local area"),s=c.D.utils.ai.blogCreation.topicAngles,i=Array.from({length:e},(e,t)=>"".concat(t+1,". ").concat(s[t%s.length])).join("\n"),l=t.length>0?" The blog already has posts titled: ".concat(t.map(e=>lp(e,200)).join(", "),". Each new post must have a completely different topic, angle, and title from these existing posts. Also use different image_keywords than what would match those existing posts."):"";return"For a website named ".concat(n," based in ").concat(r," engaging in ").concat(o,", create ").concat(e," blog posts with diverse topics. Each post should cover a different angle:\n").concat(i,"\n\nEach post should have a unique title and 2 paragraphs of content (the second paragraph should have an h3 heading, but the first paragraph should not have any heading). Each blog post should be informative and engaging. Keep each post's total content length under ").concat(2500,' characters. Ensure that the "content" field for each post does NOT contain the suggested title, since the title should appear ONLY in the separate "title" field. For image_keywords, provide specific and unique keywords per post that would return distinct images (avoid generic terms).').concat(l)},[a.businessName,a.businessActivities,a.businessLocation]),C=(0,r.useCallback)(()=>{let e=lp(a.businessName||"the business"),t=lp(a.businessActivities||"various services"),n=lp(a.businessLocation||"the local area");return"For a website named ".concat(e," based in ").concat(n," engaging in ").concat(t,', create a blog title (short, catchy) and a brief description/subtext (1-2 sentences). Return as JSON with "title" and "description" fields.')},[a.businessName,a.businessActivities,a.businessLocation]),f=async()=>{let e="Blog",t="";try{let n=await (0,ld.K)({docId:a.id,prompt:C(),schema:lc._.BlogMeta,genLanguage:a.language}),o=JSON.parse(n.result);if(!o.title)throw Error("Failed to generate blog metadata: title is required");if(!o.description)throw Error("Failed to generate blog metadata: description is required");e=o.title,t=o.description}catch(e){throw console.error("Failed to generate blog metadata:",e),e}return{title:e,description:t}},S=async e=>{var t;let n=JSON.parse((await (0,ld.K)({docId:a.id,prompt:y(e),schema:lc._.BlogPosts,genLanguage:a.language})).result);if(!Array.isArray(n.posts)||0===n.posts.length)throw Error("Failed to generate any blog posts");let o=((null==m||null==(t=m.firebaseUser)?void 0:t.displayName)||"").slice(0,100),r=new Date().toISOString(),s=[];for(let e of n.posts){if("string"!=typeof e.title||""===e.title.trim()||"string"!=typeof e.content||""===e.content.trim()||"string"!=typeof e.image_keywords)continue;let t=(0,W.wrapBareTextInParagraphs)((0,W.sanitizeHtml)(e.content));if(!t.trim())continue;let n=t.length>2500?t.slice(0,2497)+"...":t;s.push({title:e.title.slice(0,200),body:n,imageKeywords:e.image_keywords,authorName:o,date:r})}if(0===s.length)throw Error("Failed to generate any blog posts");let i=s.map(e=>e.imageKeywords),l=[a.businessActivities||"","professional business office"].filter(
1Boolean),c=await lx(i,new Set,l);return s.map((e,t)=>({id:(0,au.bz)(),title:e.title,body:e.body,image:c[t],imageKeywords:e.imageKeywords,authorName:e.authorName,date:e.date,isAIAssisted:!0}))},v=async e=>{let[t,n]=await Promise.all([f().catch(e=>{throw Error("Blog metadata generation failed: ".concat(e.message))}),S(e).catch(e=>{throw Error("Blog post generation failed: ".concat(e.message))})]);return{meta:t,posts:n}},b=(0,r.useCallback)(async()=>{if(!n.current){n.current=!0,t(!0),d(!0,h.Is.High,g.spinner.creatingBlog);try{var e;let t,n;(0,ed.$s)(p,ew.o.designer.toolbar.addBlog);let r=a.pregeneratedBlogPosts;r&&r.length>0?(t=r,n={meta:await f(),posts:[]}):t=(n=await v(3)).posts;let c=t.slice(0,3).map(e=>({...e,id:(0,au.bz)(),date:new Date().toISOString()})),d={id:(0,au.bz)(),type:N.WebsiteSectionType.BlogFeed,props:{title:n.meta.title,description:n.meta.description,textAlignment:N.Alignment.Center,showDate:!0,showAuthorName:!0,showImages:!0,showLink:!1,linkLabel:(0,W.getLocaleStrings)(a.language).blogFeedSection.readMore,blogPosts:c}},m=a.sections.find(e=>e.type===N.WebsiteSectionType.Header),g=a.sections.find(e=>e.type===N.WebsiteSectionType.Footer);if(!m||!g)throw Error("Header or footer section not found");let y=(0,au.bz)(),x="/".concat((0,E.toSlug)(xq)),h={id:y,path:x,title:xq,sectionIds:[m.id,d.id,g.id],keywords:(null==(e=a.pages[0])?void 0:e.keywords)||"",pageType:N.PageType.Blog},C={type:N.LinkType.Blog,blogPageId:y,label:xq,value:x},S=[...m.props.links,C],b={...m,props:{...m.props,links:S}},w=a.sections.map(e=>e.id===m.id?b:e);w.push(d);let L=a.pages.findIndex(e=>"/"===e.path),k=[...a.pages];-1!==L?k.splice(L+1,0,h):k.unshift(h);let M={...a,sections:w,pages:k,pregeneratedBlogPosts:t,pregeneratedBlogPostsUsedCount:3};o(M),s(h),i({...l,designerMode:j.dR.Properties,selectedSection:d,showProperties:!0}),(0,ed.$s)(p,ew.o.designer.blog.created),u(Y.vn.blogCreated)}catch(e){console.error("[useBlogCreation] Failed to create blog:","\n  Error:",e,"\n  Error code:",null==e?void 0:e.code,"\n  Error message:",null==e?void 0:e.message),u(Y.vn.blogCreationFailed)}finally{n.current=!1,t(!1),d(!1)}}},[a,o,s,i,l,d,p,v,u,g.spinner.creatingBlog]);return{isCreating:e,createBlog:b}}(),[m,u]=(0,r.useState)(!1),g=c.D.views.designer.components.toolbar.designerModeSelector;if(!(0,E.isBlogEnabled)()||(null==o||null==(t=o.pages)?void 0:t.some(e=>e.pageType===N.PageType.Blog)))return null;let y=async()=>{u(!1),await p()};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"AddBlogButton.tsx",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.addBlog,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"AddBlogButton.tsx",children:(0,a.jsxs)(G.A,{className:d.ButtonStyles.SecondarySmall,onClick:()=>{i&&l?u(!0):n(!0)},disabled:!s,"data-sentry-element":"Button","data-sentry-source-file":"AddBlogButton.tsx",children:[(0,a.jsx)(cH,{"data-sentry-element":"DocStack","data-sentry-source-file":"AddBlogButton.tsx"}),(0,a.jsx)("span",{children:g.addBlog})]})})}),m&&(0,a.jsx)(x4,{isOpen:m,onClosed:()=>u(!1),onCreateBlog:y})]})}function x8(e){let{setLoginOverlayVisible:t}=e,n=c.D.views.designer.components.toolbar.designerModeSelector,{designerSettings:o,openSidebarMode:s,closeSidebar:i,setShowPreview:l,currentPage:p,isWebsiteLoaded:m}=(0,j.Hb)(),{isLoggedIn:u,user:g}=(0,x.uM)(),{designerMode:y}=o,h=(null==p?void 0:p.pageType)===N.PageType.Blog,[C,f]=(0,r.useState)(!1);function S(e){y===e&&o.showProperties?i():s(e)}return(0,a.jsxs)(w.A,{className:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," ").concat(ht.container," d-flex justify-content-center"),"data-sentry-element":"Container","data-sentry-component":"DesignerModeSelector","data-sentry-source-file":"DesignerModeSelector.tsx",children:[(0,a.jsxs)(L.A,{className:"flex-nowrap","data-sentry-element":"Row","data-sentry-source-file":"DesignerModeSelector.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DesignerModeSelector.tsx",children:(0,a.jsxs)(he,{disabled:!m,eventName:ew.o.designer.toolbar.designerMode.settings,onClick:()=>S(j.dR.Settings),"data-sentry-element":"DesignerModeButton","data-sentry-source-file":"DesignerModeSelector.tsx",children:[(0,a.jsx)(xU,{"data-sentry-element":"Settings","data-sentry-source-file":"DesignerModeSelector.tsx"}),(0,a.jsx)("span",{children:n.settings})]})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DesignerModeSelector.tsx",children:(0,a.jsxs)(he,{disabled:!m,eventName:ew.o.designer.toolbar.designerMode.theme,onClick:()=>S(j.dR.Theme),"data-sentry-element":"DesignerModeButton","data-sentry-source-file":"DesignerModeSelector.tsx",children:[(0,a.jsx)(x_,{"data-sentry-element":"Theme","data-sentry-source-file":"DesignerModeSelector.tsx"}),(0,a.jsx)("span",{children:n.theme})]})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DesignerModeSelector.tsx",children:(0,a.jsx)(J.x,{disabled:!h,target:(0,a.jsx)("span",{children:(0,a.jsxs)(he,{eventName:ew.o.designer.toolbar.designerMode.sections,onClick:()=>S(j.dR.Sections),disabled:h||!m,children:[(0,a.jsx)(cR,{}),(0,a.jsx)("span",{children:n.sections})]})}),placement:"bottom",title:n.sectionsDisabledTooltip,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"DesignerModeSelector.tsx"})}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DesignerModeSelector.tsx",children:(0,a.jsxs)(he,{disabled:!m,eventName:ew.o.designer.toolbar.addPage,onClick:()=>{u&&g?f(!0):t(!0)},"data-sentry-element":"DesignerModeButton","data-sentry-source-file":"DesignerModeSelector.tsx",children:[(0,a.jsx)(xz,{"data-sentry-element":"AddPage","data-sentry-source-file":"DesignerModeSelector.tsx"}),(0,a.jsx)("span",{children:n.addPage})]})}),(0,a.jsx)(x9,{setLoginOverlayVisible:t,"data-sentry-element":"AddBlogButton","data-sentry-source-file":"DesignerModeSelector.tsx"}),(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DesignerModeSelector.tsx",children:(0,a.jsxs)(he,{eventName:ew.o.designer.toolbar.designerMode.preview,onClick:()=>l(!0),"data-sentry-element":"DesignerModeButton","data-sentry-source-file":"DesignerModeSelector.tsx",children:[(0,a.jsx)(x$,{"data-sentry-element":"Preview","data-sentry-source-file":"DesignerModeSelector.tsx"}),(0,a.jsx)("span",{children:n.preview})]})})]}),C&&(0,a.jsx)(tj,{isOpen:C,onClosed:()=>f(!1),context:tb.NewPage})]})}function he(e){let{eventName:t,...n}=e;return(0,a.jsx)(eG.T,{eventName:t,"data-sentry-element":"AnalyticsLink","data-sentry-component":"DesignerModeButton","data-sentry-source-file":"DesignerModeSelector.tsx",children:(0,a.jsx)(G.A,{className:"".concat(d.ButtonStyles.SecondarySmall),...n,"data-sentry-element":"Button","data-sentry-source-file":"DesignerModeSelector.tsx"})})}let ht={container:(0,o.style)({$nest:{button:{display:"flex",lineHeight:"unset",minWidth:6*d.Spacing.Large,alignItems:"center",backgroundColor:d.StandardColors.ColorWhite,color:d.StandardColors.ColorDarkGray05,$nest:{"&:hover":{color:d.Colors.Subdued,backgroundColor:d.StandardColors.ColorLightGray20},"&.active":{color:d.Colors.Subdued,backgroundColor:d.StandardColors.ColorLightGray30},"&:disabled":{backgroundColor:d.StandardColors.ColorTransparent,color:d.StandardColors.ColorDarkGray05,opacity:.4},svg:{marginRight:d.Spacing.Small}}},".col:not(:last-child)":{marginRight:d.Spacing.Small}}})};function hn(){let e=c.D.views.designer.components.designerDesktopToolbar,[t,n]=(0,r.useState)(!1),[o,s]=(0,r.useState)(!1),{user:i,isLoaded:l,isLoggedIn:p}=(0,x.uM)(),{hasReachedPublishedWebsitesLimit:m}=(0,ap.o7)(),{showPlanNotificationModal:u}=(0,ad.dp)(),{websiteDocument:g}=(0,M.SY)(),{publishWebsite:y}=(0,M.u)(),{websiteDomain:C}=(0,D.hi)(),[f,S]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),[P,I]=(0,r.useState)(!1),[T,B]=(0,r.useState)(null),{saveWebsiteSettings:A,websiteSettings:H,settingsDirt
1y:F,setSettingsDirty:R,canPublish:V,invalidFields:W,isWebsiteLoaded:E}=(0,j.Hb)(),{setSpinner:Z}=(0,h.p6)(),{pushToastMessage:O}=(0,K.dj)(),{activeUserEmail:$,takeEditControl:U,userHasEditAccess:_}=(0,z.YI)();async function q(){if(p||i)if(!(null==g?void 0:g.handle)&&m())return void u(ad.Zh.PUBLISH_WEBSITE);else if(null==g?void 0:g.handle){Z(!0,h.Is.Highest,"Publishing");try{await y(g.handle,H)}catch(e){if(Z(!1,h.Is.Highest),e instanceof M.uH&&422===e.status)return void O(Y.vn.publishGuidelineFailure);if(e instanceof M.uH&&503===e.status)return void B("publishCheckUnavailable");console.error("Republish failed with unexpected error:",e),(0,gy.S)(e,{source:"DesignerDesktopToolbar.onPublishClick"}),B("publish");return}p&&i&&O(Y.vn.publishedWebsite),await new Promise(e=>setTimeout(e,rJ.w)),(0,r8.V)(C&&C.domainName&&C.state===N.WebsiteDomainState.Connected?"https://".concat((0,sh.toDisplayDomain)(C.domainName)):"/".concat(g.handle)),R(!1),Z(!1,h.Is.Highest)}else s(!0);else Q()}async function Q(){I(!0);try{if(p&&i&&!navigator.onLine)throw Error("Browser is offline");await A(),p&&i&&await lj((0,am.T)().db)}catch(e){console.error("Save draft failed with unexpected error:",e),(0,gy.S)(e,{source:"DesignerDesktopToolbar.onSaveDraftClick"}),I(!1),B("save");return}I(!1),p&&i&&O(Y.vn.savedDraft),!l||p||i||n(!0)}let X=!F||W.length>0;return(0,a.jsxs)(w.A,{className:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," ").concat(ha.container),"data-sentry-element":"Container","data-sentry-component":"DesignerDesktopToolbar","data-sentry-source-file":"DesignerDesktopToolbar.tsx",children:[v&&(0,a.jsx)(sR,{isOpen:v,toggle:()=>b(!1)}),o&&(0,a.jsx)(so,{isOpen:o,initialHandle:(0,t$.bl)(H.businessName),toggle:()=>s(!o),closeModal:()=>s(!1)}),t&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>{n(!t)},closeModal:()=>n(!1),postLoginCallback:()=>n(!1)}),T&&(0,a.jsx)(xZ,{heading:"save"===T?e.retryModal.saveHeading:e.retryModal.publishHeading,description:"save"===T?e.retryModal.saveDescription:"publishCheckUnavailable"===T?e.retryModal.publishCheckUnavailableDescription:e.retryModal.publishDescription,primaryButtonText:e.retryModal.tryAgain,secondaryButtonText:e.retryModal.keepEditing,primaryButtonOnClick:()=>{B(null),"save"===T?Q():q()},secondaryButtonOnClick:()=>B(null)}),(0,a.jsxs)(L.A,{className:"".concat(d.ContainerStyles.VerticallyCenter," flex-nowrap"),"data-sentry-element":"Row","data-sentry-source-file":"DesignerDesktopToolbar.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto","data-sentry-element":"Col","data-sentry-source-file":"DesignerDesktopToolbar.tsx",children:(0,a.jsx)(eN(),{href:"/","data-sentry-element":"Link","data-sentry-source-file":"DesignerDesktopToolbar.tsx",children:(0,a.jsx)(eD.I,{"data-sentry-element":"DarkLogo_Small","data-sentry-source-file":"DesignerDesktopToolbar.tsx"})})}),_?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.A,{className:ha.modeSelectorCol,children:(0,a.jsx)(x8,{setLoginOverlayVisible:e=>n(e)})}),(0,a.jsx)(k.A,{className:"col-auto share-button",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.share,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.SecondarySmall,disabled:!E,onClick:()=>{i?b(!0):n(!0)},children:e.share})})}),(0,a.jsx)(k.A,{className:"col-auto save-draft",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.saveDraft,children:(0,a.jsxs)(G.A,{className:ha.saveDraftButton,onClick:Q,disabled:!E||p&&X||P,children:[P&&(0,a.jsx)("div",{className:ha.savingDraftButtonContent,"aria-label":"Saving draft",role:"status"}),p&&X&&!P&&(0,a.jsxs)("div",{className:ha.savedDraftButtonContent,children:[(0,a.jsx)(gE.M,{}),e.draftSaved]}),(!p||!X&&!P)&&(0,a.jsx)(a.Fragment,{children:e.saveDraft})]})})}),(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.publish,children:(0,a.jsx)(G.A,{className:ha.finishButton,onClick:q,disabled:!E||i&&!V,children:e.publish})})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.A,{className:"d-flex justify-content-end ".concat(ha.userEditingCol),children:(0,a.jsx)(xO,{})}),(0,a.jsx)(k.A,{className:"col-auto ".concat(ha.someoneElseEditing),children:e.someoneElseEditing.replace("{email}",$||"")}),(0,a.jsx)(eG.T,{eventName:ew.o.designer.settings.websiteSharing.takeEditControl,children:(0,a.jsx)(G.A,{className:ha.takeControlButton,onClick:()=>S(!0),children:e.takeEditControl})}),(0,a.jsx)(k.A,{className:"col-auto share-button",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.share,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.SecondarySmall,onClick:()=>b(!0),children:e.share})})})]}),l&&p&&i&&(0,a.jsx)(k.A,{className:"col-auto user-menu",children:(0,a.jsx)(eI.B,{buttonStyle:"user-button"})}),f&&(0,a.jsxs)(sC.E,{isDestructive:!0,isOpen:f,title:e.takeControlModal.title,cancelText:e.takeControlModal.cancel,acceptText:e.takeEditControl,onCancel:()=>{S(!1)},onAccept:async()=>{Z(!0,h.Is.Highest);try{await U()}catch(e){}finally{Z(!1,h.Is.Highest),S(!1)}},children:[(0,a.jsx)("div",{children:e.takeControlModal.messagePrefix.replace("{email}",$||"")}),(0,a.jsx)("br",{}),e.takeControlModal.message]})]})]})}let ha={container:(0,o.style)({paddingInline:d.Spacing.xLarge,paddingBlock:B,$nest:{"& button":{lineHeight:"20px",paddingInline:(0,d.important)(d.Spacing.Medium)},".save-draft":{marginRight:d.Spacing.Small},".share-button":{marginRight:d.Spacing.Small},".user-menu":{borderLeftWidth:1,borderLeftStyle:"solid",borderLeftColor:d.StandardColors.ColorLightGray40,paddingLeft:"".concat(d.Spacing.Small,"px !important"),$nest:{".user-button":{paddingInline:(0,d.important)(d.Spacing.Large),width:d.Spacing.xxxLarge+d.Spacing.Medium,maxHeight:d.Spacing.xxLarge}}}}}),modeSelectorCol:(0,o.style)({minWidth:0,overflow:"hidden"}),finishButton:"".concat(d.ButtonStyles.PrimarySmall," ").concat((0,o.style)({marginRight:d.Spacing.Small,paddingInline:d.Spacing.Large})),saveDraftButton:"".concat(d.ButtonStyles.CautionSmall," ").concat((0,o.style)({width:90})),savingDraftButtonContent:(0,o.style)({width:20,height:20,backgroundImage:"url('/img/spinner-48-transparent-violet.png')",backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",margin:"0 auto"}),savedDraftButtonContent:(0,o.style)({display:"flex",alignItems:"center",gap:d.Spacing.Micro,$nest:{"& svg":{color:d.StandardColors.ColorGreen70}}}),logoutButton:"".concat(d.ButtonStyles.LinkButtonPrimary," ").concat((0,o.style)({minWidth:2*d.Spacing.xxxLarge,maxHeight:d.Spacing.xxxLarge,lineHeight:"unset",$nest:{"&:hover":{color:"".concat(d.Colors.PrimaryHover)}}})),someoneElseEditing:(0,o.style)({color:d.StandardColors.ColorDarkGray50,marginRight:d.Spacing.Large+d.Spacing.Micro}),takeControlButton:"".concat(d.ButtonStyles.SecondarySmall," ").concat((0,o.style)({marginRight:d.Spacing.Small})),userEditingCol:(0,o.style)({color:d.StandardColors.ColorDarkGray05,marginRight:d.Spacing.Small})};function ho(){let{isLoaded:e,isLoggedIn:t}=(0,x.uM)(),[n,o]=(0,r.useState)(!1),[s,i]=(0,r.useState)(!1),[l,p]=(0,r.useState)(!1),m=c.D.views.designer.components.designerMobileToolbar;return(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," ").concat(hr.container),"data-sentry-element":"Container","data-sentry-component":"DesignerMobileToolbar","data-sentry-source-file":"DesignerMobileToolbar.tsx",children:[l&&(0,a.jsx)(sR,{isOpen:l,toggle:()=>p(!1)}),s&&(0,a.jsx)(eM.K,{mustLoginPrompt:!0,toggle:()=>{i(!s)},closeModal:()=>i(!1),postLoginCallback:()=>i(!1)}),(0,a.jsxs)(L.A,{className:"p-relative d-flex align-items-center","data-sentry-element":"Row","data-sentry-source-file":"DesignerMobileToolbar.tsx",children:[n&&(0,a.jsx)("div",{className:hr.overlay}),(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"DesignerMobileToolbar.tsx",children:(0,a.jsx)(eN(),{href:"/","data-sentry-element":"Link","data-sentry-source-file":"DesignerMobileToolbar.tsx",children:(0,a.jsx)(eD.I,{"data-sentry-element":"DarkLogo_Small","data-sentry-source-file":"DesignerMobileToolbar.tsx"})})}),e&&!t&&(0,a.jsx)(k.A,{className:"d-flex justify-content-end",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.saveDraft,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.PrimarySmall,onClick:()=>i(!0),children:m.saveDraft})})}),e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.A,{className:"d-flex justify-content-end share-button col-auto",children:(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.share,children:(0,a.jsx)(G.A,{className:d.ButtonStyles.SecondarySmall,onClick:()=>t?p(!0):i(!0),children:m.share})})}),t&&(0,a.jsx)(k.A,{className:"d-flex col-auto",children:(0,a.jsx)(eI.B,{buttonStyle:hr.usermenuButton,onExpandedChanged:e=>o(e)})})]})]})]})}let hr={container:(0,o.style)({position:"fixed",top:0,width:"100%",height:R,zIndex:100,backgroundColor:u.StandardColors.ColorWhite,paddingInline:u.Spacing.xLarge,paddingBlock:F,boxSh
1adow:u.BoxShadowStyles.InnerBevelBottom,$nest:{".share-button":{marginLeft:u.Spacing.Small,$nest:{"&:not(:last-child)":{marginRight:u.Spacing.Small,borderRightWidth:1,borderRightStyle:"solid",borderRightColor:u.StandardColors.ColorLightGray40,$nest:{button:{marginRight:u.Spacing.Small}}}}}}}),overlay:(0,o.style)({position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:u.StandardColors.ColorDarkGray50,opacity:.5,zIndex:100,pointerEvents:"none"}),usermenuButton:(0,o.style)({maxHeight:u.Spacing.xxLarge})};function hs(){let{isMobileDevice:e}=(0,j.Hb)();return e?(0,a.jsx)(ho,{}):(0,a.jsx)(hn,{"data-sentry-element":"DesignerDesktopToolbar","data-sentry-component":"DesignerToolbar","data-sentry-source-file":"DesignerToolbar.tsx"})}function hi(){let{currentPage:e,websiteSettings:t}=(0,j.Hb)(),{pages:n}=t,o=c.D.views.designer.components.designerPagesToolbar,{openEditModal:s,modals:i}=x5();if(!e||!(t.pages.length>1))return null;let l="page-row",d=[...n].sort((e,t)=>"/"===e.path?-1:"/"===t.path?1:e.pageType===N.PageType.Blog?-1:+(t.pageType===N.PageType.Blog));return(0,a.jsxs)(w.A,{className:"".concat(u.ContainerStyles.NoSpacing," ").concat(u.ContainerStyles.Fill," ").concat(hd.container),"data-sentry-element":"Container","data-sentry-component":"MultiPageToolbar","data-sentry-source-file":"MultiPageToolbar.tsx",children:[(0,a.jsxs)(L.A,{id:l,className:"".concat(u.ContainerStyles.VerticallyCenter," page-row"),onWheel:e=>{e.preventDefault();let t=document.getElementById(l);t&&t.scrollTo({top:0,left:t.scrollLeft+e.deltaY,behavior:"smooth"})},"data-sentry-element":"Row","data-sentry-source-file":"MultiPageToolbar.tsx",children:[(0,a.jsx)(k.A,{className:"col-auto ".concat(hd.pagesLabel),"data-sentry-element":"Col","data-sentry-source-file":"MultiPageToolbar.tsx",children:o.pages}),(0,a.jsx)(hc,{"data-sentry-element":"VerticalDivider","data-sentry-source-file":"MultiPageToolbar.tsx"}),d.map(e=>(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)(k.A,{className:"col-auto",children:(0,a.jsx)(hl,{decreasedWidth:n.length>5,page:e,onPageEdit:s})}),(0,a.jsx)(hc,{})]},e.path))]}),i]})}function hl(e){let{page:t,onPageEdit:n,decreasedWidth:o}=e,{setCurrentPage:r,currentPage:s,setDesignerSettings:i,designerSettings:l,websiteSettings:p}=(0,j.Hb)(),m=c.D.views.designer.components.designerPagesToolbar;function u(){return(null==s?void 0:s.path)===t.path}let g=nW(t);return(0,a.jsxs)(G.A,{className:"".concat(d.ButtonStyles.SecondarySmall," ").concat(hd.pageButton," ").concat(u()?"selected":""," ").concat(o?"decreased-width":""),onClick:function(){if(r(t),t.pageType===N.PageType.Blog){let e=p.sections.find(e=>e.type===N.WebsiteSectionType.BlogFeed&&t.sectionIds.includes(e.id));if(e)return void i({...l,designerMode:j.dR.Properties,showProperties:!0,selectedSection:e})}i({...l,designerMode:j.dR.Sections,showProperties:!0,selectedSection:void 0})},title:g,"data-sentry-element":"Button","data-sentry-component":"PageButton","data-sentry-source-file":"MultiPageToolbar.tsx",children:[(0,a.jsx)("span",{className:"text ".concat(u()?"selected":""),children:g}),(0,a.jsx)(eG.T,{eventName:ew.o.designer.toolbar.editPageClick,"data-sentry-element":"AnalyticsLink","data-sentry-source-file":"MultiPageToolbar.tsx",children:(0,a.jsx)(J.x,{target:(0,a.jsx)("div",{role:"button",onClick:e=>{e.stopPropagation(),n(t)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.stopPropagation(),n(t))},tabIndex:0,className:"".concat(hd.editButton," ").concat(u()?"visible":""," edit-button"),"aria-label":m.editTooltip||"Edit page: ".concat(g),children:(0,a.jsx)("div",{className:hd.editIcon,"aria-hidden":"true",children:(0,a.jsx)(O.f,{})})}),title:m.editTooltip,"data-sentry-element":"SoloTooltip","data-sentry-source-file":"MultiPageToolbar.tsx"})})]})}function hc(){return(0,a.jsx)(k.A,{className:"col-auto ".concat(hd.verticalDivider),"data-sentry-element":"Col","data-sentry-component":"VerticalDivider","data-sentry-source-file":"MultiPageToolbar.tsx"})}let hd={container:(0,o.style)({paddingInline:u.Spacing.xLarge,paddingBlock:A,boxShadow:"inset 0 1px 0 ".concat(u.StandardColors.ColorLightGray40),backgroundColor:u.StandardColors.ColorWhite,$nest:{".page-row":{justifyContent:"flex-start",flexWrap:"nowrap",marginRight:"auto",overflowX:"auto"}}}),verticalDivider:(0,o.style)({width:0,minWidth:0,flexShrink:0,height:u.Spacing.xLarge,alignSelf:"center",borderLeft:"1px solid ".concat(u.StandardColors.ColorLightGray30),marginInline:u.Spacing.Micro}),pagesLabel:"".concat(d.FontStyles.Overline," ").concat((0,o.style)({display:"flex",color:u.StandardColors.ColorDarkGray05,justifyContent:"flex-start",paddingRight:(0,u.important)(u.Spacing.Medium),textTransform:"uppercase"})),pageButton:(0,o.style)({display:"flex",overflow:"hidden",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:u.Spacing.Small,height:H,lineHeight:"20px",paddingInline:u.Spacing.Medium,paddingRight:u.Spacing.Micro,paddingBlock:(0,u.important)(u.Spacing.Micro),minWidth:"96px",maxWidth:"176px",backgroundColor:u.StandardColors.ColorTransparent,$nest:{"&:hover":{backgroundColor:u.StandardColors.ColorLightGray20,$nest:{".edit-button":{visibility:"visible"}}},"&.decreased-width":{maxWidth:"144px"},"&.selected":{backgroundColor:(0,u.important)(u.StandardColors.ColorViolet10)},".text":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",$nest:{"&.selected":{color:u.StandardColors.ColorDarkGray90}}}}}),editButton:(0,o.style)({visibility:"hidden",display:"flex",alignItems:"center",justifyContent:"center",height:u.Spacing.xLarge,width:u.Spacing.xLarge,borderRadius:u.Spacing.Micro/2,padding:u.Spacing.Small,$nest:{"&:hover":{backgroundColor:(0,u.hexToRgb)(u.StandardColors.ColorDarkGray90,.12)},"&:active":{backgroundColor:(0,u.hexToRgb)(u.StandardColors.ColorDarkGray90,.2)}}}),editIcon:(0,o.style)({display:"flex",alignItems:"center",maxHeight:u.Spacing.Large,maxWidth:u.Spacing.Large})};function hp(e){let{clearInvalidWebsiteId:t,designerSettings:n,invalidWebsiteId:o,isMobileDevice:s,noWebsites:i,websiteSettings:l}=(0,j.Hb)(),{isActive:c,setSpinner:p}=(0,h.p6)(),[m,u]=(0,r.useState)("Default"),{newWebsiteCreatedParam:g,clearNewWebsiteCreatedParam:y,newInviteAcceptedParam:C,clearNewInviteAcceptedParam:f}=(0,ek.b)(),{isLoggedIn:S,isLoggingOut:v}=(0,x.uM)(),{userHasEditAccess:b}=(0,z.YI)(),{showProperties:M}=n,{ref:P,height:N}=function(){let[e,t]=(0,r.useState)(null),[n,a]=(0,r.useState)();return(0,r.useLayoutEffect)(()=>
1{if(!e)return;let t=()=>{let t=e.offsetHeight;a(t>0?t:void 0)};if(t(),"undefined"==typeof ResizeObserver)return;let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[e]),{ref:t,height:n}}();return((0,r.useEffect)(()=>{let e="Default";i&&S&&!v?(p(!1),e="NoWebsites"):!i||S||v||(p(!1),e="Login"),e!==m&&u(e)},[i,S,v]),"NoWebsites"===m)?(0,a.jsx)(eE,{}):"Login"===m?(0,a.jsx)(eR,{}):(0,a.jsxs)(w.A,{className:"".concat(d.ContainerStyles.NoSpacing," ").concat(d.ContainerStyles.Fill," ").concat(d.ContainerStyles.Vertical," overflow-x-hidden position-relative"),"data-sentry-element":"Container","data-sentry-component":"DesignerLayout","data-sentry-source-file":"DesignerLayout.tsx",children:[g&&!c&&(s?(0,a.jsx)(ej,{onConfirm:()=>y()}):(0,a.jsx)(eb,{onConfirm:()=>y()})),C&&!c&&(s?(0,a.jsx)(ev,{onConfirm:()=>f()}):(0,a.jsx)(ef,{onConfirm:()=>f()})),o&&(0,a.jsx)(sQ,{onClose:t}),(0,a.jsxs)("div",{ref:P,className:d.ContainerStyles.NoSpacing,children:[(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DesignerLayout.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"DesignerLayout.tsx",children:(0,a.jsx)(hs,{"data-sentry-element":"DesignerToolbar","data-sentry-source-file":"DesignerLayout.tsx"})})}),(0,a.jsx)(L.A,{"data-sentry-element":"Row","data-sentry-source-file":"DesignerLayout.tsx",children:(0,a.jsx)(k.A,{"data-sentry-element":"Col","data-sentry-source-file":"DesignerLayout.tsx",children:(0,a.jsx)(hi,{"data-sentry-element":"MultiPageToolbar","data-sentry-source-file":"DesignerLayout.tsx"})})})]}),s&&(0,a.jsx)(L.A,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(hm,{})})}),(0,a.jsx)(L.A,{className:"".concat(d.ContainerStyles.Flex," ").concat(d.ContainerStyles.Fill),"data-sentry-element":"Row","data-sentry-source-file":"DesignerLayout.tsx",children:(0,a.jsx)(k.A,{className:"".concat(d.ContainerStyles.Flex," ").concat(d.ContainerStyles.Fill),"data-sentry-element":"Col","data-sentry-source-file":"DesignerLayout.tsx",children:(0,a.jsxs)(ep,{rightClassname:d.ContainerStyles.Flex,rowClassname:"align-items-start","data-sentry-element":"TwoColumnLayout","data-sentry-source-file":"DesignerLayout.tsx",children:[(0,a.jsx)(ep.LeftContent,{id:j.Pb,className:hu.leftContent,style:void 0!==N?{height:"calc(100vh - ".concat(N,"px)")}:void 0,"data-sentry-element":"TwoColumnLayout.LeftContent","data-sentry-source-file":"DesignerLayout.tsx",children:e.children}),(0,a.jsx)(ep.RightContent,{className:"".concat(hu.rightColumn," ").concat(M?"show":""),"data-sentry-element":"TwoColumnLayout.RightContent","data-sentry-source-file":"DesignerLayout.tsx",children:(0,a.jsx)(xW,{headerHeight:N,"data-sentry-element":"DesignerPropertiesPanel","data-sentry-source-file":"DesignerLayout.tsx"})})]})})}),b&&(0,a.jsx)("div",{className:"".concat(hu.quickStart," ").concat(l&&l.pages&&l.pages.length>1?"multi-page":""),children:(0,a.jsx)(sz,{})})]})}function hm(){let{analytics:e}=(0,eL.S)(),t=c.D.views.designer.designerSurface;return(0,r.useEffect)(()=>{(0,ed.$s)(e,ew.o.designer.designerSurface.mobilePreviewTag)},[]),(0,a.jsx)("div",{className:hu.mobilePreviewLabelContainer,"data-sentry-component":"MobilePreviewLabel","data-sentry-source-file":"DesignerLayout.tsx",children:t.mobilePreview})}let hu={leftContent:(0,o.style)({display:"flex",flex:1,backgroundColor:d.StandardColors.ColorLightGray80,overflowY:"auto",height:"100vh"}),mobilePreviewLabelContainer:(0,o.style)({display:"flex",alignItems:"center",paddingInline:d.Spacing.xLarge,paddingBlock:d.Spacing.xSmall+d.Spacing.Micro,position:"fixed",top:R,backgroundColor:d.StandardColors.ColorWhite,width:"100%",height:d.Spacing.xxxLarge,color:d.StandardColors.ColorDarkGray05,boxShadow:d.BoxShadowStyles.InnerBevelBottom}),quickStart:(0,o.style)({position:"absolute",left:2*d.Spacing.Large,bottom:2*d.Spacing.xxLarge+d.Spacing.xLarge,$nest:{"&.multi-page":{bottom:4*d.Spacing.xxLarge+d.Spacing.Micro}}}),rightColumn:(0,o.style)({display:"flex",position:"relative",flexGrow:0,borderTopStyle:"solid",borderTopWidth:1,borderTopColor:d.Colors.Border,borderLeftStyle:"solid",borderLeftWidth:1,borderLeftColor:d.Colors.Border,width:0,opacity:0,transition:"opacity 200ms ease-in-out, width 200ms ease-in",$nest:{"&.show":{opacity:1,width:390}}})};function hg(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(b,{"data-sentry-element":"TOSGate","data-sentry-source-file":"DesignerPageContent.tsx",children:(0,a.jsx)(K.tE,{"data-sentry-element":"ToastProvider","data-sentry-source-file":"DesignerPageContent.tsx",children:(0,a.jsx)(j.fL,{"data-sentry-element":"DesignerProvider","data-sentry-source-file":"DesignerPageContent.tsx",children:(0,a.jsx)(hp,{"data-sentry-element":"DesignerLayout","data-sentry-source-file":"DesignerPageContent.tsx",children:(0,a.jsx)(el,{"data-sentry-element":"DesignerSurface","data-sentry-source-file":"DesignerPageContent.tsx"})})})})})})}function hy(){let e=c.D.views.designer,[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{n((0,m.F)())},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{"data-sentry-element":"Head","data-sentry-source-file":"[[...websiteId]].tsx",children:[(0,a.jsx)("meta",{property:"og:title",content:e.title,"data-sentry-element":"meta","data-sentry-source-file":"[[...websiteId]].tsx"}),(0,a.jsx)("meta",{name:"twitter:title",content:e.title,"data-sentry-element":"meta","data-sentry-source-file":"[[...websiteId]].tsx"}),(0,a.jsx)("title",{children:e.title}),(0,a.jsx)("style",{id:"solo-typestyle-target",children:p.n.getStyles()})]}),(0,a.jsx)(l.J,{scrollY:!1,scrollX:!t,"data-sentry-element":"MainContainer","data-sentry-source-file":"[[...websiteId]].tsx",children:(0,a.jsx)(hg,{"data-sentry-element":"DesignerPageContent","data-sentry-source-file":"[[...websiteId]].tsx"})})]})}(0,o.cssRule)("input[type=text], input[type=email], input[type=tel], textarea",{paddingBlock:d.Spacing.Small-1,paddingInline:d.Spacing.Medium-2})},55676:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var a=n(2183);function o(){return(0,a.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"RefreshSmall","data-sentry-source-file":"RefreshSmall.tsx",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3243 4.63892C9.50187 2.81648 6.5471 2.81648 4.72465 4.63892C3.94383 5.41975 3.49811 6.40669 3.38603 7.42464C3.34573 7.79062 3.01638 8.05464 2.6504 8.01434C2.28442 7.97405 2.02041 7.6447 2.0607 7.27872C2.20477 5.97028 2.77897 4.69898 3.78184 3.69611C6.12499 1.35297 9.92398 1.35297 12.2671 3.69611C12.4938 3.92281 12.6989 4.16349 12.8821 4.41551C13.0986 4.71332 13.0327 5.13025 12.7348 5.34675C12.437 5.56325 12.0201 5.49734 11.8036 5.19953C11.6612 5.0037 11.5015 4.81614 11.3243 4.63892Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"RefreshSmall.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.84676 11.3607C6.66921 13.1831 9.62398 13.1831 11.4464 11.3607C12.2272 10.5
1799 12.673 9.59293 12.785 8.57497C12.8253 8.209 13.1547 7.94498 13.5207 7.98528C13.8867 8.02557 14.1507 8.35492 14.1104 8.7209C13.9663 10.0293 13.3921 11.3006 12.3892 12.3035C10.0461 14.6466 6.2471 14.6466 3.90395 12.3035C3.67726 12.0768 3.47222 11.8361 3.28901 11.5841C3.07251 11.2863 3.13842 10.8694 3.43623 10.6529C3.73404 10.4364 4.15098 10.5023 4.36748 10.8001C4.50984 10.9959 4.66955 11.1835 4.84676 11.3607Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"RefreshSmall.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7385 1.61523C13.1067 1.61523 13.4052 1.91371 13.4052 2.2819V5.11033C13.4052 5.47852 13.1067 5.77699 12.7385 5.77699L9.9101 5.77699C9.54191 5.77699 9.24344 5.47852 9.24344 5.11033C9.24344 4.74214 9.54191 4.44366 9.9101 4.44366L12.0719 4.44366V2.2819C12.0719 1.91371 12.3703 1.61523 12.7385 1.61523Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"RefreshSmall.tsx"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.80553 10.7672C6.80553 10.399 6.50706 10.1005 6.13887 10.1005H3.31044C2.94225 10.1005 2.64377 10.399 2.64377 10.7672L2.64377 13.5956C2.64377 13.9638 2.94225 14.2623 3.31044 14.2623C3.67863 14.2623 3.97711 13.9638 3.97711 13.5956L3.97711 11.4338H6.13887C6.50706 11.4338 6.80553 11.1354 6.80553 10.7672Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"RefreshSmall.tsx"})]})}},75243:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var a=n(2183);function o(){return(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-sentry-element":"svg","data-sentry-component":"ExternalLink","data-sentry-source-file":"ExternalLink.tsx",children:(0,a.jsx)("path",{d:"M8.75098 4.16797C9.21121 4.16797 9.58398 4.54074 9.58398 5.00098C9.58398 5.46121 9.21121 5.83398 8.75098 5.83398H4.16797C3.70773 5.83398 3.33398 6.20773 3.33398 6.66797V15.834C3.33398 16.2942 3.70773 16.668 4.16797 16.668H13.334C13.7942 16.668 14.168 16.2942 14.168 15.834V11.251C14.168 10.7907 14.5407 10.418 15.001 10.418C15.4612 10.418 15.834 10.7907 15.834 11.251V15.834C15.834 17.2147 14.7147 18.334 13.334 18.334H4.16797C2.78726 18.334 1.66797 17.2147 1.66797 15.834V6.66797C1.66797 5.28726 2.78726 4.16797 4.16797 4.16797H8.75098ZM17.501 1.66797C17.9612 1.66797 18.334 2.04074 18.334 2.50098V7.08398C18.334 7.54422 17.9612 7.91797 17.501 7.91797C17.0407 7.91797 16.668 7.54422 16.668 7.08398V4.5127L11.4238 9.75684C11.0984 10.0823 10.5706 10.0823 10.2451 9.75684C9.91968 9.4314 9.91968 8.90356 10.2451 8.57812L15.4893 3.33398H12.918C12.4577 3.33398 12.084 2.96121 12.084 2.50098C12.084 2.04074 12.4577 1.66797 12.918 1.66797H17.501Z",fill:"currentColor","data-sentry-element":"path","data-sentry-source-file":"ExternalLink.tsx"})})}},85515:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var a=function(e){return e.INVITE_LIMIT_EXCEEDED="User has reached the maximum limit of websites allowed.",e.INVITE_EXPIRED="Invite has expired.",e.INVALID_USER="Unauthorized access.",e.INVITE_NOT_FOUND="Invite not found.",e}({})},96878:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var a=n(2183),o=n(34924),r=n(75780);function s(e){let{icon:t,children:n,className:o,disabled:s,...l}=e;return(0,a.jsx)("div",{className:"".concat(r.ButtonStyles.LinkButtonPrimary," ").concat(o," ").concat(s?i.disabled:""),...l,"data-sentry-component":"ImageLink","data-sentry-source-file":"ImageLink.tsx",children:(0,a.jsxs)("div",{className:i.link,children:[(0,a.jsx)("div",{className:"icon",children:t})," ",(0,a.jsx)("span",{children:n})]})})}let i={disabled:(0,o.style)({pointerEvents:"none",opacity:.4}),link:(0,o.style)({display:"flex",alignItems:"center",paddingBlock:r.Spacing.xSmall,height:r.Spacing.xxLarge,$nest:{span:{display:"flex"},".icon":{display:"flex",alignItems:"center",justifyContent:"center",height:r.Spacing.Large+r.Spacing.Micro,width:r.Spacing.Large+r.Spacing.Micro,marginRight:r.Spacing.Small}}})}}},e=>{e.O(0,[8912,4077,78,2982,2777,4202,7004,124,5847,2061,6461,7164,341,8819,3378,8552,3833,4825,8018,7190,2608,636,6593,8792],()=>e(e.s=33126)),_N_E=e.O()}]);

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.