(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[555],{45506:function(e,r,t){Promise.resolve().then(t.bind(t,762))},762:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return o}});var n=t(57437),s=t(2265);let a=s.forwardRef(function({title:e,titleId:r,...t},n){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":r},t),e?s.createElement("title",{id:r},e):null,s.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 100 13.5 6.75 6.75 0 000-13.5zM2.25 10.5a8.25 8.25 0 1114.59 5.28l4.69 4.69a.75.75 0 11-1.06 1.06l-4.69-4.69A8.25 8.25 0 012.25 10.5z",clipRule:"evenodd"}))});var l=t(24033);function o(e){let{disabled:r}=e,{replace:t}=(0,l.useRouter)(),o=(0,l.usePathname)(),[i,c]=(0,s.useTransition)();return(0,n.jsxs)("div",{className:"relative mt-5 max-w-md",children:[(0,n.jsx)("label",{htmlFor:"search",className:"sr-only",children:"Search"}),(0,n.jsxs)("div",{className:"rounded-md shadow-sm",children:[(0,n.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3","aria-hidden":"true",children:(0,n.jsx)(a,{className:"mr-3 h-4 w-4 text-gray-400","aria-hidden":"true"})}),(0,n.jsx)("input",{type:"text",name:"search",id:"search",disabled:r,className:"h-10 block w-full rounded-md border border-gray-200 pl-9 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm",placeholder:"Search by name...",spellCheck:!1,onChange:e=>(function(e){let r=new URLSearchParams(window.location.search);e?r.set("q",e):r.delete("q"),c(()=>{t("".concat(o,"?").concat(r.toString()))})})(e.target.value)})]}),i&&(0,n.jsx)("div",{className:"absolute right-0 top-0 bottom-0 flex items-center justify-center",children:(0,n.jsxs)("svg",{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-gray-700",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})]})}},30622:function(e,r,t){"use strict";/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=t(2265),s=Symbol.for("react.element"),a=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,t){var n,a={},c=null,d=null;for(n in void 0!==t&&(c=""+t),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)l.call(r,n)&&!i.hasOwnProperty(n)&&(a[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===a[n]&&(a[n]=r[n]);return{$$typeof:s,type:e,key:c,ref:d,props:a,_owner:o.current}}r.Fragment=a,r.jsx=c,r.jsxs=c},57437:function(e,r,t){"use strict";e.exports=t(30622)},24033:function(e,r,t){e.exports=t(20290)}},function(e){e.O(0,[971,864,744],function(){return e(e.s=45506)}),_N_E=e.O()}]);