<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>SN 2021foa: The “Flip-flop” Type IIn/Ibn Supernova</title></titleStmt>
			<publicationStmt>
				<publisher>The Astrophysical Journal</publisher>
				<date>12/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10651958</idno>
					<idno type="doi">10.3847/1538-4357/ad8cd3</idno>
					<title level='j'>The Astrophysical Journal</title>
<idno>0004-637X</idno>
<biblScope unit="volume">977</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>D Farias</author><author>C Gall</author><author>G Narayan</author><author>S Rest</author><author>V A Villar</author><author>C R Angus</author><author>K Auchettl</author><author>K W Davis</author><author>R J Foley</author><author>A Gagliano</author><author>J Hjorth</author><author>L Izzo</author><author>C D Kilpatrick</author><author>H_M L Perkins</author><author>E Ramirez-Ruiz</author><author>C L Ransome</author><author>A Sarangi</author><author>R Yarza</author><author>D A Coulter</author><author>D O Jones</author><author>N Khetan</author><author>A Rest</author><author>M R Siebert</author><author>J J Swift</author><author>K Taggart</author><author>S Tinyanont</author><author>P Wrubel</author><author>T_J L de_Boer</author><author>K E Clever</author><author>A Dhara</author><author>H Gao</author><author>C-C Lin</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>Abstract</title> <p>We present a comprehensive analysis of the photometric and spectroscopic evolution of SN 2021foa, unique among the class of transitional supernovae for repeatedly changing its spectroscopic appearance from hydrogen-to-helium-to-hydrogen dominated (IIn-to-Ibn-to-IIn) within 50 days past peak brightness. The spectra exhibit multiple narrow (≈300–600 km s<sup>−1</sup>) absorption lines of hydrogen, helium, calcium, and iron together with broad helium emission lines with a full width at half-maximum (FWHM) of ∼6000 km s<sup>−1</sup>. For a steady, wind mass-loss regime, light-curve modeling results in an ejecta mass of ∼8<italic>M</italic><sub>⊙</sub>and circumstellar material (CSM) mass below 1<italic>M</italic><sub>⊙</sub>, and an ejecta velocity consistent with the FWHM of the broad helium lines. We obtain a mass-loss rate of ≈2<italic>M</italic><sub>⊙</sub>yr<sup>−1</sup>. This mass-loss rate is 3 orders of magnitude larger than derived for normal Type II supernovae. We estimate that the bulk of the CSM of SN 2021foa must have been expelled within half a year, about 12 yr ago. Our analysis suggests that SN 2021foa had a helium-rich ejecta that swept up a dense shell of hydrogen-rich CSM shortly after explosion. At about 60 days past peak brightness, the photosphere recedes through the dense ejecta-CSM region, occulting much of the redshifted emission of the hydrogen and helium lines, which results in an observed blueshift (∼−3000 km s<sup>−1</sup>). Strong mass-loss activity prior to explosion, such as those seen in SN 2009ip-like objects and SN 2021foa as precursor emission, are the likely origin of a complex, multiple-shell CSM close to the progenitor star.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Massive stars (&#61577;8 M e ) undergo different mass-loss phases, losing material from their outer layers shortly before core collapse (CC; S. J. <ref type="bibr">Smartt 2009;</ref><ref type="bibr">N. Smith 2017)</ref>. Analysis of this expelled material, termed circumstellar material (CSM), can provide important information about the progenitor system, and thus, the late stage of massive stellar evolution (see, e.g., V. <ref type="bibr">Morozova et al. 2018)</ref>. The CSM surrounds the progenitor, and thus, the supernova (SN) radiation and ejecta inevitably interact with the CSM. The emanating signatures arising from the interaction appear at a variety of phases during the evolution of the SN, depending primarily upon the mass distribution of the CSM (L. <ref type="bibr">Dessart &amp; D. J. Hillier 2022)</ref>. This interaction produces SN spectra that can be dominated by narrow (&#8764;100-500 km s -1 ) or intermediately broad (&#8764;1000 km s -1 ) emission lines and P Cygni profiles (see M. <ref type="bibr">Fraser 2020, and references therein)</ref>.</p><p>Depending upon the progenitor system, as well as the composition and radial distribution of the CSM, different classes of core-collapse supernovae (CCSNe) have been identified.</p><p>CCSNe with a hydrogen (H)-rich CSM and little helium (He) emission in their spectra are commonly classified as Type IIn supernovae (SNe IIn; E. M. <ref type="bibr">Schlegel 1990)</ref>. Classical examples of such events are, e.g., <ref type="bibr">SN 1998S, SN 2005ip, and SN 2010jl (O. Fox et al. 2009</ref>; J. <ref type="bibr">Mauerhan &amp; N. Smith 2012;</ref><ref type="bibr">C. Fransson et al. 2014;</ref><ref type="bibr">C. Gall et al. 2014)</ref>. However, if the CSM is He-rich with little-to-no H emission in the SN spectra, then the CCSNe are classified as Type Ibn supernovae (SNe Ibn; R. J. <ref type="bibr">Foley et al. 2007;</ref><ref type="bibr">A. Pastorello et al. 2007</ref>). In recent years, another class of interacting SNe has emerged, the Type Icn supernovae (SNe Icn; A. <ref type="bibr">Gal-Yam et al. 2022;</ref><ref type="bibr">C. Pellegrino et al. 2022</ref>; K. W. <ref type="bibr">Davis et al. 2023</ref>). These SNe exhibit narrow oxygen (O) and carbon (C) emission lines in their spectra.</p><p>In the local universe, SNe IIn and Ibn comprise about 5% and 1% of the volumetric rate of CCSNe, respectively (K. Maeda &amp; T. J. Moriya 2022; C. <ref type="bibr">Cold &amp; J. Hjorth 2023)</ref>. Among the interacting CCSNe, SNe Icn are the rarest, with only five members known thus far (see K. W. <ref type="bibr">Davis et al. 2023</ref>). However, the classification of several interacting SNe is ambiguous, as some CCSNe appear to change their type, e.g., from SNe IIn to Ibn or vice versa. Prominent examples are SN 2005la (A. <ref type="bibr">Pastorello et al. 2008b)</ref>, SN 2011hw (N. <ref type="bibr">Smith et al. 2012a;</ref><ref type="bibr">A. Pastorello et al. 2015a</ref>), iPTF15akq (G. <ref type="bibr">Hosseinzadeh et al. 2017)</ref>, and SN 2020bqj (E. C. <ref type="bibr">Kool et al. 2021</ref>). These objects form the unique group of transitional SNe IIn/Ibn.</p><p>Determining the exact nature of the progenitor of interacting SNe is challenging due to the complexities of the interaction between the ejecta and the CSM. Thus, SNe IIn have diverse light curves, spanning a broad range of peak magnitudes (A. <ref type="bibr">Nyholm et al. 2020</ref>) and light-curve shapes. This has led to suggest a wide range of plausible progenitors systems for SNe IIn, such as red supergiants (RSG) in binary systems (SN 1998S-like objects; N. Smith 2017), luminous blue variables (LBVs), e.g., for SN 2005gl (A. <ref type="bibr">Gal-Yam et al. 2007)</ref>, SN 2009ip (R. J. <ref type="bibr">Foley et al. 2011;</ref><ref type="bibr">N. Smith et al. 2013)</ref>, SN 2010jl (N. <ref type="bibr">Smith et al. 2011)</ref>, and SN 2015bh (I. <ref type="bibr">Boian &amp; J. H. Groh 2018)</ref>, while an &#8764;20 M e star is preferred for SN 2016jbu (C. D. <ref type="bibr">Kilpatrick et al. 2018</ref>; S. J. <ref type="bibr">Brennan et al. 2022a</ref>). The progenitor of SN 2015bh is also proposed to be a yellow supergiant (&#8764;50 M e ) (C. C. <ref type="bibr">Th&#246;ne et al. 2017)</ref>.</p><p>On the contrary, the light curves of SNe Ibn show a high degree of homogeneity (G. <ref type="bibr">Hosseinzadeh et al. 2017)</ref>. Thus, the most plausible progenitor is an an evolved Wolf-Rayet (W-R) star (A. <ref type="bibr">Pastorello et al. 2008a)</ref>, which is consistent with the majority of Ibn SNe being found in starforming galaxies (although see PS1-12sk; G. <ref type="bibr">Hosseinzadeh et al. 2019)</ref>. Furthermore, the mass-loss rates derived from light-curve modeling of, e.g., OGLE-2014-SN-131 and SN 2020bqj (e.g., E. <ref type="bibr">Karamehmetoglu et al. 2017</ref>; E. C. <ref type="bibr">Kool et al. 2021)</ref> favor such a progenitor. Alternatively, SNe Ibn may be the explosion of a low-mass helium star in a binary system (L. <ref type="bibr">Dessart et al. 2022)</ref>. Unlike SNe IIn (see SN 2005gl; A. <ref type="bibr">Gal-Yam et al. 2007)</ref>, there is no detection of any progenitor system of SNe Ibn in archival data. However, late-time photometry at the location of SN 2006jc has shown a potential companion associated with the exploding star (J. R. <ref type="bibr">Maund et al. 2016;</ref><ref type="bibr">N.-C. Sun et al. 2020)</ref>.</p><p>A handful of CCSNe exhibited pre-explosion activities or outbursts up to two decades prior to their terminal explosion. Precursor emission in SNe IIn is common (e.g., J. C. <ref type="bibr">Mauerhan et al. 2013;</ref><ref type="bibr">E. O. Ofek et al. 2013b;</ref><ref type="bibr">N. Elias-Rosa et al. 2016;</ref><ref type="bibr">C. C. Th&#246;ne et al. 2017;</ref><ref type="bibr">A. Pastorello et al. 2018;</ref><ref type="bibr">D. Hiramatsu et al. 2024)</ref>, such as the case of SN 2009ip (A. <ref type="bibr">Pastorello et al. 2013</ref>; R. <ref type="bibr">Margutti et al. 2014</ref>). This transient was first classified as an SN impostor (e.g., R. J. <ref type="bibr">Foley et al. 2011)</ref>. However, after two more outbursts in 2011 and 2012, its "final" rebrightening in 2012 reached M R &#8776; -18 mag, which was proposed as the terminal explosion of an SN IIn (J. C. <ref type="bibr">Mauerhan et al. 2013</ref>). On the contrary, precursor emission has only been observed for three SNe Ibn: 2006jc (R. J. <ref type="bibr">Foley et al. 2007</ref>), 2019uo (N. L. <ref type="bibr">Strotjohann et al. 2021)</ref>, and 2023fyq (S. J. <ref type="bibr">Brennan et al. 2024a;</ref><ref type="bibr">Y. Dong et al. 2024)</ref>.</p><p>Interacting SNe with observed signatures of pre-explosion outbursts and a photometric and spectroscopic evolution similar to that of SN 2009ip are termed 2009ip-like objects (A. <ref type="bibr">Pastorello et al. 2018</ref>; S. J. <ref type="bibr">Brennan et al. 2022b)</ref>. Prominent examples of this class include SN 2015bh (N. <ref type="bibr">Elias-Rosa et al. 2016;</ref><ref type="bibr">C. C. Th&#246;ne et al. 2017)</ref>, SN 2016jbu (C. D. <ref type="bibr">Kilpatrick et al. 2018</ref>; S. J. <ref type="bibr">Brennan et al. 2022b)</ref>, and SN 2019zrk (C. <ref type="bibr">Fransson et al. 2022)</ref>. Typically, photometric and spectroscopic data obtained around the epochs of the outbursts suggest that these are LBV-like eruptions prior to the presumed terminal explosion of the progenitor (A. <ref type="bibr">Pastorello et al. 2013</ref>; C. C. <ref type="bibr">Th&#246;ne et al. 2017</ref>; S. J. <ref type="bibr">Brennan et al. 2022a</ref>). However, whether or not the latter are indeed stellar explosions remains unclear (N. <ref type="bibr">Smith et al. 2022)</ref>.</p><p>Here, we present unpublished multiband photometry and time-series spectroscopy of the fifth transitional SNe IIn/Ibn 2021foa. The data were collected by the Young Supernova Experiment (D. O. <ref type="bibr">Jones et al. 2021;</ref><ref type="bibr">P. D. Aleo et al. 2023;</ref><ref type="bibr">D. A. Coulter et al. 2023)</ref>. The SN (R. <ref type="bibr">A. = 13:17:12.29, decl. = -17:15:24.19</ref>) was discovered by ASAS-SN (K. Z. Stanek &amp; C. S. Kochanek 2021) on 2021 March 15 (g &#8764; 15.9) in the galaxy IC 086 (ASAS-SN-21dg). It was initially classified as an SNe IIn due to the strong, narrow Balmer lines in the optical spectrum (C. <ref type="bibr">Angus 2021</ref>). An analysis of its light curve and spectra until +79 days (A. <ref type="bibr">Reguitti et al. 2022)</ref> suggests that SN 2021foa is photometrically similar to SN 2009ip-like objects such as SN 2005gl (A. <ref type="bibr">Gal-Yam et al. 2007</ref><ref type="bibr">), SN 2009ip (A. Pastorello et al. 2013)</ref>, and notably, SN 2016jbu (C. D. <ref type="bibr">Kilpatrick et al. 2018</ref>; S. J. <ref type="bibr">Brennan et al. 2022b)</ref>, while spectroscopically resembles the transitional SNe IIn/Ibn. In this work, we present a comprehensive analysis of the spectroscopic and photometric evolution out to +427 days. We detail a physical picture of this unusual SN, which, among its counterparts in the 2009ip-like class, exhibits some unique characteristics.</p><p>We determine the time of maximum light in the r band using a second-degree polynomial fit between MJD 59280 and 59315 to be MJD max = 59302.35 &#177; 0.14 (r max ). We use this as our reference time throughout the remainder of the paper. Throughout this work, we assume a standard &#923;CDM cosmology with H 0 = 67.8 km s -1 Mpc -1 and &#937; m = 0.307 <ref type="bibr">(Planck Collaboration et al. 2014)</ref>.</p><p>The paper is structured as follows: Section 2 describes the data acquisition and reduction. In Section 3, we present our photometric and spectroscopic analysis methodology, with the results presented in Section 4. We discuss our results from the analysis in Section 5, and conclude by formulating a complete physical scenario for SN 2021foa in Section 6.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Observations</head><p>Our photometric and spectroscopic follow-up observations of SN 2021foa, including archival and public data, are described below.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Photometric Data</head><p>We obtained optical photometry with the Sinistro imagers on the Las Cumbres Observatory (LCO) 1 m telescope network (T. M. <ref type="bibr">Brown et al. 2013)</ref> in the UBVRI, up, gp, rp, ip, z bands, starting 2021 March 15 through 2021 August 17. Initial automatic processing of the imaging data, including instrument signature removal, pixel-level corrections, and astrometric calibration, was performed by the LCO BANZAI pipeline (C. <ref type="bibr">McCully et al. 2018)</ref>. Thereafter, images were processed using the PhotPipe pipeline (A. <ref type="bibr">Rest et al. 2005;</ref><ref type="bibr">D. O. Jones et al. 2021</ref>). We measured the flux of SN 2021foa from the LCO images using an updated version of DoPhot (P. L. <ref type="bibr">Schechter et al. 1993)</ref>, and this photometry was calibrated using u-band Sloan Digital Sky Survey (S. <ref type="bibr">Alam et al. 2015)</ref> together with griz Pan-STARRS1 photometric standards observed in the vicinity of SN 2021foa. We calibrated the photometry of the R and I bands on the Cousins photometric system.</p><p>Observations with the Ultraviolet and Optical Telescope (UVOT; P. W. A. <ref type="bibr">Roming et al. 2005</ref>) on board the Neil Gehrels Swift Observatory were reported in A. <ref type="bibr">Reguitti et al. (2022)</ref>. UVOT data of SN 2021foa were taken between 2021 March 16 and 2021 May 10. Following the methodology described in P. J. <ref type="bibr">Brown et al. (2014)</ref>, we use uvotsource from the HEASoft v6.26 package to perform aperture photometry within a 3&#8243; aperture centered on SN 2021foa. We measured the total background flux at the location of SN 2021foa from frames obtained on 2022 June 17, when any residual light from the fading SN is well below the sky background. The background emission was then subtracted from all previous observations. We detected emissions of SN 2021foa at a &gt;3&#963; level in all UVOT bands in the 2021 observations. SN 2021foa was also observed by the Asteroid Terrestrialimpact Last Alert System (ATLAS; J. L. <ref type="bibr">Tonry et al. 2018)</ref> between February 22 to July 16 and March 20 to July 14 in the o and c bands, respectively. Following the procedure described by K. W. <ref type="bibr">Davis et al. (2023)</ref>, we obtained the binned light-curve data calculated as a 3&#963; cut weighted mean for each night. In contrast to A. <ref type="bibr">Reguitti et al. (2022</ref><ref type="bibr">Reguitti et al. ( , 2024))</ref>, we did not find any significant detection in the c band prior to February 22 (see Appendix B).</p><p>Additional images of SN 2021foa were obtained in the BVri bands with the 1 m Nickel telescope at Lick Observatory and in the up, gp, rp, zp bands with the Thacher 0.7 m telescope in Ojai, CA (J. J. <ref type="bibr">Swift et al. 2022)</ref>. The images from the Nickel telescope were calibrated using bias and sky flat-field frames following standard procedures. Point-spread function photometry was performed, and photometry was calibrated relative to Pan-STARRS1 photometric standards (H. A. <ref type="bibr">Flewelling et al. 2020)</ref>. Similarly, the photometry of the images from the Thacher telescope was obtained using DoPhot and calibrated with the griz Pan-STARRS1 catalog.</p><p>Figure <ref type="figure">1</ref> shows our photometric data of SN 2021foa, including LCO/Sinistro (UBVRI, up, gp, rp, ip, z), our rereduced and host galaxy subtracted UVOT (UVW1, UVW2, UVM2, U, B, and V ) data, ATLAS (c and o), Nickel (BVri), and Thacher (griz) data. All photometric data are summarized in Table <ref type="table">A1</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Spectroscopic Data</head><p>Figure <ref type="figure">2</ref> shows our extensive optical spectroscopic follow-up observations of SN 2021foa obtained within -12 days and +427 days. Data were obtained with the Kast dual-beam spectrograph (J. S. <ref type="bibr">Miller &amp; R. P. S. Stone 1993)</ref> on the Lick Shane 3 m telescope at -7, +8, +15, +21, +35, +42, and +51 days, the Goodman spectrograph (J. C. <ref type="bibr">Clemens et al. 2004</ref>) on the NOIRLab 4.1 m Southern Astrophysical Research (SOAR) telescope at Cerro Pach&#243;n at -8 days, the Alhambra Faint Object Spectrograph and Camera (ALFOSC) on the Nordic Optical Telescope (NOT) at -11, -7, and -6 days, and the Wide Field Spectrograph (WiFeS) at the Australian National University (ANU) 2.3 m telescope located at Siding Spring Observatory (M. <ref type="bibr">Dopita et al. 2007</ref>) at -11 and +51 days.</p><p>The Kast observations are performed with the blue side 452/ grism, 300/7500 grating, d58 dichroic, and 2&#8243; slit. Goodman observations were carried out using the 400 lines/mm grating with the M1 wavelength setting (300-705 nm). To reduce the Kast and Goodman spectra, we used the UCSC_spectral_pipeline<ref type="foot">foot_1</ref> (M. R. <ref type="bibr">Siebert et al. 2019)</ref>. The ALFOSC spectra were taken with a 1 0 slit and grisms 4 and 8. For all reduction, extraction, and calibration steps, we used standard IRAF<ref type="foot">foot_2</ref> routines using PyRAF. <ref type="foot">20</ref>WiFeS is an integral-field spectrograph with a field of view of 38&#8243; &#215; 25&#8243;. SN 2021foa was observed using an RT-560 beam splitter and B3000 and R3000 diffraction gratings, which cover the 3200-5900 &#197; and 5300-9800 &#197; wavelength ranges. All observations had a Y = 2 binning readout mode, corresponding to a 1 &#215; 1 arcsec 2 spaxel. Each observation was reduced using PyWiFeS (M. J. <ref type="bibr">Childress et al. 2014)</ref>. We extract an isolated part of the sky for background determination and subtraction.</p><p>Figure <ref type="figure">3</ref> presents our NIR spectra of SN 2021foa, which were obtained with the SpeX spectrograph (J. T. <ref type="bibr">Rayner et al. 2003)</ref> mounted on the 3 m NASA Infrared Telescope Facility (IRTF) at -8, +12, and +41 days. In this mode with the 0 8 slit, the spectral resolving power is R &#8776; 1000. The SN was observed in an ABBA dithering pattern with an A0V star observed immediately before or after science observations for telluric correction. We also obtain observations of internal flat field and arc calibration lamps at the science pointing. We reduced the data using Spextool (M. C. <ref type="bibr">Cushing et al. 2004</ref>), which performed flat-fielding, wavelength calibration, background subtraction, and spectral extraction. We then performed telluric correction using xtellcor (W. D. <ref type="bibr">Vacca et al. 2003)</ref>.</p><p>Medium-resolution spectra were obtained with the X-shooter echelle spectrograph (J. <ref type="bibr">Vernet et al. 2011</ref>) mounted at the Very Large Telescope (VLT) at the European Southern Observatory (ESO) on Cerro Paranal, Chile. The data are presented in Figures <ref type="figure">2</ref> and <ref type="figure">3</ref>. The X-shooter instrument covers the wavelength range of 0.3-2.5 &#956;m in three arms: the ultraviolet and blue (UVB), visual (VIS), and near-infrared (NIR) wavelength ranges. The slit widths (and resolving power) for the UBV, VIS, and NIR for these observations were 0 9 (R = 5900), 1 0 (R = 8900), and 1 0 (R = 5600), respectively. UVB, VIS, and NIR arms were reduced with EsoreFlex 2.11.5<ref type="foot">foot_4</ref> (W. <ref type="bibr">Freudling et al. 2013</ref>) pipeline individually. Then, using a custom Python code, the UVB and VIS arms were combined in STARE mode, while the NIR arm was combined in NOD mode. Special efforts have been made to perform a detailed background subtraction around strong host galaxy emission lines such as H&#945; (see Figure <ref type="figure">A1</ref>).</p><p>To improve the flux calibration from the mentioned pipelines, we mangle all low-resolution spectra to the interpolated photometry from extrabol,<ref type="foot">foot_5</ref> as described in Section 3.1.1. The .9UBV and VIS arms of the first three VLT/X-shooter spectra (+66, +95, and +129 days) were also flux calibrated in this way. Due to the lack of NIR photometry at these epochs, we used the calibration provided by EsoReflex. The same approach was applied for the last spectrum at +427 days, and as this late-time spectrum includes minimal contamination from the SN, we use narrow H&#945; to determine the redshift (z = 0.0086183).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Extinction</head><p>The Milky Way extinction was obtained from E. F. <ref type="bibr">Schlafly &amp; D. P. Finkbeiner (2011)</ref>  <ref type="figure">E</ref> 0.129, B V host was adopted from A. <ref type="bibr">Reguitti et al. (2022)</ref>. We confirmed this value from measurements of the equivalent width (EW) of the Na ID (&#955;5890, 5896) absorption lines detected in our mediumresolution VLT/X-shooter spectra (see Section 3.2) together with the extinction-EW relation from M. <ref type="bibr">Turatto et al. (2003)</ref>.</p><p>We obtain an EW of 0.85 &#177; 0.36 &#197;, similar to measurements by A. <ref type="bibr">Reguitti et al. (2022)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Analysis Methodology</head><p>The rich photometric and spectroscopic data set shows that SN 2021foa has a prolonged precursor emission similar to the SNe IIn 2009ip, but spectroscopically closer to transitional SNe IIn/Ibn objects, with strong He I emission lines in the optical and NIR wavelengths. To understand the physical mechanism that drives the similarities and differences and to put together a coherent physical scenario that can explain all observables, we employ a range of analysis methods. First, we model the multiband photometry to obtain information about the progenitor and the CSM associated with SN 2021foa, such as the ejecta and CSM masses and . Photometry of SN 2021foa. Swift UVW1, UVM2, UVW2, Thacher griz, Nickel BVri, and LCO/Sinistro UBVRI, up, gp, rp, ip, z data (AB system) are denoted by symbols and color coded as described in the legend. All light curves are offset by a constant, for clarity. The gray vertical lines mark our spectroscopic data at their respective epochs relative to r max at MJD max = 59302.35 days. Event A encompasses the time when the light curve of SN 2021foa shows precursor emission. Uncertainties are smaller than the size of the markers. The green band delimits the phases where a short plateau is observed (from +14 to +22 days). The inset highlights that same phase region.</p><p>progenitor radius. Second, we investigate the evolution of the most prominent lines (e.g., H I, He I, Ca II) of SN 2021foa by fitting their broad and narrow velocity components in emission and absorption. Such analysis provides insights into the complexity of the CSM while also highlighting the transitional nature of SN 2021foa among SNe IIn and Ibn classes. Lastly, we fit two blackbody (BB) functions to the X-shooter spectra from optical to NIR wavelengths to estimate the temperature and amount of dust present at the respective epochs in SN 2021foa.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Photometry</head><p>We begin with an analysis of the photometry of SN 2021foa, including a comparison to well-studied sources to inform the timescales and energetics of the explosion, which in turn constrain the progenitor system. Figure <ref type="figure">4</ref> shows the ATLAS o-band light curve of SN 2021foa compared to R-band-like (o, r, and R) light curves of other interacting SNe. Our comparison sample consists of transitional SNe IIn/Ibn 2005la, 2011hw, iPTF15akq, and 2020bqj. We also include SNe AT2016jbu, 2005gl, and 2016bdu, members of the 2009ip-like class with a photometric resemblance to SN 2021foa. The prototypical SNe Ibn SN 2006jc and SN 2023fyq (ATLAS photometry using ATClean, S. <ref type="bibr">Rest et al. 2023</ref>) serve as a representation of a well-studied, interacting He-rich SN. Additionally, we compare SN 2021foa against the SNe Ibn template from G. <ref type="bibr">Hosseinzadeh et al. (2017)</ref>, which represents the average, homogeneous photometric evolution of this SN class as well as the weighted mean (&#177;&#963;) of the photometry of all stripped-envelope, hydrogen-poor SNe Ibc in M. R. <ref type="bibr">Drout et al. (2011)</ref>. Interestingly, there is a plateau of &#8776;1 week duration starting from &#8776;2 weeks after maximum light in SN 2021foa (see the inset in Figure <ref type="figure">1</ref>). A similar plateau lasting for about 2 weeks can also be observed for SN 2016jbu (S. J. <ref type="bibr">Brennan et al. 2022b</ref>).  <ref type="table">A2</ref>). Black, dashed vertical lines indicate the restframe wavelength of the strongest lines observed in SN 2021foa, mostly H I and He I lines. For visualization purposes, we smoothed all the spectra with a rolling Gaussian with a kernel size of &#8764;15 &#197;. (The data used to create this figure are available in the online article.) SN 2009ip-like SNe are characterized by outbursts of M R &#8764; -11 &#177; 2 mag several years before the explosion, faint emission mimicking SN impostors of M R &#8764; -13 &#177; 2 mag (event A), and a peak magnitude of M R &#8764; -18.5 &#177; 0.5 (event B; A. <ref type="bibr">Pastorello et al. 2018;</ref><ref type="bibr">S. J. Brennan et al. 2022a)</ref>. For SN 2021foa, we set an upper limit of M o &#8776; -13.4 mag for any outburst within &#8764;5 yr before explosion (Section 5.2), while event A (M r &#8776; -14 mag) and event B (M r &#8776; -18 mag) agree with the values of 09ip-like class. The peak magnitude of SNe Ibn is, on average, much larger than that of SN 2021foa ( = - <ref type="bibr">Hosseinzadeh et al. 2017)</ref>. Since rise/decay times/slopes depend on the assumed explosion date and the interaction between the CSM and the SN ejecta, it is difficult to quantify the changing behavior of the light curves of 09ip-like SNe. Nonetheless, the decay slopes from +0 to +30 days past r-band maximum of SN 2009ip, AT 2016jbu, and SN 2021foa (&#8764;0.04, &#8764;0.07, and &#8764;0.04 mag day -1 ; D. <ref type="bibr">Farias et al. 2024, in preparation)</ref> are smaller than the average decay rate of SN Ibn (0.1 mag day -1 ; G. <ref type="bibr">Hosseinzadeh et al. 2017)</ref>. We note that the light curve of SN 2021foa shows a clear rebrightening in the r band after &#8776;+80 days.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.1.">Constructing a Bolometric Light Curve</head><p>To obtain the bolometric light curve, we fit the spectral energy distribution (SED) with a BB model using extrabol (I. Thornton &amp; V. A. <ref type="bibr">Villar 2022)</ref>. Extrabol models the light curves in flux space as a function of wavelength and phase with a 2D Gaussian process (typically with zero mean and stationary kernels in wavelength and phase, though these are configurable). A model SED (a BB model in the case of SN 2021foa) is fit to match the posterior mean of the Gaussian process, and the resulting SED surface is marginalized over wavelengths to produce a quasi-bolometric light curve. We combined our optical observations in Section 2.1 with J, H-and griz-band photometry from A. <ref type="bibr">Reguitti et al. (2022)</ref> to construct the SED from the B-band to NIR wavelengths. We computed the bolometric light curve only for epochs for which data were available in all selected passbands, as the 2D Gaussian process regresses to the mean when not constrained by observations.  <ref type="table">A2</ref>). For visualization purposes, the X-shooter spectra were trimmed from 2.2 to 2.5 &#956;m due to low signal-to-noise in that region. All spectra were smoothed with a rolling Gaussian with a kernel size of &#8764;15 &#197;. (The data used to create this figure are available in the online article.)  <ref type="bibr">et al. 2007</ref>) and SN 2023fyq (S. J. <ref type="bibr">Brennan et al. 2024a;</ref><ref type="bibr">Y. Dong et al. 2024)</ref>. All data are denoted by symbols and color coded according to the legend. The grayshaded region corresponds to the SNe Ibn template of G. <ref type="bibr">Hosseinzadeh et al. (2017, H17)</ref>. The green-shaded area is the weighted mean &#177;&#963; of the photometric sample of SNe Ibc in M. R. <ref type="bibr">Drout et al. (2011, D11)</ref>. The reference epoch of SN 2016jbu is with respect to V-band maximum. Vertical lines delimit the event A of SN 2021foa in Figure <ref type="figure">1</ref>.</p><p>Figure <ref type="figure">5</ref> shows the evolution of the photospheric BB radius (R BB ), temperature (T BB ), and the resulting bolometric light curve (L bol ) using extrabol. Additionally, we computed the bolometric light curves using SuperBol to show the consistency of our method, assuming a constant color extrapolation at early and late times. For comparison, we also included the bolometric light curve of SN 2009ip, using the UVW2, UVM2, UVW2, U, B, R, V, I bands to construct the SED. We address that, even if our fits reproduce the overall evolution of SN 2009ip shown in R. <ref type="bibr">Margutti et al. (2014)</ref>, they fitted a two-BB function (hot and cold components) to the SED up to the NIR bands. As expected, the evolution of R BB , T BB , and L bol of both SNe share similarities, such as a monotonic increase of R BB before r-band maximum and the phase at which L bol reaches maximum (&#8776;-2 days). Notoriously, the evolution of R BB drastically changes, possibly due to the inclusion of UV bands to construct the SED of SN 2009ip.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.2.">Modeling the Light Curve with the MOSFiT Framework</head><p>In order to investigate the progenitor properties and its mass-loss history, we adopt the radioactive decay (RD) model of 56 Ni + circumstellar interaction (CSI) from the MOSFiT (J. <ref type="bibr">Guillochon et al. 2018</ref>) framework<ref type="foot">foot_6</ref> based on E. <ref type="bibr">Chatzopoulos et al. (2012</ref><ref type="bibr">Chatzopoulos et al. ( , 2013))</ref>. The RD+CSI model has been extensively used to model light curves for different SNe Ibn (E. <ref type="bibr">Karamehmetoglu et al. 2017;</ref><ref type="bibr">E. C. Kool et al. 2021;</ref><ref type="bibr">T. Ben-Ami et al. 2023)</ref>. MOSFiT estimates the posterior probability of a set of parameters from the RD+CSI model given the photometric data and physically informed priors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.3.">Parameterization of the RD+CSI Model</head><p>The RD model accounts for the RD of 56 Ni through three parameters: the nickel fraction, f Ni , the &#947;-rays' opacity of the ejecta, &#954; &#947; , and an optical opacity, &#954;. Additionally, MOSFiT includes a model for the SN ejecta-CSM interaction, with several physical quantities for the ejecta and the CSM listed as free parameters (see V. A. <ref type="bibr">Villar et al. 2017</ref> for a detailed description). This includes the total mass of the ejecta (M ej ) and the inner and outer density profiles of the ejecta (&#961; in,ej &#8733; r -&#948; , &#961; out,ej &#8733; r -n ). The main parameters to describe the CSM are the inner radius of the CSM (R 0 ), the CSM density (&#961; CSM ), and the density profile of the CSM (&#961; CSM &#8733; r -s ). For the latter, s = 0 corresponds to a constant density (shell-like) CSM, while s = 2 denotes a wind-like model. Additionally, MOSFiT fits for the explosion time (t exp ) relative to the first photometric observation (E. C. <ref type="bibr">Kool et al. 2021)</ref>. MOSFiT also includes some nuisance parameters, such as the minimum allowed temperature of the photosphere before it recedes, T min . Finally, a white noise term, &#963;, is included and added in quadrature to the photometric uncertainties. MOSFiT uses this white noise term to quantify the quality of the fitting. Acceptable values for this parameter are &#963; &lt; 0.2 (M. <ref type="bibr">Nicholl et al. 2017</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.4.">RD+CSI Modeling Choices and Priors</head><p>While this is a high-dimensional model, the fundamental physical parameters of interest to this study are f Ni , M ej , M CSM , E kin , and R 0 . We fix three parameters of the model: &#948; = 1, n = 12, and s. The assumed value of n = 12 is typically used to characterize RSG-like progenitors rather than for BSG/W-R stars, but &#948; and n are not sensitive to derive the fundamental parameters (V. A. <ref type="bibr">Villar et al. 2017;</ref><ref type="bibr">E. C. Kool et al. 2021)</ref>. In order to investigate shell-and wind-like CSM configurations, we fixed s = 0 and s = 2, respectively. With these choices, 11 free parameters remain: f Ni , &#954;, M ej , M CSM , &#961; CSM , R 0 , E kin , t exp (i.e., fundamental parameters) and T min , &#954; &#947; , and &#963; (the nuisance parameters). To constrain the explosion time of SN 2021foa, we only considered observations from -20 days onward, i.e., we discarded event A photometry as the RD+CSM model was not designed to model precursor emission. We used top-hat priors on the remaining parameters. We note that other physical parameters, including &#954; &#947; , &#954;, and t exp may be considered nuisance parameters as these are quantities that are not observable. These physically informed modeling choices and priors significantly reduce the dimensionality of the problem and help ensure that the inferred quantities are meaningful.</p><p>Following E. C. <ref type="bibr">Kool et al. (2021)</ref>, we elected to use the dynamic nested sampling implemented in DYNESTY (J. S. Speagle 2020). Nested samplers estimate the evidence ( &#61530; ), i.e., the marginalized likelihood for the data given the model. Given that our prior distributions are constant for s = 0 and s = 2, we can directly compare the evidence reported by DYNESTY to check which model is preferred given our data (i.e., the model with larger evidence).</p><p>In order to reduce the computational cost without oversampling the observations per epoch, we provided MOSFiT with the following bands: UVW2, UVM2, UVW1, U, B, V (UVOT), u, B, g, V, r, i, z (A. <ref type="bibr">Reguitti et al. 2022)</ref>, o, c (ATLAS) and up, gp, rp, ip (LCO). Figure <ref type="figure">6</ref> shows the MOSFiT model light curves for s = 0 and s = 2 for a collection of bands considered, together with the observed data. The parameters of the model are summarized in Table <ref type="table">1</ref> and <ref type="table">discussed in Section 4.2</ref>  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Spectroscopy</head><p>Our multi-epoch spectroscopy permits a detailed analysis of the evolution of the prominent emission and absorption line profiles of SN 2021foa (see Figures <ref type="figure">2</ref> and <ref type="figure">3</ref>) over a large range of epochs. We select the spectra with the highest resolution, including those published by A. <ref type="bibr">Reguitti et al. (2022)</ref> at +35, +43 days. For simplicity, we refer to any "velocity component" of a line profile as "component."</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.1.">Spectral Line Fitting</head><p>In order to quantify the evolution of the different components of the Balmer lines (H&#945;, H&#946;, H&#947;, and H&#948;, panels (A), (B), (C), and (D) in Figure <ref type="figure">A3</ref>), we fit the lines with multiple Gaussian and Lorentzian functions (see Figure <ref type="figure">7</ref>). Prior to this, we fit the continuum in the respective wavelength region of the emission lines (around &#177;5000 km s -1 ) using a 1D polynomial and subtract it. Furthermore, to account for either low instrumental resolution or a low signal-to-noise ratio (SNR), we convolved the spectral region of the emission lines with a Gaussian kernel that has a standard deviation 2&#215; the dispersion (approximate resolution) of the instrument (see Table <ref type="table">A2</ref>). We detail the line profile fitting method for H&#945; as an example.</p><p>For the first two epochs (-11 and -8 days), we simultaneously fit the complex H&#945; emission line with two functions. Since the H&#945; exhibits broad wings, we fit a Lorentzian profile to the broad base of the emission line and a Gaussian profile to the narrow component. The introduction of the Lorentzian profile was made to account for any electron scattering wings at early times (C. <ref type="bibr">Fransson et al. 2014)</ref>. For all epochs between -3 and +51 days, we fit the H&#945; emission line with three Gaussian functions, one each for the narrow absorption, narrow emission as well as for the broad emission profile. At all late epochs (+66 to +129 days), we add another Gaussian profile to fit the strongly blueshifted emission of H&#945;. For all other H I emission lines, we follow a similar method with two minor differences: (i) the central wavelength used to extract the line profile and (ii) the number of Gaussian functions to fit the line profiles. For example, for Pa&#946;, a single Gaussian profile can well fit the emission line that neither exhibits narrow emission nor absorption.</p><p>For the He I lines, we only quantify the evolution of the strongest emission lines in the optical (He I &#955;5876 and 7065). We fit these symmetric features with a single Gaussian at all epochs (see Appendix C.4). This is the simplest model that is consistent with the observations. We also identify narrow absorption lines of Fe II &#955;&#955;5169, 5276, 5317, (likely) He I &#955;&#955;4922, 5016, Ca II &#955;&#955;8498, 8542, 8662, and O I &#955;8446 (see Figures <ref type="figure">A3</ref> and <ref type="figure">A4</ref>). To quantify the velocity evolution of the region harboring these elements, we fit a single Gaussian profile to the absorption lines.</p><p>Finally, we calculate the total line flux of all H I emission lines from the continuum-subtracted line profile fits. We exclude the emission lines from the host galaxy at late epochs (&gt;+40 days). The total emission line flux of the He I &#955;5876 line complex is estimated from the continuum-subtracted data directly. The emission line complex is in the velocity range of &#177;6000 km s -1 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Modeling the Late-time VLT/X-shooter Spectra</head><p>A signature of either preexisting or newly formed dust is the thermal (near) infrared excess emission of hot dust grains over the SN continuum emission. Such thermal emission has been observed in several types of CCSNe (see C. <ref type="bibr">Gall et al. 2011</ref>, for a review). To test if dust is present in SN 2021foa, we fit the continuum emission from optical to the NIR wavelengths of our late-time SN 2021foa VLT/X-shooter spectra at +66, +95, and +129 days. We exclude the spectral regions containing strong emission lines such as H&#945; and the He I &#955;10830 + and Pa&#947; complexes prior to fitting as indicated in Figure <ref type="figure">8</ref>.</p><p>We then simultaneously fit a BB function to the hot SN photosphere and a modified blackbody (MBB) function (R. H. <ref type="bibr">Hildebrand 1983)</ref> to the NIR excess emission to account for any hot dust emission as</p><p>with D L the luminosity distance to the SN, R SN the radius of the photosphere, and B &#955; (&#955;, T) the Planck function at temperatures of the photosphere, = T T SN and dust, T = T d . We assume optically thin dust, with a dust mass M d , which is distributed spherically symmetrically around the SN. For the dust mass absorption coefficient, &#954; abs (&#955;), we adopt the formalism of C. <ref type="bibr">Gall et al. (2017)</ref>, where &#954; abs (&#955;) follows a &#955; -&#946; power law in the VLT/X-shooter NIR wavelength range. Thus, &#954; abs (&#955;) can be parameterized as A d (&#955;/1 &#956;m) -&#946; , with A d = 1.0 &#215; 10 4 cm 2 g -1 and &#946; = 1.5. This formalism mimics small-sized (&#61576;0.1 &#956;m) carbonaceous grains (e.g., F. Rouleau &amp; P. G. Martin 1991).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Analysis Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Estimating Photosphere Expansion Velocity from the Bolometric Light Curve</head><p>The evolution of T BB follows the bolometric light curve. The peak values of L bol and T BB , reached between -5 and 0 days, are &#8776;1.7 &#215; 10 43 erg s -1 and &#8776;15,000 K, respectively. The temperature evolution flattens between 14 and 23 days, as indicated by the green-shaded region in Figure <ref type="figure">5</ref>. This coincides with the short light-curve plateau that is observable in several optical passbands (see Figure <ref type="figure">1</ref> and Section 3.1). Subsequently, T BB decreases to 8000 K at day +35. On the other hand, R BB is largest, with about 10 15 cm at the beginning of the short light-curve plateau.</p><p>From the estimated slope of the R BB evolution until this maximum at &#8764;+10 days, we infer an expansion velocity of the photosphere of &#8776;2000 km s -1 . Thereafter, R BB recedes at a velocity of &#8764;-3200 km s -1 to a radius of &#8776;6 &#215; 10 14 cm at day &#8764;+30, the same level as at -10 days.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Estimating Progenitor Properties from the RD+CSI Model</head><p>We use the parameters of the RD+CSI model inferred with the MOSFiT framework (Section 3.1.2, Table <ref type="table">1</ref>) to constrain progenitor and SN properties. From the evidence values ( &#61530; log ), s = 2 model is preferred over s = 0. We obtain an ejecta mass of &#8776;2.0 M e for a s = 0 (CSM-shell-like) model. This value is close to the maximum mass of &#8776;1.2 M e , as estimated for any progenitor (single or in a binary system) of SNe Ibn (L. <ref type="bibr">Dessart et al. 2022</ref>). However, the ejecta mass inferred for s = 2 is &#8776;8 M e . This is lower than the average value of &#8776;16 M e , as obtained for SNe Ibn SN 2019uo The resulting CSM inner radius, R 0 , and the CSM density &#961; CSM for the s = 0 model are &#8764;2 &#215; 10 13 cm and &#8764;6 &#215; 10 -13 g cm -3 . For the s = 2 model, R 0 &#8764; 7 &#215; 10 13 cm and &#961; CSM &#8764; 5 &#215; 10 -11 g cm -3 .</p><p>Following the E. <ref type="bibr">Chatzopoulos et al. (2012)</ref> approach, we can derive the value of R f , the outer radius of the CSM. For the </p><p>, ejecta velocity (v ej ), and the evidence, ( &#61530; log ), detailed in Section 3.1.4. preferred model (s = 2), R f &#8776; 1.5 &#215; 10 14 cm, while for s = 0, R f &#8776; 7 &#215; 10 14 cm.</p><p>While the MOSFiT framework is flexible, the fundamental parameters of the RD+CSI model are not always directly expressed as standard literature quantities, such as nickel mass and mass-loss rate. For the s = 2 model, we can estimate the mass-loss rate, &#61478; M, using the formalism of T. Ben-Ami et al. (2023) and E. C. <ref type="bibr">Kool et al. (2021)</ref> as</p><p>where v w is a steady CSM wind velocity. Additionally, for the s = 0 and s = 2 models, we calculate the nickel mass as</p><p>Using Equation (2) to estimate a mass-loss rate, and assuming a wind velocity, v w &#8764; 400 km s -1 as inferred from the velocity of the absorption minima of the H I lines at late times, together with values of R 0 and &#961; CSM as resulting from the s = 2 model we obtain a mass-loss rate &#8764;2 M e yr -1 . This mass-loss rate is not expected for typical LBV and W-R winds (N. Smith 2017, &#8764;10 -4 -10 -5 M e yr -1 ), but has also been estimated for the SNe IIn iPTF13z </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Determining CSM Structure from the Line Evolution</head><p>Figure <ref type="figure">9</ref> presents the evolution of the full width at halfmaximum (FWHM) of the strongest H I lines, inferred from the spectral modeling described in Section 3.2.1 and summarized in Table <ref type="table">A3</ref>. For the first +40 days, the FWHM of the broad and the absorption components remain constant at about 4000 km s -1 and 800 km s -1 , respectively.</p><p>Between +40 and +60 days, the FWHM of all absorption components decreases by &#8764;50%, remaining constant at this level until about 130 days. This suggests a second structural Figure <ref type="figure">7</ref>. Modeling of the H&#945; profiles. Zero velocity corresponds to the rest wavelength of H&#945; line. The first two epochs were fitted using a combination of a Gaussian and Lorentzian profile (red, green), while the spectra from -3 to +51 days are fit by three Gaussians, accounting for the narrow and broader emission (green and red), and the absorption (purple). For the medium-resolution spectra (+66, +95, and +129 days), an additional Gaussian component has been added to fit the profile (turquoise). Blue-and red-dashed vertical lines mark the velocities of the rest-frame wavelength of H&#945; and He I 6678 &#197;, respectively. component in the CSM. The FWHM of the narrow emission component of H&#945; and H&#946; is about 600 km s -1 during the first 20 days. Thereafter, it rapidly declines to about 60 km s -1 at which it remains constant from +66 days onward.</p><p>Figure <ref type="figure">10</ref> shows the evolution of the velocity of the absorption minima of He I, Ca II, O I, and Fe II, and H&#946;, summarized in Table <ref type="table">A4</ref>. It is evident that the velocities of the He I, Ca II, O I, and Fe II absorption lines are at velocities that are &#61577;200 km s -1 lower than H&#946;. The spectra exhibit a sudden decline of the narrow absorption velocities to about 100 km s -1 past +60 days for all transitions (see Figures <ref type="figure">9</ref> and <ref type="figure">10</ref>). Figure <ref type="figure">11</ref> shows the evolution of the calculated emission line fluxes of the strongest H I and He I lines (summarized in Table <ref type="table">A5</ref>). The line fluxes of H I including Pa&#946; and He I evolve in a similar fashion up to +50 days. They increase up to +12 days after which they stay constant until about +22 days. This agrees with the plateau phase of the r-and g-band light curves, as shown for comparison in the upper panel of Figure <ref type="figure">11</ref>. At later epochs (&gt; + 60 days), all He I and H&#948; line fluxes decrease, while most H line fluxes remain constant (or increase, as evident with H&#945;). Interestingly, at these same epochs, the decline in the r band halts (see Figure <ref type="figure">1</ref>). We find that the He I &#955;5876 and H&#945; lines reach approximately the same line flux of 10 -13 erg s -1 cm -2 around +20 days, consistent with the findings of A. <ref type="bibr">Gangopadhyay et al. (2024)</ref>. This is in contrast to A. <ref type="bibr">Reguitti et al. (2022)</ref>, who estimate that the He I &#955;5876 flux is about half of that of H&#945; at this epoch (see Figure <ref type="figure">A6</ref>).</p><p>The flux of He I &#955;7065 is as strong as that of H&#946; for most of the epochs. Figure <ref type="figure">12</ref> shows the evolution of the H&#945;/ He I &#955;5876 line ratio for SN 2021foa in comparison to other transitional SNe IIn/Ibn. These include SNe 2005la, 2011hw, 2020bqj and iPTF15akq. We also include the H&#945;/He I ratio for the SNe Ibn prototype SN 2006jc and the SNe IIn 2009ip, 2010jl, and 2016jbu. For consistency, we recomputed the line ratios for these objects similar to those of SN 2021foa (see Section 3.2.1). We find discrepancies in the line ratios of SN 2006jc and SN 2011hw of a factor of 2 between N. <ref type="bibr">Smith et al. (2012a)</ref> and our measurements (see Appendix C.8). We describe our method to determine the line ratios in Appendix C.9, and attribute this discrepancy to the misestimation of the local continuum surrounding H&#945; and He I &#955;5876 lines in previous work.</p><p>As shown in Figure <ref type="figure">12</ref>, all transitional SNe IIn/Ibn have H/ He ratios larger than &#8776;1 at early epochs (&lt; + 10 days).   Thereafter, these SNe transit into a more He prominent regime (the "flip"), with a mean H&#945;/He I ratio of 0.93 &#177; 0.19 up to about 50 days past peak brightness. After day 50, the line flux ratio of all other transitional SNe IIn/Ibn drops below 1. The evolution of the H&#945;/He I &#955;5876 ratio for the transitional SNe IIn/Ibn is clearly different from the classical SNe IIn and 09iplike events (blue markers), as well as Ibn events such as SN 2006jc (cyan markers). SNe IIn 2016jbu, 2009ip, and 2010jl are hydrogen dominated (H&#945;/He I &gt; 1) at all epochs. For the Ibn SN 2006jc, the line emission of He I &#955;5876 dominates at all epochs. It is the presence of a "flip" from hydrogen dominated to a line ratio of &#8776;1 that truly determines if an object is a member of the class of transitional SNe IIn/Ibn.</p><p>However, uniquely for SN 2021foa, even among transitional SNe IIn/Ibn,<ref type="foot">foot_7</ref> the line ratio flips back (the "flop") to hydrogen dominated after the end of the plateau of the line flux ratio (day +50), and following the rebrightening of H line emission. This double transition "flip-flop" behavior highlights the diversity of these transitional SNe, which ultimately arises from the varied mass-loss histories of their massive star progenitors. We discuss the implications of this observation in Section 5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.">Constraining the Photosphere and Dust Emission Properties from the Late-time VLT/X-shooter Spectra</head><p>The fits of the SN 2021foa VLT/X-shooter spectra at +66, +95, and +129 days (see Section 3.3) constrain the radius and temperature of the photosphere, as well as the mass and temperature of the dust. These results are presented in Table <ref type="table">2</ref>.</p><p>We infer the radius of the SN photosphere at +66 and +95 days of &#8776;2.0 &#215; 10 14 cm and the temperature &#8776;9000 K. We can compare this to the inferred R BB and T BB (Section 3.1.1) at the last epoch, &#8776;+35 days, of our extrabol light-curve modeling. The extrabol results predict that R BB and T BB decline with time (see Figure <ref type="figure">5</ref>), and our inferred radius is within the bounds of a linear extrapolation of the extrabol prediction at +35 days. We stress that we do not use any extrabol extrapolation to constrain the late-time photosphere properties. As such, a linear extrapolation from +35 days to +66 and +95, while the simplest possible model, is likely unphysical. Indeed, the large inferred photospheric temperature from the VLT/X-shooter spectra indicates a shallower evolution.</p><p>At all epochs, the dust mass and temperature inferred for SN 2021foa are &#8776;3 &#215; 10 -5 M e for a carbonaceous dust composition and &#8776;1400 K, respectively. However, the inferred low dust temperature indicates that a silicate dust composition can be possible. Adopting a silicate dust composition (A d = 0.2 &#215; 10 4 cm 2 g -1 ), the inferred dust mass increases by about a factor of 5 at similar dust temperatures.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Interpreting the Observations and Analysis Results</head><p>As with all members of the transitional SNe IIn/Ibn, SN 2021foa exhibits characteristics of both SNe IIn and Ibn, albeit with key differences to both classes. SN 2021foa exhibits a short (&#8764;10 days) plateau in the optical light curves about 2 weeks past peak. However, the plateau length is shorter than that of other transitional SNe, such as SN 2011hw and SN 2020bqj (&#8764;50 days, E. C. <ref type="bibr">Kool et al. 2021</ref>). Similarly, while there are clear similarities between the spectra of SN 2021foa and SNe Ibn after +22 days, neither SN 2021foa nor any other transitional SNe IIn/Ibn follow the SNe Ibn template of the R-band light curve.  Note. Fitting uncertainties are given in 10 -1 units of each column. However, two aspects make SN 2021foa unique:</p><p>1. SN 2021foa is the first clear example of transitional SNe IIn/Ibn that transitions back-a "flip-flop." 2. SN 2021foa exhibited prominent precursor emission about 50-20 days before peak brightness, as is common for SN 2009ip-like objects (Figure <ref type="figure">4</ref>).</p><p>The photometric resemblance of SN 2021foa with 2009iplike transients may point to a common progenitor system, as already suggested by A. <ref type="bibr">Reguitti et al. (2022)</ref>. However, the mechanism of producing the precursor emission and the lightcurve plateau for SN 2021foa is likely different.</p><p>Our spectroscopic analysis of SN 2021foa shows that prominent He I &#955;&#955;5876, 7065 and Ca II IR emission lines have a broad (&#8764;6000 km s -1 ) component. Contrary, the velocities of the broad components in all H I lines do not surpass 5000 km s -1 .</p><p>While such a velocity agrees with the average bulk ejecta velocities of most CCSNe (C. P. <ref type="bibr">Guti&#233;rrez et al. 2017)</ref> Figure <ref type="figure">13</ref> visualizes the velocity evolution of H&#945; and He I &#955;5876 of SN 2021foa in comparison to a sample of He-rich stripped-envelope SNe Ib and IIn/Ibn and SNe Ibn from Y.-Q. <ref type="bibr">Liu et al. (2016)</ref> and G. <ref type="bibr">Hosseinzadeh et al. (2017)</ref>. Evidently, the velocities measured for SN 2021foa are inconsistent with those measured for these individual SN types. SN 2021foa should be considered a hybrid helium-hydrogenrich CSM interacting SN, and points to the diversity of the class of transitional SNe IIn/Ibn. This diversity ultimately arises from the myriad of mass-loss histories of massive stars. SN 2021foa's precursor emission, together with our detailed photometric and spectroscopic record for SN 2021foa allows us to further constrain the properties of the progenitor environment.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.">The Origin of Strongly Blueshifted Emission Lines</head><p>The most intriguing spectroscopic signature of SN 2021foa is the persistent blueshift of the peak of all H I and He I &#955;5016 emission lines past +66 days (Figure <ref type="figure">14</ref>). There are three possible origins of these blueshifted profiles that can either be (i) an asymmetric CSM or SN ejecta, (ii) an effect of dust extinction, or (iii) occultation by the optically thick photosphere of photons coming from a close line-forming region. We discuss each of these scenarios below. We note that a radiatively accelerated CSM has been proposed to explain blueshifted asymmetries observed in SN 2010jl (C. <ref type="bibr">Fransson et al. 2014</ref>). Nevertheless, we do not consider that scenario in this work since the blueshifted profiles in SN 2021foa are persistent at late times, while the acceleration is stronger at peak luminosity (N. Smith &amp; J. E. Andrews 2020). Unfortunately, we do not have spectropolarimetric observations for SN 2021foa, and cannot conclusively confirm or rule out an asymmetric CSM/ejecta. Nevertheless, a disk-like CSM configuration is possible, with a high-density H-rich material moving toward the observer. The CSM from the receding side in this configuration has a lower density since the red emission does not rebrighten as much as the blue emission does. In this scenario, the blueshifted emission would be mostly dominated by the interaction of the SN ejecta with the dense CSM material. This  scenario has been proposed for SNe IIn PTF11iqb (N. <ref type="bibr">Smith et al. 2015)</ref> to explain the highly asymmetric redshifted H&#945; profiles observed at &gt;+500 days.</p><p>Alternatively, C. C. <ref type="bibr">Th&#246;ne et al. (2017)</ref> posit that the blueshifted profiles observed in SNe IIn (SN 2009ip-like) SN 2015bh at &gt;+126 days are explained as shocked emission from a single CSM shell expelled at -2000 km s -1 about -50 days prior to the main explosion event. Given our observations of SN 2021foa, we can compare the scenario of N. <ref type="bibr">Smith et al. (2015)</ref> and the single shell suggestion for SN 2015bh (C. C. <ref type="bibr">Th&#246;ne et al. 2017)</ref>. Our observations indicate that the shell would need to be asymmetric in a specific direction toward the observer to produce the blueshifted profile (see Figure <ref type="figure">14</ref>). Furthermore, our observations, particularly the decrease in line velocities at late times, suggest that there are multiple H-rich CSM shells out to larger radii, rather than a single shell. Each of those shells can deviate from simple spherical symmetry. Thus, the composite of all these shells would likely lead to line profiles inconsistent with what is observed here for SN 2021foa.</p><p>While the disk-like scenario is more likely than the single shell scenario, a preexisting H-rich, high-density CSM toward the observer must also show emission at early times. However, as shown in Figure <ref type="figure">7</ref>, the H&#945; line is well modeled by symmetric profiles throughout its evolution. Therefore, the high-density CSM must be placed further out of a spherical symmetric CSM.</p><p>Thus, while we cannot unambiguously rule out an asymmetric CSM as an explanation for the blueshifted line profiles without spectropolarimetry, the scenario is unlikely as it requires special fine-tuning of the CSM properties (e.g., density and location) to be consistent with our observations. Next, we consider newly formed dust and occultation by the photosphere as a potential origin of the blueshifted emission.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.2.">Newly Formed Dust</head><p>Newly formed dust located either close to the emission line formation region or within it causes a blueshift of the peaks of emission lines. Simultaneously, a red-blue asymmetry of the emission line profiles due to the absorption of photons from the receding side of the SN is produced (L. B. <ref type="bibr">Lucy et al. 1989;</ref><ref type="bibr">C. Gall et al. 2014;</ref><ref type="bibr">A. Bevan &amp; M. J. Barlow 2016)</ref>. Thus, the blue side of the line profile remains unaffected, while the red side of the line gets extinguished (red-blue asymmetry).</p><p>Early dust formation in a cool dense shell (CDS) causing a red-blue asymmetry of emission lines has been observed in, e.g., <ref type="bibr">SN 2006jc, SN 2010jl, and SN 2017hcc (e.g., N. Smith et al. 2008;</ref><ref type="bibr">N. N. Chugai 2009</ref><ref type="bibr">N. N. Chugai , 2018;;</ref><ref type="bibr">C. Gall et al. 2014;</ref><ref type="bibr">A. M. Bevan et al. 2020;</ref><ref type="bibr">N. Smith &amp; J. E. Andrews 2020)</ref>. However, the newly formed dust is composed of both large and small grains (C. <ref type="bibr">Gall et al. 2014;</ref><ref type="bibr">N. Smith &amp; J. E. Andrews 2020)</ref>. For the latter case, the blueshift of the emission line profiles and red-blue asymmetry exhibits a measurable wavelength dependence, with bluer emission lines exhibiting larger blueshifts than redder emission lines. As shown in Figure <ref type="figure">14</ref>, the emission line peaks of the normalized profiles of H&#945;, H&#946;, and Pa&#946; for SN 2021foa are nearly identical. This rules out newly formed dust in a CDS as the origin of the blueshifted H I and He I emission lines.</p><p>Additionally, ejecta dust formation typically starts around 1 yr after explosion when the temperature of the ejecta has cooled to less than about 1600-2000 K, which are the sublimation temperatures of silicate and carbonaceous dust, respectively (C. <ref type="bibr">Gall et al. 2011, and references therein)</ref>. For SN 2021foa, we have a strong temperature constraint from our X-shooter modeling at late times. As shown in Table <ref type="table">2</ref>, the temperature of the photosphere remains at &#8776;9000 K-a factor of 4 too hot to form dust grains. Thus, ejecta dust formation can be ruled out as the origin of blueshifted emission line profiles as well as the observed NIR excess emission in SN 2021foa.</p><p>Consequently, the observed thermal dust emission (see Section 4.4) must originate from surviving preexisting dust at large distances. The amount of dust inferred from our MBB fits is consistent with dust masses derived at early epochs in other CCSNe (C. <ref type="bibr">Gall et al. 2011;</ref><ref type="bibr">C. Gall &amp; J. Hjorth 2018;</ref><ref type="bibr">W.-P. Gan et al. 2021)</ref>. Further, the surviving preexisting dust must be at radii &gt;10 17 cm, while the emission line-forming region is at lower radii (&lt;10 15 cm). Hence, also this dust does not cause a blue-red asymmetry of the emission lines. Our observations therefore conclusively rule out newly formed dust as a source of the blueshifted line profiles.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.3.">Occultation by the Photosphere</head><p>Occultation can be an alternative explanation for the origin of the non-wavelength-dependent blueshifts and red-blue asymmetry of the emission line profiles of SN 2021foa. In such a scenario, the emission from the line-forming region at the receding end of the CSM/SN ejecta is occulted by the optically thick continuum photosphere (R. A. Chevalier 1976; N. <ref type="bibr">Smith et al. 2012b;</ref><ref type="bibr">L. Dessart et al. 2015)</ref>. This has been observed in noninteracting SNe II (J. P. <ref type="bibr">Anderson et al. 2014)</ref> and suggested for some SNe IIn such as 2010jl (C. <ref type="bibr">Fransson et al. 2014)</ref>, 2021adxl (S. J. <ref type="bibr">Brennan et al. 2024b</ref><ref type="bibr">), and 2013L (F. Taddia et al. 2020</ref>).</p><p>In the case of occultation, the line-forming region producing the intrinsically symmetric emission lines needs to be very close to the photosphere, else the effect of occultation is minimal, as discussed, e.g., for SN 2010jl, where the wavelength-dependent blueshifts are likely due to newly formed dust in the CDS (see Section 5.1.2).</p><p>For SN 2021foa, occultation is likely because we neither observe a change in the red-blue asymmetry nor blueshifts with either wavelength or time (&#8764;66-129 days). Furthermore, from our BB fits to the VLT/X-shooter data (Section 4.4), we find that the photospheric radius remains at around 2 &#215; 10 14 cm, which is similar to the location of the outer radius of the CSM using both MOSFiT models (Section 4.2).</p><p>However, if occultation occurs, the blueshift and red-blue asymmetry of the emission lines should decrease over time since the photosphere continues receding, blocking less photons with time. Unfortunately, we do not have any data coverage of SN 2021foa beyond +129 days. Thus, we cannot unambiguously determine if occultation by the photosphere is indeed a viable explanation for the observed blueshifts, but it is the most natural scenario that is consistent with all of our observations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.">Precursor Emission of 2009ip-like Objects</head><p>SN 2021foa has shed off most of its hydrogen envelope, as evident from the spectra (Section 2.2). Over its lifetime, the progenitor of SN 2021foa created multiple CSM layers with different velocities, as evident from our emission and absorption line analysis (Section 4.3, Figures <ref type="figure">9</ref> and <ref type="figure">10</ref>).</p><p>The formation of multiple discrete CSM layers requires episodes of strong mass loss as eruptions or steady winds. Indeed, precursor luminous outbursts have been observed months to years before terminal explosion for SN 2006jc, SN 2015bh, and 2016jbu (R. J. <ref type="bibr">Foley et al. 2007;</ref><ref type="bibr">C. C. Th&#246;ne et al. 2017</ref>; S. J. <ref type="bibr">Brennan et al. 2022b)</ref>.</p><p>Additionally, our high mass-loss rate estimates (2.0 M e yr -1 ) suggest that SN 2021foa suffered from intense mass loss prior to explosion. Our analysis of the ATLAS o-band light-curve data from &#8764;5 yr prior to the SN 2021foa terminal explosion (Appendix B) shows that SN 2021foa had no eruption brighter than 20 mag over 5 yr prior to explosion. Under the s = 2 scheme, MOSFiT gives an outer radius of the CSM of &#8776;1.5 &#215; 10 14 cm. Assuming a wind velocity of 400 km s -1 , all the CSM was expelled &#8764;12 yr ago, during a period of approximately half a year. Given the lack of observations of SN 2021foa prior to the year 2019, we cannot confirm such an event. However, SN 2015bh showed numerous outbursts throughout 20 yr before event B in 2015 (C. C. <ref type="bibr">Th&#246;ne et al. 2017)</ref>.</p><p>Several possibilities to explain the precursor emission of 2009ip-like objects have been suggested. For SN 2009ip, J. C. <ref type="bibr">Mauerhan et al. (2013)</ref> argued that the explosion occurred at the onset of event A as a weak SNe II, while the brighter outburst is mainly powered by SN ejecta-CSM interaction. A similar scenario was suggested for SN 2015bh (N. Elias-Rosa et al. 2016). In contrast, A. <ref type="bibr">Pastorello et al. (2013)</ref> and R. <ref type="bibr">Margutti et al. (2014)</ref> have proposed that event A of SN 2009ip is an eruption similar to those observed in the years before. Then, event B is either due to the interaction of the material expelled at event A with previous eruptions (colliding shells) or the expanding SN ejecta itself (terminal explosion). Shell-shell interaction is one of the suggested scenarios to explain the precursor emission of SN 2015bh (C. C. <ref type="bibr">Th&#246;ne et al. 2017)</ref>.</p><p>For SN 2021foa, our MOSFiT calculations were only performed for event B photometry, i.e., assuming that the true CC-SN occurred at the end of event A, and that interaction with one CSM (RD+CSM) is sufficient to reproduce the light curve. Based on these assumptions, the low 56 Ni mass obtained with MOSFiT, typical for SN 2009ip-like SNe, suggests that event B is most likely powered by shock breakout of the CSM + SN ejecta-CSM interaction rather than only RD.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Building a Complete Picture of SN 2021foa</head><p>In this section, we summarize the key features from Section 5 and build a complete, cohesive model for SN 2021foa.</p><p>1. SN 2021foa resembles 2009ip-like SNe (A. <ref type="bibr">Reguitti et al. 2022)</ref>. In particular, the precursor emission (event A) of SN 2021foa starting about &#8764;-50 days prior to the peak of the light curve (event B) and the presence of a short plateau of a few days after the peak are very similar to SNe 2016jbu (C. D.</p><p>Kilpatrick et al. 2018; S. J. Brennan et al. 2022b) and 2009ip (A. Pastorello et al. 2013; R. Margutti et al. 2014). 2. For SN 2021foa, the velocity of the minimum of the narrow absorption component of H I, He I, Fe II, Ca II,</p><p>and O I lines decreases from &#8764;600 at day +15 to &#61576;300 km s -1 at day +60.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Intriguing and strongly blueshifted emission lines of H I</head><p>and He I lines emerge at late times (&gt;+66 days) in SN 2021foa. 4. SN 2021foa exhibit a distinctive phase where the He I &#955;5876 emission line is as strong as H&#945;. This line ratio plateau is observed in the transitional SNe IIn/Ibn. 5. Unambiguously, SN 2021foa has a "flip-flop" nature, transitioning from an SNe IIn before peak brightness (flip) to a He-dominated (SNe Ibn-like) SN for about +30 days, and returning to an SNe IIn past +66 days (flop).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.">The Luminosity of Event A and Explosion Date</head><p>As for most of the 2009ip-like events, the explosion time is uncertain and ultimately dependent on the physical mechanism employed to explain the luminosity of event A. Our spectroscopic observations strongly support a scenario where multiple CSM shells are expelled at different times prior to explosion. We sketch this scenario in Figure <ref type="figure">15</ref>. In this scenario, the closest CSM is created by material ejected from prior outbursts or the terminal explosion. Consequently, this material is close to the progenitor system and is rapidly overrun by the forward shock from the SN, powering the emission at event A.</p><p>This scenario requires that the explosion date be at event A. For convenience, we place the assumed explosion at &#8776;-25 days, consistent with our results from MOSFiT fits (Table <ref type="table">1</ref>), and the lack of prior outbursts (see Section 5.2). We stress that the final scenario is not dependent on the precise explosion date. Even in the scenario that the outburst occurred earlier than event A, the key feature of our model for SN 2021foa is that event B itself is powered by SN ejecta-CSM interaction rather than RD.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2.">The Dynamics of the Forward Shock from Event B to the Plateau</head><p>The broad components of H I, He I, and Ca II IR emission lines suggest an ejecta velocity of &#8764;6000 km s -1 . The maximum velocity inferred from the blue wings of the broad component, indicative of the shock velocity (v FS ), does not surpass 10,000 km s -1 at all epochs. Therefore, we assume the velocity of the forward shock as v FS = 10,000 km s -1 . The first estimate of the photospheric radius is at &#8776;6 &#215; 10 14 cm at day -10. At this epoch, the forward shock is located at &#8776;10 15 cm. Hence, the photosphere lies within a shocked CSM region. The interaction between the SN forward shock and this close CSM might be the underlying powering mechanism of event A. Before peak, we only observe emission from the H-rich CSM, thus explaining the weak He I lines in the spectra. From -10 up to +30 days, the P Cygni profile of the Balmer lines suggests a velocity of the inner CSM layer (Figure <ref type="figure">15</ref>) to be 600 km s -1 . Around day +15, the photospheric radius reaches its maximum (&#8776;10 15 cm), while the forward shock is located at &#8776;3.5 &#215; 10 15 cm. Around this epoch, we observe the "flip"; the He-rich ejecta is becoming visible, and He I lines get stronger.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3.">Evolution Post-plateau to Late Time</head><p>After the plateau phase (+25 days), the photospheric radius starts to recede to a radius of about 6 &#215; 10 14 cm. In the meanwhile, the forward shock continues to propagate outward, reaching a radius of about 5 &#215; 10 15 cm, assuming a constant forward shock velocity. At day +35, we first observe the decline of the velocity of the absorption minimum of the Balmer lines (H I in Figure <ref type="figure">10</ref>). This decline implies that the forward shock has overrun the inner CSM entirely. Nevertheless, though weaker, the continuous interaction between the SN ejecta and the CSM still powers the emission of H I and He I lines (Figure <ref type="figure">11</ref>). This is evident in the plateau phase of the H&#945;/He I &#955;5876 ratio (Figure <ref type="figure">12</ref>).</p><p>Past +50 days, the line fluxes of H I lines, from H&#948; to Pa&#946;, increase (or stay constant), while He I lines keep decreasing (Figure <ref type="figure">11</ref>). At this epoch, we observe the "flop" in Figure <ref type="figure">12</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.4.">Late-time Evolution</head><p>At +130 days, the velocities of the absorption minima of H I, He I, Ca II, O I, and Fe II are below &#8764;350 km s -1 . This is consistent with a slow-moving outer CSM layer at a distance of &gt;1.3 &#215; 10 16 cm, and thus, has not been overrun yet by the forward shock (v FS = 10 4 km s -1 ). The likely origin of the lowvelocity outer CSM is from slow winds at early stages in the evolution of the progenitor star, while the inner CSM shells are from eruptions or faster winds closer to the explosion. In the multiple shells scenario, the slowly receding photosphere (&#8764;2 &#215; 10 14 cm from +60 to +130 days) lies within the inner CSM, close to the line-forming region of the intermediate/ broad components (&#8776;4000 km s -1 ). In this scenario, the blueshifted emission lines emerging after the plateau phase are the result of occultation (Section 5.1.3) of the emission line region by a dense and optically thick CSM shell. Finally, at late times, the H-rich inner CSM recombines, explaining the rebrightening of the Balmer lines (Figure <ref type="figure">11</ref>). Alternatively, as suggested for PTFiqb (N. <ref type="bibr">Smith et al. 2015)</ref>, the interaction between the SN ejecta and a dense, outer CSM approaching to the observer at -2000 km s -1 , could also be a viable option to explain the late rebrightening and asymmetry observed in the H I lines.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.5.">Final Remarks</head><p>The early discovery and follow-up of SN 2021foa exhibit the imprints of CSM interaction on the SN&#700;s light curve and the evolution of its spectral features. From our light-curve analysis (Section 4.2), we obtain a CSM mass 1 M e , ejecta mass &#8776;8 M e , and mass-loss rate of 2 M e yr -1 for a wind-like (s = 2) scenario. This mass-loss rate is higher than values typically found for W-R or LBV stars, favored progenitors of SNe Ibn/ IIn, respectively. From our detailed analysis of the evolution of the line profiles (Section 4.3), we conclude that SN 2021foa had a rich mass-loss history, forming multiple CSM shells before the terminal explosion. This CSM configuration, while rare, does share key similarities with other scenarios proposed for interacting SNe, such as SN 2015bh (N. <ref type="bibr">Elias-Rosa et al. 2016)</ref>. We stress that the assumption of a one-shell CSM in MOSFiT is insufficient to explain the precursor emission of SN 2021foa and is incompatible with a CSM composed of multiple shells. Nevertheless, the overall behavior of the light curve during event B might be approximated well by this assumption. Therefore, the estimated MOSFiT physical parameters might . Proposed scenario for SN 2021foa, sketching the temporal evolution of the forward shock and the photospheric radius. In this scenario, SN 2021foa is embedded in a H-rich CSM composed of multiple shells. The precursor emission (event A) originated from the interaction of the SN forward shock with an unobserved, close CSM. From day -10 to +35, a second inner CSM with a characteristic velocity of &#8776;600 km s -1 is observed through the P Cygni profile of the Balmer lines. The He-rich ejecta, hidden at early epochs, is visible at day +15 after the photospheric radius reaches its maximum. The strong He I lines at this epoch sets up the "flip" in Figure <ref type="figure">12</ref>. A rapid decline of the H&#945; velocity at day +35 marks the phase where the forward shock overran most of the inner CSM. After day +50, the velocity of the H&#945; line remains constant at &#8776;350 km s -1 . We attribute this velocity to an outer CSM shell. The rebrightening of Balmer lines at late times (+66-+130 days) due to hydrogen recombination of a shocked SN ejecta-CSM (either the close, inner, or outer CSM), gives rise to the "flop" in Figure <ref type="figure">12</ref>. The apparent blueshift of several lines at late times is either due to an asymmetric CSM or an effect of occultation by the optically thick photosphere close to the line-forming region of these lines, located at &#8764;2 &#215; 10 14 cm. still be valid if the interaction with the close/inner in our scenario is the main contributor to the luminosity of event B.</p><p>SN 2021foa adds to the number of SNe with truly complex CSM structures, which challenges our understanding of extreme mass-loss mechanisms in massive stars, opening up the possibilities of different progenitor scenarios for strongly interacting CCSNe.</p><p>Table A2 Spectroscopy of SN 2021foa Date Phase Coverage Dispersion Instrument Telescope (days) ( &#197;) ( &#197;) 2021-03-18 -11 3768-6939 0.76-1.24 WiFeS ANU 2021-03-18 -11 5680-8580 1.4 ALFOSC NOT 2021-03-21 -8 3877-7037 1.98 Goodman SOAR 2021-03-21 -8 6845-25485 1.19-3.55 SpeX IRTF 2021-03-22 -7 3345-10504 2.51 Kast Shane 2021-03-22 -7 3768-8923 3.35 ALFOSC NOT 2021-03-23 -6 5680-8580 1.4 ALFOSC NOT 2021-04-06 +8 3345-10504 2.51 Kast Shane 2021-04-10 +12 6845-25485 1.19-3.55 SpeX IRTF 2021-04-13 +15 3345-10504 2.51 Kast Shane 2021-04-19 +21 3345-10504 2.51 Kast Shane 2021-05-03 +35 3345-10504 2.51 Kast Shane 2021-05-09 +41 7091-25485 1.19-3.55 SpeX IRTF 2021-05-10 +42 3345-10504 2.51 Kast Shane 2021-05-19 +51 3768-6939 0.76-1.24 WiFeS ANU 2021-05-10 +51 3345-10504 2.51 Kast Shane 2021-06-03 +66 2964-24583 0.19-0.59 X-shooter VLT 2021-07-02 +95 2964-24583 0.19-0.59 X-shooter VLT 2021-08-04 +129 2964-24583 0.19-0.59 X-shooter VLT 2022-05-30 +427 2964-24583 0.19-0.59 X-shooter VLT Table A3 Full Width at Half-maximum of H I and He I Lines of SN 2021foa Epoch Narrow Absorption Broad (days) H&#948; H&#947; H&#946; H&#945; H&#948; H&#947; H&#946; H&#945; H&#948; H&#947; H&#946; H&#945; Pa&#946; He I &#955;5876 -11/10 L L 1.4(1.2) 3.7(0.1) L L 4.3(1.0) L L L 23.5(3.1) 14.9(1.0) L L -3 L L 8.6(1.0) 5.5(1.0) L L 8.7(1.0) 6.4(0.2) L L 39.5(8.6) 40.3(3.0) L L +7/8 L L 2.0(1.7) 4.6(0.4) L L 4.3(1.0) 6.7(0.3) L L 25.6(2.2) 40.3(1.3) L 64.8(-) +15 L L 2.7(1.2) 6.5(0.6) L L 6.6(0.4) 7.1(0.4) L L 32.2(2.0) 46.1(1.6) L 61.8(-) +21 L L 2.4(4.7) 5.4(0.8) L L 11.1(1.3) 6.7(0.4) L L 32.0(2.4) 48.7(1.3) L 56.7(-) +28 L L 8.0(1.0) 5.9(1.0) L L 8.0(1.0) 5.9(0.8) L L 27.7(3.6) 50.3(0.6) L 55.0(-) +35/36 L L 2.2(5.7) 2.0(0.1) L L 6.2(0.2) 8.5(0.4) L L 23.5(1.9) 46.8(0.4) L 51.5(-) +42/43 L L 3.7(1.0) 1.1(0.2) L L 1.6(2.1) 7.6(0.4) L L 22.4(1.4) 48.0(0.6) L 47.0(-) +51 L L L 1.4(0.1) L L L 5.4(0.7) L L L 41.6(1.0) L 43.5(-) +66 0.6(0.1) 0.4(0.1) 0.2(0.1) 0.6(0.0) 4.0(0.9) 3.0(0.2) 3.0(0.2) 3.4(0.1) 21.7(1.1) 27.6(1.1) 24.2(0.4) 36.2(0.4) 32.3(0.7) 47.6(-) +95 0.6(0.1) 0.4(0.2) 0.4(0.0) 0.7(0.0) 3.7(0.5) 3.0(0.1) 3.0(0.2) 3.3(0.1) 19.7(0.9) 21.4(0.6) 21.7(0.3) 29.3(0.2) 28.7(0.6) 46.1(-) +129 0.2(0.1) 0.4(0.0) 0.4(0.0) 0.4(0.0) 5.1(0.4) 2.9(0.2) 3.4(0.1) 3.3(0.2) 9.3(0.8) 21.2(1.0) 17.0(0.8) 26.0(0.4) 25.1(1.0) L Note. Values of the FWHM are in units of 100 km s -1 . All values are corrected by the resolution of the instrument (&#8776;dispersion in Table <ref type="table">A2</ref>). Given the complexity of He I &#955;5876 line profile, only upper limits are reported.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix B Pre-SN Emission</head><p>To investigate the pre-explosion activity of SN 2021foa, we followed the analysis described in Q. <ref type="bibr">Wang et al. (2024)</ref> using ATClean (S. <ref type="bibr">Rest et al. 2023</ref><ref type="bibr">Rest et al. , 2024))</ref>. We obtain the ATLAS forced photometry of the o and c bands covering &#8764;5 yr up to event A at the position of SN 2021foa. Additionally, we performed forced photometry of eight control light curves within a distance of 17&#8243; to the SN. On average, the flux of these control light curves is expected to be zero. To emphasize the emission of a potential eruption, we defined a figure of merit (FOM) as the SNR convolved with a rolling Gaussian with a fixed kernel size determined by the typical timescale of an eruption, 5 &lt; &#964; G &lt; 100 days (E. O. <ref type="bibr">Ofek et al. 2013b;</ref><ref type="bibr">N. L. Strotjohann et al. 2021)</ref>. The same rolling Gaussian was also applied to the control light curves to determine the FOM of the control light curves. By setting up a detection threshold FOM limit , we expect that most of the FOM of the control light curves lies below this limit. If this is not the case, then there are unaccounted sources of contamination within the field of SN 2021foa. Any real detection in the pre-SN light curve must have an FOM larger than the FOM limit . In order to establish a magnitude limit to detect eruptions of a given peak magnitude, we added three simulated Gaussian bumps (p 1 , p 2 , and p 3 ) with increasing amplitudes to one control light curve. A nondetection of any of these peaks translates into an upper limit of a real pre-SN eruption throughout the ATLAS coverage.</p><p>For the particular case of SN 2021foa, we first convolved both the SNR of the control and SN light curves with a rolling Gaussian with a kernel size of &#964; G = 30 days, close to the duration of the precursor emission observed in SN 2021foa. Furthermore, we added three simulated Gaussian bumps, with peak magnitudes of p 1 = 21.4, p 2 = 20.21, and p 3 = 19.45 mag, and a fixed standard deviation of 25 days to the control light curve number 4. Finally, we set up the detection limit as FOM limit = 15. With this same value, Q. <ref type="bibr">Wang et al. (2024)</ref> recovered 80% of the eruptions larger than 20 mag for SNe Ibn 2020nxt. For SN 2021foa, we recover 70% of the eruptions larger than the o-band peak magnitude &#8776;20 mag.</p><p>The upper panel of Figure <ref type="figure">B1</ref> displays the forced photometry ATLAS light curves for SN 2021foa (red) and the control light curves (cyan and blue). We find no signature of any precursor emission associated with SN 2021foa. The bottom panel shows</p><p>Table A4 Fitted Absorption Minimum of Several Spectral Lines of SN 2021foa Epoch (days) H I He I Fe II Ca II O I H&#948; H&#947; H&#946; H&#945; &#955; 4923 &#955;5016 &#955;5169 &#955;5276 &#955;5317 &#955;8498 &#955;8542 &#955;8662 &#955;8446 -10 3.5(1.2) 3.3(1.1) 4.1(1.0) L 4.2(1.0) 3.1(1.0) L L L L L L L -3 L L 6.6(1.9) 5.9(1.4) 4.2(1.8) 3.4(1.8) L L L L L L L +7/8 3.6(1.2) 3.7(1.1) 5.3(1.0) 5.6(1.1) 4.0(1.0) L L L L L 3.3(0.9) 3.9(0.9) 2.8(0.9) +15 L L 5.9(1.6) 5.1(1.1) 3.8(1.5) 3.3(1.5) L L L L 3.3(0.9) 2.9(0.9) 3.2(0.9) +21 L L 5.1(1.6) 6.2(1.1) 2.3(1.5) L L L L L L L L +28 L L 5.8(1.9) 6.5(1.4) 4.8(1.8) L L L L L L L L +35/36 L L 5.9(1.6) 4.8(0.4) 2.2(1.5) 4.0(1.5) L L L L 3.1(0.9) 2.8(0.9) 2.8(0.9) +42/43 L L 4.2(1.6) 4.0(0.5) 1.2(1.5) 1.9(1.5) L L L 2.3(0.9) 2.2(0.9) 2.6(0.9) 3.4(0.9) +66 2.2(0.1) 2.9(0.1) 2.9(0.1) 3.8(0.1) 0.9(0.1) 0.8(0.1) 1.8(0.1) 1.6(0.1) 1.6(0.1) 1.7(0.1) 2.1(0.1) 1.9(0.1) 1.3(0.1) +95 2.7(0.1) 2.9(0.1) 2.7(0.1) 3.5(0.1) 1.1(0.1) 0.7(0.1) 2.0(0.1) 1.8(0.1) 1.8(0.1) 1.7(0.1) 2.1(0.1) 1.9(0.1) 1.4(0.1) +129 3.2(0.1) 2.7(0.1) 2.7(0.1) 3.5(0.1) 1.1(0.1) 1.5(0.1) 2.1(0.1) 0.7(0.1) 1.8(0.1) 1.8(0.1) 2.1(0.1) 1.8(0.1) 1.5(0.1) Note. Values of the absorption minimum are reported in units of -100 km s -1 . Uncertainties are estimated as c &#8226; &#916;&#955; D /&#955; 0 , with c the speed of light, &#916;&#955; D the dispersion of the instrument in Table A2, and &#955; 0 the center of the Gaussian profile. Table A5 Line Fluxes of H I and He I Lines of SN 2021foa Epoch H&#948; H&#947; H&#946; H&#945; Pa&#946; He I &#955;5876 He I &#955;7065 (days) -11/10 29.3(2.4) 40.7(2.6) 46.4(4.7) 86.9(7.3) L 25.6(-) L -8/7 L L 52.2(3.6) 105.6(15.6) L 35.9(-) 14.3(1.3) -3 L L 77.7(4.4) 105.7(11.6) L 40.3(-) L +7/8 24.6(2.2) 37.2(3.0) 54.2(3.3) 131.3(16.3) L 129.2(-) 48.1(1.7) +15 L L 35.9(11.4) 120.0(15.7) L 138.5(-) 59.7(1.8) +21 L L 43.4(18.1) 139.0(15.8) L 137.1(-) 60.3(2.0) +28 L L 19.1(8.0) 121.2(14.7) L 96.4(-) 69.8(1.8) +35/36 L L 11.2(4.8) 59.9(16.7) L 61.3(-) 32.8(0.7) +42/43 L L 10.9(5.5) 56.0(16.7) L 39.9(-) 24.5(0.5) +51 L L L 31.7(20.9) L 32.0(-) 19.8(1.1) +66 0.8(0.0) 1.7(0.1) 6.4(0.1) 38.0(0.1) 3.8(0.0) 14.3(-) 9.3(0.0) +95</p><p>0.5(0.0) 1.2(0.0) 5.9(0.0) 38.4(0.1) 3.5(0.0) 5.9(-) 3.2(0.0) +129 0.3(0.0) 1.0(0.0) 5.5(0.1) 31.3(0.1) 3.7(0.0) 1.7(-) 2.0(0.0)</p><p>Note. Values are reported in units of 10 -17 erg s -1 cm -2 . Line fluxes of He I &#955;5876 correspond to the integration of the data over &#8776; &#177;5000 km s -1 with respect to 5876 &#197;.</p><p>the results of our detection analysis. On average, the control light curves are below FOM limit . For the simulated Gaussians, only p 3 was successfully detected, while p 2 lies slightly below the threshold. Therefore, we can safely conclude that, similar to Q. <ref type="bibr">Wang et al. (2024)</ref>, no eruption is observed for SN 2021foa with a magnitude greater than or equal to &#8764;20 mag. This translates into a detection limit of absolute magnitude of M o &#8776; -13.4 mag. However, we cannot discard any pre-SN activity below this magnitude limit.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix C Line Profiles</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.1. H&#945;</head><p>Panel (D) in Figure <ref type="figure">C1</ref> shows the evolution of H&#945; between about 1 week prior to the r-band peak and to +427 days. The line is characterized by a narrow (FWHM &#8764; 600 km s -1 ) and an intermediate component with an FWHM that increases from &#8764;1500 to 4500 km s -1 . After maximum light, no major changes are observed aside from a decreasing flux at the red wing of the asymmetric profile. After +60 days, the red-blue asymmetry has flipped, i.e., the blue wing has increased in strength over the red wing. The narrow emission component has faded after about +51 days, revealing the H&#945; host galaxy emission (FWHM &#61576; 100 km s -1 ) instead. The apparent rebrightening of the blue peak of H&#945; at +95 days is an artifact stemming from the extraction of the 2D spectrum at the location of H&#945; (see Figure <ref type="figure">A1</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.2. H&#946;</head><p>The evolution of H&#946; line is shown in Panel (C) in Figure <ref type="figure">C1</ref>. The H&#946; line profile is similar to H&#945; prior to peak magnitude. At later epochs, H&#946; is blended with the strong He I &#955;4922 emission. Both H&#946; and He I &#955;4922 exhibit narrow absorption lines with absorption velocities from -10 days onward (&#8764;-600 and &#8764;-400 km s -1 , respectively). However, the narrow absorption line of He I could be partially associated with Fe II &#955;4924 line of multiplet 42. Similar to the H&#945; line, the line flux of the H&#946; + He I &#955;4922 complex reaches a maximum around +15 days and decreases between +28 and +66 days. After this epoch, H&#946; shows a strong blueshifted emission component, while the velocity of the minimum of the absorption component reaches &#8764;300 km s -1 . The emission of He I &#955;4922 is weak in comparison to H&#946;, allowing us to disentangle both lines at these late epochs. Similar to H&#945; and H&#946;, He I &#955;4922 also exhibits a blueshifted emission component.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.3. He I &#955;5016</head><p>In panel (G) (Figure <ref type="figure">C1</ref>), we show the evolution of the He I &#955;5016 line. From -10 days onward, this line shows a P Cygni profile, with the absorption minimum at a velocity of &#8764;-400 km s -1 . Similarly to He I &#955;4922, the narrow absorption component can be associated with Fe II &#955;5018 of multiplet 42. The extension of the wings of the broad emission component may indicate a maximum velocity of 4000 km s -1 (bulk velocity of &#8764;3000 km s -1 ). After maximum light, the shape of the profile is broad and boxy-like. Assuming one component, the FWHM of this complex is about 3600 km s -1 . This is consistent with what is seen for H&#945;. From +95 days onward, the flux at the red portion of the He I &#955;5016 emission line profile rapidly decreases. The region might be affected at early times by the emission of He I &#955;5048.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.4. He I &#955;5876</head><p>Panel (H) in Figure <ref type="figure">C1</ref> displays the evolution of He I &#955;5876, which is the strongest of all He I lines in the entire VLT/Xshooter spectral wavelength range. There is no indication of a narrow P Cygni profile as in other He I &#955;&#955;4922, 5016 lines. However, there is conspicuous, redshifted absorption at all epochs up to +129 days, which likely is the Na ID doublet from interstellar material along the line of sight. The emission line profile appears symmetric at early epochs (2 weeks past . Upper panel: the light curve of SN 2021foa (red) and the eight control light curves (blue) before event A (red). Bottom panel: FOM of the pre-SN light curve (red), eight control light curves (blue), control light curve number 4 (cyan), and the simulated Gaussians + control light curve number 4 (green) over ATLAS coverage (&#8764;3 yr) up to event A of SN 2021foa. All these FOM curves were obtained after the convolution of the SNR of each light curve with a rolling Gaussian with a kernel size of &#964; G = 30 days. The simulated Gaussians have peak magnitudes of 21.4 mag, 20.21 mag, and 19.35 mag, respectively, and a fixed standard deviation of 15 days. The detection limit for our analysis was set up as FOM limit = 15 (dashed line). The red-shaded area encompasses the precursor emission of SN 2021foa. maximum) in comparison to H I lines. Thereafter, the line develops a redshifted peak. From about +66 days onward, it appears symmetric again, unlike other He I and H I lines.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.5. He I &#955;7065</head><p>In panel (I) in Figure <ref type="figure">C1</ref>, we show the evolution of He I &#955;7065. In analogy to He I &#955;5876, the emission line profile of He I &#955;7065 is of boxy-like shape with no evident narrow P Cygni profile. Additionally, at all epochs, the line profile exhibits a blue shoulder at around -3000 km s -1 . The origin of both emission features is unclear but may be due to another element.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.6. NIR Lines</head><p>The NIR spectra exhibit emission lines of He I &#955;10830 + Pa&#947;, Pa&#946; and He I &#955;20581. H I &#955;18751 (Pa&#945;) is detected, but it coincides with a telluric region. Panel (E) in Figure <ref type="figure">C1</ref> shows the He I &#955;10830 + Pa&#947; line complex, which is dominated by He I &#955;10830. We find that the absorption line at about -4000 km s -1 (with reference to Pa&#947;) must be attributed to He I &#955;10830. This is because it is unlikely that a narrow Pa&#947; absorption at a velocity of about -4000 km s -1 with an FWHM of only about 800 km s -1 exists. Furthermore, the velocity of the absorption minimum, if associated with He I &#955;10830, remains nearly constant at about -600 km s -1 at all epochs up to +129 days.</p><p>Panel (F) in Figure <ref type="figure">C1</ref> displays the evolution of Pa&#946;. At -8 days, the emission line has a FWHM of only about 2000 km s -1 and thus, is narrower than other H I lines at that epoch. On top of that is a narrow P Cygni profile with an FWHM of about &#8764;1000 km s -1 and an absorption component with a minimum at &#8764;-500 km s -1 . From +66 to +129 days, the Pa&#946; line profile is nearly identical to the optical H I lines. However, Pa&#946; does not show a narrow absorption component, likely because it coincides with telluric lines at that position.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.7. Other Line Profiles</head><p>Another complex spectral structure is prominent in the wavelength range of Ca II H&amp;K (&#955;&#955;3934, 3968). The left panel of Figure <ref type="figure">C2</ref> shows the evolution of this structure at +66, +95, and +129 days. The absorption complex at the position of Ca II H&amp;K exhibit multiple components, some appear blueshifted with respect to the SN redshift. Strong absorption features, potentially associated with these Ca II lines are at about -350 km s -1 . Since there is no indication of any emission or absorption lines at these wavelengths in the +427 days spectrum, it is likely that the absorption complex originates from different CSM layers around the SN. However, the mismatch between the low velocities from the absorption trough of the Ca II IR and the Ca II H&amp;K counterparts is intriguing. This apparent discrepancy could be solved considering that Ca II H&amp;K could be misidentified due to the strong blending with He I &#955;&#955;3936, 3965 (vertical red lines in the left panel).  Several Fe II (multiplets 42, 48, and 49) lines are shown in the middle panel in Figure <ref type="figure">C2</ref> at +66 to +427 days. Strong blending of Fe II forest lines can create a pseudo-continuum as observed blueward of 5700 &#197;. This is not unusual for SNe Ibn and other interacting SNe (A. <ref type="bibr">Pastorello et al. 2015b)</ref>. Strong P Cygni absorption components at about &lt;-300 km s -1 are detected for all Fe II lines.</p><p>The right panel in Figure <ref type="figure">C2</ref> displays the evolution of the Ca II &#955;&#955;8498, 8542, 8662 lines, possibly blended with O I &#955;8446. While it is difficult to disentangle these four lines, we find that the bulk velocity of the Ca II + O I complex does not surpass 6000 km s -1 . This is the maximum velocity of the red wing of Ca II &#955;8662. Furthermore, at all epochs past +15 days, narrow P Cygni absorption is observed at a velocity of about -400 km s -1 , which continuously decreases to -200 km s -1 between +40 and +129 days.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.8. On SN 2006jc and SN 2011hw</head><p>In Figure <ref type="figure">C3</ref>, we show the decomposition of the line profiles of He I &#955;5876 (left column) and H&#945; (right column) of three different SNe Ibn: the prototype SN 2006jc, the transitional SN 2011hw, and SN 2021foa 2 weeks after r-band maximum. It is clear that our decomposition is in very good agreement with the total line flux of each profile. Furthermore, in contrast to N. <ref type="bibr">Smith et al. (2008</ref><ref type="bibr">Smith et al. ( , 2012a))</ref>, we show that our decomposition correctly deblends the H&#945; and He I &#955;6678 lines.</p><p>In Figure <ref type="figure">C4</ref>, we show the flux-calibrated H&#945; (red) and He I &#955;5876 (blue) profiles of SN 2006jc, SN 2011hw and SN 2021foa at &#8776; 15 (left panel) and &#8776;40 (right panel) days r-band maximum. These two epochs encompass the line flux ratio plateau observed in Figure <ref type="figure">12</ref> for transitional SNe IIn/Ibn. For SN 2006jc, the flux line of H&#945; is smaller than that of He I in both epochs. This difference is not observed in either SN 2011hw or SN 2021foa, where the line flux ratio is &#8776;1 for both epochs. Figure <ref type="figure">C4</ref> proves that the values obtained in A. <ref type="bibr">Reguitti et al. (2022)</ref> of the line flux ratio of H&#945;/He I &#955;5876, &#8776;0.5, are not consistent with our observations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.9. Line Decomposition in Transitional Objects</head><p>For SN 2005la and SN iPTF15akq, a careful analysis was done to take into account the fact that these sources exhibit strong, broad P Cygni absorption profiles for both H and or/He at early epochs. However, we note that this absorption was not accounted for in the line flux calculations.</p><p>For SN 2011hw, SN 2005la, SN 2020bqj, and SN 2006jc, we deblended the H&#945; from the He I &#955;6678 line by fitting two different Gaussian profiles to each line. This results in line fluxes of H&#945; and He I &#955;5876 for SN 2006jc and SN 2011hw that are discrepant by a factor 2 from measurements in the literature (N. <ref type="bibr">Smith et al. 2008</ref><ref type="bibr">Smith et al. , 2012a) )</ref> using different methods. In Figure <ref type="figure">C3</ref>, we show that our decomposition of the line profiles of H&#945; and He I &#955;5876 light recovers the total line flux at &#8776;2 weeks after maximum.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>The Astrophysical Journal, 977:152 (27pp), 2024 December 20 Farias et al.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="18" xml:id="foot_1"><p>https://github.com/msiebert1/UCSC_spectral_pipeline</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="19" xml:id="foot_2"><p>https://iraf-community.github.io</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="20" xml:id="foot_3"><p>https://github.com/iraf-community/pyraf</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="21" xml:id="foot_4"><p>https://www.eso.org/sci/software/esoreflex/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="22" xml:id="foot_5"><p>https://github.com/villrv/extrabol</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="23" xml:id="foot_6"><p>https://mosfit.readthedocs.io/en/latest/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="24" xml:id="foot_7"><p>SN 2005la also shows the flop, although the H&#945; line at &#8776; +30 days is overestimated (see Appendix C.9).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_8"><p>The Astrophysical Journal, 977:152 (27pp), 2024 December 20 Farias et al.</p></note>
		</body>
		</text>
</TEI>
