PageSourceSearch

https://careers.baywa-re.com/_nuxt/DVXfmQSq.js

js baywa-re.com collected 2026-10-03 21:12:20 UTC 23,514 bytes, 1 lines download raw bytes

vendor: 5,030 bytes, line 1
1import{A as e,D as t,G as n,H as r,J as i,K as a,R as o,S as s,T as c,Ut as l,V as u,Vt as d,W as f,Wt as p,X as m,b as h,d as g,et as _,f as v,j as y,m as b,mt as x,p as S,r as C,rt as w,tt as T,u as E,vt as D,y as O,yt as k,z as A}from"./Cb8twsq3.js";import{t as j}from"./D54MPh7v.js";import{n as ee}from"./BujKp7DX.js";import{n as M}from"./ZIazvXJ1.js";import{t as te}from"./DmxAbXyk.js";import{c as ne}from"./BQnlTLNo.js";import{t as re}from"./D5pBC9Bx.js";import{c as ie,d as N,g as P,l as ae,m as F,n as oe,p as se,r as I}from"./dYGC0xno.js";import{n as L,t as ce}from"./CwOmGIsa.js";import{t as R}from"./BTJnVMvb.js";import{a as z,c as B,i as le,l as V,n as H,o as U,r as ue,s as W,t as de,u as fe}from"./C5RiV4ux.js";import{c as G,i as pe,l as K,n as q,o as me,r as he,s as J,t as Y,u as ge}from"./4F0Cxoem.js";import{a as _e,l as ve,n as ye,t as be,u as xe}from"./BRMMXlpc.js";import{t as Se}from"./BPyrp22w.js";import{t as Ce}from"./1dh8cw44.js";import{i as we,n as Te,t as X}from"./CdwXtcAv.js";import{t as Ee}from"./BuBY1mpf.js";import{t as De}from"./D6qhpFDS.js";var Oe=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function ke(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return Oe.test(i)&&(i=i.replace(Oe,``)),i}function Ae(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():ke(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return ke(e).trim()}function je(e){let t=x(``),n=x(``);return()=>{let r=G(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=Ae(r).trim().toLowerCase();return t.value=i,n.value=a,a}}function Me(e,t){return e===t}var Ne=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Ne||{}),Pe=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(Pe||{}),Fe=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(Fe||{});function Ie(e){requestAnimationFrame(()=>requestAnimationFrame(e))}var Le=Symbol(`ListboxContext`);function Z(e){let n=t(Le,null);if(n===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Z),t}return n}var Re=s({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Me},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:i}){let a=x(1),s=x(null),l=x(null),u=x(null),d=x([]),f=x(``),p=x(null),m=x(1);function h(e=e=>e){let t=p.value===null?null:d.value[p.value],n=_e(e(d.value.slice()),e=>G(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let g=E(()=>+!!e.multiple),[v,y]=fe(E(()=>e.modelValue),e=>i(`update:modelValue`,e),E(()=>e.defaultValue)),b=E(()=>v.value===void 0?J(g.value,{1:[],0:void 0}):v.value),S={listboxState:a,value:b,mode:g,compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by(t,n)},orientation:E(()=>e.horizontal?`horizontal`:`vertical`),labelRef:s,buttonRef:l,optionsRef:u,disabled:E(()=>e.disabled),options:d,searchQuery:f,activeOptionIndex:p,activationTrigger:m,closeListbox(){e.disabled||a.value!==1&&(a.value=1,p.value=null)},openListbox(){e.disabled||a.value!==0&&(a.value=0)},goToOption(t,n,r){if(e.disabled||a.value===1)return;let i=h(),o=B(t===W.Specific?{focus:W.Specific,id:n}:{focus:t},{resolveItems:()=>i.options,resolveActiveIndex:()=>i.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});f.value=``,p.value=o,m.value=r??1,d.value=i.options},search(t){if(e.disabled||a.value===1)return;let n=+(f.value===``);f.value+=t.toLowerCase();let r=(p.value===null?d.value:d.value.slice(p.value+n).concat(d.value.slice(0,p.value+n))).find(e=>e.dataRef.textValue.startsWith(f.value)&&!e.dataRef.disabled),i=r?d.value.indexOf(r):-1;i===-1||i===p.value||(p.value=i,m.value=1)},clearSearch(){e.disabled||a.value!==1&&f.value!==``&&(f.value=``)},registerOption(e,t){let n=h(n=>[...n,{id:e,dataRef:t}]);d.value=n.options,p.value=n.activeOptionIndex},unregisterOption(e){let t=h(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});d.value=t.options,p.value=t.activeOptionIndex,m.value=1},theirOnChange(t){e.disabled||y(t)},select(t){e.disabled||y(J(g.value,{0:()=>t,1:()=>{let e=D(S.value.value).slice(),n=D(t),r=e.findIndex(e=>S.compare(n,D(e)));return r===-1?e.push(n):e.splice(r,1),e}}))}};
vendor: 8,076 bytes, line 1
1Se([l,u],(e,t)=>{var n;S.closeListbox(),xe(t,ve.Loose)||(e.preventDefault(),(n=G(l))==null||n.focus())},E(()=>a.value===0)),r(Le,S),we(E(()=>J(a.value,{0:X.Open,1:X.Closed})));let w=E(()=>G(l)?.closest(`form`));return o(()=>{_([w],()=>{if(!w.value||e.defaultValue===void 0)return;function t(){S.theirOnChange(e.defaultValue)}return w.value.addEventListener(`reset`,t),()=>{var e;(e=w.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:r,modelValue:i,disabled:o,form:s,...l}=e,u={open:a.value===0,disabled:o,value:b.value};return c(C,[...r!=null&&b.value!=null?U({[r]:b.value}).map(([e,t])=>c(be,he({features:ye.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],q({ourProps:{},theirProps:{...n,...me(l,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:u,slots:t,attrs:n,name:`Listbox`})])}}});s({name:`ListboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-listbox-label-${K()}`,i=Z(`ListboxLabel`);function a(){var e;(e=G(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e,c={id:r,ref:i.labelRef,onClick:a};return q({ourProps:c,theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}});var ze=s({name:`ListboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-button-${K()}`,a=Z(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Y.Space:case Y.Enter:case Y.ArrowDown:e.preventDefault(),a.openListbox(),y(()=>{var e;(e=G(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(W.First)});break;case Y.ArrowUp:e.preventDefault(),a.openListbox(),y(()=>{var e;(e=G(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(W.Last)})}}function s(e){switch(e.key){case Y.Space:e.preventDefault()}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),y(()=>G(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),Ie(()=>G(a.optionsRef)?.focus({preventScroll:!0}))))}let l=Ce(E(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...u}=e,d={ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":G(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[G(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0||void 0,onKeydown:o,onKeyup:s,onClick:c};return q({ourProps:d,theirProps:u,slot:r,attrs:t,slots:n,name:`ListboxButton`})}}}),Be=s({name:`ListboxOptions`,props:{as:{type:[Object,String],default:`ul`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-options-${K()}`,a=Z(`ListboxOptions`),o=x(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case Y.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Y.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeOptionIndex.value!==null){let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}a.mode.value===0&&(a.closeListbox(),y(()=>G(a.buttonRef)?.focus({preventScroll:!0})));break;case J(a.orientation.value,{vertical:Y.ArrowDown,horizontal:Y.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(W.Next);case J(a.orientation.value,{vertical:Y.ArrowUp,horizontal:Y.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(W.Previous);case Y.Home:case Y.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(W.First);case Y.End:case Y.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(W.Last);case Y.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),y(()=>G(a.buttonRef)?.focus({preventScroll:!0}));break;case Y.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350))}}let c=Te(),l=E(()=>c===null?a.listboxState.value===0:(c.value&X.Open)===X.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e,u={"aria-activedescendant":a.activeOptionIndex.value===null||(r=a.options.value[a.activeOptionIndex.value])==null?void 0:r.id,"aria-multiselectable":a.mode.value===1||void 0,"aria-labelledby":G(a.buttonRef)?.id,"aria-orientation":a.orientation.value,id:i,onKeydown:s,role:`listbox`,tabIndex:0,ref:a.optionsRef};return q({ourProps:u,theirProps:c,slot:o,attrs:t,slots:n,features:pe.RenderStrategy|pe.Static,visible:l.value,name:`ListboxOptions`})}}}),Ve=s({name:`ListboxOption`,props:{as:{type:[Object,String],default:`li`},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){let i=e.id??`headlessui-listbox-option-${K()}`,a=Z(`ListboxOption`),s=x(null);r({el:s,$el:s});let c=E(()=>a.activeOptionIndex.value!==null&&a.options.value[a.activeOptionIndex.value].id===i),l=E(()=>J(a.mode.value,{0:()=>a.compare(D(a.value.value),D(e.value)),1:()=>D(a.value.value).some(t=>a.compare(D(t),D(e.value)))})),u=E(()=>J(a.mode.value,{1:()=>{let e=D(a.value.value);return a.options.value.find(t=>e.some(e=>a.compare(D(e),D(t.dataRef.value))))?.id===i},0:()=>l.value})),d=je(s),f=E(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s}));o(()=>a.registerOption(i,f)),A(()=>a.unregisterOption(i)),o(()=>{_([a.listboxState,l],()=>{a.listboxState.value===0&&l.value&&J(a.mode.value,{1:()=>{u.value&&a.goToOption(W.Specific,i)},0:()=>{a.goToOption(W.Specific,i)}})},{immediate:!0})}),T(()=>{a.listboxState.value===0&&c.value&&a.activationTrigger.value!==0&&y(()=>{var e;return((e=G(s))?.scrollIntoView)?.call(e,{block:`nearest`})})});function p(t){if(e.disabled)return t.preventDefault();a.select(e.value),a.mode.value===0&&(a.closeListbox(),y(()=>G(a.buttonRef)?.focus({preventScroll:!0})))}function m(){if(e.disabled)return a.goToOption(W.Nothing);a.goToOption(W.Specific,i)}let h=V();function g(e){h.update(e)}function v(t){h.wasMoved(t)&&(e.disabled||c.value||a.goToOption(W.Specific,i,0))}function b(t){h.wasMoved(t)&&(e.disabled||c.value&&a.goToOption(W.Nothing))}return()=>{let{disabled:r}=e,a={active:c.value,selected:l.value,disabled:r},{value:o,disabled:u,...d}=e,f={id:i,ref:s,role:`option`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0||void 0,"aria-selected":l.value,disabled:void 0,onClick:p,onFocus:m,onPointerenter:g,onMouseenter:g,onPointermove:v,onMousemove:v,onPointerleave:b,onMouseleave:b};return q({ourProps:f,theirProps:d,slot:a,attrs:n,slots:t,name:`ListboxOption`})}}}),Q=N(M.ui.strategy,M.ui.select,I),$=N(M.ui.strategy,M.ui.selectMenu,oe),He=s({components:{HCombobox:H,HComboboxButton:ue,HComboboxOptions:z,HComboboxOption:le,HComboboxInput:de,HListbox:Re,HListboxButton:ze,HListboxOptions:Be,HListboxOption:Ve,UIcon:L,UAvatar:R},inheritAttrs:!1,props:{modelValue:{type:[String,Number,Object,Array,Boolean],default:``},query:{type:String,default:null},by:{type:String,default:void 0},options:{type:Array,default:()=>[]},id:{type:String,default:null},name:{type:String,default:null},required:{type:Boolean,default:!1},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>Q.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:()=>Q.default.trailingIcon},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},selectedIcon:{type:String,default:()=>$.default.selectedIcon},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},searchable:{type:[Boolean,Function],default:!1},searchablePlaceholder:{type:String,default:()=>$.default.searchablePlaceholder.label},searchableLazy:{type:Boolean,default:!1}
1,clearSearchOnClose:{type:Boolean,default:()=>$.default.clearSearchOnClose},debounce:{type:Number,default:200},creatable:{type:Boolean,default:!1},showCreateOptionWhen:{type:[String,Function],default:()=>$.default.showCreateOptionWhen},placeholder:{type:String,default:null},padded:{type:Boolean,default:!0},size:{type:String,default:null,validator(e){return Object.keys(Q.size).includes(e)}},color:{type:String,default:()=>Q.default.color,validator(e){return[...M.ui.colors,...Object.keys(Q.color)].includes(e)}},variant:{type:String,default:()=>Q.default.variant,validator(e){return[...Object.keys(Q.variant),...Object.values(Q.color).flatMap(e=>Object.keys(e))].includes(e)}},optionAttribute:{type:String,default:`label`},valueAttribute:{type:String,default:null},searchAttributes:{type:Array,default:null},inputTargetForm:{type:String,default:null},popper:{type:Object,default:()=>({})},selectClass:{type:String,default:null},class:{type:[String,Object,Array],default:()=>``},ui:{type:Object,default:()=>({})},uiMenu:{type:Object,default:()=>({})}},emits:[`update:modelValue`,`update:query`,`open`,`close`,`change`],setup(e,{emit:t,slots:n}){let{ui:r,attrs:i}=ie(`select`,k(e,`ui`),Q,k(e,`class`)),{ui:a}=ie(`selectMenu`,k(e,`uiMenu`),$),o=E(()=>ee({},e.popper,a.value.popper)),[s,c]=Ee(o.value),l=E(()=>{if(!e.by)return;if(typeof e.by==`function`)return e.by;let t=e.by;return t.indexOf(`.`)>0?(e,n)=>V(e,t)===V(n,t):t}),{size:u,rounded:d}=ce({ui:r,props:e}),{emitFormBlur:f,emitFormChange:p,inputId:h,color:g,size:v,name:y}=De(e,Q),b=E(()=>u.value??v.value),S=x(``),C=E({get(){return e.query??S.value},set(e){S.value=e,t(`update:query`,e)}}),w=E(()=>{function t(e,t){return l.value&&typeof l.value!=`function`&&H(e)&&H(t)?te(e[l.value],t[l.value]):te(e,t)}function n(t){return e.valueAttribute?V(t,e.valueAttribute):t}if(e.multiple){let r=e.modelValue;return!Array.isArray(r)||!r.length?[]:B.value.filter(e=>{let i=n(e);return r.some(e=>t(e,i))})}return B.value.find(r=>t(n(r),D(e.modelValue)))??e.modelValue}),T=E(()=>e.modelValue?Array.isArray(e.modelValue)&&e.modelValue.length?`${e.modelValue.length} selected`:[`string`,`number`].includes(typeof e.modelValue)?e.valueAttribute?V(w.value,e.optionAttribute):e.modelValue:V(e.modelValue,e.optionAttribute):null),O=E(()=>{let t=r.value.color?.[g.value]?.[e.variant]||r.value.variant[e.variant];return se(P(r.value.base,a.value.select,d.value,r.value.size[b.value],r.value.gap[b.value],e.padded?r.value.padding[b.value]:`p-0`,t?.replaceAll(`{color}`,g.value),(A.value||n.leading)&&r.value.leading.padding[b.value],(j.value||n.trailing)&&r.value.trailing.padding[b.value]),e.placeholder&&(!e.modelValue||Array.isArray(e.modelValue)&&!e.modelValue.length)&&r.value.placeholder,e.selectClass)}),A=E(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),j=E(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),N=E(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),ae=E(()=>e.loading&&!A.value?e.loadingIcon:e.trailingIcon||e.icon),oe=E(()=>P(r.value.icon.leading.wrapper,r.value.icon.leading.pointer,r.value.icon.leading.padding[b.value])),I=E(()=>P(r.value.icon.base,g.value&&M.ui.colors.includes(g.value)&&r.value.icon.color.replaceAll(`{color}`,g.value),r.value.icon.size[b.value],e.loading&&r.value.icon.loading)),L=E(()=>P(r.value.icon.trailing.wrapper,r.value.icon.trailing.pointer,r.value.icon.trailing.padding[b.value])),R=E(()=>P(r.value.icon.base,g.value&&M.ui.colors.includes(g.value)&&r.value.icon.color.replaceAll(`{color}`,g.value),r.value.icon.size[b.value],e.loading&&!A.value&&r.value.icon.loading)),z=e.searchable&&typeof e.searchable==`function`?ne(e.searchable,e.debounce):void 0,B=re(async()=>z?await z(C.value):e.options||[],[],{lazy:e.searchableLazy});function le(e){return e.replace(/[.*+?^${}()|[\]\\]/g,e=>`\\${e}`)}function V(e,t){return F(e,t)}function H(e){return!Array.isArray(e)&&typeof e==`object`&&!!e}let U=E(()=>{if(!C.value||z)return B.value;let t=le(C.value);return B.value.filter(n=>(e.searchAttributes?.length?e.searchAttributes:[e.optionAttribute]).some(e=>{if([`string`,`number`].includes(typeof n))return String(n).search(new RegExp(t,`i`))!==-1;let r=F(n,e);return r!=null&&String(r).search(new RegExp(t,`i`))!==-1}))}),ue=E(()=>C.value===``||e.showCreateOptionWhen===`empty`&&U.value.length||e.showCreateOptionWhen===`always`&&U.value.find(t=>[`string`,`number`].includes(typeof t)?t===C.value:V(t,e.optionAttribute)===C.value)||typeof e.showCreateOptionWhen==`function`&&!e.showCreateOptionWhen(C.value,U.value)?null:[`string`,`number`].includes(typeof e.modelValue)?C.value:{[e.optionAttribute]:C.value});function W(){e.clearSearchOnClose&&(C.value=``)}_(c,e=>{e?t(`open`):(W(),t(`close`),f())});function de(n){D(e.modelValue)!==n&&(t(`update:modelValue`,n),t(`change`,n),p())}function fe(e){C.value=e.target.value}return ge(()=>m()),{ui:r,uiMenu:a,attrs:i,name:y,inputId:h,popper:o,trigger:s,container:c,selected:w,label:T,accessor:V,isLeading:A,isTrailing:j,selectClass:O,leadingIconName:N,leadingIconClass:I,leadingWrapperIconClass:oe,trailingIconName:ae,trailingIconClass:R,trailingWrapperIconClass:L,filteredOptions:U,createOption:ue,query:C,onUpdate:de,onQueryChange:fe,by:l}}}),Ue=[`value`,`required`,`form`],We=[`id`,`disabled`],Ge={class:`truncate`};function Ke(t,r,o,s,c,m){let _=L,y=a(`HComboboxInput`),x=R;return u(),v(i(t.searchable?`HCombobox`:`HListbox`),{by:t.by,name:t.name,"model-value":t.multiple?Array.isArray(t.modelValue)?t.modelValue:[]:t.modelValue,multiple:t.multiple,disabled:t.disabled,as:`div`,class:d(t.ui.wrapper),"onUpdate:modelValue":t.onUpdate},{default:w(({open:r})=>[t.required?(u(),b(`input`,{key:0,value:t.modelValue,required:t.required,
1class:d(t.uiMenu.required),form:t.inputTargetForm,tabindex:`-1`,"aria-hidden":`true`},null,10,Ue)):S(``,!0),(u(),v(i(t.searchable?`HComboboxButton`:`HListboxButton`),{ref:`trigger`,as:`div`,role:`button`,class:d(t.uiMenu.trigger)},{default:w(()=>[n(t.$slots,`default`,{open:r,disabled:t.disabled,loading:t.loading},()=>[g(`button`,e({id:t.inputId,class:t.selectClass,disabled:t.disabled,type:`button`},t.attrs),[t.isLeading&&t.leadingIconName||t.$slots.leading?(u(),b(`span`,{key:0,class:d(t.leadingWrapperIconClass)},[n(t.$slots,`leading`,{selected:t.selected,disabled:t.disabled,loading:t.loading},()=>[h(_,{name:t.leadingIconName,class:d(t.leadingIconClass)},null,8,[`name`,`class`])])],2)):S(``,!0),n(t.$slots,`label`,{selected:t.selected},()=>[t.label?(u(),b(`span`,{key:0,class:d(t.uiMenu.label)},p(t.label),3)):(u(),b(`span`,{key:1,class:d(t.uiMenu.label)},p(t.placeholder||`\xA0`),3))]),t.isTrailing&&t.trailingIconName||t.$slots.trailing?(u(),b(`span`,{key:1,class:d(t.trailingWrapperIconClass)},[n(t.$slots,`trailing`,{selected:t.selected,disabled:t.disabled,loading:t.loading},()=>[h(_,{name:t.trailingIconName,class:d(t.trailingIconClass),"aria-hidden":`true`},null,8,[`name`,`class`])])],2)):S(``,!0)],16,We)])]),_:2},1032,[`class`])),r?(u(),b(`div`,{key:1,ref:`container`,class:d([t.uiMenu.container,t.uiMenu.width])},[h(j,e({appear:``},t.uiMenu.transition),{default:w(()=>[g(`div`,null,[t.popper.arrow?(u(),b(`div`,{key:0,"data-popper-arrow":``,class:d(Object.values(t.uiMenu.arrow))}
1,null,2)):S(``,!0),(u(),v(i(t.searchable?`HComboboxOptions`:`HListboxOptions`),{static:``,class:d([t.uiMenu.base,t.uiMenu.ring,t.uiMenu.rounded,t.uiMenu.shadow,t.uiMenu.background,t.uiMenu.padding,t.uiMenu.height])},{default:w(()=>[t.searchable?(u(),v(y,{key:0,"display-value":()=>t.query,name:`q`,placeholder:t.searchablePlaceholder,autofocus:``,autocomplete:`off`,class:d(t.uiMenu.input),onChange:t.onQueryChange},null,8,[`display-value`,`placeholder`,`class`,`onChange`])):S(``,!0),(u(!0),b(C,null,f(t.filteredOptions,(r,a)=>(u(),v(i(t.searchable?`HComboboxOption`:`HListboxOption`),{key:a,as:`template`,value:t.valueAttribute?t.accessor(r,t.valueAttribute):r,disabled:r.disabled},{default:w(({active:i,selected:a,disabled:o})=>[g(`li`,{class:d([t.uiMenu.option.base,t.uiMenu.option.rounded,t.uiMenu.option.padding,t.uiMenu.option.size,t.uiMenu.option.color,i?t.uiMenu.option.active:t.uiMenu.option.inactive,a&&t.uiMenu.option.selected,o&&t.uiMenu.option.disabled])},[g(`div`,{class:d(t.uiMenu.option.container)},[n(t.$slots,`option`,{option:r,active:i,selected:a},()=>[r.icon?(u(),v(_,{key:0,name:r.icon,class:d([t.uiMenu.option.icon.base,i?t.uiMenu.option.icon.active:t.uiMenu.option.icon.inactive,r.iconClass]),"aria-hidden":`true`},null,8,[`name`,`class`])):r.avatar?(u(),v(x,e({key:1,ref_for:!0},{size:t.uiMenu.option.avatar.size,...r.avatar},{class:t.uiMenu.option.avatar.base,"aria-hidden":`true`}),null,16,[`class`])):r.chip?(u(),b(`span`,{key:2,class:d(t.uiMenu.option.chip.base),style:l({background:`#${r.chip}`})},null,6)):S(``,!0),g(`span`,Ge,p([`string`,`number`].includes(typeof r)?r:t.accessor(r,t.optionAttribute)),1)])],2),a?(u(),b(`span`,{key:0,class:d([t.uiMenu.option.selectedIcon.wrapper,t.uiMenu.option.selectedIcon.padding])},[h(_,{name:t.selectedIcon,class:d(t.uiMenu.option.selectedIcon.base),"aria-hidden":`true`},null,8,[`name`,`class`])],2)):S(``,!0)],2)]),_:2},1032,[`value`,`disabled`]))),128)),t.creatable&&t.createOption?(u(),v(i(t.searchable?`HComboboxOption`:`HListboxOption`),{key:1,value:t.createOption,as:`template`},{default:w(({active:e,selected:r})=>[g(`li`,{class:d([t.uiMenu.option.base,t.uiMenu.option.rounded,t.uiMenu.option.padding,t.uiMenu.option.size,t.uiMenu.option.color,e?t.uiMenu.option.active:t.uiMenu.option.inactive])},[g(`div`,{class:d(t.uiMenu.option.container)},[n(t.$slots,`option-create`,{option:t.createOption,active:e,selected:r},()=>[g(`span`,{class:d(t.uiMenu.option.create)},`Create "`+p(typeof t.createOption==`string`?t.createOption:t.accessor(t.createOption,t.optionAttribute))+`"`,3)])],2)],2)]),_:3},8,[`value`])):t.searchable&&t.query&&!t.filteredOptions?.length?(u(),b(`p`,{key:2,class:d(t.uiMenu.option.empty)},[n(t.$slots,`option-empty`,{query:t.query},()=>[O(p(t.uiMenu.default.optionEmpty.label.replace(`{query}`,t.query)),1)])],2)):t.filteredOptions?.length?S(``,!0):(u(),b(`p`,{key:3,class:d(t.uiMenu.empty)},[n(t.$slots,`empty`,{query:t.query},()=>[O(p(t.uiMenu.default.empty.label),1)])],2))]),_:3},8,[`class`]))])]),_:3},16)],2)):S(``,!0)]),_:3},8,[`by`,`name`,`model-value`,`multiple`,`disabled`,`class`,`onUpdate:modelValue`])}var qe=Object.assign(ae(He,[[`render`,Ke]]),{__name:`USelectMenu`});export{qe as t};

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.