1import{eD as x,j as a,eJ as m,Q as d,b7 as h,b8 as y,F as b,eG as P,N as s,b as U}from"./index-DKpnlDVF.js";import{P as p}from"./PublishPasteField-CkgUkfZU.js";import{g as j}from"./app-publishing-CXU6-QGS.js";const f=U().shape(j);function k(){const{back:o,next:c,updateAppDetail:n,appDetail:l}=x();async function u(e){const{supportUrl:i,privacyPolicyUrl:r}=e;n({supportUrl:i,privacyPolicyUrl:r}),c()}return a.jsx(m,{children:a.jsx(d,{mt:"8rem",maxW:"600px",w:"100%",children:a.jsx(h,{enableReinitialize:!0,initialValues:{supportUrl:l?.supportUrl??"",privacyPolicyUrl:l?.privacyPolicyUrl??""},validationSchema:f,onSubmit:u,children:({errors:e,isValid:i,setFieldValue:r,touched:t})=>a.jsxs(y,{style:{width:"100%"},children:[a.jsxs(b,{alignItems:"center",justifyContent:"center",gap:"20px",mt:".5rem",flexWrap:"wrap",children:[a.jsx(p,{setValue:r,label:"Support URL (Optional)",maxLength:200,placeHolder:"https://apprabbit.com/support",errorMessage:e.supportUrl,touched:t.supportUrl,dataField:"supportUrl",autoPaste:!1}),a.jsx(p,{setValue:r,label:"Privacy Policy URL (Optional)",maxLength:200,placeHolder:"https://apprabbit.com/privacy-policy",errorMessage:e.privacyPolicyUrl,touched:t.privacyPolicyUrl,dataField:"privacyPolicyUrl",autoPaste:!1})]}),a.jsxs(P,{children:[a.jsx(s,{colorScheme:"primary",px:"32px",onClick:o,children:"Back"}),a.jsx(s,{type:"submit",colorScheme:"primary",px:"32px",disabled:!i||!t,children:"Done"})]})]})})})})}export{k as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.