PageSourceSearch

https://www.livestocx.com/_next/static/chunks/2712-626e9d8349462c9d.js

js livestocx.com collected 2026-10-02 16:03:10 UTC 22,178 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2712],{13484:(e,o,t)=>{t.d(o,{R:()=>a,S:()=>l});var n=t(95155),r=t(28428);function l(e){let{size:o,style:t,...l}=e,a=void 0!==o?{width:(0,r.D)(o),height:(0,r.D)(o),...t}:t;return(0,n.jsx)("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:a,"aria-hidden":!0,...l,children:(0,n.jsx)("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function a(e){let{indeterminate:o,...t}=e;return o?(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6","aria-hidden":!0,...t,children:(0,n.jsx)("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})}):(0,n.jsx)(l,{...t})}t(12115)},42712:(e,o,t)=>{t.d(o,{l:()=>ec});var n=t(95155),r=t(12115),l=t(8893),a=t(31416),i=t(61275),s=t(23653),u=t(91853),c=t(28428),d=t(49957),p=t(80533),b=t(47331),m=t(823);let[v,f]=(0,t(24655).F)("Combobox component was not found in tree");var h=t(26225),x=t(37333),w={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2"};let g={error:null},C=(0,p.V)((e,o)=>{let{size:t,color:n}=o;return{chevron:{"--combobox-chevron-size":(0,d.YC)(t,"combobox-chevron-size"),"--combobox-chevron-color":n?(0,h.r)(n,e):void 0}}}),y=(0,u.P9)((e,o)=>{let t=(0,s.Y)("ComboboxChevron",g,e),{size:r,error:l,style:a,className:i,classNames:u,styles:c,unstyled:d,vars:p,mod:m,...v}=t,f=(0,b.I)({name:"ComboboxChevron",classes:w,props:t,style:a,className:i,classNames:u,styles:c,unstyled:d,vars:p,varsResolver:C,rootSelector:"chevron"});return(0,n.jsx)(x.Box,{component:"svg",...v,...f("chevron"),size:r,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:l},m],ref:o,children:(0,n.jsx)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});y.classes=w,y.displayName="@mantine/core/ComboboxChevron";var D=t(34946);let S=(0,r.forwardRef)((e,o)=>{let{size:t,onMouseDown:r,onClick:l,onClear:a,...i}=e;return(0,n.jsx)(D.p.ClearButton,{ref:o,tabIndex:-1,"aria-hidden":!0,...i,onMouseDown:e=>{e.preventDefault(),null==r||r(e)},onClick:e=>{a(),null==l||l(e)}})});S.displayName="@mantine/core/ComboboxClearButton";let O={},A=(0,u.P9)((e,o)=>{let{classNames:t,styles:r,className:l,style:a,hidden:i,...u}=(0,s.Y)("ComboboxDropdown",O,e),c=f();return(0,n.jsx)(m.A.Dropdown,{...u,ref:o,role:"presentation","data-hidden":i||void 0,...c.getStyles("dropdown",{className:l,style:a,classNames:t,styles:r})})});A.classes=w,A.displayName="@mantine/core/ComboboxDropdown";var k=t(24107);let j={refProp:"ref"},E=(0,u.P9)((e,o)=>{let{children:t,refProp:r}=(0,s.Y)("ComboboxDropdownTarget",j,e);if(f(),!(0,k.v)(t))throw Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return(0,n.jsx)(m.A.Target,{ref:o,refProp:r,children:t})});E.displayName="@mantine/core/ComboboxDropdownTarget";let I={},N=(0,u.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,...u}=(0,s.Y)("ComboboxEmpty",I,e),c=f();return(0,n.jsx)(x.Box,{ref:o,...c.getStyles("empty",{className:r,classNames:t,styles:a,style:l}),...u})});N.classes=w,N.displayName="@mantine/core/ComboboxEmpty";var _=t(11286),T=t(5297);function P(e){let{onKeyDown:o,withKeyboardNavigation:t,withAriaAttributes:n,withExpandedAttribute:l,targetType:a,autoComplete:i}=e,s=f(),[u,c]=(0,r.useState)(null);return{...n?{"aria-haspopup":"listbox","aria-expanded":l&&!!(s.store.listId&&s.store.dropdownOpened)||void 0,"aria-controls":s.store.dropdownOpened?s.store.listId:void 0,"aria-activedescendant":s.store.dropdownOpened&&u||void 0,autoComplete:i,"data-expanded":s.store.dropdownOpened||void 0,"data-mantine-stop-propagation":s.store.dropdownOpened||void 0}:{},onKeyDown:e=>{if((null==o||o(e),!s.readOnly&&t)&&!e.nativeEvent.isComposing){if("ArrowDown"===e.nativeEvent.code&&(e.preventDefault(),s.store.dropdownOpened?c(s.store.selectNextOption()):(s.store.openDropdown("keyboard"),
1c(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"ArrowUp"===e.nativeEvent.code&&(e.preventDefault(),s.store.dropdownOpened?c(s.store.selectPreviousOption()):(s.store.openDropdown("keyboard"),c(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"Enter"===e.nativeEvent.code||"NumpadEnter"===e.nativeEvent.code){if(229===e.nativeEvent.keyCode)return;let o=s.store.getSelectedOptionIndex();s.store.dropdownOpened&&-1!==o?(e.preventDefault(),s.store.clickSelectedOption()):"button"===a&&(e.preventDefault(),s.store.openDropdown("keyboard"))}"Escape"===e.key&&s.store.closeDropdown("keyboard"),"Space"===e.nativeEvent.code&&"button"===a&&(e.preventDefault(),s.store.toggleDropdown("keyboard"))}}}}let R={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},B=(0,u.P9)((e,o)=>{let{children:t,refProp:n,withKeyboardNavigation:l,withAriaAttributes:a,withExpandedAttribute:i,targetType:u,autoComplete:c,...d}=(0,s.Y)("ComboboxEventsTarget",R,e);if(!(0,k.v)(t))throw Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let p=f(),b=P({targetType:u,withAriaAttributes:a,withKeyboardNavigation:l,withExpandedAttribute:i,onKeyDown:t.props.onKeyDown,autoComplete:c});return(0,r.cloneElement)(t,{...b,...d,[n]:(0,_.pc)(o,p.store.targetRef,(0,T.x)(t))})});B.displayName="@mantine/core/ComboboxEventsTarget";let Y={},L=(0,u.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,...u}=(0,s.Y)("ComboboxFooter",Y,e),c=f();return(0,n.jsx)(x.Box,{ref:o,...c.getStyles("footer",{className:r,classNames:t,style:l,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});L.classes=w,L.displayName="@mantine/core/ComboboxFooter";let F={},V=(0,u.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,children:u,label:c,...d}=(0,s.Y)("ComboboxGroup",F,e),p=f();return(0,n.jsxs)(x.Box,{ref:o,...p.getStyles("group",{className:r,classNames:t,style:l,styles:a}),...d,children:[c&&(0,n.jsx)("div",{...p.getStyles("groupLabel",{classNames:t,styles:a}),children:c}),u]})});V.classes=w,V.displayName="@mantine/core/ComboboxGroup";let M={},q=(0,u.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,...u}=(0,s.Y)("ComboboxHeader",M,e),c=f();return(0,n.jsx)(x.Box,{ref:o,...c.getStyles("header",{className:r,classNames:t,style:l,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});function z(e){let{value:o,valuesDivider:t=",",...r}=e;return(0,n.jsx)("input",{type:"hidden",value:Array.isArray(o)?o.join(t):o||"",...r})}q.classes=w,q.displayName="@mantine/core/ComboboxHeader",z.displayName="@mantine/core/ComboboxHiddenInput";let H={},K=(0,u.P9)((e,o)=>{let t=(0,s.Y)("ComboboxOption",H,e),{classNames:l,className:a,style:i,styles:u,vars:c,onClick:d,id:p,active:b,onMouseDown:m,onMouseOver:v,disabled:h,selected:w,mod:g,...C}=t,y=f(),D=(0,r.useId)();return(0,n.jsx)(x.Box,{...y.getStyles("option",{className:a,classNames:l,styles:u,style:i}),...C,ref:o,id:p||D,mod:["combobox-option",{"combobox-active":b,"combobox-disabled":h,"combobox-selected":w},g],role:"option",onClick:e=>{if(h)e.preventDefault();else{var o;null==(o=y.onOptionSubmit)||o.call(y,t.value,t),null==d||d(e)}},onMouseDown:e=>{e.preventDefault(),null==m||m(e)},onMouseOver:e=>{y.resetSelectionOnOptionHover&&y.store.resetSelectedOption(),null==v||v(e)}})});K.classes=w,K.displayName="@mantine/core/ComboboxOption";let Z={},G=(0,u.P9)((e,o)=>{let{classNames:t,className:a,style:i,styles:u,id:c,onMouseDown:d,labelledBy:p,...b}=(0,s.Y)("ComboboxOptions",Z,e),m=f(),v=(0,l.B)(c);return(0,r.useEffect)(()=>{m.store.setListId(v)},[v]),(0,n.jsx)(x.Box,{ref:o,...m.getStyles("options",{className:a,style:i,classNames:t,styles:u}),...b,id:v,role:"listbox","aria-labelledby":p,onMouseDown:e=>{e.preventDefault(),null==d||d(e)}})});G.classes=w,G.displayName="@mantine/core/ComboboxOptions";let U={withAriaAttributes:!0,withKeyboardNavigation:!0},W=(0,u.P9)((e,o)=>{let{classNames:t,styles:r,unstyled:l,vars:a,withAriaAttributes:i,onKeyDown:u,withKeyboardNavigation:c,size:d,...p}=(0,s.Y)("ComboboxSearch",U,e),b=f(),m=b.getStyles("search"),v=P({targetType:"input",withAriaAttributes:i,withKeyboardNavigation:c,withExpandedAttribute:!1,onKeyDown:u,autoComplete:"off"});return(0,n.jsx)(D.p,{ref:(0,_.pc)(o,b.store.searchRef),classNames:[{input:m.className},t],styles:[{input:m.style},r],size:d||b.size,...v,...p,__staticSelector:"Combobox"})});W.classes=w,W.displayName="@mantine/core/ComboboxSearch";let J={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},Q=(0,u.P9)((e,o)=>{let{children:t,refProp:l,withKeyboardNavigation:a,withAriaAttributes:i,withExpandedAttribute:u,targetType:c,autoComplete:d,...p}=(0,s.Y)("ComboboxTarget",J,e);if(!(0,k.v)(t))throw Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, str
1ings, numbers and other primitive values are not supported");let b=f(),v=P({targetType:c,withAriaAttributes:i,withKeyboardNavigation:a,withExpandedAttribute:u,onKeyDown:t.props.onKeyDown,autoComplete:d}),h=(0,r.cloneElement)(t,{...v,...p});return(0,n.jsx)(m.A.Target,{ref:(0,_.pc)(o,b.store.targetRef),children:h})});function X(){let{defaultOpened:e,opened:o,onOpenedChange:t,onDropdownClose:n,onDropdownOpen:l,loop:i=!0,scrollBehavior:s="instant"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[u,c]=(0,a.Z)({value:o,defaultValue:e,finalValue:!1,onChange:t}),d=(0,r.useRef)(null),p=(0,r.useRef)(-1),b=(0,r.useRef)(null),m=(0,r.useRef)(null),v=(0,r.useRef)(-1),f=(0,r.useRef)(-1),h=(0,r.useRef)(-1),x=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";u||(c(!0),null==l||l(e))},[c,l,u]),w=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";u&&(c(!1),null==n||n(e))},[c,n,u]),g=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";u?w(e):x(e)},[w,x,u]),C=(0,r.useCallback)(()=>{let e=document.querySelector("#".concat(d.current," [data-combobox-selected]"));null==e||e.removeAttribute("data-combobox-selected"),null==e||e.removeAttribute("aria-selected")},[]),y=(0,r.useCallback)(e=>{let o=document.getElementById(d.current),t=null==o?void 0:o.querySelectorAll("[data-combobox-option]");if(!t)return null;let n=e>=t.length?0:e<0?t.length-1:e;return(p.current=n,(null==t?void 0:t[n])&&!t[n].hasAttribute("data-combobox-disabled"))?(C(),t[n].setAttribute("data-combobox-selected","true"),t[n].setAttribute("aria-selected","true"),t[n].scrollIntoView({block:"nearest",behavior:s}),t[n].id):null},[s,C]),D=(0,r.useCallback)(()=>{let e=document.querySelector("#".concat(d.current," [data-combobox-active]"));return e?y(Array.from(document.querySelectorAll("#".concat(d.current," [data-combobox-option]"))).findIndex(o=>o===e)):y(0)},[y]),S=(0,r.useCallback)(()=>y(function(e,o,t){for(let t=e+1;t<o.length;t+=1)if(!o[t].hasAttribute("data-combobox-disabled"))return t;if(t){for(let e=0;e<o.length;e+=1)if(!o[e].hasAttribute("data-combobox-disabled"))return e}return e}(p.current,document.querySelectorAll("#".concat(d.current," [data-combobox-option]")),i)),[y,i]),O=(0,r.useCallback)(()=>y(function(e,o,t){for(let t=e-1;t>=0;t-=1)if(!o[t].hasAttribute("data-combobox-disabled"))return t;if(t){for(let e=o.length-1;e>-1;e-=1)if(!o[e].hasAttribute("data-combobox-disabled"))return e}return e}(p.current,document.querySelectorAll("#".concat(d.current," [data-combobox-option]")),i)),[y,i]),A=(0,r.useCallback)(()=>y(function(e){for(let o=0;o<e.length;o+=1)if(!e[o].hasAttribute("data-combobox-disabled"))return o;return -1}(document.querySelectorAll("#".concat(d.current," [data-combobox-option]")))),[y]),k=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"selected",o=arguments.length>1?arguments[1]:void 0;h.current=window.setTimeout(()=>{let t=document.querySelectorAll("#".concat(d.current," [data-combobox-option]")),n=Array.from(t).findIndex(o=>o.hasAttribute("data-combobox-".concat(e)));if(p.current=n,null==o?void 0:o.scrollIntoView){var r;null==(r=t[n])||r.scrollIntoView({block:"nearest",behavior:s})}},0)},[]),j=(0,r.useCallback)(()=>{p.current=-1,C()},[C]),E=(0,r.useCallback)(()=>{let e=document.querySelectorAll("#".concat(d.current," [data-combobox-option]")),o=null==e?void 0:e[p.current];null==o||o.click()},[]),I=(0,r.useCallback)(e=>{d.current=e},[]),N=(0,r.useCallback)(()=>{v.current=window.setTimeout(()=>b.current.focus(),0)},[]),_=(0,r.useCallback)(()=>{f.current=window.setTimeout(()=>m.current.focus(),0)},[]),T=(0,r.useCallback)(()=>p.current,[]);return(0,r.useEffect)(()=>()=>{window.clearTimeout(v.current),window.clearTimeout(f.current),window.clearTimeout(h.current)},[]),{dropdownOpened:u,openDropdown:x,closeDropdown:w,toggleDropdown:g,selectedOptionIndex:p.current,getSelectedOptionIndex:T,selectOption:y,selectFirstOption:A,selectActiveOption:D,selectNextOption:S,selectPreviousOption:O,resetSelectedOption:j,updateSelectedOptionIndex:k,listId:d.current,setListId:I,clickSelectedOption:E,searchRef:b,focusSearchInput:N,targetRef
1:m,focusTarget:_}}Q.displayName="@mantine/core/ComboboxTarget";let $={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0}},ee=(0,p.V)((e,o)=>{let{size:t,dropdownPadding:n}=o;return{options:{"--combobox-option-fz":(0,d.ny)(t),"--combobox-option-padding":(0,d.YC)(t,"combobox-option-padding")},dropdown:{"--combobox-padding":void 0===n?void 0:(0,c.D)(n),"--combobox-option-fz":(0,d.ny)(t),"--combobox-option-padding":(0,d.YC)(t,"combobox-option-padding")}}});function eo(e){let o=(0,s.Y)("Combobox",$,e),{classNames:t,styles:r,unstyled:l,children:a,store:i,vars:u,onOptionSubmit:c,onClose:d,size:p,dropdownPadding:f,resetSelectionOnOptionHover:h,__staticSelector:x,readOnly:g,...C}=o,y=X(),D=i||y,S=(0,b.I)({name:x||"Combobox",classes:w,props:o,classNames:t,styles:r,unstyled:l,vars:u,varsResolver:ee});return(0,n.jsx)(v,{value:{getStyles:S,store:D,onOptionSubmit:c,size:p,resetSelectionOnOptionHover:h,readOnly:g},children:(0,n.jsx)(m.A,{opened:D.dropdownOpened,...C,onChange:e=>!e&&void(null==d||d(),D.closeDropdown()),withRoles:!1,unstyled:l,children:a})})}eo.extend=e=>e,eo.classes=w,eo.displayName="@mantine/core/Combobox",eo.Target=Q,eo.Dropdown=A,eo.Options=G,eo.Option=K,eo.Search=W,eo.Empty=N,eo.Chevron=y,eo.Footer=L,eo.Header=q,eo.EventsTarget=B,eo.DropdownTarget=E,eo.Group=V,eo.ClearButton=S,eo.HiddenInput=z;var et=t(2821),en=t(13484),er=t(82833);function el(e){return"group"in e}function ea(e){let{data:o,withCheckIcon:t,value:r,checkIconPosition:l,unstyled:a,renderOption:i}=e;if(!el(o)){var s;let e=(s=o.value,Array.isArray(r)?r.includes(s):r===s),u=t&&e&&(0,n.jsx)(en.S,{className:w.optionsDropdownCheckIcon}),c=(0,n.jsxs)(n.Fragment,{children:["left"===l&&u,(0,n.jsx)("span",{children:o.label}),"right"===l&&u]});return(0,n.jsx)(eo.Option,{value:o.value,disabled:o.disabled,className:(0,et.A)({[w.optionsDropdownOption]:!a}),"data-reverse":"right"===l||void 0,"data-checked":e||void 0,"aria-selected":e,active:e,children:"function"==typeof i?i({option:o,checked:e}):c})}let u=o.items.map(e=>(0,n.jsx)(ea,{data:e,value:r,unstyled:a,withCheckIcon:t,checkIconPosition:l,renderOption:i},e.value));return(0,n.jsx)(eo.Group,{label:o.group,children:u})}function ei(e){let{data:o,hidden:t,hiddenWhenEmpty:r,filter:l,search:a,limit:i,maxDropdownHeight:s,withScrollArea:u=!0,filterOptions:c=!0,withCheckIcon:d=!1,value:p,checkIconPosition:b,nothingFoundMessage:m,unstyled:v,labelId:f,renderOption:h,scrollAreaProps:x,"aria-label":w}=e;!function e(o){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(Array.isArray(o))for(let n of o)if(el(n))e(n.items,t);else{if(void 0===n.value)throw Error("[@mantine/core] Each option must have value property");if("string"!=typeof n.value)throw Error("[@mantine/core] Option value must be a string, other data formats are not supported, got ".concat(typeof n.value));if(t.has(n.value))throw Error('[@mantine/core] Duplicate options are not supported. Option with value "'.concat(n.value,'" was provided more than once'));t.add(n.value)}}(o);let g="string"==typeof a?(l||function e(o){let{options:t,search:n,limit:r}=o,l=n.trim().toLowerCase(),a=[];for(let o=0;o<t.length;o+=1){let i=t[o];if(a.length===r)break;el(i)&&a.push({group:i.group,items:e({options:i.items,search:n,limit:r-a.length})}),!el(i)&&i.label.toLowerCase().includes(l)&&a.push(i)}return a})({options:o,search:c?a:"",limit:null!=i?i:1/0}):o,C=function(e){if(0===e.length)return!0;for(let o of e)if(!("group"in o)||o.items.length>0)return!1;return!0}(g),y=g.map(e=>(0,n.jsx)(ea,{data:e,withCheckIcon:d,value:p,checkIconPosition:b,unstyled:v,renderOption:h},el(e)?e.group:e.value));return(0,n.jsx)(eo.Dropdown,{hidden:t||r&&C,"data-composed":!0,children:(0,n.jsxs)(eo.Options,{labelledBy:f,"aria-label":w,children:[u?(0,n.jsx)(er.F.Autosize,{mah:null!=s?s:220,type:"scroll",scrollbarSize:"var(--combobox-padding)",offsetScrollbars:"y",...x,children:y}):y,C&&m&&(0,n.jsx)(eo.Empty,{children:m})]})})}var es=t(77211);let eu={searchable:!1,withCheckIcon:!0,allowDeselect:!0,checkIconPosition:"left"},ec=(0,u.P9)((e,o)=>{let t=(0,s.Y)("Select",eu,e),{classNames:u,styles:c,unstyled:d,vars:p,dropdownOpened:b,defaultDropdownOpened:m,onDropdownClose:v,onDropdownOpen:f,onFocus:h,onBlur:x,onClick:w,onChange:g,data:C,value:y,defaultValue:D,selectFirstOptionOnChange:S,onOptionSubmit:O,comboboxProps:A,readOnly:k,disabled:j,filter:E,limit:I,withScrollArea:N,maxDropdownHeight:_,size:T,searchable:P,rightSection:R,checkIconPosition:B,withCheckIcon:Y,nothingFoundMessage:L,name:F,form:V,searchValue:M,defaultSearchValue:q,onSearchChange:z,allowDeselect:H,error:K,rightSectionPointerEvents:Z,id:G,clearable:U,clearButtonProps:W,hiddenInputProps:J,renderOption:Q,onClear:$,autoComplete:ee,scrollAreaProps:et,__defaultRightSection:en,__clearSection:er,__clearable:el,chevronColor:ea,...e
1c}=t,ed=(0,r.useMemo)(()=>(function(e){return e?e.map(e=>(function e(o){return"string"==typeof o?{value:o,label:o}:"value"in o&&!("label"in o)?{value:o.value,label:o.value,disabled:o.disabled}:"number"==typeof o?{value:o.toString(),label:o.toString()}:"group"in o?{group:o.group,items:o.items.map(o=>e(o))}:o})(e)):[]})(C),[C]),ep=(0,r.useMemo)(()=>(function e(o){return o.reduce((o,t)=>"group"in t?{...o,...e(t.items)}:(o[t.value]=t,o),{})})(ed),[ed]),eb=(0,l.B)(G),[em,ev,ef]=(0,a.Z)({value:y,defaultValue:D,finalValue:null,onChange:g}),eh="string"==typeof em?ep[em]:void 0,ex=function(e){let o=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{o.current=e},[e]),o.current}(eh),[ew,eg]=(0,a.Z)({value:M,defaultValue:q,finalValue:eh?eh.label:"",onChange:z}),eC=X({opened:b,defaultOpened:m,onDropdownOpen:()=>{null==f||f(),eC.updateSelectedOptionIndex("active",{scrollIntoView:!0})},onDropdownClose:()=>{null==v||v(),eC.resetSelectedOption()}}),{resolvedClassNames:ey,resolvedStyles:eD}=(0,i.Y)({props:t,styles:c,classNames:u});(0,r.useEffect)(()=>{S&&eC.selectFirstOption()},[S,em]),(0,r.useEffect)(()=>{null===y&&eg(""),"string"==typeof y&&eh&&((null==ex?void 0:ex.value)!==eh.value||(null==ex?void 0:ex.label)!==eh.label)&&eg(eh.label)},[y,eh]);let eS=(0,n.jsx)(eo.ClearButton,{...W,onClear:()=>{ev(null,null),eg(""),null==$||$()}}),eO=U&&!!em&&!j&&!k;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(eo,{store:eC,__staticSelector:"Select",classNames:ey,styles:eD,unstyled:d,readOnly:k,onOptionSubmit:e=>{null==O||O(e);let o=H&&ep[e].value===em?null:ep[e],t=o?o.value:null;t!==em&&ev(t,o),ef||eg("string"==typeof t&&(null==o?void 0:o.label)||""),eC.closeDropdown()},size:T,...A,children:[(0,n.jsx)(eo.Target,{targetType:P?"input":"button",autoComplete:ee,children:(0,n.jsx)(es.O,{id:eb,ref:o,__defaultRightSection:(0,n.jsx)(eo.Chevron,{size:T,error:K,unstyled:d,color:ea}),__clearSection:eS,__clearable:eO,rightSection:R,rightSectionPointerEvents:Z||(eO?"all":"none"),...ec,size:T,__staticSelector:"Select",disabled:j,readOnly:k||!P,value:ew,onChange:e=>{eg(e.currentTarget.value),eC.openDropdown(),S&&eC.selectFirstOption()},onFocus:e=>{P&&eC.openDropdown(),null==h||h(e)},onBlur:e=>{var o;P&&eC.closeDropdown(),eg(null!=em&&(null==(o=ep[em])?void 0:o.label)||""),null==x||x(e)},onClick:e=>{P?eC.openDropdown():eC.toggleDropdown(),null==w||w(e)},classNames:ey,styles:eD,unstyled:d,pointer:!P,error:K})}),(0,n.jsx)(ei,{data:ed,hidden:k||j,filter:E,search:ew,limit:I,hiddenWhenEmpty:!L,withScrollArea:N,maxDropdownHeight:_,filterOptions:P&&(null==eh?void 0:eh.label)!==ew,value:em,checkIconPosition:B,withCheckIcon:Y,nothingFoundMessage:L,unstyled:d,labelId:ec.label?"".concat(eb,"-label"):void 0,"aria-label":ec.label?void 0:ec["aria-label"],renderOption:Q,scrollAreaProps:et})]}),(0,n.jsx)(eo.HiddenInput,{value:em,name:F,form:V,disabled:j,...J})]})});ec.classes={...es.O.classes,...eo.classes},ec.displayName="@mantine/core/Select"}}]);

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.