import{Ct as e,H as t,Mt as n,Q as r,W as i,Z as a,d as o,jt as s,mt as c,pt as l,s as u,tt as d,wt as f,yt as p}from"../chunks/BA99CCI5.js";import{a as m}from"../chunks/DP37y6wO.js";import"../chunks/xihTtKlq.js";import"../chunks/DGo8yE5j.js";import{t as h}from"../chunks/BfBgZfCV2.js";import"../chunks/BymfG72d2.js";import{t as g}from"../chunks/CEQEwD8g.js";import{t as _}from"../chunks/DCohNkHF.js";import{t as v}from"../chunks/BP5QNy2p2.js";var y=i(`<!> <!> <!>`,1);function b(i,b){n(b,!1);let x=()=>f(h,`$page`,S),[S,C]=e(),w=u(b,`data`,8);function T(){m(`/custom-formats/${x().params.databaseId}/${x().params.id}/testing`)}o();var E=y(),D=l(E);{let e=p(()=>(a(w()),d(()=>`${w().format.name} · Testing · New`)));_(D,{get title(){return r(e)}})}var O=c(D,2);v(O,{mode:`create`,get formatName(){return a(w()),d(()=>w().format.name)},get canWriteToBase(){return a(w()),d(()=>w().canWriteToBase)},initialData:{title:``,type:`movie`,shouldMatch:!0,description:``},onCancel:T});var k=c(O,2);g(k,{}),t(i,E),s(),C()}export{b as component};