{"version":3,"file":"styled.DefSQQBH.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/array-input/styled.js"],"sourcesContent":["import { Button } from '@babylon/ui-kit-base/components/buttons/button';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst ArrayInputWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ArrayInputWrapper\"\n})([\n `position:relative;`,\n ` gap:16px;padding-bottom:56px;`,\n `{padding-bottom:0;padding-right:176px;}`,\n `{padding-right:0;}`\n], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.media.tabletLandscape.up, ({ theme })=>theme.media.desktop.up);\nconst ArrayInputRow = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ArrayInputRow\"\n})([\n `position:relative;`,\n `;gap:16px;`\n], FlexMixin());\nconst ArrayInputRowContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ArrayInputRowContent\"\n})([\n ``,\n `;gap:16px;flex:1 1 100%;max-width:100%;`\n], FlexMixin());\nconst AddButton = /*#__PURE__*/ styled(Button).withConfig({\n displayName: \"AddButton\"\n})([\n `position:absolute;bottom:0;left:0;background:transparent;width:160px;`,\n `{position:relative;margin:auto;width:100%;}`,\n `{bottom:calc((56px - 40px) / 2);right:0;left:unset;}`,\n `{width:150px;bottom:unset;top:0;}`\n], ({ theme })=>theme.media.only('xs'), ({ theme })=>theme.media.tabletLandscape.up, ({ theme })=>theme.media.desktop.up);\nconst RemoveIcon = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"RemoveIcon\"\n})([\n ``,\n ` cursor:pointer;padding:16px;`,\n ``\n], FlexMixin({\n align: 'center',\n justify: 'center'\n}), ({ disabled })=>disabled ? `\n opacity: 0.5;\n\t\tvisibility: hidden;\n cursor: not-allowed;\n ` : '');\n\nexport { AddButton, ArrayInputRow, ArrayInputRowContent, ArrayInputWrapper, RemoveIcon };\n"],"names":["ArrayInputWrapper","styled","FlexMixin","theme","ArrayInputRow","ArrayInputRowContent","AddButton","Button","RemoveIcon","Icon","disabled"],"mappings":"8DAKK,MAACA,EAAkCC,EAAO,IAAI,WAAW,CAC1D,YAAa,mBACjB,CAAC,EAAE,CACC,qBACA,iCACA,0CACA,oBACJ,EAAGC,EAAU,CACT,UAAW,QACf,CAAC,EAAG,CAAC,CAAE,MAAAC,CAAO,IAAGA,EAAM,MAAM,gBAAgB,GAAI,CAAC,CAAE,MAAAA,CAAK,IAAKA,EAAM,MAAM,QAAQ,EAAE,EAC9EC,EAA8BH,EAAO,IAAI,WAAW,CACtD,YAAa,eACjB,CAAC,EAAE,CACC,qBACA,YACJ,EAAGC,EAAS,CAAE,EACRG,EAAqCJ,EAAO,IAAI,WAAW,CAC7D,YAAa,sBACjB,CAAC,EAAE,CACC,GACA,yCACJ,EAAGC,EAAS,CAAE,EACRI,EAA0BL,EAAOM,CAAM,EAAE,WAAW,CACtD,YAAa,WACjB,CAAC,EAAE,CACC,wEACA,8CACA,uDACA,mCACJ,EAAG,CAAC,CAAE,MAAAJ,CAAO,IAAGA,EAAM,MAAM,KAAK,IAAI,EAAG,CAAC,CAAE,MAAAA,CAAO,IAAGA,EAAM,MAAM,gBAAgB,GAAI,CAAC,CAAE,MAAAA,CAAO,IAAGA,EAAM,MAAM,QAAQ,EAAE,EAClHK,EAA2BP,EAAOQ,CAAI,EAAE,WAAW,CACrD,YAAa,YACjB,CAAC,EAAE,CACC,GACA,gCACA,EACJ,EAAGP,EAAU,CACT,MAAO,SACP,QAAS,QACb,CAAC,EAAG,CAAC,CAAE,SAAAQ,CAAU,IAAGA,EAAW;AAAA;AAAA;AAAA;AAAA,MAIvB,EAAE","x_google_ignoreList":[0]}