{"version":3,"file":"KlyroSearch.ms-RcjIP.mjs","names":["React.useState","React.useRef","React.useMemo","_Fragment","__esmMin","init_ssg_sandbox_shims","l","_e","pe","p","ce","init_npm_react_18_3_1","de","window","init_framer_BisrWwwE","ControlType","addPropertyControls","normalize","value","scoreItem","query","rawQuery","title","item","detail","aliases","searchable","score","alias","words","word","KlyroSearch","props","setQuery","open","setOpen","active","setActive","inputRef","styleId","styleElement","css","items","results","entry","order","a","b","maxResults","onGlobalKey","event","onGlobalEscape","execute","onKeyDown","visibleGroups","groups","group","groupItems","root","accent","background","textColor","mutedColor","radius","resultIndex","init_KlyroSearch","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/zMybVuMhMil6oIjpeM6Q/fXrpcaObZhWxPUmm6fX9/KlyroSearch.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function normalize(value){return value.toLowerCase().replace(/[^a-z0-9\\s]/g,\" \").replace(/\\s+/g,\" \").trim();}function scoreItem(item,rawQuery){const query=normalize(rawQuery);if(!query)return 1;const title=normalize(item.title);const detail=normalize(item.detail);const aliases=item.aliases.map(normalize);const searchable=[title,detail,...aliases];let score=0;if(title===query)score+=100;if(title.startsWith(query))score+=60;if(title.includes(query))score+=40;if(detail.includes(query))score+=20;for(const alias of aliases){if(alias===query)score+=45;else if(alias.startsWith(query))score+=28;else if(alias.includes(query))score+=16;}const words=query.split(\" \").filter(Boolean);for(const word of words){if(searchable.some(value=>value.includes(word))){score+=6;}}return score;}export default function KlyroSearch(props){const{placeholder,accent,background,textColor,mutedColor,radius,maxResults}=props;const[query,setQuery]=React.useState(\"\");const[open,setOpen]=React.useState(false);const[active,setActive]=React.useState(0);const inputRef=React.useRef(null);/*\n     Keep the large stylesheet out of the SSR/hydrated React subtree.\n     Framer can otherwise report a recoverable server/client mismatch at the\n     <style> node. Inject it once into <head> after mount instead.\n    */React.useEffect(()=>{if(typeof document===\"undefined\")return;const styleId=\"klyro-search-styles-v1\";let styleElement=document.getElementById(styleId);if(!styleElement){styleElement=document.createElement(\"style\");styleElement.id=styleId;styleElement.textContent=css;document.head.appendChild(styleElement);}return()=>{/*\n             Do not remove the shared stylesheet on unmount. Framer can mount\n             multiple copies/breakpoints of the same code component.\n            */};},[]);const items=React.useMemo(()=>[{title:\"Overview\",detail:\"Financial wellbeing and your Klyro home\",path:\"/\",icon:\"⌂\",group:\"Sections\",aliases:[\"home\",\"dashboard\",\"financial wellbeing\",\"total assets\",\"net worth\",\"upcoming paycheck\",\"primary cards\"]},{title:\"Money\",detail:\"Payments, paychecks, bills and subscriptions\",path:\"/klyro-app/payments\",icon:\"$\",group:\"Sections\",aliases:[\"payments\",\"paycheck planner\",\"paychecks\",\"bills\",\"subscriptions\",\"subs\",\"recurring payments\",\"calendar\",\"cash flow\",\"housing\",\"rent\",\"mortgage\"]},{title:\"Credit\",detail:\"Cards, utilization and credit history\",path:\"/banking/kcards\",icon:\"◇\",group:\"Sections\",aliases:[\"credit\",\"cards\",\"my cards\",\"store cards\",\"kcards\",\"utilization\",\"credit utilization\",\"credit score\",\"credit history\",\"balances\",\"limits\"]},{title:\"Wealth\",detail:\"Savings, investments and portfolio tracking\",path:\"/klyro-app/wealth\",icon:\"◒\",group:\"Sections\",aliases:[\"wealth\",\"investments\",\"portfolio\",\"stocks\",\"etfs\",\"crypto\",\"savings\",\"savings accounts\",\"holdings\",\"net worth\",\"assets\"]},{title:\"Insights\",detail:\"Compass, trends, bonuses and rewards\",path:\"/klyro-app/insights\",icon:\"↗\",group:\"Sections\",aliases:[\"insights\",\"financial trends\",\"recommendations\",\"compass\",\"klyro compass\",\"signup bonus\",\"sign up bonus\",\"rewards\",\"loyalty\",\"klyro points\",\"travel\",\"notes\"]},{title:\"Profile\",detail:\"Account, security and preferences\",path:\"/klyro-app/profile\",icon:\"○\",group:\"Sections\",aliases:[\"profile\",\"account\",\"settings\",\"privacy\",\"passcode\",\"security\",\"plaid\",\"connected accounts\",\"data export\",\"language\",\"spanish\",\"english\"]},{title:\"Klyro Compass\",detail:\"Open your personalized financial briefing\",icon:\"✦\",event:\"klyroOpenCompass\",group:\"Tools\",aliases:[\"compass\",\"advisor\",\"financial advisor\",\"briefing\",\"recommendations\",\"next moves\",\"financial health\"]},{title:\"Subscriptions\",detail:\"Manage manual and Plaid-discovered subscriptions\",path:\"/klyro-app/subs\",icon:\"↻\",group:\"Tools\",aliases:[\"subs\",\"subscriptions\",\"memberships\",\"recurring charges\",\"plaid subscriptions\",\"monthly services\"]},{title:\"Payments\",detail:\"Plan card, bill and paycheck payments\",path:\"/klyro-app/payments\",icon:\"◫\",group:\"Tools\",aliases:[\"payment planner\",\"payment\",\"paycheck\",\"payday\",\"bills\",\"mark paid\",\"payment history\"]},{title:\"Investments\",detail:\"View connected investment accounts and holdings\",path:\"/klyro-app/wealth\",icon:\"△\",group:\"Tools\",aliases:[\"investment accounts\",\"portfolio\",\"holdings\",\"crypto\",\"stocks\",\"etf\",\"plaid investments\"]},{title:\"Savings Accounts\",detail:\"Track connected and manual savings\",path:\"/klyro-app/wealth\",icon:\"▱\",group:\"Tools\",aliases:[\"savings\",\"bank savings\",\"savings history\",\"plaid savings\",\"cash reserves\"]},{title:\"Membership\",detail:\"Manage Klyro and Klyro Platinum\",path:\"/membership\",icon:\"✦\",group:\"Account\",aliases:[\"membership\",\"platinum\",\"billing\",\"upgrade\",\"plan\",\"manage membership\"]},{title:\"Login\",detail:\"Sign in to your Klyro account\",path:\"/login\",icon:\"→\",group:\"Account\",aliases:[\"login\",\"log in\",\"sign in\",\"account access\"]},{title:\"Beta Testing\",detail:\"Open the Klyro beta workspace\",path:\"/klyro-app/betatesting\",icon:\"β\",group:\"Account\",aliases:[\"beta\",\"early access\",\"beta testing\"]}],[]);const results=React.useMemo(()=>{const ranked=items.map(item=>({item,score:scoreItem(item,query)})).filter(entry=>query.trim()?entry.score>0:true).sort((a,b)=>{if(!query.trim()){const order={Sections:0,Tools:1,Account:2};return order[a.item.group]-order[b.item.group];}return b.score-a.score;}).slice(0,Math.max(1,Number(maxResults)||8)).map(entry=>entry.item);return ranked;},[items,query,maxResults]);React.useEffect(()=>{setActive(0);},[query]);React.useEffect(()=>{function onGlobalKey(event){const isShortcut=(event.metaKey||event.ctrlKey)&&event.key.toLowerCase()===\"k\";if(!isShortcut)return;event.preventDefault();setOpen(true);window.setTimeout(()=>{inputRef.current?.focus();inputRef.current?.select();},0);}window.addEventListener(\"keydown\",onGlobalKey);return()=>{window.removeEventListener(\"keydown\",onGlobalKey);};},[]);React.useEffect(()=>{if(!open)return;function onGlobalEscape(event){if(event.key!==\"Escape\")return;setOpen(false);}window.addEventListener(\"keydown\",onGlobalEscape);return()=>{window.removeEventListener(\"keydown\",onGlobalEscape);};},[open]);function execute(item){setOpen(false);setQuery(\"\");if(item.event){window.dispatchEvent(new CustomEvent(item.event));return;}if(item.path){window.location.href=item.path;}}function onKeyDown(event){if(event.key===\"ArrowDown\"){event.preventDefault();setOpen(true);setActive(value=>Math.min(value+1,Math.max(0,results.length-1)));}if(event.key===\"ArrowUp\"){event.preventDefault();setActive(value=>Math.max(value-1,0));}if(event.key===\"Escape\"){setOpen(false);event.currentTarget.blur();}if(event.key===\"Enter\"&&results[active]){event.preventDefault();execute(results[active]);}}const visibleGroups=React.useMemo(()=>{const groups=[];for(const group of[\"Sections\",\"Tools\",\"Account\"]){const groupItems=results.filter(item=>item.group===group);if(groupItems.length){groups.push({name:group,items:groupItems});}}return groups;},[results]);return /*#__PURE__*/_jsxs(\"div\",{style:{...root,\"--accent\":accent,\"--bg\":background,\"--text\":textColor,\"--muted\":mutedColor,\"--radius\":`${radius}px`},children:[/*#__PURE__*/_jsxs(\"div\",{className:`search ${open?\"focused\":\"\"}`,children:[/*#__PURE__*/_jsx(\"span\",{className:\"magnify\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"input\",{ref:inputRef,value:query,onChange:event=>{setQuery(event.target.value);setOpen(true);},onFocus:()=>setOpen(true),onKeyDown:onKeyDown,placeholder:placeholder,\"aria-label\":\"Search Klyro\",autoComplete:\"off\",spellCheck:false}),query?/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"clear\",onClick:()=>{setQuery(\"\");inputRef.current?.focus();},\"aria-label\":\"Clear search\",children:\"\\xd7\"}):/*#__PURE__*/_jsxs(\"span\",{className:\"key\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"desktopKey\",children:\"⌘\"}),\"K\"]})]}),open&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"dismiss\",onClick:()=>setOpen(false),\"aria-label\":\"Close search\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"results\",role:\"listbox\",\"aria-label\":\"Klyro search results\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"searchHeader\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{className:\"resultLabel\",children:query?\"SEARCH KLYRO\":\"QUICK ACCESS\"}),/*#__PURE__*/_jsx(\"div\",{className:\"resultCount\",children:query?`${results.length} result${results.length===1?\"\":\"s\"}`:\"Jump anywhere in Klyro\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"hint\",children:\"↑↓ navigate \\xb7 ↵ open\"})]}),visibleGroups.length?visibleGroups.map(group=>/*#__PURE__*/_jsxs(\"div\",{className:\"group\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"groupTitle\",children:group.name}),group.items.map(item=>{const resultIndex=results.indexOf(item);return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",role:\"option\",\"aria-selected\":resultIndex===active,className:resultIndex===active?\"result active\":\"result\",onMouseEnter:()=>setActive(resultIndex),onClick:()=>execute(item),children:[/*#__PURE__*/_jsx(\"span\",{className:\"icon\",children:item.icon}),/*#__PURE__*/_jsxs(\"span\",{className:\"copy\",children:[/*#__PURE__*/_jsx(\"b\",{children:item.title}),/*#__PURE__*/_jsx(\"small\",{children:item.detail})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"resultMeta\",children:[item.event?\"Open\":\"Go\",/*#__PURE__*/_jsx(\"span\",{className:\"arrow\",children:\"→\"})]})]},`${item.group}-${item.title}`);})]},group.name)):/*#__PURE__*/_jsxs(\"div\",{className:\"empty\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"emptyIcon\",children:\"⌕\"}),/*#__PURE__*/_jsx(\"div\",{className:\"emptyTitle\",children:\"No Klyro result found\"}),/*#__PURE__*/_jsx(\"div\",{className:\"emptyCopy\",children:\"Try searching for cards, payments, investments, subscriptions, Compass, or settings.\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"footer\",children:[/*#__PURE__*/_jsx(\"span\",{children:\"Klyro Search\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Press ESC to close\"})]})]})]})]});}const root={position:\"relative\",width:\"100%\",minHeight:58,fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif\",zIndex:30};const css=`\n*{box-sizing:border-box}\n\n.search{\n    position:relative;\n    z-index:5;\n    height:58px;\n    display:flex;\n    align-items:center;\n    gap:13px;\n    padding:0 16px;\n    border:1px solid rgba(255,255,255,.075);\n    border-radius:var(--radius);\n    background:var(--bg);\n    color:var(--text);\n    backdrop-filter:blur(24px) saturate(130%);\n    -webkit-backdrop-filter:blur(24px) saturate(130%);\n    box-shadow:\n        0 18px 48px rgba(0,0,0,.28),\n        inset 0 1px 0 rgba(255,255,255,.075),\n        inset 0 -1px 0 rgba(255,255,255,.018);\n    transition:\n        border-color .18s ease,\n        box-shadow .18s ease,\n        transform .18s ease,\n        background .18s ease;\n}\n\n.search.focused{\n    border-color:color-mix(in srgb,var(--accent) 58%,white 8%);\n    box-shadow:\n        0 26px 66px rgba(0,0,0,.34),\n        0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent),\n        inset 0 1px 0 rgba(255,255,255,.07);\n    transform:translateY(-1px);\n}\n\n.magnify{\n    width:17px;\n    height:17px;\n    border:1.7px solid var(--muted);\n    border-radius:50%;\n    position:relative;\n    flex:0 0 auto;\n    opacity:.92;\n}\n\n.magnify:after{\n    content:'';\n    position:absolute;\n    width:7px;\n    height:1.7px;\n    background:var(--muted);\n    right:-5px;\n    bottom:-2px;\n    transform:rotate(45deg);\n    border-radius:2px;\n}\n\n.search input{\n    min-width:0;\n    flex:1;\n    height:100%;\n    border:0;\n    outline:0;\n    background:transparent;\n    color:var(--text);\n    font:500 15px inherit;\n    letter-spacing:-.01em;\n}\n\n.search input::placeholder{\n    color:var(--muted);\n    opacity:.82;\n}\n\n.key{\n    flex:0 0 auto;\n    display:inline-flex;\n    align-items:center;\n    justify-content:center;\n    gap:2px;\n    min-width:34px;\n    height:25px;\n    padding:0 7px;\n    border:1px solid rgba(255,255,255,.11);\n    border-radius:8px;\n    background:rgba(255,255,255,.035);\n    color:var(--muted);\n    font-size:10px;\n    font-weight:650;\n    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);\n}\n\n.clear{\n    flex:0 0 auto;\n    border:0;\n    background:rgba(255,255,255,.075);\n    color:var(--muted);\n    width:25px;\n    height:25px;\n    border-radius:50%;\n    font:400 17px/1 inherit;\n    cursor:pointer;\n    transition:background .14s,color .14s;\n}\n\n.clear:hover{\n    background:rgba(255,255,255,.12);\n    color:var(--text);\n}\n\n.dismiss{\n    position:fixed;\n    inset:0;\n    border:0;\n    background:rgba(0,0,0,.08);\n    backdrop-filter:blur(1px);\n    -webkit-backdrop-filter:blur(1px);\n    z-index:1;\n}\n\n.results{\n    position:absolute;\n    z-index:4;\n    top:68px;\n    left:0;\n    right:0;\n    max-height:min(620px,calc(100vh - 110px));\n    padding:9px;\n    border:1px solid rgba(255,255,255,.115);\n    border-radius:calc(var(--radius) + 2px);\n    background:rgba(7,7,10,.965);\n    backdrop-filter:blur(30px) saturate(135%);\n    -webkit-backdrop-filter:blur(30px) saturate(135%);\n    box-shadow:\n        0 34px 90px rgba(0,0,0,.5),\n        inset 0 1px 0 rgba(255,255,255,.055);\n    overflow-y:auto;\n    overflow-x:hidden;\n    animation:klyroSearchIn .16s ease-out;\n}\n\n@keyframes klyroSearchIn{\n    from{\n        opacity:0;\n        transform:translateY(-4px) scale(.992)\n    }\n    to{\n        opacity:1;\n        transform:translateY(0) scale(1)\n    }\n}\n\n.searchHeader{\n    display:flex;\n    align-items:flex-end;\n    justify-content:space-between;\n    gap:14px;\n    padding:9px 11px 8px;\n}\n\n.resultLabel{\n    color:#777780;\n    font-size:8px;\n    font-weight:800;\n    letter-spacing:.18em;\n}\n\n.resultCount{\n    margin-top:3px;\n    color:#A0A0A8;\n    font-size:10px;\n}\n\n.hint{\n    color:#66666D;\n    font-size:9px;\n    white-space:nowrap;\n}\n\n.group{\n    padding-top:5px;\n}\n\n.group + .group{\n    margin-top:5px;\n    padding-top:10px;\n    border-top:1px solid rgba(255,255,255,.055);\n}\n\n.groupTitle{\n    padding:3px 10px 6px;\n    color:#66666F;\n    font-size:8px;\n    font-weight:800;\n    text-transform:uppercase;\n    letter-spacing:.14em;\n}\n\n.result{\n    width:100%;\n    min-height:56px;\n    border:0;\n    background:transparent;\n    color:var(--text);\n    display:flex;\n    align-items:center;\n    gap:12px;\n    padding:8px 10px;\n    border-radius:20px;\n    text-align:left;\n    cursor:pointer;\n    font-family:inherit;\n    transition:\n        background .13s ease,\n        transform .13s ease;\n}\n\n.result.active{\n    background:\n        linear-gradient(\n            90deg,\n            color-mix(in srgb,var(--accent) 15%,transparent),\n            rgba(255,255,255,.045)\n        );\n}\n\n.result:active{\n    transform:scale(.994);\n}\n\n.icon{\n    flex:0 0 auto;\n    display:flex;\n    align-items:center;\n    justify-content:center;\n    width:38px;\n    height:38px;\n    border:1px solid rgba(255,255,255,.065);\n    border-radius:19px;\n    background:rgba(255,255,255,.05);\n    color:var(--accent);\n    font-size:16px;\n    font-weight:650;\n    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);\n}\n\n.copy{\n    min-width:0;\n    flex:1;\n    display:flex;\n    flex-direction:column;\n    gap:3px;\n}\n\n.copy b{\n    color:var(--text);\n    font-size:13px;\n    line-height:1.2;\n    font-weight:650;\n}\n\n.copy small{\n    color:#898991;\n    font-size:10px;\n    line-height:1.3;\n    white-space:nowrap;\n    overflow:hidden;\n    text-overflow:ellipsis;\n}\n\n.resultMeta{\n    flex:0 0 auto;\n    display:flex;\n    align-items:center;\n    gap:6px;\n    color:#66666D;\n    font-size:9px;\n    font-weight:650;\n}\n\n.arrow{\n    color:var(--accent);\n    font-size:12px;\n}\n\n.empty{\n    padding:30px 16px 32px;\n    text-align:center;\n}\n\n.emptyIcon{\n    color:var(--accent);\n    font-size:28px;\n    opacity:.9;\n}\n\n.emptyTitle{\n    margin-top:8px;\n    color:var(--text);\n    font-size:13px;\n    font-weight:650;\n}\n\n.emptyCopy{\n    max-width:300px;\n    margin:6px auto 0;\n    color:#85858D;\n    font-size:10px;\n    line-height:1.45;\n}\n\n.footer{\n    display:flex;\n    align-items:center;\n    justify-content:space-between;\n    gap:12px;\n    margin-top:7px;\n    padding:9px 10px 4px;\n    border-top:1px solid rgba(255,255,255,.055);\n    color:#62626A;\n    font-size:8px;\n}\n\n.results::-webkit-scrollbar{\n    width:5px;\n}\n\n.results::-webkit-scrollbar-track{\n    background:transparent;\n}\n\n.results::-webkit-scrollbar-thumb{\n    background:rgba(255,255,255,.12);\n    border-radius:999px;\n}\n\n@media(max-width:560px){\n    .search{\n        height:55px;\n        padding:0 14px;\n    }\n\n    .key{\n        display:none;\n    }\n\n    .results{\n        top:63px;\n        max-height:min(560px,calc(100dvh - 90px));\n        border-radius:22px;\n    }\n\n    .searchHeader{\n        align-items:flex-start;\n    }\n\n    .hint{\n        display:none;\n    }\n\n    .result{\n        min-height:55px;\n    }\n\n    .copy small{\n        max-width:220px;\n    }\n\n    .resultMeta{\n        display:none;\n    }\n\n    .footer{\n        display:none;\n    }\n}\n`;KlyroSearch.defaultProps={placeholder:\"Search Klyro\",accent:\"#B9B263\",background:\"rgba(8,8,11,.86)\",textColor:\"#FFFFFF\",mutedColor:\"#8E8E96\",radius:24,maxResults:9};addPropertyControls(KlyroSearch,{placeholder:{type:ControlType.String,title:\"Placeholder\"},accent:{type:ControlType.Color,title:\"Accent\"},background:{type:ControlType.Color,title:\"Background\"},textColor:{type:ControlType.Color,title:\"Text\"},mutedColor:{type:ControlType.Color,title:\"Muted\"},radius:{type:ControlType.Number,title:\"Radius\",min:8,max:36,step:1},maxResults:{type:ControlType.Number,title:\"Max Results\",min:4,max:14,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KlyroSearch\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KlyroSearch.map"],"mappings":"A,iNAA+J,SAASiB,EAAU,EAAM,CAAC,OAAOC,EAAM,YAAY,CAAC,CAAC,QAAQ,eAAe,GAAG,CAAC,CAAC,QAAQ,OAAO,GAAG,CAAC,CAAC,KAAK,CAAE,CAAC,SAASC,EAAU,EAAK,EAAS,CAAC,IAAMC,EAAMH,EAAUI,CAAQ,EAAE,GAAG,CAACD,EAAM,MAAO,GAAE,IAAME,EAAML,EAAUM,EAAK,KAAK,EAAQC,EAAOP,EAAUM,EAAK,MAAM,EAAQE,EAAQF,EAAK,QAAQ,IAAIN,CAAS,EAAQS,EAAW,CAACJ,EAAME,EAAO,GAAGC,CAAO,EAAME,EAAM,EAAKL,IAAQF,IAAM,GAAO,KAAOE,EAAM,WAAWF,CAAK,IAAE,GAAO,IAAME,EAAM,SAASF,CAAK,IAAE,GAAO,IAAMI,EAAO,SAASJ,CAAK,IAAE,GAAO,IAAG,IAAI,IAAMQ,KAASH,EAAYG,IAAQR,EAAM,GAAO,GAAWQ,EAAM,WAAWR,CAAK,EAAE,GAAO,GAAWQ,EAAM,SAASR,CAAK,IAAE,GAAO,IAAI,IAAMS,EAAMT,EAAM,MAAM,GAAG,CAA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