PageSourceSearch

https://pgdermatology.com/_nuxt/CYiRjKH0.js

js pgdermatology.com collected 2026-10-02 20:35:22 UTC 1,327 bytes, 1 lines download raw bytes

1import{d as p,c as _,f as a,e as o,h as n,g as i,r as d,_ as f,l as u,o as x,i as g,n as v,F as h,D as b}from"./C0vyN8mW.js";import{_ as w}from"./DSmeFTsF.js";import{A as y}from"./9rDTwM-0.js";import"./CdW7Q1xv.js";import"./CPbYBiu-.js";import"./XJ0LV66N.js";import"./D3NQN7IN.js";import"./hOaTrGku.js";import"./n58u7Z2b.js";import"./BtV9zqUS.js";import"./D1vpj4hW.js";import"./DztC8OOA.js";import"./DwZPjN32.js";import"./BpPkKxg7.js";import"./BwvizDn5.js";import"./BnYz9YWx.js";import"./mUI7mqHn.js";import"./BEKZ-Yyt.js";const B={class:"mb-3 flex items-center justify-between"},C={class:"flex items-center gap-3"},H=p({__name:"new",setup(N){const r=d(!1);async function m(s){try{if(!r.value)return r.value=!0,await $fetch("/api/roles",{method:"POST",body:s}),v("/admin/roles")}catch(e){r.value=!1;let t="Server Error";e instanceof h&&(t=e.data.message),b.error(`Create role failed: ${t}`)}}return(s,e)=>{const t=f,l=u,c=w;return x(),_("section",null,[a("div",B,[a("div",C,[o(l,{to:"/admin/roles"},{default:n(()=>[o(t,{size:"icon",class:"rounded-md"},{default:n(()=>[o(i(y))]),_:1})]),_:1}),e[0]||(e[0]=a("h1",null," Create Role ",-1))]),o(t,{type:"submit",form:"create-role",loading:i(r)},{default:n(()=>[...e[1]||(e[1]=[g(" Save ",-1)])]),_:1},8,["loading"])]),o(c,{id:"create-role",onSubmit:m})])}}});export{H 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.