{"version":3,"file":"CountdownTimer.BKAmDdEc.mjs","names":["useState","useRef","useState"],"sources":["https:/framerusercontent.com/modules/o1PI5S8YtkA5bP5g4dFz/s801VqobGI0Gkh3K9b41/Embed.js","https:/framerusercontent.com/modules/Si0gkYWdcu5npPGMdfyG/RH4eSXKfeSCCSPorqNB8/iuMFzbzYc.js","https:/framerusercontent.com/modules/o29JpiHaBLqscTLszvCv/Hp4VoesdXTagh2W9OLX4/CountdownTimer.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useIsOnCanvas,emptyStateStyle,containerStyles}from\"https://framer.com/m/framer/default-utils.js\";/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n * @framerDisableUnlink\n */export default function Embed({type,url,html,zoom,radius,border,style={}}){if(type===\"url\"&&url){return /*#__PURE__*/_jsx(EmbedUrl,{url:url,zoom:zoom,radius:radius,border:border,style:style});}if(type===\"html\"&&html){return /*#__PURE__*/_jsx(EmbedHtml,{html:html,style:style});}return /*#__PURE__*/_jsx(Instructions,{style:style});}addPropertyControls(Embed,{type:{type:ControlType.Enum,defaultValue:\"url\",displaySegmentedControl:true,options:[\"url\",\"html\"],optionTitles:[\"URL\",\"HTML\"]},url:{title:\"URL\",type:ControlType.String,description:\"Some websites don’t support embedding.\",hidden(props){return props.type!==\"url\";}},html:{title:\"HTML\",type:ControlType.String,displayTextArea:true,hidden(props){return props.type!==\"html\";}},border:{title:\"Border\",type:ControlType.Border,optional:true,hidden(props){return props.type!==\"url\";}},radius:{type:ControlType.BorderRadius,title:\"Radius\",hidden(props){return props.type!==\"url\";}},zoom:{title:\"Zoom\",defaultValue:1,type:ControlType.Number,hidden(props){return props.type!==\"url\";},min:.1,max:1,step:.1,displayStepper:true}});function Instructions({style}){return /*#__PURE__*/_jsx(\"div\",{style:{minHeight:getMinHeight(style),...emptyStateStyle,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"To embed a website or widget, add it to the properties\\xa0panel.\"})});}function EmbedUrl({url,zoom,radius,border,style}){const hasAutoHeight=!style.height;// Add https:// if the URL does not have a protocol.\nif(!/[a-z]+:\\/\\//.test(url)){url=\"https://\"+url;}const onCanvas=useIsOnCanvas();// We need to check if the url is blocked inside an iframe by the X-Frame-Options\n// or Content-Security-Policy headers on the backend.\nconst[state,setState]=useState(onCanvas?undefined:false);useEffect(()=>{// We only want to check on the canvas.\n// On the website we want to avoid the additional delay.\nif(!onCanvas)return;// TODO: We could also use AbortController here.\nlet isLastEffect=true;setState(undefined);async function load(){const response=await fetch(\"https://api.framer.com/functions/check-iframe-url?url=\"+encodeURIComponent(url));if(response.status==200){const{isBlocked}=await response.json();if(isLastEffect){setState(isBlocked);}}else{const message=await response.text();console.error(message);const error=new Error(\"This site can’t be reached.\");setState(error);}}load().catch(error=>{console.error(error);setState(error);});return()=>{isLastEffect=false;};},[url]);if(onCanvas&&hasAutoHeight){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"URL embeds do not support auto height.\",style:style});}if(!url.startsWith(\"https://\")){return /*#__PURE__*/_jsx(ErrorMessage,{message:\"Unsupported protocol.\",style:style});}if(state===undefined){return /*#__PURE__*/_jsx(LoadingIndicator,{});}if(state instanceof Error){return /*#__PURE__*/_jsx(ErrorMessage,{message:state.message,style:style});}if(state===true){const message=`Can’t embed ${url} due to its content security policy.`;return /*#__PURE__*/_jsx(ErrorMessage,{message:message,style:style});}return /*#__PURE__*/_jsx(\"iframe\",{src:url,style:{...iframeStyle,...style,...border,zoom:zoom,borderRadius:radius,transformOrigin:\"top center\"},loading:\"lazy\",// @ts-ignore\nfetchPriority:onCanvas?\"low\":\"auto\",referrerPolicy:\"no-referrer\",sandbox:getSandbox(onCanvas)});}const iframeStyle={width:\"100%\",height:\"100%\",border:\"none\"};function getSandbox(onCanvas){const result=[\"allow-same-origin\",\"allow-scripts\"];if(!onCanvas){result.push(\"allow-downloads\",\"allow-forms\",\"allow-modals\",\"allow-orientation-lock\",\"allow-pointer-lock\",\"allow-popups\",\"allow-popups-to-escape-sandbox\",\"allow-presentation\",\"allow-storage-access-by-user-activation\",\"allow-top-navigation-by-user-activation\");}return result.join(\" \");}function EmbedHtml({html,...props}){const hasScript=html.includes(\"</script>\");if(hasScript){const hasSplineViewer=html.includes(\"</spline-viewer>\");const hasComment=html.includes(\"<!-- framer-direct-embed -->\");if(hasSplineViewer||hasComment){return /*#__PURE__*/_jsx(EmbedHtmlWithScripts,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlInsideIframe,{html:html,...props});}return /*#__PURE__*/_jsx(EmbedHtmlWithoutScripts,{html:html,...props});}function EmbedHtmlInsideIframe({html,style}){const ref=useRef();const[iframeHeight,setIframeHeight]=useState(0);// Handle auto sizing\nuseEffect(()=>{const iframeWindow=ref.current?.contentWindow;function handleMessage(event){if(event.source!==iframeWindow)return;const data=event.data;if(typeof data!==\"object\"||data===null)return;const height=data.embedHeight;if(typeof height!==\"number\")return;setIframeHeight(height);}window.addEventListener(\"message\",handleMessage);// After SSG the iframe loads before we attach the event handler,\n// therefore we need to request the latest height from the iframe.\niframeWindow?.postMessage(\"getEmbedHeight\",\"*\");return()=>{window.removeEventListener(\"message\",handleMessage);};},[]);// The CSS is mainly copied from:\n// FramerStudio/src/app/vekter/src/renderer/setDefaultFont.ts\n// FramerStudio/src/app/vekter/src/export/globalStylesForExport.ts\nconst srcDoc=`\n<html>\n    <head>\n        <style>\n            html, body {\n                margin: 0;\n                padding: 0;\n            }\n\n            body {\n                display: flex;\n                justify-content: center;\n                align-items: center;\n            }\n\n            :root {\n                -webkit-font-smoothing: antialiased;\n                -moz-osx-font-smoothing: grayscale;\n            }\n\n            * {\n                box-sizing: border-box;\n                -webkit-font-smoothing: inherit;\n            }\n\n            h1, h2, h3, h4, h5, h6, p, figure {\n                margin: 0;\n            }\n\n            body, input, textarea, select, button {\n                font-size: 12px;\n                font-family: sans-serif;\n            }\n        </style>\n    </head>\n    <body>\n        ${html}\n        <script type=\"module\">\n            let height = 0\n\n            function sendEmbedHeight() {\n                window.parent.postMessage({\n                    embedHeight: height\n                }, \"*\")\n            }\n\n            const observer = new ResizeObserver((entries) => {\n                if (entries.length !== 1) return\n                const entry = entries[0]\n                if (entry.target !== document.body) return\n\n                height = entry.contentRect.height\n                sendEmbedHeight()\n            })\n\n            observer.observe(document.body)\n\n            window.addEventListener(\"message\", (event) => {\n                if (event.source !== window.parent) return\n                if (event.data !== \"getEmbedHeight\") return\n                sendEmbedHeight()\n            })\n        </script>\n    <body>\n</html>\n`;const currentStyle={...iframeStyle,...style};const hasAutoHeight=!style.height;if(hasAutoHeight){currentStyle.height=iframeHeight+\"px\";}return /*#__PURE__*/_jsx(\"iframe\",{ref:ref,style:currentStyle,srcDoc:srcDoc});}function EmbedHtmlWithScripts({html,style}){const ref=useRef();useEffect(()=>{const div=ref.current;if(!div)return;div.innerHTML=html;executeScripts(div);return()=>{div.innerHTML=\"\";};},[html]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...htmlStyle,...style}});}function EmbedHtmlWithoutScripts({html,style}){return /*#__PURE__*/_jsx(\"div\",{style:{...htmlStyle,...style},dangerouslySetInnerHTML:{__html:html}});}const htmlStyle={width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\"};// This function replaces scripts with executable ones.\n// https://stackoverflow.com/questions/1197575/can-scripts-be-inserted-with-innerhtml\nfunction executeScripts(node){if(node instanceof Element&&node.tagName===\"SCRIPT\"){const script=document.createElement(\"script\");script.text=node.innerHTML;for(const{name,value}of node.attributes){script.setAttribute(name,value);}node.parentElement.replaceChild(script,node);}else{for(const child of node.childNodes){executeScripts(child);}}}// Generic components\nfunction LoadingIndicator(){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-componentPlaceholder\",style:{...containerStyles,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:\"Loading…\"})});}function ErrorMessage({message,style}){return /*#__PURE__*/_jsx(\"div\",{className:\"framerInternalUI-errorPlaceholder\",style:{minHeight:getMinHeight(style),...containerStyles,overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:centerTextStyle,children:message})});}const centerTextStyle={textAlign:\"center\",minWidth:140};// Returns a min-height if the component is using auto-height.\nfunction getMinHeight(style){const hasAutoHeight=!style.height;if(hasAutoHeight)return 200;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Embed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"400\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Embed.map","// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask='url(\\'data:image/svg+xml,<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 5.59 10.58 L 1.42 6.41 L 0 7.82 L 5.59 13.41 L 17.59 1.41 L 16.18 0 Z\" fill=\"var(--esondr, rgb(0,0,0))\" height=\"13.409979999999997px\" id=\"KG12ReyXf\" transform=\"translate(3.205 5.295)\" width=\"17.590040000000002px\"/></svg>\\') alpha no-repeat center / auto var(--framer-icon-mask-mode, add), var(--framer-icon-mask, none)';const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({fill,height,id,width,...props})=>{return{...props,K5AAorpEW:fill??props.K5AAorpEW??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,K5AAorpEW,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-bVPUk\",className),layoutId:layoutId,ref:ref,style:{\"--esondr\":K5AAorpEW,...style}});});const css=[`.framer-bVPUk { -webkit-mask: ${mask}; aspect-ratio: 1; background-color: var(--esondr); mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"K5AAorpEW\":\"fill\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Check\",\"color\":{\"type\":\"variable\",\"value\":\"esondr\"},\"set\":{\"localId\":\"vectorSet/DnLsXE00W\",\"id\":\"DnLsXE00W\",\"moduleId\":\"JIScivAkNLgXrcOUxHXD\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-bVPUk\");Icon.displayName=\"Check\";export default Icon;addPropertyControls(Icon,{K5AAorpEW:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Fill\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Check\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"esondr\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/DnLsXE00W\\\",\\\"id\\\":\\\"DnLsXE00W\\\",\\\"moduleId\\\":\\\"JIScivAkNLgXrcOUxHXD\\\"}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerVariables\":\"{\\\"K5AAorpEW\\\":\\\"fill\\\"}\",\"framerDisableUnlink\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useState,useEffect}from\"react\";import{EmptyState}from\"https://framer.com/m/Shared-8iGD.js@9bbvaZD8RsNyj0rYVQ4z\";/**\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */const unitNames=[\"years\",\"months\",\"days\",\"hours\",\"minutes\",\"seconds\"];const unitSizes=[365,12,30,24,60,60];const finishedIndex=6;// Timezone offsets (STANDARD TIME)\nconst TIMEZONE_OFFSETS={PST:-8,EST:-5};// Build a Date object in UTC based on event timezone\nfunction getDateWithTime(date,hour,minute,second,ampm,timezone){if(!date)return null;const base=new Date(date);const localHour=hour+(ampm===\"PM\"&&hour!==12?12:0);const offset=TIMEZONE_OFFSETS[timezone]||0;const utcHour=localHour-offset;return new Date(Date.UTC(base.getFullYear(),base.getMonth(),base.getDate(),utcHour,minute,second));}export default function Countdown(props){const{time,labels,units}=props;const targetDate=getDateWithTime(props.date,time.hour,time.minute,time.second,time.time,props.timezone);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[timeLeft,setTimeLeft]=useState(calculateTimeLeft());useEffect(()=>{const timer=setTimeout(()=>{setTimeLeft(calculateTimeLeft());},1e3);return()=>clearTimeout(timer);});if(isCanvas&&!props.date){return /*#__PURE__*/_jsx(EmptyState,{title:\"Set a date value.\",subtitle:\"Use the properties panel to choose a target date.\",maxWidth:500});}function calculateTimeLeft(){const now=new Date;const difference=targetDate.getTime()-now.getTime();const timeLeftValue=Array(7).fill(null);if(difference>0){timeLeftValue[0]=Math.floor(difference/(1e3*60*60*24*365));timeLeftValue[1]=Math.floor(difference/(1e3*60*60*24*30)%12);timeLeftValue[2]=Math.floor(difference/(1e3*60*60*24)%30);timeLeftValue[3]=Math.floor(difference/(1e3*60*60)%24);timeLeftValue[4]=Math.floor(difference/1e3/60%60);timeLeftValue[5]=Math.floor(difference/1e3%60);timeLeftValue[6]=true;for(let i=0;i<unitNames.length-1;i++){if(!units[unitNames[i]]){timeLeftValue[i+1]+=timeLeftValue[i]*unitSizes[i+1];timeLeftValue[i]=null;}}if(!units.seconds)timeLeftValue[5]=null;if(!units.zeroUnits){for(let i=0;i<unitNames.length;i++){if(timeLeftValue[i]<=0)timeLeftValue[i]=null;else break;}}}else{timeLeftValue[finishedIndex]=false;}return timeLeftValue;}const textStyle={fontSize:props.font?.fontSize||22,fontWeight:\"600\",color:props.fontColor||\"#ffffff\"};const labelStyle={fontSize:labels?.font?.fontSize||14,fontWeight:labels?.font?.fontWeight||\"normal\",lineHeight:labels?.font?.lineHeight||1.2,color:labels?.fontColor||\"#999999\",textTransform:labels?.case||\"capitalize\",marginTop:4};const validUnits=unitNames.map((unit,index)=>({unit,value:timeLeft[index]})).filter(item=>item.value!=null);const segments=[];validUnits.forEach((item,i)=>{if(i>0&&props.showLine&&!props.boxStyle){segments.push(/*#__PURE__*/_jsx(\"div\",{style:{width:props.lineThickness||2,height:props.lineLength||48,backgroundColor:props.lineColor||\"#ccc\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",margin:`0 ${props.gap/2||8}px`}},`line-${i}`));}const paddedValue=String(item.value).padStart(2,\"0\");segments.push(/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:props.boxStyle?props.boxColor:\"transparent\",borderRadius:props.boxStyle?props.boxRadius:0,padding:`${props.boxPadding||12}px`,minWidth:50,margin:\"0 4px\"},children:[/*#__PURE__*/_jsx(\"span\",{style:textStyle,children:paddedValue}),props.showUnitLabels&&/*#__PURE__*/_jsx(\"span\",{style:labelStyle,children:labelText(item)})]},item.unit));});function labelText(item){if(!props.showUnitLabels)return\"\";if(labels?.style===\"short\")return item.unit[0].toUpperCase();return item.unit;}if(!timeLeft[finishedIndex]){return props.finishedStyle===\"text\"?/*#__PURE__*/_jsx(\"p\",{style:{color:props.fontColor,...props.font},children:props.finishedText}):props.finished;}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"row\",justifyContent:\"center\",alignItems:\"center\",userSelect:props.textSelect?\"auto\":\"none\",lineHeight:1.2},children:segments});}addPropertyControls(Countdown,{date:{type:ControlType.Date},time:{type:ControlType.Object,controls:{hour:{type:ControlType.Number,min:1,max:12,defaultValue:12},minute:{type:ControlType.Number,min:0,max:59,defaultValue:0},second:{type:ControlType.Number,min:0,max:59,defaultValue:0},time:{type:ControlType.Enum,options:[\"AM\",\"PM\"],defaultValue:\"PM\"}}},timezone:{type:ControlType.Enum,options:[\"PST\",\"EST\"],defaultValue:\"PST\",title:\"Event Timezone\"},units:{type:ControlType.Object,controls:unitNames.reduce((acc,unit)=>{acc[unit]={type:ControlType.Boolean,defaultValue:true};return acc;},{zeroUnits:{type:ControlType.Boolean,defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Hide zero-value units on the left.\"}})},labels:{type:ControlType.Object,optional:true,controls:{location:{type:ControlType.Enum,options:[\"inline\",\"above\",\"below\"],defaultValue:\"below\"},style:{type:ControlType.Enum,options:[\"full\",\"short\"],defaultValue:\"full\"},case:{type:ControlType.Enum,options:[\"capitalize\",\"uppercase\",\"lowercase\"],defaultValue:\"capitalize\"},fontColor:{type:ControlType.Color,defaultValue:\"#FFF\"},font:{type:\"font\",controls:\"extended\"}}},fontColor:{type:ControlType.Color,defaultValue:\"#ffffff\"},font:{type:\"font\",controls:\"extended\"},textSelect:{type:ControlType.Boolean,defaultValue:false},gap:{type:ControlType.Number,defaultValue:16},showLine:{type:ControlType.Boolean,defaultValue:false,title:\"Show Line Between\"},lineColor:{type:ControlType.Color,defaultValue:\"#ccc\",title:\"Line Color\"},lineLength:{type:ControlType.Number,defaultValue:48,min:4,title:\"Line Height\"},finishedStyle:{type:ControlType.Enum,options:[\"text\",\"layer\"],defaultValue:\"text\",title:\"Finished Display\"},finishedText:{type:ControlType.String,defaultValue:\"Countdown finished!\",hidden:props=>props.finishedStyle!==\"text\"},finished:{type:ControlType.ComponentInstance,hidden:props=>props.finishedStyle!==\"layer\"},boxStyle:{type:ControlType.Boolean,defaultValue:false,title:\"Box Around Units\"},boxColor:{type:ControlType.Color,defaultValue:\"#ffffff\",hidden:props=>!props.boxStyle},boxPadding:{type:ControlType.Number,defaultValue:8,hidden:props=>!props.boxStyle,title:\"Box Padding\"},boxRadius:{type:ControlType.Number,defaultValue:12,hidden:props=>!props.boxStyle,title:\"Box Radius\"},showUnitLabels:{type:ControlType.Boolean,defaultValue:true,title:\"Show Unit Labels\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Countdown\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CountdownTimer.map"],"mappings":"iWAQG,SAAwB,EAAM,CAAC,OAAK,MAAI,OAAK,OAAK,SAAO,SAAO,QAAM,EAAE,EAAE,CAA4M,OAAxM,IAAO,OAAO,EAAyB,EAAK,EAAS,CAAK,MAAS,OAAY,SAAc,SAAa,QAAM,CAAC,CAAK,IAAO,QAAQ,EAA0B,EAAK,EAAU,CAAM,OAAW,QAAM,CAAC,CAAsB,EAAK,EAAa,CAAO,QAAM,CAAC,CAA0uB,SAAS,EAAa,CAAC,SAAO,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,UAAU,EAAa,EAAM,CAAC,GAAG,EAAgB,SAAS,SAAS,GAAG,EAAM,CAAC,SAAsB,EAAK,MAAM,CAAC,MAAM,EAAgB,SAAS,mEAAmE,CAAC,CAAC,CAAC,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