PageSourceSearch

https://cdn.zaiko.io/public/build/inertia/assets/useLocalizedHref-C-38kxZc.js

js zaiko.io collected 2026-10-02 02:25:30 UTC 4,246 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`545e11b028a95394d41d7a1354d797bbb8520290`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:zaiko-frontend":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`68f33202-a7e9-4d61-8a6c-c0f71494bf2c`,e._sentryDebugIdIdentifier=`sentry-dbid-68f33202-a7e9-4d61-8a6c-c0f71494bf2c`)}catch{}})();import{a as e}from"./dist-DOG-gWc5.js";import{B as t,Ht as n,Kt as r,St as i,U as a,W as o,c as s,d as c,f as l,l as u,mt as d,r as f,rt as p,u as m,x as h,y as g}from"./runtime-core.esm-bundler-ChoRryzB.js";import{u as _}from"./dist-BuSvTzhU.js";import{r as v,t as y}from"./localizedNavigation-D8-fBeVS.js";import{t as b}from"./useInertiaCommon-BtJtxMye.js";import{n as x}from"./urlHelpers-DlAwgIWZ.js";function S(e,n){return t(),l(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"stroke-width":`1.5`,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`},[u(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m19.5 8.25-7.5 7.5-7.5-7.5`})])}function C(e,n){return t(),l(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"stroke-width":`1.5`,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`},[u(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418`})])}var w=[`aria-label`,`aria-expanded`],T=h({__name:`MainDropdown`,props:{buttonAriaLabel:{type:String,default:void 0},panelClass:{type:String,default:``}},setup(e,{expose:r}){let i=d(!1),a=d(null),s=()=>{i.value=!1},f=()=>{i.value=!i.value},p=typeof document>`u`?null:document;return _(p,`click`,e=>{i.value&&a.value&&!a.value.contains(e.target)&&s()}),_(p,`keydown`,e=>{e.key===`Escape`&&s()}),r({close:s}),(r,s)=>(t(),l(`div`,{ref_key:`rootRef`,ref:a,class:`relative`},[u(`button`,{type:`button`,class:`flex cursor-pointer items-center gap-1 text-white`,"aria-label":e.buttonAriaLabel,"aria-expanded":i.value,"aria-haspopup":`true`,"data-testid":`main-dropdown-button`,onClick:f},[o(r.$slots,`button`)],8,w),i.value?(t(),l(`div`,{key:0,class:n([`absolute top-full right-0 z-popover mt-2 min-w-44 rounded bg-main-panel py-2 shadow-lg`,e.panelClass]),"data-testid":`main-dropdown-panel`},[o(r.$slots,`menu`)],2)):c(``,!0)],512))}}),E={class:`text-sm max-[560px]:hidden`},D=[`onClick`],O=h({__name:`MainLanguageMenu`,setup(e){let{currentLocale:o,supportedLocales:c}=b(),d=s(()=>Object.values(c.value??{})),h=s(()=>d.value.find(e=>e.value===o.value)?.text??``);return(e,s)=>(t(),m(T,{"button-aria-label":h.value,"data-testid":`main-language-menu`},{button:p(()=>[g(i(C),{class:`size-5 shrink-0`}),u(`span`,E,r(h.value),1),g(i(S),{class:`size-4 shrink-0 max-[560px]:hidden`})]),menu:p(()=>[u(`ul`,null,[(t(!0),l(f,null,a(d.value,e=>
1(t(),l(`li`,{key:e.value},[u(`button`,{type:`button`,class:n([`block w-full cursor-pointer px-4 py-2 text-left text-sm text-white hover:bg-white/10`,{"font-bold":e.value===i(o)}]),"data-testid":`main-language-menu-item`,onClick:t=>i(x)(e.url)},r(e.text),11,D)]))),128))])]),_:1},8,[`button-aria-label`]))}});function k(e){if(typeof window<`u`)return window.location.origin;let t=e.ziggy;if(t?.location)try{return new URL(t.location).origin}catch{return``}return``}function A(){let t=e();return e=>{let n=t.props,r=y(n);return r===null?e:v(e,{...r,origin:k(n)})}}export{S as i,O as n,T as r,A as t};
2//# sourceMappingURL=useLocalizedHref-C-38kxZc.js.map

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.