(()=>{"use strict";const r=window.wp.i18n,t=window.wc?.blocksCheckout?.registerCheckoutFilters;if("function"==typeof t){const s=(r,t)=>r?.arraysubs_subscription??t?.cartItem?.extensions?.arraysubs_subscription??null;t("arraysubs",{cartItemClass(r,t,a){const e=s(t,a);return e?.has_trial?`${r} arraysubs-trial-cart-item`.trim():r},cartItemPrice(t,a,e){const i=s(a,e);return"cart"===e?.context&&i?.has_trial?(0,r.sprintf)(/* translators: %s: free-trial duration, for example "2 days". */ /* translators: %s: free-trial duration, for example "2 days". */
(0,r.__)("<price/> today (free for %s)","arraysubs"),i.trial_schedule):t}})}})();