PageSourceSearch

https://www.avendus.com/_next/static/chunks/8477-d557079ef3acd357.js

js avendus.com collected 2026-10-02 05:03:05 UTC 7,971 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8477],{2177:e=>{e.exports={MessageBox:"MessageBox_MessageBox__sPxPT",title:"MessageBox_title__I9fc9",desp:"MessageBox_desp__Ai4G7"}},18195:(e,t,n)=>{"use strict";n.d(t,{Oo:()=>b,default:()=>p,qf:()=>v});var i=n(95155),a=n(47650),o=n(12115),l=n(5772),r=n(90482),s=n.n(r),c=n(84641);let d="avendus-modal-openchange",u='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',m=new Map;function f(e){return e?.style?.visibility==="visible"&&e?.style?.opacity==="1"}function y(e){"u"<typeof document||e&&e.parentElement===document.body&&Array.from(document.body.children).forEach(t=>{t!==e&&(t.setAttribute("inert",""),t.setAttribute("aria-hidden","true"))})}function p({children:e,id:t,appendToBody:n=!0,onClose:r,ariaLabel:m,ariaLabelledBy:v,closeButtonAriaLabel:h,defaultOpen:g}){let[_,w]=(0,o.useState)(!1),[N,E]=(0,o.useState)(!!g),x=(0,o.useRef)(null);(0,o.useEffect)(()=>(w(!0),()=>w(!1)),[]),(0,o.useEffect)(()=>{if(!_||!g)return;let e=x.current;e&&(e.style.visibility="visible",e.style.opacity="1",e.style.pointerEvents="all",E(!0),document.body.style.overflow="hidden",y(e))},[_,g]),(0,o.useEffect)(()=>{if(!_)return;let e=x.current;if(!e)return;let t=()=>{E("visible"===e.style.visibility&&"1"===e.style.opacity)};t();let n=t=>{t.target===e&&"boolean"==typeof t.detail?.open&&E(t.detail.open)};e.addEventListener(d,n);let i=new MutationObserver(t);return i.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{e.removeEventListener(d,n),i.disconnect()}},[_]),(0,o.useEffect)(()=>{if(!N||!x.current||!f(x.current))return;let e=()=>{let e=x.current;if(!e||!f(e))return;let t=e.querySelector("button.closeBtn")??e.querySelector(u);t&&"function"==typeof t.focus&&t.focus()};requestAnimationFrame(()=>{requestAnimationFrame(()=>{e(),setTimeout(e,0)})})},[N]);let A=(0,o.useCallback)(e=>{let n=x.current;if(n&&f(n)){if("Escape"===e.key){e.stopPropagation(),b(t,r);return}if("Tab"===e.key){let t=Array.from(n.querySelectorAll(u));if(0===t.length)return;let i=document.activeElement;if(!n.contains(i)){e.preventDefault(),t[0].focus();return}let a=t[0],o=t[t.length-1];e.shiftKey&&i===a?(e.preventDefault(),o.focus()):e.shiftKey||i!==o||(e.preventDefault(),a.focus())}}},[t,r]);(0,o.useEffect)(()=>(document.addEventListener("keydown",A),()=>document.removeEventListener("keydown",A)),[A]),(0,o.useEffect)(()=>{if(!N||!x.current)return;let e=e=>{let t=x.current;if(!t||!f(t))return;if(t.contains(e.target)){let n=e.target;n!==t&&"function"==typeof n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"});return}let n=t.querySelector(u);n&&n.focus()};return document.addEventListener("focusin",e,!0),()=>document.removeEventListener("focusin",e,!0)},[N]);let k="string"==typeof m&&m.trim()?m.trim():"",S=("string"==typeof h&&h.trim()?h.trim():"")||(k?`Close ${k} dialog`:"Close dialog"),M=(0,i.jsxs)("div",{"data-lenis-prevent":!0,className:`modal ${s().modal}`,id:t||"modal",ref:x,role:"dialog","aria-modal":!!N||void 0,"aria-hidden":!N||void 0,inert:!N||void 0,tabIndex:N?-1:void 0,"aria-labelledby":v||void 0,"aria-label":v?void 0:"string"==typeof m&&m.trim()?m.trim():m||"Dialog",children:[(0,i.jsx)("div",{onClick:()=>b(t,r),className:s().overlay}),(0,i.jsx)("div",{className:`${s().content_wrap} content_wrap`,children:(0,i.jsxs)("div",{className:`${s().content} content`,children:[(0,i.jsx)("button",{type:"button",className:`${s().closeBtn} closeBtn next_image`,onClick:()=>b(t,r),"aria-label":S,children:(0,i.jsx)(l.default,{loading:"lazy",width:30,height:30,src:c.A,alt:"","aria-hidden":"true"})}),(0,i.jsx)("div",{className:`${s().contentInner} contentInner`,children:e})]})})]});return n&&_&&"u">typeof document?(0,a.createPortal)(M,document.body):M}let v=(e,t)=>{let n=t??document.activeElement;n&&n!==document.body&&"function"==typeof n.focus&&1===n.nodeType&&m.set(e??"default",n);let i=document.querySelector(e?`#${e}`:".modal");i&&(i.style.visibility="visible",i.style.opacity="1",i.style.pointerEvents="all",i.removeAttribute("aria-hidden"),i.removeAttribute("inert"),i.dispatchEvent(new CustomEvent(d,{detail:{open:!0}})),document.body.style.overflow="hidden",y(i))},b=(e,t)=>{let n=e??"default",i=document.querySelector(e?`#${e}`:".modal");if(!i)return;"u">
1typeof document&&Array.from(document.body.children).forEach(e=>{e.removeAttribute("inert"),e.removeAttribute("aria-hidden")}),i.dispatchEvent(new CustomEvent(d,{detail:{open:!1}})),i.style.opacity="0",i.style.pointerEvents="none",i.style.visibility="hidden",i.setAttribute("aria-hidden","true"),i.setAttribute("inert",""),document.body.style.overflow="auto",t&&t();let a=m.get(n);m.delete(n),a&&"function"==typeof a.focus&&queueMicrotask(()=>{requestAnimationFrame(()=>{try{a.focus({preventScroll:!1})}catch{}})})}},44374:(e,t,n)=>{"use strict";n.d(t,{MG:()=>o,Mt:()=>i,jF:()=>a});let i="Email address is required. Please enter your email address.",a="Please enter a valid email address.",o="Dismiss"},55787:(e,t,n)=>{"use strict";n.d(t,{g:()=>l}),n(52082),n(41463);let i=async e=>await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:{...e}})});var a=n(60319);let o=async e=>await fetch("/api/microsoft-dynamic",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),l=({type:e,onSuccess:t})=>({onSubmit:async(n,l,{setLoading:r,setMessage:s,reset:c,resetCaptcha:d}={})=>{try{r?.(!0);let s={...n};delete s.recaptcha;let u=n?.receiveUpdatesOn||[],m=u.includes("All of the above")?["New at Avendus","Insights","Transactions"]:u,f=async({fullName:e,email:t,designation:n,companyName:i,receiveUpdatesOn:l})=>{let r=l.includes("All of the above")?["New at Avendus","Insights","Transactions"]:l,[s,c]=await Promise.all([(0,a.VQ)({fullname:e,email:t,designation:n,companyName:i,receiveUpdatesOn:l.toString(),url:window.location.href}),o({FullName:e,Designation:n,CompanyName:i,EmailId:t,ReceiveRegularUpdates:r,WebsiteInteractionType:"Subscribe"})]);if(!s.ok||!c.ok)throw Error("Subscribe failed")};if("subscribe"===e&&await f({fullName:n.fullname,email:n.email,designation:n.designation,companyName:n.companyName,receiveUpdatesOn:u}),"contact"===e){u.length&&await f({fullName:n.fullName,email:n.email,designation:n.designation,companyName:n.companyName,receiveUpdatesOn:u});let[e,t]=await Promise.all([i({...s,receiveUpdatesOn:u.join(", ")}),o({FullName:n.fullName,Designation:n.designation,CompanyName:n.companyName,EmailId:n.email,Phone:n.phone,Location:n.location,SelectBusiness:n.business,SelectVertical:n.vertical,Message:n.message,ReceiveRegularUpdates:m,WebsiteInteractionType:"Contact Us"})]);if(!e.ok||!t.ok)throw Error("Contact submission failed")}if("download"===e){u.length&&await f({fullName:n.fullName,email:n.email,designation:n.designation,companyName:n.companyName,receiveUpdatesOn:u});let[e,t]=await Promise.all([(0,a.f$)({...s,receiveUpdatesOn:u.toString(),url:window.location.href}),o({FullName:n.fullName,Designation:n.designation,CompanyName:n.companyName,EmailId:n.email,ReceiveRegularUpdates:m,WebsiteInteractionType:"Downloads"})]);if(!e.ok||!t.ok)throw Error("Download submission failed")}c?.(),d?.(),t?.(l),r?.(!1)}catch(e){console.error(e),s?.("Something Went Wrong, Please Try Again"),r?.(!1)}}})},60294:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(95155),a=n(2177),o=n.n(a);function l({title:e="Thank You!",desc:t="We will get in touch shortly."}){return(0,i.jsxs)("div",{className:o().MessageBox,role:"status",children:[(0,i.jsx)("h2",{className:`${o().title} section_title`,children:e}),(0,i.jsx)("p",{className:`${o().desp} font_primary text_400 text_md color_secondary`,children:t})]})}},90482:e=>{e.exports={modal:"Modal_modal__LcVdR",content:"Modal_content__nbdok",content_wrap:"Modal_content_wrap__uV63f",overlay:"Modal_overlay__XXiPs",contentInner:"Modal_contentInner__9VUzF",closeBtn:"Modal_closeBtn__VKlQn"}}}]);

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.