import{j as t,M as R,_ as w}from"./main.2.8.1.js";var l={exports:{}},h,x;function j(){if(x)return h;x=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return h=r,h}var u,v;function P(){if(v)return u;v=1;var r=j();function s(){}function a(){}return a.resetWarningCache=s,u=function(){function e(m,y,c,d,f,p){if(p!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}e.isRequired=e;function n(){return e}var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:a,resetWarningCache:s};return i.PropTypes=i,i},u}var g;function _(){return g||(g=1,l.exports=P()()),l.exports}function C({close:r,action:s,mainMdlCls:a,style:e,cssTransStyle:n,show:i,btnTxt:m,body:y,btn2Txt:c,btn2Action:d,btnClass:f,title:p,className:o,children:T,warning:b}){return t.jsx(R,{sm:!0,show:i,setModal:r,className:a,title:p||"Confirmation",warning:b||!1,style:e,cssTransStyle:n,children:t.jsxs("div",{className:`txt-center atn-btns flx flx-center ${o||"flx-col"}`,children:[t.jsxs("div",{className:`content ${!o&&"confirm-content"}`,children:[y,T]}),t.jsxs("div",{className:`txt-center ${b&&"mt-3"}`,children:[!c&&t.jsx("button",{onClick:r,className:`btn btcd-btn-o-white purple w-4 mr-2 br-50 ${!o&&"btn-lg"}`,type:"button",children:w("Cancel","bit-integrations")}),c&&t.jsx("button",{onClick:d,className:`btn purple w-4 mr-2 br-50 ${!o&&"btn-lg"}`,type:"button",children:c}),t.jsx("button",{onClick:s,className:`btn ${f||"red"} w-4 br-50 ${!o&&"btn-lg"}`,type:"button",children:m})]})]})})}function N({size:r=20,stroke:s=2}){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 30 30",style:{pointerEvents:"none"},children:[t.jsx("path",{className:"svg-icn",strokeWidth:s,d:"M13.89,11.7h10a2.2,2.2,0,0,1,2.22,2.2v9.9A2.2,2.2,0,0,1,23.88,26h-10a2.2,2.2,0,0,1-2.22-2.2V13.9A2.2,2.2,0,0,1,13.89,11.7Z"}),t.jsx("path",{className:"svg-icn",strokeWidth:s,d:"M7.23,18.3H6.12A2.2,2.2,0,0,1,3.9,16.1V6.2A2.2,2.2,0,0,1,6.12,4h10a2.2,2.2,0,0,1,2.22,2.2V7.3"})]})}export{N as C,C as a,_ as r};
