@prefecthq/prefect-ui-library 3.0.10 → 3.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { _ as t, i1 as o, gJ as r, b as i, gK as n, c as l, d as u, e as c, f as m, g as p, h as g, j as d, k, l as S, n as h, o as y, q as F, r as R, s as f, nF as T, nn as P, nm as D, nv as b, nu as W, ns as C, no as w, nR as A, nr as I, np as v, nq as E, nt as B, jp as V, gL as L, i2 as M, B as j, t as H, gM as N, v as Q, w as O, x, y as K, z as G, gi as z, A as _, C as U, gO as q, D as J, E as Y, F as X, G as Z, gP as $, I as aa, J as ea, K as sa, L as ta, M as oa, N as ra, H as ia, O as na, P as la, Q as ua, i7 as ca, R as ma, S as pa, T as ga, U as da, V as ka, W as Sa, X as ha, a4 as ya, a5 as Fa, Y as Ra, Z as fa, $ as Ta, a0 as Pa, a1 as Da, a2 as ba, a3 as Wa, a6 as Ca, a7 as wa, a8 as Aa, a9 as Ia, hv as va, ab as Ea, aa as Ba, gQ as Va, ac as La, gR as Ma, ad as ja, nQ as Ha, nP as Na, ae as Qa, af as Oa, ag as xa, ah as Ka, ai as Ga, gS as za, aj as _a, ak as Ua, al as qa, am as Ja, an as Ya, ao as Xa, ap as Za, aq as $a, ar as ae, as as ee, at as se, aE as te, au as oe, av as re, aB as ie, gT as ne, aw as le, ay as ue, aA as ce, az as me, ax as pe, gj as ge, aH as de, aI as ke, em as Se, aJ as he, aK as ye, aC as Fe, aD as Re, aF as fe, aG as Te, aL as Pe, aM as De, en as be, gX as We, ey as Ce, eq as we, et as Ae, ex as Ie, er as ve, jW as Ee, aN as Be, aO as Ve, gY as Le, gZ as Me, g_ as je, h0 as He, aP as Ne, aQ as Qe, aR as Oe, aS as xe, aT as Ke, aU as Ge, aV as ze, aW as _e, h1 as Ue, aX as qe, aY as Je, aZ as Ye, a_ as Xe, el as Ze, a$ as $e, b0 as as, b1 as es, b2 as ss, b3 as ts, b4 as os, b5 as rs, b6 as is, b8 as ns, b7 as ls, b9 as us, ba as cs, bb as ms, bc as ps, bd as gs, be as ds, bf as ks, bg as Ss, bh as hs, bi as ys, bj as Fs, bk as Rs, bl as fs, bm as Ts, bn as Ps, gk as Ds, bu as bs, bv as Ws, bw as Cs, bx as ws, by as As, bz as Is, bA as vs, bB as Es, bo as Bs, bp as Vs, bq as Ls, br as Ms, bs as js, bt as Hs, gl as Ns, bC as Qs, bD as Os, bE as xs, bF as Ks, bG as Gs, fn as zs, h2 as _s, i8 as Us, bH as qs, h3 as Js, bI as Ys, h4 as Xs, go as Zs, bJ as $s, bK as at, bL as et, h6 as st, bM as tt, bN as ot, bP as rt, bO as it, bQ as nt, bR as lt, id as ut, hz as ct, hA as mt, i9 as pt, bS as gt, bT as dt, bU as kt, ia as St, bV as ht, h7 as yt, h9 as Ft, bW as Rt, bX as ft, bY as Tt, b$ as Pt, c0 as Dt, bZ as bt, b_ as Wt, gm as Ct, c1 as wt, c2 as At, c3 as It, c4 as vt, c5 as Et, c6 as Bt, c7 as Vt, c8 as Lt, c9 as Mt, ca as jt, cb as Ht, cc as Nt, cd as Qt, ce as Ot, cf as xt, cg as Kt, ch as Gt, ci as zt, cj as _t, ck as Ut, cl as qt, cm as Jt, cn as Yt, co as Xt, cp as Zt, cq as $t, cr as ao, cs as eo, ct as so, cu as to, cv as oo, cw as ro, cx as io, cy as no, cz as lo, cA as uo, cB as co, cC as mo, cD as po, cE as go, cF as ko, cG as So, hw as ho, cH as yo, cI as Fo, cJ as Ro, ha as fo, eu as To, cK as Po, ic as Do, hb as bo, cL as Wo, cP as Co, cM as wo, cN as Ao, cO as Io, hc as vo, cQ as Eo, cR as Bo, hh as Vo, cS as Lo, cT as Mo, cU as jo, cV as Ho, cW as No, cX as Qo, cY as Oo, cZ as xo, nd as Ko, c_ as Go, ne as zo, c$ as _o, io as Uo, ie as qo, ig as Jo, ih as Yo, d0 as Xo, ii as Zo, ij as $o, ik as ar, il as er, im as sr, jn as tr, jo as or, d1 as rr, d2 as ir, d3 as nr, iN as lr, d4 as ur, hj as cr, d5 as mr, d6 as pr, d7 as gr, d8 as dr, d9 as kr, iO as Sr, iP as hr, da as yr, hy as Fr, db as Rr, dc as fr, dd as Tr, de as Pr, df as Dr, dg as br, gn as Wr, hx as Cr, dh as wr, di as Ar, dj as Ir, dk as vr, dl as Er, iT as Br, dm as Vr, dn as Lr, hB as Mr, dp as jr, dq as Hr, dr as Nr, dv as Qr, ds as Or, dt as xr, du as Kr, dw as Gr, hC as zr, dA as _r, dB as Ur, dC as qr, dD as Jr, dE as Yr, dF as Xr, dG as Zr, dH as $r, dI as ai, dJ as ei, dK as si, dL as ti, dM as oi, hD as ri, dN as ii, dO as ni, dP as li, dQ as ui, dR as ci, dS as mi, dT as pi, dW as gi, dX as di, hE as ki, dY as Si, dZ as hi, dU as yi, dV as Fi, e0 as Ri, e1 as fi, eo as Ti, e2 as Pi, e3 as Di, hJ as bi, d_ as Wi, d$ as Ci, hL as wi, e4 as Ai, e5 as Ii, e6 as vi, e7 as Ei, hM as Bi, e8 as Vi, e9 as Li, ea as Mi, eb as ji, ec as Hi, hN as Ni, eg as Qi, eh as Oi, ep as xi, hO as Ki, ei as Gi, ed as zi, ee as _i, ef as Ui, dz as qi, dx as Ji, dy as Yi, iV as Xi, iW as Zi, iX as $i, iY as an, iZ as en, i_ as sn, i$ as tn, j0 as on, j1 as rn, ej as nn, j2 as ln, hS as un, ew as cn, ev as mn, hU as pn, hV as gn, ez as dn, es as kn, j3 as Sn, j4 as hn, j5 as yn, j6 as Fn, j7 as Rn, j8 as fn, ek as Tn, j9 as Pn, ja as Dn, jc as bn, jb as Wn, jd as Cn, mT as wn, k7 as An, kq as In, mY as vn, jv as En, js as Bn, gI as Vn, gH as Ln, k4 as Mn, kc as jn, mF as Hn, nD as Nn, nB as Qn, nN as On, nL as xn, nI as Kn, mq as Gn, mC as zn, mi as _n, i6 as Un, ml as qn, lv as Jn, k0 as Yn, kn as Xn, lX as Zn, lE as $n, ly as al, jl as el, ff as sl, kv as tl, lw as ol, jY as rl, i5 as il, gW as nl, mO as ll, hZ as ul, hX as cl, m2 as ml, kw as pl, mL as gl, kB as dl, ky as kl, kC as Sl, kD as hl, k$ as yl, l0 as Fl, jt as Rl, jQ as fl, jF as Tl, jJ as Pl, jB as Dl, jO as bl, jM as Wl, jx as Cl, lh as wl, jH as Al, jE as Il, gU as vl, nS as El, mu as Bl, m1 as Vl, mS as Ll, lZ as Ml, lC as jl, lu as Hl, jI as Nl, iQ as Ql, jD as Ol, jA as xl, mt as Kl, kI as Gl, mI as zl, kS as _l, kM as Ul, kU as ql, kY as Jl, kW as Yl, kZ as Xl, kK as Zl, kO as $l, kQ as au, lj as eu, i0 as su, nM as tu, nK as ou, kk as ru, ko as iu, nl as nu, nj as lu, nk as uu, nh as cu, ni as mu, h_ as pu, h$ as gu, lU as du, e$ as ku, hi as Su, iw as hu, lQ as yu, lR as Fu, iC as Ru, iE as fu, iF as Tu, ix as Pu, iD as Du, iB as bu, iA as Wu, iz as Cu, iy as wu, iK as Au, iL as Iu, iI as vu, iJ as Eu, iH as Bu, iM as Vu, lO as Lu, lP as Mu, lS as ju, ma as Hu, kg as Nu, lF as Qu, lK as Ou, kE as xu, lk as Ku, ll as Gu, lm as zu, ln as _u, lo as Uu, kf as qu, mw as Ju, m6 as Yu, n3 as Xu, n4 as Zu, li as $u, j_ as ac, ji as ec, ju as sc, je as tc, nA as oc, nx as rc, nC as ic, nH as nc, nG as lc, nO as uc, nE as cc, nJ as mc, n1 as pc, n2 as gc, gN as dc, gr as kc, jR as Sc, gs as hc, kj as yc, kl as Fc, iU as Rc, kp as fc, gE as Tc, ny as Pc, nz as Dc, hf as bc, gz as Wc, gC as Cc, kF as wc, jm as Ac, gw as Ic, gv as vc, gu as Ec, gx as Bc, gt as Vc, nc as Lc, jG as Mc, gV as jc, nT as Hc, nU as Nc, mX as Qc, k9 as Oc, a as xc, mn as Kc, jX as Gc, jK as zc, nV as _c, jC as Uc, i as qc, m$ as Jc, n0 as Yc, n6 as Xc, hg as Zc, gA as $c, gD as am, kG as em, n5 as sm, jf as tm, mZ as om, m_ as rm, jP as im, jj as nm, jh as lm, k3 as um, nb as cm, na as mm, n9 as pm, lA as gm, kb as dm, km, g$ as Sm, gF as hm, ht as ym, ho as Fm, hR as Rm, he as fm, gy as Tm, gB as Pm, lL as Dm, mU as bm, mW as Wm, jg as Cm, jV as wm, hu as Am, k5 as Im, lY as vm, hd as Em, jq as Bm, hm as Vm, hI as Lm, n7 as Mm, hl as jm, mk as Hm, ka as Nm, hs as Qm, jk as Om, jN as xm, gG as Km, hq as Gm, lJ as zm, mo as _m, mV as Um, lr as qm, lq as Jm, jy as Ym, mQ as Xm, hG as Zm, nX as $m, nY as ap, n_ as ep, n$ as sp, hT as tp, mh as op, k6 as rp, gp as ip, h5 as np, ls as lp, lI as up, lG as cp, m9 as mp, mb as pp, lH as gp, m as dp, hW as kp, l1 as Sp, lM as hp, l3 as yp, l2 as Fp, l4 as Rp, l5 as fp, l6 as Tp, ib as Pp, gq as Dp, l7 as bp, l8 as Wp, l$ as Cp, h8 as wp, mJ as Ap, lD as Ip, l_ as vp, m0 as Ep, kJ as Bp, kT as Vp, kN as Lp, kV as Mp, kX as jp, k_ as Hp, kL as Np, kP as Qp, kR as Op, lT as xp, hn as Kp, p as Gp, me as zp, hP as _p, hQ as Up, jT as qp, jS as Jp, jU as Yp, l9 as Xp, lt as Zp, k1 as $p, lN as ag, mp as eg, kd as sg, iG as tg, ir as og, is as rg, n8 as ig, iq as ng, jr as lg, it as ug, iv as cg, ip as mg, nf as pg, iu as gg, mK as dg, lc as kg, la as Sg, lb as hg, lf as yg, lg as Fg, ld as Rg, le as fg, m8 as Tg, my as Pg, mx as Dg, m7 as bg, mz as Wg, kh as Cg, hH as wg, mM as Ag, k8 as Ig, mg as vg, ke as Eg, kH as Bg, hk as Vg, lp as Lg, mc as Mg, hr as jg, fA as Hg, m4 as Ng, m5 as Qg, jL as Og, hp as xg, kx as Kg, kz as Gg, kA as zg, mv as _g, mB as Ug, mj as qg, mH as Jg, j$ as Yg, lB as Xg, mf as Zg, ki as $g, mG as ad, lx as ed, k2 as sd, m3 as td, mN as od, mm as rd, mP as id, f6 as nd, f7 as ld, f8 as ud, eK as cd, f9 as md, eP as pd, eQ as gd, fa as dd, eJ as kd, fb as Sd, eN as hd, eO as yd, fc as Fd, fd as Rd, eI as fd, eL as Td, eM as Pd, fe as Dd, kr as bd, fg as Wd, nw as Cd, fh as wd, fi as Ad, fj as Id, eF as vd, fk as Ed, fl as Bd, eW as Vd, f1 as Ld, ge as Md, fm as jd, fo as Hd, fp as Nd, eC as Qd, fq as Od, fr as xd, fs as Kd, eD as Gd, iR as zd, ft as _d, fu as Ud, fv as qd, eU as Jd, e_ as Yd, f4 as Xd, f5 as Zd, fw as $d, fx as ak, eT as ek, eZ as sk, fy as tk, fB as ok, fC as rk, fD as ik, fE as nk, fF as lk, fz as uk, fG as ck, fH as mk, fI as pk, fK as gk, fJ as dk, fL as kk, fM as Sk, fN as hk, f2 as yk, f3 as Fk, ng as Rk, fO as fk, fP as Tk, eB as Pk, fQ as Dk, iS as bk, fR as Wk, fS as Ck, eA as wk, fT as Ak, fU as Ik, eE as vk, fV as Ek, fW as Bk, fX as Vk, eV as Lk, f0 as Mk, fY as jk, fZ as Hk, gh as Nk, f_ as Qk, eX as Ok, f$ as xk, eY as Kk, g0 as Gk, g1 as zk, eG as _k, g2 as Uk, g4 as qk, eH as Jk, g3 as Yk, eR as Xk, eS as Zk, g5 as $k, g6 as aS, g7 as eS, ga as sS, gc as tS, gd as oS, gf as rS, gg as iS, gb as nS, g8 as lS, g9 as uS, mD as cS, mE as mS, mA as pS, jz as gS, jw as dS, md as kS, lz as SS, mR as hS, ks as yS, kt as FS, ku as RS, lV as fS, lW as TS, hF as PS, nW as DS, hK as bS, nZ as WS, mr as CS, ms as wS, jZ as AS, i3 as IS, i4 as vS, hY as ES } from "./index-B_f5JJaC.mjs";
1
+ import { _ as t, i1 as o, gJ as r, b as i, gK as n, c as l, d as u, e as c, f as m, g as p, h as g, j as d, k, l as S, n as h, o as y, q as F, r as R, s as f, nF as T, nn as P, nm as D, nv as b, nu as W, ns as C, no as w, nR as A, nr as I, np as v, nq as E, nt as B, jp as V, gL as L, i2 as M, B as j, t as H, gM as N, v as Q, w as O, x, y as K, z as G, gi as z, A as _, C as U, gO as q, D as J, E as Y, F as X, G as Z, gP as $, I as aa, J as ea, K as sa, L as ta, M as oa, N as ra, H as ia, O as na, P as la, Q as ua, i7 as ca, R as ma, S as pa, T as ga, U as da, V as ka, W as Sa, X as ha, a4 as ya, a5 as Fa, Y as Ra, Z as fa, $ as Ta, a0 as Pa, a1 as Da, a2 as ba, a3 as Wa, a6 as Ca, a7 as wa, a8 as Aa, a9 as Ia, hv as va, ab as Ea, aa as Ba, gQ as Va, ac as La, gR as Ma, ad as ja, nQ as Ha, nP as Na, ae as Qa, af as Oa, ag as xa, ah as Ka, ai as Ga, gS as za, aj as _a, ak as Ua, al as qa, am as Ja, an as Ya, ao as Xa, ap as Za, aq as $a, ar as ae, as as ee, at as se, aE as te, au as oe, av as re, aB as ie, gT as ne, aw as le, ay as ue, aA as ce, az as me, ax as pe, gj as ge, aH as de, aI as ke, em as Se, aJ as he, aK as ye, aC as Fe, aD as Re, aF as fe, aG as Te, aL as Pe, aM as De, en as be, gX as We, ey as Ce, eq as we, et as Ae, ex as Ie, er as ve, jW as Ee, aN as Be, aO as Ve, gY as Le, gZ as Me, g_ as je, h0 as He, aP as Ne, aQ as Qe, aR as Oe, aS as xe, aT as Ke, aU as Ge, aV as ze, aW as _e, h1 as Ue, aX as qe, aY as Je, aZ as Ye, a_ as Xe, el as Ze, a$ as $e, b0 as as, b1 as es, b2 as ss, b3 as ts, b4 as os, b5 as rs, b6 as is, b8 as ns, b7 as ls, b9 as us, ba as cs, bb as ms, bc as ps, bd as gs, be as ds, bf as ks, bg as Ss, bh as hs, bi as ys, bj as Fs, bk as Rs, bl as fs, bm as Ts, bn as Ps, gk as Ds, bu as bs, bv as Ws, bw as Cs, bx as ws, by as As, bz as Is, bA as vs, bB as Es, bo as Bs, bp as Vs, bq as Ls, br as Ms, bs as js, bt as Hs, gl as Ns, bC as Qs, bD as Os, bE as xs, bF as Ks, bG as Gs, fn as zs, h2 as _s, i8 as Us, bH as qs, h3 as Js, bI as Ys, h4 as Xs, go as Zs, bJ as $s, bK as at, bL as et, h6 as st, bM as tt, bN as ot, bP as rt, bO as it, bQ as nt, bR as lt, id as ut, hz as ct, hA as mt, i9 as pt, bS as gt, bT as dt, bU as kt, ia as St, bV as ht, h7 as yt, h9 as Ft, bW as Rt, bX as ft, bY as Tt, b$ as Pt, c0 as Dt, bZ as bt, b_ as Wt, gm as Ct, c1 as wt, c2 as At, c3 as It, c4 as vt, c5 as Et, c6 as Bt, c7 as Vt, c8 as Lt, c9 as Mt, ca as jt, cb as Ht, cc as Nt, cd as Qt, ce as Ot, cf as xt, cg as Kt, ch as Gt, ci as zt, cj as _t, ck as Ut, cl as qt, cm as Jt, cn as Yt, co as Xt, cp as Zt, cq as $t, cr as ao, cs as eo, ct as so, cu as to, cv as oo, cw as ro, cx as io, cy as no, cz as lo, cA as uo, cB as co, cC as mo, cD as po, cE as go, cF as ko, cG as So, hw as ho, cH as yo, cI as Fo, cJ as Ro, ha as fo, eu as To, cK as Po, ic as Do, hb as bo, cL as Wo, cP as Co, cM as wo, cN as Ao, cO as Io, hc as vo, cQ as Eo, cR as Bo, hh as Vo, cS as Lo, cT as Mo, cU as jo, cV as Ho, cW as No, cX as Qo, cY as Oo, cZ as xo, nd as Ko, c_ as Go, ne as zo, c$ as _o, io as Uo, ie as qo, ig as Jo, ih as Yo, d0 as Xo, ii as Zo, ij as $o, ik as ar, il as er, im as sr, jn as tr, jo as or, d1 as rr, d2 as ir, d3 as nr, iN as lr, d4 as ur, hj as cr, d5 as mr, d6 as pr, d7 as gr, d8 as dr, d9 as kr, iO as Sr, iP as hr, da as yr, hy as Fr, db as Rr, dc as fr, dd as Tr, de as Pr, df as Dr, dg as br, gn as Wr, hx as Cr, dh as wr, di as Ar, dj as Ir, dk as vr, dl as Er, iT as Br, dm as Vr, dn as Lr, hB as Mr, dp as jr, dq as Hr, dr as Nr, dv as Qr, ds as Or, dt as xr, du as Kr, dw as Gr, hC as zr, dA as _r, dB as Ur, dC as qr, dD as Jr, dE as Yr, dF as Xr, dG as Zr, dH as $r, dI as ai, dJ as ei, dK as si, dL as ti, dM as oi, hD as ri, dN as ii, dO as ni, dP as li, dQ as ui, dR as ci, dS as mi, dT as pi, dW as gi, dX as di, hE as ki, dY as Si, dZ as hi, dU as yi, dV as Fi, e0 as Ri, e1 as fi, eo as Ti, e2 as Pi, e3 as Di, hJ as bi, d_ as Wi, d$ as Ci, hL as wi, e4 as Ai, e5 as Ii, e6 as vi, e7 as Ei, hM as Bi, e8 as Vi, e9 as Li, ea as Mi, eb as ji, ec as Hi, hN as Ni, eg as Qi, eh as Oi, ep as xi, hO as Ki, ei as Gi, ed as zi, ee as _i, ef as Ui, dz as qi, dx as Ji, dy as Yi, iV as Xi, iW as Zi, iX as $i, iY as an, iZ as en, i_ as sn, i$ as tn, j0 as on, j1 as rn, ej as nn, j2 as ln, hS as un, ew as cn, ev as mn, hU as pn, hV as gn, ez as dn, es as kn, j3 as Sn, j4 as hn, j5 as yn, j6 as Fn, j7 as Rn, j8 as fn, ek as Tn, j9 as Pn, ja as Dn, jc as bn, jb as Wn, jd as Cn, mT as wn, k7 as An, kq as In, mY as vn, jv as En, js as Bn, gI as Vn, gH as Ln, k4 as Mn, kc as jn, mF as Hn, nD as Nn, nB as Qn, nN as On, nL as xn, nI as Kn, mq as Gn, mC as zn, mi as _n, i6 as Un, ml as qn, lv as Jn, k0 as Yn, kn as Xn, lX as Zn, lE as $n, ly as al, jl as el, ff as sl, kv as tl, lw as ol, jY as rl, i5 as il, gW as nl, mO as ll, hZ as ul, hX as cl, m2 as ml, kw as pl, mL as gl, kB as dl, ky as kl, kC as Sl, kD as hl, k$ as yl, l0 as Fl, jt as Rl, jQ as fl, jF as Tl, jJ as Pl, jB as Dl, jO as bl, jM as Wl, jx as Cl, lh as wl, jH as Al, jE as Il, gU as vl, nS as El, mu as Bl, m1 as Vl, mS as Ll, lZ as Ml, lC as jl, lu as Hl, jI as Nl, iQ as Ql, jD as Ol, jA as xl, mt as Kl, kI as Gl, mI as zl, kS as _l, kM as Ul, kU as ql, kY as Jl, kW as Yl, kZ as Xl, kK as Zl, kO as $l, kQ as au, lj as eu, i0 as su, nM as tu, nK as ou, kk as ru, ko as iu, nl as nu, nj as lu, nk as uu, nh as cu, ni as mu, h_ as pu, h$ as gu, lU as du, e$ as ku, hi as Su, iw as hu, lQ as yu, lR as Fu, iC as Ru, iE as fu, iF as Tu, ix as Pu, iD as Du, iB as bu, iA as Wu, iz as Cu, iy as wu, iK as Au, iL as Iu, iI as vu, iJ as Eu, iH as Bu, iM as Vu, lO as Lu, lP as Mu, lS as ju, ma as Hu, kg as Nu, lF as Qu, lK as Ou, kE as xu, lk as Ku, ll as Gu, lm as zu, ln as _u, lo as Uu, kf as qu, mw as Ju, m6 as Yu, n3 as Xu, n4 as Zu, li as $u, j_ as ac, ji as ec, ju as sc, je as tc, nA as oc, nx as rc, nC as ic, nH as nc, nG as lc, nO as uc, nE as cc, nJ as mc, n1 as pc, n2 as gc, gN as dc, gr as kc, jR as Sc, gs as hc, kj as yc, kl as Fc, iU as Rc, kp as fc, gE as Tc, ny as Pc, nz as Dc, hf as bc, gz as Wc, gC as Cc, kF as wc, jm as Ac, gw as Ic, gv as vc, gu as Ec, gx as Bc, gt as Vc, nc as Lc, jG as Mc, gV as jc, nT as Hc, nU as Nc, mX as Qc, k9 as Oc, a as xc, mn as Kc, jX as Gc, jK as zc, nV as _c, jC as Uc, i as qc, m$ as Jc, n0 as Yc, n6 as Xc, hg as Zc, gA as $c, gD as am, kG as em, n5 as sm, jf as tm, mZ as om, m_ as rm, jP as im, jj as nm, jh as lm, k3 as um, nb as cm, na as mm, n9 as pm, lA as gm, kb as dm, km, g$ as Sm, gF as hm, ht as ym, ho as Fm, hR as Rm, he as fm, gy as Tm, gB as Pm, lL as Dm, mU as bm, mW as Wm, jg as Cm, jV as wm, hu as Am, k5 as Im, lY as vm, hd as Em, jq as Bm, hm as Vm, hI as Lm, n7 as Mm, hl as jm, mk as Hm, ka as Nm, hs as Qm, jk as Om, jN as xm, gG as Km, hq as Gm, lJ as zm, mo as _m, mV as Um, lr as qm, lq as Jm, jy as Ym, mQ as Xm, hG as Zm, nX as $m, nY as ap, n_ as ep, n$ as sp, hT as tp, mh as op, k6 as rp, gp as ip, h5 as np, ls as lp, lI as up, lG as cp, m9 as mp, mb as pp, lH as gp, m as dp, hW as kp, l1 as Sp, lM as hp, l3 as yp, l2 as Fp, l4 as Rp, l5 as fp, l6 as Tp, ib as Pp, gq as Dp, l7 as bp, l8 as Wp, l$ as Cp, h8 as wp, mJ as Ap, lD as Ip, l_ as vp, m0 as Ep, kJ as Bp, kT as Vp, kN as Lp, kV as Mp, kX as jp, k_ as Hp, kL as Np, kP as Qp, kR as Op, lT as xp, hn as Kp, p as Gp, me as zp, hP as _p, hQ as Up, jT as qp, jS as Jp, jU as Yp, l9 as Xp, lt as Zp, k1 as $p, lN as ag, mp as eg, kd as sg, iG as tg, ir as og, is as rg, n8 as ig, iq as ng, jr as lg, it as ug, iv as cg, ip as mg, nf as pg, iu as gg, mK as dg, lc as kg, la as Sg, lb as hg, lf as yg, lg as Fg, ld as Rg, le as fg, m8 as Tg, my as Pg, mx as Dg, m7 as bg, mz as Wg, kh as Cg, hH as wg, mM as Ag, k8 as Ig, mg as vg, ke as Eg, kH as Bg, hk as Vg, lp as Lg, mc as Mg, hr as jg, fA as Hg, m4 as Ng, m5 as Qg, jL as Og, hp as xg, kx as Kg, kz as Gg, kA as zg, mv as _g, mB as Ug, mj as qg, mH as Jg, j$ as Yg, lB as Xg, mf as Zg, ki as $g, mG as ad, lx as ed, k2 as sd, m3 as td, mN as od, mm as rd, mP as id, f6 as nd, f7 as ld, f8 as ud, eK as cd, f9 as md, eP as pd, eQ as gd, fa as dd, eJ as kd, fb as Sd, eN as hd, eO as yd, fc as Fd, fd as Rd, eI as fd, eL as Td, eM as Pd, fe as Dd, kr as bd, fg as Wd, nw as Cd, fh as wd, fi as Ad, fj as Id, eF as vd, fk as Ed, fl as Bd, eW as Vd, f1 as Ld, ge as Md, fm as jd, fo as Hd, fp as Nd, eC as Qd, fq as Od, fr as xd, fs as Kd, eD as Gd, iR as zd, ft as _d, fu as Ud, fv as qd, eU as Jd, e_ as Yd, f4 as Xd, f5 as Zd, fw as $d, fx as ak, eT as ek, eZ as sk, fy as tk, fB as ok, fC as rk, fD as ik, fE as nk, fF as lk, fz as uk, fG as ck, fH as mk, fI as pk, fK as gk, fJ as dk, fL as kk, fM as Sk, fN as hk, f2 as yk, f3 as Fk, ng as Rk, fO as fk, fP as Tk, eB as Pk, fQ as Dk, iS as bk, fR as Wk, fS as Ck, eA as wk, fT as Ak, fU as Ik, eE as vk, fV as Ek, fW as Bk, fX as Vk, eV as Lk, f0 as Mk, fY as jk, fZ as Hk, gh as Nk, f_ as Qk, eX as Ok, f$ as xk, eY as Kk, g0 as Gk, g1 as zk, eG as _k, g2 as Uk, g4 as qk, eH as Jk, g3 as Yk, eR as Xk, eS as Zk, g5 as $k, g6 as aS, g7 as eS, ga as sS, gc as tS, gd as oS, gf as rS, gg as iS, gb as nS, g8 as lS, g9 as uS, mD as cS, mE as mS, mA as pS, jz as gS, jw as dS, md as kS, lz as SS, mR as hS, ks as yS, kt as FS, ku as RS, lV as fS, lW as TS, hF as PS, nW as DS, hK as bS, nZ as WS, mr as CS, ms as wS, jZ as AS, i3 as IS, i4 as vS, hY as ES } from "./index-ohfdy0jM.mjs";
2
2
  import "@prefecthq/prefect-design";
3
3
  export {
4
4
  t as ActivityChart,
@@ -1254,5 +1254,5 @@ Related Resources:
1254
1254
  {{ label }}: {{ value }}
1255
1255
  {% endfor %}
1256
1256
  {% endfor %}
1257
- `.trim();function vX(t){switch(t){case"deployment-status":return kSe;case"flow-run-state":return SSe;case"work-pool-status":return TSe;case"work-queue-status":return xSe;case"custom":return CSe;default:const e=t;throw new Error(`Default notification body missing for template type: ${e}`)}}function WX(t){switch(t){case"deployment-status":return"Prefect deployment '{{ flow.name }}/{{ deployment.name }}' has entered status '{{ deployment.status }}'";case"flow-run-state":return"Prefect flow run notification";case"work-pool-status":return"Prefect work pool '{{ work_pool.name }}' has entered status '{{ work_pool.status }}'";case"work-queue-status":return"Prefect work queue '{{ work_queue.name }}' has entered status '{{ work_queue.status }}'";case"custom":return"A Prefect automation '{{ automation.name }}' was triggered";default:const e=t;throw new Error(`Default notification subject missing for template type: ${e}`)}}function RSe(t){return PSe[t]}const PSe={"deployment-status":ee.map("DeploymentStatusTrigger",{deployments:[],posture:"Reactive",status:"not_ready",time:30},"AutomationTrigger"),"flow-run-state":ee.map("FlowRunStateTrigger",{posture:"Reactive",flowIds:[],tags:[],states:[],time:30},"AutomationTrigger"),"work-pool-status":ee.map("WorkPoolStatusTrigger",{workPools:[],posture:"Reactive",status:"not_ready",time:30},"AutomationTrigger"),"work-queue-status":ee.map("WorkQueueStatusTrigger",{workPools:[],workQueues:[],status:"not_ready",posture:"Reactive",time:30},"AutomationTrigger"),custom:new $o({posture:"Reactive",match:{"prefect.resource.id":["prefect.flow-run.*"]},forEach:["prefect.resource.id"],expect:["prefect.flow-run.Failed"],threshold:5,within:60})},ESe=n.defineComponent({__name:"AutomationActionChangeFlowRunStateInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>vc.map(i=>({label:Ka(i),value:i.toUpperCase()}))),s=n.computed({get(){return o.action.state},set(i){r("update:action",{...o.action,state:i})}}),l=n.computed({get(){return o.action.name??""},set(i){r("update:action",{...o.action,name:i})}}),c=n.computed(()=>{const i=s.value??"";return Ka(i.toLowerCase())}),u=n.computed({get(){return o.action.message??""},set(i){r("update:action",{...o.action,message:i})}});return(i,d)=>{const p=n.resolveComponent("p-select"),h=n.resolveComponent("p-label"),f=n.resolveComponent("p-text-input"),y=n.resolveComponent("p-textarea"),_=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(_,{class:"automation-action-change-flow-run-state-input"},{default:n.withCtx(()=>[n.createVNode(h,{label:"State"},{default:n.withCtx(()=>[n.createVNode(p,{modelValue:s.value,"onUpdate:modelValue":d[0]||(d[0]=w=>s.value=w),options:a.value},null,8,["modelValue","options"])]),_:1}),n.createVNode(h,{label:"Name"},{default:n.withCtx(()=>[n.createVNode(f,{modelValue:l.value,"onUpdate:modelValue":d[1]||(d[1]=w=>l.value=w),placeholder:c.value},null,8,["modelValue","placeholder"])]),_:1}),n.createVNode(h,{label:"Message"},{default:n.withCtx(()=>[n.createVNode(y,{modelValue:u.value,"onUpdate:modelValue":d[2]||(d[2]=w=>u.value=w),placeholder:"State changed by Automation <id>"},null,8,["modelValue"])]),_:1})]),_:1})}}}),NSe=n.defineComponent({__name:"AutomationCombobox",props:{selected:{},emptyMessage:{},allowUnset:{type:Boolean},multiple:{type:Boolean}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>o.multiple||Array.isArray(o.selected)),s=n.computed({get(){return o.selected??null},set(d){d?a.value?r("update:selected",Array.isArray(d)?d:[d]):r("update:selected",d):r("update:selected",null)}}),l=se(),c=O.useSubscription(l.automations.getAutomations),u=n.computed(()=>c.response??[]),i=n.computed(()=>{const d=u.value.map(p=>({value:p.id,label:p.name}));return o.allowUnset&&d.unshift({value:null,label:"None"}),d});return(d,p)=>(n.openBlock(),n.createBlock(n.unref(B.PCombobox),n.mergeProps({modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=h=>s.value=h)},{options:i.value,multiple:a.value,emptyMessage:d.emptyMessage}),{"combobox-options-empty":n.withCtx(()=>[n.createTextVNode(" No automations ")]),default:n.withCtx(h=>[n.renderSlot(d.$slots,"default",n.normalizeProps(n.guardReactiveProps(h)))]),option:n.withCtx(({option:h})=>[n.renderSlot(d.$slots,"option",{option:h})]),_:3},16,["modelValue"]))}}),XX=n.defineComponent({__name:"AutomationAutomationCombobox",props:{selected:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.selected},set(s){r("update:selected",s)}});return(s,l)=>(n.openBlock(),n.createBlock(NSe,{selected:a.value,"onUpdate:selected":l[0]||(l[0]=c=>a.value=c),"empty-message":"Infer Automation",class:"automation-automation-combobox"},{option:n.withCtx(({option:c})=>[c.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Automation ")],64)):n.createCommentVNode("",!0)]),_:1},8,["selected"]))}}),MSe=n.defineComponent({__name:"AutomationActionPauseAutomationInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.automationId??null},set(s){r("update:action",{...o.action,automationId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-automation-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Automation To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(XX,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),gw=n.defineComponent({__name:"AutomationDeploymentCombobox",props:{selected:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.selected??null},set(s){r("update:selected",s)}});return(s,l)=>(n.openBlock(),n.createBlock(Xg,{selected:a.value,"onUpdate:selected":l[0]||(l[0]=c=>a.value=c),"allow-unset":"","empty-message":"Infer Deployment",class:"automation-deployment-combobox"},{option:n.withCtx(({option:c})=>[c.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Deployment ")],64)):n.createCommentVNode("",!0)]),_:1},8,["selected"]))}}),VSe=n.defineComponent({__name:"AutomationActionPauseDeploymentInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.deploymentId??null},set(s){r("update:action",{...o.action,deploymentId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-deployment-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Deployment To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(gw,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),_w=n.defineComponent({__name:"AutomationWorkPoolCombobox",props:{selected:{}},emits:["update:selected"],async setup(t,{emit:e}){let o,r;const a=t,s=e,l=se(),c=Array.isArray(a.selected),u=([o,r]=n.withAsyncContext(()=>O.useSubscription(l.workPools.getWorkPools,[{}]).promise()),o=await o,r(),o),i=n.computed(()=>u.response.filter(f=>!!f.status));function d(f){return f instanceof fy}const p=n.computed(()=>i.value.map(y=>({value:y.name,label:y.name}))),h=n.computed({get(){const _=As(a.selected).map(T=>i.value.find(S=>S.id===T)).filter(d).map(T=>T.name);if(c)return _;const[w=null]=_;return w},set(f){const w=As(f).map(S=>i.value.find(x=>x.name===S)).filter(d).map(S=>S.id);if(c){s("update:selected",w);return}const[T=null]=w;return s("update:selected",T)}});return(f,y)=>{const _=n.resolveComponent("p-combobox");return n.openBlock(),n.createBlock(_,{modelValue:h.value,"onUpdate:modelValue":y[0]||(y[0]=w=>h.value=w),multiple:n.unref(c),"empty-message":"Infer Work Pool",options:p.value},{option:n.withCtx(({option:w})=>[w.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Work Pool ")],64)):n.createCommentVNode("",!0)]),_:1},8,["modelValue","multiple","options"])}}}),ASe=n.defineComponent({__name:"AutomationActionPauseWorkPoolInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workPoolId??null},set(s){r("update:action",{...o.action,workPoolId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-work-pool-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Pool To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(_w,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),D2=n.defineComponent({__name:"AutomationWorkQueueCombobox",props:{selected:{},workPoolIds:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>{var l;return(l=o.workPoolIds)!=null&&l.length?{id:o.workPoolIds}:{}}),s=n.computed({get(){return o.selected},set(l){r("update:selected",l)}});return(l,c)=>(n.openBlock(),n.createBlock(x2,{selected:s.value,"onUpdate:selected":c[0]||(c[0]=u=>s.value=u),"empty-message":"Infer Work Queue",class:"automation-work-queue-combobox","work-pool-filter":a.value},{option:n.withCtx(({option:u})=>[u.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Work Queue ")],64)):n.createCommentVNode("",!0)]),_:1},8,["selected","work-pool-filter"]))}}),DSe=n.defineComponent({__name:"AutomationActionPauseWorkQueueInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workQueueId??null},set(s){r("update:action",{...o.action,workQueueId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-work-queue-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Queue To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(D2,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),BSe=n.defineComponent({__name:"AutomationActionResumeAutomationInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.automationId??null},set(s){r("update:action",{...o.action,automationId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-automation-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Automation To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(XX,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),ISe=n.defineComponent({__name:"AutomationActionResumeDeploymentInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.deploymentId??null},set(s){r("update:action",{...o.action,deploymentId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-deployment-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Deployment To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(gw,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d)},null,8,["id","selected"])]),_:1})]),_:1})}}}),FSe=n.defineComponent({__name:"AutomationActionResumeWorkPoolInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workPoolId??null},set(s){r("update:action",{...o.action,workPoolId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-work-pool-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Pool To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(_w,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),OSe=n.defineComponent({__name:"AutomationActionResumeWorkQueueInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workQueueId??null},set(s){r("update:action",{...o.action,workQueueId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-work-queue-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Queue To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(D2,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),LSe={class:"automation-action-run-deployment-parameters__header"},vSe=n.createElementVNode("h3",{class:"deployment-form__heading"}," Parameters ",-1),WSe=n.defineComponent({__name:"AutomationActionRunDeploymentParameters",props:{deployment:{},values:{}},emits:["update:values"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return vt(o.values)?o.values:{}},set(u){r("update:values",u)}}),{errors:s,validate:l}=Bd(()=>o.deployment.parameterOpenApiSchemaV2,a),c=async(u,i,{signal:d,source:p,previousValue:h})=>{if(u!==h&&(p==="validator"&&await hk(5e3,d),!d.aborted))return await l()};return O.useValidation(a,c),(u,i)=>{const d=n.resolveComponent("p-overflow-menu-item"),p=n.resolveComponent("p-icon-button-menu"),h=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(h,{class:"automation-action-run-deployment-parameters"},{default:n.withCtx(()=>[n.createVNode(n.unref(Dd),{values:a.value,"onUpdate:values":i[0]||(i[0]=f=>a.value=f),schema:u.deployment.parameterOpenApiSchemaV2,kinds:["none","json","jinja","workspace_variable"],errors:n.unref(s)},{default:n.withCtx(({kind:f,setKind:y})=>[n.createElementVNode("div",LSe,[vSe,n.createVNode(p,{small:""},{default:n.withCtx(()=>[f!=="none"?(n.openBlock(),n.createBlock(d,{key:0,label:"Use form input",onClick:_=>y("none")},null,8,["onClick"])):n.createCommentVNode("",!0),f!=="json"?(n.openBlock(),n.createBlock(d,{key:1,label:"Use JSON input",onClick:_=>y("json")},null,8,["onClick"])):n.createCommentVNode("",!0),f!=="jinja"?(n.openBlock(),n.createBlock(d,{key:2,label:"Use Jinja input",onClick:_=>y("jinja")},null,8,["onClick"])):n.createCommentVNode("",!0)]),_:2},1024)])]),_:1},8,["values","schema","errors"])]),_:1})}}}),XSe=n.defineComponent({__name:"AutomationActionRunDeploymentInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=se(),s=new Map,l=n.computed(()=>o.action.deploymentId??null),c=n.ref();async function u(y){if(!ut(y))return;c.value=await a.deployments.getDeployment(y);const _=d(y)??{...c.value.parameters};r("update:action",{...o.action,deploymentId:y,parameters:_})}const i=n.computed({get(){return o.action.parameters??{}},set(y){p(l.value,y),r("update:action",{...o.action,parameters:y})}});function d(y){return y!==null?s.get(y)??null:null}function p(y,_){y!==null&&_!==null&&s.set(y,_)}const h=n.ref(rn(o.action.jobVariables??{}));n.watch(o.action,()=>h.value=rn(o.action.jobVariables??{}));function f(y){h.value=y;try{const _=JSON.parse(y);r("update:action",{...o.action,jobVariables:_})}catch{}}return(y,_)=>{const w=n.resolveComponent("p-label"),T=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(T,{class:"automation-action-run-deployment"},{default:n.withCtx(()=>[n.createVNode(w,{label:"Deployment To Run"},{default:n.withCtx(({id:S})=>[n.createVNode(gw,{id:S,selected:l.value,"onUpdate:selected":u},null,8,["id","selected"])]),_:1}),c.value&&c.value.id===l.value?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[(n.openBlock(),n.createBlock(WSe,{key:l.value,values:i.value,"onUpdate:values":_[0]||(_[0]=S=>i.value=S),deployment:c.value},null,8,["values","deployment"])),n.createVNode(jm,{"model-value":h.value,"onUpdate:modelValue":f},null,8,["model-value"])],64)):n.createCommentVNode("",!0)]),_:1})}}}),USe=n.defineComponent({__name:"AutomationActionSendNotificationInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=se(),s=async(x,R,P)=>await c(x,R,P),l=async(x,R,P)=>await c(x,R,P),c=async(x,R,{signal:P,source:M,previousValue:E})=>{if(x===E||(M==="validator"&&await hk(3e3,P),P.aborted))return;const D=await a.automations.validateTemplate(x);return D===!0?!0:D},u=n.computed({get(){return o.action.blockDocumentId??""},set(x){r("update:action",{...o.action,blockDocumentId:x})}}),{state:i,error:d}=O.useValidation(u,"Block",Qn("Block")),{blockDocument:p}=Hy(u),h=n.computed(()=>{var x;return((x=p.value)==null?void 0:x.isAnonymous)??!1}),f=n.computed({get(){return o.action.subject??""},set(x){r("update:action",{...o.action,subject:x})}}),{state:y,error:_}=O.useValidation(f,"Subject",[Qn("Subject"),s]),w=n.computed({get(){return o.action.body??""},set(x){r("update:action",{...o.action,body:x})}}),{state:T,error:S}=O.useValidation(w,"Body",[Qn("Body"),l]);return(x,R)=>{const P=n.resolveComponent("p-label"),M=n.resolveComponent("p-message"),E=n.resolveComponent("p-code-input"),D=n.resolveComponent("p-code"),v=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(v,{class:"automation-action-send-notification"},{default:n.withCtx(()=>[n.createVNode(P,{label:"Block",state:n.unref(i),message:n.unref(d)},{default:n.withCtx(()=>[n.createVNode(GT,{modelValue:u.value,"onUpdate:modelValue":R[0]||(R[0]=$=>u.value=$),state:n.unref(i),capability:"notify",required:"","use-modal":""},null,8,["modelValue","state"])]),_:1},8,["state","message"]),h.value?(n.openBlock(),n.createBlock(M,{key:0,info:""},{default:n.withCtx(()=>[n.createTextVNode(" This notification action is using an anonymous block. This is most likely because it was migrated from an existing notification. ")]),_:1})):n.createCommentVNode("",!0),n.createVNode(P,{label:"Subject",state:n.unref(y),message:n.unref(_)},{default:n.withCtx(()=>[n.createVNode(E,{modelValue:f.value,"onUpdate:modelValue":R[1]||(R[1]=$=>f.value=$),state:n.unref(y),lang:"jinja"},null,8,["modelValue","state"])]),_:1},8,["state","message"]),n.createVNode(P,{label:"Body",state:n.unref(T),message:n.unref(S)},{default:n.withCtx(()=>[n.createVNode(E,{modelValue:w.value,"onUpdate:modelValue":R[2]||(R[2]=$=>w.value=$),state:n.unref(T),rows:"5",lang:"jinja"},null,8,["modelValue","state"])]),_:1},8,["state","message"]),n.createVNode(M,{info:""},{default:n.withCtx(()=>[n.createTextVNode(" In addition to any fields present on the triggering event, the following objects can be used in notification templates: "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("flow")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("deployment")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("flow_run")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("work_pool")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("work_queue")]),_:1}),n.createTextVNode(", and "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("metric")]),_:1}),n.createTextVNode(". ")]),_:1})]),_:1})}}}),GSe=n.defineComponent({__name:"AutomationActionInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>{switch(o.action.type){case"change-flow-run-state":return nt(ESe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"run-deployment":return nt(XSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-deployment":return nt(VSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-deployment":return nt(ISe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-work-pool":return nt(ASe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-work-pool":return nt(FSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-work-queue":return nt(DSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-work-queue":return nt(OSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-automation":return nt(MSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-automation":return nt(BSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"send-notification":return nt(USe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"cancel-flow-run":case"suspend-flow-run":case"do-nothing":return null;case void 0:throw new Error("AutomationActionInput.vue action.type is undefined");default:const s=o.action;throw new Error(`AutomationActionInput.vue missing case for action type: ${s.type}`)}});return(s,l)=>a.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(a.value.component),n.mergeProps({key:0},a.value.props,{class:"automation-action-input"}),null,16)):n.createCommentVNode("",!0)}}),HSe={class:"automation-action-description-change-flow-run-state"},$Se=n.defineComponent({__name:"AutomationActionDescriptionChangeFlowRunState",props:{action:{}},setup(t){const e=t,o=n.computed(()=>({type:ee.map("ServerStateType",e.action.state,"StateType"),name:dk(e.action.name??e.action.state)}));return(r,a)=>(n.openBlock(),n.createElementBlock("div",HSe,[n.createTextVNode(" Change the state of the flow run inferred from the triggering event to "),n.createVNode(Fn,{state:o.value},null,8,["state"])]))}}),zSe={class:"automation-action-description-default"},jSe=n.defineComponent({__name:"AutomationActionDescriptionDefault",props:{action:{}},setup(t){return(e,o)=>(n.openBlock(),n.createElementBlock("div",zSe,n.toDisplayString(n.unref(VA)[e.action.type]),1))}}),ZSe=n.defineComponent({__name:"AutomationIconText",props:{automationId:{}},setup(t){const e=t,o=se(),r=Se(),a=O.useSubscription(o.automations.getAutomation,[e.automationId]),s=n.computed(()=>{var l;return(l=a.response)==null?void 0:l.name});return(l,c)=>{const u=n.resolveComponent("p-icon-text"),i=n.resolveComponent("p-link");return n.openBlock(),n.createBlock(i,{to:n.unref(r).automation(l.automationId),class:"automation-icon-text"},{default:n.withCtx(()=>[n.createVNode(u,{icon:"Automation"},{default:n.withCtx(()=>[n.createElementVNode("span",null,n.toDisplayString(s.value),1)]),_:1})]),_:1},8,["to"])}}}),YSe={class:"automation-action-description-pause-resume-automation"},KSe={key:1},QSe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeAutomation",props:{action:{}},setup(t){const e=t,o=n.computed(()=>e.action.type==="pause-automation"?"Pause":"Resume");return(r,a)=>(n.openBlock(),n.createElementBlock("div",YSe,[r.action.automationId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(o.value)+" automation: ",1),n.createVNode(ZSe,{"automation-id":r.action.automationId},null,8,["automation-id"])],64)):(n.openBlock(),n.createElementBlock("span",KSe,n.toDisplayString(o.value)+" automation inferred from the triggering event",1))]))}}),qSe={class:"automation-action-description-pause-resume-deployment"},JSe={key:1},eCe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeDeployment",props:{action:{}},setup(t){const e=t,o=n.computed(()=>e.action.type==="pause-deployment"?"Pause":"Resume");return(r,a)=>(n.openBlock(),n.createElementBlock("div",qSe,[r.action.deploymentId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(o.value)+" deployment: ",1),n.createVNode(ru,{"deployment-id":r.action.deploymentId},null,8,["deployment-id"])],64)):(n.openBlock(),n.createElementBlock("span",JSe,n.toDisplayString(o.value)+" deployment inferred from the triggering event",1))]))}}),tCe={class:"automation-action-description-pause-resume-work-pool"},nCe={key:1},oCe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeWorkPool",props:{action:{}},setup(t){const e=t,{workPool:o}=cT(()=>e.action.workPoolId),r=n.computed(()=>e.action.type==="pause-work-pool"?"Pause":"Resume");return(a,s)=>(n.openBlock(),n.createElementBlock("div",tCe,[a.action.workPoolId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.unref(o)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(r.value)+" work pool: ",1),n.createVNode(Xh,{"work-pool-name":n.unref(o).name},null,8,["work-pool-name"])],64)):n.createCommentVNode("",!0)],64)):(n.openBlock(),n.createElementBlock("span",nCe,n.toDisplayString(r.value)+" work pool inferred from the triggering event",1))]))}}),rCe={class:"automation-action-description-pause-resume-work-queue"},aCe={key:1},sCe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeWorkQueue",props:{action:{}},setup(t){const e=t,{workPoolQueue:o}=pT(()=>e.action.workQueueId),r=n.computed(()=>e.action.type==="pause-work-queue"?"Pause":"Resume");return(a,s)=>(n.openBlock(),n.createElementBlock("div",rCe,[a.action.workQueueId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.unref(o)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(r.value)+" work queue: ",1),n.createVNode(pw,{"work-queue-name":n.unref(o).name,"work-pool-name":n.unref(o).workPoolName},null,8,["work-queue-name","work-pool-name"])],64)):n.createCommentVNode("",!0)],64)):(n.openBlock(),n.createElementBlock("span",aCe,n.toDisplayString(r.value)+" work queue inferred from the triggering event",1))]))}}),iCe={class:"automation_action-description-run-deployment__deployment"},lCe={key:1},cCe=n.defineComponent({inheritAttrs:!1,__name:"AutomationActionDescriptionRunDeployment",props:{action:{}},setup(t){const{showModal:e,open:o,close:r}=qe(),{showModal:a,open:s,close:l}=qe();return(c,u)=>{const i=n.resolveComponent("p-button"),d=n.resolveComponent("p-code-highlight"),p=n.resolveComponent("p-modal");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("div",n.mergeProps({class:"automation-action-description-run-deployment"},c.$attrs),[c.action.deploymentId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("span",iCe,[n.createTextVNode("Run deployment: "),n.createVNode(ru,{"deployment-id":c.action.deploymentId},null,8,["deployment-id"])]),n.createVNode(i,{size:"sm",onClick:n.unref(o)},{default:n.withCtx(()=>[n.createTextVNode(" Show parameters ")]),_:1},8,["onClick"]),c.action.jobVariables?(n.openBlock(),n.createBlock(i,{key:0,size:"sm",onClick:n.unref(s)},{default:n.withCtx(()=>[n.createTextVNode(" Show job variables ")]),_:1},8,["onClick"])):n.createCommentVNode("",!0)],64)):(n.openBlock(),n.createElementBlock("span",lCe,"Run deployment inferred from the triggering event"))],16),n.createVNode(p,{"show-modal":n.unref(e),"onUpdate:showModal":u[0]||(u[0]=h=>n.isRef(e)?e.value=h:null),title:"Parameters","auto-close":""},{cancel:n.withCtx(()=>[n.createVNode(i,{onClick:n.unref(r)},{default:n.withCtx(()=>[n.createTextVNode(" Close ")]),_:1},8,["onClick"])]),default:n.withCtx(()=>[n.createVNode(d,{text:n.unref(rn)(c.action.parameters),lang:"json"},null,8,["text"])]),_:1},8,["show-modal"]),n.createVNode(p,{"show-modal":n.unref(a),"onUpdate:showModal":u[1]||(u[1]=h=>n.isRef(a)?a.value=h:null),title:"Job Variables","auto-close":""},{cancel:n.withCtx(()=>[n.createVNode(i,{onClick:n.unref(l)},{default:n.withCtx(()=>[n.createTextVNode(" Close ")]),_:1},8,["onClick"])]),default:n.withCtx(()=>[n.createVNode(d,{text:n.unref(rn)(c.action.jobVariables),lang:"json"},null,8,["text"])]),_:1},8,["show-modal"])],64)}}}),uCe={class:"automation-action-description-suspend-cancel-flow-run"},dCe=n.defineComponent({__name:"AutomationActionDescriptionSuspendCancelFlowRun",props:{action:{}},setup(t){const e=t,o=n.computed(()=>e.action.type==="suspend-flow-run"?"Suspend":"Cancel");return(r,a)=>(n.openBlock(),n.createElementBlock("div",uCe,[n.createElementVNode("span",null,n.toDisplayString(o.value)+" flow run inferred from the triggering event",1)]))}}),pCe=n.defineComponent({__name:"AutomationActionDescription",props:{action:{}},setup(t){const e=t,o=n.computed(()=>{switch(e.action.type){case"pause-deployment":case"resume-deployment":return nt(eCe,{action:e.action});case"pause-work-queue":case"resume-work-queue":return nt(sCe,{action:e.action});case"change-flow-run-state":return nt($Se,{action:e.action});case"pause-work-pool":case"resume-work-pool":return nt(oCe,{action:e.action});case"pause-automation":case"resume-automation":return nt(QSe,{action:e.action});case"suspend-flow-run":case"cancel-flow-run":return nt(dCe,{action:e.action});case"run-deployment":return nt(cCe,{action:e.action});case"send-notification":return nt(jSe,{action:e.action});case"do-nothing":return null;default:const r=e.action;throw new Error(`AutomationActionDescription has no case for type: ${r.type}`)}});return(r,a)=>o.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(o.value.component),n.mergeProps({key:0},o.value.props,{class:"automation-action-description"}),null,16)):n.createCommentVNode("",!0)}}),hCe=n.defineComponent({__name:"AutomationTriggerDescription",props:{trigger:{}},setup(t){const e=t,o=n.computed(()=>{const r=YA(e.trigger);return jA(r)});return(r,a)=>{const s=n.resolveComponent("p-card");return n.openBlock(),n.createBlock(s,{class:"automation-trigger-description"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(o.value),1)]),_:1})}}}),tf=n.defineComponent({__name:"AutomationTriggerEventPostureSelect",props:{selected:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=[{label:"Enters",value:"Reactive"},{label:"Stays in",value:"Proactive"}],s=n.computed({get(){return o.selected},set(l){r("update:selected",l)}});return(l,c)=>{const u=n.resolveComponent("p-select");return n.openBlock(),n.createBlock(u,{modelValue:s.value,"onUpdate:modelValue":c[0]||(c[0]=i=>s.value=i),class:"automation-trigger-event-posture-select",options:a},null,8,["modelValue"])}}}),Mp=n.defineComponent({__name:"AutomationWithinInput",props:n.mergeModels({posture:{}},{time:{required:!0},timeModifiers:{}}),emits:["update:time"],setup(t){const e=n.useModel(t,"time"),o=t,{state:r,error:a,validate:s}=O.useValidation(e,"time",[(u,i,d)=>{switch(o.posture){case"Proactive":if(l(10)(u,i,d)!==!0)return"Time must be at least 10 seconds";break;case"Reactive":if(l(0)(u,i,d)!==!0)return"Time must be at least 0";break}return!0},c(30*Ai)]);n.watch(()=>o.posture,async()=>await s());function l(u){return(i,d)=>!B.isDefined(i)||i>=u?!0:`${d} must be greater than or equal to ${u}`}function c(u){return i=>!B.isDefined(i)||i<=u?!0:"Time cannot be greater than 30 days"}return(u,i)=>{const d=n.resolveComponent("p-label");return n.openBlock(),n.createBlock(d,{class:"automation-within-input",label:"For",state:n.unref(r),message:n.unref(a)},{label:n.withCtx(({id:p})=>[n.renderSlot(u.$slots,"label",{id:p})]),default:n.withCtx(({id:p})=>[n.createVNode(M2,{id:p,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=h=>e.value=h),state:n.unref(r),min:0},null,8,["id","modelValue","state"])]),_:3},8,["state","message"])}}}),mCe={class:"automation-trigger-custom-event-input__threshold-and-within"},fCe=["for"],yCe={class:"automation-trigger-custom-event-input__threshold-and-within-in-between"},gCe=["for"],_Ce={class:"automation-trigger-custom-event-input__evaluation-options-accordion-content"},UX=n.defineComponent({__name:"AutomationTriggerCustomInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),{EventResourceCombobox:o}=zt(),{state:r}=O.useValidation(()=>e.value.threshold,"Threshold",[u,i(0)]);function a(d){if(d.length===0){delete e.value.match["prefect.resource.id"];return}e.value.match["prefect.resource.id"]=d}function s(d){if(pt(d)){e.value.expect=[];return}e.value.expect=B.asArray(d)}function l(d){if(pt(d)){e.value.after=[];return}e.value.after=B.asArray(d)}function c(d){if(d.length===0){delete e.value.matchRelated["prefect.resource.id"];return}e.value.matchRelated["prefect.resource.id"]=d}function u(d,p){return pt(d)||Mi(d)||zr(d)||hd(d)?`${p} is required`:!0}function i(d){return(p,h)=>!qp(p)||p>d?!0:`${h} must be greater than ${d}`}return(d,p)=>{const h=n.resolveComponent("p-radio-group"),f=n.resolveComponent("p-label"),y=n.resolveComponent("p-number-input"),_=n.resolveComponent("p-accordion"),w=n.resolveComponent("p-form");return n.openBlock(),n.createBlock(w,null,{default:n.withCtx(()=>[n.createVNode(f,{label:"When I"},{default:n.withCtx(()=>[n.createVNode(h,{modelValue:e.value.posture,"onUpdate:modelValue":p[0]||(p[0]=T=>e.value.posture=T),class:"automation-trigger-custom-event-input__posture-radio-group mt-2",options:[{value:"Reactive",label:"Observe"},{value:"Proactive",label:"Don't observe"}]},null,8,["modelValue"])]),_:1}),n.createVNode(f,{label:"Any event matching"},{default:n.withCtx(()=>[n.createVNode(mw,{selected:e.value.expect,multiple:"","onUpdate:selected":s},null,8,["selected"])]),_:1}),n.createVNode(f,{label:"From the following resources"},{default:n.withCtx(()=>[n.createVNode(n.unref(o),{selected:e.value.match["prefect.resource.id"]??[],multiple:"","onUpdate:selected":p[1]||(p[1]=T=>a(n.unref(B.asArray)(T??[])))},null,8,["selected"])]),_:1}),n.createElementVNode("div",null,[n.createElementVNode("div",mCe,[n.createVNode(f,{state:n.unref(r),message:n.unref(r).error,label:"Threshold",class:"automation-trigger-custom-event-input__threshold-input"},{label:n.withCtx(({id:T})=>[n.createElementVNode("label",{class:"sr-only",for:T},"Threshold",8,fCe)]),default:n.withCtx(({id:T})=>[n.createVNode(y,{id:T,modelValue:e.value.threshold,"onUpdate:modelValue":p[2]||(p[2]=S=>e.value.threshold=S),min:"1",state:n.unref(r)},null,8,["id","modelValue","state"])]),_:1},8,["state","message"]),n.createElementVNode("span",yCe,n.toDisplayString(n.unref(B.toPluralString)("time",e.value.threshold))+" within",1),n.createVNode(Mp,{time:e.value.within,"onUpdate:time":p[3]||(p[3]=T=>e.value.within=T),posture:e.value.posture,class:"automation-trigger-custom-event-input__within-input"},{label:n.withCtx(({id:T})=>[n.createElementVNode("label",{class:"sr-only",for:T},"Within",8,gCe)]),_:1},8,["time","posture"])])]),n.createVNode(_,{sections:["Evaluation Options"],class:"automation-trigger-custom-event-input__evaluation-options-accordion"},{content:n.withCtx(()=>[n.createElementVNode("div",_Ce,[n.createVNode(f,{label:"Evaluate trigger only after observing an event matching"},{default:n.withCtx(()=>[n.createVNode(mw,{selected:e.value.after,multiple:"","onUpdate:selected":l},null,8,["selected"])]),_:1}),n.createVNode(f,{label:"Filter for events related to"},{default:n.withCtx(()=>[n.createVNode(n.unref(o),{selected:e.value.matchRelated["prefect.resource.id"]??[],multiple:"","onUpdate:selected":p[4]||(p[4]=T=>c(n.unref(B.asArray)(T??[])))},null,8,["selected"])]),_:1})])]),_:1})]),_:1})}}}),wCe={class:"automation-trigger-deployment-status__status"},bCe=n.defineComponent({__name:"AutomationTriggerDeploymentStatusInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"DeploymentStatusTrigger")},set(c){e.value=ee.map("DeploymentStatusTrigger",c,"AutomationTrigger")}}),r=O.usePatchRef(o,"deployments"),a=O.usePatchRef(o,"status"),s=O.usePatchRef(o,"time"),l=n.computed({get(){return o.value.posture},set(c){if(c==="Proactive"&&s.value===xd){o.value={...o.value,time:30,posture:c};return}o.value={...o.value,posture:c}}});return(c,u)=>{const i=n.resolveComponent("p-label"),d=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(d,null,{default:n.withCtx(()=>[n.createVNode(i,{label:"Deployments"},{default:n.withCtx(({id:p})=>[n.createVNode(gw,{id:p,selected:n.unref(r),"onUpdate:selected":u[0]||(u[0]=h=>n.isRef(r)?r.value=h:null),"empty-message":"All deployments","allow-unset":!1},null,8,["id","selected"])]),_:1}),n.createVNode(i,{label:"Deployment"},{default:n.withCtx(()=>[n.createElementVNode("div",wCe,[n.createVNode(tf,{selected:l.value,"onUpdate:selected":u[1]||(u[1]=p=>l.value=p)},null,8,["selected"]),n.createVNode(N2,{selected:n.unref(a),"onUpdate:selected":u[2]||(u[2]=p=>n.isRef(a)?a.value=p:null)},null,8,["selected"])])]),_:1}),l.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:0,time:n.unref(s),"onUpdate:time":u[3]||(u[3]=p=>n.isRef(s)?s.value=p:null),posture:l.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),kCe={class:"automation-trigger-flow-run-state-input__states"},TCe=n.defineComponent({__name:"AutomationTriggerFlowRunStateInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"FlowRunStateTrigger")},set(u){e.value=ee.map("FlowRunStateTrigger",u,"AutomationTrigger")}}),r=n.computed({get(){return o.value.posture},set(u){if(u==="Proactive"&&c.value===xd){o.value={...o.value,time:30,posture:u};return}o.value={...o.value,posture:u}}}),a=n.computed({get(){return o.value.flowIds},set(u){u.length>0&&(o.value={...o.value,flowIds:u,tags:[]}),o.value={...o.value,flowIds:u}}}),s=O.usePatchRef(o,"tags"),l=O.usePatchRef(o,"states"),c=O.usePatchRef(o,"time");return(u,i)=>{const d=n.resolveComponent("p-label"),p=n.resolveComponent("p-tags-input"),h=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(h,{class:"automation-trigger-flow-run-state-input"},{default:n.withCtx(()=>[n.createVNode(d,{label:"Flows"},{default:n.withCtx(({id:f})=>[n.createVNode(Qg,{id:f,selected:a.value,"onUpdate:selected":i[0]||(i[0]=y=>a.value=y),"empty-message":"All flows"},null,8,["id","selected"])]),_:1}),a.value.length===0?(n.openBlock(),n.createBlock(d,{key:0,label:"Flow Run Tags"},{default:n.withCtx(({id:f})=>[n.createVNode(p,{id:f,modelValue:n.unref(s),"onUpdate:modelValue":i[1]||(i[1]=y=>n.isRef(s)?s.value=y:null),"empty-message":"All tags"},null,8,["id","modelValue"])]),_:1})):n.createCommentVNode("",!0),n.createVNode(d,{label:"Flow Run"},{default:n.withCtx(()=>[n.createElementVNode("div",kCe,[n.createVNode(tf,{selected:r.value,"onUpdate:selected":i[2]||(i[2]=f=>r.value=f)},null,8,["selected"]),n.createVNode(Zu,{selected:n.unref(l),"onUpdate:selected":i[3]||(i[3]=f=>n.isRef(l)?l.value=f:null),multiple:"","empty-message":"Any state"},null,8,["selected"])])]),_:1}),r.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:1,time:n.unref(c),"onUpdate:time":i[4]||(i[4]=f=>n.isRef(c)?c.value=f:null),posture:r.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),xCe={class:"automation-trigger-work-pool-status-input__status"},SCe=n.defineComponent({__name:"AutomationTriggerWorkPoolStatusInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"WorkPoolStatusTrigger")},set(c){e.value=ee.map("WorkPoolStatusTrigger",c,"AutomationTrigger")}}),r=O.usePatchRef(o,"workPools"),a=O.usePatchRef(o,"status"),s=O.usePatchRef(o,"time"),l=n.computed({get(){return o.value.posture},set(c){if(c==="Proactive"&&s.value===xd){o.value={...o.value,time:30,posture:c};return}o.value={...o.value,posture:c}}});return(c,u)=>{const i=n.resolveComponent("p-label"),d=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(d,{class:"automation-trigger-work-pool-status-input"},{default:n.withCtx(()=>[n.createVNode(i,{label:"Work Pools"},{default:n.withCtx(({id:p})=>[n.createVNode(_w,{id:p,selected:n.unref(r),"onUpdate:selected":u[0]||(u[0]=h=>n.isRef(r)?r.value=h:null),"empty-message":"All work pools"},null,8,["id","selected"])]),_:1}),n.createVNode(i,{label:"Work Pool"},{default:n.withCtx(()=>[n.createElementVNode("div",xCe,[n.createVNode(tf,{selected:l.value,"onUpdate:selected":u[1]||(u[1]=p=>l.value=p)},null,8,["selected"]),n.createVNode(V2,{selected:n.unref(a),"onUpdate:selected":u[2]||(u[2]=p=>n.isRef(a)?a.value=p:null)},null,8,["selected"])])]),_:1}),l.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:0,time:n.unref(s),"onUpdate:time":u[3]||(u[3]=p=>n.isRef(s)?s.value=p:null),posture:l.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),CCe={class:"automation-trigger-work-queue-status-input__status"},RCe=n.defineComponent({__name:"AutomationTriggerWorkQueueStatusInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"WorkQueueStatusTrigger")},set(u){e.value=ee.map("WorkQueueStatusTrigger",u,"AutomationTrigger")}}),r=O.usePatchRef(o,"workPools"),a=O.usePatchRef(o,"workQueues"),s=O.usePatchRef(o,"status"),l=O.usePatchRef(o,"time"),c=n.computed({get(){return o.value.posture},set(u){if(u==="Proactive"&&l.value===xd){o.value={...o.value,time:30,posture:u};return}o.value={...o.value,posture:u}}});return(u,i)=>{const d=n.resolveComponent("p-label"),p=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(p,{class:"automation-trigger-work-queue-status-input"},{default:n.withCtx(()=>[n.createVNode(d,{label:"Work Pools"},{default:n.withCtx(({id:h})=>[n.createVNode(_w,{id:h,selected:n.unref(r),"onUpdate:selected":i[0]||(i[0]=f=>n.isRef(r)?r.value=f:null),"empty-message":"All work pools"},null,8,["id","selected"])]),_:1}),n.createVNode(d,{label:"Work Queues"},{default:n.withCtx(({id:h})=>[n.createVNode(D2,{id:h,selected:n.unref(a),"onUpdate:selected":i[1]||(i[1]=f=>n.isRef(a)?a.value=f:null),"empty-message":"All work queues","work-pool-ids":n.unref(r)},null,8,["id","selected","work-pool-ids"])]),_:1}),n.createVNode(d,{label:"Work Queue"},{default:n.withCtx(()=>[n.createElementVNode("div",CCe,[n.createVNode(tf,{selected:c.value,"onUpdate:selected":i[2]||(i[2]=h=>c.value=h)},null,8,["selected"]),n.createVNode(A2,{selected:n.unref(s),"onUpdate:selected":i[3]||(i[3]=h=>n.isRef(s)?s.value=h:null)},null,8,["selected"])])]),_:1}),c.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:0,time:n.unref(l),"onUpdate:time":i[4]||(i[4]=h=>n.isRef(l)?l.value=h:null),posture:c.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),PCe=n.defineComponent({__name:"AutomationTriggerEventInput",props:n.mergeModels({template:{}},{trigger:{required:!0},triggerModifiers:{}}),emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),{template:o}=t,r=n.computed(()=>{switch(o){case"deployment-status":return nt(bCe,{trigger:e.value,"onUpdate:trigger":a});case"flow-run-state":return nt(TCe,{trigger:e.value,"onUpdate:trigger":a});case"work-pool-status":return nt(SCe,{trigger:e.value,"onUpdate:trigger":a});case"work-queue-status":return nt(RCe,{trigger:e.value,"onUpdate:trigger":a});case"custom":return nt(UX,{trigger:e.value,"onUpdate:trigger":a});default:throw new Error(`AutomationTriggerEventInput does not support template: ${o}`)}});function a(s){e.value=s}return(s,l)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(r.value.component),n.mergeProps(r.value.props,{class:"automation-trigger-event-input"}),null,16))}}),ECe=n.defineComponent({__name:"AutomationsPageEmptyState",setup(t){const e=Ne(),o=Se();return(r,a)=>{const s=n.resolveComponent("p-button");return n.openBlock(),n.createBlock(n.unref(B.PEmptyState),{class:"automations-page-empty-state"},n.createSlots({icon:n.withCtx(()=>[n.createVNode(n.unref(B.PIcon),{icon:"Automation"})]),description:n.withCtx(()=>[n.createTextVNode(" Automations bring reactivity to your data stack and let you configure triggers and actions based on events. ")]),actions:n.withCtx(()=>[n.unref(e).create.automation?(n.openBlock(),n.createBlock(s,{key:0,primary:"","icon-append":"PlusIcon",to:n.unref(o).automationCreate()},{default:n.withCtx(()=>[n.createTextVNode(" Add Automation ")]),_:1},8,["to"])):n.createCommentVNode("",!0),n.createVNode(zo,{to:n.unref(Y).docs.automations},null,8,["to"])]),_:2},[n.unref(e).create.automation?{name:"heading",fn:n.withCtx(()=>[n.createTextVNode(" Create an automation to get started ")]),key:"0"}:void 0]),1024)}}}),NCe=n.defineComponent({__name:"AutomationToggle",props:{automation:{}},emits:["update"],setup(t,{emit:e}){const o=t,r=e,a=Ne(),s=se(),l=n.computed({get(){return!!o.automation.enabled},set(i){u(i)}}),c=n.reactive({pending:!1}),u=async i=>{c.pending=!0;try{await s.automations.enableAutomation(o.automation.id,i),B.showToast(Y.success.automationEnable(i),"success"),r("update")}catch(d){B.showToast(Y.error.automationToggle(i)),console.error(d)}finally{c.pending=!1}};return(i,d)=>n.unref(a).update.automation?(n.openBlock(),n.createBlock(n.unref(B.PToggle),{key:0,modelValue:l.value,"onUpdate:modelValue":d[0]||(d[0]=p=>l.value=p),state:c},null,8,["modelValue","state"])):n.createCommentVNode("",!0)}}),MCe=["href"],VCe=n.defineComponent({inheritAttrs:!1,__name:"AutomationMenu",props:{automation:{}},emits:["delete"],setup(t,{emit:e}){const o=t,r=e,a=Ne(),s=se(),l=Se(),{showModal:c,open:u}=qe();async function i(){try{await s.automations.deleteAutomation(o.automation.id),B.showToast(Y.success.automationDelete,"success"),r("delete")}catch(d){console.error(d);const p=wt(d,Y.error.automationDelete);B.showToast(p,"error")}}return(d,p)=>{const h=n.resolveComponent("p-overflow-menu-item"),f=n.resolveComponent("router-link"),y=n.resolveComponent("p-icon"),_=n.resolveComponent("p-icon-button-menu");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(_,n.mergeProps(d.$attrs,{class:"automation-menu"}),{default:n.withCtx(()=>[n.createVNode(Jn,{label:"Copy ID",item:d.automation.id},null,8,["item"]),n.createVNode(f,{to:n.unref(l).automationEdit(d.automation.id)},{default:n.withCtx(()=>[n.unref(a).update.automation?(n.openBlock(),n.createBlock(h,{key:0,label:"Edit"})):n.createCommentVNode("",!0)]),_:1},8,["to"]),n.unref(a).delete.automation?(n.openBlock(),n.createBlock(h,{key:0,label:"Delete",onClick:n.unref(u)},null,8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("a",{href:n.unref(Y).docs.automations,target:"_blank"},[n.createVNode(h,null,{default:n.withCtx(()=>[n.createTextVNode(" Documentation "),n.createVNode(y,{class:"user-menu__icon",icon:"ArrowTopRightOnSquareIcon"})]),_:1})],8,MCe),n.renderSlot(d.$slots,"default")]),_:3},16),n.createVNode(en,{showModal:n.unref(c),"onUpdate:showModal":p[0]||(p[0]=w=>n.isRef(c)?c.value=w:null),name:d.automation.name,label:"Automation",onDelete:i},null,8,["showModal","name"])],64)}}});function ACe(){const t=se(),{value:e}=O.useRouteQueryParam("actions",[OX],[]),{value:o}=O.useRouteQueryParam("from"),{value:r}=O.useRouteQueryParam("eventId"),{value:a}=O.useRouteQueryParam("occurred",O.DateRouteParam),{value:s}=O.useRouteQueryParam("flowId"),{value:l}=O.useRouteQueryParam("workPoolQueueId");async function c(){switch(o){case"event":return await i();case"flow":return await d();case"workPoolQueue":return await p();default:return null}}async function u(){const h=e.filter(bk);return h.length?h:await null}async function i(){if(!r)throw new Error("Failed creating automation trigger from event. Missing eventId query param.");if(!a)throw new Error("Failed creating automation trigger from event. Missing occurred query param.");const h=await t.events.getEvent(r,a);return ee.map("WorkspaceEvent",h,"AutomationTrigger")}async function d(){if(!s)throw new Error("Failed creating automation trigger from flow. Missing flowId query param.");const h=await t.flows.getFlow(s);return ee.map("Flow",h,"AutomationTrigger")}async function p(){if(!l)throw new Error("Failed creating automation trigger from work pool queue. Missing workPoolQueueId query param.");const h=await t.workQueues.getWorkQueue(l);return ee.map("WorkPoolQueue",h,"AutomationTrigger")}return{getTrigger:c,getActions:u}}if(typeof window>"u"){const t={};Object.assign(global,{window:t})}const DCe={install(t){t.use(B.ToastPlugin),VV()}},GX=t=>{const{value:e,isCustom:o}=e2();if(Di(t.query)&&o.value)try{const r=ee.map("SavedSearchFilter",e.value,"LocationQuery");return{...t,query:r}}catch(r){console.error(r)}return!0},BCe=n.defineComponent({expose:[],beforeRouteEnter:GX,beforeRouteUpdate:GX}),ICe=n.defineComponent({...BCe,__name:"RunsPageWithDefaultFilter",props:{component:{type:Function}},setup(t){const e=t,o=n.shallowRef(null);function r(a){return OV(a)}return n.watch(e.component,()=>{r(e.component)?e.component().then(a=>{o.value=a.default}):o.value=e.component},{immediate:!0}),(a,s)=>o.value!==null?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(o.value),{key:0})):n.createCommentVNode("",!0)}}),FCe=Object.freeze(Object.defineProperty({__proto__:null,default:ICe},Symbol.toStringTag,{value:"Module"}));b.ActivityChart=IT,b.Api=Af,b.Artifact=E1,b.ArtifactCard=tc,b.ArtifactCollection=jM,b.ArtifactCollections=iI,b.ArtifactCollectionsEmptyState=FT,b.ArtifactDataMarkdown=OT,b.ArtifactDataRaw=lI,b.ArtifactDataResult=LT,b.ArtifactDataUnknown=vT,b.ArtifactDataView=cg,b.ArtifactDescription=WT,b.ArtifactDetails=cI,b.ArtifactKeyIconText=ug,b.ArtifactMenu=uI,b.ArtifactResultCard=dg,b.ArtifactTimeline=pI,b.ArtifactTypeSelect=XT,b.Automation=LA,b.AutomationActionDescription=pCe,b.AutomationActionInput=GSe,b.AutomationMenu=VCe,b.AutomationToggle=NCe,b.AutomationTriggerCustomInput=UX,b.AutomationTriggerDescription=hCe,b.AutomationTriggerEvent=$o,b.AutomationTriggerEventInput=PCe,b.AutomationTriggerEventPostureSelect=tf,b.AutomationWithinInput=Mp,b.AutomationsPageEmptyState=ECe,b.BaseDefinitionRefString=wQ,b.BatchLookupError=Cb,b.BatchProcessor=$a,b.BetaBadge=UT,b.BlockCapabilityBlockDocumentInput=GT,b.BlockDocument=N1,b.BlockDocumentCard=hI,b.BlockDocumentCombobox=NT,b.BlockDocumentInput=sg,b.BlockDocumentKeyValue=mI,b.BlockDocumentMenu=fI,b.BlockDocumentSortValuesSortParam=pD,b.BlockDocumentsTable=yI,b.BlockIconText=fg,b.BlockSchema=M1,b.BlockSchemaCapabilities=Ad,b.BlockSchemaCapabilitySelect=rg,b.BlockSchemaCreateForm=PT,b.BlockSchemaEditForm=gI,b.BlockType=V1,b.BlockTypeCard=wI,b.BlockTypeCardLayout=HT,b.BlockTypeCardPreview=ag,b.BlockTypeList=ET,b.BlockTypeSelect=zT,b.BlockTypeSnippet=hg,b.BlocksPageEmptyState=_I,b.CodeBanner=bI,b.CollectionCardPreview=jT,b.CollectionItemCard=kI,b.CollectionsApi=GB,b.CollectionsList=TI,b.ColorModeSelect=xI,b.ColorModeSelectOption=yg,b.ConcurrencyLimitActiveRuns=SI,b.ConcurrencyLimitDetails=CI,b.ConcurrencyLimitMenu=Tg,b.ConcurrencyLimitResetModal=KT,b.ConcurrencyLimitV2Menu=tx,b.ConcurrencyLimitV2Toggle=nx,b.ConcurrencyLimitsCreateModal=xg,b.ConcurrencyLimitsPageEmptyState=QT,b.ConcurrencyLimitsTable=RI,b.ConcurrencyLimitsV2CreateModal=qT,b.ConcurrencyLimitsV2EmptyState=JT,b.ConcurrencyLimitsV2Table=EI,b.ConcurrencyLimitsV2UpdateModal=ex,b.ConcurrencyTableActiveSlots=ox,b.ConfirmDeleteModal=en,b.ConfirmDeleteModalWithSlot=NI,b.ConfirmStateChangeModal=Cg,b.ConstantTaskInput=cV,b.CopyOverflowMenuItem=Jn,b.CopyableWrapper=Wh,b.CronSchedule=kh,b.CronScheduleForm=sx,b.CronStringLengthError=KM,b.CumulativeTaskRunsCard=VI,b.DEFAULT_EVENT_TRIGGER_THRESHOLD=Sd,b.DEFAULT_EVENT_TRIGGER_WITHIN=xd,b.DashboardWorkPoolsCard=aF,b.DateInput=Vd,b.DateRangeInput=sF,b.DateRangeSelect=gx,b.DayOrDescriptionModal=ax,b.Deployment=eV,b.DeploymentCombobox=Xg,b.DeploymentComboboxOption=Ug,b.DeploymentConfiguration=iF,b.DeploymentCustomRunOverflowMenuItem=Gg,b.DeploymentDeprecatedMessage=lF,b.DeploymentDescription=cF,b.DeploymentDescriptionEmptyState=uF,b.DeploymentDetails=dF,b.DeploymentForm=pF,b.DeploymentFormV2=hF,b.DeploymentIconText=ru,b.DeploymentList=yF,b.DeploymentMenu=mF,b.DeploymentQuickRunOverflowMenuItem=zg,b.DeploymentRelationships=jg,b.DeploymentSchedule=tV,b.DeploymentScheduleCard=wx,b.DeploymentScheduleMenu=kx,b.DeploymentScheduleTags=xx,b.DeploymentScheduleToggle=Tx,b.DeploymentSchedulesFieldset=bx,b.DeploymentSortValuesSortParam=hD,b.DeploymentStatusBadge=Kg,b.DeploymentStatusIcon=Yg,b.DeploymentStatusSelect=N2,b.DeploymentTagsInput=Kh,b.DeploymentToggle=Qh,b.DeploymentsCount=Cx,b.DeploymentsDeleteButton=Zg,b.DeploymentsList=gF,b.DeploymentsPageEmptyState=_F,b.DocumentationButton=zo,b.DurationIconText=Xi,b.DurationInput=M2,b.EmpiricalPolicy=oV,b.EventRelatedKeyValue=fw,b.EventResourceCombobox=MX,b.EventResourceIconText=AX,b.EventResourceKeyValue=yw,b.EventsCombobox=mw,b.EventsFilterOrderOptions=kQ,b.ExtraInfoModal=Gh,b.ExtraInfoTooltip=Rx,b.FilterDateError=C7,b.FilterPrefixError=R7,b.FilterRelativeDateUnitError=P7,b.Flow=D1,b.FlowActivityChart=wF,b.FlowCombobox=Qg,b.FlowDetails=bF,b.FlowIconText=Sx,b.FlowList=kF,b.FlowMenu=TF,b.FlowPopover=Ex,b.FlowRouterLink=Gd,b.FlowRun=B1,b.FlowRunArtifacts=xF,b.FlowRunBreadCrumbs=vg,b.FlowRunCancelButton=Nx,b.FlowRunCancelModal=qg,b.FlowRunCreateFormV2=NX,b.FlowRunDetails=SF,b.FlowRunFilteredList=CF,b.FlowRunGraph=UW,b.FlowRunGraphArtifactCard=FR,b.FlowRunGraphArtifactDrawer=GW,b.FlowRunGraphArtifactsPopover=HW,b.FlowRunGraphConfirmation=IR,b.FlowRunGraphPopover=U_,b.FlowRunGraphSelectionPanel=zW,b.FlowRunGraphStatePopover=$W,b.FlowRunHistoryCard=jW,b.FlowRunIconText=vd,b.FlowRunJobVariableOverridesLabeledInput=jm,b.FlowRunList=Pp,b.FlowRunListItem=ZW,b.FlowRunLogs=YW,b.FlowRunMenu=KW,b.FlowRunName=$_,b.FlowRunPopOver=OR,b.FlowRunPopOverContent=Wg,b.FlowRunResults=QW,b.FlowRunResumeButton=LR,b.FlowRunResumeModal=H_,b.FlowRunRetryButton=vR,b.FlowRunRetryModal=z_,b.FlowRunSortValuesSortParam=Wk,b.FlowRunStartTime=Hd,b.FlowRunStateTypeTab=UR,b.FlowRunSuspendButton=GR,b.FlowRunSuspendModal=Z_,b.FlowRunTagsInput=j_,b.FlowRunTaskRuns=t8,b.FlowRunTimelineSubFlowRunDetails=HR,b.FlowRunTimelineTaskDetails=$R,b.FlowRunsBarChart=iu,b.FlowRunsDeleteButton=WR,b.FlowRunsFilterGroup=qW,b.FlowRunsPageEmptyState=JW,b.FlowRunsScatterPlot=e8,b.FlowRunsSort=XR,b.FlowSortValuesSortParam=mD,b.FlowsDeleteButton=zR,b.FlowsFilterGroup=n8,b.FlowsPageEmptyState=o8,b.FormattedDate=Y_,b.FourZeroFour=r8,b.GLOBAL_API_LIMIT=Jk,b.GraphNode=sV,b.HealthApi=DE,b.IconTextCount=G_,b.IntervalSchedule=yd,b.IntervalScheduleForm=jR,b.InvalidSchemaValueError=zc,b.JSONRouteParam=OX,b.JobVariableOverridesInput=zm,b.JsonInput=xn,b.LastFlowRun=K_,b.Log=F1,b.LogLevelLabel=ZR,b.LogLevelSelect=Q_,b.LogRow=YR,b.LogoImage=ts,b.LogsContainer=q_,b.LogsSort=J_,b.MAX_SCHEMA_PROPERTY_LEVEL=Qq,b.MAX_VARIABLE_NAME_LENGTH=X1,b.MAX_VARIABLE_VALUE_LENGTH=U1,b.Mapper=UB,b.MarketingBanner=a8,b.MiniDeploymentHistory=ew,b.MiniFlowHistory=KR,b.Mocker=nI,b.NextFlowRun=tw,b.NoSchemaPropertyDefaultValueError=E7,b.Notification=O1,b.NotificationDetails=ow,b.NotificationForm=s8,b.NotificationMenu=QR,b.NotificationStatusSelect=qR,b.NotificationToggle=JR,b.NotificationsPageEmptyState=i8,b.NotificationsTable=l8,b.OperatorRouteParam=or,b.PageHeading=mt,b.PageHeadingAccountSettings=c8,b.PageHeadingApiKeys=u8,b.PageHeadingArtifact=d8,b.PageHeadingArtifactKey=p8,b.PageHeadingArtifacts=h8,b.PageHeadingBlock=m8,b.PageHeadingBlockEdit=f8,b.PageHeadingBlocks=y8,b.PageHeadingBlocksCatalog=g8,b.PageHeadingBlocksCatalogCreate=_8,b.PageHeadingBlocksCatalogView=w8,b.PageHeadingConcurrencyLimit=b8,b.PageHeadingConcurrencyLimits=k8,b.PageHeadingDeployment=T8,b.PageHeadingDeploymentEdit=x8,b.PageHeadingDeployments=S8,b.PageHeadingFlow=C8,b.PageHeadingFlowCollection=R8,b.PageHeadingFlowCollections=P8,b.PageHeadingFlowRun=E8,b.PageHeadingFlowRunCreate=N8,b.PageHeadingFlowRuns=A8,b.PageHeadingFlows=D8,b.PageHeadingNotificationCreate=B8,b.PageHeadingNotificationEdit=I8,b.PageHeadingNotifications=F8,b.PageHeadingRuns=O8,b.PageHeadingTaskRun=L8,b.PageHeadingVariables=v8,b.PageHeadingWorkPool=W8,b.PageHeadingWorkPoolCreate=X8,b.PageHeadingWorkPoolEdit=U8,b.PageHeadingWorkPoolQueue=G8,b.PageHeadingWorkPoolQueueCreate=H8,b.PageHeadingWorkPoolQueueEdit=$8,b.PageHeadingWorkPools=z8,b.PageHeadingWorkQueue=j8,b.PageHeadingWorkQueueCreate=Z8,b.PageHeadingWorkQueueEdit=Y8,b.PageHeadingWorkQueues=K8,b.PageHeadingWorkspaceSettings=Q8,b.ParameterTaskInput=uV,b.ParametersTable=q8,b.ProcessTypeBadge=a2,b.QuickRunParametersModal=Hg,b.RRuleSchedule=L1,b.ResourceLink=DX,b.ResultsCount=So,b.RouteGuardExecutioner=oI,b.RunHistory=v1,b.RunMenu=s2,b.SaveFilterModal=o2,b.SavedFilters=rw,b.SavedFiltersDeleteModal=n2,b.SavedFiltersMenu=r2,b.SavedSearch=my,b.ScheduleFieldset=J8,b.ScheduleFormModal=Km,b.ScheduleTypes=M7,b.SchemaForm=eX,b.SchemaFormFields=ql,b.SchemaFormFieldsWithValues=i2,b.SchemaFormInput=Jy,b.SchemaFormProperties=_T,b.SchemaFormProperty=eu,b.SchemaFormPropertyAllOf=wT,b.SchemaFormPropertyAnyOf=RT,b.SchemaFormV2=OB,b.SchemaInput=l2,b.SchemaInputV2=Dd,b.SchemaPropertiesKeyValues=mg,b.SchemaPropertyAny=RB,b.SchemaPropertyArray=gB,b.SchemaPropertyBlock=_B,b.SchemaPropertyBoolean=wB,b.SchemaPropertyKeyValue=$T,b.SchemaPropertyNone=bB,b.SchemaPropertyNumber=kB,b.SchemaPropertyObject=TB,b.SchemaPropertyService=js,b.SchemaPropertyString=xB,b.SchemaStringFormats=yD,b.SchemaTypes=Xk,b.SearchInput=lo,b.SelectedCount=Zs,b.SeparatedList=nw,b.SimpleIdManager=nre,b.StateBadge=Fn,b.StateHistory=hy,b.StateIcon=wg,b.StateListItem=bg,b.StateNameSelect=Zu,b.StateSelect=rx,b.StatisticKeyValue=Wi,b.Storage=rI,b.StorageItem=aV,b.SubmitButton=es,b.TaskRun=W1,b.TaskRunArtifacts=tX,b.TaskRunDetails=nX,b.TaskRunIconText=pg,b.TaskRunList=kg,b.TaskRunListItem=YT,b.TaskRunLogs=oX,b.TaskRunSortValuesSortParam=fD,b.TaskRunTaskInput=dV,b.TaskRunsDeleteButton=rX,b.TaskRunsSort=c2,b.TimeSpanFilter=aX,b.TimezoneSelect=Rg,b.ToastFlowRunCreate=$g,b.UiApi=IE,b.UseDeploymentSlot=_x,b.UseFlowSlot=Px,b.Variable=pV,b.VariableCreateModal=aw,b.VariableEditModal=iw,b.VariableMenu=u2,b.VariableTagsInput=h2,b.VariablesDeleteButton=d2,b.VariablesPageEmptyState=sX,b.VariablesTable=iX,b.ViewModeButtonGroup=Ld,b.WorkPool=fy,b.WorkPoolBaseJobTemplateFormSection=lw,b.WorkPoolCard=f2,b.WorkPoolCombobox=Np,b.WorkPoolCreateWizard=cX,b.WorkPoolCreateWizardStepInformation=y2,b.WorkPoolCreateWizardStepInfrastructureConfiguration=g2,b.WorkPoolCreateWizardStepInfrastructureType=_2,b.WorkPoolDetails=uX,b.WorkPoolEditForm=dX,b.WorkPoolIconText=Xh,b.WorkPoolLateIndicator=pX,b.WorkPoolList=w2,b.WorkPoolMenu=hX,b.WorkPoolQueue=yy,b.WorkPoolQueueCombobox=qm,b.WorkPoolQueueCreateForm=mX,b.WorkPoolQueueDetails=fX,b.WorkPoolQueueEditForm=yX,b.WorkPoolQueueHealthIcon=Jm,b.WorkPoolQueueMenu=gX,b.WorkPoolQueuePriorityLabel=ef,b.WorkPoolQueueStatusBadge=cw,b.WorkPoolQueueStatusIcon=Wd,b.WorkPoolQueueTableData=hV,b.WorkPoolQueueToggle=uw,b.WorkPoolQueueUpcomingFlowRunsList=wX,b.WorkPoolQueuesDeleteButton=b2,b.WorkPoolQueuesTable=_X,b.WorkPoolStatusBadge=k2,b.WorkPoolStatusIcon=Yh,b.WorkPoolStatusSelect=V2,b.WorkPoolToggle=dw,b.WorkPoolTypeSelect=T2,b.WorkPoolWorker=G1,b.WorkPools=bX,b.WorkPoolsPageEmptyState=kX,b.WorkQueue=_y,b.WorkQueueCombobox=x2,b.WorkQueueCreateForm=TX,b.WorkQueueDetails=xX,b.WorkQueueEditForm=SX,b.WorkQueueFilter=$1,b.WorkQueueFlowRunsList=CX,b.WorkQueueIconText=pw,b.WorkQueueLastPolled=S2,b.WorkQueueLateIndicator=C2,b.WorkQueueMenu=R2,b.WorkQueueStatus=z1,b.WorkQueueStatusBadge=hw,b.WorkQueueStatusIcon=E2,b.WorkQueueStatusSelect=A2,b.WorkQueueTableData=yV,b.WorkQueueToggle=sw,b.WorkQueuesDeleteButton=P2,b.WorkQueuesPageEmptyState=RX,b.WorkQueuesTable=PX,b.WorkerStatusBadge=m2,b.WorkersLateIndicator=Qm,b.WorkersTable=lX,b.WorkspaceApi=ln,b.WorkspaceArtifactsApi=FE,b.WorkspaceAutomationsApi=XE,b.WorkspaceBlockCapabilitiesApi=UE,b.WorkspaceBlockDocumentsApi=GE,b.WorkspaceBlockSchemasApi=HE,b.WorkspaceBlockTypesApi=$E,b.WorkspaceConcurrencyLimitsApi=zE,b.WorkspaceConcurrencyV2LimitsApi=jE,b.WorkspaceDashboardFlowRunsCard=EX,b.WorkspaceDeploymentsApi=JE,b.WorkspaceEvent=Z1,b.WorkspaceEventDetails=IX,b.WorkspaceEventMenu=BX,b.WorkspaceEvents=TV,b.WorkspaceEventsCount=xV,b.WorkspaceEventsLineChart=FX,b.WorkspaceEventsTimeline=VX,b.WorkspaceFlowRunsApi=MM,b.WorkspaceFlowsApi=VM,b.WorkspaceLogsApi=AM,b.WorkspaceNotificationsApi=DM,b.WorkspaceSavedSearchesApi=BM,b.WorkspaceTaskRunsApi=OM,b.WorkspaceVariableCombobox=VT,b.WorkspaceVariablesApi=LM,b.WorkspaceWorkPoolQueuesApi=vM,b.WorkspaceWorkPoolWorkersApi=CV,b.WorkspaceWorkPoolsApi=SV,b.WorkspaceWorkQueuesApi=RV,b.all=CA,b.allButLastArrayItems=QE,b.applyColorModeClass=F7,b.areEmails=KZ,b.artifactSortOptions=dQ,b.artifactSortValues=oD,b.artifactTypeIconMap=py,b.artifactTypes=P1,b.asArray=As,b.asSingle=P6,b.assignTimezone=Tr,b.automationActionTypeLabels=VA,b.automationActionTypes=oY,b.automationTriggerEventPosture=kY,b.automationTriggerTemplateChecks=ZA,b.automationTriggerTemplates=MY,b.backgroundSubscriptionManager=pk,b.browserUtcOffset=CM,b.camelCase=LZ,b.canKey=EE,b.capitalize=Ka,b.ceil=ZE,b.choice=Wn,b.clearOldCacheKeys=VV,b.clearSelectedFilters=UZ,b.clone=IM,b.coinflip=Vb,b.colorModes=by,b.componentsKey=vD,b.copyToClipboard=q1,b.countDigits=x6,b.createApi=B7,b.createCan=a6,b.createObjectLevelCan=Th,b.createTuple=xo,b.createWorkspaceRouteRecords=bq,b.createWorkspaceRoutes=wq,b.customPartialSearch=Nh,b.dateFormat=fh,b.dateFunctions=Gn,b.dateNumericFormat=gh,b.dateTimeFormat=m1,b.dateTimeNumericFormat=f1,b.dateTimeNumericShortFormat=y1,b.daysInWeek=Db,b.daysInYear=nh,b.defaultArtifactSort=cQ,b.defaultBlockDocumentsSort=yQ,b.defaultDeploymentSort=Ak,b.defaultFlowRunSort=Mh,b.defaultFlowSort=Mk,b.defaultLogSort=mQ,b.defaultTaskRunSort=Fk,b.defaultVariableSort=aD,b.deleteItem=Sr,b.deploymentSortOptions=Bk,b.deploymentSortValues=cD,b.deploymentStatus=A1,b.deploymentStatusEvent=SY,b.deploymentsListSubscriptionKey=YZ,b.excludeScheduledSavedSearch=bA,b.fieldRules=Gs,b.filterRangePastWeek=Eh,b.flip=s7,b.floor=Wc,b.flowRunSortValues=uD,b.flowRunStorage=sI,b.flowSortOptions=lD,b.flowSortValues=iD,b.flowsListSubscriptionKey=ZZ,b.formatDate=Io,b.formatDateInTimezone=wh,b.formatDateNumeric=Kj,b.formatDateTime=cy,b.formatDateTimeNumeric=it,b.formatDateTimeRelative=_h,b.formatDateTimeShortNumeric=qj,b.formatRouteDate=SM,b.formatTime=g1,b.formatTimeNumeric=_1,b.formatTimeShortNumeric=Zj,b.getApiErrorMessage=wt,b.getAuthorizationHeaders=RE,b.getAutomationTriggerTemplate=YA,b.getAutomationTriggerTemplateLabel=jA,b.getCacheKey=Sh,b.getColorModeClass=ky,b.getDefaultAutomationTriggerValue=RSe,b.getDefaultNotificationBody=vX,b.getDefaultNotificationSubject=WX,b.getDefaultValueForAction=bSe,b.getDefaultValueForSendNotification=LX,b.getPrefectBaseUrl=SE,b.getPrefectUIHeaders=CE,b.getProcessTypeLabel=yA,b.getQueryForFlowRunsFilter=OQ,b.getScheduleType=lV,b.getSchemaDefaultValues=Jc,b.getSchemaDefaults=XV,b.getSchemaPropertiesWithoutDefaults=UV,b.getSchemaPropertyAttrs=lB,b.getSchemaPropertyComponentWithDefaultProps=uB,b.getSchemaPropertyDefaultValidators=dB,b.getSchemaPropertyDefaultValue=eg,b.getSchemaPropertyPlaceholder=cB,b.getSchemaPropertyRequestValue=TT,b.getSchemaPropertyResponseValue=tg,b.getSchemaRequestValue=iB,b.getSchemaResponseValue=kT,b.getSchemaValueAllOfDefinition=mB,b.getSchemaValueAllOfDefinitionIndex=fB,b.getSchemaValueAnyOfDefinition=hB,b.getSchemaValueAnyOfDefinitionIndex=xT,b.getSchemaValueDefinition=ng,b.getSchemaValueDefinitionIndex=ST,b.getSchemaValuesWithDefaults=WV,b.getSchemaValuesWithDefaultsJson=X7,b.getSchemaWithoutDefaults=GV,b.getStateTypeStyles=$Z,b.groupBy=M6,b.hasProperty=l7,b.hasString=k1,b.hoursInDay=TM,b.httpStatus=vE,b.httpStatusCode=Ze,b.httpStatusCodeRange=WE,b.inject=Ty,b.injectFromSelfOrAncestor=LV,b.intersects=N6,b.intervalOptionsToSecondsMap=Us,b.intervals=nr,b.isAfter=JZ,b.isAfterOrEqual=eY,b.isApiErrorResponse=FV,b.isArray=Df,b.isArrayOfMaps=Ck,b.isArtifactSortValue=uQ,b.isArtifactType=gK,b.isAutomationAction=bk,b.isAutomationActionResponse=wY,b.isAutomationActionType=MA,b.isAutomationTrigger=TY,b.isAutomationTriggerEvent=qa,b.isAutomationTriggerEventPosture=vA,b.isAutomationTriggerEventResponse=OA,b.isAutomationTriggerTemplate=zA,b.isBefore=QZ,b.isBeforeOrEqual=qZ,b.isBlockDocumentCreateNamed=ZM,b.isBlockDocumentReferenceValue=dy,b.isBlockDocumentSortValue=vk,b.isBlockDocumentValue=bh,b.isBoolean=Y1,b.isCacheKey=MV,b.isCloudConfig=BE,b.isColorMode=Q1,b.isConstantTaskInputResponse=HM,b.isCreateAutomationActionQuery=FA,b.isCreateAutomationTriggerQuery=IA,b.isCronSchedule=gd,b.isCronScheduleRequest=f7,b.isCronScheduleResponse=UM,b.isDate=Ws,b.isDatePartShort=_Q,b.isDateRangeAroundResponse=R1,b.isDateRangePeriodResponse=C1,b.isDateRangeRangeResponse=S1,b.isDateRangeResponse=WM,b.isDateRangeSpanResponse=x1,b.isDefined=qp,b.isDeploymentSortValue=Dk,b.isDeploymentStatus=nV,b.isDeploymentStatusEvent=By,b.isDeploymentStatusTrigger=XA,b.isEmail=gk,b.isEmptyArray=Mi,b.isEmptyObject=Di,b.isEmptyString=zr,b.isEventsFilterOrderOption=TQ,b.isFlowRunSortValue=Ik,b.isFlowRunStateTrigger=UA,b.isFlowSortValue=Vk,b.isFunction=OV,b.isGreaterThan=Ny,b.isGreaterThanOrEqual=_k,b.isHandle=NA,b.isIntervalSchedule=_d,b.isIntervalScheduleRequest=y7,b.isIntervalScheduleResponse=GM,b.isInvalidDate=hd,b.isJson=Qa,b.isKnownArtifactType=Oy,b.isLessThan=EA,b.isLessThanOrEqual=Td,b.isLogSortValue=Lk,b.isMapOfArrays=Rk,b.isMarkdownArtifactData=wK,b.isNonEmptyArray=S6,b.isNotNullish=xE,b.isNull=TE,b.isNullish=pt,b.isNumber=wd,b.isNumberArray=Bf,b.isOldCacheKey=K1,b.isOperation=rV,b.isParameterTaskInputResponse=$M,b.isPausedStateType=Nb,b.isPendingStateType=VE,b.isPrefectResourceRole=kV,b.isRRuleSchedule=xh,b.isRRuleScheduleRequest=m7,b.isRRuleScheduleResponse=XM,b.isRecord=vt,b.isRequired=Qn,b.isRequiredIf=PA,b.isResultArtifactData=_K,b.isRouterTab=bQ,b.isRunningStateType=Mb,b.isSame=C6,b.isSameFilter=Ph,b.isSchedule=iV,b.isSchemaValues=Uk,b.isServerStateType=Rb,b.isServerWorkPoolStatus=fV,b.isSnakeCase=wk,b.isStateType=_6,b.isString=ut,b.isStringArray=Jp,b.isStuckStateType=Eb,b.isTableArtifactData=eD,b.isTaskRunSortValue=Ok,b.isTaskRunTaskInputResponse=zM,b.isTerminalStateType=ga,b.isTypeRequired=u7,b.isValidEmailAddress=fA,b.isValidIf=RA,b.isValidJson=ek,b.isValidJsonRecord=J1,b.isVariableSortValue=pQ,b.isWithMessageArgs=SA,b.isWorkPoolStatus=mV,b.isWorkPoolStatusEvent=Iy,b.isWorkPoolStatusTrigger=HA,b.isWorkQueueStatusEvent=Fy,b.isWorkQueueStatusTrigger=$A,b.isWorkspaceEvent=wy,b.kebabCase=mA,b.lastItemInArray=KE,b.localization=Y,b.logLevel=I1,b.logLevelLabel=vV,b.mapEntries=FM,b.mapKeys=c7,b.mapStateNameToStateType=kd,b.mapStateTypeOrNameToStateName=dk,b.mapValues=xr,b.mapper=ee,b.maps=XB,b.maxTime=oN,b.merge=Bi,b.millisecondsInHour=vl,b.millisecondsInMinute=ja,b.millisecondsInSecond=rh,b.minTime=A6,b.minutesInHour=Xc,b.mocker=lg,b.mocks=tI,b.monthsInQuarter=Bb,b.monthsInYear=Ib,b.noScheduleFilter=wA,b.notificationStatus=N7,b.now=PM,b.omit=i7,b.oneWeekFilter=lk,b.oneWeekSavedSearch=ck,b.parseDate=Hj,b.parseDateNumeric=Qj,b.parseDateTime=zj,b.parseDateTimeNumeric=w1,b.parseDateTimeShortNumeric=Jj,b.parseRouteDate=e7,b.parseTime=$j,b.parseTimeNumeric=jj,b.parseTimeShortNumeric=Yj,b.parseUnknownJson=Zl,b.pendingStateType=ME,b.plugin=DCe,b.pluralize=hA,b.prefectEventPrefixes=j1,b.prefectResourceRoles=bV,b.prefectStateNameTypes=gA,b.prefectStateNames=Rh,b.prefectStateNamesWithoutScheduled=_A,b.quartersInYear=Fb,b.random=io,b.range=Ab,b.removeEmptyObjects=Tn,b.removeWhitespace=ik,b.repeat=If,b.resolve=pB,b.resolveSchemaPropertiesDefinitions=og,b.resolveSchemaPropertyDefinition=Lh,b.sameValue=Sb,b.schemaDefinitionsResolver=PB,b.schemaHas=Yc,b.schemaMetaResolver=EB,b.schemaPropertyComponentWithProps=bT,b.schemaPropertyServiceFactory=Ql,b.schemaV2Mapper=T1,b.schemaValuesBlockReferencesResolver=CT,b.secondsFromEpoch=r7,b.secondsInDay=Ai,b.secondsInHour=Vi,b.secondsInMinute=$r,b.secondsInMonth=Lb,b.secondsInQuarter=sN,b.secondsInWeek=Wl,b.secondsInYear=Ob,b.secondsToApproximateString=vs,b.secondsToClosestIntervalOption=fk,b.secondsToClosestIntervalValue=mk,b.secondsToString=Gj,b.selectedTimezone=md,b.separate=qE,b.serverWorkPoolStatus=V7,b.setTimezone=EM,b.shuffle=R6,b.snakeCase=Ry,b.some=E6,b.sortDates=ly,b.stateType=vc,b.stringify=rn,b.stringifyUnknownJson=jc,b.stuckStateTypes=AE,b.subscriptionIntervalKey=GD,b.systemDefaultSavedSearch=Ey,b.systemSavedSearches=kA,b.taskRunSortValues=dD,b.terminalStateType=Pb,b.timeFormat=sy,b.timeNumericFormat=yh,b.timeNumericShortFormat=iy,b.timeout=hk,b.timezoneIsUtc=t7,b.titleCase=jl,b.toDate=uy,b.toMap=za,b.toPercent=tk,b.toPluralString=Xs,b.toggle=Ff,b.unassignTimezone=wa,b.uniform=on,b.unique=ad,b.unsavedPartialSearch=uk,b.unsetTimezone=NM,b.uppercase=vZ,b.urlRegex=xA,b.useArtifact=Gy,b.useArtifactCollection=OD,b.useBlockDocument=Hy,b.useBlockDocumentFilter=CD,b.useBlockDocuments=LD,b.useBlockDocumentsFilter=PD,b.useBlockDocumentsFilterFromRoute=ED,b.useBlockSchema=zQ,b.useBlockSchemaFilter=Wy,b.useBlockSchemaForBlockType=tT,b.useBlockSchemasFilter=RD,b.useBlockSchemasFilterFromRoute=AQ,b.useBlockType=jQ,b.useBlockTypeBySlug=ZQ,b.useBlockTypeFilter=zk,b.useBlockTypesFilter=Zk,b.useBlockTypesFilterFromRoute=MQ,b.useCan=Ne,b.useColorMode=DV,b.useComponent=zt,b.useCreateAutomationQueryParams=ACe,b.useDashboardSubscriptionOptions=WD,b.useDateRangeSelectValueFromRoute=nT,b.useDeployment=Ed,b.useDeploymentFilter=kD,b.useDeployments=Dh,b.useDeploymentsCount=qQ,b.useDeploymentsFilter=VD,b.useDeploymentsFilterFromRoute=qk,b.useEventsTimeInterval=qD,b.useFavicon=oT,b.useFilterPagination=$Q,b.useFlow=Fi,b.useFlowFilter=_D,b.useFlowRun=jr,b.useFlowRunCompleteness=rT,b.useFlowRunFavicon=eq,b.useFlowRunFilter=wD,b.useFlowRunStorage=rre,b.useFlowRuns=Yl,b.useFlowRunsAverageLateness=XD,b.useFlowRunsCount=Ja,b.useFlowRunsFilter=Uy,b.useFlowRunsFilterFromRoute=BD,b.useFlowRunsHistoryFilter=FD,b.useFlowRunsHistoryFilterFromRoute=GQ,b.useFlows=zy,b.useFlowsCount=tq,b.useFlowsFilter=MD,b.useFlowsFilterFromRoute=Kk,b.useForm=ka,b.useInterval=Rr,b.useJsonRecord=nq,b.useLastFlowRun=aT,b.useLogsSort=sT,b.useNextFlowRun=HD,b.useNextFlowRunByFlow=UD,b.useOptionalPropertiesSchema=$D,b.useOptionalRules=rq,b.usePaginatedFlowRuns=iT,b.usePaginatedSubscription=Zy,b.usePaginatedTaskRuns=aq,b.usePagination=Kc,b.useReactiveField=zD,b.useReactiveForm=Yy,b.useRecentFlowRunsFilter=ID,b.useRecentFlowRunsFilterFromRoute=XQ,b.useSchemaValidationV2=Bd,b.useScrollLinking=cq,b.useShowModal=qe,b.useStateFilter=Hk,b.useStatePolling=Nd,b.useStorage=aI,b.useSubscriptions=eT,b.useTabs=uq,b.useTagFilter=Pd,b.useTaskRun=$s,b.useTaskRunFavicon=dq,b.useTaskRunFilter=bD,b.useTaskRunResult=ZD,b.useTaskRuns=YD,b.useTaskRunsCount=Oi,b.useTaskRunsFilter=Yk,b.useTaskRunsFilterFromRoute=vQ,b.useTaskRunsHistory=KD,b.useThemeTokens=mq,b.useTimeScopedWorkspaceEventsFilter=Pq,b.useVariable=yq,b.useVariableFilter=AD,b.useVariables=lT,b.useVariablesFilter=DD,b.useWorkPool=Ky,b.useWorkPoolById=cT,b.useWorkPoolFilter=$k,b.useWorkPoolLastPolled=uT,b.useWorkPoolQueue=pT,b.useWorkPoolQueueFilter=xD,b.useWorkPoolsCount=dT,b.useWorkPoolsFilter=ND,b.useWorkPoolsFilterFromRoute=IQ,b.useWorkQueueStatus=Li,b.useWorkspaceApi=se,b.useWorkspaceDashboardFilterFromRoute=gq,b.useWorkspaceEvent=kq,b.useWorkspaceEventResource=rr,b.useWorkspaceEventResourceId=xq,b.useWorkspaceEventsFilter=hT,b.useWorkspaceEventsFilterFromRoute=Rq,b.useWorkspaceEventsSubscription=Tq,b.useWorkspaceFlowRunDashboardFilterFromRoute=_q,b.useWorkspaceRoutes=Se,b.utcOffsetMilliseconds=RM,b.utcOffsetMinutes=n7,b.utcTimezone=b1,b.variableSortOptions=sD,b.variableSortValues=rD,b.vowels=sk,b.weightedNumber=YE,b.withMessage=yk,b.withProps=nt,b.withPropsWithoutExcluded=BV,b.withPropsWithoutExcludedFactory=IV,b.withQuery=Ii,b.withRedirect=XZ,b.workPoolStatus=gy,b.workPoolStatusEvent=EY,b.workPoolWorkerStatus=H1,b.workQueueStatusEvent=NY,b.workQueueSubscriptionKey=zZ,b.workQueuesListSubscriptionKey=jZ,b.workspaceApiKey=PV,b.workspaceFeatureFlags=r6,b.workspacePermissions=PE,b.workspaceRoutesKey=QD,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
1257
+ `.trim();function vX(t){switch(t){case"deployment-status":return kSe;case"flow-run-state":return SSe;case"work-pool-status":return TSe;case"work-queue-status":return xSe;case"custom":return CSe;default:const e=t;throw new Error(`Default notification body missing for template type: ${e}`)}}function WX(t){switch(t){case"deployment-status":return"Prefect deployment '{{ flow.name }}/{{ deployment.name }}' has entered status '{{ deployment.status }}'";case"flow-run-state":return"Prefect flow run notification";case"work-pool-status":return"Prefect work pool '{{ work_pool.name }}' has entered status '{{ work_pool.status }}'";case"work-queue-status":return"Prefect work queue '{{ work_queue.name }}' has entered status '{{ work_queue.status }}'";case"custom":return"A Prefect automation '{{ automation.name }}' was triggered";default:const e=t;throw new Error(`Default notification subject missing for template type: ${e}`)}}function RSe(t){return PSe[t]}const PSe={"deployment-status":ee.map("DeploymentStatusTrigger",{deployments:[],posture:"Reactive",status:"not_ready",time:30},"AutomationTrigger"),"flow-run-state":ee.map("FlowRunStateTrigger",{posture:"Reactive",flowIds:[],tags:[],states:[],time:30},"AutomationTrigger"),"work-pool-status":ee.map("WorkPoolStatusTrigger",{workPools:[],posture:"Reactive",status:"not_ready",time:30},"AutomationTrigger"),"work-queue-status":ee.map("WorkQueueStatusTrigger",{workPools:[],workQueues:[],status:"not_ready",posture:"Reactive",time:30},"AutomationTrigger"),custom:new $o({posture:"Reactive",match:{"prefect.resource.id":["prefect.flow-run.*"]},forEach:["prefect.resource.id"],expect:["prefect.flow-run.Failed"],threshold:5,within:60})},ESe=n.defineComponent({__name:"AutomationActionChangeFlowRunStateInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>vc.map(i=>({label:Ka(i),value:i.toUpperCase()}))),s=n.computed({get(){return o.action.state},set(i){r("update:action",{...o.action,state:i})}}),l=n.computed({get(){return o.action.name??""},set(i){r("update:action",{...o.action,name:i})}}),c=n.computed(()=>{const i=s.value??"";return Ka(i.toLowerCase())}),u=n.computed({get(){return o.action.message??""},set(i){r("update:action",{...o.action,message:i})}});return(i,d)=>{const p=n.resolveComponent("p-select"),h=n.resolveComponent("p-label"),f=n.resolveComponent("p-text-input"),y=n.resolveComponent("p-textarea"),_=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(_,{class:"automation-action-change-flow-run-state-input"},{default:n.withCtx(()=>[n.createVNode(h,{label:"State"},{default:n.withCtx(()=>[n.createVNode(p,{modelValue:s.value,"onUpdate:modelValue":d[0]||(d[0]=w=>s.value=w),options:a.value},null,8,["modelValue","options"])]),_:1}),n.createVNode(h,{label:"Name"},{default:n.withCtx(()=>[n.createVNode(f,{modelValue:l.value,"onUpdate:modelValue":d[1]||(d[1]=w=>l.value=w),placeholder:c.value},null,8,["modelValue","placeholder"])]),_:1}),n.createVNode(h,{label:"Message"},{default:n.withCtx(()=>[n.createVNode(y,{modelValue:u.value,"onUpdate:modelValue":d[2]||(d[2]=w=>u.value=w),placeholder:"State changed by Automation <id>"},null,8,["modelValue"])]),_:1})]),_:1})}}}),NSe=n.defineComponent({__name:"AutomationCombobox",props:{selected:{},emptyMessage:{},allowUnset:{type:Boolean},multiple:{type:Boolean}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>o.multiple||Array.isArray(o.selected)),s=n.computed({get(){return o.selected??null},set(d){d?a.value?r("update:selected",Array.isArray(d)?d:[d]):r("update:selected",d):r("update:selected",null)}}),l=se(),c=O.useSubscription(l.automations.getAutomations),u=n.computed(()=>c.response??[]),i=n.computed(()=>{const d=u.value.map(p=>({value:p.id,label:p.name}));return o.allowUnset&&d.unshift({value:null,label:"None"}),d});return(d,p)=>(n.openBlock(),n.createBlock(n.unref(B.PCombobox),n.mergeProps({modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=h=>s.value=h)},{options:i.value,multiple:a.value,emptyMessage:d.emptyMessage}),{"combobox-options-empty":n.withCtx(()=>[n.createTextVNode(" No automations ")]),default:n.withCtx(h=>[n.renderSlot(d.$slots,"default",n.normalizeProps(n.guardReactiveProps(h)))]),option:n.withCtx(({option:h})=>[n.renderSlot(d.$slots,"option",{option:h})]),_:3},16,["modelValue"]))}}),XX=n.defineComponent({__name:"AutomationAutomationCombobox",props:{selected:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.selected},set(s){r("update:selected",s)}});return(s,l)=>(n.openBlock(),n.createBlock(NSe,{selected:a.value,"onUpdate:selected":l[0]||(l[0]=c=>a.value=c),"empty-message":"Infer Automation",class:"automation-automation-combobox"},{option:n.withCtx(({option:c})=>[c.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Automation ")],64)):n.createCommentVNode("",!0)]),_:1},8,["selected"]))}}),MSe=n.defineComponent({__name:"AutomationActionPauseAutomationInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.automationId??null},set(s){r("update:action",{...o.action,automationId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-automation-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Automation To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(XX,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),gw=n.defineComponent({__name:"AutomationDeploymentCombobox",props:{selected:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.selected??null},set(s){r("update:selected",s)}});return(s,l)=>(n.openBlock(),n.createBlock(Xg,{selected:a.value,"onUpdate:selected":l[0]||(l[0]=c=>a.value=c),"allow-unset":"","empty-message":"Infer Deployment",class:"automation-deployment-combobox"},{option:n.withCtx(({option:c})=>[c.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Deployment ")],64)):n.createCommentVNode("",!0)]),_:1},8,["selected"]))}}),VSe=n.defineComponent({__name:"AutomationActionPauseDeploymentInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.deploymentId??null},set(s){r("update:action",{...o.action,deploymentId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-deployment-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Deployment To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(gw,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),_w=n.defineComponent({__name:"AutomationWorkPoolCombobox",props:{selected:{}},emits:["update:selected"],async setup(t,{emit:e}){let o,r;const a=t,s=e,l=se(),c=Array.isArray(a.selected),u=([o,r]=n.withAsyncContext(()=>O.useSubscription(l.workPools.getWorkPools,[{}]).promise()),o=await o,r(),o),i=n.computed(()=>u.response.filter(f=>!!f.status));function d(f){return f instanceof fy}const p=n.computed(()=>i.value.map(y=>({value:y.name,label:y.name}))),h=n.computed({get(){const _=As(a.selected).map(T=>i.value.find(S=>S.id===T)).filter(d).map(T=>T.name);if(c)return _;const[w=null]=_;return w},set(f){const w=As(f).map(S=>i.value.find(x=>x.name===S)).filter(d).map(S=>S.id);if(c){s("update:selected",w);return}const[T=null]=w;return s("update:selected",T)}});return(f,y)=>{const _=n.resolveComponent("p-combobox");return n.openBlock(),n.createBlock(_,{modelValue:h.value,"onUpdate:modelValue":y[0]||(y[0]=w=>h.value=w),multiple:n.unref(c),"empty-message":"Infer Work Pool",options:p.value},{option:n.withCtx(({option:w})=>[w.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Work Pool ")],64)):n.createCommentVNode("",!0)]),_:1},8,["modelValue","multiple","options"])}}}),ASe=n.defineComponent({__name:"AutomationActionPauseWorkPoolInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workPoolId??null},set(s){r("update:action",{...o.action,workPoolId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-work-pool-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Pool To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(_w,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),D2=n.defineComponent({__name:"AutomationWorkQueueCombobox",props:{selected:{},workPoolIds:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>{var l;return(l=o.workPoolIds)!=null&&l.length?{id:o.workPoolIds}:{}}),s=n.computed({get(){return o.selected},set(l){r("update:selected",l)}});return(l,c)=>(n.openBlock(),n.createBlock(x2,{selected:s.value,"onUpdate:selected":c[0]||(c[0]=u=>s.value=u),"empty-message":"Infer Work Queue",class:"automation-work-queue-combobox","work-pool-filter":a.value},{option:n.withCtx(({option:u})=>[u.value===null?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(" Infer Work Queue ")],64)):n.createCommentVNode("",!0)]),_:1},8,["selected","work-pool-filter"]))}}),DSe=n.defineComponent({__name:"AutomationActionPauseWorkQueueInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workQueueId??null},set(s){r("update:action",{...o.action,workQueueId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-pause-work-queue-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Queue To Pause"},{default:n.withCtx(({id:i})=>[n.createVNode(D2,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),BSe=n.defineComponent({__name:"AutomationActionResumeAutomationInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.automationId??null},set(s){r("update:action",{...o.action,automationId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-automation-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Automation To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(XX,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),ISe=n.defineComponent({__name:"AutomationActionResumeDeploymentInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.deploymentId??null},set(s){r("update:action",{...o.action,deploymentId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-deployment-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Deployment To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(gw,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d)},null,8,["id","selected"])]),_:1})]),_:1})}}}),FSe=n.defineComponent({__name:"AutomationActionResumeWorkPoolInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workPoolId??null},set(s){r("update:action",{...o.action,workPoolId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-work-pool-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Pool To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(_w,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),OSe=n.defineComponent({__name:"AutomationActionResumeWorkQueueInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return o.action.workQueueId??null},set(s){r("update:action",{...o.action,workQueueId:s})}});return(s,l)=>{const c=n.resolveComponent("p-label"),u=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(u,{class:"automation-action-resume-work-queue-input"},{default:n.withCtx(()=>[n.createVNode(c,{label:"Work Queue To Resume"},{default:n.withCtx(({id:i})=>[n.createVNode(D2,{id:i,selected:a.value,"onUpdate:selected":l[0]||(l[0]=d=>a.value=d),"allow-unset":""},null,8,["id","selected"])]),_:1})]),_:1})}}}),LSe={class:"automation-action-run-deployment-parameters__header"},vSe=n.createElementVNode("h3",{class:"deployment-form__heading"}," Parameters ",-1),WSe=n.defineComponent({__name:"AutomationActionRunDeploymentParameters",props:{deployment:{},values:{}},emits:["update:values"],setup(t,{emit:e}){const o=t,r=e,a=n.computed({get(){return vt(o.values)?o.values:{}},set(u){r("update:values",u)}}),{errors:s,validate:l}=Bd(()=>o.deployment.parameterOpenApiSchemaV2,a),c=async(u,i,{signal:d,source:p,previousValue:h})=>{if(u!==h&&(p==="validator"&&await hk(5e3,d),!d.aborted))return await l()};return O.useValidation(a,c),(u,i)=>{const d=n.resolveComponent("p-overflow-menu-item"),p=n.resolveComponent("p-icon-button-menu"),h=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(h,{class:"automation-action-run-deployment-parameters"},{default:n.withCtx(()=>[n.createVNode(n.unref(Dd),{values:a.value,"onUpdate:values":i[0]||(i[0]=f=>a.value=f),schema:u.deployment.parameterOpenApiSchemaV2,kinds:["none","json","jinja","workspace_variable"],errors:n.unref(s)},{default:n.withCtx(({kind:f,setKind:y})=>[n.createElementVNode("div",LSe,[vSe,n.createVNode(p,{small:""},{default:n.withCtx(()=>[f!=="none"?(n.openBlock(),n.createBlock(d,{key:0,label:"Use form input",onClick:_=>y("none")},null,8,["onClick"])):n.createCommentVNode("",!0),f!=="json"?(n.openBlock(),n.createBlock(d,{key:1,label:"Use JSON input",onClick:_=>y("json")},null,8,["onClick"])):n.createCommentVNode("",!0),f!=="jinja"?(n.openBlock(),n.createBlock(d,{key:2,label:"Use Jinja input",onClick:_=>y("jinja")},null,8,["onClick"])):n.createCommentVNode("",!0)]),_:2},1024)])]),_:1},8,["values","schema","errors"])]),_:1})}}}),XSe=n.defineComponent({__name:"AutomationActionRunDeploymentInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=se(),s=new Map,l=n.computed(()=>o.action.deploymentId??null),c=n.ref();async function u(y){if(!ut(y))return;c.value=await a.deployments.getDeployment(y);const _=d(y)??{...c.value.parameters};r("update:action",{...o.action,deploymentId:y,parameters:_})}const i=n.computed({get(){return o.action.parameters??{}},set(y){p(l.value,y),r("update:action",{...o.action,parameters:y})}});function d(y){return y!==null?s.get(y)??null:null}function p(y,_){y!==null&&_!==null&&s.set(y,_)}const h=n.ref(rn(o.action.jobVariables??{}));n.watch(o.action,()=>h.value=rn(o.action.jobVariables??{}));function f(y){h.value=y;try{const _=JSON.parse(y);r("update:action",{...o.action,jobVariables:_})}catch{}}return n.onMounted(()=>{l.value&&(u(l.value),o.action.parameters&&p(l.value,o.action.parameters))}),(y,_)=>{const w=n.resolveComponent("p-label"),T=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(T,{class:"automation-action-run-deployment"},{default:n.withCtx(()=>[n.createVNode(w,{label:"Deployment To Run"},{default:n.withCtx(({id:S})=>[n.createVNode(gw,{id:S,selected:l.value,"onUpdate:selected":u},null,8,["id","selected"])]),_:1}),c.value&&c.value.id===l.value?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[(n.openBlock(),n.createBlock(WSe,{key:l.value,values:i.value,"onUpdate:values":_[0]||(_[0]=S=>i.value=S),deployment:c.value},null,8,["values","deployment"])),n.createVNode(jm,{"model-value":h.value,"onUpdate:modelValue":f},null,8,["model-value"])],64)):n.createCommentVNode("",!0)]),_:1})}}}),USe=n.defineComponent({__name:"AutomationActionSendNotificationInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=se(),s=async(x,R,P)=>await c(x,R,P),l=async(x,R,P)=>await c(x,R,P),c=async(x,R,{signal:P,source:M,previousValue:E})=>{if(x===E||(M==="validator"&&await hk(3e3,P),P.aborted))return;const D=await a.automations.validateTemplate(x);return D===!0?!0:D},u=n.computed({get(){return o.action.blockDocumentId??""},set(x){r("update:action",{...o.action,blockDocumentId:x})}}),{state:i,error:d}=O.useValidation(u,"Block",Qn("Block")),{blockDocument:p}=Hy(u),h=n.computed(()=>{var x;return((x=p.value)==null?void 0:x.isAnonymous)??!1}),f=n.computed({get(){return o.action.subject??""},set(x){r("update:action",{...o.action,subject:x})}}),{state:y,error:_}=O.useValidation(f,"Subject",[Qn("Subject"),s]),w=n.computed({get(){return o.action.body??""},set(x){r("update:action",{...o.action,body:x})}}),{state:T,error:S}=O.useValidation(w,"Body",[Qn("Body"),l]);return(x,R)=>{const P=n.resolveComponent("p-label"),M=n.resolveComponent("p-message"),E=n.resolveComponent("p-code-input"),D=n.resolveComponent("p-code"),v=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(v,{class:"automation-action-send-notification"},{default:n.withCtx(()=>[n.createVNode(P,{label:"Block",state:n.unref(i),message:n.unref(d)},{default:n.withCtx(()=>[n.createVNode(GT,{modelValue:u.value,"onUpdate:modelValue":R[0]||(R[0]=$=>u.value=$),state:n.unref(i),capability:"notify",required:"","use-modal":""},null,8,["modelValue","state"])]),_:1},8,["state","message"]),h.value?(n.openBlock(),n.createBlock(M,{key:0,info:""},{default:n.withCtx(()=>[n.createTextVNode(" This notification action is using an anonymous block. This is most likely because it was migrated from an existing notification. ")]),_:1})):n.createCommentVNode("",!0),n.createVNode(P,{label:"Subject",state:n.unref(y),message:n.unref(_)},{default:n.withCtx(()=>[n.createVNode(E,{modelValue:f.value,"onUpdate:modelValue":R[1]||(R[1]=$=>f.value=$),state:n.unref(y),lang:"jinja"},null,8,["modelValue","state"])]),_:1},8,["state","message"]),n.createVNode(P,{label:"Body",state:n.unref(T),message:n.unref(S)},{default:n.withCtx(()=>[n.createVNode(E,{modelValue:w.value,"onUpdate:modelValue":R[2]||(R[2]=$=>w.value=$),state:n.unref(T),rows:"5",lang:"jinja"},null,8,["modelValue","state"])]),_:1},8,["state","message"]),n.createVNode(M,{info:""},{default:n.withCtx(()=>[n.createTextVNode(" In addition to any fields present on the triggering event, the following objects can be used in notification templates: "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("flow")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("deployment")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("flow_run")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("work_pool")]),_:1}),n.createTextVNode(", "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("work_queue")]),_:1}),n.createTextVNode(", and "),n.createVNode(D,{inline:""},{default:n.withCtx(()=>[n.createTextVNode("metric")]),_:1}),n.createTextVNode(". ")]),_:1})]),_:1})}}}),GSe=n.defineComponent({__name:"AutomationActionInput",props:{action:{}},emits:["update:action"],setup(t,{emit:e}){const o=t,r=e,a=n.computed(()=>{switch(o.action.type){case"change-flow-run-state":return nt(ESe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"run-deployment":return nt(XSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-deployment":return nt(VSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-deployment":return nt(ISe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-work-pool":return nt(ASe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-work-pool":return nt(FSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-work-queue":return nt(DSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-work-queue":return nt(OSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"pause-automation":return nt(MSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"resume-automation":return nt(BSe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"send-notification":return nt(USe,{action:o.action,"onUpdate:action":l=>r("update:action",l)});case"cancel-flow-run":case"suspend-flow-run":case"do-nothing":return null;case void 0:throw new Error("AutomationActionInput.vue action.type is undefined");default:const s=o.action;throw new Error(`AutomationActionInput.vue missing case for action type: ${s.type}`)}});return(s,l)=>a.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(a.value.component),n.mergeProps({key:0},a.value.props,{class:"automation-action-input"}),null,16)):n.createCommentVNode("",!0)}}),HSe={class:"automation-action-description-change-flow-run-state"},$Se=n.defineComponent({__name:"AutomationActionDescriptionChangeFlowRunState",props:{action:{}},setup(t){const e=t,o=n.computed(()=>({type:ee.map("ServerStateType",e.action.state,"StateType"),name:dk(e.action.name??e.action.state)}));return(r,a)=>(n.openBlock(),n.createElementBlock("div",HSe,[n.createTextVNode(" Change the state of the flow run inferred from the triggering event to "),n.createVNode(Fn,{state:o.value},null,8,["state"])]))}}),zSe={class:"automation-action-description-default"},jSe=n.defineComponent({__name:"AutomationActionDescriptionDefault",props:{action:{}},setup(t){return(e,o)=>(n.openBlock(),n.createElementBlock("div",zSe,n.toDisplayString(n.unref(VA)[e.action.type]),1))}}),ZSe=n.defineComponent({__name:"AutomationIconText",props:{automationId:{}},setup(t){const e=t,o=se(),r=Se(),a=O.useSubscription(o.automations.getAutomation,[e.automationId]),s=n.computed(()=>{var l;return(l=a.response)==null?void 0:l.name});return(l,c)=>{const u=n.resolveComponent("p-icon-text"),i=n.resolveComponent("p-link");return n.openBlock(),n.createBlock(i,{to:n.unref(r).automation(l.automationId),class:"automation-icon-text"},{default:n.withCtx(()=>[n.createVNode(u,{icon:"Automation"},{default:n.withCtx(()=>[n.createElementVNode("span",null,n.toDisplayString(s.value),1)]),_:1})]),_:1},8,["to"])}}}),YSe={class:"automation-action-description-pause-resume-automation"},KSe={key:1},QSe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeAutomation",props:{action:{}},setup(t){const e=t,o=n.computed(()=>e.action.type==="pause-automation"?"Pause":"Resume");return(r,a)=>(n.openBlock(),n.createElementBlock("div",YSe,[r.action.automationId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(o.value)+" automation: ",1),n.createVNode(ZSe,{"automation-id":r.action.automationId},null,8,["automation-id"])],64)):(n.openBlock(),n.createElementBlock("span",KSe,n.toDisplayString(o.value)+" automation inferred from the triggering event",1))]))}}),qSe={class:"automation-action-description-pause-resume-deployment"},JSe={key:1},eCe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeDeployment",props:{action:{}},setup(t){const e=t,o=n.computed(()=>e.action.type==="pause-deployment"?"Pause":"Resume");return(r,a)=>(n.openBlock(),n.createElementBlock("div",qSe,[r.action.deploymentId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(o.value)+" deployment: ",1),n.createVNode(ru,{"deployment-id":r.action.deploymentId},null,8,["deployment-id"])],64)):(n.openBlock(),n.createElementBlock("span",JSe,n.toDisplayString(o.value)+" deployment inferred from the triggering event",1))]))}}),tCe={class:"automation-action-description-pause-resume-work-pool"},nCe={key:1},oCe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeWorkPool",props:{action:{}},setup(t){const e=t,{workPool:o}=cT(()=>e.action.workPoolId),r=n.computed(()=>e.action.type==="pause-work-pool"?"Pause":"Resume");return(a,s)=>(n.openBlock(),n.createElementBlock("div",tCe,[a.action.workPoolId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.unref(o)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(r.value)+" work pool: ",1),n.createVNode(Xh,{"work-pool-name":n.unref(o).name},null,8,["work-pool-name"])],64)):n.createCommentVNode("",!0)],64)):(n.openBlock(),n.createElementBlock("span",nCe,n.toDisplayString(r.value)+" work pool inferred from the triggering event",1))]))}}),rCe={class:"automation-action-description-pause-resume-work-queue"},aCe={key:1},sCe=n.defineComponent({__name:"AutomationActionDescriptionPauseResumeWorkQueue",props:{action:{}},setup(t){const e=t,{workPoolQueue:o}=pT(()=>e.action.workQueueId),r=n.computed(()=>e.action.type==="pause-work-queue"?"Pause":"Resume");return(a,s)=>(n.openBlock(),n.createElementBlock("div",rCe,[a.action.workQueueId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.unref(o)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(r.value)+" work queue: ",1),n.createVNode(pw,{"work-queue-name":n.unref(o).name,"work-pool-name":n.unref(o).workPoolName},null,8,["work-queue-name","work-pool-name"])],64)):n.createCommentVNode("",!0)],64)):(n.openBlock(),n.createElementBlock("span",aCe,n.toDisplayString(r.value)+" work queue inferred from the triggering event",1))]))}}),iCe={class:"automation_action-description-run-deployment__deployment"},lCe={key:1},cCe=n.defineComponent({inheritAttrs:!1,__name:"AutomationActionDescriptionRunDeployment",props:{action:{}},setup(t){const{showModal:e,open:o,close:r}=qe(),{showModal:a,open:s,close:l}=qe();return(c,u)=>{const i=n.resolveComponent("p-button"),d=n.resolveComponent("p-code-highlight"),p=n.resolveComponent("p-modal");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("div",n.mergeProps({class:"automation-action-description-run-deployment"},c.$attrs),[c.action.deploymentId?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("span",iCe,[n.createTextVNode("Run deployment: "),n.createVNode(ru,{"deployment-id":c.action.deploymentId},null,8,["deployment-id"])]),n.createVNode(i,{size:"sm",onClick:n.unref(o)},{default:n.withCtx(()=>[n.createTextVNode(" Show parameters ")]),_:1},8,["onClick"]),c.action.jobVariables?(n.openBlock(),n.createBlock(i,{key:0,size:"sm",onClick:n.unref(s)},{default:n.withCtx(()=>[n.createTextVNode(" Show job variables ")]),_:1},8,["onClick"])):n.createCommentVNode("",!0)],64)):(n.openBlock(),n.createElementBlock("span",lCe,"Run deployment inferred from the triggering event"))],16),n.createVNode(p,{"show-modal":n.unref(e),"onUpdate:showModal":u[0]||(u[0]=h=>n.isRef(e)?e.value=h:null),title:"Parameters","auto-close":""},{cancel:n.withCtx(()=>[n.createVNode(i,{onClick:n.unref(r)},{default:n.withCtx(()=>[n.createTextVNode(" Close ")]),_:1},8,["onClick"])]),default:n.withCtx(()=>[n.createVNode(d,{text:n.unref(rn)(c.action.parameters),lang:"json"},null,8,["text"])]),_:1},8,["show-modal"]),n.createVNode(p,{"show-modal":n.unref(a),"onUpdate:showModal":u[1]||(u[1]=h=>n.isRef(a)?a.value=h:null),title:"Job Variables","auto-close":""},{cancel:n.withCtx(()=>[n.createVNode(i,{onClick:n.unref(l)},{default:n.withCtx(()=>[n.createTextVNode(" Close ")]),_:1},8,["onClick"])]),default:n.withCtx(()=>[n.createVNode(d,{text:n.unref(rn)(c.action.jobVariables),lang:"json"},null,8,["text"])]),_:1},8,["show-modal"])],64)}}}),uCe={class:"automation-action-description-suspend-cancel-flow-run"},dCe=n.defineComponent({__name:"AutomationActionDescriptionSuspendCancelFlowRun",props:{action:{}},setup(t){const e=t,o=n.computed(()=>e.action.type==="suspend-flow-run"?"Suspend":"Cancel");return(r,a)=>(n.openBlock(),n.createElementBlock("div",uCe,[n.createElementVNode("span",null,n.toDisplayString(o.value)+" flow run inferred from the triggering event",1)]))}}),pCe=n.defineComponent({__name:"AutomationActionDescription",props:{action:{}},setup(t){const e=t,o=n.computed(()=>{switch(e.action.type){case"pause-deployment":case"resume-deployment":return nt(eCe,{action:e.action});case"pause-work-queue":case"resume-work-queue":return nt(sCe,{action:e.action});case"change-flow-run-state":return nt($Se,{action:e.action});case"pause-work-pool":case"resume-work-pool":return nt(oCe,{action:e.action});case"pause-automation":case"resume-automation":return nt(QSe,{action:e.action});case"suspend-flow-run":case"cancel-flow-run":return nt(dCe,{action:e.action});case"run-deployment":return nt(cCe,{action:e.action});case"send-notification":return nt(jSe,{action:e.action});case"do-nothing":return null;default:const r=e.action;throw new Error(`AutomationActionDescription has no case for type: ${r.type}`)}});return(r,a)=>o.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(o.value.component),n.mergeProps({key:0},o.value.props,{class:"automation-action-description"}),null,16)):n.createCommentVNode("",!0)}}),hCe=n.defineComponent({__name:"AutomationTriggerDescription",props:{trigger:{}},setup(t){const e=t,o=n.computed(()=>{const r=YA(e.trigger);return jA(r)});return(r,a)=>{const s=n.resolveComponent("p-card");return n.openBlock(),n.createBlock(s,{class:"automation-trigger-description"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(o.value),1)]),_:1})}}}),tf=n.defineComponent({__name:"AutomationTriggerEventPostureSelect",props:{selected:{}},emits:["update:selected"],setup(t,{emit:e}){const o=t,r=e,a=[{label:"Enters",value:"Reactive"},{label:"Stays in",value:"Proactive"}],s=n.computed({get(){return o.selected},set(l){r("update:selected",l)}});return(l,c)=>{const u=n.resolveComponent("p-select");return n.openBlock(),n.createBlock(u,{modelValue:s.value,"onUpdate:modelValue":c[0]||(c[0]=i=>s.value=i),class:"automation-trigger-event-posture-select",options:a},null,8,["modelValue"])}}}),Mp=n.defineComponent({__name:"AutomationWithinInput",props:n.mergeModels({posture:{}},{time:{required:!0},timeModifiers:{}}),emits:["update:time"],setup(t){const e=n.useModel(t,"time"),o=t,{state:r,error:a,validate:s}=O.useValidation(e,"time",[(u,i,d)=>{switch(o.posture){case"Proactive":if(l(10)(u,i,d)!==!0)return"Time must be at least 10 seconds";break;case"Reactive":if(l(0)(u,i,d)!==!0)return"Time must be at least 0";break}return!0},c(30*Ai)]);n.watch(()=>o.posture,async()=>await s());function l(u){return(i,d)=>!B.isDefined(i)||i>=u?!0:`${d} must be greater than or equal to ${u}`}function c(u){return i=>!B.isDefined(i)||i<=u?!0:"Time cannot be greater than 30 days"}return(u,i)=>{const d=n.resolveComponent("p-label");return n.openBlock(),n.createBlock(d,{class:"automation-within-input",label:"For",state:n.unref(r),message:n.unref(a)},{label:n.withCtx(({id:p})=>[n.renderSlot(u.$slots,"label",{id:p})]),default:n.withCtx(({id:p})=>[n.createVNode(M2,{id:p,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=h=>e.value=h),state:n.unref(r),min:0},null,8,["id","modelValue","state"])]),_:3},8,["state","message"])}}}),mCe={class:"automation-trigger-custom-event-input__threshold-and-within"},fCe=["for"],yCe={class:"automation-trigger-custom-event-input__threshold-and-within-in-between"},gCe=["for"],_Ce={class:"automation-trigger-custom-event-input__evaluation-options-accordion-content"},UX=n.defineComponent({__name:"AutomationTriggerCustomInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),{EventResourceCombobox:o}=zt(),{state:r}=O.useValidation(()=>e.value.threshold,"Threshold",[u,i(0)]);function a(d){if(d.length===0){delete e.value.match["prefect.resource.id"];return}e.value.match["prefect.resource.id"]=d}function s(d){if(pt(d)){e.value.expect=[];return}e.value.expect=B.asArray(d)}function l(d){if(pt(d)){e.value.after=[];return}e.value.after=B.asArray(d)}function c(d){if(d.length===0){delete e.value.matchRelated["prefect.resource.id"];return}e.value.matchRelated["prefect.resource.id"]=d}function u(d,p){return pt(d)||Mi(d)||zr(d)||hd(d)?`${p} is required`:!0}function i(d){return(p,h)=>!qp(p)||p>d?!0:`${h} must be greater than ${d}`}return(d,p)=>{const h=n.resolveComponent("p-radio-group"),f=n.resolveComponent("p-label"),y=n.resolveComponent("p-number-input"),_=n.resolveComponent("p-accordion"),w=n.resolveComponent("p-form");return n.openBlock(),n.createBlock(w,null,{default:n.withCtx(()=>[n.createVNode(f,{label:"When I"},{default:n.withCtx(()=>[n.createVNode(h,{modelValue:e.value.posture,"onUpdate:modelValue":p[0]||(p[0]=T=>e.value.posture=T),class:"automation-trigger-custom-event-input__posture-radio-group mt-2",options:[{value:"Reactive",label:"Observe"},{value:"Proactive",label:"Don't observe"}]},null,8,["modelValue"])]),_:1}),n.createVNode(f,{label:"Any event matching"},{default:n.withCtx(()=>[n.createVNode(mw,{selected:e.value.expect,multiple:"","onUpdate:selected":s},null,8,["selected"])]),_:1}),n.createVNode(f,{label:"From the following resources"},{default:n.withCtx(()=>[n.createVNode(n.unref(o),{selected:e.value.match["prefect.resource.id"]??[],multiple:"","onUpdate:selected":p[1]||(p[1]=T=>a(n.unref(B.asArray)(T??[])))},null,8,["selected"])]),_:1}),n.createElementVNode("div",null,[n.createElementVNode("div",mCe,[n.createVNode(f,{state:n.unref(r),message:n.unref(r).error,label:"Threshold",class:"automation-trigger-custom-event-input__threshold-input"},{label:n.withCtx(({id:T})=>[n.createElementVNode("label",{class:"sr-only",for:T},"Threshold",8,fCe)]),default:n.withCtx(({id:T})=>[n.createVNode(y,{id:T,modelValue:e.value.threshold,"onUpdate:modelValue":p[2]||(p[2]=S=>e.value.threshold=S),min:"1",state:n.unref(r)},null,8,["id","modelValue","state"])]),_:1},8,["state","message"]),n.createElementVNode("span",yCe,n.toDisplayString(n.unref(B.toPluralString)("time",e.value.threshold))+" within",1),n.createVNode(Mp,{time:e.value.within,"onUpdate:time":p[3]||(p[3]=T=>e.value.within=T),posture:e.value.posture,class:"automation-trigger-custom-event-input__within-input"},{label:n.withCtx(({id:T})=>[n.createElementVNode("label",{class:"sr-only",for:T},"Within",8,gCe)]),_:1},8,["time","posture"])])]),n.createVNode(_,{sections:["Evaluation Options"],class:"automation-trigger-custom-event-input__evaluation-options-accordion"},{content:n.withCtx(()=>[n.createElementVNode("div",_Ce,[n.createVNode(f,{label:"Evaluate trigger only after observing an event matching"},{default:n.withCtx(()=>[n.createVNode(mw,{selected:e.value.after,multiple:"","onUpdate:selected":l},null,8,["selected"])]),_:1}),n.createVNode(f,{label:"Filter for events related to"},{default:n.withCtx(()=>[n.createVNode(n.unref(o),{selected:e.value.matchRelated["prefect.resource.id"]??[],multiple:"","onUpdate:selected":p[4]||(p[4]=T=>c(n.unref(B.asArray)(T??[])))},null,8,["selected"])]),_:1})])]),_:1})]),_:1})}}}),wCe={class:"automation-trigger-deployment-status__status"},bCe=n.defineComponent({__name:"AutomationTriggerDeploymentStatusInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"DeploymentStatusTrigger")},set(c){e.value=ee.map("DeploymentStatusTrigger",c,"AutomationTrigger")}}),r=O.usePatchRef(o,"deployments"),a=O.usePatchRef(o,"status"),s=O.usePatchRef(o,"time"),l=n.computed({get(){return o.value.posture},set(c){if(c==="Proactive"&&s.value===xd){o.value={...o.value,time:30,posture:c};return}o.value={...o.value,posture:c}}});return(c,u)=>{const i=n.resolveComponent("p-label"),d=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(d,null,{default:n.withCtx(()=>[n.createVNode(i,{label:"Deployments"},{default:n.withCtx(({id:p})=>[n.createVNode(gw,{id:p,selected:n.unref(r),"onUpdate:selected":u[0]||(u[0]=h=>n.isRef(r)?r.value=h:null),"empty-message":"All deployments","allow-unset":!1},null,8,["id","selected"])]),_:1}),n.createVNode(i,{label:"Deployment"},{default:n.withCtx(()=>[n.createElementVNode("div",wCe,[n.createVNode(tf,{selected:l.value,"onUpdate:selected":u[1]||(u[1]=p=>l.value=p)},null,8,["selected"]),n.createVNode(N2,{selected:n.unref(a),"onUpdate:selected":u[2]||(u[2]=p=>n.isRef(a)?a.value=p:null)},null,8,["selected"])])]),_:1}),l.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:0,time:n.unref(s),"onUpdate:time":u[3]||(u[3]=p=>n.isRef(s)?s.value=p:null),posture:l.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),kCe={class:"automation-trigger-flow-run-state-input__states"},TCe=n.defineComponent({__name:"AutomationTriggerFlowRunStateInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"FlowRunStateTrigger")},set(u){e.value=ee.map("FlowRunStateTrigger",u,"AutomationTrigger")}}),r=n.computed({get(){return o.value.posture},set(u){if(u==="Proactive"&&c.value===xd){o.value={...o.value,time:30,posture:u};return}o.value={...o.value,posture:u}}}),a=n.computed({get(){return o.value.flowIds},set(u){u.length>0&&(o.value={...o.value,flowIds:u,tags:[]}),o.value={...o.value,flowIds:u}}}),s=O.usePatchRef(o,"tags"),l=O.usePatchRef(o,"states"),c=O.usePatchRef(o,"time");return(u,i)=>{const d=n.resolveComponent("p-label"),p=n.resolveComponent("p-tags-input"),h=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(h,{class:"automation-trigger-flow-run-state-input"},{default:n.withCtx(()=>[n.createVNode(d,{label:"Flows"},{default:n.withCtx(({id:f})=>[n.createVNode(Qg,{id:f,selected:a.value,"onUpdate:selected":i[0]||(i[0]=y=>a.value=y),"empty-message":"All flows"},null,8,["id","selected"])]),_:1}),a.value.length===0?(n.openBlock(),n.createBlock(d,{key:0,label:"Flow Run Tags"},{default:n.withCtx(({id:f})=>[n.createVNode(p,{id:f,modelValue:n.unref(s),"onUpdate:modelValue":i[1]||(i[1]=y=>n.isRef(s)?s.value=y:null),"empty-message":"All tags"},null,8,["id","modelValue"])]),_:1})):n.createCommentVNode("",!0),n.createVNode(d,{label:"Flow Run"},{default:n.withCtx(()=>[n.createElementVNode("div",kCe,[n.createVNode(tf,{selected:r.value,"onUpdate:selected":i[2]||(i[2]=f=>r.value=f)},null,8,["selected"]),n.createVNode(Zu,{selected:n.unref(l),"onUpdate:selected":i[3]||(i[3]=f=>n.isRef(l)?l.value=f:null),multiple:"","empty-message":"Any state"},null,8,["selected"])])]),_:1}),r.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:1,time:n.unref(c),"onUpdate:time":i[4]||(i[4]=f=>n.isRef(c)?c.value=f:null),posture:r.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),xCe={class:"automation-trigger-work-pool-status-input__status"},SCe=n.defineComponent({__name:"AutomationTriggerWorkPoolStatusInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"WorkPoolStatusTrigger")},set(c){e.value=ee.map("WorkPoolStatusTrigger",c,"AutomationTrigger")}}),r=O.usePatchRef(o,"workPools"),a=O.usePatchRef(o,"status"),s=O.usePatchRef(o,"time"),l=n.computed({get(){return o.value.posture},set(c){if(c==="Proactive"&&s.value===xd){o.value={...o.value,time:30,posture:c};return}o.value={...o.value,posture:c}}});return(c,u)=>{const i=n.resolveComponent("p-label"),d=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(d,{class:"automation-trigger-work-pool-status-input"},{default:n.withCtx(()=>[n.createVNode(i,{label:"Work Pools"},{default:n.withCtx(({id:p})=>[n.createVNode(_w,{id:p,selected:n.unref(r),"onUpdate:selected":u[0]||(u[0]=h=>n.isRef(r)?r.value=h:null),"empty-message":"All work pools"},null,8,["id","selected"])]),_:1}),n.createVNode(i,{label:"Work Pool"},{default:n.withCtx(()=>[n.createElementVNode("div",xCe,[n.createVNode(tf,{selected:l.value,"onUpdate:selected":u[1]||(u[1]=p=>l.value=p)},null,8,["selected"]),n.createVNode(V2,{selected:n.unref(a),"onUpdate:selected":u[2]||(u[2]=p=>n.isRef(a)?a.value=p:null)},null,8,["selected"])])]),_:1}),l.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:0,time:n.unref(s),"onUpdate:time":u[3]||(u[3]=p=>n.isRef(s)?s.value=p:null),posture:l.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),CCe={class:"automation-trigger-work-queue-status-input__status"},RCe=n.defineComponent({__name:"AutomationTriggerWorkQueueStatusInput",props:{trigger:{required:!0},triggerModifiers:{}},emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),o=n.computed({get(){return ee.map("AutomationTrigger",e.value,"WorkQueueStatusTrigger")},set(u){e.value=ee.map("WorkQueueStatusTrigger",u,"AutomationTrigger")}}),r=O.usePatchRef(o,"workPools"),a=O.usePatchRef(o,"workQueues"),s=O.usePatchRef(o,"status"),l=O.usePatchRef(o,"time"),c=n.computed({get(){return o.value.posture},set(u){if(u==="Proactive"&&l.value===xd){o.value={...o.value,time:30,posture:u};return}o.value={...o.value,posture:u}}});return(u,i)=>{const d=n.resolveComponent("p-label"),p=n.resolveComponent("p-content");return n.openBlock(),n.createBlock(p,{class:"automation-trigger-work-queue-status-input"},{default:n.withCtx(()=>[n.createVNode(d,{label:"Work Pools"},{default:n.withCtx(({id:h})=>[n.createVNode(_w,{id:h,selected:n.unref(r),"onUpdate:selected":i[0]||(i[0]=f=>n.isRef(r)?r.value=f:null),"empty-message":"All work pools"},null,8,["id","selected"])]),_:1}),n.createVNode(d,{label:"Work Queues"},{default:n.withCtx(({id:h})=>[n.createVNode(D2,{id:h,selected:n.unref(a),"onUpdate:selected":i[1]||(i[1]=f=>n.isRef(a)?a.value=f:null),"empty-message":"All work queues","work-pool-ids":n.unref(r)},null,8,["id","selected","work-pool-ids"])]),_:1}),n.createVNode(d,{label:"Work Queue"},{default:n.withCtx(()=>[n.createElementVNode("div",CCe,[n.createVNode(tf,{selected:c.value,"onUpdate:selected":i[2]||(i[2]=h=>c.value=h)},null,8,["selected"]),n.createVNode(A2,{selected:n.unref(s),"onUpdate:selected":i[3]||(i[3]=h=>n.isRef(s)?s.value=h:null)},null,8,["selected"])])]),_:1}),c.value==="Proactive"?(n.openBlock(),n.createBlock(Mp,{key:0,time:n.unref(l),"onUpdate:time":i[4]||(i[4]=h=>n.isRef(l)?l.value=h:null),posture:c.value},null,8,["time","posture"])):n.createCommentVNode("",!0)]),_:1})}}}),PCe=n.defineComponent({__name:"AutomationTriggerEventInput",props:n.mergeModels({template:{}},{trigger:{required:!0},triggerModifiers:{}}),emits:["update:trigger"],setup(t){const e=n.useModel(t,"trigger"),{template:o}=t,r=n.computed(()=>{switch(o){case"deployment-status":return nt(bCe,{trigger:e.value,"onUpdate:trigger":a});case"flow-run-state":return nt(TCe,{trigger:e.value,"onUpdate:trigger":a});case"work-pool-status":return nt(SCe,{trigger:e.value,"onUpdate:trigger":a});case"work-queue-status":return nt(RCe,{trigger:e.value,"onUpdate:trigger":a});case"custom":return nt(UX,{trigger:e.value,"onUpdate:trigger":a});default:throw new Error(`AutomationTriggerEventInput does not support template: ${o}`)}});function a(s){e.value=s}return(s,l)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(r.value.component),n.mergeProps(r.value.props,{class:"automation-trigger-event-input"}),null,16))}}),ECe=n.defineComponent({__name:"AutomationsPageEmptyState",setup(t){const e=Ne(),o=Se();return(r,a)=>{const s=n.resolveComponent("p-button");return n.openBlock(),n.createBlock(n.unref(B.PEmptyState),{class:"automations-page-empty-state"},n.createSlots({icon:n.withCtx(()=>[n.createVNode(n.unref(B.PIcon),{icon:"Automation"})]),description:n.withCtx(()=>[n.createTextVNode(" Automations bring reactivity to your data stack and let you configure triggers and actions based on events. ")]),actions:n.withCtx(()=>[n.unref(e).create.automation?(n.openBlock(),n.createBlock(s,{key:0,primary:"","icon-append":"PlusIcon",to:n.unref(o).automationCreate()},{default:n.withCtx(()=>[n.createTextVNode(" Add Automation ")]),_:1},8,["to"])):n.createCommentVNode("",!0),n.createVNode(zo,{to:n.unref(Y).docs.automations},null,8,["to"])]),_:2},[n.unref(e).create.automation?{name:"heading",fn:n.withCtx(()=>[n.createTextVNode(" Create an automation to get started ")]),key:"0"}:void 0]),1024)}}}),NCe=n.defineComponent({__name:"AutomationToggle",props:{automation:{}},emits:["update"],setup(t,{emit:e}){const o=t,r=e,a=Ne(),s=se(),l=n.computed({get(){return!!o.automation.enabled},set(i){u(i)}}),c=n.reactive({pending:!1}),u=async i=>{c.pending=!0;try{await s.automations.enableAutomation(o.automation.id,i),B.showToast(Y.success.automationEnable(i),"success"),r("update")}catch(d){B.showToast(Y.error.automationToggle(i)),console.error(d)}finally{c.pending=!1}};return(i,d)=>n.unref(a).update.automation?(n.openBlock(),n.createBlock(n.unref(B.PToggle),{key:0,modelValue:l.value,"onUpdate:modelValue":d[0]||(d[0]=p=>l.value=p),state:c},null,8,["modelValue","state"])):n.createCommentVNode("",!0)}}),MCe=["href"],VCe=n.defineComponent({inheritAttrs:!1,__name:"AutomationMenu",props:{automation:{}},emits:["delete"],setup(t,{emit:e}){const o=t,r=e,a=Ne(),s=se(),l=Se(),{showModal:c,open:u}=qe();async function i(){try{await s.automations.deleteAutomation(o.automation.id),B.showToast(Y.success.automationDelete,"success"),r("delete")}catch(d){console.error(d);const p=wt(d,Y.error.automationDelete);B.showToast(p,"error")}}return(d,p)=>{const h=n.resolveComponent("p-overflow-menu-item"),f=n.resolveComponent("router-link"),y=n.resolveComponent("p-icon"),_=n.resolveComponent("p-icon-button-menu");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(_,n.mergeProps(d.$attrs,{class:"automation-menu"}),{default:n.withCtx(()=>[n.createVNode(Jn,{label:"Copy ID",item:d.automation.id},null,8,["item"]),n.createVNode(f,{to:n.unref(l).automationEdit(d.automation.id)},{default:n.withCtx(()=>[n.unref(a).update.automation?(n.openBlock(),n.createBlock(h,{key:0,label:"Edit"})):n.createCommentVNode("",!0)]),_:1},8,["to"]),n.unref(a).delete.automation?(n.openBlock(),n.createBlock(h,{key:0,label:"Delete",onClick:n.unref(u)},null,8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("a",{href:n.unref(Y).docs.automations,target:"_blank"},[n.createVNode(h,null,{default:n.withCtx(()=>[n.createTextVNode(" Documentation "),n.createVNode(y,{class:"user-menu__icon",icon:"ArrowTopRightOnSquareIcon"})]),_:1})],8,MCe),n.renderSlot(d.$slots,"default")]),_:3},16),n.createVNode(en,{showModal:n.unref(c),"onUpdate:showModal":p[0]||(p[0]=w=>n.isRef(c)?c.value=w:null),name:d.automation.name,label:"Automation",onDelete:i},null,8,["showModal","name"])],64)}}});function ACe(){const t=se(),{value:e}=O.useRouteQueryParam("actions",[OX],[]),{value:o}=O.useRouteQueryParam("from"),{value:r}=O.useRouteQueryParam("eventId"),{value:a}=O.useRouteQueryParam("occurred",O.DateRouteParam),{value:s}=O.useRouteQueryParam("flowId"),{value:l}=O.useRouteQueryParam("workPoolQueueId");async function c(){switch(o){case"event":return await i();case"flow":return await d();case"workPoolQueue":return await p();default:return null}}async function u(){const h=e.filter(bk);return h.length?h:await null}async function i(){if(!r)throw new Error("Failed creating automation trigger from event. Missing eventId query param.");if(!a)throw new Error("Failed creating automation trigger from event. Missing occurred query param.");const h=await t.events.getEvent(r,a);return ee.map("WorkspaceEvent",h,"AutomationTrigger")}async function d(){if(!s)throw new Error("Failed creating automation trigger from flow. Missing flowId query param.");const h=await t.flows.getFlow(s);return ee.map("Flow",h,"AutomationTrigger")}async function p(){if(!l)throw new Error("Failed creating automation trigger from work pool queue. Missing workPoolQueueId query param.");const h=await t.workQueues.getWorkQueue(l);return ee.map("WorkPoolQueue",h,"AutomationTrigger")}return{getTrigger:c,getActions:u}}if(typeof window>"u"){const t={};Object.assign(global,{window:t})}const DCe={install(t){t.use(B.ToastPlugin),VV()}},GX=t=>{const{value:e,isCustom:o}=e2();if(Di(t.query)&&o.value)try{const r=ee.map("SavedSearchFilter",e.value,"LocationQuery");return{...t,query:r}}catch(r){console.error(r)}return!0},BCe=n.defineComponent({expose:[],beforeRouteEnter:GX,beforeRouteUpdate:GX}),ICe=n.defineComponent({...BCe,__name:"RunsPageWithDefaultFilter",props:{component:{type:Function}},setup(t){const e=t,o=n.shallowRef(null);function r(a){return OV(a)}return n.watch(e.component,()=>{r(e.component)?e.component().then(a=>{o.value=a.default}):o.value=e.component},{immediate:!0}),(a,s)=>o.value!==null?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(o.value),{key:0})):n.createCommentVNode("",!0)}}),FCe=Object.freeze(Object.defineProperty({__proto__:null,default:ICe},Symbol.toStringTag,{value:"Module"}));b.ActivityChart=IT,b.Api=Af,b.Artifact=E1,b.ArtifactCard=tc,b.ArtifactCollection=jM,b.ArtifactCollections=iI,b.ArtifactCollectionsEmptyState=FT,b.ArtifactDataMarkdown=OT,b.ArtifactDataRaw=lI,b.ArtifactDataResult=LT,b.ArtifactDataUnknown=vT,b.ArtifactDataView=cg,b.ArtifactDescription=WT,b.ArtifactDetails=cI,b.ArtifactKeyIconText=ug,b.ArtifactMenu=uI,b.ArtifactResultCard=dg,b.ArtifactTimeline=pI,b.ArtifactTypeSelect=XT,b.Automation=LA,b.AutomationActionDescription=pCe,b.AutomationActionInput=GSe,b.AutomationMenu=VCe,b.AutomationToggle=NCe,b.AutomationTriggerCustomInput=UX,b.AutomationTriggerDescription=hCe,b.AutomationTriggerEvent=$o,b.AutomationTriggerEventInput=PCe,b.AutomationTriggerEventPostureSelect=tf,b.AutomationWithinInput=Mp,b.AutomationsPageEmptyState=ECe,b.BaseDefinitionRefString=wQ,b.BatchLookupError=Cb,b.BatchProcessor=$a,b.BetaBadge=UT,b.BlockCapabilityBlockDocumentInput=GT,b.BlockDocument=N1,b.BlockDocumentCard=hI,b.BlockDocumentCombobox=NT,b.BlockDocumentInput=sg,b.BlockDocumentKeyValue=mI,b.BlockDocumentMenu=fI,b.BlockDocumentSortValuesSortParam=pD,b.BlockDocumentsTable=yI,b.BlockIconText=fg,b.BlockSchema=M1,b.BlockSchemaCapabilities=Ad,b.BlockSchemaCapabilitySelect=rg,b.BlockSchemaCreateForm=PT,b.BlockSchemaEditForm=gI,b.BlockType=V1,b.BlockTypeCard=wI,b.BlockTypeCardLayout=HT,b.BlockTypeCardPreview=ag,b.BlockTypeList=ET,b.BlockTypeSelect=zT,b.BlockTypeSnippet=hg,b.BlocksPageEmptyState=_I,b.CodeBanner=bI,b.CollectionCardPreview=jT,b.CollectionItemCard=kI,b.CollectionsApi=GB,b.CollectionsList=TI,b.ColorModeSelect=xI,b.ColorModeSelectOption=yg,b.ConcurrencyLimitActiveRuns=SI,b.ConcurrencyLimitDetails=CI,b.ConcurrencyLimitMenu=Tg,b.ConcurrencyLimitResetModal=KT,b.ConcurrencyLimitV2Menu=tx,b.ConcurrencyLimitV2Toggle=nx,b.ConcurrencyLimitsCreateModal=xg,b.ConcurrencyLimitsPageEmptyState=QT,b.ConcurrencyLimitsTable=RI,b.ConcurrencyLimitsV2CreateModal=qT,b.ConcurrencyLimitsV2EmptyState=JT,b.ConcurrencyLimitsV2Table=EI,b.ConcurrencyLimitsV2UpdateModal=ex,b.ConcurrencyTableActiveSlots=ox,b.ConfirmDeleteModal=en,b.ConfirmDeleteModalWithSlot=NI,b.ConfirmStateChangeModal=Cg,b.ConstantTaskInput=cV,b.CopyOverflowMenuItem=Jn,b.CopyableWrapper=Wh,b.CronSchedule=kh,b.CronScheduleForm=sx,b.CronStringLengthError=KM,b.CumulativeTaskRunsCard=VI,b.DEFAULT_EVENT_TRIGGER_THRESHOLD=Sd,b.DEFAULT_EVENT_TRIGGER_WITHIN=xd,b.DashboardWorkPoolsCard=aF,b.DateInput=Vd,b.DateRangeInput=sF,b.DateRangeSelect=gx,b.DayOrDescriptionModal=ax,b.Deployment=eV,b.DeploymentCombobox=Xg,b.DeploymentComboboxOption=Ug,b.DeploymentConfiguration=iF,b.DeploymentCustomRunOverflowMenuItem=Gg,b.DeploymentDeprecatedMessage=lF,b.DeploymentDescription=cF,b.DeploymentDescriptionEmptyState=uF,b.DeploymentDetails=dF,b.DeploymentForm=pF,b.DeploymentFormV2=hF,b.DeploymentIconText=ru,b.DeploymentList=yF,b.DeploymentMenu=mF,b.DeploymentQuickRunOverflowMenuItem=zg,b.DeploymentRelationships=jg,b.DeploymentSchedule=tV,b.DeploymentScheduleCard=wx,b.DeploymentScheduleMenu=kx,b.DeploymentScheduleTags=xx,b.DeploymentScheduleToggle=Tx,b.DeploymentSchedulesFieldset=bx,b.DeploymentSortValuesSortParam=hD,b.DeploymentStatusBadge=Kg,b.DeploymentStatusIcon=Yg,b.DeploymentStatusSelect=N2,b.DeploymentTagsInput=Kh,b.DeploymentToggle=Qh,b.DeploymentsCount=Cx,b.DeploymentsDeleteButton=Zg,b.DeploymentsList=gF,b.DeploymentsPageEmptyState=_F,b.DocumentationButton=zo,b.DurationIconText=Xi,b.DurationInput=M2,b.EmpiricalPolicy=oV,b.EventRelatedKeyValue=fw,b.EventResourceCombobox=MX,b.EventResourceIconText=AX,b.EventResourceKeyValue=yw,b.EventsCombobox=mw,b.EventsFilterOrderOptions=kQ,b.ExtraInfoModal=Gh,b.ExtraInfoTooltip=Rx,b.FilterDateError=C7,b.FilterPrefixError=R7,b.FilterRelativeDateUnitError=P7,b.Flow=D1,b.FlowActivityChart=wF,b.FlowCombobox=Qg,b.FlowDetails=bF,b.FlowIconText=Sx,b.FlowList=kF,b.FlowMenu=TF,b.FlowPopover=Ex,b.FlowRouterLink=Gd,b.FlowRun=B1,b.FlowRunArtifacts=xF,b.FlowRunBreadCrumbs=vg,b.FlowRunCancelButton=Nx,b.FlowRunCancelModal=qg,b.FlowRunCreateFormV2=NX,b.FlowRunDetails=SF,b.FlowRunFilteredList=CF,b.FlowRunGraph=UW,b.FlowRunGraphArtifactCard=FR,b.FlowRunGraphArtifactDrawer=GW,b.FlowRunGraphArtifactsPopover=HW,b.FlowRunGraphConfirmation=IR,b.FlowRunGraphPopover=U_,b.FlowRunGraphSelectionPanel=zW,b.FlowRunGraphStatePopover=$W,b.FlowRunHistoryCard=jW,b.FlowRunIconText=vd,b.FlowRunJobVariableOverridesLabeledInput=jm,b.FlowRunList=Pp,b.FlowRunListItem=ZW,b.FlowRunLogs=YW,b.FlowRunMenu=KW,b.FlowRunName=$_,b.FlowRunPopOver=OR,b.FlowRunPopOverContent=Wg,b.FlowRunResults=QW,b.FlowRunResumeButton=LR,b.FlowRunResumeModal=H_,b.FlowRunRetryButton=vR,b.FlowRunRetryModal=z_,b.FlowRunSortValuesSortParam=Wk,b.FlowRunStartTime=Hd,b.FlowRunStateTypeTab=UR,b.FlowRunSuspendButton=GR,b.FlowRunSuspendModal=Z_,b.FlowRunTagsInput=j_,b.FlowRunTaskRuns=t8,b.FlowRunTimelineSubFlowRunDetails=HR,b.FlowRunTimelineTaskDetails=$R,b.FlowRunsBarChart=iu,b.FlowRunsDeleteButton=WR,b.FlowRunsFilterGroup=qW,b.FlowRunsPageEmptyState=JW,b.FlowRunsScatterPlot=e8,b.FlowRunsSort=XR,b.FlowSortValuesSortParam=mD,b.FlowsDeleteButton=zR,b.FlowsFilterGroup=n8,b.FlowsPageEmptyState=o8,b.FormattedDate=Y_,b.FourZeroFour=r8,b.GLOBAL_API_LIMIT=Jk,b.GraphNode=sV,b.HealthApi=DE,b.IconTextCount=G_,b.IntervalSchedule=yd,b.IntervalScheduleForm=jR,b.InvalidSchemaValueError=zc,b.JSONRouteParam=OX,b.JobVariableOverridesInput=zm,b.JsonInput=xn,b.LastFlowRun=K_,b.Log=F1,b.LogLevelLabel=ZR,b.LogLevelSelect=Q_,b.LogRow=YR,b.LogoImage=ts,b.LogsContainer=q_,b.LogsSort=J_,b.MAX_SCHEMA_PROPERTY_LEVEL=Qq,b.MAX_VARIABLE_NAME_LENGTH=X1,b.MAX_VARIABLE_VALUE_LENGTH=U1,b.Mapper=UB,b.MarketingBanner=a8,b.MiniDeploymentHistory=ew,b.MiniFlowHistory=KR,b.Mocker=nI,b.NextFlowRun=tw,b.NoSchemaPropertyDefaultValueError=E7,b.Notification=O1,b.NotificationDetails=ow,b.NotificationForm=s8,b.NotificationMenu=QR,b.NotificationStatusSelect=qR,b.NotificationToggle=JR,b.NotificationsPageEmptyState=i8,b.NotificationsTable=l8,b.OperatorRouteParam=or,b.PageHeading=mt,b.PageHeadingAccountSettings=c8,b.PageHeadingApiKeys=u8,b.PageHeadingArtifact=d8,b.PageHeadingArtifactKey=p8,b.PageHeadingArtifacts=h8,b.PageHeadingBlock=m8,b.PageHeadingBlockEdit=f8,b.PageHeadingBlocks=y8,b.PageHeadingBlocksCatalog=g8,b.PageHeadingBlocksCatalogCreate=_8,b.PageHeadingBlocksCatalogView=w8,b.PageHeadingConcurrencyLimit=b8,b.PageHeadingConcurrencyLimits=k8,b.PageHeadingDeployment=T8,b.PageHeadingDeploymentEdit=x8,b.PageHeadingDeployments=S8,b.PageHeadingFlow=C8,b.PageHeadingFlowCollection=R8,b.PageHeadingFlowCollections=P8,b.PageHeadingFlowRun=E8,b.PageHeadingFlowRunCreate=N8,b.PageHeadingFlowRuns=A8,b.PageHeadingFlows=D8,b.PageHeadingNotificationCreate=B8,b.PageHeadingNotificationEdit=I8,b.PageHeadingNotifications=F8,b.PageHeadingRuns=O8,b.PageHeadingTaskRun=L8,b.PageHeadingVariables=v8,b.PageHeadingWorkPool=W8,b.PageHeadingWorkPoolCreate=X8,b.PageHeadingWorkPoolEdit=U8,b.PageHeadingWorkPoolQueue=G8,b.PageHeadingWorkPoolQueueCreate=H8,b.PageHeadingWorkPoolQueueEdit=$8,b.PageHeadingWorkPools=z8,b.PageHeadingWorkQueue=j8,b.PageHeadingWorkQueueCreate=Z8,b.PageHeadingWorkQueueEdit=Y8,b.PageHeadingWorkQueues=K8,b.PageHeadingWorkspaceSettings=Q8,b.ParameterTaskInput=uV,b.ParametersTable=q8,b.ProcessTypeBadge=a2,b.QuickRunParametersModal=Hg,b.RRuleSchedule=L1,b.ResourceLink=DX,b.ResultsCount=So,b.RouteGuardExecutioner=oI,b.RunHistory=v1,b.RunMenu=s2,b.SaveFilterModal=o2,b.SavedFilters=rw,b.SavedFiltersDeleteModal=n2,b.SavedFiltersMenu=r2,b.SavedSearch=my,b.ScheduleFieldset=J8,b.ScheduleFormModal=Km,b.ScheduleTypes=M7,b.SchemaForm=eX,b.SchemaFormFields=ql,b.SchemaFormFieldsWithValues=i2,b.SchemaFormInput=Jy,b.SchemaFormProperties=_T,b.SchemaFormProperty=eu,b.SchemaFormPropertyAllOf=wT,b.SchemaFormPropertyAnyOf=RT,b.SchemaFormV2=OB,b.SchemaInput=l2,b.SchemaInputV2=Dd,b.SchemaPropertiesKeyValues=mg,b.SchemaPropertyAny=RB,b.SchemaPropertyArray=gB,b.SchemaPropertyBlock=_B,b.SchemaPropertyBoolean=wB,b.SchemaPropertyKeyValue=$T,b.SchemaPropertyNone=bB,b.SchemaPropertyNumber=kB,b.SchemaPropertyObject=TB,b.SchemaPropertyService=js,b.SchemaPropertyString=xB,b.SchemaStringFormats=yD,b.SchemaTypes=Xk,b.SearchInput=lo,b.SelectedCount=Zs,b.SeparatedList=nw,b.SimpleIdManager=nre,b.StateBadge=Fn,b.StateHistory=hy,b.StateIcon=wg,b.StateListItem=bg,b.StateNameSelect=Zu,b.StateSelect=rx,b.StatisticKeyValue=Wi,b.Storage=rI,b.StorageItem=aV,b.SubmitButton=es,b.TaskRun=W1,b.TaskRunArtifacts=tX,b.TaskRunDetails=nX,b.TaskRunIconText=pg,b.TaskRunList=kg,b.TaskRunListItem=YT,b.TaskRunLogs=oX,b.TaskRunSortValuesSortParam=fD,b.TaskRunTaskInput=dV,b.TaskRunsDeleteButton=rX,b.TaskRunsSort=c2,b.TimeSpanFilter=aX,b.TimezoneSelect=Rg,b.ToastFlowRunCreate=$g,b.UiApi=IE,b.UseDeploymentSlot=_x,b.UseFlowSlot=Px,b.Variable=pV,b.VariableCreateModal=aw,b.VariableEditModal=iw,b.VariableMenu=u2,b.VariableTagsInput=h2,b.VariablesDeleteButton=d2,b.VariablesPageEmptyState=sX,b.VariablesTable=iX,b.ViewModeButtonGroup=Ld,b.WorkPool=fy,b.WorkPoolBaseJobTemplateFormSection=lw,b.WorkPoolCard=f2,b.WorkPoolCombobox=Np,b.WorkPoolCreateWizard=cX,b.WorkPoolCreateWizardStepInformation=y2,b.WorkPoolCreateWizardStepInfrastructureConfiguration=g2,b.WorkPoolCreateWizardStepInfrastructureType=_2,b.WorkPoolDetails=uX,b.WorkPoolEditForm=dX,b.WorkPoolIconText=Xh,b.WorkPoolLateIndicator=pX,b.WorkPoolList=w2,b.WorkPoolMenu=hX,b.WorkPoolQueue=yy,b.WorkPoolQueueCombobox=qm,b.WorkPoolQueueCreateForm=mX,b.WorkPoolQueueDetails=fX,b.WorkPoolQueueEditForm=yX,b.WorkPoolQueueHealthIcon=Jm,b.WorkPoolQueueMenu=gX,b.WorkPoolQueuePriorityLabel=ef,b.WorkPoolQueueStatusBadge=cw,b.WorkPoolQueueStatusIcon=Wd,b.WorkPoolQueueTableData=hV,b.WorkPoolQueueToggle=uw,b.WorkPoolQueueUpcomingFlowRunsList=wX,b.WorkPoolQueuesDeleteButton=b2,b.WorkPoolQueuesTable=_X,b.WorkPoolStatusBadge=k2,b.WorkPoolStatusIcon=Yh,b.WorkPoolStatusSelect=V2,b.WorkPoolToggle=dw,b.WorkPoolTypeSelect=T2,b.WorkPoolWorker=G1,b.WorkPools=bX,b.WorkPoolsPageEmptyState=kX,b.WorkQueue=_y,b.WorkQueueCombobox=x2,b.WorkQueueCreateForm=TX,b.WorkQueueDetails=xX,b.WorkQueueEditForm=SX,b.WorkQueueFilter=$1,b.WorkQueueFlowRunsList=CX,b.WorkQueueIconText=pw,b.WorkQueueLastPolled=S2,b.WorkQueueLateIndicator=C2,b.WorkQueueMenu=R2,b.WorkQueueStatus=z1,b.WorkQueueStatusBadge=hw,b.WorkQueueStatusIcon=E2,b.WorkQueueStatusSelect=A2,b.WorkQueueTableData=yV,b.WorkQueueToggle=sw,b.WorkQueuesDeleteButton=P2,b.WorkQueuesPageEmptyState=RX,b.WorkQueuesTable=PX,b.WorkerStatusBadge=m2,b.WorkersLateIndicator=Qm,b.WorkersTable=lX,b.WorkspaceApi=ln,b.WorkspaceArtifactsApi=FE,b.WorkspaceAutomationsApi=XE,b.WorkspaceBlockCapabilitiesApi=UE,b.WorkspaceBlockDocumentsApi=GE,b.WorkspaceBlockSchemasApi=HE,b.WorkspaceBlockTypesApi=$E,b.WorkspaceConcurrencyLimitsApi=zE,b.WorkspaceConcurrencyV2LimitsApi=jE,b.WorkspaceDashboardFlowRunsCard=EX,b.WorkspaceDeploymentsApi=JE,b.WorkspaceEvent=Z1,b.WorkspaceEventDetails=IX,b.WorkspaceEventMenu=BX,b.WorkspaceEvents=TV,b.WorkspaceEventsCount=xV,b.WorkspaceEventsLineChart=FX,b.WorkspaceEventsTimeline=VX,b.WorkspaceFlowRunsApi=MM,b.WorkspaceFlowsApi=VM,b.WorkspaceLogsApi=AM,b.WorkspaceNotificationsApi=DM,b.WorkspaceSavedSearchesApi=BM,b.WorkspaceTaskRunsApi=OM,b.WorkspaceVariableCombobox=VT,b.WorkspaceVariablesApi=LM,b.WorkspaceWorkPoolQueuesApi=vM,b.WorkspaceWorkPoolWorkersApi=CV,b.WorkspaceWorkPoolsApi=SV,b.WorkspaceWorkQueuesApi=RV,b.all=CA,b.allButLastArrayItems=QE,b.applyColorModeClass=F7,b.areEmails=KZ,b.artifactSortOptions=dQ,b.artifactSortValues=oD,b.artifactTypeIconMap=py,b.artifactTypes=P1,b.asArray=As,b.asSingle=P6,b.assignTimezone=Tr,b.automationActionTypeLabels=VA,b.automationActionTypes=oY,b.automationTriggerEventPosture=kY,b.automationTriggerTemplateChecks=ZA,b.automationTriggerTemplates=MY,b.backgroundSubscriptionManager=pk,b.browserUtcOffset=CM,b.camelCase=LZ,b.canKey=EE,b.capitalize=Ka,b.ceil=ZE,b.choice=Wn,b.clearOldCacheKeys=VV,b.clearSelectedFilters=UZ,b.clone=IM,b.coinflip=Vb,b.colorModes=by,b.componentsKey=vD,b.copyToClipboard=q1,b.countDigits=x6,b.createApi=B7,b.createCan=a6,b.createObjectLevelCan=Th,b.createTuple=xo,b.createWorkspaceRouteRecords=bq,b.createWorkspaceRoutes=wq,b.customPartialSearch=Nh,b.dateFormat=fh,b.dateFunctions=Gn,b.dateNumericFormat=gh,b.dateTimeFormat=m1,b.dateTimeNumericFormat=f1,b.dateTimeNumericShortFormat=y1,b.daysInWeek=Db,b.daysInYear=nh,b.defaultArtifactSort=cQ,b.defaultBlockDocumentsSort=yQ,b.defaultDeploymentSort=Ak,b.defaultFlowRunSort=Mh,b.defaultFlowSort=Mk,b.defaultLogSort=mQ,b.defaultTaskRunSort=Fk,b.defaultVariableSort=aD,b.deleteItem=Sr,b.deploymentSortOptions=Bk,b.deploymentSortValues=cD,b.deploymentStatus=A1,b.deploymentStatusEvent=SY,b.deploymentsListSubscriptionKey=YZ,b.excludeScheduledSavedSearch=bA,b.fieldRules=Gs,b.filterRangePastWeek=Eh,b.flip=s7,b.floor=Wc,b.flowRunSortValues=uD,b.flowRunStorage=sI,b.flowSortOptions=lD,b.flowSortValues=iD,b.flowsListSubscriptionKey=ZZ,b.formatDate=Io,b.formatDateInTimezone=wh,b.formatDateNumeric=Kj,b.formatDateTime=cy,b.formatDateTimeNumeric=it,b.formatDateTimeRelative=_h,b.formatDateTimeShortNumeric=qj,b.formatRouteDate=SM,b.formatTime=g1,b.formatTimeNumeric=_1,b.formatTimeShortNumeric=Zj,b.getApiErrorMessage=wt,b.getAuthorizationHeaders=RE,b.getAutomationTriggerTemplate=YA,b.getAutomationTriggerTemplateLabel=jA,b.getCacheKey=Sh,b.getColorModeClass=ky,b.getDefaultAutomationTriggerValue=RSe,b.getDefaultNotificationBody=vX,b.getDefaultNotificationSubject=WX,b.getDefaultValueForAction=bSe,b.getDefaultValueForSendNotification=LX,b.getPrefectBaseUrl=SE,b.getPrefectUIHeaders=CE,b.getProcessTypeLabel=yA,b.getQueryForFlowRunsFilter=OQ,b.getScheduleType=lV,b.getSchemaDefaultValues=Jc,b.getSchemaDefaults=XV,b.getSchemaPropertiesWithoutDefaults=UV,b.getSchemaPropertyAttrs=lB,b.getSchemaPropertyComponentWithDefaultProps=uB,b.getSchemaPropertyDefaultValidators=dB,b.getSchemaPropertyDefaultValue=eg,b.getSchemaPropertyPlaceholder=cB,b.getSchemaPropertyRequestValue=TT,b.getSchemaPropertyResponseValue=tg,b.getSchemaRequestValue=iB,b.getSchemaResponseValue=kT,b.getSchemaValueAllOfDefinition=mB,b.getSchemaValueAllOfDefinitionIndex=fB,b.getSchemaValueAnyOfDefinition=hB,b.getSchemaValueAnyOfDefinitionIndex=xT,b.getSchemaValueDefinition=ng,b.getSchemaValueDefinitionIndex=ST,b.getSchemaValuesWithDefaults=WV,b.getSchemaValuesWithDefaultsJson=X7,b.getSchemaWithoutDefaults=GV,b.getStateTypeStyles=$Z,b.groupBy=M6,b.hasProperty=l7,b.hasString=k1,b.hoursInDay=TM,b.httpStatus=vE,b.httpStatusCode=Ze,b.httpStatusCodeRange=WE,b.inject=Ty,b.injectFromSelfOrAncestor=LV,b.intersects=N6,b.intervalOptionsToSecondsMap=Us,b.intervals=nr,b.isAfter=JZ,b.isAfterOrEqual=eY,b.isApiErrorResponse=FV,b.isArray=Df,b.isArrayOfMaps=Ck,b.isArtifactSortValue=uQ,b.isArtifactType=gK,b.isAutomationAction=bk,b.isAutomationActionResponse=wY,b.isAutomationActionType=MA,b.isAutomationTrigger=TY,b.isAutomationTriggerEvent=qa,b.isAutomationTriggerEventPosture=vA,b.isAutomationTriggerEventResponse=OA,b.isAutomationTriggerTemplate=zA,b.isBefore=QZ,b.isBeforeOrEqual=qZ,b.isBlockDocumentCreateNamed=ZM,b.isBlockDocumentReferenceValue=dy,b.isBlockDocumentSortValue=vk,b.isBlockDocumentValue=bh,b.isBoolean=Y1,b.isCacheKey=MV,b.isCloudConfig=BE,b.isColorMode=Q1,b.isConstantTaskInputResponse=HM,b.isCreateAutomationActionQuery=FA,b.isCreateAutomationTriggerQuery=IA,b.isCronSchedule=gd,b.isCronScheduleRequest=f7,b.isCronScheduleResponse=UM,b.isDate=Ws,b.isDatePartShort=_Q,b.isDateRangeAroundResponse=R1,b.isDateRangePeriodResponse=C1,b.isDateRangeRangeResponse=S1,b.isDateRangeResponse=WM,b.isDateRangeSpanResponse=x1,b.isDefined=qp,b.isDeploymentSortValue=Dk,b.isDeploymentStatus=nV,b.isDeploymentStatusEvent=By,b.isDeploymentStatusTrigger=XA,b.isEmail=gk,b.isEmptyArray=Mi,b.isEmptyObject=Di,b.isEmptyString=zr,b.isEventsFilterOrderOption=TQ,b.isFlowRunSortValue=Ik,b.isFlowRunStateTrigger=UA,b.isFlowSortValue=Vk,b.isFunction=OV,b.isGreaterThan=Ny,b.isGreaterThanOrEqual=_k,b.isHandle=NA,b.isIntervalSchedule=_d,b.isIntervalScheduleRequest=y7,b.isIntervalScheduleResponse=GM,b.isInvalidDate=hd,b.isJson=Qa,b.isKnownArtifactType=Oy,b.isLessThan=EA,b.isLessThanOrEqual=Td,b.isLogSortValue=Lk,b.isMapOfArrays=Rk,b.isMarkdownArtifactData=wK,b.isNonEmptyArray=S6,b.isNotNullish=xE,b.isNull=TE,b.isNullish=pt,b.isNumber=wd,b.isNumberArray=Bf,b.isOldCacheKey=K1,b.isOperation=rV,b.isParameterTaskInputResponse=$M,b.isPausedStateType=Nb,b.isPendingStateType=VE,b.isPrefectResourceRole=kV,b.isRRuleSchedule=xh,b.isRRuleScheduleRequest=m7,b.isRRuleScheduleResponse=XM,b.isRecord=vt,b.isRequired=Qn,b.isRequiredIf=PA,b.isResultArtifactData=_K,b.isRouterTab=bQ,b.isRunningStateType=Mb,b.isSame=C6,b.isSameFilter=Ph,b.isSchedule=iV,b.isSchemaValues=Uk,b.isServerStateType=Rb,b.isServerWorkPoolStatus=fV,b.isSnakeCase=wk,b.isStateType=_6,b.isString=ut,b.isStringArray=Jp,b.isStuckStateType=Eb,b.isTableArtifactData=eD,b.isTaskRunSortValue=Ok,b.isTaskRunTaskInputResponse=zM,b.isTerminalStateType=ga,b.isTypeRequired=u7,b.isValidEmailAddress=fA,b.isValidIf=RA,b.isValidJson=ek,b.isValidJsonRecord=J1,b.isVariableSortValue=pQ,b.isWithMessageArgs=SA,b.isWorkPoolStatus=mV,b.isWorkPoolStatusEvent=Iy,b.isWorkPoolStatusTrigger=HA,b.isWorkQueueStatusEvent=Fy,b.isWorkQueueStatusTrigger=$A,b.isWorkspaceEvent=wy,b.kebabCase=mA,b.lastItemInArray=KE,b.localization=Y,b.logLevel=I1,b.logLevelLabel=vV,b.mapEntries=FM,b.mapKeys=c7,b.mapStateNameToStateType=kd,b.mapStateTypeOrNameToStateName=dk,b.mapValues=xr,b.mapper=ee,b.maps=XB,b.maxTime=oN,b.merge=Bi,b.millisecondsInHour=vl,b.millisecondsInMinute=ja,b.millisecondsInSecond=rh,b.minTime=A6,b.minutesInHour=Xc,b.mocker=lg,b.mocks=tI,b.monthsInQuarter=Bb,b.monthsInYear=Ib,b.noScheduleFilter=wA,b.notificationStatus=N7,b.now=PM,b.omit=i7,b.oneWeekFilter=lk,b.oneWeekSavedSearch=ck,b.parseDate=Hj,b.parseDateNumeric=Qj,b.parseDateTime=zj,b.parseDateTimeNumeric=w1,b.parseDateTimeShortNumeric=Jj,b.parseRouteDate=e7,b.parseTime=$j,b.parseTimeNumeric=jj,b.parseTimeShortNumeric=Yj,b.parseUnknownJson=Zl,b.pendingStateType=ME,b.plugin=DCe,b.pluralize=hA,b.prefectEventPrefixes=j1,b.prefectResourceRoles=bV,b.prefectStateNameTypes=gA,b.prefectStateNames=Rh,b.prefectStateNamesWithoutScheduled=_A,b.quartersInYear=Fb,b.random=io,b.range=Ab,b.removeEmptyObjects=Tn,b.removeWhitespace=ik,b.repeat=If,b.resolve=pB,b.resolveSchemaPropertiesDefinitions=og,b.resolveSchemaPropertyDefinition=Lh,b.sameValue=Sb,b.schemaDefinitionsResolver=PB,b.schemaHas=Yc,b.schemaMetaResolver=EB,b.schemaPropertyComponentWithProps=bT,b.schemaPropertyServiceFactory=Ql,b.schemaV2Mapper=T1,b.schemaValuesBlockReferencesResolver=CT,b.secondsFromEpoch=r7,b.secondsInDay=Ai,b.secondsInHour=Vi,b.secondsInMinute=$r,b.secondsInMonth=Lb,b.secondsInQuarter=sN,b.secondsInWeek=Wl,b.secondsInYear=Ob,b.secondsToApproximateString=vs,b.secondsToClosestIntervalOption=fk,b.secondsToClosestIntervalValue=mk,b.secondsToString=Gj,b.selectedTimezone=md,b.separate=qE,b.serverWorkPoolStatus=V7,b.setTimezone=EM,b.shuffle=R6,b.snakeCase=Ry,b.some=E6,b.sortDates=ly,b.stateType=vc,b.stringify=rn,b.stringifyUnknownJson=jc,b.stuckStateTypes=AE,b.subscriptionIntervalKey=GD,b.systemDefaultSavedSearch=Ey,b.systemSavedSearches=kA,b.taskRunSortValues=dD,b.terminalStateType=Pb,b.timeFormat=sy,b.timeNumericFormat=yh,b.timeNumericShortFormat=iy,b.timeout=hk,b.timezoneIsUtc=t7,b.titleCase=jl,b.toDate=uy,b.toMap=za,b.toPercent=tk,b.toPluralString=Xs,b.toggle=Ff,b.unassignTimezone=wa,b.uniform=on,b.unique=ad,b.unsavedPartialSearch=uk,b.unsetTimezone=NM,b.uppercase=vZ,b.urlRegex=xA,b.useArtifact=Gy,b.useArtifactCollection=OD,b.useBlockDocument=Hy,b.useBlockDocumentFilter=CD,b.useBlockDocuments=LD,b.useBlockDocumentsFilter=PD,b.useBlockDocumentsFilterFromRoute=ED,b.useBlockSchema=zQ,b.useBlockSchemaFilter=Wy,b.useBlockSchemaForBlockType=tT,b.useBlockSchemasFilter=RD,b.useBlockSchemasFilterFromRoute=AQ,b.useBlockType=jQ,b.useBlockTypeBySlug=ZQ,b.useBlockTypeFilter=zk,b.useBlockTypesFilter=Zk,b.useBlockTypesFilterFromRoute=MQ,b.useCan=Ne,b.useColorMode=DV,b.useComponent=zt,b.useCreateAutomationQueryParams=ACe,b.useDashboardSubscriptionOptions=WD,b.useDateRangeSelectValueFromRoute=nT,b.useDeployment=Ed,b.useDeploymentFilter=kD,b.useDeployments=Dh,b.useDeploymentsCount=qQ,b.useDeploymentsFilter=VD,b.useDeploymentsFilterFromRoute=qk,b.useEventsTimeInterval=qD,b.useFavicon=oT,b.useFilterPagination=$Q,b.useFlow=Fi,b.useFlowFilter=_D,b.useFlowRun=jr,b.useFlowRunCompleteness=rT,b.useFlowRunFavicon=eq,b.useFlowRunFilter=wD,b.useFlowRunStorage=rre,b.useFlowRuns=Yl,b.useFlowRunsAverageLateness=XD,b.useFlowRunsCount=Ja,b.useFlowRunsFilter=Uy,b.useFlowRunsFilterFromRoute=BD,b.useFlowRunsHistoryFilter=FD,b.useFlowRunsHistoryFilterFromRoute=GQ,b.useFlows=zy,b.useFlowsCount=tq,b.useFlowsFilter=MD,b.useFlowsFilterFromRoute=Kk,b.useForm=ka,b.useInterval=Rr,b.useJsonRecord=nq,b.useLastFlowRun=aT,b.useLogsSort=sT,b.useNextFlowRun=HD,b.useNextFlowRunByFlow=UD,b.useOptionalPropertiesSchema=$D,b.useOptionalRules=rq,b.usePaginatedFlowRuns=iT,b.usePaginatedSubscription=Zy,b.usePaginatedTaskRuns=aq,b.usePagination=Kc,b.useReactiveField=zD,b.useReactiveForm=Yy,b.useRecentFlowRunsFilter=ID,b.useRecentFlowRunsFilterFromRoute=XQ,b.useSchemaValidationV2=Bd,b.useScrollLinking=cq,b.useShowModal=qe,b.useStateFilter=Hk,b.useStatePolling=Nd,b.useStorage=aI,b.useSubscriptions=eT,b.useTabs=uq,b.useTagFilter=Pd,b.useTaskRun=$s,b.useTaskRunFavicon=dq,b.useTaskRunFilter=bD,b.useTaskRunResult=ZD,b.useTaskRuns=YD,b.useTaskRunsCount=Oi,b.useTaskRunsFilter=Yk,b.useTaskRunsFilterFromRoute=vQ,b.useTaskRunsHistory=KD,b.useThemeTokens=mq,b.useTimeScopedWorkspaceEventsFilter=Pq,b.useVariable=yq,b.useVariableFilter=AD,b.useVariables=lT,b.useVariablesFilter=DD,b.useWorkPool=Ky,b.useWorkPoolById=cT,b.useWorkPoolFilter=$k,b.useWorkPoolLastPolled=uT,b.useWorkPoolQueue=pT,b.useWorkPoolQueueFilter=xD,b.useWorkPoolsCount=dT,b.useWorkPoolsFilter=ND,b.useWorkPoolsFilterFromRoute=IQ,b.useWorkQueueStatus=Li,b.useWorkspaceApi=se,b.useWorkspaceDashboardFilterFromRoute=gq,b.useWorkspaceEvent=kq,b.useWorkspaceEventResource=rr,b.useWorkspaceEventResourceId=xq,b.useWorkspaceEventsFilter=hT,b.useWorkspaceEventsFilterFromRoute=Rq,b.useWorkspaceEventsSubscription=Tq,b.useWorkspaceFlowRunDashboardFilterFromRoute=_q,b.useWorkspaceRoutes=Se,b.utcOffsetMilliseconds=RM,b.utcOffsetMinutes=n7,b.utcTimezone=b1,b.variableSortOptions=sD,b.variableSortValues=rD,b.vowels=sk,b.weightedNumber=YE,b.withMessage=yk,b.withProps=nt,b.withPropsWithoutExcluded=BV,b.withPropsWithoutExcludedFactory=IV,b.withQuery=Ii,b.withRedirect=XZ,b.workPoolStatus=gy,b.workPoolStatusEvent=EY,b.workPoolWorkerStatus=H1,b.workQueueStatusEvent=NY,b.workQueueSubscriptionKey=zZ,b.workQueuesListSubscriptionKey=jZ,b.workspaceApiKey=PV,b.workspaceFeatureFlags=r6,b.workspacePermissions=PE,b.workspaceRoutesKey=QD,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
1258
1258
  //# sourceMappingURL=prefect-ui-library.umd.js.map