PageSourceSearch

https://cdn-web-next.thuocsi.vn/_next/static/chunks/3091-fe61dd8447a2bf91.js

js thuocsi.vn collected 2026-09-24 12:11:16 UTC 18,168 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3091],{64436:function(e,n,t){var o=t(87462),i=t(45987),r=t(67294),a=t(33636),l=t(36519),d=t(1591),s=t(93871),u=t(83711),c=t(15736),f=r.forwardRef(function(e,n){var t,d=e.children,f=e.classes,p=e.className,$=e.color,m=e.component,h=e.disabled,g=void 0!==h&&h,v=e.error,x=e.fullWidth,b=void 0!==x&&x,_=e.focused,y=e.hiddenLabel,w=e.margin,Z=void 0===w?"none":w,C=e.required,E=e.size,S=e.variant,W=(0,i.Z)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),k=r.useState(function(){var e=!1;return d&&r.Children.forEach(d,function(n){if((0,u.Z)(n,["Input","Select"])){var t=(0,u.Z)(n,["Select"])?n.props.input:n;t&&(0,l.B7)(t.props)&&(e=!0)}}),e}),R=k[0],N=k[1],M=r.useState(function(){var e=!1;return d&&r.Children.forEach(d,function(n){(0,u.Z)(n,["Input","Select"])&&(0,l.vd)(n.props,!0)&&(e=!0)}),e}),A=M[0],z=M[1],B=r.useState(!1),O=B[0],D=B[1],F=void 0!==_?_:O;g&&F&&D(!1);var L=r.useCallback(function(){z(!0)},[]),j=r.useCallback(function(){z(!1)},[]);return r.createElement(c.Z.Provider,{value:{adornedStart:R,setAdornedStart:N,color:void 0===$?"primary":$,disabled:g,error:void 0!==v&&v,filled:A,focused:F,fullWidth:b,hiddenLabel:void 0!==y&&y,margin:("small"===E?"dense":void 0)||Z,onBlur:function(){D(!1)},onEmpty:j,onFilled:L,onFocus:function(){D(!0)},registerEffect:t,required:void 0!==C&&C,variant:void 0===S?"standard":S}},r.createElement(void 0===m?"div":m,(0,o.Z)({className:(0,a.Z)(f.root,p,"none"!==Z&&f["margin".concat((0,s.Z)(Z))],b&&f.fullWidth),ref:n},W),d))});n.Z=(0,d.Z)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(f)},15736:function(e,n,t){t.d(n,{Y:function(){return r}});var o=t(67294),i=o.createContext();function r(){return o.useContext(i)}n.Z=i},89345:function(e,n,t){t.d(n,{Z:function(){return o}});function o(e){var n=e.props,t=e.states,o=e.muiFormControl;return t.reduce(function(e,t){return e[t]=n[t],o&&void 0===n[t]&&(e[t]=o[t]),e},{})}},22601:function(e,n,t){t.d(n,{Z:function(){return r}});var o=t(67294),i=t(15736);function r(){return o.useContext(i.Z)}},41749:function(e,n,t){var o=t(45987),i=t(87462),r=t(67294),a=t(33636),l=t(1591),d=[0,1,2,3,4,5,6,7,8,9,10],s=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function u(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=parseFloat(e);return"".concat(t/n).concat(String(e).replace(String(t),"")||"px")}var c=function(e){var n,t;return(0,i.Z)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},(n=e,t={},d.forEach(function(e){var o=n.spacing(e);0!==o&&(t["spacing-".concat("xs","-").concat(e)]={margin:"-".concat(u(o,2)),width:"calc(100% + ".concat(u(o),")"),"& > $item":{padding:u(o,2)}})}),t),e.breakpoints.keys.reduce(function(n,t){var o,r,a,l;return o=n,r=e,a=t,l={}
1,s.forEach(function(e){var n="grid-".concat(a,"-").concat(e);if(!0===e){l[n]={flexBasis:0,flexGrow:1,maxWidth:"100%"};return}if("auto"===e){l[n]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};return}var t="".concat(Math.round(e/12*1e8)/1e6,"%");l[n]={flexBasis:t,flexGrow:0,maxWidth:t}}),"xs"===a?(0,i.Z)(o,l):o[r.breakpoints.up(a)]=l,n},{}))},f=r.forwardRef(function(e,n){var t=e.alignContent,l=void 0===t?"stretch":t,d=e.alignItems,s=void 0===d?"stretch":d,u=e.classes,c=e.className,f=e.component,p=e.container,$=e.direction,m=void 0===$?"row":$,h=e.item,g=e.justify,v=e.justifyContent,x=void 0===v?"flex-start":v,b=e.lg,_=void 0!==b&&b,y=e.md,w=void 0!==y&&y,Z=e.sm,C=void 0!==Z&&Z,E=e.spacing,S=void 0===E?0:E,W=e.wrap,k=void 0===W?"wrap":W,R=e.xl,N=void 0!==R&&R,M=e.xs,A=void 0!==M&&M,z=e.zeroMinWidth,B=(0,o.Z)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),O=(0,a.Z)(u.root,c,void 0!==p&&p&&[u.container,0!==S&&u["spacing-xs-".concat(String(S))]],void 0!==h&&h&&u.item,void 0!==z&&z&&u.zeroMinWidth,"row"!==m&&u["direction-xs-".concat(String(m))],"wrap"!==k&&u["wrap-xs-".concat(String(k))],"stretch"!==s&&u["align-items-xs-".concat(String(s))],"stretch"!==l&&u["align-content-xs-".concat(String(l))],"flex-start"!==(g||x)&&u["justify-content-xs-".concat(String(g||x))],!1!==A&&u["grid-xs-".concat(String(A))],!1!==C&&u["grid-sm-".concat(String(C))],!1!==w&&u["grid-md-".concat(String(w))],!1!==_&&u["grid-lg-".concat(String(_))],!1!==N&&u["grid-xl-".concat(String(N))]);return r.createElement(void 0===f?"div":f,(0,i.Z)({className:O,ref:n},B))}),p=(0,l.Z)(c,{name:"MuiGrid"})(f);n.Z=p},41598:function(e,n,t){var o=t(45987),i=t(87462),r=t(60288),a=t(67294),l=t(33636),d=t(89345),s=t(15736),u=t(1591),c=t(93871),f=t(17294),p=t(87343),$=t(36519),m=function(e){var n="light"===e.palette.type,t={color:"currentColor",opacity:n?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},o={opacity:"0 !important"},r={opacity:n?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:(0,i.Z)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":t,"&::-moz-placeholder":t,"&:-ms-input-placeholder":t,"&::-ms-input-placeholder":t,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":r,"&:focus::-moz-placeholder":r,"&:focus:-ms-input-placeholder":r,"&:focus::-ms-input-placeholder":r},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}},h="undefined"==typeof window?a.useEffect:a.useLayoutEffect,g=a.forwardRef(function(e,n){var t=e["aria-describedby"],u=e.autoComplete,m=e.autoFocus,g=e.classes,v=e.className,x=(e.color,e.defaultValue),b=e.disabled,_=e.endAdornment,y=(e.error,e.fullWidth),w=e.id,Z=e.inputComponent,C=e.inputProps,E=void 0===C?{}:C,S=e.inputRef,W=(e.margin,e.multiline),k=void 0!==W&&W,R=e.name,N=e.onBlur,M=e.onChange,A=e.onClick,z=e.onFocus,B=e.onKeyDown,O=e.onKeyUp,D=e.placeholder,F=e.readOnly,L=e.renderSuffix,j=e.rows,I=e.rowsMax,T=e.rowsMin,H=e.maxR
1ows,q=e.minRows,K=e.startAdornment,P=e.type,V=void 0===P?"text":P,G=e.value,U=(0,o.Z)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),Y=null!=E.value?E.value:G,J=a.useRef(null!=Y).current,Q=a.useRef(),X=a.useCallback(function(e){},[]),ee=(0,f.Z)(E.ref,X),en=(0,f.Z)(S,ee),et=(0,f.Z)(Q,en),eo=a.useState(!1),ei=eo[0],er=eo[1],ea=(0,s.Y)(),el=(0,d.Z)({props:e,muiFormControl:ea,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});el.focused=ea?ea.focused:ei,a.useEffect(function(){!ea&&b&&ei&&(er(!1),N&&N())},[ea,b,ei,N]);var ed=ea&&ea.onFilled,es=ea&&ea.onEmpty,eu=a.useCallback(function(e){(0,$.vd)(e)?ed&&ed():es&&es()},[ed,es]);h(function(){J&&eu({value:Y})},[Y,eu,J]);var ec=function(e){if(el.disabled){e.stopPropagation();return}z&&z(e),E.onFocus&&E.onFocus(e),ea&&ea.onFocus?ea.onFocus(e):er(!0)},ef=function(e){N&&N(e),E.onBlur&&E.onBlur(e),ea&&ea.onBlur?ea.onBlur(e):er(!1)},ep=function(e){if(!J){var n=e.target||Q.current;if(null==n)throw Error((0,r.Z)(1));eu({value:n.value})}for(var t=arguments.length,o=Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];E.onChange&&E.onChange.apply(E,[e].concat(o)),M&&M.apply(void 0,[e].concat(o))};a.useEffect(function(){eu(Q.current)},[]);var e$=function(e){Q.current&&e.currentTarget===e.target&&Q.current.focus(),A&&A(e)},em=void 0===Z?"input":Z,eh=(0,i.Z)({},E,{ref:et});"string"!=typeof em?eh=(0,i.Z)({inputRef:et,type:V},eh,{ref:null}):k?!j||H||q||I||T?(eh=(0,i.Z)({minRows:j||q,rowsMax:I,maxRows:H},eh),em=p.Z):em="textarea":eh=(0,i.Z)({type:V},eh);var eg=function(e){eu("mui-auto-fill-cancel"===e.animationName?Q.current:{value:"x"})};return a.useEffect(function(){ea&&ea.setAdornedStart(Boolean(K))},[ea,K]),a.createElement("div",(0,i.Z)({className:(0,l.Z)(g.root,g["color".concat((0,c.Z)(el.color||"primary"))],v,el.disabled&&g.disabled,el.error&&g.error,void 0!==y&&y&&g.fullWidth,el.focused&&g.focused,ea&&g.formControl,k&&g.multiline,K&&g.adornedStart,_&&g.adornedEnd,"dense"===el.margin&&g.marginDense),onClick:e$,ref:n},U),K,a.createElement(s.Z.Provider,{value:null},a.createElement(em,(0,i.Z)({"aria-invalid":el.error,"aria-describedby":t,autoComplete:u,autoFocus:m,defaultValue:x,disabled:el.disabled,id:w,onAnimationStart:eg,name:R,placeholder:D,readOnly:F,required:el.required,rows:j,value:Y,onKeyDown:B,onKeyUp:O},eh,{className:(0,l.Z)(g.input,E.className,el.disabled&&g.disabled,k&&g.inputMultiline,el.hiddenLabel&&g.inputHiddenLabel,K&&g.inputAdornedStart,_&&g.inputAdornedEnd,"search"===V&&g.inputTypeSearch,"dense"===el.margin&&g.inputMarginDense),onBlur:ef,onChange:ep,onFocus:ec}))),_,L?L((0,i.Z)({},el,{startAdornment:K})):null)});n.Z=(0,u.Z)(m,{name:"MuiInputBase"})(g)},36519:function(e,n,t){function o(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(o(e.value)&&""!==e.value||n&&o(e.defaultValue)&&""!==e.defaultValue)}function r(e){return e.startAdornment}t.d(n,{B7:function(){return r},vd:function(){return i}})},74061:function(e,n,t){t.d(n,{Z:function(){return g}});var o=t(87462),i=t(45987),r=t(67294),a=t(33636),l=t(41598),d=t(4942),s=t(1591),u=t(8920),c=t(93871),f=function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}},p=r.forwardRef(function(e,n){e.children;var t=e.classes,l=e.className,s=e.label,f=e.labelWidth,p=e.notched,$=e.style,m=(0,i.Z)(e,["children","classes","className","label","labelWidth","notched","style"]),h="rtl"===(0,u.Z)().direction?"right":"left";return void 0!==s?r.createElement("fieldset",(0,o.Z)({"aria-hidden":!0,
1className:(0,a.Z)(t.root,l),ref:n,style:$},m),r.createElement("legend",{className:(0,a.Z)(t.legendLabelled,p&&t.legendNotched)},s?r.createElement("span",null,s):r.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}))):r.createElement("fieldset",(0,o.Z)({"aria-hidden":!0,style:(0,o.Z)((0,d.Z)({},"padding".concat((0,c.Z)(h)),8),$),className:(0,a.Z)(t.root,l),ref:n},m),r.createElement("legend",{className:t.legend,style:{width:p&&f>0?.75*f+8:.01}},r.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))}),$=(0,s.Z)(f,{name:"PrivateNotchedOutline"})(p),m=function(e){var n="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:n}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:n},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}},h=r.forwardRef(function(e,n){var t=e.classes,d=e.fullWidth,s=e.inputComponent,u=e.label,c=e.labelWidth,f=void 0===c?0:c,p=e.multiline,m=e.notched,h=e.type,g=(0,i.Z)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return r.createElement(l.Z,(0,o.Z)({renderSuffix:function(e){return r.createElement($,{className:t.notchedOutline,label:u,labelWidth:f,notched:void 0!==m?m:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,o.Z)({},t,{root:(0,a.Z)(t.root,t.underline),notchedOutline:null}),fullWidth:void 0!==d&&d,inputComponent:void 0===s?"input":s,multiline:void 0!==p&&p,ref:n,type:void 0===h?"text":h},g))});h.muiName="Input";var g=(0,s.Z)(m,{name:"MuiOutlinedInput"})(h)},87343:function(e,n,t){var o=t(87462),i=t(45987),r=t(67294),a=t(79437),l=t(17294);function d(e,n){return parseInt(e[n],10)||0}var s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,u={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}},c=r.forwardRef(function(e,n){var t=e.onChange,c=e.rows,f=e.rowsMax,p=e.rowsMin,$=e.maxRows,m=e.minRows,h=e.style,g=e.value,v=(0,i.Z)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),x=$||f,b=c||p||(void 0===m?1:m),_=r.useRef(null!=g).current,y=r.useRef(null),w=(0,l.Z)(n,y),Z=r.useRef(null),C=r.useRef(0),E=r.useState({}),S=E[0],W=E[1],k=r.useCallback(function(){var n=y.current,t=window.getComputedStyle(n),o=Z.current;o.style.width=t.width,o.value=n.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");var i=t["box-sizing"],r=d(t,"padding-bottom")+d(t,"padding-top"),a=d(t,"border-bottom-width")+d(t,"border-top-width"),l=o.scrollHeight-r;o.value="x";var s=o.scrollHeight-r,u=l;b&&(u=Math.max(Number(b)*s,u)),x&&(u=Math.min(Number(x)*s,u));var c=(u=Math.max(u,s))+("border-box"===i?r+a:0),f=1>=Math.abs(u-l);W(function(e){return C.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==f)?(C.current+=1,{overflow:f,outerHeightStyle:c}):e})},[x,b,e.placeholder]);r.useEffect(function(){var e=(0,a.Z)(function(){C.current=0,k()});return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}},[k]),s(function(){k()}),r.useEffect(function(){C.current=0},[g]);var R=function(e){C.current=0,_||k(),t&&t(e)};return r.createElement(r.Fragment,null,r.createElement("textarea",(0,o.Z)({value:g,onChange:R,ref:w,rows:b,style:(0,o.Z)({he
1ight:S.outerHeightStyle,overflow:S.overflow?"hidden":null},h)},v)),r.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:Z,tabIndex:-1,style:(0,o.Z)({},u.shadow,h)}))});n.Z=c},79437:function(e,n,t){t.d(n,{Z:function(){return o}});function o(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function o(){for(var o=arguments.length,i=Array(o),r=0;r<o;r++)i[r]=arguments[r];var a=this,l=function(){e.apply(a,i)};clearTimeout(n),n=setTimeout(l,t)}return o.clear=function(){clearTimeout(n)},o}},83711:function(e,n,t){t.d(n,{Z:function(){return i}});var o=t(67294);function i(e,n){return o.isValidElement(e)&&-1!==n.indexOf(e.type.muiName)}}}]);

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.