PageSourceSearch

https://www.airbaltic.com/_nuxt/n42ZY34k.js

js airbaltic.com collected 2026-10-01 08:45:29 UTC 4,269 bytes, 8 lines download raw bytes

1function __vite__mapDeps(indexes) {
2  if (!__vite__mapDeps.viteFileDeps) {
3    __vite__mapDeps.viteFileDeps = ["./v-ok8HX_.js","./CibKXA4P.js","./aBjaZyYQ.js","./entry.D08378P0.css"]
4  }
5  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
6}
7import{d as L,s as C,u as D,A as f,p as z,E as M,R as x,o as t,c as i,f as n,t as c,a6 as I,v as y,X as N,g as d,b,w as B,a as _,x as R,y as A,a0 as K,e as T,U,T as O,a7 as S,a8 as P,_ as j}from"./aBjaZyYQ.js";import{_ as F}from"./CScj2vRK.js";import{t as X}from"./Cb9GWTaI.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};o.SENTRY_RELEASE={id:"3db4da8d001cbae0206e235f3b625fa02198578d"}}catch{}})();try{(function(){var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new o.Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="45a50ef1-f32f-4ef8-b865-bca37d96b52f",o._sentryDebugIdIdentifier="sentry-dbid-45a50ef1-f32f-4ef8-b865-bca37d96b52f")})()}catch{}const Y=S(()=>P(()=>import("./v-ok8HX_.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(o=>o.default||o)),Z=["for"],q={key:1,class:"flex items-center justify-center"},G={class:"relative"},H=["id","name","placeholder","disabled","type","maxlength","aria-busy","aria-describedby"],J=["id"],oe=L({__name:"Base",props:C({label:{},name:{},path:{},field:{},error:{},inputKey:{},placeholder:{},optional:{type:Boolean},disabled:{type:Boolean},tooltip:{},icon:{},loading:{type:Boolean},iconClasses:{},canClickIcon:{type:Boolean},type:{},maxLength:{},autofocus:{type:Boolean},srOnlyLabel:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:C(["iconClick","blur"],["update:modelValue"]),setup(o,{emit:l}){const s=o,[m,g]=D(o,"modelValue",{set(e){return g.trimallspaces?e.replace(/\s+/g,""):g.lowercase?e.toLowerCase():e}}),p=l,u=f(()=>`${s.name}_${s.inputKey}`),v=f(()=>`${u.value}-error`),h=f(()=>`${u.value}-loading`),E=f(()=>{if(s.error)return v.value;if(s.loading)return h.value}),k=z(null);return M(()=>{s.autofocus&&x(()=>{var e;(e=k.value)==null||e.focus()})}),(e,a)=>{const w=j,$=F,V=Y;return t(),i("div",null,[e.label?(t(),i("label",{key:0,for:n(u),class:c(["mb-2 flex items-center gap-1 text-bt-blue-dark text-subtitle-2",{"sr-only":e.srOnlyLabel}])},[I(y(e.label)+" ",1),e.optional?(t(),i(N,{key:0},[I(" ("+y(e.$t("forms.optional"))+") ",1)],64)):d("",!0),e.tooltip?(t(),i("div",q,[b($,{text:e.tooltip,"tooltip-style":"white",hoverable:""},{default:B(()=>[b(w,{name:"common/outline-info",size:"sm"})]),_:1},8,["text"])])):d("",!0)],10,Z)):d("",!0),_("div",G,[R(_("input",{id:n(u),ref_key:"inputElement",ref:k,"onUpdate:modelValue":a[0]||(a[0]=r=>K(m)?m.value=r:null),name:s.name,class:c(["w-full rounded border border-border px-4 py-3 text-bt-blue-dark outline-bt-blue-ui text-body-1 disabled:bg-grey",{"border-dark-error":e.error,"pr-10":!!e.icon||e.loading}]),placeholder:e.placeholder,disabled:e.disabled,type:e.type,maxlength:e.maxLength,"aria-busy":e.loading||void 0,"aria-describedby":n(E),onBlur:a[1]||(a[1]=r=>p("blur",r))},null,42,H),[[A,n(m)]]),e.loading?(t(),T(V,{key:0,id:n(h),text:e.$t("aria.loading"),"sr-only-text":"",size:"md",class:"pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-bt-green"},null,8,["id","text"])):e.icon?(t(),T(w,{key:1,name:e.icon,size:"md",class:c(["absolute right-3 top-1/2 -translate-y-1/2",e.iconClasses]),tabindex:e.canClickIcon?0:-1,onClick:a[2]||(a[2]=r=>e.canClickIcon&&p("iconClick")),onKeydown:a[3]||(a[3]=U(r=>e.canClickIcon&&p("iconClick"),["enter"]))},null,8,["name","class","tabindex"])):d("",!0)]),b(O,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"opacity-0 max-h-0 transform -translate-y-2","enter-to-class":"opacity-100 max-h-20 transform translate-y-0","leave-active-class":"transition-all duration-200 ease-in","leave-from-class":"opacity-100 max-h-20 transform translate-y-0","leave-to-class":"opacity-0 max-h-0 transform -translate-y-2"},{default:B(()=>[e.error?(t(),i("div",{key:0,id:n(v),class:c([{error:e.error},"mt-2 block text-dark-error text-body-3"])},y(e.$t(...n(X)(e.error))),11,J)):d("",!0)]),_:1})])}}});
7export{oe as _};
8//# sourceMappingURL=n42ZY34k.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.