PageSourceSearch

https://anfin.vn/_next/static/chunks/4932-bf77ddcd4f3356d6.js

js anfin.vn collected 2026-09-24 10:10:47 UTC 16,571 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4932],{40044:function(e,t,l){l.d(t,{Z:function(){return g}});var r=l(63366),o=l(87462),n=l(67294),i=l(90512),a=l(94780),s=l(49990),c=l(98216),d=l(28628),u=l(90948),f=l(1588),p=l(34867);function b(e){return(0,p.ZP)("MuiTab",e)}let h=(0,f.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var v=l(85893);let m=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],x=e=>{let{classes:t,textColor:l,fullWidth:r,wrapped:o,icon:n,label:i,selected:s,disabled:d}=e,u={root:["root",n&&i&&"labelIcon",`textColor${(0,c.Z)(l)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",d&&"disabled"],iconWrapper:["iconWrapper"]};return(0,a.Z)(u,b,t)},Z=(0,u.ZP)(s.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[t.root,l.label&&l.icon&&t.labelIcon,t[`textColor${(0,c.Z)(l.textColor)}`],l.fullWidth&&t.fullWidth,l.wrapped&&t.wrapped,{[`& .${h.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>(0,o.Z)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${h.iconWrapper}`]:(0,o.Z)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${h.selected}`]:{opacity:1},[`&.${h.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${h.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${h.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${h.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${h.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),S=n.forwardRef(function(e,t){let l=(0,d.i)({props:e,name:"MuiTab"}),{className:a,disabled:s=!1,disableFocusRipple:c=!1,fullWidth:u,icon:f,iconPosition:p="top",indicator:b,label:h,onChange:S,onClick:g,onFocus:w,selected:y,selectionFollowsFocus:C,textColor:B="inherit",value:E,wrapped:W=!1}=l,I=(0,r.Z)(l,m),M=(0,o.Z)({},l,{disabled:s,disableFocusRipple:c,selected:y,icon:!!f,iconPosition:p,label:!!h,fullWidth:u,textColor:B,wrapped:W}),P=x(M),R=f&&h&&n.isValidElement(f)?n.cloneElement(f,{className:(0,i.Z)(P.iconWrapper,f.props.className)}):f,T=e=>{!y&&S&&S(e,E),g&&g(e)},N=e=>{C&&!y&&S&&S(e,E),w&&w(e)};return(0,v.jsxs)(Z,(0,o.Z)({focusRipple:!c,className:(0,i.Z)(P.root,a),ref:t,role:"tab","aria-selected":y,disabled:s,onClick:T,onFocus:N,ownerState:M,tabIndex:y?0:-1},I,{children:["top"===p||"start"===p?(0,v.jsxs)(n.Fragment,{children:[R,h]}):(0,v.jsxs)(n.Fragment,{children:[h,R]}),b]}))});var g=S},73313:function(e,t,l){let r;l.d(t,{Z:function(){return K}});var o=l(63366),n=l(87462),i=l(67294),a=l(90512),s=l(94780),c=l(82056),d=l(82963),u=l(90948),f=l(28628),p=l(2734),b=l(57144);function h(){if(r)return r;let e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var m=l(58974),x=l(5340),Z=l(85893);let S=["onChange"],g={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var w=l(67070),y=l(56686),C=l(49990),B=l(1588),E=l(34867);function W(e){return(0,E.ZP)("MuiTabScrollButton",e)}let I=(0,B.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),M=["className","slots","slotProps","direction","orientation","disabled"],P=e=>{let{classes:t,orientation:l,disabled:r}=e;return(0,s.Z)({root:["root",l,r&&"disabled"]},W,t)},R=(0,u.ZP)(C.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[t.root,l.orientation&&t[l.orientation]]}})(({ownerState:e})=>(0,n.Z)({width:40,flexShrink:0,opacity:.8,[`&.${I.disabled}`]:{opacity:0}
1},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),T=i.forwardRef(function(e,t){var l,r;let i=(0,f.i)({props:e,name:"MuiTabScrollButton"}),{className:s,slots:u={},slotProps:p={},direction:b}=i,h=(0,o.Z)(i,M),v=(0,c.V)(),m=(0,n.Z)({isRtl:v},i),x=P(m),S=null!=(l=u.StartScrollButtonIcon)?l:w.Z,g=null!=(r=u.EndScrollButtonIcon)?r:y.Z,C=(0,d.Z)({elementType:S,externalSlotProps:p.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),B=(0,d.Z)({elementType:g,externalSlotProps:p.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return(0,Z.jsx)(R,(0,n.Z)({component:"div",className:(0,a.Z)(x.root,s),ref:t,role:null,ownerState:m,tabIndex:null},h,{children:"left"===b?(0,Z.jsx)(S,(0,n.Z)({},C)):(0,Z.jsx)(g,(0,n.Z)({},B))}))});var N=l(2068);function k(e){return(0,E.ZP)("MuiTabs",e)}let L=(0,B.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
1indicator"]);var z=l(8038);let A=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],j=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,$=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,H=(e,t,l)=>{let r=!1,o=l(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}let t=o.disabled||"true"===o.getAttribute("aria-disabled");if(!o.hasAttribute("tabindex")||t)o=l(e,o);else{o.focus();return}}},F=e=>{let{vertical:t,fixed:l,hideScrollbar:r,scrollableX:o,scrollableY:n,centered:i,scrollButtonsHideMobile:a,classes:c}=e;return(0,s.Z)({root:["root",t&&"vertical"],scroller:["scroller",l&&"fixed",r&&"hideScrollbar",o&&"scrollableX",n&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",a&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},k,c)},X=(0,u.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[{[`& .${L.scrollButtons}`]:t.scrollButtons},{[`& .${L.scrollButtons}`]:l.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,l.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>(0,n.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${L.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),D=(0,u.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[t.scroller,l.fixed&&t.fixed,l.hideScrollbar&&t.hideScrollbar,l.scrollableX&&t.scrollableX,l.scrollableY&&t.scrollableY]}})(({ownerState:e})=>(0,n.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),O=(0,u.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[t.flexContainer,l.vertical&&t.flexContainerVertical,l.centered&&t.centered]}})(({ownerState:e})=>(0,n.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Y=(0,u.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>(0,n.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),V=(0,u.ZP)(function(e){let{onChange:t}=e,l=(0,o.Z)(e,S),r=i.useRef(),a=i.useRef(null),s=()=>{r.current=a.current.offsetHeight-a.current.clientHeight};return(0,m.Z)(()=>{let e=(0,b.Z)(()=>{let e=r.current;s(),e!==r.current&&t(r.current)}),l=(0,x.Z)(a.current);return l.addEventListener("resize",e),()=>{e.clear(),l.removeEventListener("resize",e)}},[t]),i.useEffect(()=>{s(),t(r.current)},[t]),(0,Z.jsx)("div",(0,n.Z)({style:g},l,{ref:a}))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),_={},q=i.forwardRef(function(e,t){let l=(0,f.i)({props:e,name:"MuiTabs"}),r=(0,p.Z)(),s=(0,c.V)(),{"aria-label":u,"aria-labelledby":m,action:S,centered:g=!1,children:w,className:y,component:C="div",allowScrollButtonsMobile:B=!1,indicatorColor:E="primary",onChange:W,orientation:I="horizontal",ScrollButtonComponent:M=T,scrollButtons:P="auto",selectionFollowsFocus:R,slots:k={},slotProps:L={},TabIndicatorProps:q={},TabScrollButtonProps:K={},textColor:G="primary",value:U,variant:J="standard",visibleScrollbar:Q=!1}=l,ee=(0,o.Z)(l,A),et="scrollable"===J,el="vertical"===I,er=el?"scrollTop":"scrollLeft",eo=el?"top":"left",en=el?"bottom":"right",ei=el?"clientHeight":"clientWidth",ea=el?"height":"width",es=(0,n.Z)({},l,{component:C,allowScrollButtonsMobile:B,indicatorColor:E,orientation:I,vertical:el,scrollButtons:P,textColor:G,variant:J,visibleScrollbar:Q,fixed:!et,hideScrollbar:et&&!Q,scrollableX:et&&!el,scrollableY:et&&el,centered:g&&!et,scrollButtonsHideMobile:!B}),ec=F(es),ed=(0,d.Z)({elementType:k.StartScrollButtonIcon,externalSlotProps:L.startScrollButtonIcon,ownerState:es}),eu=(0,d.Z)({elementType:k.EndScrollButtonIcon,externalSlotProps:L.endScrollButtonIcon,ownerState:es}
1),[ef,ep]=i.useState(!1),[eb,eh]=i.useState(_),[ev,em]=i.useState(!1),[ex,eZ]=i.useState(!1),[eS,eg]=i.useState(!1),[ew,ey]=i.useState({overflow:"hidden",scrollbarWidth:0}),eC=new Map,eB=i.useRef(null),eE=i.useRef(null),eW=()=>{let e,t;let l=eB.current;if(l){let t=l.getBoundingClientRect();e={clientWidth:l.clientWidth,scrollLeft:l.scrollLeft,scrollTop:l.scrollTop,scrollLeftNormalized:function(e,t){let l=e.scrollLeft;if("rtl"!==t)return l;let r=h();switch(r){case"negative":return e.scrollWidth-e.clientWidth+l;case"reverse":return e.scrollWidth-e.clientWidth-l;default:return l}}(l,s?"rtl":"ltr"),scrollWidth:l.scrollWidth,top:t.top,bottom:t.bottom,left:t.left,right:t.right}}if(l&&!1!==U){let e=eE.current.children;if(e.length>0){let l=e[eC.get(U)];t=l?l.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},eI=(0,N.Z)(()=>{let e;let{tabsMeta:t,tabMeta:l}=eW(),r=0;if(el)e="top",l&&t&&(r=l.top-t.top+t.scrollTop);else if(e=s?"right":"left",l&&t){let o=s?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;r=(s?-1:1)*(l[e]-t[e]+o)}let o={[e]:r,[ea]:l?l[ea]:0};if(isNaN(eb[e])||isNaN(eb[ea]))eh(o);else{let t=Math.abs(eb[e]-o[e]),l=Math.abs(eb[ea]-o[ea]);(t>=1||l>=1)&&eh(o)}}),eM=(e,{animation:t=!0}={})=>{t?function(e,t,l,r={},o=()=>{}){let{ease:n=v,duration:i=300}=r,a=null,s=t[e],c=!1,d=()=>{c=!0},u=r=>{if(c){o(Error("Animation cancelled"));return}null===a&&(a=r);let d=Math.min(1,(r-a)/i);if(t[e]=n(d)*(l-s)+s,d>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(u)};return s===l?(o(Error("Element already at target position")),d):(requestAnimationFrame(u),d)}(er,eB.current,e,{duration:r.transitions.duration.standard}):eB.current[er]=e},eP=e=>{let t=eB.current[er];el?t+=e:(t+=e*(s?-1:1),t*=s&&"reverse"===h()?-1:1),eM(t)},eR=()=>{let e=eB.current[ei],t=0,l=Array.from(eE.current.children);for(let r=0;r<l.length;r+=1){let o=l[r];if(t+o[ei]>e){0===r&&(t=e);break}t+=o[ei]}return t},eT=()=>{eP(-1*eR())},eN=()=>{eP(eR())},ek=i.useCallback(e=>{ey({overflow:null,scrollbarWidth:e})},[]),eL=(0,N.Z)(e=>{let{tabsMeta:t,tabMeta:l}=eW();if(l&&t){if(l[eo]<t[eo]){let r=t[er]+(l[eo]-t[eo]);eM(r,{animation:e})}else if(l[en]>t[en]){let r=t[er]+(l[en]-t[en]);eM(r,{animation:e})}}}),ez=(0,N.Z)(()=>{et&&!1!==P&&eg(!eS)});i.useEffect(()=>{let e,t;let l=(0,b.Z)(()=>{eB.current&&eI()}),r=t=>{t.forEach(t=>{t.removedNodes.forEach(t=>{var l;null==(l=e)||l.unobserve(t)}),t.addedNodes.forEach(t=>{var l;null==(l=e)||l.observe(t)})}),l(),ez()},o=(0,x.Z)(eB.current);return o.addEventListener("resize",l),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(l),Array.from(eE.current.children).forEach(t=>{e.observe(t)})),"undefined"!=typeof MutationObserver&&(t=new MutationObserver(r)).observe(eE.current,{childList:!0}),()=>{var r,n;l.clear(),o.removeEventListener("resize",l),null==(r=t)||r.disconnect(),null==(n=e)||n.disconnect()}},[eI,ez]),i.useEffect(()=>{let e=Array.from(eE.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&et&&!1!==P){let l=e[0],r=e[t-1],o={root:eB.current,threshold:.99},n=e=>{em(!e[0].isIntersecting)},i=new IntersectionObserver(n,o);i.observe(l);let a=e=>{eZ(!e[0].isIntersecting)},s=new IntersectionObserver(a,o);return s.observe(r),()=>{i.disconnect(),s.disconnect()}}},[et,P,eS,null==w?void 0:w.length]),i.useEffect(()=>{ep(!0)},[]),i.useEffect(()=>{eI()}),i.useEffect(()=>{eL(_!==eb)},[eL,eb]),i.useImperativeHandle(S,()=>({updateIndicator:eI,updateScrollButtons:ez}),[eI,ez]);let eA=(0,Z.jsx)(Y,(0,n.Z)({},q,{className:(0,a.Z)(ec.indicator,q.className),ownerState:es,style:(0,n.Z)({},eb,q.style)})),ej=0,e$=i.Children.map(w,e=>{if(!i.isValidElement(e))return null;let t=void 0===e.props.value?ej:e.props.value;eC.set(t,ej);let l=t===U;return ej+=1,i.cloneElement(e,(0,n.Z)({fullWidth:"fullWidth"===J,indicator:l&&!ef&&eA,selected:l,selectionFollowsFocus:R,onChange:W,textColor:G,value:t},1!==ej||!1!==U||e.props.tabIndex?{}:{tabIndex:0}))}),eH=e=>{let t=eE.current,l=(0,z.Z)(t).activeElement,r=l.getAttribute("role");if("tab"!==r)return;let o="horizontal"===I?"ArrowLeft":"ArrowUp",n="horizontal"===I?"ArrowRight":"ArrowDown";switch("horizontal"===I&&s&&(o="ArrowRight",n="ArrowLeft"),e.key){case o:e.preventDefault(),H(t,l,$);break;case n:e.preventDefault(),H(t,l,j);break;case"Home":e.preventDefault(),H(t,null,j);break;case"End":e.preventDefault(),H(t,null,$)}},eF=(()=>{let e={};e.scrollbarSizeListener=et?(0,Z.jsx)(V,{onChange:ek,className:(0,a.Z)(ec.scrollableX,ec.hideScrollbar)}):null;let t=et&&("auto"===P&&(ev||ex)||!0===P);return e.scrollButtonStart=t?(0,Z.jsx)(M,(0,n.Z)({slots:{StartScrollButtonIcon:k.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ed},orientation:I,direction:s?"right":"left",onClick:eT,disabled:!ev},K,{className:(0,a.Z)(ec.scrollButtons,K.className)})):null,e.scrollButtonEnd=t?(0,Z.jsx)(M,(0,n.Z)({slots:{EndScrollButtonIcon:k.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:eu},orientation:I,direction:s?"left":"right",onClick:eN,disabled:!ex},K,{className:(0,a.Z)(ec.scrollButtons,K.className)})):null,e})();return(0,Z.jsxs)(X,(0,n.Z)({className:(0,a.Z)(ec.root,y),ownerState:es,ref:t,as:C},ee,{children:[eF.scrollButtonStart,eF.scrollbarSizeListener,(0,Z.jsxs)(D,{className:ec.scroller,ownerState:es,style:{overflow:ew.overflow,[el?`margin${s?"Left":"Right"}`:"marginBottom"]:Q?void 0:-ew.scrollbarWidth},ref:eB,children:[(0,Z.jsx)(O,{"aria-label":u,"aria-labelledby":m,"aria-orientation":"vertical"===I?"vertical":null,className:ec.flexContainer,ownerState:es,onKeyDown:eH,ref:eE,role:"tablist",children:e$}),ef&&eA]}),eF.scrollButtonEnd]}))});var K=q},67070:function(e,t,l){l(67294);var r=l(82066),o=l(85893);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},56686:function(e,t,l){l(67294);var r=l(82066),o=l(85893);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")}}]);

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.