PageSourceSearch

https://giaophanphucuong.org/_next/static/chunks/6943-c8ad58d45b24444f.js

js giaophanphucuong.org collected 2026-10-02 14:04:58 UTC 11,528 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6943],{11163:function(e,r,t){e.exports=t(38355)},15704:function(e,r,t){"use strict";t.d(r,{J:function(){return m}});var a=t(67294),o=t(82134),l=(0,t(98399).tv)({slots:{wrapper:"relative shadow-black/5",zoomedWrapper:"relative overflow-hidden rounded-inherit",img:"relative z-10 opacity-0 shadow-black/5 data-[loaded=true]:opacity-100",blurredImg:["absolute","z-0","inset-0","w-full","h-full","object-cover","filter","blur-lg","scale-105","saturate-150","opacity-30","translate-y-1"]},variants:{radius:{none:{},sm:{},md:{},lg:{},full:{}},shadow:{none:{wrapper:"shadow-none",img:"shadow-none"},sm:{wrapper:"shadow-small",img:"shadow-small"},md:{wrapper:"shadow-medium",img:"shadow-medium"},lg:{wrapper:"shadow-large",img:"shadow-large"}},isZoomed:{true:{img:["object-cover","transform","hover:scale-125"]}},showSkeleton:{true:{wrapper:["group","relative","overflow-hidden","bg-content3 dark:bg-content2","before:opacity-100","before:absolute","before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite]","before:border-t","before:border-content4/30","before:bg-gradient-to-r","before:from-transparent","before:via-content4","dark:before:via-default-700/10","before:to-transparent","after:opacity-100","after:absolute","after:inset-0","after:-z-10","after:bg-content3","dark:after:bg-content2"],img:"opacity-0"}},disableAnimation:{true:{img:"transition-none"},false:{img:"transition-transform-opacity motion-reduce:transition-none !duration-300"}}},defaultVariants:{radius:"lg",shadow:"none",isZoomed:!1,isBlurred:!1,showSkeleton:!1,disableAnimation:!1},compoundSlots:[{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"none",class:"rounded-none"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"full",class:"rounded-full"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"sm",class:"rounded-small"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"md",class:"rounded-md"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"lg",class:"rounded-large"}]}),n=t(31744),s=t(49869),i=t(50262),d=t(29261),c=t(85893),u=(0,o.Gp)((e,r)=>{let{Component:t,domRef:u,slots:m,classNames:f,isBlurred:g,isZoomed:p,fallbackSrc:v,removeWrapper:b,disableSkeleton:h,getImgProps:w,getWrapperProps:k,getBlurredImgProps:y}=function(e){let[r,t]=(0,o.oe)(e,l.variantKeys),{ref:c,as:u,src:m,className:f,classNames:g,loading:p,isBlurred:v,fallbackSrc:b,isLoading:h,disableSkeleton:w=!!b,removeWrapper:k=!1,onError:y,onLoad:x,srcSet:_,sizes:z,crossOrigin:B,...j}=r,S=(0,d.d)({src:m,loading:p,onError:y,onLoad:x,ignoreFallback:!1,srcSet:_,sizes:z,crossOrigin:B}),I="loaded"===S&&!h,A="loading"===S||h,N=e.isZoomed,C=(0,n.gy)(c),{w:W}=(0,a.useMemo)(()=>({w:r.width?"number"==typeof r.width?`${r.width}px`:r.width:"fit-content"}),[null==r?void 0:r.width]),L=(!m||!I)&&!!b,P=A&&!w,E=(0,a.useMemo)(()=>l({...t,showSkeleton:P}),[...Object.values(t),P]),G=(0,s.W)(f,null==g?void 0:g.img),M=(0,a.useCallback)(()=>{let e=L?{backgroundImage:`url(${b})`}:{};return{className:E.wrapper({class:null==g?void 0:g.wrapper}),style:{...e,maxWidth:W}}},[E,L,b,null==g?void 0:g.wrapper]),D=(0,a.useCallback)(()=>({src:m,"aria-hidden":(0,i.PB)(!0),className:E.blurredImg({class:null==g?void 0:g.blurredImg})}),[E,m,null==g?void 0:g.blurredImg]);return{Component:u||"img",domRef:C,slots:E,classNames:g,isBlurred:v,disableSkeleton:w,fallbackSrc:b,removeWrapper:k,isZoomed:N,isLoading:A,getImgProps:(e={})=>{let r=(0,s.W)(G,null==e?void 0:e.className);return{src:m,ref:C,"data-loaded":(0,i.PB)(I),className:E.img({class:r}),loading:p,srcSet:_,sizes:z,crossOrigin:B,...j}},getWrapperProps:M,getBlurredImgProps:D}}({...e,ref:r}),x=(0,c.jsx)(t,{ref:u,...w()});if(b)return x;let _=(0,c.jsx)("div",{className:m.zoomedWrapper({class:null==f?void 0:f.zoomedWrapper}),children:x});return g?(0,c.jsxs)("div",{...k(),children:[p?_:x,(0,a.cloneElement)(x,y())]}):p||!h||v?(0,c.jsxs)("div",{...k(),children:[" ",p?_:x]}):x});u.displayName="NextUI.Image";var m=u},42484:function(e,r,t){"use strict";t.d(r,{O:function(){return v}});var a=t(98399),o=t(57893),l=(0,a.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...o.Dh],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focu
1s:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1,disableAnimation:!1}}),n=t(768),s=t(28628),i=t(76644),d=t(82134),c=t(31744),u=t(50262),m=t(67294),f=t(85893),g=e=>
1(0,f.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,f.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,f.jsx)("path",{d:"M15 3h6v6"}),(0,f.jsx)("path",{d:"M10 14L21 3"})]}),p=(0,d.Gp)((e,r)=>{let{Component:t,children:a,showAnchorIcon:o,anchorIcon:p=(0,f.jsx)(g,{className:"flex mx-1 text-current self-center"}),getLinkProps:v}=function(e){var r,t;let[a,o]=(0,d.oe)(e,l.variantKeys),{ref:f,as:g,children:p,anchorIcon:v,isExternal:b=!1,showAnchorIcon:h=!1,autoFocus:w=!1,className:k,onPress:y,onPressStart:x,onPressEnd:_,onClick:z,...B}=a,j=(0,c.gy)(f),{linkProps:S}=function(e,r){let{elementType:t="a",onPress:a,onPressStart:o,onPressEnd:l,onClick:d,isDisabled:c,...u}=e,m={};"a"!==t&&(m={role:"link",tabIndex:c?void 0:0});let{focusableProps:f}=(0,s.kc)(e,r),{pressProps:g,isPressed:p}=(0,i.r7)({onPress:a,onPressStart:o,onPressEnd:l,isDisabled:c,ref:r}),v=(0,n.zL)(u,{labelable:!0}),b=(0,n.dG)(f,g);return{isPressed:p,linkProps:(0,n.dG)(v,{...b,...m,"aria-disabled":c||void 0,"aria-current":e["aria-current"],onClick:e=>{var r;null==(r=g.onClick)||r.call(g,e),d&&d(e)}})}}({...B,onPress:y,onPressStart:x,onPressEnd:_,onClick:z,isDisabled:e.isDisabled,elementType:`${g}`},j),{isFocused:I,isFocusVisible:A,focusProps:N}=(0,s.Fx)({autoFocus:w});b&&(B.rel=null!=(r=B.rel)?r:"noopener noreferrer",B.target=null!=(t=B.target)?t:"_blank");let C=(0,m.useMemo)(()=>l({...o,className:k}),[...Object.values(o),k]),W=(0,m.useCallback)(()=>({ref:j,className:C,"data-focus":(0,u.PB)(I),"data-disabled":(0,u.PB)(e.isDisabled),"data-focus-visible":(0,u.PB)(A),...(0,n.dG)(N,S,B)}),[C,I,A,N,S,B]);return{Component:g||"a",children:p,anchorIcon:v,showAnchorIcon:h,getLinkProps:W}}({ref:r,...e});return(0,f.jsx)(t,{...v(),children:(0,f.jsxs)(f.Fragment,{children:[a,o&&p]})})});p.displayName="NextUI.Link";var v=p},34809:function(e,r,t){"use strict";t.d(r,{o:function(){return d}});var a=t(82134),o=(0,t(98399).tv)({base:[],variants:{orientation:{vertical:["overflow-y-auto","data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],horizontal:["overflow-x-auto","data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"]},hideScrollBar:{true:"scrollbar-hide",false:""}},defaultVariants:{orientation:"vertical",hideScrollBar:!1}}),l=t(31744),n=t(67294),s=t(85893),i=(0,a.Gp)((e,r)=>{let{Component:t,children:i,getBaseProps:d}=function(e){var r;let[t,s]=(0,a.oe)(e,o.variantKeys),{ref:i,as:d,children:c,className:u,size:m=40,offset:f=0,isEnabled:g=!0,style:p,...v}=t,b=(0,l.gy)(i);!function(e={}){let{domRef:r,isEnabled:t=!0,overflowCheck:a="vertical",offset:o=0}=e;(0,n.useEffect)(()=>{let e=null==r?void 0:r.current,l=()=>{if(e){if("vertical"===a||"both"===a){let r=e.scrollTop>o,t=e.scrollTop+e.clientHeight+o<e.scrollHeight;r&&t?(e.dataset.topBottomScroll="true",e.removeAttribute("data-top-scroll"),e.removeAttribute("data-bottom-scroll")):(e.dataset.topScroll=r.toString(),e.dataset.bottomScroll=t.toString(),e.removeAttribute("data-top-bottom-scroll"))}if("horizontal"===a||"both"===a){let r=e.scrollLeft>o,t=e.scrollLeft+e.clientWidth+o<e.scrollWidth;r&&t?(e.dataset.leftRightScroll="true",e.removeAttribute("data-left-scroll"),e.removeAttribute("data-right-scroll")):(e.dataset.leftScroll=r.toString(),e.dataset.rightScroll=t.toString(),e.removeAttribute("data-left-right-scroll"))}}},n=()=>{e&&(e.removeAttribute("data-top-scroll"),e.removeAttribute("data-bottom-scroll"),e.removeAttribute("data-top-bottom-scroll"),e.removeAttribute("data-left-scroll"),e.removeAttribute("data-right-scroll"),e.removeAttribute("data-left-right-scroll"))};return t?(l(),null==e||e.addEventListener("scroll",l)):n(),()=>{null==e||e.removeEventListener("scroll",l),n()}},[t,a,r])}({domRef:b,offset:f,isEnabled:g,overflowCheck:null!=(r=e.orientation)?r:"vertical"});let h=(0,n.useMemo)(()=>o({...s,className:u}),[...Object.values(s),u]);return{Component:d||"div",styles:h,domRef:b,children:c,getBaseProps:(r={})=>{var t;return{ref:b,className:h,"data-orientation":null!=(t=e.orientation)?t:"vertical",style:{"--scroll-shadow-size":`${m}px`,...p,...r.style},...v,...r}}}}({...e,ref:r});return(0,s.jsx)(t,{...d(),children:i})});i.displayName="NextUI.ScrollShadow";var d=i},29261:function(e,r,t){"use strict";t.d(r,{d:function(){return l}});var a=t(67294),o=t(93387);function l(e={}){let{loading:r,src:t,srcSet:l,onLoad:n,onError:s,crossOrigin:i,sizes:d,ignoreFallback:c}=e,[u,m]=(0,a.useState)("pending");(0,a.useEffect)(()=>{m(t?"loading":"pending")},[t]);let f=(0,a.useRef)(),g=(0,a.useCallback)(()=>
1{if(!t)return;p();let e=new Image;e.src=t,i&&(e.crossOrigin=i),l&&(e.srcset=l),d&&(e.sizes=d),r&&(e.loading=r),e.onload=e=>{p(),m("loaded"),null==n||n(e)},e.onerror=e=>{p(),m("failed"),null==s||s(e)},f.current=e},[t,i,l,d,n,s,r]),p=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return(0,o.G)(()=>{if(!c)return"loading"===u&&g(),()=>{p()}},[u,g,c]),c?"loaded":u}}}]);
2//# sourceMappingURL=6943-c8ad58d45b24444f.js.map

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.