PageSourceSearch

https://www.etymonline.com/_next/static/chunks/5455.a771956eb947a85a.js

js etymonline.com collected 2026-10-01 07:54:29 UTC 8,107 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5455],{42598:(e,t,s)=>{s.d(t,{default:()=>c});var r=s(29904),n=s(38642),a=s(33727),i=s(31751),l=s.n(i),o=s(57180);let c=e=>{let{words:t,classNames:s,onClick:i,showIndex:c=!0,rel:p="nofollow",prefix:d}=e,m=(0,r.useCallback)((e,t,s)=>{let{word:r,disabled:m=!1}=e;return m?(0,o.jsx)("span",{className:"w-full flex items-center justify-between px-2 py-2 group text-battleship-gray font-medium font-serif hyphens-auto opacity-50 cursor-not-allowed",children:(0,o.jsxs)("span",{className:"flex items-center gap-2",children:[c&&(0,o.jsxs)("span",{className:"text-spanish-gray font-mono",children:[t+1,"."]}),(0,o.jsx)("span",{children:r})]})}):(0,o.jsxs)(l(),{rel:p,title:"Origin and meaning of ".concat(r),href:"".concat(null!=d?d:"","/word/").concat((0,a.i)(r)),onClick:e=>{if(m){e.preventDefault();return}null==i||i(r)},className:"w-full flex items-center justify-between px-2 py-2 group text-battleship-gray font-medium font-serif hyphens-auto",children:[(0,o.jsxs)("span",{className:"flex items-center gap-2",children:[c&&(0,o.jsxs)("span",{className:"text-spanish-gray font-mono",children:[t+1,"."]}),(0,o.jsx)("span",{className:"group-hover:text-primary transition-colors",children:r})]}),(0,o.jsx)("span",{className:"flex items-center gap-2",children:(0,o.jsx)(n.xVu,{className:"h-4 w-4 group-hover:text-primary transition-colors"})})]})},[i,d,c]);return(0,o.jsx)("ul",{className:"".concat(null==s?void 0:s.base," list-none grid grid-cols-1"),children:t.map((e,s)=>(0,o.jsx)("li",{children:m(e,s,s===t.length-1)},e.word))})}},7909:(e,t,s)=>{s.d(t,{Loading:()=>a});var r=s(57180);let n={sm:"24",md:"32",lg:"48"};function a(e){let{className:t="",size:s="md",fullscreen:a=!1}=e,i=n[s];return(0,r.jsx)("div",{className:a?"flex justify-center items-center h-screen":"flex justify-center items-center min-h-[200px] p-10",children:(0,r.jsx)("svg",{width:i,height:i,viewBox:"-10 -10 137 196",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,r.jsx)("path",{d:"M85.698 119.843c-1.263 9.345-4.06 16.149-8.39 20.322s-11.005 6.26-19.845 6.26c-8.66 0-15.336-2.813-19.846-8.347-3.88-4.717-6.044-11.431-6.676-20.321l85.337-40.009v-15.15c0-19.777-5.232-35.2-15.696-46.177C90.118 5.443 75.775 0 57.552 0 39.783 0 25.71 5.534 15.427 16.42 5.142 27.399 0 42.82 0 62.599v50.169c0 20.049 5.052 35.563 15.245 46.631Q30.536 176 56.921 176c17.771 0 31.844-4.899 42.128-14.697s16.237-23.678 17.951-41.55H85.698zM30.67 62.326c0-11.25 2.345-19.687 7.036-25.13q7.035-8.165 20.026-8.165c18.673 0 27.965 11.068 27.965 33.204v3.992L31.032 91.9l-.361.09z",className:"animate-loading-draw stroke-[#8E001F] dark:stroke-foreground",strokeWidth:"12",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"700 1000",strokeDashoffset:"0"})})})}},99273:(e,t,s)=>{s.d(t,{default:()=>o}),s(29904);var r=s(52157),n=s(90645),a=s(42598),i=s(7909),l=s(57180);let o=e=>{let{data:t,isLoading:s}=(0,r.Ay)("trending",n.Ml,{revalidateIfStale:!1,revalidateOnFocus:!1,cacheTime:36e5,keepPreviousData:!0});if(s&&!t)return(0,l.jsx)(i.Loading,{});try{let s=(t||[]).map(e=>({word:e.word,disabled:!1}));return(0,l.jsx)(a.default,{words:s,classNames:e.classNames,onClick:e.onClick,prefix:e.wordPrefix})}catch(e){return null}}},55455:(e,t,s)=>{s.r(t),s.d(t,{TrendingCard:()=>d});var r=s(99273);s(29904);var n=s(73069),a=s(59218),i=s(48680),l=s(17612),o=s(57180);let c=e=>{let{title:t,children:s}=e;return(0,o.jsxs)(n.Z,{className:"bg-secondary/20 shadow-none border border-secondary/30 rounded-md min-w-[300px] w-full",children:[(0,o.jsx)(a.d,{className:"font-medium font-sans text-davis-gray items-start justify-start hyphens-auto",lang:"en",children:(0,o.jsx)("span",{children:t})}),(0,o.jsx)(i.y,{}),(0,o.jsx)(l.U,{children:s})]})};var p=s(14732);let d=e=>{let{wordPrefix:t="",hostType:s}=e,n=(0,p.useTranslations)("global.trending");return(0,o.jsx)(c,{title:n("title"),children:(0,o.jsx)(r.default,{classNames:{base:"list-none"},wordPrefix:t})})}},33727:(e,t,s)=>{s.d(t,{cn:()=>a,i:()=>i});var r=s(43302),n=s(89778);function a(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,n.QP)((0,r.$)(t))}function i(e){return encodeURIComponent(e).replace(/[!'()]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}},90645:(e,t,s)=>{s.d(t,{YB:()=>l,HN:()=>a,Ml:()=>i}),s(34392);var r=s(60870),n=s(24963);let a=async e=>{try{if(!e)return[];let t=await fetch("".concat(n.N2,"/api/etymology/fuzzy?key=").concat(e),{next:{revalidate:60}});if(!(null!=t&&t.ok))throw Error("Failed to fetch fuzzy matches: ".concat(t.status));return await t.json()}catch(e){return console.error(e),[]}},i=async()=>{try{let e=await fetch("".concat(n.N2,"/api/etymology/trending/v2"),{next:{revalidate:3600}});if(!(null!=e&&e.ok))throw Error("Failed to fetch trending items: ".concat(e.status));let{data:t}=await e.json();return t.items}catch(e){return console.error(e),[]}},l=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{page:1,size:9,need_content:!1};try{var t;let s=await (await fetch(r.A.stringifyUrl({url:"".concat(n.N2,"/api/article/list"),query:e}),{next:{revalidate:3600,tags:["columns:list"]}})).json();return null!==(t=null==s?void 0:s.data)&&void 0!==t?t:void 0}catch(e){console.error(e);return}}},24963:(e,t,s)=>{s.d(t,{Cu:()=>o,IX:()=>c,J$:()=>h,N2:()=>g,Xy:()=>d,ZF:()=>p,Zh:()=>u,eq:()=>x,ms:()=>f,oh:()=>m,rm:()=>_,wC:()=>l,ze:()=>i});
1var r,n,a=s(88020);let i=null!==(r=a.env.NEXT_PUBLIC_CDN_HOST)&&void 0!==r?r:"https://cdn.etymonline.com",l="".concat(i,"/projects/web-v2"),o=!1,c="true"===a.env.NEXT_PUBLIC_LOCAL,p="www.etymonline.com",d="www.etymonline.com.cn",m="www.etymonline.net",h=null!==(n=a.env.NEXT_PUBLIC_ASSET_PREFIX)&&void 0!==n?n:"",f="6LcguxYpAAAAAPyQGkmLXdXO92vRfIbA3LkZg4Sc",u="6Ld7pBUpAAAAAGohawUgWhnRPq16lkJ_cqvJAR-K",g="",_="/app",w={detailPage:{mobile:[{slot:"mobile_wd_related",mappings:[[300,250]],refresh:!0},{slot:"mobile_wd_incontent",mappings:[[300,250]],refresh:!0},{slot:"mobile_wd_entries",mappings:["fluid",[300,250]],refresh:!0},{slot:"mobile_wd_top",mappings:["fluid",[320,50],[320,100],[300,50]],refresh:!0},{slot:"mobile_wd_bottom",mappings:[[300,250]],refresh:!0},{slot:"mobile_wd_sticky",mappings:[[320,50],[300,50]],refresh:!0,hideWhenLogin:!0}],pc:[{slot:"pc_wd_ngram",mappings:["fluid",[728,90]],refresh:!0},{slot:"pc_wd_skyscraper",mappings:[[300,600],[300,250]],refresh:!0,hide1024:!0,hideWhenLogin:!0},{slot:"pc_wd_right",mappings:[[300,250]],refresh:!0},{slot:"pc_wd_top",mappings:[[728,90]],refresh:!0}
1,{slot:"pc_wd_bottom",mappings:["fluid",[970,90],[728,90],[970,250]],refresh:!0},{slot:"pc_sticky",mappings:[[970,90],[728,90]],refresh:!0,hide1024:!0,hideWhenLogin:!0}]},searchPage:{mobile:[{slot:"mobile_sp_infeed",mappings:["fluid",[300,250],[300,75],[300,50]],refresh:!0},{slot:"mobile_sp_bottom",mappings:[[300,250],[300,75],[300,50]],refresh:!0},{slot:"mobile_sticky",mappings:[[320,50],[300,50]],refresh:!0}],pc:[{slot:"pc_sp_top",mappings:[[728,90]],refresh:!0},{slot:"pc_sp_right",mappings:[[300,250]],refresh:!0},{slot:"pc_sp_infeed",mappings:["fluid",[728,90]],refresh:!0},{slot:"pc_sp_bottom",mappings:["fluid",[970,90],[728,90],[970,250]],refresh:!0},{slot:"pc_sticky",mappings:[[728,90],[970,90]],refresh:!0,hide1024:!0,hideWhenLogin:!0}]},relatedPage:{mobile:[{slot:"mobile_rp_infeed",mappings:[[320,50],[300,50]],refresh:!0}],pc:[{slot:"pc_rp_top",mappings:[[728,90]],refresh:!0},{slot:"pc_rp_right",mappings:[[300,250]],refresh:!0},{slot:"pc_rp_infeed",mappings:["fluid",[728,90]],refresh:!0}]},postPage:{mobile:[{slot:"mobile_pp_bottom",mappings:["fluid",[300,250]],refresh:!0}],pc:[{slot:"pc_pp_right",mappings:[[300,250]],refresh:!0},{slot:"pc_pp_skyscraper",mappings:["fluid",[300,600],[300,250]],refresh:!0}
1,{slot:"pc_pp_bottom",mappings:["fluid",[970,90],[728,90],[970,250]],refresh:!0}]}};function x(e){return e.match(/(\/\w{2})?\/word\/[^\/]+\/related(\/)?$/)?w.relatedPage:e.match(/(\/\w{2})?\/word\/[^\/]+(\/)?$/)?w.detailPage:e.match(/\/search(\/)?$/)?w.searchPage:e.match(/\/columns\/post\/[^\/]+(\/)?$/)?w.postPage:void 0}}}]);

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.