import{t as c}from"./icons.888e0741.js";import{d as a,J as u,H as i,a as f,b as p,c as _,e as l,z as m,U as y,q as b}from"./registerWidgets.1f64062d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9c863de7-ff74-4fdf-9011-80f33d26ed46",e._sentryDebugIdIdentifier="sentry-dbid-9c863de7-ff74-4fdf-9011-80f33d26ed46")}catch{}})();const v=a({__name:"PreviewButton",props:{model:null},setup(e){const t=e,o=u(),s=i(),r=()=>{const n=o.query;s.push({path:`/_editor/${t.model.routeName}/${encodeURIComponent(t.model.path)}/preview`,query:n})};return(n,w)=>{const d=f("icon");return p(),_("button",{class:"preview-button",onClick:r},[l(d,{class:"icon",path:m(c),width:"20",height:"20",fill:"#5A677A"},null,8,["path"]),y(" Preview ")])}}});const I=b(v,[["__scopeId","data-v-4b4c109d"]]);export{I as P};
//# sourceMappingURL=PreviewButton.5dd6304f.js.map
