1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{541352:function(e,t,a){a.d(t,{Z:function(){return i}});var n=a(491373);/** 2 * @license lucide-react v0.468.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */let i=(0,n.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},169672:function(e,t,a){a.d(t,{Z:function(){return InlineImageContent}});var n=a(785893),i=a(163468),o=a(218889),l=a(534379),s=a(905918);function InlineImageContent(e){let{props:t,dimension:a,metakey:r="image",inline:c=!0,defaultImg:m,showDefaultImg:d,contactFormSync:u=!1,enableAspectRatio:g=!1,noOverlay:p=!1,enableMobileCrop:x=!1,mobileDimension:b,mobileMetaKey:h="image-mobile"}=e,{get:v,set:f,getOther:y,isDisabled:N,setOther:j,syncMetas:C}=(0,s.Q$)(t),handleImageSave=(e,t)=>{"true"===y("contactImgSync","websiteHeader")?C({mainComponentName:"contactForm",innerComponentName:"contactFormInnerMeta",items:[{key:e,value:t}],allowAdd:!0}):f(e,t).save()};return(0,n.jsxs)(i.fC,{inline:c,props:t,showDefaultImg:d,children:[(0,n.jsx)(i.II,{syncMetas:"true"===y("contactImgSync","websiteHeader")?C:void 0,name:r,dimension:a,defaultImg:m,enableAspectRatio:g,enableMobileCrop:x,mobileDimension:b,mobileMetaKey:h,mobileSrc:x?v(h):void 0,onMobileImageUpdate:x?e=>handleImageSave(h,e):void 0,onMobileImageClear:x?()=>{v(h)&&f(h,"").save()}:void 0}),(0,n.jsx)(i.Fh,{name:"".concat(r,"-alt-text"),showDefaultImg:d}),u&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mt-6 flex items-center gap-2",children:[(0,n.jsx)(o.Z,{disabled:N,emitToggle:e=>{let t="overlayToggle",a=p?"true":"false";if(void 0===v(t)){f(t,a,[{key:t,value:a}]).save(),"true"===y("contactImgSync","websiteHeader")&&C({mainComponentName:"contactForm",items:[{key:"overlayToggle",value:a}],allowAdd:!0});return}let n=e?"true":"false";f(t,n).save(),"true"===y("contactImgSync","websiteHeader")&&C({mainComponentName:"contactForm",items:[{key:"overlayToggle",value:n}],allowAdd:!0})},size:"sm",isToggle:"true"===v("overlayToggle")||!p&&void 0===v("overlayToggle")}),(0,n.jsx)("p",{className:"text-sm leading-4 text-darkGray-200",children:"Use media overlay effect"})]}),(0,n.jsx)(l.wW,{inline:!0,isDisabled:N,image:v(r),mobileImage:x?v(h):void 0,overlayToggle:v("overlayToggle"),getOther:y,setOther:j,syncMetas:C})]})]})}},534379:function(e,t,a){a.d(t,{aw:function(){return ContactImgSyncPrompt},wW:function(){return ContactImgSyncButton}});var n=a(785893),i=a(864529),o=a(218889),l=a(376299),s=a(163106);let ContactImgSyncPrompt=()=>{let{isOpen:e,setIsOpen:t,onCancel:a,onConfirm:i}=r();return(0,n.jsx)(s.fC,{overrideContentClass:!0,disableOutsideClickClose:!0,trigger:null,overlayClass:"pt-[10.0625rem] flex justify-center items-start !z-[55]",open:e,children:(0,n.jsxs)("div",{className:"flex w-[37.5rem] flex-col rounded-md bg-white px-10 py-[3.5rem] max-[800px]:w-[31.25rem]",children:[(0,n.jsx)("p",{className:"text-center font-openSans text-2xl font-semibold text-neutral-700",children:"Apply this image to all contact forms?"}),(0,n.jsx)("p",{className:"mt-6 text-center font-openSans text-[1rem] leading-[1.5rem] text-access-neutrals-500",children:"This will replace the image on every contact form and keep all future edits (including deleti
6ons) synced. This action cannot be undone."}),(0,n.jsxs)("div",{className:"mt-9 flex justify-center space-x-[3.5rem]",children:[(0,n.jsx)(l.ZP,{className:"h-[3rem] w-[8.375rem] rounded-[0.3125rem] border-[0.09375rem] border-access-primary-500 bg-white p-0 font-openSans text-lg font-semibold text-access-primary-500 transition-colors hover:bg-access-primary-500 hover:text-white",onClick:()=>{a&&a(),t(!1)},children:"Cancel"}),(0,n.jsx)(l.ZP,{className:"disabled:text-[#ADADAD]' h-[3rem] w-[8.375rem] rounded-[0.3125rem] bg-access-primary-500 p-0 font-openSans text-lg font-semibold text-white transition-colors hover:bg-access-secondary-500 disabled:bg-access-neutrals-100",onClick:()=>{i&&i(),t(!1)},children:"Apply"})]})]})})},ContactImgSyncButton=e=>{let{getOther:t,image:a,mobileImage:i,overlayToggle:l,inline:s=!1,isDisabled:c,setOther:m,syncMetas:d,wrapperClass:u}=e,{setIsOpen:g,setCallbacks:p}=r();return(0,n.jsxs)("div",{className:"".concat(s?"mt-2 ":"-mt-2 mb-6 ").concat(u," flex items-center gap-2"),children:[(0,n.jsx)(o.Z,{disabled:c,toggleIntercept:e=>new Promise(t=>{if(!e)return t(!0);g(!0),p({onConfirm:()=>{d({mainComponentName:"contactForm",innerComponentName:"contactFormInnerMeta",items:[{key:"image",value:a},{key:"overlayToggle",value:String(null!=l?l:"true")},...void 0!==i?[{key:"image-mobile",value:i}]:[]],allowAdd:!0}),t(!0)},onCancel:()=>t(!1)})}),emitToggle:e=>{m("contactImgSync",e.toString(),"websiteHeader",void 0,!0).save()},size:"sm",isToggle:"true"===t("contactImgSync","websiteHeader")}),(0,n.jsx)("p",{className:"text-darkGray-200",children:"Apply image to all contact forms"})]})},r=(0,i.ZP)()(e=>({isOpen:!1,setIsOpen:t=>e({isOpen:t}),onConfirm:void 0,onCancel:void 0,setCallbacks:t=>{let{onConfirm:a,onCancel:n}=t;return e({onConfirm:a,onCancel:n})}}))},685338:function(e,t,a){a.r(t),a.d(t,{autoToggleOffKeys:function(){return c}});var n=a(785893),i=a(667294),o=a(532068),l=a(60346),s=a(905918),r=a(568665);let c=["rich-sectionName","rich-description","image"];t.default=e=>{var t,a;let{get:c,set:m,save:d,getPages:u,getCurrentSections:g,isColorTheme:p,getColorValue:x}=(0,s.Q$)(e),{setDependecyKeys:b}=(0,r.FN)(),h=null!==(t=null==e?void 0:e.isDisabled)&&void 0!==t&&t,_save=()=>{d()};i.useEffect(()=>{b(["image","description",[{key:"sectionName"}]])},[]);let v=c("description");return(0,n.jsxs)("div",{className:"flex flex-col pb-8 text-darkGray-200",children:[(0,n.jsx)(l.oi,{richText:!0,richTextId:"aboutteam-title",richTextSwatch:"QUANTUM",richTextToolsEnabled:["underline","align","list","link","color"],richTextDefaultFormat:{color:p("default")?"rgb(11, 14, 59)":x("textTitleDark")},pages:u(),sections:g(),label:"Title",disabled:h,name:"sectionName",value:c("sectionName")||"",wrapperClassName:"pb-[0.938rem]",inputClassName:"text-sm !pl-0",maxLength:50,placeholder:"Enter title",onChange:e=>m("sectionName",e),onBlur:()=>_save()}),(0,n.jsx)(l.oi,{richText:!0,richTextId:"aboutteam-description",richTextSwatch:"QUANTUM",richTextDefaultFormat:{color:p("default")?"rgb(48, 48, 48)":x("textBodyDark")},pages:u(),sections:g(),disabled:h,value:c("description")||"",name:"description",label:"Description",placeholder:"Enter description",onChange:e=>{v!==e&&m("description",e)},onBlur:()=>_save()}),(0,n.jsx)("div",{className:"my-4 w-full border-b border-darkGray-200 pb-4",children:(0,n.jsx)("p",{className:"font-semibold",children:"Image"})}),(0,n.jsx)(o.k,{disabled:h,label:"Image",componentId:e.component.id,metaPageType:"main",metaKey:"image",src:c("image"),altText:null!==(a=c("image-alt-text"))&&void 0!==a?a:"",updateFn:(e,t)=>t,dimension:{width:668,height:507},enableAspectRatio:!0,onRemove:()=>{m("image","").save()},onAltTextChange:e=>{m("image-alt-text",e,[{key:"image-alt-text",value:e}],!0).save()}})]})}},372930:function(e,t,a){a.r(t);var n=a(785893),i=a(667294),o=a(386010),l=a(611541),s=a(49059),r=a.n(s),c=a(905918),m=a(685338),d=a(176080),u=a(871159),g=a(169672);t.default=e=>{var t,a,s,p,x,b,h;let{component:v,get:f,toggleOffWhenFieldsAreEmpty:y,isHidden:N,set:j,save:C,getCurrentSections:T,getPages:w,isDefaultTheme:I,getColorValue:k,isColorTheme:Z,clearRTE:S}=(0,c.Q$)(e),{activePopOverID:A}=(0,c.pN)(),[D,F]=i.useState(!1),_="builder"===e.mode,O=!!f("image")||D,M=!S(f("description"))&&!S(f("sectionName"))&&!["aboutteam-title","aboutteam-description"].includes(null!=A?A:"")&&f("image"),P=S(f("sectionName"))||S(f("description"))||["aboutteam-title","aboutteam-description"].includes(null!=A?A:"");return!v.options.toggled||N()||(null===(t=y(m.autoToggleOffKeys,f))||void 0===t?void 0:t.hidden)?(0,n.jsx)(n.Fragment,{}):(0,n.jsx)("section",{className:(0,o.Z)("relative","flex",O?"justify-end":"justify-center"),children:(0,n.jsx)("div",{className:(0,o.Z)("quantum-container",r()["about-team--wrapper"],O&&r()["right-align"]),children:(0,n.jsxs)("div",{className:(0,o.Z)(r()["about-team--content"],M&&"!ml-0",{"flex !items-center":!!(null===(a=decodeURIComponent(null!==(x=f("image"))&&void 0!==x?x:"").match(/currentAspectRatio=([^&]+)/))||void 0===a?void 0:a[1])}),children:[P&&(0,n.jsxs)("div",{className:r()["about-team--description"],children:[(S(f("sectionName"))||"aboutteam-title"===A)&&(0,n.jsx)("h2",{className:(0,o.Z)(r()["about-team--title"],{"text-quantumTemplate-blue":Z("default"),"text-colorPalette-textTitleDark":!Z("default")}),children:(0,n.jsx)(d.ZP,{id:"aboutteam-title",text:f("sectionName"),disableLinks:_,editable:_,outlineTitle:"Title",charLimit:50,toolbar:{defaultFormat:{color:I?"rgb(11, 14, 59)":k("textTitleDark")},toolsEnabled:["underline","align","list","link","color"],swatch:"QUANTUM",sections:T(),pages:w()},onChange:e=>j("sectionName",e),onBlur:()=>C()})}),(S(f("description"))||"aboutteam-description"===A)&&(0,n.jsx)("p",{className:(0,o.Z)(r()["about-team--description__content"],{"text-darkGray-500":Z("default"),"text-colorPalette-textBodyDark":!Z("default")}),children:(0,n.jsx)(d.ZP,{id:"aboutteam-description",text:f("description"),normalFontWeight:300,disableLinks:_,editable:_,outlineTitle:"Description",toolbar:{defaultFormat:{color:I?"rgb(48, 48, 48)":k("textBodyDark")},swatch:"QUANTUM",sections:T(),pages:w()},onChange:e=>j("description",e),onBlur:()=>C()})})]}),O&&(0,n.jsxs)(u.Z.Root,{open:D,onOpenChange:_?F:()=>null,children:[(0,n.jsx)(u.Z.Trigger,{isBuilder:_,tagName:"Image",tagClassName:"left-[-3px] top-[-23px]",triggerClassName:(0,o.Z)(r()["about-team--image"],"!p-0",M&&"m-auto",{"!h-max":!!(null===(s=decodeURIComponent(null!==(b=f("image"))&&void 0!==b?b:"").match(/currentAspectRatio=([^&]+)/))||void 0===s?void 0:s[1])}),children:(0,n.jsx)("div",{className:(0,o.Z)(r()["about-team--image"],!f("image")&&"invisible",M&&"m-auto",{"!h-max !pb-0":!!(null===(p=decodeURIComponent(null!==(h=f("image"))&&void 0!==h?h:"").match(/currentAspectRatio=([^&]+)/))||void 0===p?void 0:p[1])}),children:(0,n.jsx)(l.ZP,{fill:!0,alt:f("image-alt-text")||"",className:"!max-w-none object-cover",src:f("image")||""})})}),(0,n.jsx)(u.Z.Content,{side:"right",sideOffset:10,className:"!w-[270px]",children:(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)(u.Z.Close,{}),(0,n.jsx)("div",{className:"mb-[1rem] mt-[0.55rem] text-sm font-semibold leading-4 text-[#262626]",children:"Image"}),(0,n.jsx)(g.Z,{props:e,dimension:{width:668,height:507},enableAspectRatio:!0})]})})]})]})})})}},337340:function(e,t,a){a.d(t,{_:function(){return _tagged_template_literal}});function _tagged_template_literal(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}}}]);
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.