PageSourceSearch

https://avada-blog-app.web.app/assets/RevertOriginBtn-Cl_tY-Lz.js

js avada-blog-app.web.app collected 2026-10-03 12:17:56 UTC 1,346 bytes, 1 lines download raw bytes

1import{U as f,c7 as y,c as x,bG as B,c8 as A,cz as C,j as t,n as r,d as T,F as l}from"./app-DkDOFxbL.js";const n=({articleId:i,i18n:e})=>{const{id:c}=y(),{languageSelected:s,fetchApi:g,setCollapse:d}=x.useContext(B),{posting:a,handlePost:u}=A({url:`/article/revert-origin/${i}?locale=${s.locale}&primary=${s.locale}`,successMsg:e.translate("Blog.revertSuccess"),successCallback:()=>{d(o=>({...o,right:{...o.right,openHistory:!o.right.openHistory}})),g(`/article/${c}?locale=${s.locale}&sections=body_html,title,summary_html,faqsMetafield,meta_title,meta_description,focus_keyword&switchLanguage=true`)},errorMsg:"Couldn't revert origin version. Please try again."}),{modal:h,closeModal:p,openModal:m}=C({buttonTitle:e.translate("Blog.revert"),destructive:!0,loading:a,closeTitle:t.jsx(r,{as:"span",fontWeight:"semibold",children:e.translate("Blog.cancel")}),content:e.translate("Blog.thisRestoresTheFirstVersionOfThisArticleWhenOurAppDoesNotMakeAnyChangesYet"),title:t.jsx(r,{as:"span",fontWeight:"semibold",children:e.translate("Blog.onlyUseThisIfYouAreSure")}),cancelAction:()=>{p()},confirmAction:()=>{u({data:{}})}});return t.jsxs(t.Fragment,{children:[t.jsx(T,{tone:"critical",onClick:()=>m(),loading:a,children:e.translate("Blog.revertOriginVersion")}),h]})};n.propTypes={articleId:l.any,i18n:l.object};const j=f()(n);export{j 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.