"use strict";var e=require("@gem-sdk/core");const p=p=>e.composeTypographyClassName(p?.typo),r=e=>e.trim().split(/\s+/).reduce((e,p)=>(e[p]=!0,e),{});exports.composeClasses=r,exports.createContentWidthClasses=()=>r("gp-flex gp-items-center gp-file-upload__content"),exports.createIconContentClasses=()=>r("group-hover:[color:var(--text-hover-color)] gp-file-upload__icon gp-inline-flex gp-items-center gp-justify-center gp-overflow-hidden [&>svg]:!gp-h-[var(--height-desktop)] [&>svg]:!gp-w-full tablet:[&>svg]:!gp-h-[var(--height-tablet)] mobile:[&>svg]:!gp-h-[var(--height-mobile)]"),exports.createInputClasses=()=>r("gp-input_picker gp-block gp-opacity-0 gp-w-0 gp-h-0 gp-top-2/4 gp-left-2/4 -gp-translate-x-1/2 -gp-translate-y-1/2 gp-absolute gp-cursor-pointer gp-p-0"),exports.createLayoutClasses=(p,t)=>{let o=e.cls("gp-flex gp-items-center",t,{"gp-flex-col":p?.fileUploadLayout==="vertical"});return r(o)},exports.createMessageClasses=()=>r("gp-hidden error-message"),exports.createPreviewClasses=()=>r("gp-file_preview gp-flex gp-gap-2 gp-overflow-x-auto gp-whitespace-nowrap gp-mt-2"),exports.createPreviewItemClasses=()=>r("gp-group gp-file_preview_item gp-file_preview_item_0 gp-hidden gp-rounded-[2.62px] gp-min-h-[104px] gp-relative gp-flex-[0_0_calc((100%_/_4)_-_6px)] gp-min-w-[104px] gp-box-border"),exports.createPreviewRemoveClasses=()=>r("remove gp-hidden group-hover:!gp-flex"),exports.createTypoClasses=t=>r(e.cls(p(t),"gp-file-upload__text group-hover:[color:var(--text-hover-color)]")),exports.createWrapContainerClasses=e=>r(`gp-group gp-cursor-pointer gp-relative gp-flex gp-items-center gp-file-upload_container ${e}`);
