import{H as e,i as t}from"./protobuf.DyZGXwGk.js";var n=function(e){return e.HORIZONTAL=`row`,e.VERTICAL=`column`,e}({});function r(e){return e.flexContainer?e.flexContainer.direction==t.FlexContainer.Direction.HORIZONTAL?`row`:`column`:e.vertical?`column`:e.horizontal?`row`:`column`}function i(e){return!!(e?.useStretch||e?.pixelWidth)}function a(e){return!!(e?.useStretch||e?.pixelHeight)}var o={[e.TextAlignmentConfig.Alignment.LEFT]:`left`,[e.TextAlignmentConfig.Alignment.CENTER]:`center`,[e.TextAlignmentConfig.Alignment.RIGHT]:`right`,[e.TextAlignmentConfig.Alignment.JUSTIFY]:`justify`,[e.TextAlignmentConfig.Alignment.UNSPECIFIED]:`left`};function s(e){if(e?.alignment)return o[e.alignment]||`left`}export{i as a,a as i,r as n,s as r,n as t};