function e(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder:n}function t(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder:n}function n(e,t){let n={adjustX:1,adjustY:1};switch(t){case`bottomLeft`:return{points:[`tl`,`bl`],offset:[0,4],overflow:n};case`bottomRight`:return{points:[`tr`,`br`],offset:[0,4],overflow:n};case`topLeft`:return{points:[`bl`,`tl`],offset:[0,-4],overflow:n};case`topRight`:return{points:[`br`,`tr`],offset:[0,-4],overflow:n};default:return{points:e===`rtl`?[`tr`,`br`]:[`tl`,`bl`],offset:[0,4],overflow:n}}}exports.getPlaceholder=e,exports.getRangePlaceholder=t,exports.transPlacement2DropdownAlign=n;