PageSourceSearch

https://teamchile.cl/wp-content/plugins/ncmaz-frontend/dist/assets/NavAccountDropdown-7dff0aa9.js

js teamchile.cl collected 2026-10-04 01:36:49 UTC 3,371 bytes, 1 lines download raw bytes

1import{j as a,r as N}from"./main-ddd0c633.js";import{A as h}from"./Avatar-143135aa.js";import{q as s}from"./menu-a2bfb547.js";import{q as b}from"./transition-af80e3a6.js";import"./contants-3c5f400b.js";import"./contantsCommon-3b0e63b7.js";import"./getImageSizesBySizeName-22c25ac1.js";import"./use-is-mounted-5022ad3a.js";const $=({data:f,footData:g})=>{var i,d,o,m,c,x,u,p;const{currentUser:e,homeURL:j}=frontendObject,n=((d=(i=e==null?void 0:e.ncUserMeta)==null?void 0:i.featuredImage)==null?void 0:d.sourceUrl)||((o=e==null?void 0:e.avatar)==null?void 0:o.url)||"",r=(c=(m=e==null?void 0:e.ncUserMeta)==null?void 0:m.featuredImage)!=null&&c.sourceUrl?(u=(x=e==null?void 0:e.ncUserMeta)==null?void 0:x.featuredImage)==null?void 0:u.srcSet:void 0,v=()=>a.jsx("div",{className:"flex-shrink-0 w-10 h-10 xl:w-12 xl:h-12 rounded-full text-neutral-700 dark:text-neutral-300 sm:hover:bg-neutral-100 sm:dark:hover:bg-neutral-800 focus:outline-none flex items-center justify-center ",children:a.jsx(h,{imgUrl:n,userName:e==null?void 0:e.name,srcSet:r,imageSizes:"IS_SIZES",sizes:"100px",radius:"rounded-full",containerClassName:"ring-2 ring-neutral-200 dark:ring-neutral-700 ring-offset-2",sizeClass:"h-7 w-7 text-base "})});return a.jsxs(s,{as:"div",className:"relative inline-block text-left",children:[a.jsx("div",{children:a.jsx(s.Button,{className:"",children:v()})}),a.jsx(b,{as:N.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:a.jsxs(s.Items,{className:"absolute right-0 w-56 mt-1.5 xl:mt-2.5 origin-top-right bg-white dark:bg-neutral-800 rounded-2xl shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none divide-y divide-neutral-100  dark:divide-neutral-700 text-sm",children:[a.jsx("div",{className:"px-1 py-2",children:a.jsxs("a",{href:j+(e==null?void 0:e.uri),className:"px-3 py-2 flex items-center space-x-3",children:[a.jsx(h,{imgUrl:n,srcSet:r,userName:e==null?void 0:e.name,radius:"rounded-full",sizeClass:"h-9 w-9 sm:h-10 sm:w-10 text-base",imageSizes:"IS_SIZES",sizes:"100px"}),a.jsxs("div",{className:"flex flex-col justify-center text-sm truncate",children:[a.jsx("span",{className:"text-base font-medium truncate capitalize leading-tight mb-0.5",children:e==null?void 0:e.name}),a.jsx("span",{className:"text-neutral-500 dark:text-neutral-400 truncate leading-tight",children:(p=e==null?void 0:e.ncUserMeta)==null?void 0:p.ncBio})]})]})}),a.jsx("div",{className:"px-1 py-2",children:f.map(t=>a.jsx(s.Item,{children:({active:l})=>a.jsxs("a",{href:t.href||"#",className:`flex items-center rounded-md w-full px-3 py-2 truncate ${l?"bg-neutral-100 dark:bg-neutral-700 text-neutral-900 dark:text-neutral-100":""}`,children:[a.jsx("i",{className:`${t.icon} mr-1 w-7 text-lg`}),a.jsx("span",{children:t.name})]},t.id)},t.id))}),a.jsx("div",{className:"px-1 py-2",children:g.map(t=>a.jsx(s.Item,{children:({active:l})=>a.jsxs("a",{href:t.href||"#",className:`flex items-center rounded-md w-full px-3 py-2 truncate ${l?"bg-neutral-100 dark:bg-neutral-700 text-neutral-900 dark:text-neutral-100":""}`,children:[a.jsx("i",{className:`${t.icon} mr-1 w-7 text-lg`}),a.jsx("span",{children:t.name})]},t.id)},t.id))})]})})]})};export{$ as default};

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.