import{r as n,h as e}from"./p-cf6005f1.js";import{a}from"./p-252f40a0.js";import{D as d}from"./p-545d6d1c.js";import{s as c}from"./p-847c40d2.js";const i="* {\n  margin: 0;\n  padding: 0;\n  box-sizing: border-box;\n}\n\n.transaction-container {\n  display: flex;\n  flex-direction: column;\n  padding: 1rem;\n  gap: 2rem;\n}\n\n.receiver-container {\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  gap: 4px;\n  line-height: 1;\n}\n\n.data-container {\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  gap: 4px;\n  line-height: 1;\n}\n\n.data-content {\n  width: 100%;\n  height: 100px;\n  resize: none;\n  border-radius: 0.5rem;\n  padding: 0.5rem;\n}\n\n.fee-container {\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  gap: 4px;\n  line-height: 1;\n}\n\n.sign-button {\n  display: block;\n  width: 200px;\n  margin: 0 auto;\n  padding: 12px;\n  background-color: #1a56db;\n  color: white;\n  border: none;\n  border-radius: 8px;\n  cursor: pointer;\n\n  &:disabled {\n    background-color: #a1a1a1;\n    color: #e0e0e0;\n    cursor: not-allowed;\n    opacity: 0.6;\n    box-shadow: none;\n    transform: none;\n  }\n}\n";const t=i;const o=class{constructor(e){n(this,e);this.header=undefined}render(){const{receiver:n,egldLabel:i,data:t,feeInFiatLimit:o,feeLimit:r}=c.commonData;return e("div",{key:"758739c9b41b09ebe00e75e2de8289fd37bc04ac",class:"transaction-container"},this.header,e("div",{key:"9e6d83309d4c18831b96224c55e4813ff46dabdd",class:"receiver-container"},e("p",{key:"5b76bbf45e23c9fe7595af58e236aadb83c422d8"},"To"),e("p",{key:"11ee3ea351277f05a88d44f8c4688cc83b44db8e"},a(n,40))),e("div",{key:"7119f43fac19a6f13f6deea6120f532751908dfb",class:"fee-container"},e("p",{key:"b04725da10d8ce01be1d7e131dca86834d288788"},"Transaction fee"),r&&e("p",{key:"cd84e17563df80f767792d410730711b924351cf"},e("span",{key:"bbd857ed30118cb3de31646dd26d6cc29753216f"},r)," ",e("span",{key:"59520cd678c5acf1e38ee6a540f197da01b34726"},i)),e("p",{key:"c9d4964c2ae2e6ad6b747d46ab00de02cf382590"},"≈",o)),e("div",{key:"48b253f62a558205c368fd814e57fd1eec394b4f",class:"data-container"},e("p",{key:"d536a9fcee600ba017456797e91693991c3b5853"},"Data"),e("textarea",{key:"e6934a0c85dad180bbe954bfce259616486fbe8e",class:"data-content",readOnly:true,draggable:false},t)),e("button",{key:"56d06021a0e17db28497bc2b933d761e9a934e5c",disabled:c.isWaitingForSignature,"data-testid":d.signTransactionBtn,class:"sign-button",onClick:c.onSign},"Sign"))}};o.style=t;export{o as sign_transaction_component};
//# sourceMappingURL=p-3e742512.entry.js.map