1import{f as s}from"./core-DTFOJR-b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="074b61eb-22ef-4963-89e1-ace71e386010",e._sentryDebugIdIdentifier="sentry-dbid-074b61eb-22ef-4963-89e1-ace71e386010")}catch{}})();const o=Object.create(globalThis.import_meta_env||null).PUBLIC_SA_API_HOST||"",c="/platform/api/v2/emailpreference/",r="/platform/api/v2/emailpreference/set/",_="http://w1.buysub.com/pubs/SC/SCA/2013_Login.jsp?cds_page_id=67550&cds_mag_code=SCA&id=1738002559590&lsid=50271226058077226&vid=1",d={internal_marketing_opt_in:{field:"internal_marketing_opt_in",title:"Scientific American products and services",description:"",type:"marketing"},external_marketing_opt_in:{field:"external_marketing_opt_in",title:"Third party partner products and services",description:"",type:"marketing"},today_in_science:{field:"today_in_science",title:"Today in Science",description:"The latest cutting edge discoveries and deep analysis on advances in science that impact our world, hand-picked by our editors.",type:"digest"},the_week_in_science:{field:"the_week_in_science",title:"The Week in Science",description:"The week's most important science news as selected by our editors every Friday.",type:"digest"},earth_and_environment:{field:"earth_and_environment",title:"Earth & Environment",description:"",type:"topic"},mind_and_brain:{field:"mind_and_brain",title:"Mind & Brain",description:"",type:"topic"},health_and_biology:{field:"health_and_biology",title:"Health & Medicine",description:"",type:"topic"},technology:{field:"technology",title:"Technology",description:"",type:"topic"},space_and_physics:{field:"space_and_physics",title:"Space & Physics",description:"",type:"topic"},your_cancer_community_bulletin:{field:"your_cancer_community_bulletin",title:"YOUR Cancer Community Bulletin",description:"",type:"topic"},column_the_universe:{field:"column_the_universe",title:"The Universe",description:"",type:"topic"},column_argonaut:{field:"column_argonaut",title:"Argonaut",description:"",type:"topic"},column_cross_current:{field:"column_cross_current",title:"Cross Current",description:"",type:"topic"},column_the_science_of_parenting:{field:"column_the_science_of_parenting",title:"The Science of Parenting",description:"",type:"topic"},proof_positive:{field:"proof_positive",title:"Proof Positive",description:"",type:"topic"},cultured:{field:"cultured",title:"Cultured",description:"",type:"topic"},scientific_american_magazine_issue_alert:{field:"scientific_american_magazine_issue_alert",title:"Scientific American Magazine",description:"",type:"issue"},scientific_american_special_editions_issue_alert:{field:"scientific_american_special_editions_issue_alert",title:"Scientific American Special Editions",description:"",type:"issue"}},l=async(e,i)=>await s(e,i,c).then(t=>{if(!t.ok){if(t.status===404)return{global_suppression:!1,lists:[]};throw new Error(`An error occurred fetching resource ${o}${c}.`,t.statusText)}return t.json()}),p=`${o}${r}`,u=async(e={lists:{}},i,n)=>await s(i,n,r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});export{_ as C,d as L,p as e,l as g,u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.