PageSourceSearch

http://chuyendongthethao.com/assets/general-actions-B7IGRZ7m.js

js chuyendongthethao.com collected 2026-10-08 03:00:11 UTC 3,258 bytes, 2 lines download raw bytes

1import{j as s}from"./jsx-runtime-DI7wNVj9.js";import{M as l}from"./markdown-0yZtDpsC.js";import{B as n}from"./Button-C52GdXfD.js";import{u as T}from"./DropdownMenu-ZzypLQhl.js";import{s as o}from"./index-xaMc8kpF.js";import{aL as m}from"./clsx-DSpH6-Ct.js";import{u as p,D as _,a as S,b as N,c as E,d as u,e as I}from"./Dialog-BXhNaeYd.js";import{u as h,z as c}from"./useMutation-Cfe0QBRa.js";import{u as d}from"./useTranslation-0IrcU9Ce.js";import{I as x}from"./IconStar-vsymmaky.js";import"./chunk-UIGDSWPH-Cvdthj3w.js";import"./index-BmS60WiQ.js";import"./createReactComponent-ClF_ax1B.js";import"./useSuspenseQuery-e5Wc0O7a.js";import"./useBaseQuery-BXWEg2QX.js";import"./index-HYDYcs2H.js";import"./index-CHC7d3nN.js";import"./floating-ui.dom-DhEb_iXA.js";import"./Combination-BIxPe9yq.js";import"./Switch-Bl5fxM_1.js";import"./index-DhAMLqx8.js";import"./context-CgECK52e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="03cb2bf0-acd9-4a98-b81d-b30d73326ba7",e._sentryDebugIdIdentifier="sentry-dbid-03cb2bf0-acd9-4a98-b81d-b30d73326ba7")}catch{}})();const A=()=>{const e=p(),{t:r}=d(),t=h({...m(),onSuccess:()=>{c.success(r("SETTINGS_ACTIONS_UPDATE_REPO_SUCCESS")),e.close()},onError:a=>{c.error(r(a.message,a.intlParams))}});return s.jsxs("div",{children:[s.jsx(n,{onClick:()=>e.open(),children:r("SETTINGS_ACTIONS_UPDATE_REPO_MODAL_BUTTON")}),s.jsx(_,{open:e.isOpen,onOpenChange:e.toggle,children:s.jsxs(S,{size:"sm",children:[s.jsx(N,{children:s.jsx(E,{children:r("SETTINGS_ACTIONS_UPDATE_REPO_TITLE")})}),s.jsx(u,{children:s.jsx("span",{className:"text-muted",children:r("SETTINGS_ACTIONS_UPDATE_REPO_MODAL_SUBTITLE")})}),s.jsx(I,{children:s.jsx(n,{intent:"success",loading:t.isPending,onClick:()=>t.mutate({}),children:r("SETTINGS_ACTIONS_UPDATE_REPO_MODAL_BUTTON")})})]})})]})},H=()=>{const{t:e}=d(),{version:r}=T(),t=o.valid(r.current)&&o.valid(r.latest)&&o.gte(r.current,r.latest),a=()=>t?s.jsx(n,{disabled:!0,children:e("SETTINGS_ACTIONS_ALREADY_LATEST")}):s.jsx("div",{children:r.releases?.map(i=>s.jsxs("div",{className:"mt-3 card col-12 col-md-8",children:[s.jsx("div",{className:"card-stamp",children:s.jsx("div",{className:"card-stamp-icon bg-yellow",children:s.jsx(x,{size:80})})}),s.jsx("div",{className:"card-header",children:s.jsxs("h3",{className:"card-title",children:["Version ",i.version]})}),s.jsx("div",{className:"card-body",children:s.jsx(l,{className:"",content:i.body})})]},i.version))});return s.jsxs("div",{className:"card-body",children:[s.jsx("h2",{className:"mb-4",children:e("SETTINGS_ACTIONS_TITLE")}),s.jsx("h3",{className:"card-title mt-4",children:e("SETTINGS_ACTIONS_CURRENT_VERSION",{version:r.current})}),s.jsx("p",{className:"card-subtitle",children:t?e("SETTINGS_ACTIONS_STAY_UP_TO_DATE"):e("SETTINGS_ACTIONS_NEW_VERSION",{version:r.latest})}),a(),s.jsx("h3",{className:"card-title mt-4",children:e("SETTINGS_ACTIONS_UPDATE_REPO_TITLE")}),s.jsx("p",{className:"card-subtitle",children:e("SETTINGS_ACTIONS_UPDATE_REPO_SUBTITLE")}),s.jsx(A,{})]})};export{H as GeneralActionsContainer};
2//# sourceMappingURL=general-actions-B7IGRZ7m.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.