"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../../../services/theme/utils.js"),d=require("../../../../global_styling/functions/size.js");function i(r,e){return m(r)||y(r,e)||b(r,e)||h()}function h(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(r,e){if(!!r){if(typeof r=="string")return s(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(r,e)}}function s(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,o=new Array(e);t<e;t++)o[t]=r[t];return o}function y(r,e){var t=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var o=[],u=!0,c=!1,l,a;try{for(t=t.call(r);!(u=(l=t.next()).done)&&(o.push(l.value),!(e&&o.length===e));u=!0);}catch(f){c=!0,a=f}finally{try{!u&&t.return!=null&&t.return()}finally{if(c)throw a}}return o}}function m(r){if(Array.isArray(r))return r}var p={color:n.computed(function(r){var e=i(r,1),t=e[0];return t},["colors.lightShade"]),width:{thin:"1px",thick:"2px"},radius:{medium:n.computed(d.sizeToPixel(.375)),small:n.computed(d.sizeToPixel(.25))},thin:n.computed(function(r){var e=i(r,2),t=e[0],o=e[1];return"".concat(t.thin," solid ").concat(o)},["border.width","border.color"]),thick:n.computed(function(r){var e=i(r,2),t=e[0],o=e[1];return"".concat(t.thick," solid ").concat(o)},["border.width","border.color"]),editable:n.computed(function(r){var e=i(r,2),t=e[0],o=e[1];return"".concat(t.thick," dotted ").concat(o)},["border.width","border.color"])};exports.border=p;
//# sourceMappingURL=_borders.js.map
