PageSourceSearch

https://dashboard.joomlatools.com/dashboard-spa-assets/product-Cetzs9jX.js

js joomlatools.com collected 2026-10-09 21:49:22 UTC 12,251 bytes, 1 lines download raw bytes

vendor: 2,404 bytes, line 1
1import{r as u,L as q,w as je,a as we}from"./chunk-PVWAREVJ-DsWl2CVF.js";import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{A as Ce}from"./alerts-HJlpG0DC.js";import{E as Te}from"./extensionLogo-PP7DMlId.js";import{E as Y}from"./error-Cert85_q.js";import{S as Ie}from"./suspense-D24vVrF0.js";import{n as J,V as Q,E as I,I as h,o as Ne,Q as W,a0 as Fe,as as _e,h as T,j as M}from"./index-C7EgWwA-.js";import{C as E,a as G,b as $,c as O,d as K,e as V}from"./card-BBJaHS75.js";import{c as ye}from"./index-DO-NOhNN.js";import{u as X}from"./index-Cli3Y3q9.js";import{g as Ee,u as Re}from"./spinner-Cor3ZFKm.js";import{g as Se}from"./auth-B6yVWG9n.js";import{u as De}from"./posthog-CYDHObX4.js";import{D as Ae}from"./navigation-zT2qArQU.js";import"./alert-BGUX8sl6.js";import"./index-DXVCvaAw.js";import"./QueryClientProvider-CfecHb3-.js";import"./loader-circle-B2RWLmFv.js";import"./navigationLink-Clw_SrHR.js";import"./pageTitle-ByYcNpig.js";var P="rovingFocusGroup.onEntryFocus",Pe={bubbles:!1,cancelable:!0},N="RovingFocusGroup",[z,Z,ke]=ye(N),[Le,ee]=J(N,[ke]),[Me,Ge]=Le(N),te=u.forwardRef((t,s)=>e.jsx(z.Provider,{scope:t.__scopeRovingFocusGroup,children:e.jsx(z.Slot,{scope:t.__scopeRovingFocusGroup,children:e.jsx($e,{...t,ref:s})})}));te.displayName=N;var $e=u.forwardRef((t,s)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:l=!1,dir:f,currentTabStopId:c,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:v,onEntryFocus:i,preventScrollOnEntryFocus:o=!1,...d}=t,g=u.useRef(null),a=Ne(s,g),F=X(f),[_,m]=W({prop:c,defaultProp:p??null,onChange:v,caller:N}),[j,S]=u.useState(!1),b=Fe(i),w=Z(n),D=u.useRef(!1),[ge,B]=u.useState(0);return u.useEffect(()=>{const x=g.current;if(x)return x.addEventListener(P,b),()=>x.removeEventListener(P,b)},[b]),e.jsx(Me,{scope:n,orientation:r,dir:F,loop:l,currentTabStopId:_,onItemFocus:u.useCallback(x=>m(x),[m]),onItemShiftTab:u.useCallback(()=>S(!0),[]),onFocusableItemAdd:u.useCallback(()=>B(x=>x+1),[]),onFocusableItemRemove:u.useCallback(()=>B(x=>x-1),[]),children:e.jsx(I.div,{tabIndex:j||ge===0?-1:0,"data-orientation":r,...d,ref:a,style:{outline:"none",...t.style},onMouseDown:h(t.onMouseDown,()=>{D.current=!0}),onFocus:h(t.onFocus,x=>{const xe=!D.current;if(x.target===x.currentTarget&&xe&&!j){const H=new CustomEvent(P,Pe);if(x.currentTarget.dispatchEvent(H),!H.defaultPrevented){const A=w().filter(C=>C.focusable),ve=A.find(C=>C.active),be=A.find(C=>
vendor: 4,856 bytes, line 1
1C.id===_),he=[ve,be,...A].filter(Boolean).map(C=>C.ref.current);re(he,o)}}D.current=!1}),onBlur:h(t.onBlur,()=>S(!1))})})}),oe="RovingFocusGroupItem",se=u.forwardRef((t,s)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:l=!1,tabStopId:f,children:c,...p}=t,v=Q(),i=f||v,o=Ge(oe,n),d=o.currentTabStopId===i,g=Z(n),{onFocusableItemAdd:a,onFocusableItemRemove:F,currentTabStopId:_}=o;return u.useEffect(()=>{if(r)return a(),()=>F()},[r,a,F]),e.jsx(z.ItemSlot,{scope:n,id:i,focusable:r,active:l,children:e.jsx(I.span,{tabIndex:d?0:-1,"data-orientation":o.orientation,...p,ref:s,onMouseDown:h(t.onMouseDown,m=>{r?o.onItemFocus(i):m.preventDefault()}),onFocus:h(t.onFocus,()=>o.onItemFocus(i)),onKeyDown:h(t.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){o.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const j=Ve(m,o.orientation,o.dir);if(j!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let b=g().filter(w=>w.focusable).map(w=>w.ref.current);if(j==="last")b.reverse();else if(j==="prev"||j==="next"){j==="prev"&&b.reverse();const w=b.indexOf(m.currentTarget);b=o.loop?ze(b,w+1):b.slice(w+1)}setTimeout(()=>re(b))}}),children:typeof c=="function"?c({isCurrentTabStop:d,hasTabStop:_!=null}):c})})});se.displayName=oe;var Oe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ke(t,s){return s!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Ve(t,s,n){const r=Ke(t.key,n);if(!(s==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(s==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Oe[r]}function re(t,s=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:s}),document.activeElement!==n))return}function ze(t,s){return t.map((n,r)=>t[(s+r)%t.length])}var Ue=te,Be=se,R="Tabs",[He,It]=J(R,[ee]),ne=ee(),[Ye,U]=He(R),ae=u.forwardRef((t,s)=>{const{__scopeTabs:n,value:r,onValueChange:l,defaultValue:f,orientation:c="horizontal",dir:p,activationMode:v="automatic",...i}=t,o=X(p),[d,g]=W({prop:r,onChange:l,defaultProp:f??"",caller:R});return e.jsx(Ye,{scope:n,baseId:Q(),value:d,onValueChange:g,orientation:c,dir:o,activationMode:v,children:e.jsx(I.div,{dir:o,"data-orientation":c,...i,ref:s})})});ae.displayName=R;var ie="TabsList",le=u.forwardRef((t,s)=>{const{__scopeTabs:n,loop:r=!0,...l}=t,f=U(ie,n),c=ne(n);return e.jsx(Ue,{asChild:!0,...c,orientation:f.orientation,dir:f.dir,loop:r,children:e.jsx(I.div,{role:"tablist","aria-orientation":f.orientation,...l,ref:s})})});le.displayName=ie;var ce="TabsTrigger",de=u.forwardRef((t,s)=>{const{__scopeTabs:n,value:r,disabled:l=!1,...f}=t,c=U(ce,n),p=ne(n),v=fe(c.baseId,r),i=pe(c.baseId,r),o=r===c.value;return e.jsx(Be,{asChild:!0,...p,focusable:!l,active:o,children:e.jsx(I.button,{type:"button",role:"tab","aria-selected":o,"aria-controls":i,"data-state":o?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:v,...f,ref:s,onMouseDown:h(t.onMouseDown,d=>{!l&&d.button===0&&d.ctrlKey===!1?c.onValueChange(r):d.preventDefault()}),onKeyDown:h(t.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&c.onValueChange(r)}),onFocus:h(t.onFocus,()=>{const d=c.activationMode!=="manual";!o&&!l&&d&&c.onValueChange(r)})})})});de.displayName=ce;var ue="TabsContent",me=u.forwardRef((t,s)=>{const{__scopeTabs:n,value:r,forceMount:l,children:f,...c}=t,p=U(ue,n),v=fe(p.baseId,r),i=pe(p.baseId,r),o=r===p.value,d=u.useRef(o);return u.useEffect(()=>{const g=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(g)},[]),e.jsx(_e,{present:l||o,children:({present:g})=>e.jsx(I.div,{"data-state":o?"active":"inactive","data-orientation":p.orientation,role:"tabpanel","aria-labelledby":v,hidden:!g,id:i,tabIndex:0,...c,ref:s,style:{...t.style,animationDuration:d.current?"0s":void 0},children:g&&f})})});me.displayName=ue;function fe(t,s){return`${t}-trigger-${s}`}function pe(t,s){return`${t}-content-${s}`}var qe=ae,Je=le,Qe=de,We=me;function Xe({className:t,...s}){return e.jsx(qe,{"data-slot":"tabs",className:T("flex flex-col gap-2",t),...s})}function Ze({className:t,...s}){return e.jsx(Je,{"data-slot":"tabs-list",className:T("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",t),...s})}function k({className:t,...s}){return e.jsx(Qe,{"data-slot":"tabs-trigger",className:T("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focu
1s-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...s})}function L({className:t,...s}){return e.jsx(We,{"data-slot":"tabs-content",className:T("flex-1 outline-none",t),...s})}function et(t){return(t.match(/(<p>.*?<\/p>)?/i)||[])[1]||""}function tt({container:t,section:s,product:n}){const r=t.extras?.map(l=>e.jsxs(E,{className:"flex flex-col m-2",children:[e.jsxs(G,{className:"bg-muted/40 border-b p-2",children:[e.jsx($,{className:"space-x-2",children:l.title}),l.released_on?e.jsxs(O,{children:["Released on ",new Intl.DateTimeFormat("en-gb",{dateStyle:"medium"}).format(new Date(l.released_on))]}):""]}),e.jsx(K,{className:"grow p-2 text-sm flex flex-col",dangerouslySetInnerHTML:{__html:et(l.description)}}),e.jsx(V,{className:"rounded-b-xl rounded-t-none border-t p-2",children:e.jsx(q,{to:`/downloads/${s.slug}/${n.slug}/${t.slug}/${l.slug}`,className:M({variant:"default",size:"sm"}),children:"Download"})})]},l.slug));return e.jsx(e.Fragment,{children:r})}const y={added:"#ffa502",improved:"#6495ed",fixed:"#238a23",removed:"#d1281e",security:"#8e44ad",standard:"var(--color-text)"},Nt=je(function(){const t=De(),{id:s,childId:n}=we(),{data:r,isLoading:l,isError:f}=Ee(),{data:c,isLoading:p,isError:v}=Re();if(l||p)return e.jsx(Ie,{});if(f||v)return e.jsx(Y,{});const i=(()=>{if(r){for(const a of r)if(a.slug===s)return a}return null})(),o=(()=>{if(n&&i){for(const a of i.products)if(a.slug===n)return a}return i?.products[0]})();if(!i||!o)return e.jsx(Y,{});const d=i?.products&&i.products.length>1?i.products.slice(1):[],g=!!c?.subscription?.id;return e.jsxs(e.Fragment,{children:[e.jsx(Ae,{}),e.jsx(Ce,{customer:c,product:o}),o&&i&&e.jsxs(E,{className:"m-2",children:[e.jsxs(G,{className:" bg-muted/40 border-b p-2",children:[e.jsxs($,{className:"space-x-2",children:[e.jsx(Te,{extension:i.slug}),e.jsx("a",{className:"w-[24px]",children:o.title})]}),o.version.released_on?e.jsxs(O,{children:["Released on ",ot(o.version.released_on)]}):""]}),e.jsxs(K,{className:"p-2 text-sm flex flex-col",children:[e.jsx("p",{children:["current","legacy","archive"].includes(o.state)?"Stable release":`${o.state} release`}),e.jsx("p",{children:o.joomla_versions?`For Joomla ${o.joomla_versions}`:""})]}),e.jsx(V,{className:"rounded-b-xl rounded-t-none border-t p-2",children:g&&i.authorized&&e.jsxs("a",{href:Se(o.version.download_link),className:M({variant:"default",size:"sm"}),target:"_blank",onClick:()=>{t?.capture("user_downloaded_extension",{section:i.slug,id:o.id,version:o.version.title})},children:["Download ",o.version.title]})})]}),e.jsxs(Xe,{defaultValue:"changelog",className:"p-2",children:[e.jsxs(Ze,{children:[e.jsx(k,{value:"changelog",children:"Changelog"}),o?.containers&&o.containers.length>0&&o.containers.map(a=>e.jsx(k,{value:a.slug,children:a.title},a.slug)),!n&&d.length>0&&e.jsx(k,{value:"older_versions",children:"Older versions"})]}),e.jsx(L,{value:"changelog",children:e.jsx(E,{children:e.jsx(K,{className:"space-y-2 p-2",children:e.jsxs("ul",{children:[o?.version.changelogs.map(a=>e.jsxs("li",{className:T("flex items-center space-x-2 border-l-4 pl-2"),style:{borderColor:y[a.type]||y.standard},children:[a.type," - ",a.title]},a.title)),["docman","fileman","leadman","logman","textman"].includes(i?.slug)&&e.jsxs("li",{className:T("border-l-4 pl-2"),style:{borderColor:y.standard},children:["history -"," ",e.jsx("a",{className:"underline",href:`https://joomlatools.com/extensions/${i.slug}/changelog`,target:"_blank",children:"Click here"})," ","to see the changelog for all versions."]}),i?.slug==="docman-wordpress"&&e.jsxs("li",{className:T("flex items-center space-x-2 border-l-4 pl-2"),style:{borderColor:y.standard},children:["history -"," ",e.jsx("a",{className:"underline",href:"https://www.joomlatools.com/wordpress/docman/changelog",target:"_blank",children:"Click here"})," ","to see the changelog for all versions."]})]})})})}),o?.containers&&o.containers.length>0&&o.containers.map(a=>e.jsx(L,{value:a.slug,className:"flex flex-col md:flex-row gap-2 px-2",children:e.jsx(tt,{container:a,section:i,product:o})},a.slug)),!n&&d.length>0&&e.jsx(L,{value:"older_versions",className:"flex flex-col md:flex-row gap-2 px-2",children:d.map(a=>e.jsxs(E,{className:"flex flex-col min-w-96",children:[e.jsxs(G,{className:"bg-muted/40 border-b p-2",children:[e.jsx($,{className:"space-x-2",children:a.title}),a.version?e.jsxs(O,{children:["Released ",a.version.title," on"," ",new Intl.DateTimeFormat("en-gb",{dateStyle:"medium"}).format(new Date(a.version.released_on))]}):""]}),e.jsx(V,{className:"rounded-b-xl rounded-t-none p-2",children:e.jsx(q,{to:`/downloads/${i.slug}/${a.slug}`,className:M({variant:"default",size:"sm"}),children:"Download"})})]},a.slug))})]},n)]})});function ot(t){return new Intl.DateTimeFormat("en-gb",{dateStyle:"medium"}).format(new Date(t))}export{Nt 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.