{"version":3,"file":"ProviderAvatars.B5yoO2LM.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","init_framer_B6PCHH0A","ProviderAvatars","tone","props","TONES","borderColor","value","IMAGES","AVATAR_ALTS","i","init_ProviderAvatars","ControlType"],"sources":["https:/framerusercontent.com/modules/4ho2ylLJYgj5pyfaEI6d/5feQzUn3z9pzEF8GDqzY/ProviderAvatars.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const AVATAR_ALTS=[\"Women's health practitioner portrait\",\"Faith-aligned care provider portrait\",\"Clinical practitioner supporting women's health\",\"Healthcare professional in the ana kate network\",\"Practitioner offering pregnancy and postpartum support\",\"Women's health specialist portrait\",\"Provider in the ana kate practitioner directory\",\"Practitioner supporting fertility and cycle health\",\"Women's health mentor and care provider\"];const IMAGES=[\"https://framerusercontent.com/images/hXKcWDfGJyDwL0xgqYmucXTj7Dg.jpg\",\"https://framerusercontent.com/images/VG4OJZI2sylhMtlhyN3KUoNbbA4.jpg\",\"https://framerusercontent.com/images/fIb5eYtMbJ7IXWnV2U7KAUIo0.jpg\",\"https://framerusercontent.com/images/UHDVszUY5odaofVpQvfLmHpuek.jpg\",\"https://framerusercontent.com/images/DbXN7144W2NoG8Du6l0FR4GfxnM.jpg\",\"https://framerusercontent.com/images/e6ZAHrIEtvUucCIBPYXgHCuWIA.jpg\",\"https://framerusercontent.com/images/V5ipmBC8Dc7JdryrrNC7enmuUw.jpg\",\"https://framerusercontent.com/images/l6cD2FNZrrjg8mk5gHHiYKQFOQ.jpg\",\"https://framerusercontent.com/images/vBiZYk48QaIGe4EMvjUR20smAU.jpg\"];const TONES={hero:{size:62,overlap:14,borderWidth:3,borderColor:\"#f9f9f1\",duration:18,width:205,height:68},provider:{size:44,overlap:12,borderWidth:3,borderColor:\"rgb(131, 145, 116)\",duration:22,width:180,height:52}};/**\n * Looping overlapping portraits for the hero and provider rows.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ProviderAvatars(props){const tone=String(props.tone||\"\").toLowerCase()===\"hero\"?TONES.hero:TONES.provider;const borderOverride=[props.borderColor,props.border].find(value=>typeof value===\"string\"&&value.trim());const borderColor=borderOverride||tone.borderColor;return /*#__PURE__*/_jsxs(\"div\",{className:\"ak-avatar-window\",style:{position:\"relative\",width:tone.width,height:tone.height,overflow:\"hidden\",WebkitMaskImage:\"linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)\",maskImage:\"linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)\",[\"--ak-avatar-size\"]:`${tone.size}px`,[\"--ak-avatar-overlap\"]:`${tone.overlap}px`,[\"--ak-avatar-border-width\"]:`${tone.borderWidth}px`,[\"--ak-avatar-border-color\"]:borderColor,[\"--ak-avatar-duration\"]:`${tone.duration}s`,...props.style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes ak-portrait-loop {\n                    from { transform: translateX(0); }\n                    to { transform: translateX(-50%); }\n                }\n                .ak-avatar-track {\n                    display: flex;\n                    width: max-content;\n                    height: 100%;\n                    align-items: center;\n                    animation: ak-portrait-loop var(--ak-avatar-duration, 18s) linear infinite;\n                }\n                .ak-avatar-window:hover .ak-avatar-track { animation-play-state: paused; }\n                .ak-avatar-set {\n                    display: flex;\n                    align-items: center;\n                    flex-shrink: 0;\n                }\n                .ak-avatar-set img {\n                    width: var(--ak-avatar-size, 62px);\n                    height: var(--ak-avatar-size, 62px);\n                    border-radius: 50%;\n                    object-fit: cover;\n                    object-position: 50% 30%;\n                    margin-right: calc(-1 * var(--ak-avatar-overlap, 14px));\n                    border: var(--ak-avatar-border-width, 3px) solid var(--ak-avatar-border-color, #f9f9f1);\n                    flex-shrink: 0;\n                    display: block;\n                }\n                @media (prefers-reduced-motion: reduce) {\n                    .ak-avatar-track { animation: none; }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"ak-avatar-track\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"ak-avatar-set\",children:IMAGES.map((src,i)=>/*#__PURE__*/_jsx(\"img\",{src:src,alt:AVATAR_ALTS[i]||AVATAR_ALTS[0]},`a-${i}`))}),/*#__PURE__*/_jsx(\"div\",{className:\"ak-avatar-set\",\"aria-hidden\":\"true\",children:IMAGES.map((src,i)=>/*#__PURE__*/_jsx(\"img\",{src:src,alt:AVATAR_ALTS[i]||AVATAR_ALTS[0],\"aria-hidden\":\"true\"},`b-${i}`))})]})]});}addPropertyControls(ProviderAvatars,{tone:{type:ControlType.Enum,title:\"Tone\",options:[\"hero\",\"provider\"],optionTitles:[\"Hero\",\"Practitioner\"],defaultValue:\"provider\",displaySegmentedControl:true},border:{type:ControlType.Color,title:\"Border\",optional:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProviderAvatars\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProviderAvatars.map"],"mappings":"A,8JAKG,SAAwBM,EAAgB,EAAM,CAAC,IAAMC,EAAK,OAAOC,EAAM,MAAM,EAAE,CAAC,CAAC,YAAY,IAAI,OAAOC,EAAM,KAAKA,EAAM,SAAwHC,EAA1F,CAACF,EAAM,YAAYA,EAAM,MAAM,CAAC,CAAC,KAAK,GAAO,OAAOG,GAAQ,UAAUA,EAAM,KAAK,CAAkC,GAAGJ,EAAK,YAAY,MAAoB,gBAAM,MAAM,CAAC,UAAU,mBAAmB,MAAM,CAAC,SAAS,WAAW,MAAMA,EAAK,MAAM,OAAOA,EAAK,OAAO,SAAS,SAAS,gBAAgB,uEAAuE,UAAU,uEAAwE,mBAAoB,GAAGA,EAAK,KAAK,IAAK,sBAAuB,GAAGA,EAAK,QAAQ,IAAK,2BAA4B,GA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