{"version":3,"file":"ElementsTeaser.DNHKAvYs.mjs","names":["useState","useRef","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","de","addPropertyControls","ControlType","useIsStaticRenderer","init_framer_B6PCHH0A","handoffLink","date","link","url","hhmm","time","personalLine","day","result","dm","DAY_MASTER","els","top","low","parts","STRONG_PHRASE","WEAK_PHRASE","todayIso","d","n","isTouch","ElementsTeaser","props","isStatic","setDate","setTime","state","setState","error","setError","setResult","woken","resultHeading","dateInput","wake","endpoint","submit","res","body","MESSAGES","reset","s","styles","textColor","softColor","cardColor","pillColor","pillTextColor","strongest","accuracyNotice","style","title","subtitle","buttonLabel","note","el","ELEMENT_COLOR","ctaLink","ctaLabel","card","text","FONT","soft","pill","pillText","init_ElementsTeaser","init_jsx_runtime","\"甲\"","\"乙\"","\"丙\"","\"丁\"","\"戊\"","\"己\"","\"庚\"","\"辛\"","\"壬\"","\"癸\""],"sources":["https:/framerusercontent.com/modules/Bkd5G8DJeYKQqshHc9Pr/XLhlGhvr3FF0iR4qMFAL/ElementsTeaser.js"],"sourcesContent":["// The free \"what are your five elements?\" card for 8signs.io.\n//\n// Brief (Calvin, 22 Sep 2026): an MBTI-style teaser — \"x% water x% fire\" —\n// graphic, not wordy; a short line about the months ahead in primary-school\n// English; on the homepage, not a page of its own and \"not a large box\"; the\n// button reads \"Understand more about your chart\".\n//\n// How it works: the birth date (and time, if known) goes to the Supabase\n// function `elements-teaser`, which runs the app's own chart maths and sends\n// back the five percentages and one line. Nothing is saved. No sign-up, and\n// no tick box — there is no account and nothing is kept, so a one-line note\n// under the button is enough.\n//\n// The function takes a few seconds to wake after a quiet spell, so it is\n// woken the moment someone touches the card, while they are still typing.\n//\n// Phone fixes (Calvin on his iPhone, 24 Sep):\n// - Pressing the button with no date used to move focus to the date box.\n//   On a phone that opens the date wheel, which starts on today and fills\n//   today in when it closes — so the next press drew a chart for someone\n//   born today. The error now shows without opening anything on touch\n//   screens, and today's date counts as \"not chosen\".\n// - iOS Safari gives date and time boxes a minimum width of their own that\n//   ignores width: 100%, so both ran past the right edge of the card.\n//   Dropping the native appearance lets them size like any other box.\n//\n// The four pillars (historical behavior, 28 Sep): the result also shows the chart itself —\n// the eight characters, year to hour, each with its plain English name — \"as\n// long as it's not analysing everything like My Chart, the app, the bazi\n// report\". Names only, no meanings. Without a birth time the hour pillar is\n// shown as not given rather than guessed. The function has sent the pillars\n// since v2; a result without them simply shows the elements as before.\n//\n// Elements only (Calvin, 28 Sep, evening): no yin/yang and no animals under\n// the characters. Each one is labelled with its element alone (庚 Metal,\n// 午 Fire), worked out here from the character itself. The rest is unchanged:\n// the five-element bars and the one short line. The function writes some\n// lines with a spaced dash (\"Good times are coming — most of all April 2027\");\n// they are shown with a comma instead, like the rest of the site's copy.\n//\n// Into the app without typing it twice (Calvin, 8 Oct 2026): the result's\n// \"Understand more about your chart\" link carries the birth date and time\n// after a \"#\" (https://app.8signs.io/#calc=1990-05-12T14:30), so the web\n// app's setup screen can fill them in. The part after \"#\" is never sent to a\n// server; the app keeps it in that browser only until setup is finished.\n// Round 2 (Calvin, 12 Oct 2026): the four pillars are no longer shown. The\n// five-element bars stay. The server's line talks about months ahead, which\n// belongs to the paid report, so it is no longer shown; instead one line is\n// built here from the day master (the day stem the function already sends),\n// the strongest element and the quietest element. Fixed text, no AI, no\n// extra network call. The result button goes to /sign-up with #calc kept.\n// 2 Nov 2026: missing time uses noon with an explicit unknown flag; the\n// location reference is fixed at UTC. The signup fragment preserves blanks.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect,useRef,useState}from\"react\";const FONT='\"Inter\", \"Inter Placeholder\", system-ui, -apple-system, \"Segoe UI\", sans-serif';const MESSAGES={date:\"Please check the date. It needs to be a real date, from 1900 to today.\",time:\"Please check the time, or leave it empty.\",busy:\"Lots of people are trying this right now. Please try again in a minute.\",other:\"Something went wrong on our side. Please try again.\"};// The element of each of the ten stems and twelve branches: the only label\n// shown under a character.\nconst STEM_ELEMENT={\"甲\":\"Wood\",\"乙\":\"Wood\",\"丙\":\"Fire\",\"丁\":\"Fire\",\"戊\":\"Earth\",\"己\":\"Earth\",\"庚\":\"Metal\",\"辛\":\"Metal\",\"壬\":\"Water\",\"癸\":\"Water\"};const BRANCH_ELEMENT={\"子\":\"Water\",\"丑\":\"Earth\",\"寅\":\"Wood\",\"卯\":\"Wood\",\"辰\":\"Earth\",\"巳\":\"Fire\",\"午\":\"Fire\",\"未\":\"Earth\",\"申\":\"Metal\",\"酉\":\"Metal\",\"戌\":\"Earth\",\"亥\":\"Water\"};// Only used if the function ever sends a character missing from the lists above.\nconst ANIMAL_ELEMENT={Rat:\"Water\",Ox:\"Earth\",Tiger:\"Wood\",Rabbit:\"Wood\",Dragon:\"Earth\",Snake:\"Fire\",Horse:\"Fire\",Goat:\"Earth\",Sheep:\"Earth\",Monkey:\"Metal\",Rooster:\"Metal\",Dog:\"Earth\",Pig:\"Water\",Boar:\"Water\"};function stemElement(p){return STEM_ELEMENT[p.stem]??String(p.stemName??\"\").replace(/^(Yang|Yin)\\s+/i,\"\");}function branchElement(p){return BRANCH_ELEMENT[p.branch]??ANIMAL_ELEMENT[String(p.branchName??\"\")]??\"\";}function plainLine(text){return String(text??\"\").replace(/\\s+[—–]\\s+(?=at )/g,\": \").replace(/\\s+[—–]\\s+/g,\", \");}// The result link with the birth details added after \"#\" (see the top of\n// this file). Only for links into the web app; anything else is left alone.\nfunction handoffLink(link,date,time){if(!/^\\d{4}-\\d{2}-\\d{2}$/.test(date))return link;try{const url=new URL(link);if(url.hostname!==\"app.8signs.io\")return link;const hhmm=/^\\d{2}:\\d{2}/.test(time)?time.slice(0,5):\"\";url.hash=`calc=${date}${hhmm?`T${hhmm}`:\"\"}`;return url.toString();}catch{return link;}}// Element accents, matching SiteTheme (--es-wood etc.).\nconst ELEMENT_COLOR={wood:\"#5FB37C\",fire:\"#F07A6A\",earth:\"#D9A95B\",metal:\"#C9CBD6\",water:\"#5B9DF0\"};const DAY_MASTER={\"甲\":\"Your day master is Jia Wood, the tall tree, steady and upright\",\"乙\":\"Your day master is Yi Wood, the climbing vine, flexible and quietly resourceful\",\"丙\":\"Your day master is Bing Fire, the sun, open and generous\",\"丁\":\"Your day master is Ding Fire, the candle, warm and attentive\",\"戊\":\"Your day master is Wu Earth, the mountain, calm and dependable\",\"己\":\"Your day master is Ji Earth, the garden soil, nurturing and practical\",\"庚\":\"Your day master is Geng Metal, raw iron, direct and principled\",\"辛\":\"Your day master is Xin Metal, the jewel, refined and discerning\",\"壬\":\"Your day master is Ren Water, the ocean, broad-minded and free\",\"癸\":\"Your day master is Gui Water, the rain, gentle and perceptive\"};const STRONG_PHRASE={wood:\"Wood leads your chart, so growth and new ideas come naturally to you\",fire:\"Fire leads your chart, so warmth and expression come naturally to you\",earth:\"Earth leads your chart, so you bring steadiness and care to the people around you\",metal:\"Metal leads your chart, so you value clarity and a clean decision\",water:\"Water leads your chart, so you read people and situations with quiet depth\"};const WEAK_PHRASE={wood:\"Wood is your quietest element, so fresh starts may ask a little more intention\",fire:\"Fire is your quietest element, so letting your enthusiasm show may ask a little more intention\",earth:\"Earth is your quietest element, so rest and routine are worth protecting\",metal:\"Metal is your quietest element, so firm limits may feel less natural to set\",water:\"Water is your quietest element, so time to pause and reflect is worth making room for\"};// One line personal to this chart: day master + strongest + quietest element.\nfunction personalLine(result){const day=Array.isArray(result.pillars)?result.pillars.find(p=>p.key===\"day\"):undefined;const dm=day?DAY_MASTER[day.stem]:undefined;const els=result.elements;const top=els[0];const low=els[els.length-1];const parts=[];if(dm)parts.push(`${dm}.`);if(top&&STRONG_PHRASE[top.key])parts.push(`${STRONG_PHRASE[top.key]}.`);if(low&&low.key!==top?.key&&low.percent<(top?.percent??0)&&WEAK_PHRASE[low.key]){parts.push(`${WEAK_PHRASE[low.key]}.`);}return parts.join(\" \");}function todayIso(){const d=new Date;const p=n=>String(n).padStart(2,\"0\");return`${d.getFullYear()}-${p(d.getMonth()+1)}-${p(d.getDate())}`;}// A finger rather than a mouse. On these, moving focus into a date box opens\n// the native picker, so focus is only moved for keyboard and mouse users.\nfunction isTouch(){try{return typeof window!==\"undefined\"&&window.matchMedia(\"(pointer: coarse)\").matches;}catch{return false;}}/**\n * @framerIntrinsicWidth 560\n * @framerIntrinsicHeight 380\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ElementsTeaser(props){const{endpoint=\"https://hlmprupujcchcetstjxp.supabase.co/functions/v1/elements-teaser\",title=\"What are your five elements?\",subtitle=\"Enter your birthday. It takes a second, and there's nothing to sign up for.\",buttonLabel=\"Show my elements\",note=\"Nothing you enter is saved.\",ctaLabel=\"Save my chart and keep reading\",ctaLink=\"https://app.8signs.io/sign-up?utm_source=8signs.io&utm_medium=site&utm_content=calculator\",textColor=\"#F3F3F1\",softColor=\"#A7A7AC\",cardColor=\"rgba(255, 255, 255, 0.05)\",pillColor=\"#F3F3F1\",pillTextColor=\"#0B0B0C\",style}=props;const isStatic=useIsStaticRenderer();const[date,setDate]=useState(\"\");const[time,setTime]=useState(\"\");const[state,setState]=useState(\"idle\");const[error,setError]=useState(null);const[result,setResult]=useState(null);const woken=useRef(false);const resultHeading=useRef(null);const dateInput=useRef(null);// Wake the function while the visitor is still typing.\nconst wake=()=>{if(woken.current||isStatic||typeof window===\"undefined\")return;woken.current=true;fetch(endpoint,{method:\"GET\"}).catch(()=>{});};useEffect(()=>{if(state===\"done\")resultHeading.current?.focus();},[state]);async function submit(e){e.preventDefault();if(state===\"loading\")return;// Today's date is what a phone's date wheel fills in by itself when\n// it is opened and closed, so it is treated as \"not chosen yet\".\nif(!date||date===todayIso()){setError(\"Please choose your birth date.\");if(!isTouch())dateInput.current?.focus();return;}setError(null);setState(\"loading\");try{const res=await fetch(endpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({birth_date:date,birth_time:time||\"12:00\",birth_time_unknown:!time,birth_location_unknown:true,timezone:\"UTC\"})});const body=await res.json().catch(()=>({}));if(!res.ok||!Array.isArray(body?.elements)){setError(MESSAGES[body?.error]??MESSAGES.other);setState(\"idle\");return;}setResult(body);setState(\"done\");if(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(\"es-teaser-result\",{detail:{kind:body.line?.kind}}));}}catch{setError(MESSAGES.other);setState(\"idle\");}}function reset(){setState(\"idle\");setResult(null);setError(null);if(!isTouch())setTimeout(()=>dateInput.current?.focus(),0);}const s=styles(textColor,softColor,cardColor,pillColor,pillTextColor);const strongest=result?.elements[0]?.key;const accuracyNotice=`${time?\"\":\"No birth time entered: we use 12:00 noon. \"}This calculator uses a fixed reference location (UTC). Missing birth details can make your reading less accurate.`;return /*#__PURE__*/_jsxs(\"section\",{style:{...style,...s.card},onPointerDown:wake,onFocusCapture:wake,\"aria-label\":\"Find your five elements\",className:\"es-teaser\",children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n.es-teaser input{font:inherit;font-size:16px}\n.es-teaser input[type=\"date\"],.es-teaser input[type=\"time\"]{-webkit-appearance:none;appearance:none;display:block;min-width:0;max-width:100%;line-height:44px}\n.es-teaser input::-webkit-date-and-time-value{text-align:left;margin:0}\n.es-teaser input::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.7;cursor:pointer}\n.es-teaser .es-fields{display:flex;flex-wrap:wrap;gap:12px}\n.es-teaser .es-field{flex:1 1 180px;display:flex;flex-direction:column;gap:6px;min-width:0}\n.es-teaser a:focus-visible,.es-teaser button:focus-visible,.es-teaser input:focus-visible{outline:2px solid ${textColor};outline-offset:2px}\n.es-teaser [tabindex=\"-1\"]:focus{outline:none}\n`.replace(/<\\/style/gi,\"<\\\\/style\")}}),state!==\"done\"||!result?/*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,style:s.stack,children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:6},children:[/*#__PURE__*/_jsx(\"h2\",{style:s.title,children:title}),/*#__PURE__*/_jsx(\"p\",{style:s.soft,children:subtitle})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"es-fields\",children:[/*#__PURE__*/_jsxs(\"label\",{className:\"es-field\",children:[/*#__PURE__*/_jsx(\"span\",{style:s.label,children:\"Birth date\"}),/*#__PURE__*/_jsx(\"input\",{ref:dateInput,type:\"date\",required:true,min:\"1900-01-01\",max:isStatic?undefined:todayIso(),value:date,onChange:e=>setDate(e.target.value),style:s.input,\"aria-invalid\":error?true:undefined})]}),/*#__PURE__*/_jsxs(\"label\",{className:\"es-field\",children:[/*#__PURE__*/_jsxs(\"span\",{style:s.label,children:[\"Birth time \",/*#__PURE__*/_jsx(\"span\",{style:{color:softColor,fontWeight:400},children:\"(if you know it)\"})]}),/*#__PURE__*/_jsx(\"input\",{type:\"time\",value:time,onChange:e=>setTime(e.target.value),style:s.input})]})]}),/*#__PURE__*/_jsx(\"p\",{style:s.small,children:accuracyNotice}),error?/*#__PURE__*/_jsx(\"p\",{role:\"alert\",style:s.error,children:error}):null,/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",gap:\"10px 16px\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:state===\"loading\",style:s.pill,children:state===\"loading\"?\"Working it out…\":buttonLabel}),/*#__PURE__*/_jsx(\"span\",{style:s.small,children:note})]})]}):/*#__PURE__*/_jsxs(\"div\",{style:s.stack,\"aria-live\":\"polite\",children:[/*#__PURE__*/_jsx(\"h2\",{ref:resultHeading,tabIndex:-1,style:s.title,children:\"Your five elements\"}),/*#__PURE__*/_jsx(\"ul\",{style:s.bars,\"aria-label\":\"Your five elements, strongest first\",children:result.elements.map(el=>{const top=el.key===strongest;return /*#__PURE__*/_jsxs(\"li\",{style:{display:\"contents\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{...s.barName,color:top?textColor:softColor},children:[el.name,\" \",/*#__PURE__*/_jsxs(\"span\",{style:{opacity:.75},children:[\"\\xb7 \",el.word]})]}),/*#__PURE__*/_jsx(\"span\",{style:s.track,\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"span\",{style:{...s.fill,width:`${Math.max(el.percent,1)}%`,background:ELEMENT_COLOR[el.key]??(top?textColor:\"rgba(255, 255, 255, 0.32)\"),opacity:top?1:.6}})}),/*#__PURE__*/_jsxs(\"span\",{style:{...s.pct,color:top?textColor:softColor},children:[el.percent,\"%\"]})]},el.key);})}),/*#__PURE__*/_jsx(\"p\",{style:s.line,children:personalLine(result)}),/*#__PURE__*/_jsxs(\"p\",{style:s.small,children:[accuracyNotice,\" You can add your birth details in the app for a more precise reading.\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",gap:\"10px 16px\"},children:[/*#__PURE__*/_jsxs(\"a\",{href:handoffLink(ctaLink,date,time),style:{...s.pill,textDecoration:\"none\"},children:[ctaLabel,\"\\xa0\",\"→\"]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:reset,style:s.textButton,children:\"Try another date\"})]})]})]});}function styles(text,soft,card,pill,pillText){return{card:{boxSizing:\"border-box\",width:\"100%\",padding:\"24px\",borderRadius:20,background:card,boxShadow:\"inset 0 0 0 1px rgba(255, 255, 255, 0.08)\",color:text,fontFamily:FONT,WebkitFontSmoothing:\"antialiased\"},stack:{display:\"flex\",flexDirection:\"column\",gap:18,margin:0},title:{margin:0,fontSize:22,lineHeight:1.25,fontWeight:600,letterSpacing:\"-0.02em\",color:text},soft:{margin:0,fontSize:15,lineHeight:1.5,color:soft},label:{fontSize:14,fontWeight:500,color:text},input:{boxSizing:\"border-box\",width:\"100%\",height:46,padding:\"0 14px\",borderRadius:12,border:\"1px solid rgba(255, 255, 255, 0.18)\",background:\"rgba(255, 255, 255, 0.06)\",color:text,colorScheme:\"dark\",outline:\"none\"},pill:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",minHeight:44,maxWidth:\"100%\",padding:\"11px 20px\",lineHeight:1.3,textAlign:\"center\",borderRadius:100,border:\"none\",background:pill,color:pillText,fontFamily:FONT,fontSize:15,fontWeight:500,letterSpacing:\"-0.01em\",cursor:\"pointer\"},textButton:{background:\"none\",border:\"none\",padding:0,color:soft,fontFamily:FONT,fontSize:14,textDecoration:\"underline\",textUnderlineOffset:3,cursor:\"pointer\"},small:{margin:0,fontSize:13,lineHeight:1.45,color:soft},error:{margin:0,fontSize:14,lineHeight:1.45,color:\"#FFB4A8\"},bars:{listStyle:\"none\",margin:0,padding:0,display:\"grid\",gridTemplateColumns:\"max-content minmax(60px, 1fr) max-content\",alignItems:\"center\",gap:\"10px 12px\"},barName:{fontSize:14,fontWeight:500,whiteSpace:\"nowrap\"},track:{position:\"relative\",height:8,borderRadius:8,background:\"rgba(255, 255, 255, 0.08)\",overflow:\"hidden\"},fill:{position:\"absolute\",left:0,top:0,bottom:0,borderRadius:8},pct:{fontSize:14,fontVariantNumeric:\"tabular-nums\",textAlign:\"right\"},line:{margin:0,fontSize:17,lineHeight:1.5,color:text},subTitle:{margin:\"4px 0 -6px\",fontSize:15,lineHeight:1.3,fontWeight:600,letterSpacing:\"-0.01em\",color:text},pillars:{listStyle:\"none\",margin:0,padding:0,display:\"grid\",gridTemplateColumns:\"repeat(4, minmax(0, 1fr))\",gap:8},pillar:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:2,minWidth:0,padding:\"10px 4px 12px\",borderRadius:14,background:\"rgba(255, 255, 255, 0.04)\",boxShadow:\"inset 0 0 0 1px rgba(255, 255, 255, 0.07)\",textAlign:\"center\"},pillarLabel:{fontSize:12,fontWeight:500,color:soft,marginBottom:4},char:{fontSize:26,lineHeight:1.15,fontWeight:500},pillarName:{marginTop:6,fontSize:11.5,lineHeight:1.35,color:soft}};}addPropertyControls(ElementsTeaser,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"What are your five elements?\"},subtitle:{type:ControlType.String,title:\"Subtitle\",displayTextArea:true,defaultValue:\"Enter your birthday. It takes a second, and there's nothing to sign up for.\"},buttonLabel:{type:ControlType.String,title:\"Button\",defaultValue:\"Show my elements\"},note:{type:ControlType.String,title:\"Note\",defaultValue:\"Nothing you enter is saved.\"},ctaLabel:{type:ControlType.String,title:\"Result button\",defaultValue:\"Save my chart and keep reading\"},ctaLink:{type:ControlType.Link,title:\"Result link\",defaultValue:\"https://app.8signs.io/sign-up?utm_source=8signs.io&utm_medium=site&utm_content=calculator\"},endpoint:{type:ControlType.String,title:\"Endpoint\",defaultValue:\"https://hlmprupujcchcetstjxp.supabase.co/functions/v1/elements-teaser\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#F3F3F1\"},softColor:{type:ControlType.Color,title:\"Soft text\",defaultValue:\"#A7A7AC\"},cardColor:{type:ControlType.Color,title:\"Card\",defaultValue:\"rgba(255, 255, 255, 0.05)\"},pillColor:{type:ControlType.Color,title:\"Button\",defaultValue:\"#F3F3F1\"},pillTextColor:{type:ControlType.Color,title:\"Button text\",defaultValue:\"#0B0B0C\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ElementsTeaser\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"380\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"560\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ElementsTeaser.map"],"mappings":"A,2MA0DA,SAASc,EAAY,EAAK,EAAK,EAAK,CAAC,GAAG,CAAC,sBAAsB,KAAKC,CAAI,EAAE,OAAOC,EAAK,GAAG,CAAC,IAAMC,EAAI,IAAI,IAAID,CAAI,EAAE,GAAGC,EAAI,WAAW,gBAAgB,OAAOD,EAAK,IAAME,EAAK,eAAe,KAAKC,CAAI,EAAEA,EAAK,MAAM,E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