1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2071],{15289:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})},17483:(e,t,r)=>{"use strict";r.d(t,{Bd:()=>f,O5:()=>p,RT:()=>h,Vx:()=>m,ZV:()=>l,cn:()=>a,eG:()=>u,gf:()=>P,jX:()=>y,l9:()=>s,qL:()=>b,vv:()=>c,wV:()=>g,wk:()=>x,wm:()=>function e(t,r){if(!r?.trim())return t;let n=t.toLowerCase(),i=r.toLowerCase().trim(),a=n.indexOf(i);if(-1===a)return t;let l=t.slice(0,a),u=t.slice(a,a+i.length),c=t.slice(a+i.length);return(0,o.createElement)(o.Fragment,null,l,(0,o.createElement)("mark",{className:"bg-yellow-200 dark:bg-yellow-800 rounded px-0.5"},u),e(c,r))}});var n=r(9917),i=r(2809),o=r(7620);function a(...e){return(0,i.QP)((0,n.$)(e))}function l(e){return null==e?"-":e.toLocaleString("en-US")}function u(e){if(e>=1e6){let t=e/1e6;return`${t%1==0?t.toFixed(0):t.toFixed(1)}M+`}if(e>=1e3){let t=e/1e3;return`${t%1==0?t.toFixed(0):t.toFixed(1)}K+`}return`${e}+`}function c(e){return e>=1e6?`$${(e/1e6).toFixed(1)}M`:e>=1e3?`$${(e/1e3).toFixed(1)}K`:`$${e.toFixed(2)}`}function f(e){return e>=1e6?`$${(e/1e6).toFixed(1)}M+`:e>=1e3?`$${(e/1e3).toFixed(1)}K+`:`$${e.toFixed(0)}+`}function s(e){let t=100*e,r=t>=0?"+":"";return`${r}${t.toFixed(1)}%`}function m(e){return`https://www.amazon.com/dp/${encodeURIComponent(h(e))}`}let d=/^[A-Z0-9]{10}$/;function p(e){return d.test(e.trim().toUpperCase())}function h(e){return e.trim().toUpperCase()}function x(e,t=0){return null==e?"â":e.toLocaleString(void 0,{minimumFractionDigits:t,maximumFractionDigits:t})}function g(e){return null==e?"â":`$${e.toFixed(2)}`}function y(e,t=2){return null==e?"â":`${e.toFixed(t)}%`}function P(e){return null!=e&&!isNaN(e)}let $=/^[A-Z]{2}$/;function b(e){if(!e?.length)return null;let t={},r=0;for(let n of e){let e=n.split("|");for(let n=e.length-1;n>=Math.max(0,e.length-3);n--){let i=e[n]?.trim().toUpperCase();if(i&&$.test(i)){t[i]=(t[i]||0)+1,r++;break}}}if(0===r)return null;let[n,i]=Object.entries(t).sort((e,t)=>t[1]-e[1])[0];return{country:n,count:i,total:r,rate:i/r}}},19853:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(69719);function i(e,t,r,i){if(!e||i===r||null==i||!t)return;let o=(0,n.DT)(t),{name:a,...l}=e;l.path||(l.path=""!==o?o:"/");let u=`${a}=${i};`;for(let[e,t]of Object.entries(l))u+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(u+="="+t),u+=";";document.cookie=u}},24579:(e,t,r)=>{"use strict";r.d(t,{PricingTabs:()=>u});var n=r(54568),i=r(33971),o=r(48842),a=r(17483);let l=[{href:"/pricing",key:"dataProducts"},{href:"/pricing/models",key:"generativeAi"}];function u(){let e=(0,o.a8)(),t=(0,i.c)("pricing.tabs");return(0,n.jsx)("div",{className:"container mx-auto px-4 pt-20 -mb-12 max-w-6xl",children:(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)("nav",{className:"inline-flex rounded-lg bg-muted p-1","aria-label":t("ariaLabel"),children:l.map(r=>{let i="/pricing"===r.href?"/pricing"===e:e.startsWith("/pricing/models");return(0,n.jsx)(o.N_,{href:r.href,"aria-current":i?"page":void 0,className:(0,a.cn)("px-4 py-2 text-sm font-medium rounded-md transition-colors",i?"bg-background shadow-sm text-foreground":"text-muted-foreground hover:text-foreground"),children:t(r.key)},r.href)})})})})}},25773:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(79748),i=r(7620),o=r.t(i,2),a=r(47213),l=o["use".trim()],u=r(79634),c=r(29035),f=r(69719),s=r(54568),m=r(19853);function d(e){let{Link:t,config:r,getPathname:o,...d}=function(e,t){var r,o,a;let m={...r=t||{},localePrefix:"object"==typeof(a=r.localePrefix)?a:{mode:a||"always"},localeCookie:!!((o=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof o&&o},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},d=m.pathnames,p=(0,i.forwardRef)(function({href:t,locale:r,...n},i){let o,a;"object"==typeof t?(o=t.pathname,a=t.params):o=t;let f=(0,u._x)(t),p=e(),x=(0,u.yL)(p)?l(p):p,g=f?h({locale:r||x,href:null==d?o:{pathname:o,params:a},forcePrefix:null!=r||void 0}):o;return(0,s.jsx)(c.default,{ref:i,href:"object"==typeof t?{...t,pathname:g}:g,locale:r,localeCookie:m.localeCookie,...n})});function h(e){let t,{forcePrefix:r,href:n,locale:i}=e;return null==d?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,f.Zn)(n.query))):t=n:t=(0,f.FP)({locale:i,...(0,f.TK)(n),pathnames:m.pathnames}),(0,f.x3)(t,i,m,r)}function x(e){return function(t,...r){return e(h(t),...r)}}return{config:m,Link:p,redirect:x(n.redirect),permanentRedirect:x(n.permanentRedirect),getPathname:h}}(a.Ym,e);return{...d,Link:t,usePathname:function(){let e,t,o=(e=(0,n.usePathname)(),t=(0,a.Ym)(),(0,i.useMemo)(()=>
1{if(!e)return e;let n=e,i=(0,u.XP)(t,r.localePrefix);if((0,u.wO)(i,e))n=(0,u.MY)(e,i);else if("never"!==r.localePrefix.mode&&r.localePrefix.prefixes){let r=(0,u.bL)(t);(0,u.wO)(r,e)&&(n=(0,u.MY)(e,r))}return n},[r.localePrefix,t,e])),l=(0,a.Ym)();return(0,i.useMemo)(()=>o&&r.pathnames?(0,f.aM)(l,o,r.pathnames):o,[l,o])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,a.Ym)(),l=(0,n.usePathname)();return(0,i.useMemo)(()=>{function n(e){return function(n,i){let{locale:a,...u}=i||{},c=[o({href:n,locale:a||t,forcePrefix:null!=a||void 0})];Object.keys(u).length>0&&c.push(u),(0,m.A)(r.localeCookie,l,t,a),e(...c)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,l,e])},getPathname:o}}},29035:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(65587),i=r(79748),o=r(7620),a=r(47213),l=r(19853),u=r(54568),c=(0,o.forwardRef)(function({href:e,locale:t,localeCookie:r,onClick:o,prefetch:c,...f},s){let m=(0,a.Ym)(),d=null!=t&&t!==m,p=(0,i.usePathname)();return d&&(c=!1),(0,u.jsx)(n,{ref:s,href:e,hrefLang:d?t:void 0,onClick:function(e){(0,l.A)(r,p,m,t),o&&o(e)},prefetch:c,...f})})},33971:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(47213);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let o=i(0,n.c3);i(0,n.kc)},35906:(e,t,r)=>{Promise.resolve().then(r.bind(r,24579))},48842:(e,t,r)=>{"use strict";r.d(t,{N_:()=>o,Hm:()=>c,a8:()=>l,rd:()=>u});var n=r(25773);let i=(0,r(15289).A)({locales:["en","zh"],defaultLocale:"en",localePrefix:"always"}),{Link:o,redirect:a,usePathname:l,useRouter:u,getPathname:c}=(0,n.A)(i)},69719:(e,t,r)=>{"use strict";r.d(t,{DT:()=>u,FP:()=>a,TK:()=>i,Zn:()=>o,aM:()=>l,x3:()=>c});var n=r(79634);function i(e){return"string"==typeof e?{pathname:e}:e}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function a({pathname:e,locale:t,params:r,pathnames:i,query:l}){function u(e){let a,u=i[e];return u?(a=(0,n.Wl)(u,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=(0,n.po)(a),l&&(a+=o(l)),a}if("string"==typeof e)return u(e);{let{pathname:t,...r}=e;return{...r,pathname:u(t)}}}function l(e,t,r){let i=(0,n.FD)(Object.keys(r)),o=decodeURI(t);for(let t of i){let i=r[t];if("string"==typeof i){if((0,n.ql)(i,o))return t}else if((0,n.ql)((0,n.Wl)(i,e,t),o))return t}return t}function u(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,r,i){let o,{mode:a}=r.localePrefix;return void 0!==i?o=i:(0,n._x)(e)&&("always"===a?o=!0:"as-needed"===a&&(o=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),o?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},79634:(e,t,r)=>{"use strict";r.d(t,{FD:()=>g,MY:()=>o,PJ:()=>a,Wl:()=>u,XP:()=>s,_x:()=>i,bL:()=>m,po:()=>c,ql:()=>f,wO:()=>l,yL:()=>y});var n=r(63680);function i(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function o(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function a(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function l(e,t){return t===e||t.startsWith(`${e}/`)}function u(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}(),[r,...i]=e.split("#"),o=i.join("#"),a=r;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return o&&(a+="#"+o),a}function f(e,t){let r,n=c(e),i=c(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(i)}function s(e,t){return"never"!==t.mode&&t.prefixes?.[e]||m(e)}function m(e){return"/"+e}function d(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function h(e){return e.includes("[")}function x(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!h(t)&&h(i))return -1;if(h(t)&&!h(i))return 1;if(!p(t)&&p(i))return -1;if(p(t)&&!p(i))return 1;if(!d(t)&&d(i))return -1;if(d(t)&&!d(i))return 1}}return 0}function g(e){return e.sort(x)}function y(e){return"function"==typeof e.then}},79748:(e,t,r)=>{"use strict";var n=r(79796);r.o(n,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return n.permanentRedirect}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})}},e=>{e.O(0,[3811,5587,3357,587,1968,7358],()=>e(e.s=35906)),_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.