const e=require("../../theme/util/genComponentStyleHook.js"),t=require("../../theme/util/statistic.js"),n=require("../../checkbox/style/index.js"),r=require("../../tree/style/index.js");var i=e=>{let{componentCls:i,treePrefixCls:a,colorBgElevated:o}=e,s=`.${a}`;return[{[`${i}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},r.genTreeStyle(a,t.merge(e,{colorBgContainer:o})),{[s]:{borderRadius:0,"&-list-holder-inner":{alignItems:`stretch`,[`${s}-treenode`]:{[`${s}-node-content-wrapper`]:{flex:`auto`}}}}},n.getStyle(`${a}-checkbox`,e),{"&-rtl":{direction:`rtl`,[`${s}-switcher${s}-switcher_close`]:{[`${s}-switcher-icon svg`]:{transform:`rotate(90deg)`}}}}]}]};function a(n,r){return e.default(`TreeSelect`,e=>[i(t.merge(e,{treePrefixCls:r.value}))])(n)}exports.default=a;