PageSourceSearch

https://www.mordorintelligence.com/_next/static/chunks/5830.7ff4532e272f654a.js

js mordorintelligence.com collected 2026-09-24 06:48:11 UTC 16,848 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5830,4631],{7494:function(e,t,o){o.d(t,{Z:function(){return l}});let l=(0,o(33592).Z)("thumbs-up",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]])},85830:function(e,t,o){o.r(t),o.d(t,{default:function(){return N}});var l=o(85893),a=o(89934),n=o(33592);let r=(0,n.Z)("frown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]),s=(0,n.Z)("meh",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"8",x2:"16",y1:"15",y2:"15",key:"1xb1d9"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]),i=(0,n.Z)("smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]),c=(0,n.Z)("laugh",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z",key:"b2q4dd"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);var d=o(7494);let u=(0,n.Z)("thumbs-down",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);var m=o(24163),x=o(31928),y=o(67294),h=o(49883),p=o(17189),v=o(37435),f=o(56497),b=o(59677),g=o(27532),C=o(54631),j=o(71859),N=e=>{var t,o,n,N,w,k,F,_,U,B,M,P,R,Z,E,$,W,z,S,q,D,L,A,H,I,O,T,V,Y,G,K,J,Q;let{open:X,setOpen:ee,onSuccessSubmit:et}=e,eo=(0,p.T)(),[el,ea]=(0,y.useState)(!1),en=(0,y.useRef)(!1),[er,es]=(0,y.useState)(null),{values:ei,errors:ec,handleChange:ed,handleSubmit:eu,reset:em,registerField:ex}=(0,j.g)({initialValues:{name:"",email:"",country:er,phone:"",experience:"",engagement:"",likedMost:"",improvement:"",recommendation:""},validate(e){let t={};return e.name||(t.name="Name is required"),e.email||(t.email="Email is required"),e.phone&&!b.n_.test(e.phone)&&(t.phone="Phone number is invalid"),e.experience||(t.experience="Please rate your experience"),e.engagement||(t.engagement="Please select an option"),e.likedMost||(t.likedMost="This field is required"),e.improvement||(t.improvement="This field is required"),e.recommendation||(t.recommendation="Please select an option"),t}}),ey=async e=>{ea(!0);let t={...e,cta:"submit_feedback",form_type:"feedback_form",is_blog_lead:!1,query_url:"/contact-us",source_url:(0,g.iq)(),url:window.location.pathname};await (0,h.xL)(t,()=>
1{(0,f.y)("feedback_form_submitted"),ea(!1),et(),em()},()=>{(0,f.y)("feedback_form_submission_error"),ea(!1)})},eh=()=>{en.current||((0,f.y)("feedback_form_touched",{trigger_event_name:"request_proposal",url:window.location.href}),en.current=!0)},ep=async()=>{es((await (0,h.mf)()).country)};return(0,y.useEffect)(()=>{ep()},[]),(0,l.jsx)(v.Vq,{open:X,onOpenChange:()=>ee(!1),children:(0,l.jsxs)(v.cZ,{closeButtonClass:"top-6 right-4",className:"dark:[&::-webkit-scrollbar-thumb]:bg-bg-Primary-Blue-950 mt-8 flex max-h-[80%] w-[470px] flex-col items-center overflow-y-scroll bg-Primary-Mordor-Blue-Bg-100 [scrollbar-color:#006FAB_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar-button]:hidden [&::-webkit-scrollbar-thumb:hover]:bg-Primary-Blue-900 [&::-webkit-scrollbar-thumb]:bg-Primary-Blue-950 [&::-webkit-scrollbar]:w-1",children:[(0,l.jsx)("div",{className:"flex w-full justify-between",children:(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("h1",{className:"text-Nuetrals-950 w-full text-left text-Display-Semibold-16",children:(null===(t=eo.countryCodeContactUsForm)||void 0===t?void 0:t["Feedback Form"])||"Feedback Form"}),(0,l.jsx)("p",{className:"text-Body-Regular-12 text-Neutrals-950",children:(null===(o=eo.countryCodeContactUsForm)||void 0===o?void 0:o["We’d love to hear about your experience. Your feedback helps us improve and deliver the best possible service."])||"We’d love to hear about your experience. Your feedback helps us improve and deliver the best possible service."})]})}),(0,l.jsxs)("form",{onSubmit:eu(ey),className:"flex w-full flex-col gap-4",children:[(0,l.jsx)("input",{type:"hidden",value:ei.experience,onChange:ed("experience")}),(0,l.jsx)("input",{type:"hidden",value:ei.recommendation,onChange:ed("recommendation")}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("input",{id:"name",onFocus:eh,type:"text",value:ei.name,onChange:ed("name"),placeholder:(null===(n=eo.countryCodeContactUsForm)||void 0===n?void 0:n.Name)||"Name","aria-label":(null===(N=eo.countryCodeContactUsForm)||void 0===N?void 0:N.Name)||"Name",className:"rounded-md border-[0.5px] border-Neutrals-700 p-4 text-Body-Regular-14 placeholder:text-Neutrals-400"}),ec.name&&(0,l.jsx)("span",{className:"text-Body-Regular-12 text-red-500",children:(null===(w=eo.countryCodeContactUsForm)||void 0===w?void 0:w[ec.name])||ec.name})]}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,l.jsx)("input",{onFocus:eh,type:"email",value:ei.email,onChange:ed("email"),placeholder:(null===(k=eo.countryCodeContactUsForm)||void 0===k?void 0:k["Business Email"])||"Business Email","aria-label":(null===(F=eo.countryCodeContactUsForm)||void 0===F?void 0:F["Business Email"])||"Business Email",className:"rounded-md border-[0.5px] border-Neutrals-700 p-4 text-Body-Regular-14 placeholder:text-Neutrals-400"}),ec.email&&(0,l.jsx)("span",{className:"text-Body-Regular-12 text-red-500",children:(null===(_=eo.countryCodeContactUsForm)||void 0===_?void 0:_[ec.email])||ec.email})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-5",children:[(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[(0,l.jsx)(C.default,{field:ex("country"),id:"country",placeholder:(null===(U=eo.countryCodeContactUsForm)||void 0===U?void 0:U["Country Code"])||"Country Code","aria-label":(null===(B=eo.countryCodeContactUsForm)||void 0===B?void 0:B.Country)||"Country",onFocus:eh,defaultValue:er,customWidth:"md:w-[100%]"}),ec.country&&(0,l.jsx)("span",{className:"text-[12px] text-red-500",children:(null===(M=eo.countryCodeContactUsForm)||void 0===M?void 0:M[ec.country])||ec.country})]}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[(0,l.jsx)("input",{type:"number",value:ei.phone,onChange:ed("phone"),onFocus:eh,onKeyDown:e=>{/^[0-9]$|Backspace|ArrowLeft|ArrowRight|Delete|Tab/.test(e.key)||e.preventDefault()},placeholder:(null===(P=eo.countryCodeContactUsForm)||void 0===P?void 0:P["Phone Number"])||"Phone Number","aria-label":(null===(R=eo.countryCodeContactUsForm)||void 0===R?void 0:R["Phone Number"])||"Phone Number",className:"w-full border-[0.5px] border-Neutrals-500 p-4 text-sm placeholder:text-Body-Regular-14 placeholder:text-Neutrals-400"}),ec.phone&&(0,l.jsx)("span",{className:"text-[12px] text-red-500",children:(null===(Z=eo.countryCodeContactUsForm)||void 0===Z?void 0:Z[ec.phone])||ec.phone})]})]}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("label",{className:"mb-2 text-Body-Medium-14",children:(null===(E=eo.countryCodeContactUsForm)||void 0===E?void 0:E["What best describes your engagement with us?"])||"What best describes your engagement with us?"}),(0,l.jsxs)("div",{className:"relative flex w-full items-center rounded-md border-[0.5px] border-Neutrals-700 bg-white",children:[(0,l.jsxs)("select",{onFocus:eh,value:ex("engagement").value,onChange:e=>ex("engagement").onChange(e.target.value),className:"flex w-full appearance-none rounded-md p-4 text-Body-Regular-14 placeholder:text-Neutrals-400 focus:outline-none",children:[(0,l.jsx)("option",{value:"",children:(null===($=eo.countryCodeContactUsForm)||void 0===$?void 0:$["Select an option"])||"Select an option"}),(0,l.jsx)("option",{value:"Google",children:(null===(W=eo.countryCodeContactUsForm)||void 0===W?void 0:W["Purchased a report"])||"Purchased a report"}),(0,l.jsx)("option",{value:"Downloaded a sample",children:(null===(z=eo.countryCodeContactUsForm)||void 0===z?void 0:z["Downloaded a sample"])||"Downloaded a sample"}),(0,l.jsx)("option",{value:"Interacted with an analyst",children:(null===(S=eo.countryCodeContactUsForm)||void 0===S?void 0:S["Interacted with an analyst"])||"Interacted with an analyst"}),(0,l.jsx)("option",{value:"Browsed only",children:(null===(q=eo.countryCodeContactUsForm)||void 0===q?void 0:q["Browsed only"])||"Browsed only"}),(0,l.jsx)("option",{value:"Other",children:(null===(D=eo.countryCodeContactUsForm)||void 0===D?void 0:D.Other)||"Other"})]}),(0,l.jsx)(a.Z,{className:"absolute right-4 text-neutral-950"})]}),ec.engagement&&(0,l.jsx)("span",{className:"text-Body-Regular-12 text-red-500",children:(null===(L=eo.countryCodeContactUsForm)||void 0===L?void 0:L[ec.engagement])||ec.engagement})]}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("label",{className:"mb-2 text-Body-Medium-14",children:(null===(A=eo.countryCodeContactUsForm)||void 0===A?void 0:A["How would you rate your overall experience?"])||"How would you rate your overall experience?"}),(0,l.jsx)("div",{className:"flex justify-around py-2 sm:justify-start sm:gap-10",children:[{icon:(0,l.jsx)(r,{size:32}),value:"Poor"},{icon:(0,l.jsx)(s,{size:32}),value:"Average"},{icon:(0,l.jsx)(i,{size:32}),value:"Good"},{icon:(0,l.jsx)(c,{size:32}),value:"Excellent"}].map(e=>{var t;let{icon:o,value:a}=e;return(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("button",{type:"button",onClick:()=>ex("experience").onChange(a),className:`transition-transform hover:scale-110 ${ex("experience").value===a?"text-blue-600":"text-gray-400"}`,children:o}),(0,l.jsx)("span",{className:"mt-1 text-xs sm:text-sm",children:(null===(t=eo.countryCodeContactUsForm)||void 0===t?void 0:t[a])||a})]},a)})}),ec.experience&&(0,l.jsx)("span",{className:"text-Body-Regular-12 text-red-500",children:(null===(H=eo.countryCodeContactUsForm)||void 0===H?void 0:H[ec.experience])||ec.experience})]}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("textarea",{onFocus:eh,value:ei.likedMost,onChange:ed("likedMost"),placeholder:(null===(I=eo.countryCodeContactUsForm)||void 0===I?void 0:I["What did you like the most about our service?"])||"What did you like the most about our service?","aria-label":(null===(O=eo.countryCodeContactUsForm)||void 0===O?void 0:O["What did you like the most about our service?"])||"What did you like the most about our service?",className:"resize-y rounded-md border-[0.5px] border-Neutrals-700 p-4 text-Body-Regular-14 placeholder:text-Neutrals-400",rows:3}),ec.likedMost&&(0,l.jsx)("span",{className:"text-Body-Regular-12 text-red-500",children:(null===(T=eo.countryCodeContactUsForm)||void 0===T?void 0:T[ec.likedMost])||ec.likedMost})]}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("textarea",{onFocus:eh,value:ei.improvement,onChange:ed("improvement"),"aria-label":(null===(V=eo.countryCodeContactUsForm)||void 0===V?void 0:V["What can we improve to serve you better?"])||"What can we improve to serve you better?",placeholder:(null===(Y=eo.countryCodeContactUsForm)||void 0===Y?void 0:Y["What can we improve to serve you better?"])||"What can we improve to serve you better?",className:"resize-y rounded-md border-[0.5px] border-Neutrals-700 p-4 text-Body-Regular-14 placeholder:text-Neutrals-400",rows:3}),ec.improvement&&(0,l.jsx)("span",{className:"text-Body-Regular-12 text-red-500",children:(null===(G=eo.countryCodeContactUsForm)||void 0===G?void 0:G[ec.improvement])||ec.improvement})]}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("label",{className:"mb-2 text-Body-Medium-14",children:(null===(K=eo.countryCodeContactUsForm)||void 0===K?void 0:K["Would you recommend us to others?"])||"Would you recommend us to others?"}),(0,l.jsx)("div",{className:"flex justify-around py-2 sm:justify-start sm:gap-10",children:[{icon:(0,l.jsx)(d.Z,{size:32}),value:"Yes"},{icon:(0,l.jsx)(u,{size:32}),value:"No"},{icon:(0,l.jsx)(m.Z,{size:32}),value:"Maybe"}].map(e=>{var t;let{icon:o,value:a}=e;return(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("button",{type:"button",onClick:()=>ex("recommendation").onChange(a),className:`transition-transform hover:scale-110 ${ex("recommendation").value===a?"text-blue-600":"text-gray-400"}`,children:o}),(0,l.jsx)("span",{className:"mt-1 text-xs sm:text-sm",children:(null===(t=eo.countryCodeContactUsForm)||void 0===t?void 0:t[a])||a})]},a)})}),ec.recommendation&&(0,l.jsx)("span",{className:"text-Body-Regular-12 text-red-500",children:(null===(J=eo.countryCodeContactUsForm)||void 0===J?void 0:J[ec.recommendation])||ec.recommendation})]}),el?(0,l.jsx)("div",{className:"flex w-full cursor-not-allowed justify-center bg-Primary-Blue-950 p-2 text-white",children:(0,l.jsx)(x.Z,{className:"animate-spin"})}):(0,l.jsx)("button",{type:"submit",className:"w-full bg-Primary-Blue-950 px-4 py-[11px] text-Link-medium-16 text-white",children:(null===(Q=eo.countryCodeContactUsForm)||void 0===Q?void 0:Q["Submit Feedback"])||"Submit Feedback"})]})]})})}},54631:function(e,t,o){o.r(t);var l=o(85893),a=o(25675),n=o.n(a),r=o(67294),s=o(49883),i=o(73408),c=o(94772);let d=(e,t)=>e||("interactive-chart"===t?"h-[100%] p-[5px]":"h-[54px] px-4"),u=e=>{let{isCompact:t,parentPadding:o,from:a,imageBaseUrl:r,countryName:s,callingCode:i,placeholder:u,onClick:m}=e,x=(0,l.jsx)(n(),{src:c.Z,alt:"down",width:24,height:24});return(0,l.jsxs)("div",{className:`flex w-full cursor-pointer items-center ${t?"justify-start":"justify-between"} rounded-md border-[0.5px] border-Neutrals-500 bg-white ${d(o,a)} text-sm`,onClick:m,children:[(0,l.jsxs)("div",{className:`flex items-center ${t?"gap-1":"gap-2"}`,children:[s?(0,l.jsx)("span",{children:(0,l.jsx)(n(),{loading:"lazy",src:`${r}/flags/${s.toLowerCase()}.svg`,alt:s,width:24,height:24})}):(0,l.jsx)("span",{children:"\uD83C\uDF10"}),t?x:null,(0,l.jsx)("span",{children:i?`${t?"+":"+ "}${i}`:u})]}),t?null:x]})};t.default=(0,r.memo)(e=>
1{let{field:t,id:o,onFocus:a,defaultValue:c,placeholder:d,customWidth:m="md:w-[200%]",parentPadding:x="",from:y,variant:h="default"}=e,[p,v]=(0,r.useState)(!1),f=(0,r.useRef)(null);(0,r.useEffect)(()=>{p&&f.current&&f.current.focus()},[p]);let[b,g]=(0,r.useState)(""),[C,j]=(0,r.useState)(i.rZ),[N,w]=(0,r.useState)(i.rZ),k=(0,r.useRef)(null);(0,r.useEffect)(()=>{w(C.filter(e=>e.country_name.toLowerCase().includes(b.toLowerCase())||e.calling_code.includes(b.includes("+")?b.slice(1):b)))},[b]);let F=e=>{t.onChange(e.country_name),v(!1),g("")};(0,r.useEffect)(()=>{if(c){let e=C.find(e=>e.country_name===c);e&&t.onChange(e.country_name)}},[c,C]),(0,r.useEffect)(()=>{let e=e=>{k.current&&!k.current.contains(e.target)&&v(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let _=C.find(e=>e.country_name===t.value),U=async()=>{try{let e=await (0,s.lv)();Array.isArray(e)?(w(e),j(e)):console.error("Invalid country list:",e)}catch(e){console.error("country list unavailable, using bundled list",e)}};(0,r.useEffect)(()=>{U()},[]);let B="https://s3.mordorintelligence.com";return(0,l.jsxs)("div",{id:o,className:`relative ${p?"z-50":"z-0"}`,ref:k,children:[(0,l.jsx)(u,{isCompact:"compact"===h,parentPadding:x,from:y,imageBaseUrl:B,countryName:null==_?void 0:_.country_name,callingCode:null==_?void 0:_.calling_code,placeholder:d,onClick:()=>v(!p)}),p&&(0,l.jsxs)("div",{"data-country-menu":"",className:`custom-scrollbar absolute z-50 mt-2 max-h-[200px] w-full overflow-y-auto rounded-md border border-gray-300 bg-white shadow-lg xl:max-h-[170px] ${m}`,children:[(0,l.jsx)("input",{ref:f,type:"text",placeholder:"Search",onFocus:a,value:b,onChange:e=>g(e.target.value),className:"sticky top-0 w-full border-b px-4 py-2 text-sm outline-none"}),N.map(e=>(0,l.jsxs)("div",{onClick:()=>F(e),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),F(e))},role:"button",tabIndex:0,className:"flex cursor-pointer items-center gap-2 px-4 py-2 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:[(0,l.jsx)("span",{children:(0,l.jsx)(n(),{src:`${B}/flags/${e.country_name.toLowerCase()}.svg`,alt:e.country_name,width:24,height:24})}),(0,l.jsxs)("span",{className:"flex-1",children:[e.country_name," (+",e.calling_code,")"]})]},`${e.country_name}-${e.calling_code}`)),0===N.length&&(0,l.jsx)("div",{className:"px-4 py-2 text-sm text-gray-500",children:"No matches found"})]})]})})}}]);

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.