1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},x=(new e.Error).stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="4c747ab0-4b31-4bcb-854f-f6cb57399db3",e._sentryDebugIdIdentifier="sentry-dbid-4c747ab0-4b31-4bcb-854f-f6cb57399db3")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{70492:(e,x,t)=>{t.r(x),t.d(x,{default:()=>c});var p=t(37876),l=t(14232),n=t(75501),s=t(24146),a=t(66360),r=t(60184),o=t(36852),w=t(64591);let c=l.memo(e=>{var x;let{keyword:t,onInputChange:c,onSearch:i,resetInput:h,isActive:d,handleInputFocus:u,shouldAutoFocus:k=!0}=e,b=(0,l.useRef)(null),{clickChatbot:m}=(0,w.P)();(0,l.useEffect)(()=>{if(k){var e;null==(e=b.current)||e.focus()}},[k]);let{configs:f}=(0,l.useContext)(o.B),{info:g}=(0,r.GV)(e=>e.user),y=(0,l.useMemo)(()=>{var e,x;return(null==f||null==(e=f.chat_bot_search)?void 0:e.enable)==="1"&&(null==g?void 0:g.chatbot)==="1"&&(null==g?void 0:g.access_type)!==a.KCr.TEMP&&(null==g||null==(x=g.profile)?void 0:x.profile_type)===a.KUi.MASTER_PROFILE},[g,f]),v=(0,l.useMemo)(()=>y?"Há»i trợ l\xfd Gati hoặc t\xecm kiếm":"".concat(a.xDy,"..."),[y]);return(0,p.jsxs)("div",{className:"flex items-center max-w-[912px] w2k:max-w-[1130px] w4k:max-w-[1695px] h-[48px] sm:h-[58px] md:h-[74px] w2k:h-28 w4k:h-36 gap-[12px] md:gap-[16px] w2k:gap-[21px] w4k:gap-[32px] bg-eerie-black rounded-[104px] mx-auto px-[16px] md:px-[24px] w2k:px-8 w4k:px-12 py-2 md:py-4 w2k:py-[22px] box-border",children:[y?(0,p.jsx)("button",{className:"hover:cursor-pointer",onClick:m,children:(0,p.jsx)("img",{src:(null==f||null==(x=f.chat_bot_search)?void 0:x.icon)||"/images/logo_chat.png",alt:"chatbot",width:24,height:24,className:"md:w-[32px] md:h-[32px] w2k:w-[42px] w2k:h-[42px] w4k:w-[64px] w4k:h-[64px]"})}):(0,p.jsx)(n.Mmj,{className:"w-[22px] h-[22px] lg:w-[24px] lg:h-[24px] w2k:w-[42px] w2k:h-[42px] w4k:w-[64px] w4k:h-[64px] shrink-0"}),(0,p.jsx)("input",{ref:b,value:t,onChange:c,onFocus:u,onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),i(e))},placeholder:"".concat(v),className:"bg-transparent placeholder-black-olive-404040 text-white border-none focus:outline-none flex-1 text-[14px] sm:text-base xl:text-[20px] w2k:text-[26px] w4k:text-[39px] overflow-hidden text-ellipsis whitespace-nowrap"}),(0,p.jsx)("div",{className:"min-w-[18px] h-[18px] 2xl:w-[24px] 2xl:h-[24px] w2k:w-[32px] w2k:h-[32px] w4k:w-[48px] w4k:h-[48px]",children:d&&(0,p.jsx)("div",{onClick:()=>{var e;h(),null==(e=b.current)||e.focus()},className:"cursor-pointer text-spanish-gray",children:(0,p.jsx)(s.$8F,{className:"w-[18px] h-[18px] lg:w-[24px] lg:h-[24px] w2k:w-[32px] w2k:h-[32px] w4k:w-[48px] w4k:h-[48px] shrink-0"})})}),(0,p.jsx)("button",{onClick:i,className:"flex items-center justify-center ml-auto h-[32px] sm:h-[36px] md:h-[42px] w2k:h-[56px] w4k:h-[84px] min-w-[60px] sm:min-w-[80px] md:w-[120px] 2xl:w-[135px] w2k:w-[180px] w4k:w-[270px] rounded-[104px] \n font-semibold text-[10px] sm:text-xs md:text-base 2xl:text-[20px] w2k:text-[27px] w4k:text-[40px] px-2 2xl:px-6 py-1 md:py-2 box-border ".concat(d?"fpl-bg text-white cursor-pointer":"bg-charleston-green text-spanish-gray"),children:a.GC_})]})})}}]);
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.