1import{r as u,L as U}from"./vendor-react-aMKJrssV.js";import{s as W}from"./index-CMCAsyqu.js";import{J as B,K as H}from"./index-DQ5XgqgM.js";import{j as f}from"./vendor-ui-x7D0iLe8.js";const $=(e,t,s,c)=>{const i=[s,{code:t,...c||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);x(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},T={},S=(e,t,s,c)=>{x(s)&&T[s]||(x(s)&&(T[s]=new Date),$(e,t,s,c))},P=(e,t)=>()=>{if(e.isInitialized)t();else{const s=()=>{setTimeout(()=>{e.off("initialized",s)},0),t()};e.on("initialized",s)}},E=(e,t,s)=>{e.loadNamespaces(t,P(e,s))},O=(e,t,s,c)=>{if(x(s)&&(s=[s]),e.options.preload&&e.options.preload.indexOf(t)>-1)return E(e,s,c);s.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,P(e,c))},G=(e,t,s={})=>!t.languages||!t.languages.length?(S(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:s.lng,precheck:(c,i)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&c.services.backendConnector.backend&&c.isLanguageChangingTo&&!i(c.isLanguageChangingTo,e))return!1}}),x=e=>typeof e=="string",Y=e=>typeof e=="object"&&e!==null,J=u.createContext();class K{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(s=>{this.usedNamespaces[s]||(this.usedNamespaces[s]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const X=(e,t)=>{if(x(t))return t;if(Y(t)&&x(t.defaultValue))return t.defaultValue;if(typeof e=="function")return"";if(Array.isArray(e)){const s=e[e.length-1];return typeof s=="function"?"":s}return e},Z={t:X,ready:!1},D=()=>()=>{},ae=(e,t={})=>{const{i18n:s}=t,{i18n:c,defaultNS:i}=u.useContext(J)||{},n=s||c||H();n&&!n.reportNamespaces&&(n.reportNamespaces=new K),n||S(n,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const g=u.useMemo(()=>({...B(),...n?.options?.react,...t}),[n,t]),{useSuspense:h,keyPrefix:b}=g,y=i||n?.options?.defaultNS,_=x(y)?[y]:y||["translation"],d=u.useMemo(()=>_,_);n?.reportNamespaces?.addUsedNamespaces?.(d);const C=u.useRef(0),A=u.useCallback(r=>{if(!n)return D;const{bindI18n:a,bindI18nStore:o}=g,l=()=>{C.current+=1,r()};return a&&n.on(a,l),o&&n.store.on(o,l),()=>{a&&a.split(" ").forEach(p=>n.off(p,l)),o&&o.split(" ").forEach(p=>n.store.off(p,l))}},[n,g]),L=u.useRef(),R=u.useCallback(()=>{if(!n)return Z;const r=!!(n.isInitialized||n.initializedStoreOnce)&&d.every(F=>G(F,n,g)),a=t.lng||n.language,o=C.current,l=L.current;if(l&&l.ready===r&&l.lng===a&&l.keyPrefix===b&&l.revision===o)return l;const j={t:n.getFixedT(a,g.nsMode==="fallback"?d:d[0],b),ready:r,lng:a,keyPrefix:b,revision:o};return L.current=j,j},[n,d,b,g,t.lng]),[q,Q]=u.useState(0),{t:v,ready:m}=W.useSyncExternalStore(A,R,R);u.useEffect(()=>{if(n&&!m&&!h){const r=()=>Q(a=>a+1);t.lng?O(n,t.lng,d,r):E(n,d,r)}},[n,t.lng,d,m,h,q]);const N=n||{},w=u.useRef(null),k=u.useRef(),I=r=>{const a=Object.getOwnPropertyDescriptors(r);a.__original&&delete a.__original;const o=Object.create(Object.getPrototypeOf(r),a);if(!Object.prototype.hasOwnProperty.call(o,"__original"))try{Object.defineProperty(o,"__original",{value:r,writable:!1,enumerable:!1,configurable:!1})}catch{}return o},z=u.useMemo(()=>{const r=N,a=r?.language;let o=r;r&&(w.current&&w.current.__original===r?k.current!==a?(o=I(r),w.current=o,k.current=a):o=w.current:(o=I(r),w.current=o,k.current=a));const l=!m&&!h?(...j)=>(S(n,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),v(...j)):v,p=[l,o,m];return p.t=l,p.i18n=o,p.ready=m,p},[v,N,m,N.resolvedLanguage,N.language,N.languages]);if(n&&h&&!m)throw new Promise(r=>{const a=()=>r();t.lng?O(n,t.lng,d,a):E(n,d,a)});return z},V="/assets/eqiqs-mark-official-trimmed-dkZG4D2s.webp",M="/assets/eqiqs-mark-official-white-captr
1immed-BV_qHN-M.png",re=({size:e=44,asLink:t=!0,className:s="",markOnly:c=!1,onDark:i=!1})=>{const n=Math.round(e*.95),g=Math.round(e*.67),h=c?"EQIQs logo":"",b=i?f.jsx("span",{className:"shrink-0 inline-flex items-center","aria-hidden":c?void 0:!0,children:f.jsx("img",{src:M,alt:h,style:{height:g},className:"block w-auto object-contain drop-shadow-[0_2px_8px_hsl(var(--brand-teal)/0.45)]"})}):f.jsxs("span",{className:"shrink-0 inline-flex items-center","aria-hidden":c?void 0:!0,children:[f.jsx("img",{src:V,alt:h,style:{height:n,width:n},className:"block dark:hidden object-contain drop-shadow-[0_2px_6px_hsl(var(--brand-gold)/0.35)]"}),f.jsx("img",{src:M,alt:h,style:{height:g},className:"hidden dark:block w-auto object-contain drop-shadow-[0_2px_8px_hsl(var(--brand-teal)/0.45)]"})]}),y=i?"hsl(var(--sidebar-foreground))":void 0,_=f.jsxs("span",{className:"font-display font-bold tracking-tight leading-none select-none",style:{fontSize:`${Math.round(e*.78)}px`},children:[f.jsx("span",{className:i?"":"text-foreground",style:i?{color:y}:void 0,children:"EQ"}),f.jsx("span",{style:{color:"hsl(var(--brand-gold))"},children:"IQ"}),f.jsx("span",{style:{color:"hsl(var(--brand-teal))"},children:"s"}),f.jsx("sup",{className:"align-super",style:{fontSize:`${Math.round(e*.26)}px`,color:"hsl(var(--brand-teal))",marginLeft:2},children:"â¢"})]}),d=f.jsxs("span",{className:`inline-flex items-center gap-2 group ${s}`,style:{lineHeight:1},children:[b,!c&&_]});return t?f.jsx(U,{to:"/","aria-label":"EQIQs home",className:"inline-flex items-center min-h-[44px]",children:d}):d};export{re as B,ae as u};
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.