1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6369],{16369:(e,t,s)=>{s.d(t,{V7Hero:()=>N});var n=s(95155),r=s(12115),a=s(36809),l=s(18955),d=s(26541);let i=["US","CA","GB","IE","AU","NZ","SG","HK"],o=[...i,"JP","KR","TW","DE","FR","NL","BE","LU","CH","AT","DK","SE","NO","FI","IS","IT","ES","PT","IL","AE"],c=[...o,"BR","MX","AR","CL","CO","IN","ID","TH","VN","PH","MY","TR","SA","PL","ZA","NG","EG","CN"],x=[{id:"devEnglish",codes:i},{id:"developed",codes:o},{id:"devEmerging",codes:c}],p=[{id:"northAmerica",codes:["US","CA"]},{id:"latinAmerica",codes:["MX","BR","AR","CL","CO","PE","EC","UY","PY","BO","VE","CR","PA","DO","GT","PR"]},{id:"westernEurope",codes:["GB","IE","FR","DE","NL","BE","LU","CH","AT","ES","PT","IT","DK","SE","NO","FI","IS","GR","MT","CY"]},{id:"easternEurope",codes:["PL","CZ","SK","HU","RO","BG","HR","SI","RS","UA","LT","LV","EE","MD","BA","AL","MK","ME","GE","AM","AZ","KZ","UZ","RU","BY"]},{id:"middleEast",codes:["AE","SA","QA","KW","BH","OM","IL","JO","LB","TR","EG","IQ"]},{id:"southAsia",codes:["IN","PK","BD","LK","NP"]},{id:"southeastAsia",codes:["SG","MY","TH","VN","ID","PH","KH","MM","LA","BN"]},{id:"eastAsia",codes:["CN","HK","TW","MO","JP","KR","MN"]},{id:"oceania",codes:["AU","NZ","FJ","PG"]},{id:"africa",codes:["ZA","NG","KE","GH","MA","TZ","ET","UG","DZ","TN","SN","CI","RW"]}];[...x,...p],Array.from(new Set(p.flatMap(e=>e.codes)));let m=new Map;function h(e,t){var s,n;if(!m.has(t))try{m.set(t,new Intl.DisplayNames([t],{type:"region"}))}catch(e){m.set(t,null)}return null!=(n=null==(s=m.get(t))?void 0:s.of(e))?n:e}var u=s(28840);function f(e){let{state:t}=e;return(0,n.jsxs)("span",{className:"flex h-4 w-4 shrink-0 items-center justify-center rounded-[5px] border ".concat("off"===t?"border-[#D6D3D1] bg-white":"on"===t?"border-[#FF6A24] bg-[#FF6A24]":"border-[#FF6A24] bg-white"),children:["on"===t&&(0,n.jsx)(u.iW,{className:"h-2.5 w-2.5 text-white",strokeWidth:3.5}),"part"===t&&(0,n.jsx)("span",{className:"h-0.5 w-2 rounded-full bg-[#FF6A24]"})]})}function g(e){let{children:t}=e;return(0,n.jsx)("div",{className:"v7-dm px-2 pb-1 pt-2 text-[12px] font-semibold uppercase leading-4 tracking-wide text-[#57534E]",children:t})}function b(e){var t,s;let{value:l,onChange:d,error:i,label:o,c}=e,m=(0,a.Ym)(),[b,v]=(0,r.useState)(!1),[w,j]=(0,r.useState)(""),[N,E]=(0,r.useState)("devEnglish"),A=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!b)return;let e=e=>{A.current&&!A.current.contains(e.target)&&v(!1)},t=e=>{"Escape"===e.key&&v(!1)};return document.addEventListener("pointerdown",e),window.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),window.removeEventListener("keydown",t)}},[b]);let k=w.trim().toLowerCase(),y=e=>!k||h(e,m).toLowerCase().includes(k)||e.toLowerCase()===k,F=e=>e.map(e=>({id:e.id,codes:e.codes.filter(y)})).filter(e=>e.codes.length>0),C=F(x),S=F(p),L=null!=(s=null!=(t=[...C,...S].find(e=>e.id===N))?t:C[0])?s:S[0],R=[...new Set([...x,...p].flatMap(e=>[...e.codes]))],D=e=>{let t=e.filter(e=>l.includes(e)).length;return 0===t?"off":t===e.length?"on":"part"},M=e=>{d("on"===D(e)?l.filter(t=>!e.includes(t)):[...new Set([...l,...e])])},I=e=>(0,n.jsxs)("div",{className:"flex items-center rounded-[var(--v7-radius-control)] text-[14px] text-[#1c1917] ".concat((null==L?void 0:L.id)===e.id?"bg-[#F5F5F4]":""),children:[(0,n.jsx)("button",{type:"button",role:"checkbox","aria-label":c.groups[e.id],"aria-checked":"part"===D(e.codes)?"mixed":"on"===D(e.codes),onClick:()=>M(e.codes),className:"rounded-xl p-2",children:(0,n.jsx)(f,{state:D(e.codes)})}),(0,n.jsxs)("button",{type:"button",onClick:()=>E(e.id),className:"flex min-w-0 flex-1 items-center gap-2 rounded-xl py-2.5 pr-2 text-left hover:bg-[#F5F5F4]",children:[(0,n.jsx)(u.Vj,{className:"h-3.5 w-3.5 shrink-0 text-[#A8A29E]"}),(0,n.jsx)("span",{className:"truncate",children:c.groups[e.id]})]})]},e.id),T=l.length===R.length?c.selectAll:1===l.length?h(l[0],m):l.length?c.selected.replace("{count}",String(l.length)):null;return(0,n.jsxs)("div",{ref:A,className:"md:relative",children:[(0,n.jsxs)("div",{className:"flex h-[29px] items-center justify-center gap-[5px] rounded-full border px-[10px] text-[10px] md:h-[56px] md:gap-[10px] md:px-[15px] md:text-[19px] ".concat(i?"border-[#FF621D] bg-[#D5C5BE]/10":"border-transparent"),children:[(0,n.jsx)(u.HJ,{className:"h-[11px] w-[11px] shrink-0 md:h-[22px] md:w-[22px] ".concat(i?"text-[#FF621D]":"text-black")}),(0,n.jsx)("button",{type:"button",onClick:()=>v(e=>!e),"aria-haspopup":"dialog","aria-expanded":b,className:"flex h-[29px] min-w-0 items-center gap-2 font-normal md:h-[56px] ".concat(i?"text-[#FF621D]":"text-black"),children:T?(0,n.jsxs)("span",{className:"group/chip relative flex items-center gap-1.5 rounded-xl px-1 text-[10px] font-bold md:text-[15px]",children:[(0,n.jsx)("span",{className:"max-w-[90px] truncate md:max-w-[180px]",children:T}),(0,n.jsx)("span",{role:"button",tabIndex:0,"aria-label":c.remove,onClick:e=>{e.stopPropagation(),d([])},onKeyDown:e=>{"Enter"===e.key&&(e.stopPropagation(),d([]))},className:"flex items-center",children:(0,n.jsx)(u.gz,{className:"h-3 w-3 text-[#A8A29E] md:h-4 md:w-4"})}),(0,n.jsxs)("span",{className:"v7-inter pointer-events-none absolute bottom-[calc(100%+10px)] left-1/2 z-20 -translate-x-1/2 whitespace-nowrap rounded-xl bg-[#1c1917] px-2 py-1 text-[13px] font-normal text-white opacity-0 transition-opacity group-hover/chip:opacity-100",children:[T,(0,n.jsx)("span",{className:"absolute left-1/2 top-full -translate-x-1/2 border-x-[5px] border-t-[5px] border-x-trans
1parent border-t-[#1c1917]"})]})]}):(0,n.jsx)("span",{className:"max-w-[122px] truncate md:max-w-full",children:o})})]}),b&&(0,n.jsxs)("div",{role:"dialog",className:"v7-region-panel v7-system v7-fade-in absolute bottom-[calc(100%+14px)] left-0 z-50 w-full max-w-[704px] rounded-[var(--v7-radius-panel)] bg-white p-3 text-left shadow-[0_6px_30px_rgba(0,0,0,0.14)] md:left-auto md:right-[-8px] md:w-[704px] md:max-w-[calc(100vw-32px)]",style:{transformOrigin:"bottom right"},children:[(0,n.jsxs)("div",{className:"rounded-[calc(var(--v7-radius-panel)-12px)] border border-[#E7E5E4] p-3",children:[(0,n.jsxs)("label",{className:"flex h-11 items-center gap-2 rounded-[var(--v7-radius-inset)] border border-[#E7E5E4] px-3",children:[(0,n.jsx)(u.C0,{className:"h-[18px] w-[18px] shrink-0 text-[#78716C]"}),(0,n.jsx)("input",{autoFocus:!0,value:w,onChange:e=>j(e.target.value),placeholder:c.search,className:"v7-region-search min-w-0 flex-1 border-0 bg-transparent text-[14px] text-black outline-none placeholder:text-[#A8A29E]"})]}),(0,n.jsxs)("button",{type:"button",role:"checkbox","aria-checked":"part"===D(R)?"mixed":"on"===D(R),onClick:()=>M(R),className:"mt-3 flex items-center gap-2 rounded-[var(--v7-radius-control)] px-2 py-1 text-[14px] text-black",children:[(0,n.jsx)(f,{state:D(R)}),c.selectAll]}),(0,n.jsxs)("div",{className:"mt-3 grid h-[180px] grid-cols-[110px_1fr] overflow-hidden rounded-[var(--v7-radius-inset)] border border-[#E7E5E4] md:h-[300px] md:grid-cols-[260px_1fr]",children:[(0,n.jsxs)("div",{className:"v7-scrollbar-thin overflow-y-auto border-r border-[#E7E5E4] p-2",children:[C.length>0&&(0,n.jsx)(g,{children:c.quick}),C.map(I),S.length>0&&(0,n.jsx)(g,{children:c.byRegion}),S.map(I)]}),(0,n.jsx)("div",{className:"v7-scrollbar-thin overflow-y-auto p-3",children:L?L.codes.map(e=>(0,n.jsxs)("button",{type:"button",role:"checkbox","aria-checked":l.includes(e),onClick:()=>M([e]),className:"flex w-full items-center gap-3 rounded-[var(--v7-radius-control)] px-2 py-2 text-left text-[14px] leading-[22px] text-[#1c1917] transition-colors hover:bg-[#FAFAF9]",children:[(0,n.jsx)(f,{state:l.includes(e)?"on":"off"}),(0,n.jsx)("span",{className:"truncate",children:h(e,m)})]},e)):(0,n.jsx)("p",{className:"p-2 text-[14px] text-[#A8A29E]",children:c.empty})})]})]}),(0,n.jsx)("span",{"aria-hidden":"true",className:"absolute -bottom-[6px] left-[30px] h-3 w-3 rotate-45 rounded-[3px] bg-white shadow-[2px_2px_3px_rgba(0,0,0,0.05)] md:left-auto md:right-[30px]"})]})]})}var v=s(31824);let w={pool:"6M+",onboarded:"100K+",countries:"100+"};var j=s(77671);function N(e){let{c:t}=e,s=(0,a.Ym)().startsWith("zh"),i=(0,d.rd)(),[o,c]=(0,r.useState)(""),[x,p]=(0,r.useState)([]),[m,h]=(0,r.useState)(null),f=()=>{let e=(0,v.c)(o);return e?x.length?void(h(null),i.push((0,v.T)(e,x))):void h("region"):void h("link")},g=(0,l.c)("homeReference").raw("heroStats"),N=[w.onboarded,w.pool,w.countries].map((e,t)=>[e,g[t]]);return(0,n.jsx)("div",{className:"w-full overflow-x-clip",children:(0,n.jsx)("section",{className:"relative w-full overflow-x-hidden bg-[#FAFAF7]",children:(0,n.jsxs)("div",{className:"relative min-h-screen overflow-hidden",children:[(0,n.jsx)("div",{"aria-hidden":"true",className:"v7-hero-bg v7-grain pointer-events-none absolute inset-0 z-0"}),(0,n.jsxs)("div",{"data-chinese":s||void 0,className:"v7-hero-content relative z-10 mx-auto flex min-h-screen w-full max-w-[1312px] flex-col items-center gap-6 px-4 py-[180px] md:gap-[42px] md:py-[160px]",children:[(0,n.jsx)("div",{className:"v7-hero-kicker mt-[94px] w-full text-center text-base font-bold leading-[27px] text-black md:mt-[122px] md:text-[32px] md:leading-[27px]",children:(0,n.jsx)(j.q,{text:t.hero.kicker})}),(0,n.jsxs)("h1",{className:"v7-hero-title m-0 flex flex-col justify-center text-center md:gap-[25px]",children:[(0,n.jsxs)("span",{className:"text-[45px] font-bold leading-none text-black md:text-[72px]",children:[(0,n.jsx)("span",{className:"text-[32px] leading-[1.1] md:hidden",children:(0,n.jsx)(j.q,{text:t.hero.titleAMobile})}),(0,n.jsx)("span",{className:"hidden md:inline",children:(0,n.jsx)(j.q,{text:t.hero.titleA})})]}),(0,n.jsxs)("span",{className:"v7-grad-hero text-[32px] font-bold leading-[1.1] tracking-[-0.02em] md:text-[72px] md:leading-none",children:[(0,n.jsx)("span",{className:"md:hidden",children:(0,n.jsx)(j.q,{text:t.hero.titleBMobile})}),(0,n.jsx)("span",{className:"hidden md:inline",children:(0,n.jsx)(j.q,{text:t.hero.titleB})})]})]}),(0,n.jsxs)("div",{className:"w-full max-w-[353px] md:max-w-[1022px]",children:[(0,n.jsxs)("div",{className:"v7-promotion-form relative flex h-[95px] w-full flex-col justify-between rounded-[var(--v7-radius-card)] border bg-white/75 px-[13px] py-3 shadow-[0px_8px_24px_0px_#FF621D59] backdrop-blur-md md:h-[92px] md:flex-row md:items-center md:gap-[22px] md:rounded-full md:px-[25px] md:py-[14px] ".concat("link"===m?"border-[#
1EF4444]":"border-[#FDD9C8]"),children:[(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-[11px] md:gap-[22px]",children:[(0,n.jsx)(u.C0,{className:"h-3 w-3 shrink-0 text-[#A8A29E] md:h-6 md:w-6"}),(0,n.jsx)("input",{type:"text",inputMode:"url",autoComplete:"url","aria-invalid":"link"===m,value:o,onChange:e=>{c(e.target.value),"link"===m&&h(null)},onKeyDown:e=>{"Enter"===e.key&&f()},placeholder:t.hero.placeholder,"aria-label":t.hero.placeholder,className:"v7-product-url min-w-0 flex-1 border-none bg-transparent text-[13px] font-normal leading-[15px] text-black outline-none placeholder:text-[#A8A29E] md:text-xl md:leading-7"})]}),(0,n.jsxs)("div",{className:"flex h-[29px] w-full shrink-0 items-center justify-between md:h-[56px] md:w-auto md:gap-5",children:[(0,n.jsx)(b,{value:x,onChange:e=>{p(e),e.length&&"region"===m&&h(null)},error:"region"===m,label:t.hero.region,c:t.region}),(0,n.jsxs)("button",{type:"button",onClick:f,className:"v7-btn-start flex h-[29px] min-w-[85px] shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-full border-none px-2 text-[10px] font-medium leading-none md:h-[56px] md:min-w-[190px] md:gap-2 md:px-4 md:text-lg",children:[(0,n.jsx)(u.C0,{className:"h-[11px] w-[11px] shrink-0 md:h-5 md:w-5",strokeWidth:2.2}),(0,n.jsx)("span",{children:t.hero.start})]})]})]}),m&&(0,n.jsx)("p",{role:"alert",className:"mt-2 px-2 text-sm text-[#EF4444]",children:"link"===m?t.hero.errLink:t.hero.errRegion}),(0,n.jsx)("div",{className:"v7-hero-stats mt-[10px] flex w-full flex-wrap content-start items-start justify-center gap-x-[7.2px] gap-y-[7.2px] whitespace-nowrap text-[11px] font-normal leading-[24.192px] text-black/80 md:mt-4 md:flex-nowrap md:items-center md:gap-12 md:text-lg md:leading-[42px]",children:N.map(e=>{let[t,s]=e;return(0,n.jsxs)("span",{className:"flex shrink-0 items-center justify-center gap-[5.76px] md:gap-[10px]",children:[(0,n.jsx)(u.IB,{className:"h-[13.8px] w-[13.8px] shrink-0 md:h-6 md:w-6"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{className:"font-semibold",children:t})," ",s]})]},s)})})]})]})]})})})}},31824:(e,t,s)=>{function n(e){let t=e.trim();if(!t||t.length>2048||/\s/.test(t)||t.startsWith("/")||t.includes("\\"))return null;try{let e=new URL(/^[a-z][a-z\d+.-]*:/i.test(t)?t:"https://".concat(t));if(!["http:","https:"].includes(e.protocol)||e.username||e.password||!e.hostname.includes(".")||e.hostname.startsWith(".")||e.hostname.endsWith("."))return null;return e.href}catch(e){return null}}function r(e,t){let s=new URLSearchParams({source:"v7"}),r=e&&n(e);r&&s.set("website",r);let a=Array.isArray(t)?[...new Set(t)].filter(e=>/^[A-Z]{2}$/.test(e)).join(","):t;return a&&(/^[a-zA-Z\d_-]{1,40}$/.test(a)||/^[A-Z]{2}(,[A-Z]{2})*$/.test(a))&&s.set("region",a),"/promote/create?".concat(s)}s.d(t,{T:()=>r,c:()=>n})},77671:(e,t,s)=>{s.d(t,{q:()=>a});var n=s(95155),r=s(12115);function a(e){let{text:t}=e,s=t.split("\n");return(0,n.jsx)(n.Fragment,{children:s.map((e,t)=>(0,n.jsxs)(r.Fragment,{children:[t>0&&(0,n.jsx)("br",{}),e]},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.