import{j as t,_ as e}from"./main.2.8.1.js";import{d as o}from"./react-router-dom.9mCuUg3q.js";import{B as x}from"./BackIcn._kGL_vVw.js";import{t as g}from"./tutorialLinks.kMkIDzcD.js";import{z as f}from"./Note.BeM7sN-p.js";import{T as r}from"./TutorialLink.BAFX--T3.js";import{s as j,h as N}from"./WishlistMemberCommonFunc.BnmMgjU4.js";import"./CopyIcn.3gZpHton.js";function C({wishlistMemberConf:l,setWishlistMemberConf:m,step:a,nextPage:c,setSnackbar:d,isInfo:u}){const[i,b]=o.useState(!1),[n,p]=o.useState(!1),{wishlistMember:s}=g;return t.jsxs("div",{className:"btcd-stp-page",style:{width:a===1&&900,height:a===1&&"auto"},children:[t.jsx(r,{title:"WishlistMember",youTubeLink:s==null?void 0:s.youTubeLink}),t.jsx(r,{title:"WishlistMember",docLink:s==null?void 0:s.docLink}),t.jsx("div",{className:"mt-3",children:t.jsx("b",{children:e("Integration Name:","bit-integrations")})}),t.jsx("input",{className:"btcd-paper-inp w-7 mt-1",onChange:h=>j(h,m),name:"name",value:l.name,type:"text",placeholder:e("Integration Name...","bit-integrations"),disabled:u}),t.jsxs("button",{onClick:()=>N(b,p,d),className:"btn btcd-btn-lg purple sh-sm flx",type:"button",disabled:i||n,children:[i?e("Authorized ✔","bit-integrations"):e("Authorize","bit-integrations"),n&&t.jsx(f,{size:20,clr:"#022217",className:"ml-2"})]}),t.jsx("br",{}),t.jsxs("button",{onClick:()=>c(2),className:"btn f-right btcd-btn-lg purple sh-sm flx",type:"button",disabled:!i,children:[e("Next","bit-integrations"),t.jsx(x,{className:"ml-1 rev-icn"})]})]})}export{C as default};
