PageSourceSearch

https://www.unitedlabsinc.com/_next/static/chunks/app/search/page-e08ab816c672c173.js

js unitedlabsinc.com collected 2026-10-04 05:03:52 UTC 19,866 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2959],{651:(e,t,r)=>{"use strict";r.d(t,{GL:()=>b,No:()=>g,Q_:()=>x,Qt:()=>y,Yk:()=>v,o3:()=>s});var n=r(12115),i=r(56724),l=r(94865);let a=i.UR.map(e=>({...e,prefix:(e=>e.length?e[0].toUpperCase()+e.slice(1):e)(e.id)})),o={id:l.T2,name:l.fp,projectUrl:"",license:"",licenseUrl:"",prefix:""},s=[...a,o],u={},c=new Set(a.map(e=>e.id)),d=new Set(["default","IconContext","IconBase","GenericIcon"]),h={ai:()=>r.e(3380).then(r.bind(r,56692)),bi:()=>r.e(3873).then(r.bind(r,50742)),bs:()=>r.e(8087).then(r.bind(r,6092)),cg:()=>r.e(3603).then(r.bind(r,47063)),ci:()=>r.e(8520).then(r.bind(r,9577)),di:()=>r.e(5291).then(r.bind(r,21360)),fa:()=>r.e(6711).then(r.bind(r,70898)),fa6:()=>r.e(6446).then(r.bind(r,33828)),fc:()=>r.e(134).then(r.bind(r,87344)),fi:()=>r.e(844).then(r.bind(r,28122)),gi:()=>r.e(7672).then(r.bind(r,92253)),go:()=>r.e(2202).then(r.bind(r,53483)),gr:()=>r.e(585).then(r.bind(r,91694)),hi:()=>r.e(4777).then(r.bind(r,30308)),hi2:()=>r.e(5760).then(r.bind(r,42018)),im:()=>r.e(5271).then(r.bind(r,74667)),io:()=>r.e(4206).then(r.bind(r,74233)),io5:()=>r.e(512).then(r.bind(r,42878)),lia:()=>r.e(4613).then(r.bind(r,84197)),lu:()=>r.e(2150).then(r.bind(r,53380)),md:()=>r.e(5479).then(r.bind(r,57830)),pi:()=>r.e(4506).then(r.bind(r,6172)),ri:()=>r.e(9204).then(r.bind(r,10630)),rx:()=>r.e(8429).then(r.bind(r,95455)),si:()=>r.e(2362).then(r.bind(r,50457)),sl:()=>r.e(5891).then(r.bind(r,16052)),tb:()=>r.e(5897).then(r.bind(r,59475)),tfi:()=>r.e(5456).then(r.bind(r,71980)),ti:()=>r.e(7128).then(r.bind(r,35200)),vsc:()=>r.e(7949).then(r.bind(r,46079)),wi:()=>r.e(9752).then(r.bind(r,74157))},f=e=>{var t;return c.has(e)&&h[e]?(u[e]||(u[e]=h[e]()),null!=(t=u[e])?t:Promise.resolve(null)):Promise.resolve(null)},p=[...a].sort((e,t)=>t.prefix.length-e.prefix.length),x=e=>{if(e)return(0,l.CU)(e)?o:p.find(t=>e.toLowerCase().startsWith(t.prefix.toLowerCase()))},m=async e=>{if(e===l.T2)return l.B2;let t=await f(e);if(!t)return[];let r=a.find(t=>t.id===e);if(!r)return[];let n=r.prefix;return Object.keys(t).filter(e=>{if(d.has(e)||"function"!=typeof t[e]||!e.toLowerCase().startsWith(n.toLowerCase())||e.length<=n.length)return!1;let r=e[n.length];return!(!r||/[a-zA-Z]/.test(r)&&r!==r.toUpperCase())}).sort()},g=async e=>{if(!e||d.has(e))return null;if((0,l.CU)(e))return(0,l.xe)(e);let t=x(e);if(!t||!e.toLowerCase().startsWith(t.prefix.toLowerCase()))return null;let r=await f(t.id);if(!r)return null;let n=r[e];return((e,t,r)=>{if("function"!=typeof e||r.length<=t.length)return!1;let n=r[t.length];return!(!n||/[a-zA-Z]/.test(n)&&n!==n.toUpperCase())})(n,t.prefix,e)?n:null},b=e=>{let[t,r]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let t=!1;return(r(null),e)?(g(e).then(e=>{t||r(()=>e)}),()=>{t=!0}):()=>{t=!0}},[e]),t},y="__all__",j=async()=>{let e=s.map(e=>m(e.id));return(await Promise.all(e)).flat().sort()},v=e=>
1{let[t,r]=(0,n.useState)([]),[i,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=!1;return e?(l(!0),(e===y?j():m(e)).then(e=>{t||(r(e),l(!1))}),()=>{t=!0,l(!1)}):(r([]),l(!1),()=>{t=!0})},[e]),(0,n.useMemo)(()=>({iconNames:t,loading:i}),[t,i])}},26628:(e,t,r)=>{"use strict";r.d(t,{default:()=>J});var n=r(95155),i=r(12115),l=r(66245),a=r(80357),o=r(97179),s=r(80317),u=r(50355),c=r(34782),d=r(24288),h=r(74193),f=r(98638),p=r(75970),x=r(16511),m=r(85094),g=r(27481),b=r(19758),y=r(84569),j=r(71673),v=r(51117),w=r(85756),C=r(15239),I=r(57830),k=r(56107),S=r.n(k),A=r(70418),L=r(80925),E=r(78592),_=r(96869),W=r(41407),R=r(35675),P=r(6504),U=r(22133),O=r(98274);function z(e){let{status:t,answer:r,grounding:i,compact:l=!1}=e,o=(0,W.I)();if("idle"===t||"empty"===t)return null;let u=l?1.5:2.5;if("loading"===t)return(0,n.jsxs)(p.default,{variant:"outlined",sx:{display:"flex",alignItems:"center",gap:1.25,p:u,borderColor:"primary.main",bgcolor:"background.paper"},children:[(0,n.jsx)(f.default,{size:l?18:22,color:"primary"}),(0,n.jsx)(s.default,{variant:l?"body2":"body1",color:"text.secondary",children:"Generating intelligent answer..."})]});if(!r)return null;let c=function(e){let t=new Set;return e.filter(e=>!(!e.objectID||!e.title.trim()||!e.type.trim()||!function(e){if(e.startsWith("/")&&!e.startsWith("//"))return!0;try{let t=new URL(e);return"https:"===t.protocol||"http:"===t.protocol}catch(e){return!1}}(e.url)||t.has(e.objectID))&&(t.add(e.objectID),!0))}(i),d=new Set(c.map(e=>e.url));return(0,n.jsx)(R.P.div,{initial:!o&&{opacity:0,y:12},animate:{opacity:1,y:0},transition:o?{duration:0}:{duration:.28},children:(0,n.jsx)(p.default,{variant:"outlined",sx:{p:u,borderColor:"primary.main",borderLeft:"4px solid",borderLeftColor:"coral.main",bgcolor:"background.paper"},children:(0,n.jsxs)(_.default,{spacing:l?1:1.5,children:[(0,n.jsxs)(_.default,{direction:"row",spacing:.75,alignItems:"center",children:[(0,n.jsx)(a.default,{sx:{color:"coral.main",display:"flex"},children:(0,n.jsx)(O.v,{name:"HiSparkles",size:l?18:20})}),(0,n.jsx)(s.default,{variant:l?"subtitle2":"h6",color:"primary.main",children:"Suggested answer"})]}),(0,n.jsx)(a.default,{sx:{color:"text.primary",fontSize:l?"0.875rem":"1rem","& p":{m:0,"& + &":{mt:1}},"& ul, & ol":{my:.75,pl:3},"& li + li":{mt:.25}},children:(0,n.jsx)(P.oz,{remarkPlugins:[U.A],components:{a:e=>{let{href:t,children:r}=e;return t&&d.has(t)?(0,n.jsx)(E.A,{href:t,color:"primary.main",children:r}):(0,n.jsx)(n.Fragment,{children:r})},img:()=>null},children:r})}),c.length>0&&(0,n.jsx)(_.default,{direction:"row",spacing:.75,useFlexGap:!0,flexWrap:"wrap",children:c.map(e=>(0,n.jsx)(h.default,{component:E.A,href:e.url,label:e.title,size:"small",variant:"outlined",color:"primary",clickable:!0,sx:{maxWidth:"100%"}},e.objectID))})]})})})}var M=r(90336);function T(e){return e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}function B(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function D(e){return Array.from(new Set(e.trim().split(/\s+/).map(e=>e.trim()).filter(Boolean))).slice(0,8)}function N(e,t){var r;return null==(r=e._snippetResult)?void 0:r[t]}function q(e,t){let r=N(e,t);return!!((null==r?void 0:r.value)&&"none"!==r.matchLevel)}function F(e){let{text:t}=e,r=S().decode(t).replace(/<em\b[^>]*>/gi,"<mark>").replace(/<\/em\s*>/gi,"</mark>").replace(/<(?!\/?mark>)[^>]*>/gi," ").replace(/\s+/g," ").trim().split(/(<\/?mark>)/gi),l=0;return(0,n.jsx)(n.Fragment,{children:r.map((e,t)=>"<mark>"===e.toLowerCase()?(l+=1,null):"</mark>"===e.toLowerCase()?(l=Math.max(0,l-1),null):l>0?(0,n.jsx)("mark",{children:e},"".concat(e,"-").concat(t)):(0,n.jsx)(i.Fragment,{children:e},"".concat(e,"-").concat(t)))})}function G(e){let{text:t,query:r}=e,l=D(r);if(0===l.length)return(0,n.jsx)(n.Fragment,{children:t});let a=RegExp("(".concat(l.map(B).sort((e,t)=>t.length-e.length).join("|"),")"),"gi"),o=new Set(l.map(e=>e.toLowerCase()));return(0,n.jsx)(n.Fragment,{children:t.split(a).map((e,t)=>o.has(e.toLowerCase())?(0,n.jsx)("mark",{children:e},"".concat(e,"-").concat(t)):(0,n.jsx)(i.Fragment,{children:e},"".concat(e,"-").concat(t)))})}let Q={stateToRoute(e){let t=e[A.b8];return{q:(null==t?void 0:t.query)||void 0}},routeToState(e){var t;return{[A.b8]:{query:null!=(t=e.q)?t:""}}}};function V(e){let{query:t,onQueryChange:r,onSubmit:i}=e;return(0,n.jsx)(a.default,{component:"form",onSubmit:e=>{e.preventDefault(),i(),r(t)},children:(0,n.jsx)(u.A,{fullWidth:!0,size:"medium",value:t,onChange:e=>r(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),i(),r(t))},placeholder:"Search products, articles, and more…",sx:{"& .MuiOutlinedInput-root":{borderRadius:"0.75rem",bgcolor:"background.paper",border:"1px solid",borderColor:"divider",transition:"border-color 0.2s, box-shadow 0.2s","&:hover":{borderColor:"primary.main"},"&.Mui-focused":{borderColor:"primary.main",boxShadow:e=>"0 0 0 3px ".concat(e.palette.primary.main,"22")},"& fieldset":{border:"none"}}},slotProps:{input:{startAdornment:(0,n.jsx)(c.A,{position:"start",children:(0,n.jsx)(d.A,{"aria-label":"submit search",size:"small",onClick:()=>{i(),r(t)},edge:"start",children:(0,n.jsx)(I.MdSearch,{size:24})})}),endAdornment:t?(0,n.jsx)(c.A,{position:"end",children:(0,n.jsx)(d.A,{"aria-label":"clear search",size:"small",onClick:()=>r(""),edge:"end",children:(0,n.jsx)(I.MdClose,{size:18})})}):null}}})})}function H(e){var t,r;let{hit:i,query:l}=e,o=q(i,"text")?"text":q(i,"description")?"description":null,u=o?"":function(e,t){let r=function(e,t){let r=T(null!=e?e:""),n=D(t);if(!r||0===n.length)return null;let i=r.toLowerCase(),l=n.reduce((e,t)=>
1{let r=i.indexOf(t.toLowerCase());return r<0?e:e<0?r:Math.min(e,r)},-1);if(l<0)return null;let a=Math.max(0,l-Math.floor(110)),o=Math.min(r.length,a+220);if(o-a<220&&(a=Math.max(0,o-220)),a>0){let e=r.indexOf(" ",a);e>a&&e<l&&(a=e+1)}if(o<r.length){let e=r.lastIndexOf(" ",o);e>l&&(o=e)}let s=a>0?"… ":"",u=o<r.length?" …":"";return"".concat(s).concat(r.slice(a,o).trim()).concat(u)}(e.text,t);return r||function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:220;return e.length<=t?e:"".concat(e.slice(0,t).trimEnd(),"…")}(T(e.description||e.text||""))}(i,l);return(0,n.jsx)(E.A,{href:i.url||"#",underline:"none",color:"inherit",sx:{display:"block",borderBottom:"1px solid",borderColor:"divider","&:hover":{bgcolor:"action.hover"},transition:"background-color 0.15s",borderRadius:1},children:(0,n.jsxs)(a.default,{sx:{display:"flex",alignItems:"flex-start",gap:1.5,py:1.5,px:{xs:1,sm:2}},children:[i.image?(0,n.jsx)(a.default,{sx:{width:48,height:48,borderRadius:1,overflow:"hidden",flexShrink:0,bgcolor:"grey.100"},children:(0,n.jsx)(C.default,{src:i.image,alt:i.title,width:48,height:48,style:{objectFit:"cover",width:"100%",height:"100%"}})}):(0,n.jsx)(a.default,{sx:{width:48,height:48,borderRadius:1,flexShrink:0,bgcolor:"grey.100",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,n.jsx)(I.MdSearch,{size:20,style:{opacity:.3}})}),(0,n.jsxs)(a.default,{sx:{minWidth:0,flex:1},children:[(0,n.jsx)(s.default,{variant:"body1",fontWeight:600,component:"div",children:(0,n.jsx)(m.f,{hit:i,attribute:"title",highlightedTagName:"mark"})}),(o||u)&&(0,n.jsx)(s.default,{variant:"body2",color:"text.secondary",component:"div",sx:{mt:.25},children:o?(0,n.jsx)(F,{text:null!=(r=null==(t=N(i,o))?void 0:t.value)?r:""}):(0,n.jsx)(G,{text:u,query:l})})]})]})})}function Y(e){let{query:t}=e,{hits:r,isLastPage:l,showMore:o}=(0,g.q)(),{status:u}=(0,b.J)(),c=(0,i.useRef)(null),d=t.trim();return((0,i.useEffect)(()=>{let e=c.current;if(!e)return;let t=new IntersectionObserver(e=>{var t;(null==(t=e[0])?void 0:t.isIntersecting)&&!l&&o()},{rootMargin:"200px"});return t.observe(e),()=>t.disconnect()},[l,o]),d)?("loading"===u||"stalled"===u)&&0===r.length&&d?(0,n.jsx)(a.default,{sx:{display:"flex",justifyContent:"center",py:6},children:(0,n.jsx)(f.default,{})}):d&&0===r.length&&"idle"===u?(0,n.jsxs)(a.default,{sx:{display:"flex",flexDirection:"column",alignItems:"center",py:8,color:"text.secondary"},children:[(0,n.jsxs)(s.default,{variant:"body1",fontWeight:600,children:["No results for “",d,"”"]}),(0,n.jsx)(s.default,{variant:"body2",sx:{mt:1},children:"Try different keywords or check your spelling."})]}):(0,n.jsxs)(a.default,{sx:{"& mark":{bgcolor:"primary.main",color:"white",borderRadius:"2px",px:"2px",fontStyle:"normal"}},children:[r.map(e=>(0,n.jsx)(H,{hit:e,query:t},e.objectID)),(0,n.jsx)("div",{ref:c,style:{height:1}}),!l&&r.length>0&&(0,n.jsx)(f.default,{size:24,sx:{display:"block",mx:"auto",my:2}}),l&&r.length>0&&(0,n.jsx)(s.default,{variant:"caption",color:"text.secondary",sx:{display:"block",textAlign:"center",my:2},children:"All results loaded"})]}):(0,n.jsxs)(a.default,{sx:{display:"flex",flexDirection:"column",alignItems:"center",py:8,color:"text.secondary"},children:[(0,n.jsx)(I.MdSearch,{size:64,style:{opacity:.2,marginBottom:16}}),(0,n.jsx)(s.default,{variant:"body1",children:"Enter a search term to get started."})]})}function X(e){let{activeQuery:t,onSelect:r,onVisibilityChange:l}=e,{items:o}=(0,y.u)(),u=t.trim().toLowerCase(),c=o.filter(e=>{var t;return null==(t=e.query)?void 0:t.trim()}).filter(e=>e.query.trim().toLowerCase()!==u).slice(0,10);return((0,i.useEffect)(()=>
1{l(!!(u&&c.length))},[u,l,c.length]),u&&c.length)?(0,n.jsxs)(p.default,{variant:"outlined",sx:{p:2,borderRadius:2},children:[(0,n.jsx)(s.default,{variant:"overline",display:"block",gutterBottom:!0,children:"Related Searches"}),(0,n.jsx)(a.default,{sx:{display:"flex",flexWrap:"wrap",gap:1},children:c.map(e=>(0,n.jsx)(h.default,{label:e.query,clickable:!0,variant:"outlined",size:"small",onClick:()=>r(e.query)},e.objectID))})]}):null}function Z(e){let{activeQuery:t,onSelect:r,onVisibilityChange:l}=e,a=t.trim();return((0,i.useEffect)(()=>{a||l(!1)},[l,a]),a)?(0,n.jsxs)(j.j,{indexName:A.Fn,children:[(0,n.jsx)(v.Z,{hitsPerPage:10,query:a}),(0,n.jsx)(X,{activeQuery:a,onSelect:r,onVisibilityChange:l})]}):null}function K(){let{query:e,refine:t}=(0,w.V)(),r=(0,M.G)(e),[s,u]=(0,i.useState)(!1),c=e.trim(),d=!!(c&&s);return(0,n.jsxs)(l.default,{maxWidth:"lg",sx:{py:{xs:4,md:6}},children:[(0,n.jsx)(L.A,{title:"Full Site Search",align:"left",headingLevel:"h1"}),(0,n.jsx)(V,{query:e,onQueryChange:t,onSubmit:r.triggerNow}),(0,n.jsx)(a.default,{sx:{mt:2},children:(0,n.jsx)(z,{status:r.status,answer:r.answer,grounding:r.grounding})}),(0,n.jsxs)(o.default,{container:!0,spacing:3,sx:{mt:2,minHeight:"100vh"},children:[(0,n.jsx)(o.default,{size:{xs:12,md:d?8:12},children:(0,n.jsx)(Y,{query:e})}),c&&(0,n.jsx)(o.default,{size:{xs:12,md:4},sx:{display:d?"block":"none"},children:(0,n.jsx)(Z,{activeQuery:c,onSelect:t,onVisibilityChange:u})})]})]})}function J(){if(!A.QV)return(0,n.jsx)(l.default,{maxWidth:"lg",sx:{py:{xs:4,md:6},textAlign:"center"},children:(0,n.jsx)(s.default,{variant:"body1",color:"text.secondary",children:"Search is currently unavailable."})});let e=(0,A.cb)();return(0,n.jsxs)(x.V,{searchClient:e,indexName:A.b8,routing:{router:{cleanUrlOnDispose:!1},stateMapping:Q},future:{preserveSharedStateOnUnmount:!0},children:[(0,n.jsx)(v.Z,{hitsPerPage:20,attributesToSnippet:["description:30","text:40"],snippetEllipsisText:"…",removeWordsIfNoResults:"allOptional"}),(0,n.jsx)(K,{})]})}},42634:()=>{},70418:(e,t,r)=>{"use strict";r.d(t,{Fn:()=>s,QV:()=>i,b8:()=>o,cb:()=>a});var n=r(23434);let i=!0,l=null;function a(){if(!l){if(!i)throw Error("Algolia is not configured. Ensure NEXT_PUBLIC_ALGOLIA_APP_ID and NEXT_PUBLIC_ALGOLIA_SEARCH_KEY are set.");l=(0,n.p)("YWRU88E84M","3801f00e5b9479aa972052dd3688a5cc")}return l}(0,n.p)("YWRU88E84M","3801f00e5b9479aa972052dd3688a5cc");let o="prod_unitedlabsinc_search",s="prod_unitedlabsinc_search_query_suggestions"},73083:(e,t,r)=>{Promise.resolve().then(r.bind(r,26628))},78592:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(95155);r(12115);var i=r(37440),l=r(52619),a=r.n(l),o=r(87358);function s(e){if(!e)return null;try{return new URL(e).origin}catch(e){return null}}let u=function(e){let{href:t,children:r,underline:l="hover",color:u="primary",prefetch:c,replace:d,scroll:h,shallow:f,locale:p,externalNewTab:x=!0,target:m,rel:g,...b}=e;if(!function(e){var t,r;if("string"!=typeof e)return!0;if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("#")||e.startsWith("tel:")||e.startsWith("mailto:")||e.startsWith("fax:")||function(e){let t=e.toLowerCase();return t.startsWith("mailto:")||t.startsWith("tel:")}(e)||e.startsWith("//"))return!1;if(/^https?:\/\//i.test(e))try{let n=new URL(null!=(r=null!=(t=s(o.env.AMPLIFY_APP_ORIGIN))?t:s(o.env.NEXT_PUBLIC_BASE_URL))?r:"https://unitedlabsinc.com"),i=new URL(e);return n.origin!==i.origin}catch(e){return!0}return!1}(t))return(0,n.jsx)(i.default,{component:a(),href:t,underline:l,color:u,...{href:t,prefetch:c,replace:d,scroll:h,shallow:f,locale:p},...b,children:r});let y="string"==typeof m?m:x?"_blank":void 0,j="_blank"===y?Array.from(new Set("".concat(null!=g?g:""," ").concat("noopener noreferrer").split(/\s+/).map(e=>e.trim()).filter(Boolean))).join(" "):null!=g?g:void 0,v="string"==typeof t?t:String(t);return(0,n.jsx)(i.default,{href:v,underline:l,color:u,target:y,rel:j,...b,children:r})}},80925:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(95155),i=r(80357),l=r(80317);let a=e=>{let{title:t,subtitle:r,align:a="center",headingLevel:o="h1",titleVariant:s="h2",subt
1itleVariant:u="body1",sx:c,titleSx:d,subtitleSx:h}=e;return(0,n.jsxs)(i.default,{component:"header",sx:{textAlign:a,py:{xs:4,md:6},...c},children:[(0,n.jsx)(l.default,{variant:s,component:o,color:"coral",gutterBottom:!0,sx:{fontWeight:600,...d},children:t}),r&&(0,n.jsx)(l.default,{component:"p",variant:u,color:"text.secondary",sx:{maxWidth:720,mx:"center"===a?"auto":void 0,...h},children:r})]})}},90336:(e,t,r)=>{"use strict";r.d(t,{G:()=>u});var n=r(12115);function i(e){return e.trim().split(/\s+/).filter(Boolean).length}function l(e){return e.trim().toLowerCase().replace(/\s+/g," ")}let a=new Map,o={status:"idle",answer:null,grounding:[]};function s(e){return{status:e.answer?"ready":"empty",answer:e.answer,grounding:e.grounding}}function u(e){let[t,r]=(0,n.useState)(o),u=(0,n.useRef)(null),c=(0,n.useRef)(null),d=(0,n.useRef)(0),h=(0,n.useRef)(e);h.current=e;let f=(0,n.useCallback)(()=>{u.current&&(globalThis.clearTimeout(u.current),u.current=null)},[]),p=(0,n.useCallback)(async e=>{var t;let n=l(e);if(!n||3>i(e))return void r(o);f();let u=++d.current;null==(t=c.current)||t.abort();let p=a.get(n);if(p){u===d.current&&l(h.current)===n&&r(s(p));return}let x=new AbortController;c.current=x,r({...o,status:"loading"});try{let t=await fetch("/api/search/ai",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:e}),signal:x.signal}),i=await t.json();if(!(i&&"object"==typeof i&&("string"==typeof i.answer||null===i.answer)&&"boolean"==typeof i.cached&&Array.isArray(i.grounding)&&i.grounding.every(e=>!!e&&"object"==typeof e&&"string"==typeof e.objectID&&"string"==typeof e.title&&"string"==typeof e.url&&"string"==typeof e.type&&(void 0===e.image||null===e.image||"string"==typeof e.image))))throw Error("Invalid AI search response.");a.set(n,i),u===d.current&&l(h.current)===n&&r(s(i))}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;u===d.current&&l(h.current)===n&&r({...o,status:"empty"})}finally{c.current===x&&(c.current=null)}},[f]);(0,n.useEffect)(()=>{var t;return(f(),null==(t=c.current)||t.abort(),c.current=null,d.current+=1,3>i(e))?void r(o):(r(o),u.current=globalThis.setTimeout(()=>{u.current=null,p(e)},700),f)},[f,e,p]),(0,n.useEffect)(()=>()=>{var e;f(),null==(e=c.current)||e.abort()},[f]);let x=(0,n.useCallback)(()=>{f(),p(h.current)},[f,p]);return{...t,triggerNow:x}}},94865:(e,t,r)=>{"use strict";r.d(t,{B2:()=>j,CU:()=>w,T2:()=>g,fp:()=>b,xe:()=>C});var n=r(95155),i=r(3074),l=r(41340),a=r(7812),o=r(73938),s=r(74676),u=r(78803),c=r(78153),d=r(16345),h=r(13133),f=r(2783),p=r(26905),x=r(24517),m=r(12938);let g="united-labs-custom",b="United Labs Custom Icons",y={BioBasedIconCircled:i.R,EnviroEarthIcon:l.X,EnviroEarthIconCircled:a.T,GallonIcon:o.d,HomeIcon:s.f,InfoBubbleIcon:u.o,PlusIcon:c.c,SeasonsIconCircled:d.u,WaterDropIconCircled:h.K,PeopleNetIcon:f.Q,CAPIcon:p.o,PeopleGearIcon:x.O,SDSNotebookIcon:m.H},j=Object.keys(y).sort(),v=Object.fromEntries(Object.entries(y).map(e=>{let[t,r]=e;return[t,function(e){let{size:t,color:i,title:l,style:a,...o}=e;return(0,n.jsx)(r,{...o,titleAccess:l,style:{...void 0!==t?{fontSize:t}:null,...i?{color:i}:null,...a}})}]})),w=e=>!!(e&&y[e]),C=e=>{var t;return e&&null!=(t=v[e])?t:null}},98274:(e,t,r)=>{"use strict";r.d(t,{v:()=>l});var n=r(12115),i=r(651);function l(e){let{name:t,...r}=e,l=(0,i.GL)(t);if(!l||"function"!=typeof l)return null;try{return(0,n.createElement)(l,r)}catch(e){return null}}}},e=>{e.O(0,[5479,9668,6841,9734,7179,6373,1476,2619,5826,4193,5383,1356,1404,355,5675,4626,2758,5058,6977,3251,8441,1255,7358],()=>e(e.s=73083)),_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.