1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6599],{54393:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,92118,23)),Promise.resolve().then(r.t.bind(r,59163,23)),Promise.resolve().then(r.t.bind(r,52114,23)),Promise.resolve().then(r.t.bind(r,87751,23)),Promise.resolve().then(r.t.bind(r,40378,23)),Promise.resolve().then(r.t.bind(r,69722,23)),Promise.resolve().then(r.t.bind(r,96200,23)),Promise.resolve().then(r.t.bind(r,76845,23)),Promise.resolve().then(r.bind(r,96353)),Promise.resolve().then(r.t.bind(r,58598,23)),Promise.resolve().then(r.t.bind(r,91033,23)),Promise.resolve().then(r.t.bind(r,59216,23)),Promise.resolve().then(r.t.bind(r,58450,23)),Promise.resolve().then(r.t.bind(r,98713,23)),Promise.resolve().then(r.t.bind(r,48862,23)),Promise.resolve().then(r.t.bind(r,1371,23)),Promise.resolve().then(r.t.bind(r,20386,23)),Promise.resolve().then(r.t.bind(r,59493,23)),Promise.resolve().then(r.t.bind(r,53811,23)),Promise.resolve().then(r.t.bind(r,25046,23)),Promise.resolve().then(r.t.bind(r,64224,23)),Promise.resolve().then(r.t.bind(r,1902,23)),Promise.resolve().then(r.t.bind(r,22671,23)),Promise.resolve().then(r.t.bind(r,10235,23)),Promise.resolve().then(r.t.bind(r,49669,23)),Promise.resolve().then(r.t.bind(r,86648,23)),Promise.resolve().then(r.t.bind(r,57131,23)),Promise.resolve().then(r.t.bind(r,8289,23)),Promise.resolve().then(r.t.bind(r,93723,23)),Promise.resolve().then(r.t.bind(r,18975,23)),Promise.resolve().then(r.t.bind(r,55250,23)),Promise.resolve().then(r.t.bind(r,65239,23)),Promise.resolve().then(r.t.bind(r,23760,23)),Promise.resolve().then(r.t.bind(r,11698,23)),Promise.resolve().then(r.t.bind(r,24179,23)),Promise.resolve().then(r.t.bind(r,95543,23)),Promise.resolve().then(r.t.bind(r,47162,23)),Promise.resolve().then(r.t.bind(r,19597,23)),Promise.resolve().then(r.t.bind(r,83293,23)),Promise.resolve().then(r.t.bind(r,93814,23)),Promise.resolve().then(r.t.bind(r,76017,23)),Promise.resolve().then(r.t.bind(r,95980,23)),Promise.resolve().then(r.t.bind(r,89157,23)),Promise.resolve().then(r.bind(r,67691)),Promise.resolve().then(r.bind(r,65080)),Promise.resolve().then(r.bind(r,40745)),Promise.resolve().then(r.bind(r,29626)),Promise.resolve().then(r.bind(r,81190)),Promise.resolve().then(r.bind(r,99273)),Promise.resolve().then(r.bind(r,51931)),Promise.resolve().then(r.bind(r,30108)),Promise.resolve().then(r.bind(r,89936)),Promise.resolve().then(r.t.bind(r,31751,23))},67691:(e,t,r)=>{"use strict";r.d(t,{TypeSwitch:()=>h});var l=r(98810),i=r(13089),s=r(5667),n=r(48680),o=r(34392),a=r(14732),d=r(29904),u=r(57180);let h=()=>{var e;let t=(0,o.useSearchParams)(),r=(0,o.useRouter)(),h=(0,o.usePathname)(),v=(0,l.H)(),c=null!==(e=null==t?void 0:t.get("type"))&&void 0!==e?e:"all",m="word-parts"===c,b=(0,a.useTranslations)("searchResultPage.category"),p=(0,d.useRef)(null);return(0,d.useEffect)(()=>{if(!p.current)return;let e=p.current.querySelector("[data-selected=true]");if(!e)return;let t=p.current,r=t.getBoundingClientRect(),l=e.getBoundingClientRect(),i=e.nextElementSibling,s=t.scrollLeft+l.left-r.left-r.width/2+l.width/2;if(i&&!m){let e=i.getBoundingClientRect().width/2;s=Math.min(s,t.scrollLeft+l.right-r.left-r.width/3+e)}t.scrollTo({left:s,behavior:"smooth"})},[c,m]),(0,u.jsxs)("div",{className:"relative",children:[(0,u.jsx)("div",{ref:p,className:"overflow-x-auto max-w-full scrollbar-hide pr-24 lg:pr-0",children:(0,u.jsxs)(i.r,{"aria-label":"search type",variant:v?"solid":"underlined",color:"primary",selectedKey:c,onSelectionChange:function(e){var l;r.push("".concat(h,"?type=").concat(e,"&q=").concat(null!==(l=null==t?void 0:t.get("q"))&&void 0!==l?l:""),{scroll:!0})},classNames:{base:"",tab:"text-xl px-2 text-davis-gray",tabContent:"group-data-[selected=true]:font-bold ".concat(v?"group-data-[selected=true]:text-white dark:group-data-[selected=true]:text-black":"")},children:[(0,u.jsx)(s.i,{title:b("all")},"all"),(0,u.jsx)(s.i,{title:b("name")},"name"),(0,u.jsx)(s.i,{title:b("phrase")},"phrase"),(0,u.jsx)(s.i,{title:b("root")},"root"),(0,u.jsx)(s.i,{title:b("wordPart")},"word-parts")]})}),!m&&(0,u.jsx)("div",{className:"absolute right-0 top-0 bottom-0 w-12 bg-gradient-to-l from-background to-transparent pointer-events-none"}),(0,u.jsx)(n.y,{className:"-my-1 "})]})}},81190:(e,t,r)=>{"use strict";r.d(t,{default:()=>v});var l=r(29904),i=r(38642),s=r(52696),n=r(14965),o=r(40321),a=r(34392),d=r(98810),u=r(14732),h=r(57180);function v(e){let t=(0,a.useRouter)(),r=(0,a.usePathname)(),v=(0,a.useSearchParams)(),c=(0,l.useCallback)((e,t)=>{var r;let l=new URLSearchParams(null!==(r=null==v?void 0:v.toString())&&void 0!==r?r:"");return l.set(e,t),l.toString()},[v]),m=e=>{t.push(r+"?"+c("page",String(e)),{scroll:!0})},b=(0,d.H)(),p={hover:"hover:bg-primary hover:text-white",item:"data-[active=true]:text-white border-secondary hover:bg-primary hover:text-white data-[active=true]:bg-primary",cursor:"text-white"},y=(0,u.useTranslations)("global.pagination");return b?(0,h.jsxs)(s.x,{className:"grid grid-cols-2 place-content-center gap-2 py-4",children:[(0,h.jsx)(n.T,{radius:"sm",isDisabled:e.first,variant:"light",startContent:(0,h.jsx)(i.E_E,{className:"w-6 h-6"}),className:"text-primary !bg-focus hover:text-primary-500 font-bold disabled:opacity-50 disabled:cursor-not-allowed",onPress:()=>{m(e.page-1)},children:y("previous")}),(0,h.jsx)(n.T,{radius:"sm",isDisabled:e.last,variant:"light",endContent:(0,h.jsx)(i.xVu,{className:"w-6 h-6"}),className:"text-primary !bg-focus hover:text-primary-500 font-bold disabled:opacity-50 disabled:cursor-not-allowed",onPress:()=>{m(e.page+1)},children:y("next")})]}):(0,h.jsx)(o.T,{showControls:!0,total:e.total_pages,page:e.page,className:"grid place-content-center gap-2 font-mono py-8 [& button]:join-item [& button:hover]:bg-primary [& button:hover]:text-secondary",radius:"sm",variant:"bordered",classNames:{item:p.item,cursor:p.cursor,prev:p.hover,next:p.hover},onChange:m})}},43398:(e,t,r)=>{"use strict";r.d(t,{q:()=>s});var l=r(29904);function i(e){return null}i.getCollectionNode=function*(e,t){let{childItems:r,title:i,children:s}=e,n=e.title||e.children,o=e.textValue||("string"==typeof n?n:"")||e["aria-label"]||"";o||(null==t?void 0:t.suppressTextValueWarning)||console.warn("<Item>
1 with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:n,textValue:o,"aria-label":e["aria-label"],hasChildNodes:null!=e.hasChildItems?e.hasChildItems:!!(e.childItems||e.title&&l.Children.count(e.children)>0),*childNodes(){if(r)for(let e of r)yield{type:"item",value:e};else if(i){let e=[];l.Children.forEach(s,t=>{e.push({type:"item",element:t})}),yield*e}}}};let s=i},38179:(e,t,r)=>{"use strict";r.d(t,{p:()=>a});class l{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.nextKey)&&void 0!==t?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!==(t=this.keyMap.get(e))&&void 0!==t?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)r(t)};for(let t of e)r(t);let l=null,i=0;for(let[e,t]of this.keyMap)l?(l.nextKey=e,t.prevKey=l.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),(l=t).nextKey=void 0;this.lastKey=null!==(t=null==l?void 0:l.key)&&void 0!==t?t:null}}var i=r(40294),s=r(9515),n=r(29904),o=r(47571);function a(e){let{filter:t,layoutDelegate:r}=e,a=(0,i.R)(e),d=(0,n.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),u=(0,n.useCallback)(e=>new l(t?t(e):e),[t]),h=(0,n.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),v=(0,o.G)(e,u,h),c=(0,n.useMemo)(()=>new s.Y(v,a,{layoutDelegate:r}),[v,a,r]);return function(e,t){let r=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&r.current){var l,i,s,n,o,a,d;let u=r.current.getItem(t.focusedKey),h=[...r.current.getKeys()].map(e=>{let t=r.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),v=[...e.getKeys()].map(t=>{let r=e.getItem(t);return(null==r?void 0:r.type)==="item"?r:null}).filter(e=>null!==e),c=(null!==(l=null==h?void 0:h.length)&&void 0!==l?l:0)-(null!==(i=null==v?void 0:v.length)&&void 0!==i?i:0),m=Math.min(c>1?Math.max((null!==(s=null==u?void 0:u.index)&&void 0!==s?s:0)-c+1,0):null!==(n=null==u?void 0:u.index)&&void 0!==n?n:0,(null!==(o=null==v?void 0:v.length)&&void 0!==o?o:0)-1),b=null,p=!1;for(;m>=0;){if(!t.isDisabled(v[m].key)){b=v[m];break}m<v.length-1&&!p?m++:(p=!0,m>(null!==(a=null==u?void 0:u.index)&&void 0!==a?a:0)&&(m=null!==(d=null==u?void 0:u.index)&&void 0!==d?d:0),m--)}t.setFocusedKey(b?b.key:null)}r.current=e},[e,t])}(v,c),{collection:v,disabledKeys:d,selectionManager:c}}}},e=>{var t=t=>e(e.s=t);e.O(0,[5776,485,5728,5716,8725,6027,9048,4965,7748,1751,3704,9380,3694,6402,1504,5932,2157,3027,15,8023,4601,3499,164,4039,5625,4960,3347,7755,9026,8600,6259,7358],()=>t(54393)),_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.