import{c as r,b as o,g as a}from"./p-CgNJbSP4.js";const e="rgba(var(--color-gray-lighter), 0.4)",l="rgba(var(--color-cyan-lighter), 0.4)",t="rgba(var(--color-gray-lighter), 0.4)",g="rgba(var(--color-blue-lighter), 0.4)",p="rgba(var(--color-yellow-lighter), 0.4)",c="rgba(var(--color-green-lighter), 0.4)",s="rgba(var(--color-coral-lighter), 0.4)",d="rgba(var(--color-sky-lighter), 0.4)",i="rgba(var(--color-lime-lighter), 0.4)",m="rgba(var(--color-magenta-lighter), 0.4)",n="rgba(var(--color-blue-lighter), 0.4)",v="rgba(var(--color-orange-lighter), 0.4)",b="rgba(var(--color-indigo-lighter), 0.4)",f="rgba(var(--color-red-lighter), 0.4)",h="rgba(var(--color-orange-lighter), 0.4)",x="rgba(var(--color-glaucous-lighter), 0.4)",u={msg:"rgba(var(--color-yellow-lighter), 0.4)",ics:l,ical:l,icalendar:l,ifb:l,email:t,eml:t,oft:t,ost:t,emlx:t,html:g,xml:g,txt:p,rtf:p,dot:d,doc:d,docx:d,dotx:d,docm:d,dotm:d,odt:v,pages:v,pdf:"rgba(var(--color-red-lighter), 0.4)",ppt:s,pot:s,pps:s,pptx:s,pptm:s,potx:s,potm:s,ppam:s,ppsx:s,ppsm:s,sldx:s,sldm:s,odp:n,key:n,xls:c,xlsx:c,csv:e,numbers:"rgba(var(--color-green-lighter), 0.4)",bmp:i,jpg:i,jpeg:i,heic:i,png:i,gif:i,psd:n,ai:v,svg:m,svgz:m,ep:m,eps:m,sketch:m,mp3:b,wav:b,wma:b,ogg:b,flv:f,h264:f,mov:f,mp4:f,mwv:f,zip:h,"7z":h,rar:h,json:x,yaml:x,sql:x,db:x,dbf:x},k="rgb(var(--color-gray-dark))",y="rgb(var(--color-cyan-dark))",_="rgb(var(--color-gray-dark))",w="rgb(var(--color-blue-dark))",j="rgb(var(--color-yellow-darker))",z="rgb(var(--color-green-dark))",q="rgb(var(--color-coral-dark))",P="rgb(var(--color-sky-dark))",C="rgb(var(--color-lime-dark))",D="rgb(var(--color-magenta-dark))",F="rgb(var(--color-blue-dark))",J="rgb(var(--color-orange-dark))",N="rgb(var(--color-indigo-dark))",S="rgb(var(--color-red-dark))",A="rgb(var(--color-brown-default))",B="rgb(var(--color-glaucous-dark))",E={msg:"rgb(var(--color-yellow-dark))",ics:y,ical:y,icalendar:y,ifb:y,email:_,eml:_,oft:_,ost:_,emlx:_,html:w,xml:w,txt:j,rtf:j,dot:P,doc:P,docx:P,dotx:P,docm:P,dotm:P,odt:J,pages:J,pdf:"rgb(var(--color-red-dark))",ppt:q,pot:q,pps:q,pptx:q,pptm:q,potx:q,potm:q,ppam:q,ppsx:q,ppsm:q,sldx:q,sldm:q,odp:F,key:F,xls:z,xlsx:z,csv:k,numbers:"rgb(var(--color-green-dark))",bmp:C,jpg:C,jpeg:C,heic:C,png:C,gif:C,psd:F,ai:J,svg:D,svgz:D,ep:D,eps:D,sketch:D,mp3:N,wav:N,wma:N,ogg:N,flv:S,h264:S,mov:S,mp4:S,mwv:S,zip:A,"7z":A,rar:A,json:B,yaml:B,sql:B,db:B,dbf:B},G="tear_off_calendar",H="email",I="internet",K="text_box",L="ms_excel_copyrighted",M="ms_word_copyrighted",O="ms_powerpoint_copyrighted",Q="picture",R="camera",T="vector",U="presentation_filled",V="overview_pages_2",W="data_sheet",X="audio_wave",Y="video_file",Z="condom_package",$="database",rr={msg:"ms_outlook_copyrighted",ics:G,ical:G,icalendar:G,ifb:G,email:H,eml:H,oft:H,ost:H,emlx:H,html:I,xml:I,txt:K,rtf:K,dot:M,doc:M,docx:M,dotx:M,docm:M,dotm:M,odt:V,pages:V,pdf:"PDF_2",ppt:O,pot:O,pps:O,pptx:O,pptm:O,potx:O,potm:O,ppam:O,ppsx:O,ppsm:O,sldx:O,sldm:O,odp:U,key:U,xls:L,xlsx:L,csv:W,numbers:W,jpg:R,jpeg:R,heic:R,bmp:Q,png:Q,gif:Q,psd:"adobe_photoshop_copyrighted",ai:"adobe_illustrator_copyrighted",svg:T,svgz:T,ep:T,eps:T,sketch:T,mp3:X,wav:X,wma:X,ogg:X,avi:Y,flv:Y,h264:Y,mov:Y,mp4:Y,mwv:Y,zip:Z,"7z":Z,rar:Z,json:"json",yaml:$,sql:$,db:$,dbf:$};function or(r){const o=a(r.icon);if(o)return o;const e=tr(r);return e?function(r){return rr[r.toLowerCase()]||"file"}(e):void 0}function ar(r){const a=o(r.icon,r.iconColor);if(a)return a;const e=tr(r);return e?function(r){return E[r.toLowerCase()]||k}(e):void 0}function er(o){const a=r(o.icon,o.iconBackgroundColor);if(a)return a;const l=tr(o);return l?function(r){return u[r.toLowerCase()]||e}(l):void 0}function lr(r){return a(r.icon)||tr(r)}function tr(r){if(r)return r.filename.split(".").pop()}export{ar as a,lr as b,or as c,er as g}