1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[932],{68795:function(e,n,t){t.d(n,{Z:function(){return a}});var o=t(87462),r=t(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},i=t(13401),a=r.forwardRef(function(e,n){return r.createElement(i.Z,(0,o.Z)({},e,{ref:n,icon:u}))})},88708:function(e,n,t){t.d(n,{ZP:function(){return l}});var o=t(97685),r=t(67294),u=t(98924),i=0,a=(0,u.Z)();function l(e){var n=r.useState(),t=(0,o.Z)(n,2),u=t[0],l=t[1];return r.useEffect(function(){var e;l("rc_select_".concat((a?(e=i,i+=1):e="TEST_OR_SSR",e)))},[]),e||u}},50089:function(e,n,t){t.r(n),t.d(n,{BaseSelect:function(){return q},OptGroup:function(){return en},Option:function(){return eo},default:function(){return ew},useBaseProps:function(){return y}});var o=t(87462),r=t(74902),u=t(4942),i=t(1413),a=t(97685),l=t(91),c=t(71002),s=t(21770),f=t(80334),d=t(67294),v=t(93967),p=t.n(v),m=t(8410),h=t(31131),g=t(42550),b=function(e){var n=e.className,t=e.customizeIcon,o=e.customizeIconProps,r=e.children,u=e.onMouseDown,i=e.onClick,a="function"==typeof t?t(o):t;return d.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),null==u||u(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==a?a:d.createElement("span",{className:p()(n.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))},Z=function(e,n,t,o,r){var u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,l=d.useMemo(function(){return"object"===(0,c.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:d.useMemo(function(){return!u&&!!o&&(!!t.length||!!i)&&!("combobox"===a&&""===i)},[o,u,t.length,i,a]),clearIcon:d.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:n,customizeIcon:l},"\xd7")}},w=d.createContext(null);function y(){return d.useContext(w)}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=d.useRef(null),t=d.useRef(null);return d.useEffect(function(){return function(){window.clearTimeout(t.current)}},[]),[function(){return n.current},function(o){(o||null===n.current)&&(n.current=o),window.clearTimeout(t.current),t.current=window.setTimeout(function(){n.current=null},e)}]}var S=t(15105),C=t(64217),x=t(39983),R=function(e,n,t){var o=(0,i.Z)((0,i.Z)({},e),t?n:{});return Object.keys(n).forEach(function(t){var r=n[t];"function"==typeof r&&(o[t]=function(){for(var n,o=arguments.length,u=Array(o),i=0;i<o;i++)u[i]=arguments[i];return r.apply(void 0,u),null===(n=e[t])||void 0===n?void 0:n.call.apply(n,[e].concat(u))})}),o},M=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],I=d.forwardRef(function(e,n){var t=e.prefixCls,o=e.id,r=e.inputElement,u=e.autoFocus,a=e.autoComplete,c=e.editable,s=e.activeDescendantId,v=e.value,m=e.open,h=e.attrs,b=(0,l.Z)(e,M),Z=r||d.createElement("input",null),w=Z,y=w.ref,E=w.props;return(0,f.Kp)(!("maxLength"in Z.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Z=d.cloneElement(Z,(0,i.Z)((0,i.Z)((0,i.Z)({type:"search"},R(b,E,!0)),{},{id:o,ref:(0,g.sQ)(n,y),autoComplete:a||"off",autoFocus:u,className:p()("".concat(t,"-selection-search-input"),null==E?void 0:E.className),role:"combobox","aria-expanded":m||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":m?s:void 0},h),{},{value:c?v:"",readOnly:!c,unselectable:c?null:"on",style:(0,i.Z)((0,i.Z)({},E.style),{},{opacity:c?null:0})}))});function N(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var D="undefined"!=typeof window&&window.document&&window.document.documentElement;function P(e){return["string","number"].includes((0,c.Z)(e))}function T(e){var n=void 0;return e&&(P(e.title)?n=e.title.toString():P(e.label)&&(n=e.label.toString())),n}function k(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var O=function(e){e.preventDefault(),e.stopPropagation()},L=function(e){var n,t,o=e.id,r=e.prefixCls,i=e.values,l=e.open,c=e.searchValue,s=e.autoClearSearchValue,f=e.inputRef,v=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,Z=e.autoFocus,w=e.autoComplete,y=e.activeDescendantId,E=e.tabIndex,S=e.removeIcon,R=e.maxTagCount,M=e.maxTagTextLength,N=e.maxTagPlaceholder,P=void 0===N?function(e){return"+ ".concat(e.length," ...")}:N,L=e.tagRender,V=e.onToggleOpen,A=e.onRemove,H=e.onInputChange,F=e.onInputPaste,_=e.onInputKeyDown,z=e.onInputMouseDown,B=e.onInputCompositionStart,K=e.onInputCompositionEnd,j=e.onInputBlur,W=d.useRef(null),Y=(0,d.useState)(0),X=(0,a.Z)(Y,2),U=X[0],G=X[1],Q=(0,d.useState)(!1),J=(0,a.Z)(Q,2),$=J[0],q=J[1],ee="".concat(r,"-selection"),en=l||"multiple"===h&&!1===s||"tags"===h?c:"";n=function(){G(W.current.scrollWidth)},t=[en],D?d.useLayoutEffect(n,t):d.useEffect(n,t);var et=function(e,n,t,o,r){return d.createElement("span",{title:T(e),className:p()("".concat(ee,"-item"),(0,u.Z)({},"".concat(ee,"-item-disabled"),t))},d.createElement("span",{className:"".concat(ee,"-item-content")},n),o&&d.createElement(b,{className:"".concat(ee,"-item-remove"),onMouseDown:O,onClick:r,customizeIcon:S},"\xd7"))},eo=function(e,n,t,o,r,u){return d.createElement("span",{onMouseDown:function(e){O(e),V(!l)}},L({label:n,value:e,disabled:t,closable:o,onClose:r,isMaxTag:!!u}))},er=d.createElement("div",{className:"".concat(ee,"-search"),style:{width:U},onFocus:function(){q(!0)},onBlur:function(){q(!1)}},d.createElement(I,{ref:f,open:l,prefixCls:r,id:o,inputElement:null,disabled:m,autoFocus:Z,autoComplete:w,editable:"tags"===h||"multiple"===h&&!1===s||g&&(l||$),activeDescendantId:y,value:en,onKeyDown:_,onMouseDown:z,onChange:H,onPaste:F,onCompositionStart:B,onCompositionEnd:K,onBlur:j,tabIndex:E,attrs:(0,C.Z)(e,!0)}),d.createElement("span",{ref:W,className:"".concat(ee,"-search-mirror"),"aria-hidden":!0},en,"\xa0")),eu=d.createElement(x.Z,{prefixCls:"".concat(ee,"-overflow"),data:i,renderItem:function(e){var n=e.disabled,t=e.label,o=e.value,r=!m&&!n,u=t;if("number"==typeof M&&("string"==typeof t||"number"==typeof t)){var i=String(u);i.length>M&&(u="".concat(i.slice(0,M),"..."))}var a=function(n){n&&n.stopPropagation(),A(e)};return"function"==typeof L?eo(o,u,n,r,a):et(e,u,n,r,a)},renderRest:function(e){if(!i.length)return null;var n="function"==typeof P?P(e):P;return"function"==typeof L?eo(void 0,n,!1,!1,void 0,!0):et({title:n},n,!1)},suffix:er,itemKey:k,maxCount:R});return d.createElement("span",{className:"".concat(ee,"-wrap")},eu,!i.length&&!en&&d.createElement("span",{className:"".concat(ee,"-placeholder")},v))},V=function(e){var n=e.inputElement,t=e.prefixCls,o=e.id,r=e.inputRef,u=e.disabled,i=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,s=e.mode,f=e.open,v=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,Z=e.maxLength,w=e.onInputKeyDown,y=e.onInputMouseDown,E=e.onInputChange,S=e.onInputPaste,x=e.onInputCompositionStart,R=e.onInputCompositionEnd,M=e.onInputBlur,N=e.title,D=d.useState(!1),P=(0,a.Z)(D,2),k=P[0],O=P[1],L="combobox"===s,V=v[0],A=g||"";L&&b&&!k&&(A=b),d.useEffect(function(){L&&O(!1)},[L,b]);var H=("combobox"===s||!!f||!!h)&&!!A,F=void 0===N?T(V):N,_=d.useMemo(function(){return V?null:d.createElement("span",{className:"".concat(t,"-selection-
1placeholder"),style:H?{visibility:"hidden"}:void 0},p)},[V,H,p,t]);return d.createElement("span",{className:"".concat(t,"-selection-wrap")},d.createElement("span",{className:"".concat(t,"-selection-search")},d.createElement(I,{ref:r,prefixCls:t,id:o,open:f,inputElement:n,disabled:u,autoFocus:i,autoComplete:l,editable:L||h,activeDescendantId:c,value:A,onKeyDown:w,onMouseDown:y,onChange:function(e){O(!0),E(e)},onPaste:S,onCompositionStart:x,onCompositionEnd:R,onBlur:M,tabIndex:m,attrs:(0,C.Z)(e,!0),maxLength:L?Z:void 0})),!L&&V?d.createElement("span",{className:"".concat(t,"-selection-item"),title:F,style:H?{visibility:"hidden"}:void 0},V.label):null,_)},A=d.forwardRef(function(e,n){var t=(0,d.useRef)(null),r=(0,d.useRef)(!1),u=e.prefixCls,i=e.open,l=e.mode,c=e.showSearch,s=e.tokenWithEnter,f=e.disabled,v=e.prefix,p=e.autoClearSearchValue,m=e.onSearch,h=e.onSearchSubmit,g=e.onToggleOpen,b=e.onInputKeyDown,Z=e.onInputBlur,w=e.domRef;d.useImperativeHandle(n,function(){return{focus:function(e){t.current.focus(e)},blur:function(){t.current.blur()}}});var y=E(0),C=(0,a.Z)(y,2),x=C[0],R=C[1],M=(0,d.useRef)(null),I=function(e){!1!==m(e,!0,r.current)&&g(!0)},N={inputRef:t,onInputKeyDown:function(e){var n=e.which,o=t.current instanceof HTMLTextAreaElement;!o&&i&&(n===S.Z.UP||n===S.Z.DOWN)&&e.preventDefault(),b&&b(e),n!==S.Z.ENTER||"tags"!==l||r.current||i||null==h||h(e.target.value),o&&!i&&~[S.Z.UP,S.Z.DOWN,S.Z.LEFT,S.Z.RIGHT].indexOf(n)||!n||[S.Z.ESC,S.Z.SHIFT,S.Z.BACKSPACE,S.Z.TAB,S.Z.WIN_KEY,S.Z.ALT,S.Z.META,S.Z.WIN_KEY_RIGHT,S.Z.CTRL,S.Z.SEMICOLON,S.Z.EQUALS,S.Z.CAPS_LOCK,S.Z.CONTEXT_MENU,S.Z.F1,S.Z.F2,S.Z.F3,S.Z.F4,S.Z.F5,S.Z.F6,S.Z.F7,S.Z.F8,S.Z.F9,S.Z.F10,S.Z.F11,S.Z.F12].includes(n)||g(!0)},onInputMouseDown:function(){R(!0)},onInputChange:function(e){var n=e.target.value;if(s&&M.current&&/[\r\n]/.test(M.current)){var t=M.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,M.current)}M.current=null,I(n)},onInputPaste:function(e){var n=e.clipboardData,t=null==n?void 0:n.getData("text");M.current=t||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==l&&I(e.target.value)},onInputBlur:Z},D="multiple"===l||"tags"===l?d.createElement(L,(0,o.Z)({},e,N)):d.createElement(V,(0,o.Z)({},e,N));return d.createElement("div",{ref:w,className:"".concat(u,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){t.current.focus()}):t.current.focus())},onMouseDown:function(e){var n=x();e.target===t.current||n||"combobox"===l&&f||e.preventDefault(),("combobox"===l||c&&n)&&i||(i&&!1!==p&&m("",!0,!1),g())}},v&&d.createElement("div",{className:"".concat(u,"-prefix")},v),D)}),H=t(40228),F=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],_=function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},z=d.forwardRef(function(e,n){var t=e.prefixCls,r=(e.disabled,e.visible),a=e.children,c=e.popupElement,s=e.animation,f=e.transitionName,v=e.dropdownStyle,m=e.dropdownClassName,h=e.direction,g=e.placement,b=e.builtinPlacements,Z=e.dropdownMatchSelectWidth,w=e.dropdownRender,y=e.dropdownAlign,E=e.getPopupContainer,S=e.empty,C=e.getTriggerDOMNode,x=e.onPopupVisibleChange,R=e.onPopupMouseEnter,M=(0,l.Z)(e,F),I="".concat(t,"-dropdown"),N=c;w&&(N=w(c));var D=d.useMemo(function(){return b||_(Z)},[b,Z]),P=s?"".concat(I,"-").concat(s):f,T="number"==typeof Z,k=d.useMemo(function(){return T?null:!1===Z?"minWidth":"width"},[Z,T]),O=v;T&&(O=(0,i.Z)((0,i.Z)({},O),{},{width:Z}));var L=d.useRef(null);return d.useImperativeHandle(n,function(){return{getPopupElement:function(){var e;return null===(e=L.current)||void 0===e?void 0:e.popupElement}}}),d.createElement(H.Z,(0,o.Z)({},M,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:g||("rtl"===(void 0===h?"ltr":h)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:I,popupTransitionName:P,popup:d.createElement("div",{onMouseEnter:R},N),ref:L,stretch:k,popupAlign:y,popupVisible:r,getPopupContainer:E,popupClassName:p()(m,(0,u.Z)({},"".concat(I,"-empty"),S)),popupStyle:O,getTriggerDOMNode:C,onPopupVisibleChange:x}),a)}),B=t(84506);function K(e,n){var t,o=e.key;return("value"in e&&(t=e.value),null!=o)?o:void 0!==t?t:"rc-index-key-".concat(n)}function j(e){return void 0!==e&&!Number.isNaN(e)}function W(e,n){var t=e||{},o=t.label,r=t.value,u=t.options,i=t.groupLabel,a=o||(n?"children":"label");return{label:a,value:r||"value",options:u||"options",groupLabel:i||a}}function Y(e){var n=(0,i.Z)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,f.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}var X=function(e,n,t){if(!n||!n.length)return null;var o=!1,u=function e(n,t){var u=(0,B.Z)(t),i=u[0],a=u.slice(1);if(!i)return[n];var l=n.split(i);return o=o||l.length>1,l.reduce(function(n,t){return[].concat((0,r.Z)(n),(0,r.Z)(e(t,a)))}
1,[]).filter(Boolean)}(e,n);return o?void 0!==t?u.slice(0,t):u:null},U=d.createContext(null);function G(e){var n=e.visible,t=e.values;return n?d.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(t.slice(0,50).map(function(e){var n=e.label,t=e.value;return["number","string"].includes((0,c.Z)(n))?n:t}).join(", ")),t.length>50?", ...":null):null}var Q=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],J=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],$=function(e){return"tags"===e||"multiple"===e},q=d.forwardRef(function(e,n){var t,c,f,v,y,S,C=e.id,x=e.prefixCls,R=e.className,M=e.showSearch,I=e.tagRender,N=e.direction,D=e.omitDomProps,P=e.displayValues,T=e.onDisplayValuesChange,k=e.emptyOptions,O=e.notFoundContent,L=void 0===O?"Not Found":O,V=e.onClear,H=e.mode,F=e.disabled,_=e.loading,B=e.getInputElement,K=e.getRawInputElement,W=e.open,Y=e.defaultOpen,q=e.onDropdownVisibleChange,ee=e.activeValue,en=e.onActiveValueChange,et=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,eu=e.onSearch,ei=e.onSearchSplit,ea=e.tokenSeparators,el=e.allowClear,ec=e.prefix,es=e.suffixIcon,ef=e.clearIcon,ed=e.OptionList,ev=e.animation,ep=e.transitionName,em=e.dropdownStyle,eh=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eZ=e.dropdownAlign,ew=e.placement,ey=e.builtinPlacements,eE=e.getPopupContainer,eS=e.showAction,eC=void 0===eS?[]:eS,ex=e.onFocus,eR=e.onBlur,eM=e.onKeyUp,eI=e.onKeyDown,eN=e.onMouseDown,eD=(0,l.Z)(e,Q),eP=$(H),eT=(void 0!==M?M:eP)||"combobox"===H,ek=(0,i.Z)({},eD);J.forEach(function(e){delete ek[e]}),null==D||D.forEach(function(e){delete ek[e]});var eO=d.useState(!1),eL=(0,a.Z)(eO,2),eV=eL[0],eA=eL[1];d.useEffect(function(){eA((0,h.Z)())},[]);var eH=d.useRef(null),eF=d.useRef(null),e_=d.useRef(null),ez=d.useRef(null),eB=d.useRef(null),eK=d.useRef(!1),ej=function(){var e=arguments.length>
10&&void 0!==arguments[0]?arguments[0]:10,n=d.useState(!1),t=(0,a.Z)(n,2),o=t[0],r=t[1],u=d.useRef(null),i=function(){window.clearTimeout(u.current)};return d.useEffect(function(){return i},[]),[o,function(n,t){i(),u.current=window.setTimeout(function(){r(n),t&&t()},e)},i]}(),eW=(0,a.Z)(ej,3),eY=eW[0],eX=eW[1],eU=eW[2];d.useImperativeHandle(n,function(){var e,n;return{focus:null===(e=ez.current)||void 0===e?void 0:e.focus,blur:null===(n=ez.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=eB.current)||void 0===n?void 0:n.scrollTo(e)},nativeElement:eH.current||eF.current}});var eG=d.useMemo(function(){if("combobox"!==H)return eo;var e,n=null===(e=P[0])||void 0===e?void 0:e.value;return"string"==typeof n||"number"==typeof n?String(n):""},[eo,H,P]),eQ="combobox"===H&&"function"==typeof B&&B()||null,eJ="function"==typeof K&&K(),e$=(0,g.x1)(eF,null==eJ||null===(f=eJ.props)||void 0===f?void 0:f.ref),eq=d.useState(!1),e0=(0,a.Z)(eq,2),e1=e0[0],e2=e0[1];(0,m.Z)(function(){e2(!0)},[]);var e8=(0,s.Z)(!1,{defaultValue:Y,value:W}),e5=(0,a.Z)(e8,2),e6=e5[0],e4=e5[1],e7=!!e1&&e6,e3=!L&&k;(F||e3&&e7&&"combobox"===H)&&(e7=!1);var e9=!e3&&e7,ne=d.useCallback(function(e){var n=void 0!==e?e:!e7;F||(e4(n),e7!==n&&(null==q||q(n)))},[F,e7,e4,q]),nn=d.useMemo(function(){return(ea||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ea]),nt=d.useContext(U)||{},no=nt.maxCount,nr=nt.rawValues,nu=function(e,n,t){if(!(eP&&j(no))||!((null==nr?void 0:nr.size)>=no)){var o=!0,r=e;null==en||en(null);var u=X(e,ea,j(no)?no-nr.size:void 0),i=t?null:u;return"combobox"!==H&&i&&(r="",null==ei||ei(i),ne(!1),o=!1),eu&&eG!==r&&eu(r,{source:n?"typing":"effect"}),o}};d.useEffect(function(){e7||eP||"combobox"===H||nu("",!1,!1)},[e7]),d.useEffect(function(){e6&&F&&e4(!1),F&&!eK.current&&eX(!1)},[F]);var ni=E(),na=(0,a.Z)(ni,2),nl=na[0],nc=na[1],ns=d.useRef(!1),nf=d.useRef(!1),nd=[];d.useEffect(function(){return function(){nd.forEach(function(e){return clearTimeout(e)}),nd.splice(0,nd.length)}},[]);var nv=d.useState({}),np=(0,a.Z)(nv,2)[1];eJ&&(v=function(e){ne(e)}),t=function(){var e;return[eH.current,null===(e=e_.current)||void 0===e?void 0:e.getPopupElement()]},(c=d.useRef(null)).current={open:e9,triggerOpen:ne,customizedTrigger:!!eJ},d.useEffect(function(){function e(e){if(null===(n=c.current)||void 0===n||!n.customizedTrigger){var n,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),c.current.open&&t().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&c.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var nm=d.useMemo(function(){return(0,i.Z)((0,i.Z)({},e),{},{notFoundContent:L,open:e7,triggerOpen:e9,id:C,showSearch:eT,multiple:eP,toggleOpen:ne})},[e,L,e9,e7,C,eT,eP,ne]),nh=!!es||_;nh&&(y=d.createElement(b,{className:p()("".concat(x,"-arrow"),(0,u.Z)({},"".concat(x,"-arrow-loading"),_)),customizeIcon:es,customizeIconProps:{loading:_,searchValue:eG,open:e7,focused:eY,showSearch:eT}}));var ng=Z(x,function(){var e;null==V||V(),null===(e=ez.current)||void 0===e||e.focus(),T([],{type:"clear",values:P}),nu("",!1,!1)},P,el,ef,F,eG,H),nb=ng.allowClear,nZ=ng.clearIcon,nw=d.createElement(ed,{ref:eB}),ny=p()(x,R,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(x,"-focused"),eY),"".concat(x,"-multiple"),eP),"".concat(x,"-single"),!eP),"".concat(x,"-allow-clear"),el),"".concat(x,"-show-arrow"),nh),"".concat(x,"-disabled"),F),"".concat(x,"-loading"),_),"".concat(x,"-open"),e7),"".concat(x,"-customize-input"),eQ),"".concat(x,"-show-search"),eT)),nE=d.createElement(z,{ref:e_,disabled:F,prefixCls:x,visible:e9,popupElement:nw,animation:ev,transitionName:ep,dropdownStyle:em,dropdownClassName:eh,direction:N,dropdownMatchSelectWidth:eg,dropdownRender:eb,dropdownAlign:eZ,placement:ew,builtinPlacements:ey,getPopupContainer:eE,empty:k,getTriggerDOMNode:function(e){return eF.current||e},onPopupVisibleChange:v,onPopupMouseEnter:function(){np({})}},eJ?d.cloneElement(eJ,{ref:e$}):d.createElement(A,(0,o.Z)({},e,{domRef:eF,prefixCls:x,inputElement:eQ,ref:ez,id:C,prefix:ec,showSearch:eT,autoClearSearchValue:er,mode:H,activeDescendantId:et,tagRender:I,values:P,open:e7,onToggleOpen:ne,activeValue:ee,searchValue:eG,onSearch:nu,onSearchSubmit:function(e){e&&e.trim()&&eu(e,{source:"submit"})},onRemove:function(e){T(P.filter(function(n){return n!==e}),{type:"remove",values:[e]})},tokenWithEnter:nn,onInputBlur:function(){ns.current=!1}})));return S=eJ?nE:d.createElement("div",(0,o.Z)({className:ny}
1,ek,{ref:eH,onMouseDown:function(e){var n,t=e.target,o=null===(n=e_.current)||void 0===n?void 0:n.getPopupElement();if(o&&o.contains(t)){var r=setTimeout(function(){var e,n=nd.indexOf(r);-1!==n&&nd.splice(n,1),eU(),eV||o.contains(document.activeElement)||null===(e=ez.current)||void 0===e||e.focus()});nd.push(r)}for(var u=arguments.length,i=Array(u>1?u-1:0),a=1;a<u;a++)i[a-1]=arguments[a];null==eN||eN.apply(void 0,[e].concat(i))},onKeyDown:function(e){var n,t=nl(),o=e.key,u="Enter"===o;if(u&&("combobox"!==H&&e.preventDefault(),e7||ne(!0)),nc(!!eG),"Backspace"===o&&!t&&eP&&!eG&&P.length){for(var i=(0,r.Z)(P),a=null,l=i.length-1;l>=0;l-=1){var c=i[l];if(!c.disabled){i.splice(l,1),a=c;break}}a&&T(i,{type:"remove",values:[a]})}for(var s=arguments.length,f=Array(s>1?s-1:0),d=1;d<s;d++)f[d-1]=arguments[d];!e7||u&&ns.current||(u&&(ns.current=!0),null===(n=eB.current)||void 0===n||n.onKeyDown.apply(n,[e].concat(f))),null==eI||eI.apply(void 0,[e].concat(f))},onKeyUp:function(e){for(var n,t=arguments.length,o=Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];e7&&(null===(n=eB.current)||void 0===n||n.onKeyUp.apply(n,[e].concat(o))),"Enter"===e.key&&(ns.current=!1),null==eM||eM.apply(void 0,[e].concat(o))},onFocus:function(){eX(!0),!F&&(ex&&!nf.current&&ex.apply(void 0,arguments),eC.includes("focus")&&ne(!0)),nf.current=!0},onBlur:function(){eK.current=!0,eX(!1,function(){nf.current=!1,eK.current=!1,ne(!1)}),!F&&(eG&&("tags"===H?eu(eG,{source:"submit"}):"multiple"===H&&eu("",{source:"blur"})),eR&&eR.apply(void 0,arguments))}}),d.createElement(G,{visible:eY&&!e7,values:P}),nE,y,nb&&nZ),d.createElement(w.Provider,{value:nm},S)}),ee=function(){return null};ee.isSelectOptGroup=!0;var en=ee,et=function(){return null};et.isSelectOption=!0;var eo=et,er=t(56982),eu=t(98423),ei=t(87718),ea=["disabled","title","children","style","className"];function el(e){return"string"==typeof e||"number"==typeof e}var ec=d.forwardRef(function(e,n){var t=y(),i=t.prefixCls,c=t.id,s=t.open,f=t.multiple,v=t.mode,m=t.searchValue,h=t.toggleOpen,g=t.notFoundContent,Z=t.onPopupScroll,w=d.useContext(U),E=w.maxCount,x=w.flattenOptions,R=w.onActiveValue,M=w.defaultActiveFirstOption,I=w.onSelect,N=w.menuItemSelectedIcon,D=w.rawValues,P=w.fieldNames,T=w.virtual,k=w.direction,O=w.listHeight,L=w.listItemHeight,V=w.optionRender,A="".concat(i,"-item"),H=(0,er.Z)(function(){return x},[s,x],function(e,n){return n[0]&&e[1]!==n[1]}),F=d.useRef(null),_=d.useMemo(function(){return f&&j(E)&&(null==D?void 0:D.size)>=E},[f,E,null==D?void 0:D.size]),z=function(e){e.preventDefault()},B=function(e){var n;null===(n=F.current)||void 0===n||n.scrollTo("number"==typeof e?{index:e}:e)},K=d.useCallback(function(e){return"combobox"!==v&&D.has(e)},[v,(0,r.Z)(D).toString(),D.size]),W=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=H.length,o=0;o<t;o+=1){var r=(e+o*n+t)%t,u=H[r]||{},i=u.group,a=u.data;if(!i&&!(null!=a&&a.disabled)&&(K(a.value)||!_))return r}return -1},Y=d.useState(function(){return W(0)}),X=(0,a.Z)(Y,2),G=X[0],Q=X[1],J=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Q(e);var t={source:n?"keyboard":"mouse"},o=H[e];if(!o){R(null,-1,t);return}R(o.value,e,t)};(0,d.useEffect)(function(){J(!1!==M?W(0):-1)},[H.length,m]);var $=d.useCallback(function(e){return"combobox"===v?String(e).toLowerCase()===m.toLowerCase():D.has(e)},[v,m,(0,r.Z)(D).toString(),D.size]);(0,d.useEffect)(function(){var e,n=setTimeout(function(){if(!f&&s&&1===D.size){var e=Array.from(D)[0],n=H.findIndex(function(n){var t=n.data;return m?String(t.value).startsWith(m):t.value===e});-1!==n&&(J(n),B(n))}});return s&&(null===(e=F.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(n)}},[s,m]);var q=function(e){void 0!==e&&I(e,{selected:!D.has(e)}),f||h(!1)};if(d.useImperativeHandle(n,function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case S.Z.N:case S.Z.P:case S.Z.UP:case S.Z.DOWN:var o=0;if(n===S.Z.UP?o=-1:n===S.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===S.Z.N?o=1:n===S.Z.P&&(o=-1)),0!==o){var r=W(G+o,o);B(r),J(r,!0)}break;case S.Z.TAB:case S.Z.ENTER:var u,i=H[G];!i||null!=i&&null!==(u=i.data)&&void 0!==u&&u.disabled||_?q(void 0):q(i.value),s&&e.preventDefault();break;case S.Z.ESC:h(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){B(e)}}}),0===H.length)return d.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(A,"-empty"),onMouseDown:z},g);var ee=Object.keys(P).map(function(e){return P[e]}),en=function(e){return e.label};function et(e,n){return{role:e.group?"presentation":"option",id:"".concat(c,"_list_").concat(n)}}var eo=function(e){var n=H[e];if(!n)return null;var t=n.data||{},r=t.value,u=n.group,i=(0,C.Z)(t,!0),a=en(n);
1return n?d.createElement("div",(0,o.Z)({"aria-label":"string"!=typeof a||u?null:a},i,{key:e},et(n,e),{"aria-selected":$(r)}),r):null},ec={role:"listbox",id:"".concat(c,"_list")};return d.createElement(d.Fragment,null,T&&d.createElement("div",(0,o.Z)({},ec,{style:{height:0,width:0,overflow:"hidden"}}),eo(G-1),eo(G),eo(G+1)),d.createElement(ei.Z,{itemKey:"key",ref:F,data:H,height:O,itemHeight:L,fullHeight:!1,onMouseDown:z,onScroll:Z,virtual:T,direction:k,innerProps:T?null:ec},function(e,n){var t=e.group,r=e.groupOption,i=e.data,a=e.label,c=e.value,s=i.key;if(t){var f,v=null!==(f=i.title)&&void 0!==f?f:el(a)?a.toString():void 0;return d.createElement("div",{className:p()(A,"".concat(A,"-group"),i.className),title:v},void 0!==a?a:s)}var m=i.disabled,h=i.title,g=(i.children,i.style),Z=i.className,w=(0,l.Z)(i,ea),y=(0,eu.Z)(w,ee),E=K(c),S=m||!E&&_,x="".concat(A,"-option"),R=p()(A,x,Z,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),G===n&&!S),"".concat(x,"-disabled"),S),"".concat(x,"-selected"),E)),M=en(e),I="number"==typeof M?M:M||c,D=el(I)?I.toString():void 0;return void 0!==h&&(D=h),d.createElement("div",(0,o.Z)({},(0,C.Z)(y),T?{}:et(e,n),{"aria-selected":$(c),className:R,title:D,onMouseMove:function(){G===n||S||J(n)},onClick:function(){S||q(c)},style:g}),d.createElement("div",{className:"".concat(x,"-content")},"function"==typeof V?V(e,{index:n}):I),d.isValidElement(N)||E,(!N||"function"==typeof N||E)&&d.createElement(b,{className:"".concat(A,"-option-state"),customizeIcon:N,customizeIconProps:{value:c,disabled:S,isSelected:E}},E?"â":null))}))}),es=function(e,n){var t=d.useRef({values:new Map,options:new Map});return[d.useMemo(function(){var o=t.current,r=o.values,u=o.options,a=e.map(function(e){if(void 0===e.label){var n;return(0,i.Z)((0,i.Z)({},e),{},{label:null===(n=r.get(e.value))||void 0===n?void 0:n.label})}return e}),l=new Map,c=new Map;return a.forEach(function(e){l.set(e.value,e),c.set(e.value,n.get(e.value)||u.get(e.value))}),t.current.values=l,t.current.options=c,a},[e,n]),d.useCallback(function(e){return n.get(e)||t.current.options.get(e)},[n])]};function ef(e,n){return N(e).join("").toUpperCase().includes(n)}var ed=t(88708),ev=t(50344),ep=["children","value"],em=["children"];function eh(e){var n=d.useRef();return n.current=e,d.useCallback(function(){return n.current.apply(n,arguments)},[])}var eg=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eb=["inputValue"],eZ=d.forwardRef(function(e,n){var t,f=e.id,v=e.mode,p=e.prefixCls,m=e.backfill,h=e.fieldNames,g=e.inputValue,b=e.searchValue,Z=e.onSearch,w=e.autoClearSearchValue,y=void 0===w||w,E=e.onSelect,S=e.onDeselect,C=e.dropdownMatchSelectWidth,x=void 0===C||C,R=e.filterOption,M=e.filterSort,I=e.optionFilterProp,D=e.optionLabelProp,P=e.options,T=e.optionRender,k=e.children,O=e.defaultActiveFirstOption,L=e.menuItemSelectedIcon,V=e.virtual,A=e.direction,H=e.listHeight,F=void 0===H?200:H,_=e.listItemHeight,z=void 0===_?20:_,B=e.labelRender,j=e.value,X=e.defaultValue,G=e.labelInValue,Q=e.onChange,J=e.maxCount,ee=(0,l.Z)(e,eg),en=(0,ed.ZP)(f),et=$(v),eo=!!(!P&&k),er=d.useMemo(function(){return(void 0!==R||"combobox"!==v)&&R},[R,v]),eu=d.useMemo(function(){return W(h,eo)},[JSON.stringify(h),eo]),ei=(0,s.Z)("",{value:void 0!==b?b:g,postState:function(e){return e||""}}),ea=(0,a.Z)(ei,2),el=ea[0],eZ=ea[1],ew=d.useMemo(function(){var e=P;P||(e=function e(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ev.Z)(n).map(function(n,o){if(!d.isValidElement(n)||!n.type)return null;var r,u,a,c,s,f=n.type.isSelectOptGroup,v=n.key,p=n.props,m=p.children,h=(0,l.Z)(p,em);return t||!f?(r=n.key,a=(u=n.props).children,c=u.value,s=(0,l.Z)(u,ep),(0,i.Z)({key:r,value:void 0!==c?c:r,children:a},s)):(0,i.Z)((0,i.Z)({key:"__RC_SELECT_GRP__".concat(null===v?o:v,"__"),label:v},h),{},{options:e(m)})}).filter(function(e){return e})}(k));var n=new Map,t=new Map,o=function(e,n,t){t&&"string"==typeof t&&e.set(n[t],n)};return function e(r){for(var u=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i<r.length;i+=1){var a=r[i];!a[eu.options]||u?(n.set(a[eu.value],a),o(t,a,eu.label),o(t,a,I),o(t,a,D)):e(a[eu.options],!0)}}(e),{options:e,valueOptions:n,labelOptions:t}},[P,k,eu,I,D]),ey=ew.valueOptions,eE=ew.labelOptions,eS=ew.options,eC=d.useCallback(function(e){return N(e).map(function(e){e&&"object"===(0,c.Z)(e)?(o=e.key,t=e.label,n=null!==(i=e.value)&&void 0!==i?i:o):n=e;var n,t,o,r,u,i,a,l=ey.get(n);return l&&(void 0===t&&(t=null==l?void 0:l[D||eu.label]),void 0===o&&(o=null!==(a=null==l?void 0:l.key)&&void 0!==a?a:n),r=null==l?void 0:l.disabled,u=null==l?void 0:l.title),{label:t,value:n,key:o,disabled:r,title:u}})},[eu,D,ey]),ex=(0,s.Z)(X,{value:j}),eR=(0,a.Z)(ex,2),eM=eR[0],eI=eR[1],eN=es(d.useMemo(function(){var e,n,t=eC(et&&null===eM?[]:eM);return"combobox"!==v||(n=null===(e=t[0])||void 0===e?void 0:e.value)||0===n?t:[]},[eM,eC,v,et]),ey),eD=(0,a.Z)(eN,2),eP=eD[0],eT=eD[1],ek=d.useMemo(function(){if(!v&&1===eP.length){var e=eP[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return eP.map(function(e){var n;return(0,i.Z)((0,i.Z)({},e),{},{label:null!==(n="function"==typeof B?B(e):e.label)&&void 0!==n?n:e.value})})},[v,eP,B]),eO=d.useMemo(function(){return new Set(eP.map(function(e){return e.value}))},[eP]);d.useEffect(function(){if("combobox"===v){var e,n=null===(e=eP[0])||void 0===e?void 0:e.value;eZ(null!=n?String(n):"")}},[eP]);var eL=eh(function(e,n){return(0,u.Z)((0,u.Z)({},eu.value,e),eu.label,null!=n?n:e)}),eV=(t=d.useMemo(function(){if("tags"!==v)return eS;var e=(0,r.Z)(eS);return(0,r.Z)(eP).sort(function(e,n){return e.value<n.value?-1:1}
1).forEach(function(n){var t=n.value;ey.has(t)||e.push(eL(t,n.label))}),e},[eL,eS,ey,eP,v]),d.useMemo(function(){if(!el||!1===er)return t;var e=eu.options,n=eu.label,o=eu.value,r=[],a="function"==typeof er,l=el.toUpperCase(),c=a?er:function(t,r){return I?ef(r[I],l):r[e]?ef(r["children"!==n?n:"label"],l):ef(r[o],l)},s=a?function(e){return Y(e)}:function(e){return e};return t.forEach(function(n){if(n[e]){if(c(el,s(n)))r.push(n);else{var t=n[e].filter(function(e){return c(el,s(e))});t.length&&r.push((0,i.Z)((0,i.Z)({},n),{},(0,u.Z)({},e,t)))}return}c(el,s(n))&&r.push(n)}),r},[t,er,I,el,eu])),eA=d.useMemo(function(){return"tags"!==v||!el||eV.some(function(e){return e[I||"value"]===el})||eV.some(function(e){return e[eu.value]===el})?eV:[eL(el)].concat((0,r.Z)(eV))},[eL,I,v,eV,el,eu]),eH=d.useMemo(function(){return M?function e(n){return(0,r.Z)(n).sort(function(e,n){return M(e,n,{searchValue:el})}).map(function(n){return Array.isArray(n.options)?(0,i.Z)((0,i.Z)({},n),{},{options:n.options.length>0?e(n.options):n.options}):n})}(eA):eA},[eA,M,el]),eF=d.useMemo(function(){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,o=n.childrenAsData,r=[],u=W(t,!1),i=u.label,a=u.value,l=u.options,c=u.groupLabel;return!function e(n,t){Array.isArray(n)&&n.forEach(function(n){if(!t&&l in n){var u=n[c];void 0===u&&o&&(u=n.label),r.push({key:K(n,r.length),group:!0,data:n,label:u}),e(n[l],!0)}else{var s=n[a];r.push({key:K(n,r.length),groupOption:t,data:n,label:n[i],value:s})}})}(e,!1),r}(eH,{fieldNames:eu,childrenAsData:eo})},[eH,eu,eo]),e_=function(e){var n=eC(e);if(eI(n),Q&&(n.length!==eP.length||n.some(function(e,n){var t;return(null===(t=eP[n])||void 0===t?void 0:t.value)!==(null==e?void 0:e.value)}))){var t=G?n:n.map(function(e){return e.value}),o=n.map(function(e){return Y(eT(e.value))});Q(et?t:t[0],et?o:o[0])}},ez=d.useState(null),eB=(0,a.Z)(ez,2),eK=eB[0],ej=eB[1],eW=d.useState(0),eY=(0,a.Z)(eW,2),eX=eY[0],eU=eY[1],eG=void 0!==O?O:"combobox"!==v,eQ=d.useCallback(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.source;eU(n),m&&"combobox"===v&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&ej(String(e))},[m,v]),eJ=function(e,n,t){var o=function(){var n,t=eT(e);return[G?{label:null==t?void 0:t[eu.label],value:e,key:null!==(n=null==t?void 0:t.key)&&void 0!==n?n:e}:e,Y(t)]};if(n&&E){var r=o(),u=(0,a.Z)(r,2);E(u[0],u[1])}else if(!n&&S&&"clear"!==t){var i=o(),l=(0,a.Z)(i,2);S(l[0],l[1])}},e$=eh(function(e,n){var t=!et||n.selected;e_(t?et?[].concat((0,r.Z)(eP),[e]):[e]:eP.filter(function(n){return n.value!==e})),eJ(e,t),"combobox"===v?ej(""):(!$||y)&&(eZ(""),ej(""))}),eq=d.useMemo(function(){return(0,i.Z)((0,i.Z)({},ew),{},{flattenOptions:eF,onActiveValue:eQ,defaultActiveFirstOption:eG,onSelect:e$,menuItemSelectedIcon:L,rawValues:eO,fieldNames:eu,virtual:!1!==V&&!1!==x,direction:A,listHeight:F,listItemHeight:z,childrenAsData:eo,maxCount:J,optionRender:T})},[J,ew,eF,eQ,eG,e$,L,eO,eu,V,x,A,F,z,eo,T]);return d.createElement(U.Provider,{value:eq},d.createElement(q,(0,o.Z)({},ee,{id:en,prefixCls:void 0===p?"rc-select":p,ref:n,omitDomProps:eb,mode:v,displayValues:ek,onDisplayValuesChange:function(e,n){e_(e);var t=n.type,o=n.values;("remove"===t||"clear"===t)&&o.forEach(function(e){eJ(e.value,!1,t)})},direction:A,searchValue:el,onSearch:function(e,n){if(eZ(e),ej(null),"submit"===n.source){var t=(e||"").trim();t&&(e_(Array.from(new Set([].concat((0,r.Z)(eO),[t])))),eJ(t,!0),eZ(""));return}"blur"!==n.source&&("combobox"===v&&e_(e),null==Z||Z(e))},autoClearSearchValue:y,onSearchSplit:function(e){var n=e;"tags"!==v&&(n=e.map(function(e){var n=eE.get(e);return null==n?void 0:n.value}).filter(function(e){return void 0!==e}));var t=Array.from(new Set([].concat((0,r.Z)(eO),(0,r.Z)(n))));e_(t),t.forEach(function(e){eJ(e,!0)})},dropdownMatchSelectWidth:x,OptionList:ec,emptyOptions:!eF.length,activeValue:eK,activeDescendantId:"".concat(en,"_list_").concat(eX)})))});eZ.Option=eo,eZ.OptGroup=en;var ew=eZ},87718:function(e,n,t){t.d(n,{Z:function(){return O}});var o=t(87462),r=t(71002),u=t(1413),i=t(4942),a=t(97685),l=t(91),c=t(93967),s=t.n(c),f=t(48555),d=t(56790),v=t(8410),p=t(67294),m=t(73935),h=p.forwardRef(function(e,n){var t=e.height,r=e.offsetY,a=e.offsetX,l=e.children,c=e.prefixCls,d=e.onInnerResize,v=e.innerProps,m=e.rtl,h=e.extra,g={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(g={height:t,position:"relative",overflow:"hidden"},b=(0,u.Z)((0,u.Z)({},b),{},(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({transform:"translateY(".concat(r,"px)")},m?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),p.createElement("div",{style:g},p.createElement(f.default,{onResize:function(e){e.offsetHeight&&d&&d()}},p.createElement("div",(0,o.Z)({style:b,className:s()((0,i.Z)({},"".concat(c,"-holder-inner"),c)),ref:n},v),l,h)))});function g(e){var n=e.children,t=e.setRef,o=p.useCallback(function(e){t(e)},[]);return p.cloneElement(n,{ref:o})}h.displayName="Filler";var b=t(75164),Z=("undefined"==typeof navigator?"undefined":(0,r.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,n,t,o){var r=(0,p.useRef)(!1),u=(0,p.useRef)(null),i=(0,p.useRef)({top:e,bottom:n,left:t,right:o});return i.current.top=e,i.current.bottom=n,i.current.left=t,i.current.right=o,function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?n<0&&i.current.left||n>0&&i.current.right:n<0&&i.current.top||n>0&&i.current.bottom;return t&&o?(clearTimeout(u.current),r.current=!1):(!o||r.current)&&(clearTimeout(u.current),r.current=!0,u.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}},y=t(15671),E=t(43144),S=function(){function e(){(0,y.Z)(this,e),(0,i.Z)(this,"maps",void 0),(0,i.Z)(this,"id",0),(0,i.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,E.Z)(e,[{key:"set",value:function(e,n){this.diffRecords.set(e,this.maps[e]),this.maps[e]=n,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}();function C(e){var n=parseFloat(e);return isNaN(n)?0:n}var x=14/15;function R(e){return Math.floor(Math.pow(e,.5))}function M(e,n){return("touches"in e?e.touches[0]:e)[n?"pageX":"pageY"]-window[n?"scrollX":"scrollY"]}var I=p.forwardRef(function(e,n){var t=e.prefixCls,o=e.rtl,r=e.scrollOffset,l=e.scrollRange,c=e.onStartMove,f=e.onStopMove,d=e.onScroll,v=e.horizontal,m=e.spinSize,h=e.containerSize,g=e.style,Z=e.thumbStyle,w=e.showScrollBar,y=p.useState(!1),E=(0,a.Z)(y,2),S=E[0],C=E[1],x=p.useState(null),R=(0,a.Z)(x,2),I=R[0],N=R[1],D=p.useState(null),P=(0,a.Z)(D,2),T=P[0],k=P[1],O=!o,L=p.useRef(),V=p.useRef(),A=p.useState(w),H=(0,a.Z)(A,2),F=H[0],_=H[1],z=p.useRef(),B=function(){!0!==w&&!1!==w&&(clearTimeout(z.current),_(!0),z.current=setTimeout(function(){_(!1)},3e3))},K=l-h||0,j=h-m||0,W=p.useMemo(function(){return 0===r||0===K?0:r/K*j},[r,K,j]),Y=p.useRef({top:W,dragging:S,pageY:I,startTop:T});Y.current={top:W,dragging:S,pageY:I,startTop:T};var X=function(e){C(!0),N(M(e,v)),k(Y.current.top),c(),e.stopPropagation(),e.preventDefault()};p.useEffect(function(){var e=function(e){e.preventDefault()},n=L.current,t=V.current;return n.addEventListener("touchstart",e,{passive:!1}),t.addEventListener("touchstart",X,{passive:!1}),function(){n.removeEventListener("touchstart",e),t.removeEventListener("touchstart",X)}},[]);var U=p.useRef();U.current=K;var G=p.useRef();G.current=j,p.useEffect(function(){if(S){var e,n=function(n){var t=Y.current,o=t.dragging,r=t.pageY,u=t.startTop;b.Z.cancel(e);var i=L.current.getBoundingClientRect(),a=h/(v?i.width:i.height);if(o){var l=(M(n,v)-r)*a,c=u;!O&&v?c-=l:c+=l;var s=U.current,f=G.current,p=Math.ceil((f?c/f:0)*s);p=Math.min(p=Math.max(p,0),s),e=(0,b.Z)(function(){d(p,v)})}},t=function(){C(!1),f()};return window.addEventListener("mousemove",n,{passive:!0}),window.addEventListener("touchmove",n,{passive:!0}),window.addEventListener("mouseup",t,{passive:!0}),window.addEventListener("touchend",t,{passive:!0}),function(){window.removeEventListener("mousemove",n),window.removeEventListener("touchmove",n),window.removeEventListener("mouseup",t),window.removeEventListener("touchend",t),b.Z.cancel(e)}}},[S]),p.useEffect(function(){return B(),function(){clearTimeout(z.current)}},[r]),p.useImperativeHandle(n,function(){return{delayHidden:B}});var Q="".concat(t,"-scrollbar"),J={position:"absolute",visibility:F?null:"hidden"},$={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return v?(Object.assign(J,{height:8,left:0,right:0,bottom:0}),Object.assign($,(0,i.Z)({height:"100%",width:m}
1,O?"left":"right",W))):(Object.assign(J,(0,i.Z)({width:8,top:0,bottom:0},O?"right":"left",0)),Object.assign($,{width:"100%",height:m,top:W})),p.createElement("div",{ref:L,className:s()(Q,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(Q,"-horizontal"),v),"".concat(Q,"-vertical"),!v),"".concat(Q,"-visible"),F)),style:(0,u.Z)((0,u.Z)({},J),g),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:B},p.createElement("div",{ref:V,className:s()("".concat(Q,"-thumb"),(0,i.Z)({},"".concat(Q,"-thumb-moving"),S)),style:(0,u.Z)((0,u.Z)({},$),Z),onMouseDown:X}))});function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e/n*e;return isNaN(t)&&(t=0),Math.floor(t=Math.max(t,20))}var D=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],P=[],T={overflowY:"auto",overflowAnchor:"none"},k=p.forwardRef(function(e,n){var t,c,y,E,k,O,L,V,A,H,F,_,z,B,K,j,W,Y,X,U,G,Q,J,$,q,ee,en,et,eo,er,eu,ei,ea,el,ec,es,ef,ed=e.prefixCls,ev=void 0===ed?"rc-virtual-list":ed,ep=e.className,em=e.height,eh=e.itemHeight,eg=e.fullHeight,eb=e.style,eZ=e.data,ew=e.children,ey=e.itemKey,eE=e.virtual,eS=e.direction,eC=e.scrollWidth,ex=e.component,eR=e.onScroll,eM=e.onVirtualScroll,eI=e.onVisibleChange,eN=e.innerProps,eD=e.extraRender,eP=e.styles,eT=e.showScrollBar,ek=void 0===eT?"optional":eT,eO=(0,l.Z)(e,D),eL=p.useCallback(function(e){return"function"==typeof ey?ey(e):null==e?void 0:e[ey]},[ey]),eV=function(e,n,t){var o=p.useState(0),r=(0,a.Z)(o,2),u=r[0],i=r[1],l=(0,p.useRef)(new Map),c=(0,p.useRef)(new S),s=(0,p.useRef)(0);function f(){s.current+=1}function d(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];f();var n=function(){var e=!1;l.current.forEach(function(n,t){if(n&&n.offsetParent){var o=n.offsetHeight,r=getComputedStyle(n),u=r.marginTop,i=r.marginBottom,a=o+C(u)+C(i);c.current.get(t)!==a&&(c.current.set(t,a),e=!0)}}),e&&i(function(e){return e+1})};if(e)n();else{s.current+=1;var t=s.current;Promise.resolve().then(function(){t===s.current&&n()})}}return(0,p.useEffect)(function(){return f},[]),[function(o,r){var u=e(o),i=l.current.get(u);r?(l.current.set(u,r),d()):l.current.delete(u),!i!=!r&&(r?null==n||n(o):null==t||t(o))},d,c.current,u]}(eL,null,null),eA=(0,a.Z)(eV,4),eH=eA[0],eF=eA[1],e_=eA[2],ez=eA[3],eB=!!(!1!==eE&&em&&eh),eK=p.useMemo(function(){return Object.values(e_.maps).reduce(function(e,n){return e+n},0)},[e_.id,e_.maps]),ej=eB&&eZ&&(Math.max(eh*eZ.length,eK)>em||!!eC),eW="rtl"===eS,eY=s()(ev,(0,i.Z)({},"".concat(ev,"-rtl"),eW),ep),eX=eZ||P,eU=(0,p.useRef)(),eG=(0,p.useRef)(),eQ=(0,p.useRef)(),eJ=(0,p.useState)(0),e$=(0,a.Z)(eJ,2),eq=e$[0],e0=e$[1],e1=(0,p.useState)(0),e2=(0,a.Z)(e1,2),e8=e2[0],e5=e2[1],e6=(0,p.useState)(!1),e4=(0,a.Z)(e6,2),e7=e4[0],e3=e4[1],e9=function(){e3(!0)},ne=function(){e3(!1)};function nn(e){e0(function(n){var t,o=(t="function"==typeof e?e(n):e,Number.isNaN(nw.current)||(t=Math.min(t,nw.current)),t=Math.max(t,0));return eU.current.scrollTop=o,o})}var nt=(0,p.useRef)({start:0,end:eX.length}),no=(0,p.useRef)(),nr=(c=p.useState(eX),E=(y=(0,a.Z)(c,2))[0],k=y[1],O=p.useState(null),V=(L=(0,a.Z)(O,2))[0],A=L[1],p.useEffect(function(){var e=function(e,n,t){var o,r,u=e.length,i=n.length;if(0===u&&0===i)return null;u<i?(o=e,r=n):(o=n,r=e);var a={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?t(e):a}for(var c=null,s=1!==Math.abs(u-i),f=0;f<r.length;f+=1){var d=l(o[f]);if(d!==l(r[f])){c=f,s=s||d!==l(r[f+1]);break}}return null===c?null:{index:c,multiple:s}}(E||[],eX||[],eL);(null==e?void 0:e.index)!==void 0&&(null==t||t(e.index),A(eX[e.index])),k(eX)},[eX]),[V]),nu=(0,a.Z)(nr,1)[0];no.current=nu;var ni=p.useMemo(function(){if(!eB)return{scrollHeight:void 0,start:0,end:eX.length-1,offset:void 0};if(!ej)return{scrollHeight:(null===(e=eG.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:eX.length-1,offset:void 0};for(var e,n,t,o,r=0,u=eX.length,i=0;i<u;i+=1){var a=eL(eX[i]),l=e_.get(a),c=r+(void 0===l?eh:l);c>=eq&&void 0===n&&(n=i,t=r),c>eq+em&&void 0===o&&(o=i),r=c}return void 0===n&&(n=0,t=0,o=Math.ceil(em/eh)),void 0===o&&(o=eX.length-1),{scrollHeight:r,start:n,end:o=Math.min(o+1,eX.length-1),offset:t}},[ej,eB,eq,eX,ez,em]),na=ni.scrollHeight,nl=ni.start,nc=ni.end,ns=ni.offset;nt.current.start=nl,nt.current.end=nc,p.useLayoutEffect(function(){var e=e_.getRecord();if(1===e.size){var n=Array.from(e.keys())[0],t=e.get(n),o=eX[nl];if(o&&void 0===t&&eL(o)===n){var r=e_.get(n)-eh;nn(function(e){return e+r})}}e_.resetRecord()},[na]);var nf=p.useState({width:0,height:em}),nd=(0,a.Z)(nf,2),nv=nd[0],np=nd[1],nm=(0,p.useRef)(),nh=(0,p.useRef)(),ng=p.useMemo(function(){return N(nv.width,eC)},[nv.width,eC]),nb=p.useMemo(function(){return N(nv.height,na)},[nv.height,na]),nZ=na-em,nw=(0,p.useRef)(nZ);nw.current=nZ;var ny=eq<=0,nE=eq>=nZ,nS=e8<=0,nC=e8>=eC,nx=w(ny,nE,nS,nC),nR=function(){return{x:eW?-e8:e8,y:eq}},nM=(0,p.useRef)(nR()),nI=(0,d.useEvent)(function(e){if(eM){var n=(0,u.Z)((0,u.Z)({},nR()),e);(nM.current.x!==n.x||nM.current.y!==n.y)&&(eM(n),nM.current=n)}});
1function nN(e,n){n?((0,m.flushSync)(function(){e5(e)}),nI()):nn(e)}var nD=function(e){var n=e,t=eC?eC-nv.width:0;return Math.min(n=Math.max(n,0),t)},nP=(0,d.useEvent)(function(e,n){n?((0,m.flushSync)(function(){e5(function(n){return nD(n+(eW?-e:e))})}),nI()):nn(function(n){return n+e})}),nT=(H=!!eC,F=(0,p.useRef)(0),_=(0,p.useRef)(null),z=(0,p.useRef)(null),B=(0,p.useRef)(!1),K=w(ny,nE,nS,nC),j=(0,p.useRef)(null),W=(0,p.useRef)(null),[function(e){if(eB){b.Z.cancel(W.current),W.current=(0,b.Z)(function(){j.current=null},2);var n=e.deltaX,t=e.deltaY,o=e.shiftKey,r=n,u=t;("sx"===j.current||!j.current&&o&&t&&!n)&&(r=t,u=0,j.current="sx");var i=Math.abs(r),a=Math.abs(u);(null===j.current&&(j.current=H&&i>a?"x":"y"),"y"===j.current)?function(e,n){if(b.Z.cancel(_.current),!K(!1,n)){var t=e;t._virtualHandled||(t._virtualHandled=!0,F.current+=n,z.current=n,Z||t.preventDefault(),_.current=(0,b.Z)(function(){var e=B.current?10:1;nP(F.current*e,!1),F.current=0}))}}(e,u):(nP(r,!0),Z||e.preventDefault())}},function(e){eB&&(B.current=e.detail===z.current)}]),nk=(0,a.Z)(nT,2),nO=nk[0],nL=nk[1];Y=function(e,n,t,o){var r=o;return!nx(e,n,t)&&(!r||!r._virtualHandled)&&(r&&(r._virtualHandled=!0),nO({preventDefault:function(){},deltaX:e?n:0,deltaY:e?0:n}),!0)},U=(0,p.useRef)(!1),G=(0,p.useRef)(0),Q=(0,p.useRef)(0),J=(0,p.useRef)(null),$=(0,p.useRef)(null),q=function(e){if(U.current){var n=Math.ceil(e.touches[0].pageX),t=Math.ceil(e.touches[0].pageY),o=G.current-n,r=Q.current-t,u=Math.abs(o)>Math.abs(r);u?G.current=n:Q.current=t;var i=Y(u,u?o:r,!1,e);i&&e.preventDefault(),clearInterval($.current),i&&($.current=setInterval(function(){u?o*=x:r*=x;var e=Math.floor(u?o:r);(!Y(u,e,!0)||.1>=Math.abs(e))&&clearInterval($.current)},16))}},ee=function(){U.current=!1,X()},en=function(e){X(),1!==e.touches.length||U.current||(U.current=!0,G.current=Math.ceil(e.touches[0].pageX),Q.current=Math.ceil(e.touches[0].pageY),J.current=e.target,J.current.addEventListener("touchmove",q,{passive:!1}),J.current.addEventListener("touchend",ee,{passive:!0}))},X=function(){J.current&&(J.current.removeEventListener("touchmove",q),J.current.removeEventListener("touchend",ee))},(0,v.Z)(function(){return eB&&eU.current.addEventListener("touchstart",en,{passive:!0}),function(){var e;null===(e=eU.current)||void 0===e||e.removeEventListener("touchstart",en),X(),clearInterval($.current)}},[eB]),et=function(e){nn(function(n){return n+e})},p.useEffect(function(){var e=eU.current;if(ej&&e){var n,t,o=!1,r=function(){b.Z.cancel(n)},u=function e(){r(),n=(0,b.Z)(function(){et(t),e()})},i=function(){o=!1,r()},a=function(e){if(!e.target.draggable&&0===e.button){var n=e;n._virtualHandled||(n._virtualHandled=!0,o=!0)}},l=function(n){if(o){var i=M(n,!1),a=e.getBoundingClientRect(),l=a.top,c=a.bottom;i<=l?(t=-R(l-i),u()):i>=c?(t=R(i-c),u()):r()}};return e.addEventListener("mousedown",a),e.ownerDocument.addEventListener("mouseup",i),e.ownerDocument.addEventListener("mousemove",l),e.ownerDocument.addEventListener("dragend",i),function(){e.removeEventListener("mousedown",a),e.ownerDocument.removeEventListener("mouseup",i),e.ownerDocument.removeEventListener("mousemove",l),e.ownerDocument.removeEventListener("dragend",i),r()}}},[ej]),(0,v.Z)(function(){function e(e){var n=ny&&e.detail<0,t=nE&&e.detail>0;!eB||n||t||e.preventDefault()}var n=eU.current;return n.addEventListener("wheel",nO,{passive:!1}),n.addEventListener("DOMMouseScroll",nL,{passive:!0}),n.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){n.removeEventListener("wheel",nO),n.removeEventListener("DOMMouseScroll",nL),n.removeEventListener("MozMousePixelScroll",e)}},[eB,ny,nE]),(0,v.Z)(function(){if(eC){var e=nD(e8);e5(e),nI({x:e})}},[nv.width,eC]);var nV=function(){var e,n;null===(e=nm.current)||void 0===e||e.delayHidden(),null===(n=nh.current)||void 0===n||n.delayHidden()},nA=(eo=p.useRef(),er=p.useState(null),ei=(eu=(0,a.Z)(er,2))[0],ea=eu[1],(0,v.Z)(function(){if(ei&&ei.times<10){if(!eU.current){ea(function(e){return(0,u.Z)({},e)});return}eF(!0);var e=ei.targetAlign,n=ei.originAlign,t=ei.index,o=ei.offset,r=eU.current.clientHeight,i=!1,a=e,l=null;if(r){for(var c=e||n,s=0,f=0,d=0,v=Math.min(eX.length-1,t),p=0;p<=v;p+=1){var m=eL(eX[p]);f=s;var h=e_.get(m);s=d=f+(void 0===h?eh:h)}for(var g="top"===c?o:r-o,b=v;b>=0;b-=1){var Z=eL(eX[b]),w=e_.get(Z);if(void 0===w){i=!0;break}if((g-=w)<=0)break}switch(c){case"top":l=f-o;break;case"bottom":l=d-r+o;break;default:var y=eU.current.scrollTop;f<y?a="top":d>y+r&&(a="bottom")}null!==l&&nn(l),l!==ei.lastTop&&(i=!0)}i&&ea((0,u.Z)((0,u.Z)({},ei),{},{times:ei.times+1,targetAlign:a,lastTop:l}))}},[ei,eU.current]),function(e){if(null==e){nV();return}if(b.Z.cancel(eo.current),"number"==typeof e)nn(e);else if(e&&"object"===(0,r.Z)(e)){var n,t=e.align;n="index"in e?e.index:eX.findIndex(function(n){return eL(n)===e.key});var o=e.offset;ea({times:0,index:n,offset:void 0===o?0:o,originAlign:t})}});p.useImperativeHandle(n,function(){return{nativeElement:eQ.current,getScrollInfo:nR,scrollTo:function(e){e&&"object"===(0,r.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e5(nD(e.left)),nA(e.top)):nA(e)}}}),(0,v.Z)(function(){eI&&eI(eX.slice(nl,nc+1),eX)},[nl,nc,eX]);var nH=(el=p.useMemo(function(){return[new Map,[]]},[eX,e_.id,eh]),es=(ec=(0,a.Z)(el,2))[0],ef=ec[1],function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,t=es.get(e),o=es.get(n);if(void 0===t||void 0===o)for(var r=eX.length,u=ef.length;u<r;u+=1){var i,a=eL(eX[u]);es.set(a,u);var l=null!==(i=e_.get(a))&&void 0!==i?i:eh;if(ef[u]=(ef[u-1]||0)+l,a===e&&(t=u),a===n&&(o=u),void 0!==t&&void 0!==o)break}return{top:ef[t-1]||0,bottom:ef[o]}}),nF=null==eD?void 0:eD({start:nl,end:nc,virtual:ej,offsetX:e8,offsetY:ns,rtl:eW,getSize:nH}),n_=eX.slice(nl,nc+1).map(function(e,n){var t=ew(e,nl+n,{style:{width:eC},offsetX:e8}),o=eL(e);return p.createElement(g,{key:o,setRef:function(n){return eH(e,n)}},t)}),nz=null;em&&(nz=(0,u.Z)((0,i.Z)({},void 0===eg||eg?"height":"maxHeight",em),T),eB&&(nz.overflowY="hidden",eC&&(nz.overflowX="hidden"),e7&&(nz.pointerEvents="none")));
1var nB={};return eW&&(nB.dir="rtl"),p.createElement("div",(0,o.Z)({ref:eQ,style:(0,u.Z)((0,u.Z)({},eb),{},{position:"relative"}),className:eY},nB,eO),p.createElement(f.default,{onResize:function(e){np({width:e.offsetWidth,height:e.offsetHeight})}},p.createElement(void 0===ex?"div":ex,{className:"".concat(ev,"-holder"),style:nz,ref:eU,onScroll:function(e){var n=e.currentTarget.scrollTop;n!==eq&&nn(n),null==eR||eR(e),nI()},onMouseEnter:nV},p.createElement(h,{prefixCls:ev,height:na,offsetX:e8,offsetY:ns,scrollWidth:eC,onInnerResize:eF,ref:eG,innerProps:eN,rtl:eW,extra:nF},n_))),ej&&na>em&&p.createElement(I,{ref:nm,prefixCls:ev,scrollOffset:eq,scrollRange:na,rtl:eW,onScroll:nN,onStartMove:e9,onStopMove:ne,spinSize:nb,containerSize:nv.height,style:null==eP?void 0:eP.verticalScrollBar,thumbStyle:null==eP?void 0:eP.verticalScrollBarThumb,showScrollBar:ek}),ej&&eC>nv.width&&p.createElement(I,{ref:nh,prefixCls:ev,scrollOffset:e8,scrollRange:eC,rtl:eW,onScroll:nN,onStartMove:e9,onStopMove:ne,spinSize:ng,containerSize:nv.width,horizontal:!0,style:null==eP?void 0:eP.horizontalScrollBar,thumbStyle:null==eP?void 0:eP.horizontalScrollBarThumb,showScrollBar:ek}))});k.displayName="List";var O=k}}]);
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.