PageSourceSearch

https://www.guaybo.com/_next/static/chunks/5524.6c4bd7bc73ad0c81.js

js guaybo.com collected 2026-09-29 01:29:40 UTC 56,997 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c089fbec-4172-4d7d-8543-09c92d35000d",e._sentryDebugIdIdentifier="sentry-dbid-c089fbec-4172-4d7d-8543-09c92d35000d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5524],{473:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(54568),n=a(96442),l=a(88942);let o=(0,n.default)(()=>Promise.all([a.e(4524),a.e(7784),a.e(1860),a.e(3006)]).then(a.bind(a,23826)),{loadableGenerated:{webpack:()=>[23826]},ssr:!1,loading:()=>(0,r.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"2rem",borderRadius:"0.5rem",minHeight:"200px",width:"100%"},children:(0,r.jsx)("div",{className:"flex w-full justify-center py-20",children:(0,r.jsx)(l.A,{className:"text-[#FF5A36]"})})})})},2500:(e,t,a)=>{"use strict";a.d(t,{X:()=>l});var r=a(3493),n=a(91490);let l=(e,t)=>e?t===n.Xd.LINK||t===n.Qe.LINK||e.startsWith("http")?e:"".concat(r.wC,"/").concat(e):""},14380:(e,t,a)=>{"use strict";a.d(t,{N:()=>o});var r=a(14162),n=a(46906),l=a(55115);let o=(e,t)=>{let a=e.releaseRule||(null==t?void 0:t.releaseRule),o=e.blockedUntil||(null==t?void 0:t.blockedUntil),s=e.requiredInstallmentNumber||(null==t?void 0:t.requiredInstallmentNumber),i="",c="",d="",u=!1,m=e=>{let t=new Date(e),a=(0,r.GP)(t,"MMMM d",{locale:l.es});c=a.charAt(0).toUpperCase()+a.slice(1),d=(0,r.GP)(t,"h:mma").toLowerCase(),u=(0,n.c)(t);let o=new Date,s=new Date(t.getFullYear(),t.getMonth(),t.getDate()),m=new Date(o.getFullYear(),o.getMonth(),o.getDate()),p=Math.round((s.getTime()-m.getTime())/864e5);i=p>0?p.toString():"0"};return o?m(o):(null==a?void 0:a.fixedReleaseDate)&&m(a.fixedReleaseDate),{days:i,date:c,installment:s||"",time:d,isToday:u}}},14581:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(54568),n=a(58786),l=a(20860),o=a(7620),s=a(66022),i=a.n(s);let c=(0,o.forwardRef)((e,t)=>{let{as:s="p",children:c,size:d="md",weight:u="normal",underline:m=!1,className:p="",markdown:f,textTone:h="normal",customColor:x,responsiveSize:g}=e,[b,v]=(0,o.useState)(null),[w,y]=(0,o.useState)(null);(0,o.useEffect)(()=>{if(!f)return;let e=!0;return(async()=>{let[t,r]=await Promise.all([Promise.all([a.e(6630),a.e(569),a.e(4603)]).then(a.bind(a,84603)),Promise.all([a.e(6630),a.e(3012)]).then(a.bind(a,73012))]);e&&(v(()=>t.default),y(()=>r.default))})(),()=>{e=!1}},[f]);let N={xxs:"text-[.7rem] [&_*]:!text-[.7rem]",xs:"text-xs [&_*]:!text-xs",sm:"text-sm [&_*]:!text-sm",md:"text-base [&_*]:!text-base",lg:"text-lg [&_*]:!text-lg",xl:"text-lg  [&_*]:!text-lg"},j={light:"dark:text-muted dark:[&_*]:!text-muted text-theme-secondary/60 [&_*]:!text-theme-secondary/60",medium:"text-muted dark:text-muted-secondary dark:[&_*]:!text-muted-secondary [&_*]:!text-muted",normal:"text-theme-primary dark:text-fg dark:[&_*]:!text-fg [&_*]:!text-theme-primary"},k=[(null==g?void 0:g.sm)?"sm:".concat(N[g.sm]):"",(null==g?void 0:g.md)?"md:".concat(N[g.md]):"",(null==g?void 0:g.lg)?"lg:".concat(N[g.lg]):"",(null==g?void 0:g.xl)?"xl:".concat(N[g.xl]):""].join(" "),T=(0,n.cn)(i().formatted,{extralight:"font-extralight [&_*:not(strong):not(b)]:!font-extralight",light:"font-light [&_*:not(strong):not(b)]:!font-light",normal:"font-normal [&_*:not(strong):not(b)]:!font-normal",bold:"font-bold [&_*:not(strong):not(b)]:!font-bold",medium:"font-medium [&_*:not(strong):not(b)]:!font-medium",semibold:"font-semibold [&_*:not(strong):not(b)]:!font-semibold"}[u],"text-".concat(m?"underline":""),k,j[h],N[d],p),A=(0,o.useMemo)(()=>"string"!=typeof c?"":c.replace(/<\/?mark\b[^>]*>/gi,"").replace(/\sstyle=(["'])(.*?)\1/gi,(e,t,a)=>{let r=String(a).split(";").map(e=>e.trim()).filter(Boolean).filter(e=>{var t;let a=null==(t=e.split(":")[0])?void 0:t.trim().toLowerCase();return"background"!==a&&"background-color"!==a}).join("; ");return r?" style=".concat(t).concat(r).concat(t):""}),[c]),C=(0,o.useMemo)(()=>A.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim(),[A]);return(0,r.jsx)(r.Fragment,{children:f?(0,r.jsx)("div",{ref:t,children:b&&w?(0,r.jsx)(b,{className:T,rehypePlugins:[w],remarkPlugins:[l.A],components:{a:e=>{let{node:t,...a}=e;return(0,r.jsx)("a",{...a,className:"text-primary-600 underline transition-colors hover:text-primary-800",target:"_blank",rel:"noopener noreferrer"})}},children:A}):(0,r.jsx)("p",{className:T,children:C})}):(0,r.jsx)(s,{ref:t,className:(0,n.cn)(N[d],k,{extralight:"font-extralight [&_*]:!font-extralight",light:"font-light [&_*]:!font-light",normal:"font-normal [&_*]:!font-normal",bold:"font-bold [&_*]:!font-bold",medium:"font-medium [&_*]:!font-medium",semibold:"font-semibold [&_*]:!font-semibold"}[u],m&&"underline",!x&&j[h],p),children:c})})});c.displayName="Paragraph";let d=c},24122:(e,t,a)=>{"use strict";a.d(t,{O:()=>c});
1var r=a(7620),n=a(15207),l=a(79295),o=a(12624),s=a(71175),i=a(21022);function c(e,t,a,c){let d=(0,r.useRef)({}),[u]=(0,l.Re)(),[m]=(0,o.s6)(),[p]=(0,l.gJ)(),f=(0,r.useCallback)(async r=>{var l,o;let f;if(!(0,n.d2)(r.type))return null;let h=null==(l=d.current[r.recordId])?void 0:l.inline,x=(null==h?void 0:h.publicUrl)||(null==h?void 0:h.url);if(x&&!(0,s._d)(null!=(o=null==h?void 0:h.expiresAt)?o:null))return x;let g=r.publicUrl||r.url,b=(0,s.uE)(g);if(g&&!(0,s._d)(b))return d.current[r.recordId]={...d.current[r.recordId]||{},inline:{url:r.url,publicUrl:r.publicUrl,expiresAt:b}},g;if(e){let t=await u({resourceId:r.recordId,purchaseOrderId:e,contentMode:n.UU.INLINE}).unwrap();f=(0,i.D$)(t)}else if(t){let e=await m({resourceId:r.recordId,accessId:t,contentMode:n.UU.INLINE}).unwrap();f=(0,i.D$)(e)}else if(a&&c){let e=await p({resourceId:r.recordId,productId:a,hostId:c,contentMode:n.UU.INLINE}).unwrap();f=(0,i.D$)(e)}if(!f)return null;let v=f.publicUrl||f.url||null;return d.current[r.recordId]={...d.current[r.recordId]||{},inline:{url:f.url,publicUrl:f.publicUrl,expiresAt:(0,s.uE)(f.publicUrl)}},v},[e,t,a,c,u,m,p]),h=(0,r.useCallback)(async r=>{let l;if(!(0,n.d2)(r.type))return null;if(e){let t=await u({resourceId:r.recordId,purchaseOrderId:e,contentMode:n.UU.ATTACHMENT}).unwrap();l=(0,i.D$)(t)}else if(t){let e=await m({resourceId:r.recordId,accessId:t,contentMode:n.UU.ATTACHMENT}).unwrap();l=(0,i.D$)(e)}else if(a&&c){let e=await p({resourceId:r.recordId,productId:a,hostId:c,contentMode:n.UU.ATTACHMENT}).unwrap();l=(0,i.D$)(e)}if(!l)return null;let o=l.publicUrl||l.url||null;return d.current[r.recordId]={...d.current[r.recordId]||{},attachment:{url:l.url,publicUrl:l.publicUrl,expiresAt:(0,s.uE)(l.publicUrl)}},o},[e,t,a,c,u,m,p]);return(0,r.useMemo)(()=>({getInlineUrl:f,getAttachmentUrl:h}),[f,h])}},43612:(e,t,a)=>{"use strict";a.d(t,{t:()=>r}),a(15207);let r=e=>[/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/|youtube\.com\/v\/|youtube\.com\/live\/|youtube\.com\/shorts\/)/i].some(t=>t.test(e))},47781:(e,t,a)=>{"use strict";a.d(t,{SQ:()=>d,_2:()=>u,mB:()=>m,rI:()=>i,ty:()=>c});var r=a(54568),n=a(93607),l=a(7620),o=a(25703),s=a(44576);let i=n.bL,c=n.l9;n.YJ,n.ZL,n.Pb,n.z6,l.forwardRef((e,t)=>{let{className:a,inset:l,children:i,...c}=e;return(0,r.jsxs)(n.ZP,{ref:t,className:(0,o.cn)("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-neutral-100 data-[state=open]:bg-neutral-100 dark:focus:bg-neutral-800 dark:data-[state=open]:bg-neutral-800 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",l&&"pl-8",a),...c,children:[i,(0,r.jsx)(s.TbChevronRight,{className:"ml-auto"})]})}).displayName=n.ZP.displayName,l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,r.jsx)(n.G5,{ref:t,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 bg-white p-1 text-neutral-950 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",a),...l})}).displayName=n.G5.displayName;let d=l.forwardRef((e,t)=>{let{className:a,sideOffset:l=4,...s}=e;return(0,r.jsx)(n.ZL,{children:(0,r.jsx)(n.UC,{ref:t,sideOffset:l,className:(0,o.cn)("z-[999999] min-w-[10rem] overflow-hidden rounded-md border border-neutral-200 bg-white p-1 text-neutral-950 shadow-md dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})})});d.displayName=n.UC.displayName;let u=l.forwardRef((e,t)=>
1{let{className:a,inset:l,...s}=e;return(0,r.jsx)(n.q7,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-neutral-100 focus:text-neutral-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-neutral-800 dark:focus:text-neutral-50 [&>svg]:size-4 [&>svg]:shrink-0",l&&"pl-8",a),...s})});u.displayName=n.q7.displayName,l.forwardRef((e,t)=>{let{className:a,children:l,checked:i,...c}=e;return(0,r.jsxs)(n.H_,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-neutral-100 focus:text-neutral-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",a),checked:i,...c,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.VF,{children:(0,r.jsx)(s.TbCheck,{className:"h-4 w-4"})})}),l]})}).displayName=n.H_.displayName,l.forwardRef((e,t)=>{let{className:a,children:l,...i}=e;return(0,r.jsxs)(n.hN,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-neutral-100 focus:text-neutral-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-neutral-800 dark:focus:text-neutral-50",a),...i,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.VF,{children:(0,r.jsx)(s.TbCircle,{className:"h-2 w-2 fill-current"})})}),l]})}).displayName=n.hN.displayName,l.forwardRef((e,t)=>{let{className:a,inset:l,...s}=e;return(0,r.jsx)(n.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",l&&"pl-8",a),...s})}).displayName=n.JU.displayName;let m=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,r.jsx)(n.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-neutral-100 dark:bg-neutral-800",a),...l})});m.displayName=n.wv.displayName},55524:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>q});var r=a(54568),n=a(29294),l=a(25703),o=a(79295),s=a(15207),i=a(44576),c=a(86490),d=a(35091),u=a(24122),m=a(66712),p=a(59200),f=a(73125),h=a(14380),x=a(71175),g=a(91490),b=a(32536),v=a(7620),w=a(47781);function y(e){let{resource:t,purchaseOrderId:a,onViewDetail:n,isDownloadingExternal:l,onSetDownloading:o,completed:c=!1,onToggleCompleted:d}=e,[m,f]=(0,v.useState)(!1),[h,g]=(0,v.useState)(null),[b,y]=(0,v.useState)(!1),{getAttachmentUrl:N}=(0,u.O)(a);if(!(0,s.bS)(t)||t.accessStatus&&"AVAILABLE"!==t.accessStatus)return null;let j=(0,x.de)(t),k=null!=l?l:m,T=async()=>{g(null),f(!0),null==o||o(!0),y(!0);try{let e=await N(t);if(!e)throw Error("No se pudo obtener el enlace de descarga");(0,p.DQ)(e,s.UU.ATTACHMENT)}catch(e){g(e.message||"Error al descargar")}finally{f(!1),null==o||o(!1),y(!1)}};return(0,r.jsxs)(w.rI,{open:b,onOpenChange:y,children:[(0,r.jsx)(w.ty,{asChild:!0,onClick:e=>{e.stopPropagation()},children:(0,r.jsx)("div",{className:"cursor-pointer rounded-full p-1 transition-colors hover:bg-theme-primary/10",children:k?(0,r.jsx)(i.TbLoader,{className:"h-4 w-4 animate-spin text-fg/60"}):(0,r.jsx)(i.TbDotsVertical,{className:"h-4 w-4 text-fg/60"})})}),(0,r.jsxs)(w.SQ,{align:"end",onClick:e=>{e.stopPropagation()},className:"min-w-[160px]",children:[(0,r.jsxs)(w._2,{onClick:n,className:"flex cursor-pointer items-center gap-2",children:[(0,r.jsx)(i.TbEye,{className:"h-4 w-4"}),"Ver detalle"]}),j&&(0,r.jsxs)(w._2,{onClick:T,disabled:k,className:"flex cursor-pointer items-center gap-2",children:[k?(0,r.jsx)(i.TbLoader,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(i.TbDownload,{className:"h-4 w-4"}),k?"Descargando...":"Descargar"]}),d&&(0,r.jsxs)(w._2,{onClick:d,className:"flex cursor-pointer items-center justify-between gap-4",children:[(0,r.jsx)("span",{children:c?"Desmarcar completado":"Marcar completado"}),(0,r.jsx)(i.TbCircleCheck,{className:"h-4 w-4 shrink-0 ".concat(c?"text-green-500":"text-fg/60")})]}),h&&(0,r.jsx)("div",{className:"px-2 py-1 text-xs text-red-500",children:h})]})]})}var N=a(80092),j=a(473),k=a(21022),T=a(43612),A=a(74300),C=a(14581),I=a(5443),E=a(2500),D=a(19664),S=a.n(D),L=a(44653);let U="border-theme-primary/10 dark:border-white/[0.06]";function M(e){var t;let{purchaseOrderId:a,resource:n}=e,[c,d]=(0,v.useState)(!1),[m,p]=(0,v.useState)(!1);(0,v.useEffect)(()=>{let e=setTimeout(()=>p(!0),50);return()=>clearTimeout(e)},[]);let{data:f,isLoading:h,error:x,refetch:g}=(0,o.vw)({resourceId:n.recordId,purchaseOrderId:a,contentMode:s.UU.INLINE},{skip:!(0,s.d2)(n.type)||!m}),w=(0,k.D$)(f),{getAttachmentUrl:y}=(0,u.O)(a),[D,M]=(0,v.useState)(null),P=(0,v.useRef)(0);if((0,v.useEffect)(()=>
1{if(!(0,s.d2)(n.type))return;let e=w||n,t=e.fileType,a=e.publicUrl||e.url;if(t!==s.Q0.IMAGE||!a)return;let r=!1,l=new window.Image;return l.onload=()=>{r||M(a)},l.onerror=async()=>{if(!r&&!(P.current>=1)){P.current+=1;try{let e=await g(),t=(0,k.D$)(e.data),a=(null==t?void 0:t.url)||(null==t?void 0:t.publicUrl);a&&!r&&M(a)}catch(e){}}},l.src=a,()=>{r=!0}},[n,w,g]),h)return(0,r.jsx)("div",{className:"flex h-72 w-80 items-center justify-center",children:(0,r.jsx)(i.TbLoader,{className:"h-8 w-8 animate-spin text-fg/60"})});if(x||!n)return(0,r.jsx)("div",{className:"flex h-72 w-80 items-center justify-center p-8 text-center",children:(0,r.jsx)("p",{className:"text-sm text-red-500",children:"Error al cargar el recurso."})});let R=(0,s.d2)(n.type),_=R?w||n:void 0,O=R?_.fileType:void 0,F=R?_.publicUrl||_.url:void 0,Q=n.title,V=n.description,z=R?_.longDescription:void 0,q=((null==F||null==(t=F.split("?Expires"))?void 0:t[0])||"").toLowerCase().endsWith(".pdf"),H=!!(V||z),B=O===s.Q0.DOCUMENT&&q,G=O===s.Q0.IMAGE,X=(()=>{switch(O){case s.Q0.VIDEO:return"w-[95vw] md:w-[800px] max-w-[95vw]";case s.Q0.AUDIO:return"w-[95vw] md:w-[600px] max-w-[95vw]";case s.Q0.IMAGE:return"w-[95vw] md:w-[800px] max-w-[95vw]";case s.Q0.DOCUMENT:return B?"w-[95vw] max-w-[95vw]":"w-[95vw] md:w-[700px] max-w-[95vw]";case s.Q0.LINK:case s.Q0.TEXT:return"w-[95vw] md:w-[580px] max-w-[95vw]";default:return"w-[95vw] md:w-[700px] max-w-[95vw]"}})();async function K(){try{return await y(n)}catch(e){return null}}let W=e=>{let{className:t}=e;return(0,r.jsx)("div",{className:(0,l.cn)("w-full px-5 pb-2 pt-6",t),children:(0,r.jsx)("h2",{className:"text-xl font-bold text-fg md:text-2xl",children:Q})})};return(0,r.jsxs)("div",{className:(0,l.cn)("relative mx-auto overflow-x-hidden p-2 pb-10",X,B&&"h-[80svh] px-0 pt-0",G&&"px-0 pt-0"),children:[(0,r.jsx)("div",{className:(0,l.cn)("relative overflow-hidden",B&&"flex h-full flex-col"),children:(()=>{if(!F&&O!==s.Q0.TEXT)return(0,r.jsx)("div",{className:"w-full p-8 text-center",children:(0,r.jsx)("p",{className:"text-sm text-fg/60",children:"Este recurso no est\xe1 disponible."})});let e=O!==s.Q0.VIDEO&&!(O===s.Q0.DOCUMENT&&B);switch(O){case s.Q0.VIDEO:{var t;let a=(0,T.t)(F||"")?void 0:(null==(t=n.thumbnail)?void 0:t.path)?(0,E.X)(n.thumbnail.path,n.thumbnail.source):void 0;return(0,r.jsxs)("div",{className:"flex w-full flex-col overflow-x-hidden",children:[e&&(0,r.jsx)(W,{}),(0,r.jsx)(j.A,{src:F||"",title:Q,poster:a,controls:!0,viewType:"video",aspectRatio:"16/9"})]})}case s.Q0.AUDIO:{let t=(null==w?void 0:w.thumbnail)||n.thumbnail,a=(null==t?void 0:t.path)?(0,E.X)(t.path,t.source):void 0;return(0,r.jsxs)("div",{className:"relative flex h-full w-full flex-col items-center bg-theme-primary/5 p-4 sm:p-6",children:[e&&(0,r.jsx)(W,{}),(0,r.jsxs)("div",{className:"mt-4 flex w-full flex-col items-center justify-center gap-4",children:[a&&(0,r.jsx)("div",{className:"relative w-48 overflow-hidden rounded-xl sm:w-64",children:(0,r.jsx)("div",{className:"aspect-video w-full",children:(0,r.jsx)("img",{src:a,alt:Q,className:"h-full w-full object-cover"})})}),(0,r.jsx)("div",{className:"w-full min-w-0 max-w-4xl flex-1",children:(0,r.jsx)(j.A,{src:F||"",title:Q,autoPlay:!1,controls:!0,viewType:"audio",className:"h-full"})})]})]})}case s.Q0.IMAGE:return(0,r.jsxs)("div",{className:"flex h-[50vh] w-full flex-col overflow-hidden sm:h-[60vh] md:h-[70vh]",children:[e&&(0,r.jsx)(W,{}),(0,r.jsx)("div",{className:"relative min-h-0 w-full flex-1",children:(0,r.jsx)(N.A,{src:D||F||"",alt:Q,title:Q})})]});case s.Q0.DOCUMENT:if(q)return(0,r.jsxs)("div",{className:"flex h-full w-full min-w-0 flex-col overflow-hidden",children:[e&&(0,r.jsx)(W,{}),(0,r.jsx)("div",{className:"relative min-h-0 min-w-0 flex-1",children:(0,r.jsx)(A.A,{url:F||"",title:Q,onRetry:()=>g()})})]});{let t=(null==w?void 0:w.thumbnail)||n.thumbnail,a=(null==t?void 0:t.path)?(0,E.X)(t.path,t.source):void 0,l=(e=>{if(!e)return"";try{let t=new URL(e).pathname,a=t.split(".").pop();if(!a||a===t||a.length>5)return"";return a.toUpperCase()}catch(a){let t=e.split(".").pop();if(!t||t===e||t.length>5)return"";return t.toUpperCase()}}
1)(F||(null==_?void 0:_.url)||"");return(0,r.jsxs)("div",{className:"flex h-full w-full flex-col px-4 pt-2",children:[e&&(0,r.jsx)(W,{}),(0,r.jsxs)("div",{className:"mt-2 flex w-full flex-col gap-3 rounded-xl border ".concat(U," bg-theme-primary/5 p-3 sm:flex-row sm:items-center sm:gap-4 sm:p-4"),children:[(0,r.jsxs)("div",{className:"flex w-full min-w-0 flex-1 items-center gap-3 sm:gap-4",children:[(0,r.jsx)("div",{className:"relative flex aspect-video w-24 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-theme-primary/5 sm:w-28",children:a?(0,r.jsx)(b.default,{src:a,alt:Q,fill:!0,className:"object-cover"}):(0,r.jsx)(i.TbFile,{className:"text-3xl text-fg/60"})}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,r.jsx)("h3",{className:"w-full truncate text-sm font-semibold text-fg sm:text-base",children:Q}),l?(0,r.jsxs)(I.E,{variant:"default",appearance:"soft",size:"sm",icon:(0,r.jsx)(i.TbFileFilled,{className:"h-4 w-4"}),children:[".",l]}):(0,r.jsx)("p",{className:"truncate text-xs text-fg/60",children:"Documento"})]})]}),(0,r.jsx)("div",{className:"mt-2 w-full shrink-0 sm:mt-0 sm:w-auto",children:(0,r.jsxs)("button",{onClick:async()=>{d(!0);try{let e=await K();e&&(await new Promise(e=>setTimeout(e,50)),window.location.href=e)}finally{d(!1)}},disabled:c,className:"flex w-full items-center justify-center gap-2 rounded-lg border border-theme-primary/10 bg-theme-primary/5 px-3 py-1.5 text-sm font-medium text-theme-primary transition hover:bg-theme-primary/10 disabled:pointer-events-none disabled:opacity-50 sm:w-auto",children:[c?(0,r.jsx)(i.TbLoader,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(i.TbDownload,{className:"h-4 w-4"}),c?"Descargando...":"Descargar"]})})]})]})}case s.Q0.LINK:{let t=(null==w?void 0:w.thumbnail)||n.thumbnail,a=(null==t?void 0:t.path)?(0,E.X)(t.path,t.source):void 0;return(0,r.jsxs)("div",{className:"flex h-full w-full flex-col px-4 pt-2",children:[e&&(0,r.jsx)(W,{}),(0,r.jsxs)("div",{className:"mt-2 flex w-full flex-col gap-3 rounded-xl border ".concat(U," bg-theme-primary/5 p-3 sm:flex-row sm:items-center sm:gap-4 sm:p-4"),children:[(0,r.jsxs)("div",{className:"flex w-full min-w-0 flex-1 items-center gap-3 sm:gap-4",children:[(0,r.jsx)("div",{className:"relative flex aspect-video w-24 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-theme-primary/5 sm:w-28",children:a?(0,r.jsx)(b.default,{src:a,alt:Q,fill:!0,className:"object-cover"}):(0,r.jsx)(i.TbExternalLink,{className:"text-3xl text-fg/60"})}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,r.jsx)("h3",{className:"w-full truncate text-sm font-semibold text-fg sm:text-base",children:Q}),(0,r.jsx)("p",{className:"w-full truncate text-xs text-theme-primary underline underline-offset-2 opacity-70",children:F})]})]}),(0,r.jsx)("div",{className:"mt-2 w-full shrink-0 sm:mt-0 sm:w-auto",children:(0,r.jsxs)(S(),{href:F||"#",target:"_blank",className:"flex w-full items-center justify-center gap-2 rounded-lg border border-theme-primary/10 bg-theme-primary/5 px-3 py-1.5 text-sm font-medium text-theme-primary no-underline transition hover:bg-theme-primary/10 sm:w-auto",children:[(0,r.jsx)(L.EQc,{className:"text-xs"}),"Abrir enlace"]})})]})]})}case s.Q0.TEXT:{let t=(null==w?void 0:w.thumbnail)||n.thumbnail,a=(null==t?void 0:t.path)?(0,E.X)(t.path,t.source):void 0;if(!H)return(0,r.jsxs)("div",{className:"flex h-full w-full flex-col px-4 pb-6 pt-2",children:[e&&(0,r.jsx)(W,{}),a&&(0,r.jsx)("div",{className:"relative mx-4 mb-2 w-full overflow-hidden rounded-xl",style:{aspectRatio:"16/9"},children:(0,r.jsx)(b.default,{src:a,alt:Q,fill:!0,className:"object-cover"})}),(0,r.jsxs)("div",{className:"mt-2 flex w-full flex-col items-center gap-4 roun
1ded-xl border ".concat(U," bg-theme-primary/5 p-6 sm:p-8"),children:[(0,r.jsx)(i.TbFileFilled,{className:"text-5xl text-fg/60"}),(0,r.jsxs)("div",{className:"space-y-1 text-center",children:[(0,r.jsx)("h3",{className:"text-lg font-medium text-center text-fg",children:"Este recurso no tiene contenido"}),(0,r.jsx)("p",{className:"text-sm text-center text-fg/60",children:"Actualmente este recurso no tiene contenido cargado."})]})]})]});return(0,r.jsxs)("div",{className:"flex h-full w-full flex-col px-4 pt-2",children:[e&&(0,r.jsx)(W,{}),a&&(0,r.jsx)("div",{className:"relative w-full overflow-hidden rounded-xl",style:{aspectRatio:"16/9"},children:(0,r.jsx)(b.default,{src:a,alt:Q,fill:!0,className:"object-cover"})})]})}default:return(0,r.jsx)("div",{className:"w-full p-8 text-center",children:(0,r.jsx)("p",{className:"text-sm text-fg/60",children:"Vista previa no disponible para este tipo de recurso."})})}})()}),H&&(0,r.jsxs)("div",{className:"mt-6 space-y-4 px-5",children:[V&&(0,r.jsx)(C.A,{markdown:!0,children:V}),z&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:"text-sm font-semibold uppercase tracking-wider text-fg/60",children:"Detalles adicionales"}),(0,r.jsx)(C.A,{markdown:!0,className:"break-words text-sm leading-relaxed text-fg/60",children:z})]})]})]})}let P=e=>(0,s.d2)(e.type),R=e=>(0,s.XT)(e.type),_="border-theme-primary/10";function O(e){let t="h-3.5 w-3.5";switch(e){case s.Q0.VIDEO:return(0,r.jsx)(i.TbVideo,{className:"".concat(t," text-blue-400")});case s.Q0.IMAGE:return(0,r.jsx)(i.TbPhoto,{className:"".concat(t," text-green-400")});case s.Q0.AUDIO:return(0,r.jsx)(i.TbMusic,{className:"".concat(t," text-orange-400")});case s.Q0.DOCUMENT:return(0,r.jsx)(i.TbFileText,{className:"".concat(t," text-purple-400")});case s.Q0.TEXT:return(0,r.jsx)(i.TbFileText,{className:"".concat(t," text-blue-400")});case s.Q0.LINK:return(0,r.jsx)(i.TbLink,{className:"".concat(t," text-fg/60")});default:return(0,r.jsx)(i.TbFileFilled,{className:"".concat(t," text-fg/60")})}}function F(e){var t;let{resource:a,parentResource:n,isBlocked:o,className:d}=e,[u,m]=(0,v.useState)(!0),p=null==(t=a.thumbnail)?void 0:t.path;return(0,r.jsxs)("div",{className:(0,l.cn)("relative shrink-0 overflow-hidden rounded-lg",d),children:[p&&u?(0,r.jsx)(b.default,{src:p,alt:a.title,fill:!0,className:"object-cover",sizes:"96px",onError:()=>m(!1)}):(0,r.jsx)("div",{className:"flex h-full w-full items-center justify-center border border-theme-primary/10 bg-theme-primary/5",children:(0,c.R)(a.type,P(a)?a.fileType:s.Q0.DOCUMENT,"h-4 w-4 sm:h-5 sm:w-5")}),o&&(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20 backdrop-blur-[2px]",children:(0,r.jsx)(i.TbLock,{className:"h-4 w-4 text-white/80"})})]})}function Q(e){let{child:t,parentResource:a,messages:n}=e,l=(0,h.N)(t,a),o="BLOCKED_DATE"===t.accessStatus||"BLOCKED_DRIP"===t.accessStatus,s="BLOCKED_PREREQUISITE"===t.accessStatus,c="",d=l;if(o)l.isToday?c="_TODAY":"1"===l.days&&(c="_ONE");else if(s){var u,m,p,f;let e=(null==(m=t.releaseRule)||null==(u=m.prerequisiteResource)?void 0:u.title)||(null==a||null==(f=a.releaseRule)||null==(p=f.prerequisiteResource)?void 0:p.title);e&&(c="_NAMED",d={...d,prerequisiteTitle:e.length>30?e.slice(0,28)+"…":e})}let x=n("members.productResources.blockedReasons.".concat(t.accessStatus).concat(c),d);return x?(0,r.jsxs)("span",{className:"flex items-center gap-1 rounded-md bg-theme-primary/10 px-1.5 py-0.5 text-[9px] font-medium text-fg/60",children:[(0,r.jsx)(i.TbLock,{className:"h-2.5 w-2.5"}),x]}):null}let V=(0,v.memo)(function(e){let{items:t,purchaseOrderId:a,onOpenDetail:n,parentResource:c,onProgressUpdated:d}=e,h=(0,m.i)(),[b,w]=(0,v.useState)(null),{getAttachmentUrl:N}=(0,u.O)(a),[j,k]=(0,v.useState)(()=>Object.fromEntries(t.map(e=>[e.recordId,!!e.completed]))),[T]=(0,o.U5)(),A=(0,v.useCallback)(async e=>{let t=!j[e.recordId];k(a=>({...a,[e.recordId]:t}));try{await T({resourceId:e.recordId,purchaseOrderId:a,completed:t}).unwrap(),null==d||d()}catch(a){k(a=>({...a,[e.recordId]:!t}))}},[j,a,T,d]);return(0,r.jsx)("ul",{className:"mt-1 space-y-1",children:t.map(e=>{var t;let o=e.accessStatus&&e.accessStatus!==s.A$.AVAILABLE;return(0,r.jsxs)("li",{className:(0,l.cn)("flex cursor-pointer items-center justify-between rounded-lg px-3 py-2 transition-colors","border border-theme-primary/5 bg-theme-primary/[0.03] hover:bg-theme-primary/[0.06]",o&&"opacity-70"),onClick:()=>{o||n(e)},children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-3 overflow-hidden",children:[(0,r.jsx)("div",{className:"relative aspect-video w-14 sm:w-16",children:(0,r.jsx)(F,{resource:e,parentResource:c,isBlocked:!!o,className:"h-full w-full"})}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col",children:[(0,r.jsx)("span",{className:(0,l.cn)("line-clamp-1 text-xs font-medium md:text-sm",o?"text-fg/60":"text-fg"),children:e.title}),P(e)&&(0,r.jsxs)("div",{className:"mt-0.5 flex flex-wrap items-center gap-1.5 text-[10px] text-fg/60",children:[O(e.fileType),e.duration>0&&(0,r.jsx)("span",{children:(0,f.a)(e.duration,g.VV.MINUTES,!0)}),o&&(0,r.jsx)(Q,{child:e,parentResource:c,messages:h})]})]})]}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[P(e)&&(0,x.de)(e)&&(!e.accessStatus||e.accessStatus===s.A$.AVAILABLE)&&(0,r.jsx)("button",{type:"button",disabled:b===e.recordId,onClick:async t=>{t.stopPropagation(),w(e.recordId);try{let t=await N(e);
1t&&(0,p.DQ)(t,s.UU.ATTACHMENT)}finally{w(null)}},className:"rounded-full p-1 transition-colors hover:bg-theme-primary/10 disabled:opacity-50",title:"Descargar",children:b===e.recordId?(0,r.jsx)(i.TbLoader,{className:"h-4 w-4 animate-spin text-fg/60"}):(0,r.jsx)(i.TbDownload,{className:"h-4 w-4 text-fg/60"})}),(0,r.jsx)(y,{resource:e,purchaseOrderId:a,onViewDetail:()=>n(e),isDownloadingExternal:b===e.recordId,onSetDownloading:t=>w(t?e.recordId:null),completed:null!=(t=j[e.recordId])&&t,onToggleCompleted:()=>A(e)})]})]},e.recordId)})})}),z=(0,v.memo)(function(e){var t;let{resource:a,purchaseOrderId:n,onProgressUpdated:c}=e,[m,h]=(0,v.useState)(!1),[b,w]=(0,v.useState)(!1),[N,j]=(0,v.useState)(null),[k,T]=(0,v.useState)(!!a.completed),[A]=(0,o.U5)(),{getAttachmentUrl:C}=(0,u.O)(n),I=async e=>{let t=await C(e);t&&(0,p.DQ)(t,s.UU.ATTACHMENT)},E=e=>{j(e)},D=(0,v.useCallback)(async()=>{let e=!k;T(e);try{await A({resourceId:a.recordId,purchaseOrderId:n,completed:e}).unwrap(),null==c||c()}catch(t){T(!e)}},[k,a.recordId,n,A,c]),S=R(a)&&Array.isArray(a.children)&&a.children.length>0,L=a.accessStatus&&a.accessStatus!==s.A$.AVAILABLE,U=(0,v.useCallback)(async()=>{if(!L||R(a)){if(P(a)&&!L&&!S)return void E(a);S&&h(e=>!e)}},[a,S,L]);return(0,r.jsxs)("div",{className:(0,l.cn)("w-full overflow-hidden rounded-xl border transition-all duration-200",_,"bg-theme-primary/[0.03] hover:bg-theme-primary/[0.05]",L&&"opacity-75"),children:[(0,r.jsxs)("div",{role:"button",tabIndex:0,onClick:U,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&U()},className:"flex w-full cursor-pointer items-center gap-3 px-3 py-3 focus:outline-none sm:px-4","aria-expanded":m,children:[(0,r.jsx)("div",{className:"relative aspect-video w-14 shrink-0 sm:w-20",children:(0,r.jsx)(F,{resource:a,isBlocked:!!L,className:"h-full w-full"})}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("div",{className:(0,l.cn)("line-clamp-2 text-sm font-medium",L?"text-fg/60":"text-fg"),children:a.title}),(0,r.jsxs)("div",{className:"mt-0.5 flex flex-wrap items-center gap-1.5 text-[11px] text-fg/60",children:[P(a)&&O(a.fileType),P(a)&&a.duration>0&&(0,r.jsx)("span",{children:(0,f.a)(a.duration,g.VV.MINUTES,!0)}),S&&(0,r.jsxs)("span",{className:"text-[10px]",children:[null==(t=a.children)?void 0:t.length," recursos"]})]})]}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[S&&(0,r.jsx)("span",{className:"p-1 text-fg/60",children:m?(0,r.jsx)(i.TbChevronDown,{className:"h-4 w-4"}):(0,r.jsx)(i.TbChevronRight,{className:"h-4 w-4"})}),P(a)&&(0,r.jsxs)(r.Fragment,{children:[(0,x.de)(a)&&(!a.accessStatus||a.accessStatus===s.A$.AVAILABLE)&&(0,r.jsx)("button",{type:"button",disabled:b,onClick:async e=>{e.stopPropagation(),w(!0);try{await I(a)}finally{w(!1)}},className:"rounded-full p-1 transition-colors hover:bg-theme-primary/10 disabled:opacity-50",title:"Descargar",children:b?(0,r.jsx)(i.TbLoader,{className:"h-4 w-4 animate-spin text-fg/60"}):(0,r.jsx)(i.TbDownload,{className:"h-4 w-4 text-fg/60"})}),(0,r.jsx)(y,{resource:a,purchaseOrderId:n,onViewDetail:()=>E(a),isDownloadingExternal:b,onSetDownloading:w,completed:k,onToggleCompleted:D})]})]})]}),m&&S&&(0,r.jsx)("div",{className:"border-t px-3 pb-3 pt-1 ".concat(_),children:R(a)&&a.children&&(0,r.jsx)(V,{items:a.children,purchaseOrderId:n,onOpenDetail:E,parentResource:a,onProgressUpdated:c})}),(0,r.jsx)(d.A,{isOpen:!!N,onClose:()=>j(null),className:"!p-0",panelClassName:"bg-[var(--app-bg)] !w-auto !max-w-[95vw] overflow-hidden rounded-2xl border border-theme-primary/10",children:N&&(0,r.jsx)("div",{className:"max-h-[92vh] overflow-y-auto overflow-x-hidden",children:(0,r.jsx)(M,{resource:N,purchaseOrderId:n})})})]})});function q(e){var t;let{purchaseOrderId:a,location:c,className:d}=e,{data:u,isLoading:m,isFetching:p,error:f,refetch:h}=(0,o.H0)({purchaseOrderId:a});if(m)return(0,r.jsx)("div",{className:"flex h-24 items-center justify-center",children:(0,r.jsx)(i.TbLoader,{className:"h-5 w-5 animate-spin text-fg/60"})});let x=f&&(null==(t=f.data)?void 0:t.message)==="UserDoesNotHaveAccessToProduct";if(f&&!x)return(0,r.jsx)("div",{className:d,role:"alert",children:(0,r.jsx)(n.Z,{type:"error",iconName:"AlertCircle",closable:!1,className:"text-left",children:(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("p",{className:"font-semibold",children:"No pudimos cargar los re
1cursos"}),(0,r.jsx)("p",{className:"opacity-90",children:"Revisa tu conexi\xf3n e int\xe9ntalo de nuevo. Si el problema contin\xfaa, cont\xe1ctanos."}),(0,r.jsx)("button",{type:"button",disabled:p,onClick:()=>{h()},className:"inline-flex items-center gap-2 self-start rounded-md border border-red-500/25 bg-red-500/10 px-3 py-1.5 text-[11px] font-semibold transition-colors hover:bg-red-500/20 disabled:cursor-not-allowed disabled:opacity-70",children:p?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TbLoader,{className:"h-3.5 w-3.5 shrink-0 animate-spin","aria-hidden":!0}),(0,r.jsx)("span",{children:"Reintentando…"})]}):"Reintentar"})]})})});if(!(null==u?void 0:u.resources)||0===u.resources.length)return c?null:(0,r.jsx)("div",{className:(0,l.cn)(d),children:(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4 rounded-xl border border-dashed border-theme-primary/20 bg-theme-primary/[0.03] px-6 py-10 text-center",children:[(0,r.jsx)("div",{className:"bg-theme-primary/8 flex h-12 w-12 items-center justify-center rounded-full text-theme-secondary/55","aria-hidden":!0,children:(0,r.jsx)(i.TbFolderOpen,{className:"h-6 w-6"})}),(0,r.jsxs)("div",{className:"max-w-sm space-y-1.5",children:[(0,r.jsx)("p",{className:"text-sm font-medium text-theme-secondary",children:"A\xfan no hay recursos para esta compra"}),(0,r.jsx)("p",{className:"text-xs leading-relaxed text-theme-secondary/70",children:"Cuando haya archivos, enlaces u otro material asociado a tu pedido, podr\xe1s acceder desde aqu\xed."})]})]})});let g=u.resources.filter(e=>!(0,s.XT)(e.type)||Array.isArray(e.children)&&e.children.length>0);return 0===g.length?null:(0,r.jsxs)("div",{className:(0,l.cn)("space-y-2",d),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i.TbFolderOpen,{className:"h-4 w-4 text-fg/60"}),(0,r.jsx)("h3",{className:"text-[11px] font-semibold uppercase tracking-wider text-fg/60",children:"Contenido de tu compra"})]}),(0,r.jsx)("div",{className:"space-y-2",children:g.map(e=>(0,r.jsx)(z,{resource:e,purchaseOrderId:a,onProgressUpdated:h},e.recordId))})]})}},59200:(e,t,a)=>{"use strict";a.d(t,{DQ:()=>s});var r=a(64709),n=a(74718),l=a(15207);async function o(e){try{var t;let a=await fetch(e);if(!a.ok)throw Error("Error de red");let r=await a.blob(),n=window.URL.createObjectURL(r),l=document.createElement("a");l.href=n,l.download=(null==(t=e.split("/").pop())?void 0:t.split("?")[0])||"descarga",document.body.appendChild(l),l.click(),document.body.removeChild(l),setTimeout(()=>window.URL.revokeObjectURL(n),1e3)}catch(t){try{let t=document.createElement("a");t.href=e,t.target="_blank",t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t)}catch(e){}}}async function s(e,t){let{inApp:a,kind:s}=function(e){let t=("undefined"!=typeof navigator?navigator.userAgent:"").toLowerCase(),a=/\bfb_iab\b|\bfban\b|\bfbav\b/;return a.test(t)?{inApp:!0,kind:"facebook"}:t.includes("instagram")?{inApp:!0,kind:"instagram"}:t.includes("messenger")||a.test(t)?{inApp:!0,kind:"messenger"}:t.includes("telegram")?{inApp:!0,kind:"telegram"}:t.includes("tiktok")||t.includes("bytedancewebview")||t.includes("ttwebview")?{inApp:!0,kind:"tiktok"}:{inApp:!1}}();if(a){if(t===l.UU.ATTACHMENT){let t,a,l="instagram"===s?"Est\xe1s usando el navegador interno de Instagram. Para descargar este archivo, abre el enlace en un navegador externo (Haz clic en la esquina superior derecha (•••) y selecciona “Abrir en navegador externo”).":"Est\xe1s usando un navegador embebido. Para descargar este archivo, abre el enlace en un navegador externo (Safari, Chrome, Firefox, etc.).",o=!1,i=()=>{o=!0,t&&window.clearTimeout(t),a&&window.clearTimeout(a),document.removeEventListener("visibilitychange",d),window.removeEventListener("pagehide",d),window.removeEventListener("blur",d)},c=()=>{if(!o){i();try{(0,n.P)({message:l,type:r._.INFO}),setTimeout(()=>{try{document.querySelector("[data-sileo-viewport]")||alert(l)}catch(e){}},50)}catch(e){try{alert(l)}catch(e){}}}},d=()=>{document.hidden&&i()};document.addEventListener("visibilitychange",d),window.addEventListener("pagehide",d),window.addEventListener("blur",d);try{let r=new URL(e,window.location.href),n=(navigator.userAgent||"").toLowerCase(),l=/iphone|ipad|ipod/.test(n),s=/android/.test(n),i=[];if(l){let e="https:"===r.protocol;i.push("".concat(e?"googlechromes://":"googlechrome://").concat(r.host).concat(r.pathname).concat(r.search).concat(r.hash),"microsoft-edge-".concat(r.href),"firefox://open-url?url=".concat(encodeURIComponent(r.href)),"brave://open-url?url=".concat(encodeURIComponent(r.href)))}else if(s){let e=r.protocol.replace(":","");i.push("intent://".concat(r.host).concat(r.pathname).concat(r.search).concat(r.hash,"#Intent;scheme=").concat(e,";package=com.android.chrome;end"),"intent://".concat(r.host).concat(r.pathname).concat(r.search).concat(r.hash,"#Intent;scheme=").concat(e,";package=com.microsoft.emmx;end"),"intent://".concat(r.host).concat(r.pathname).concat(r.search).concat(r.hash,"#Intent;scheme=").concat(e,";package=org.mozilla.firefox;end"),"intent://".concat(r.host).concat(r.pathname).concat(r.search).concat(r.hash,"#Intent;scheme=").concat(e,";package=com.brave.browser;end"),"intent://".concat(r.host).concat(r.pathname).concat(r.search).concat(r.hash,"#Intent;scheme=").concat(e,";end"))}let d=0,u=()=>{if(!o&&!(d>=i.length)){try{window.location.href=i[d]}catch(e){}d+=1,t=window.setTimeout(u,320)}};t=window.setTimeout(u,0),a=window.setTimeout(()=>{o||document.hidden||c()},1400)}catch(e){c()}return}window.open(e,"_blank","noopener");return}t===l.UU.ATTACHMENT?await o(e):window.open(e,"_blank","noopener")}},60159:(e,t,a)=>{"use strict";a.d(t,{K:()=>r});let r={preference:"dark",dark:{background:{app:"#09090b",surface:"#18181b",surfaceAlt:"#141416",elevated:"#27272a",overlay:"rgba(0, 0, 0, 0.72)",input:"#27272a"},foreground:{primary:"#fafafa",secondary:"#a1a1aa",muted:"#71717a",disabled:"#52525b",onAccent:"#18181b"},border:{default:"#27272a",subtle:"#1f1f23",strong:"#3f3f46"},accent:{primary:"#fafafa",primaryHover:"#ffffff",primaryActive:"#e4e4e7",primaryLight:"rgba(255, 255, 255, 0.18)",primaryForeground:"#18181b"},interactive:{hover:"rgba(255, 255, 255, 0.06)",active:"rgba(255, 255, 255, 0.1)",selected:"rgba(255, 255, 255, 0.16)",focus:"#a1a1aa",focusRing:"rgba(255, 255, 255, 0.24)"},state:{info:"#e4e4e7",infoLight:"rgba(255, 255, 255, 0.1)"},scrollbar:{track:"#141416",thumb:"#3f3f46",thumbHover:"#52525b"}},light:{background:{app:"#f5f7fa",surface:"#ffffff",surfaceAlt:"#f4f4f5",elevated:"#ffffff",overlay:"rgba(0, 0, 0, 0.45)",input:"#f4f4f5"},foreground:{primary:"#18181b",secondary:"#52525b",muted:"#71717a",disabled:"#a1a1aa",onAccent:"#ffffff"},border:{default:"#e4e4e7",subtle:"#f4f4f5",strong:"#d4d4d8"},accent:{primary:"#3f3f46",primaryHover:"#52525b",primaryActive:"#27272a",primaryLight:"rgba(24, 24, 27, 0.08)",primaryForeground:"#ffffff"},interactive:{hover:"rgba(0, 0, 0, 0.04)",active:"rgba(0, 0, 0, 0.08)",selected:"rgba(24, 24, 27, 0.1)",focus:"#7171
17a",focusRing:"rgba(24, 24, 27, 0.2)"},state:{info:"#52525b",infoLight:"rgba(24, 24, 27, 0.08)"},scrollbar:{track:"#e4e4e7",thumb:"#a1a1aa",thumbHover:"#71717a"}}}},66022:e=>{e.exports={formatted:"paragraph_formatted__Iq_b5"}},71175:(e,t,a)=>{"use strict";a.d(t,{_d:()=>o,de:()=>n,uE:()=>l});var r=a(15207);function n(e){return!!e.downloadable&&![r.Q0.LINK,r.Q0.TEXT,r.Q0.VIDEO,r.Q0.AUDIO].includes(e.fileType)}function l(e){if(!e)return null;try{let t=new URL(e).searchParams.get("Expires");if(!t)return null;let a=parseInt(t,10);return Number.isFinite(a)?1e3*a:null}catch(e){return null}}function o(e){return!!e&&Date.now()>e-2e3}},73125:(e,t,a)=>{"use strict";a.d(t,{a:()=>n});var r=a(91490);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.VV.MINUTES,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||isNaN(e)||e<=0)return a?"0min":"0 minutos";if(t===r.VV.MINUTES||t===r.VV.HH){let n=t===r.VV.HH?60*e:e;if(n>0&&n<1){let e=Math.round(60*n);return a?"".concat(e,"s"):"".concat(e," ").concat(1===e?"segundo":"segundos")}if(n<60)return a?"".concat(Math.floor(n),"min"):"".concat(Math.floor(n)," ").concat(1===Math.floor(n)?"minuto":"minutos");let l=Math.floor(n/60),o=Math.floor(n%60);return 0===o?a?"".concat(l,"h"):"".concat(l," ").concat(1===l?"hora":"horas"):a?"".concat(l,"h ").concat(o,"min"):"".concat(l," ").concat(1===l?"hora":"horas"," ").concat(o," ").concat(1===o?"minuto":"minutos")}let n=(e,t,a)=>1===e?"1 ".concat(t):"".concat(e," ").concat(a);return t===r.VV.DD?n(e,"d\xeda","d\xedas"):t===r.VV.MM?n(e,"mes","meses"):t===r.VV.YY?n(e,"a\xf1o","a\xf1os"):a?"".concat(Math.floor(e),"min"):"".concat(Math.floor(e)," ").concat(1===Math.floor(e)?"minuto":"minutos")}},74300:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var r=a(54568),n=a(89989),l=a(7620);let o={code:"es",name:"Espa\xf1ol",translations:{search:{placeholder:"Buscar",caseSensitive:"Distinguir may\xfasculas",wholeWord:"Palabra completa",resultsFound:"{count} resultados encontrados",page:"P\xe1gina {page}"},zoom:{in:"Acercar",out:"Alejar",fitWidth:"Ajustar al ancho",fitPage:"Ajustar a la p\xe1gina",marquee:"Zoom por selecci\xf3n",menu:"Men\xfa de zoom",level:"Nivel de zoom ({level}%)",dragTip:"Arrastra para seleccionar el \xe1rea a ampliar"},pan:{toggle:"Alternar modo de desplazamiento"},pointer:{toggle:"Alternar modo de puntero"},capture:{screenshot:"Captura de pantalla",dragTip:"Arrastra para seleccionar el \xe1rea a capturar",title:"Vista previa de la captura",download:"Descargar",cancel:"Cancelar"},document:{menu:"Men\xfa del documento",open:"Abrir",close:"Cerrar",print:"Imprimir",protect:"Seguridad",export:"Exportar",fullscreen:"Pantalla completa",loading:"Cargando documento..."},emptyState:{title:"No hay documentos abiertos",description:"Abre un documento PDF para comenzar.",descriptionMulti:"Puedes ver varios documentos usando pesta\xf1as.",openButton:"Abrir documento",supportedFormats:"Formato soportado: PDF"},passwordPrompt:{title:"Se requiere contrase\xf1a",required:"Este documento est\xe1 protegido con contrase\xf1a. Ingresa la contrase\xf1a para abrirlo.",incorrect:"La contrase\xf1a ingresada es incorrecta. Int\xe9ntalo de nuevo.",incorrectWarning:"Contrase\xf1a incorrecta. Verif\xedcala e int\xe9ntalo de nuevo.",label:"Contrase\xf1a",placeholder:"Ingresa la contrase\xf1a del documento",open:"Abrir",opening:"Abriendo...",cancel:"Cancelar",close:"Cerrar"},documentError:{title:"Error al cargar el documento",unknown:"Ocurri\xf3 un error desconocido",errorCode:"C\xf3digo de error: {code}",close:"Cerrar documento"},panel:{sidebar:"Barra lateral",search:"Buscar",comment:"Comentario",thumbnails:"Miniaturas",outline:"\xcdndice",annotationStyle:"Estilo de anotaci\xf3n",redaction:"Barra de redacci\xf3n"},menu:{viewControls:"Controles de vista",zoomControls:"Controles de zoom",moreOptions:"M\xe1s opciones"},outline:{title:"\xcdndice",loading:"Cargando \xedndice...",noOutline:"No hay \xedndice disponible",noBookmarks:"Este documento no contiene marcadores"},page:{settings:"Ajustes de p\xe1gina",single:"Una p\xe1gina",twoOdd:"Dos p\xe1ginas (impar)",twoEven:"Dos p\xe1ginas (par)",vertical:"Vertical",horizontal:"Horizontal",spreadMode:"Modo de vista",scrollLayout:"Dise\xf1o de desplazamiento",rotation:"Rotaci\xf3n de p\xe1gina",next:"P\xe1gina siguiente",previous:"P\xe1gina anterior"},rotate:{clockwise:"Girar a la derecha",counterClockwise:"Girar a la izquierda"},selection:{copy:"Copiar selecci\xf3n"},mode:{view:"Ver",annotate:"Anotar",shapes:"Formas",form:"Formulario",redact:"Redactar",insert:"Insertar"},form:{textfield:"Campo de texto",checkbox:"Casilla de verificaci\xf3n",radio:"Bot\xf3n de opci\xf3n",select:"Lista desplegable",listbox:"Lista de selecci\xf3n"},annotation:{text:"Texto",highlight:"Resaltado",strikeout:"Tachado",underline:"Subrayado",squiggly:"Subrayado ondulado",rectangle:"Rect\xe1ngulo",circle:"C\xedrculo",line:"L\xednea",arrow:"Flecha",polygon:"Pol\xedgono",polyline:"Polil\xednea",ink:"Tinta",inkHighlighter:"Resaltador de tinta",stamp:"Sello",caret:"Signo de intercalaci\xf3n",insertText:"Insertar texto",replaceText:"Reemplazar texto",freeText:"Texto libre",square:"Cuadrado",style:"Estilo de anotaci\xf3n",styles:"Estilos de {type}",defaults:"Valores por defecto de {type}",color:"Color",opacity:"Opacidad",blendMode:"Modo de fusi\xf3n",strokeWidth:"Grosor del trazo",strokeColor:"Color del trazo",borderStyle:"Estilo de borde",fillColor:"Color de relleno",fontSize:"Tama\xf1o de fuente",fontFamily:"Fuente",textAlign:"Alineaci\xf3n de texto",verticalAlign:"Alineaci\xf3n vertical",lineEnding:"Final de l\xednea",lineStart:"Inicio de l\xednea",lineEnd:"Final de l\xednea",font:"Fuente",fontColor:"Color de fuente",backgroundColor:"Color de fondo",noStyles:"No hay estilos para esta anotaci\xf3n.",noStylesStamp:"No hay estilos para sellos.",selectAnnotation:"Selecciona una anotaci\xf3n para ver sus estilos",deleteSelected:"Eliminar anotaci\xf3n seleccionad
1a",deleteAllSelected:"Eliminar seleccionadas",multiSelect:"{count} anotaciones seleccionadas",group:"Agrupar",ungroup:"Desagrupar",moreTools:"M\xe1s herramientas",addLink:"Agregar enlace",removeLink:"Quitar enlace",gotoLink:"Ir al enlace",comment:"Comentario",callout:"Llamada",redact:"Redactar",overlayText:"Texto superpuesto",overlayTextPlaceholder:"p. ej., REDACTADO",rotation:"Rotaci\xf3n"},insert:{image:"Imagen",rubberStamp:"Sello de goma"},redaction:{redact:"Redactar",area:"Redactar \xe1rea",text:"Redactar texto",apply:"Aplicar redacci\xf3n",applyAll:"Aplicar todo",clearAll:"Borrar todo",deleteSelected:"Eliminar redacci\xf3n seleccionada",commitSelected:"Aplicar redacci\xf3n seleccionada",emptyState:"No hay redacciones pendientes",panel:{title:"Redacciones",itemCount:"{count} redacci\xf3n pendiente",itemCountPlural:"{count} redacciones pendientes",clearAll:"Borrar todo",redactAll:"Redactar todo"}},history:{undo:"Deshacer",redo:"Rehacer"},comments:{page:"P\xe1gina {page}",commentCount:"{count} comentario",commentCountPlural:"{count} comentarios",addComment:"Agregar comentario...",addReply:"Agregar respuesta...",showAllAnnotations:"Mostrar todas las anotaciones",closeAllAnnotations:"Cerrar todas las anotaciones",save:"Guardar",cancel:"Cancelar",edit:"Editar",delete:"Eliminar",showMore:"m\xe1s",showLess:"menos",emptyState:"Agrega anotaciones para poder comentarlas."},blendMode:{normal:"Normal",multiply:"Multiplicar",screen:"Trama",overlay:"Superposici\xf3n",darken:"Oscurecer",lighten:"Aclarar",colorDodge:"Subexposici\xf3n de color",colorBurn:"Sobreexposici\xf3n de color",hardLight:"Luz fuerte",softLight:"Luz suave",difference:"Diferencia",exclusion:"Exclusi\xf3n",hue:"Tono",saturation:"Saturaci\xf3n",color:"Color",luminosity:"Luminosidad"},print:{title:"Ajustes de impresi\xf3n",loading:"Preparando documento...",pages:"P\xe1ginas a imprimir",all:"Todas las p\xe1ginas",current:"P\xe1gina actual ({currentPage})",specify:"Especificar p\xe1ginas",specifyEG:"p. ej., 1-3, 5, 8-10",total:"Total de p\xe1ginas en el documento: {totalPages}",annotation:"Incluir anotaciones",printing:"Imprimiendo...",print:"Imprimir",cancel:"Cancelar"},protect:{title:"Proteger documento",cancel:"Cancelar",apply:"Aplicar protecci\xf3n",applying:"Aplicando...",applyFailed:"No se pudo aplicar la protecci\xf3n. Int\xe9ntalo de nuevo.",removeFailed:"No se pudo quitar la protecci\xf3n. Int\xe9ntalo de nuevo.",passwordMismatch:"Las contrase\xf1as no coinciden",noProtectionSelected:"Selecciona al menos una opci\xf3n de protecci\xf3n para aplicar.",bothPasswordsNote:"Los usuarios que abran con la contrase\xf1a del documento tendr\xe1n permisos restringidos. Usa la contrase\xf1a de propietario para desbloquear el acceso completo.",openPassword:{title:"Requerir contrase\xf1a para abrir",description:"Los usuarios deben ingresar una contrase\xf1a para ver este documento.",label:"Contrase\xf1a del documento",placeholder:"Ingresa la contrase\xf1a",confirm:"Confirmar contrase\xf1a",confirmPlaceholder:"Confirma la contrase\xf1a"},ownerPassword:{label:"Contrase\xf1a de propietario",placeholder:"Ingresa la contrase\xf1a de propietario",confirm:"Confirmar contrase\xf1a de propietario",confirmPlaceholder:"Confirma la contrase\xf1a de propietario"},permissions:{title:"Restringir permisos",description:"Limita lo que los usuarios pueden hacer con este documento.",allowedActions:"Acciones permitidas",print:"Imprimir",printHighQuality:"Imprimir en alta calidad",copy:"Copiar contenido",accessibility:"Extraer para accesibilidad",modify:"Modificar contenido",annotations:"Agregar/modificar anotaciones y comentarios",fillForms:"Rellenar formularios y firmar",assemble:"Ensamblar y extraer p\xe1ginas"},encrypted:{title:"El documento est\xe1 protegido",description:"Este documento est\xe1 protegido por el propietario. Ingresa la contrase\xf1a de propietario para modificar los ajustes de seguridad.",enterOwnerPassword:"Ingresa la contrase\xf1a de propietario para modificar",unlockAndEdit:"Desbloquear y editar"},modifyProtection:{title:"Modificar protecci\xf3n",description:"Elige c\xf3mo quieres modificar la protecci\xf3n del documento.",changeOption:"Cambiar contrase\xf1as o permisos",changeDescription:"Actualiza la contrase\xf1a o los permisos del documento.",removeOption:"Quitar toda la protecci\xf3n",removeDescription:"Quita la protecci\xf3n por contrase\xf1a de este documento."},removeProtection:{title:"Quitar protecci\xf3n",warning:"\xbfSeguro que quieres quitar la protecci\xf3n?",description:"Esto quitar\xe1 toda la protecci\xf3n por contrase\xf1a del documento. Cualquiera podr\xe1 abrirlo y modificarlo.",confirm:"Quitar protecci\xf3n"}},security:{protected:{title:"Este documento est\xe1 protegido",description:"Este archivo est\xe1 protegido y algunas funciones pueden estar deshabilitadas. Ve a Seguridad en el men\xfa del documento para ver o desbloquear permisos.",viewPermissions:"Ver permisos"},viewPermissions:{title:"Permisos del documento",description:"Este archivo est\xe1 restringido por el propietario y requiere una contrase\xf1a para desbloquear ciertas acciones.",restrictedActions:"Acciones restringidas"},unlock:{label:"Ingresa la contrase\xf1a de propietario para desbloquear el archivo",placeholder:"Ingresa la contrase\xf1a de propietario",button:"Desbloquear archivo",invali
1dPassword:"Contrase\xf1a inv\xe1lida. Int\xe9ntalo de nuevo.",failed:"No se pudo desbloquear. Int\xe9ntalo de nuevo.",success:"\xa1Permisos de propietario desbloqueados! Ahora tienes acceso completo."}},common:{close:"Cerrar",back:"Atr\xe1s",cancel:"Cancelar"},link:{title:"Insertar enlace",url:"URL",page:"P\xe1gina",enterUrl:"Ingresa la URL",enterPage:"Ingresa el n\xfamero de p\xe1gina",pageRange:"P\xe1gina 1 a {totalPages}",link:"Enlace"},stamp:{title:"Sellos de goma",allStamps:"Todos los sellos",export:"Exportar sellos",emptyState:"No se encontraron sellos en la biblioteca seleccionada.",createFromSelected:"Crear sello",createFromGroup:"Crear sello del grupo",library:{custom:"Sellos personalizados"}},signature:{title:"Firmas",createNew:"Crear nueva firma",createNewWithInitials:"Crear firma e iniciales",placeSignature:"Firma",placeInitials:"Iniciales",remove:"Quitar firma",emptyState:"A\xfan no hay firmas. Crea una para comenzar.",create:{title:"Crear firma",draw:"Dibujar",type:"Escribir",upload:"Subir",signatureLabel:"Firma",initialsLabel:"Iniciales",clear:"Borrar",typePlaceholder:"p. ej. Juan P\xe9rez",initialsPlaceholder:"p. ej. JP",uploadPlaceholder:"Haz clic o arrastra una imagen aqu\xed",font:"Fuente",color:"Color",cancel:"Cancelar",save:"Guardar"}}}};var s=a(60159);let i={"Initializing PDF engine...":"Preparando visor...","Initializing plugins...":"Cargando documento..."},c="guaybo-pdf-icon-size",d='\n  [class*="hover:bg-accent"]:hover {\n    background: var(--ep-interactive-hover) !important;\n    color: var(--ep-fg-primary) !important;\n  }\n  [class*="hover:bg-accent"]:hover svg {\n    color: var(--ep-fg-primary) !important;\n  }\n',u=["annotation","form","redaction","document-print","insert","document-open","document-close","document-capture","document-protect","export","document-export"];function m(e){let{url:t,title:a,className:m="",onDownload:p,themeMode:f}=e,h=(()=>{let[e,t]=(0,l.useState)(()=>"undefined"==typeof document||document.documentElement.classList.contains("dark"));return(0,l.useEffect)(()=>{let e=document.documentElement,a=()=>t(e.classList.contains("dark"));a();let r=new MutationObserver(a);return r.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>r.disconnect()},[]),e?"dark":"light"})(),x=null!=f?f:h,g="light"===x?"#f5f7fa":"#09090b",b=(0,l.useRef)(null),v=(0,l.useRef)(x),w=(0,l.useRef)(null);(0,l.useEffect)(()=>()=>{var e;return null==(e=w.current)?void 0:e.disconnect()},[]);let y=(0,l.useCallback)(e=>{b.current=e;let t=e.shadowRoot;if(t){var a;let e=()=>{let e=document.createTreeWalker(t,NodeFilter.SHOW_TEXT);for(let t=e.nextNode();t;t=e.nextNode()){var a,r;let e=i[null!=(r=null==(a=t.nodeValue)?void 0:a.trim())?r:""];e&&(t.nodeValue=e)}};e(),null==(a=w.current)||a.disconnect();let r=new MutationObserver(e);r.observe(t,{childList:!0,subtree:!0,characterData:!0}),w.current=r}if(e.style.setProperty("--radius-md","9999px"),"undefined"!=typeof document&&!document.getElementById(c)){let e=document.createElement("style");e.id=c,e.textContent=d,document.head.appendChild(e)}let r=e.shadowRoot;if(r&&!r.getElementById(c)){let e=document.createElement("style");e.id=c,e.textContent="button svg { width: 16px !important; height: 16px !important; }"+d,r.appendChild(e)}},[]);(0,l.useEffect)(()=>{var e;null==(e=b.current)||e.setTheme({...s.K,preference:x})},[x]);let N=(0,l.useMemo)(()=>({src:t,theme:{...s.K,preference:v.current},disabledCategories:p?u.filter(e=>"export"!==e&&"document-export"!==e):[...u],i18n:{defaultLocale:"es",fallbackLocale:"es",locales:[o]}}),[t,p]);return(0,r.jsx)("div",{role:"region","aria-label":a,className:"relative isolate z-0 flex h-full min-h-0 min-w-0 w-full flex-1 flex-col overflow-hidden rounded-none border-0 ".concat(m),style:{backgroundColor:g},children:(0,r.jsx)("div",{className:"relative min-h-0 w-full min-w-0 flex-1",style:{backgroundColor:g},children:(0,r.jsx)(n.TO,{className:"h-full w-full min-w-0",style:{width:"100%",height:"100%",minWidth:0,display:"block"},config:N,onInit:y})})})}},80092:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(54568),n=a(7620),l=a(59157),o=a(44576);a(39804);let s=e=>{let{src:t,alt:a,title:s}
1=e,[i,c]=(0,n.useState)({width:1200,height:800}),[d,u]=(0,n.useState)(!1);(0,n.useEffect)(()=>{(async()=>{c(await new Promise(e=>{let a=new Image;a.src=t,a.onload=()=>{e({width:a.naturalWidth,height:a.naturalHeight})},a.onerror=()=>{e({width:1200,height:800})}}))})()},[t]);let m=()=>{u(!0)},p=e=>(e.preventDefault(),!1);return n.useEffect(()=>{let e=e=>{let t=e.target;if(t&&"function"==typeof t.closest&&t.closest(".pswp"))return e.preventDefault(),!1},t=e=>{let t=e.target;if(t&&"function"==typeof t.closest&&t.closest(".pswp"))return e.preventDefault(),!1};return document.addEventListener("contextmenu",e),document.addEventListener("selectstart",t),()=>{document.removeEventListener("contextmenu",e),document.removeEventListener("selectstart",t)}},[]),(0,r.jsx)(l.Z2,{children:(0,r.jsx)(l.q7,{original:t,thumbnail:t,width:i.width,height:i.height,children:e=>{let{ref:n,open:l}=e;return(0,r.jsxs)("div",{className:"group relative flex h-full items-center justify-center",onContextMenu:p,style:{userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},children:[(0,r.jsx)("img",{ref:n,src:t,alt:a,className:"h-full w-full object-contain transition-opacity duration-500 ease-in-out ".concat(d?"opacity-100":"opacity-0"),onLoad:m,onContextMenu:p,onDragStart:p,style:{visibility:d?"visible":"hidden",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"}}),!d&&(0,r.jsx)("div",{className:"absolute inset-0 animate-pulse rounded-lg bg-gray-200 dark:bg-gray-800"}),(0,r.jsxs)("div",{onClick:l,className:"absolute inset-0 z-20 hidden cursor-pointer items-center justify-center bg-black/40 text-xl font-medium text-white opacity-0 transition-opacity duration-300 group-hover:opacity-100 md:flex",children:[(0,r.jsx)(o.TbArrowsMaximize,{className:"mr-2 h-8 w-8"}),"Expandir"]}),(0,r.jsx)("div",{onClick:l,className:"absolute inset-0 z-20 flex cursor-pointer items-center justify-center transition-opacity duration-300 md:hidden",children:(0,r.jsx)("div",{className:"absolute bottom-3 right-3 z-20 rounded-full bg-black/70 p-2 text-white shadow-lg backdrop-blur-sm md:hidden",children:(0,r.jsx)(o.TbArrowsMaximize,{className:"h-6 w-6"})})})]})}})})}},86490:(e,t,a)=>{"use strict";a.d(t,{R:()=>s});var r=a(54568),n=a(25703),l=a(15207),o=a(44576);function s(e,t,a){if((0,l.XT)(e))return(0,r.jsx)(o.TbFolder,{className:(0,n.cn)("text-gray-500",a||"h-4 w-4 md:h-5 md:w-5")});switch(t){case l.Q0.VIDEO:return(0,r.jsx)(o.TbVideo,{className:(0,n.cn)("text-blue-500",a||"h-4 w-4 md:h-5 md:w-5")});case l.Q0.IMAGE:return(0,r.jsx)(o.TbPhoto,{className:(0,n.cn)("text-green-500",a||"h-4 w-4 md:h-5 md:w-5")});case l.Q0.AUDIO:return(0,r.jsx)(o.TbMusic,{className:(0,n.cn)("text-purple-500",a||"h-4 w-4 md:h-5 md:w-5")});case l.Q0.LINK:return(0,r.jsx)(o.TbLink,{className:(0,n.cn)("text-gray-500",a||"h-4 w-4 md:h-5 md:w-5")});default:return(0,r.jsx)(o.TbFileText,{className:(0,n.cn)("text-gray-500",a||"h-4 w-4 md:h-5 md:w-5")})}}}}]);

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.