import{i as t}from"./p-e4c4ea35.js";class n{constructor(){this.overrideValue=!1}canFormat(n,r,i){if("init"===n||"change"===n){if("component"===r&&t(null==i?void 0:i.isBlurred))return!1;if(this.shouldTriggerAtInit())return!0}if("input"===n&&"native-input"===r)return!0;if("change"===n&&("component"===r||"native-input"===r))return!0;if("blur"===n&&(null==i?void 0:i.isBlurred)){if("component"===r&&this.shouldOverrideComponentValueAfterBlur())return!0;if("native-input"===r)return!0}return!1}shouldOverrideComponentValueAfterBlur(){return this.overrideValue}shouldTriggerAtInit(){return!1}}export{n as S}