{"version":3,"file":"CommunitySpotlight.Be3Zrhvv.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/8p0hvN9mLw3guGy5wMLl/5xB8aRqu4BbFWj7A0kXs/CommunitySpotlight.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function CommunitySpotlight(props){const{style,eyebrow,titleLine1,titleLine2,description,tag1,tag2,tag3,videoLabel,videoTitle,videoFile}=props;const tags=[tag1,tag2,tag3].filter(Boolean);return /*#__PURE__*/_jsxs(\"section\",{\"aria-label\":eyebrow||\"NexBirlik Topluluğu\",className:\"nb-community\",style:{...style,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .nb-community {\n                    box-sizing: border-box;\n                    background: #F7F2E9;\n                    padding: clamp(24px, 4vw, 56px);\n                    font-family: Inter, Arial, sans-serif;\n                }\n                .nb-community * { box-sizing: border-box; }\n                .nb-community-card {\n                    width: 100%;\n                    max-width: 1120px;\n                    margin: 0 auto;\n                    display: grid;\n                    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);\n                    gap: clamp(18px, 3vw, 34px);\n                    align-items: stretch;\n                    padding: clamp(22px, 3.4vw, 44px);\n                    border: 1px solid rgba(210, 173, 86, .42);\n                    border-radius: 24px;\n                    background: #FFFCF7;\n                    box-shadow: 0 14px 38px rgba(11, 42, 74, .08);\n                }\n                .nb-community-copy {\n                    display: flex;\n                    flex-direction: column;\n                    justify-content: center;\n                    min-width: 0;\n                    padding: 4px 0;\n                }\n                .nb-community-label {\n                    margin: 0 0 12px;\n                    color: #C91F37;\n                    font-size: 12px;\n                    font-weight: 800;\n                    letter-spacing: .14em;\n                }\n                .nb-community-title {\n                    margin: 0;\n                    max-width: 560px;\n                    color: #0B2A4A;\n                    font-size: clamp(30px, 4vw, 48px);\n                    line-height: 1.04;\n                    letter-spacing: -.035em;\n                    font-weight: 800;\n                }\n                .nb-community-rule {\n                    width: 44px;\n                    height: 3px;\n                    margin: 20px 0 16px;\n                    border-radius: 99px;\n                    background: #D2AD56;\n                }\n                .nb-community-text {\n                    margin: 0;\n                    max-width: 520px;\n                    color: #4C5E6F;\n                    font-size: clamp(15px, 1.4vw, 18px);\n                    line-height: 1.55;\n                }\n                .nb-community-tags {\n                    display: flex;\n                    flex-wrap: wrap;\n                    gap: 8px;\n                    margin-top: 22px;\n                }\n                .nb-community-tag {\n                    padding: 9px 12px;\n                    border: 1px solid rgba(210, 173, 86, .46);\n                    border-radius: 999px;\n                    background: #FFF9EF;\n                    color: #0B2A4A;\n                    font-size: 12px;\n                    font-weight: 700;\n                    white-space: nowrap;\n                }\n                .nb-community-video {\n                    position: relative;\n                    min-height: 330px;\n                    overflow: hidden;\n                    display: flex;\n                    align-items: center;\n                    justify-content: center;\n                    border-radius: 20px;\n                    background:\n                        radial-gradient(circle at 72% 28%, rgba(210,173,86,.24), transparent 34%),\n                        linear-gradient(135deg, #153B60 0%, #0B2A4A 55%, #071E35 100%);\n                    border: 1px solid rgba(255,255,255,.12);\n                }\n                .nb-community-video::before,\n                .nb-community-video::after {\n                    content: \"\";\n                    position: absolute;\n                    width: 180px;\n                    height: 180px;\n                    border: 1px solid rgba(255,255,255,.08);\n                    border-radius: 36px;\n                    transform: rotate(24deg);\n                    pointer-events: none;\n                }\n                .nb-community-video::before { left: -76px; bottom: -88px; }\n                .nb-community-video::after { right: -74px; top: -88px; }\n                .nb-community-video-inner {\n                    position: relative;\n                    z-index: 1;\n                    text-align: center;\n                    color: white;\n                    padding: 24px;\n                }\n                .nb-community-play {\n                    width: 72px;\n                    height: 72px;\n                    margin: 0 auto 18px;\n                    display: grid;\n                    place-items: center;\n                    border-radius: 50%;\n                    background: #C91F37;\n                    box-shadow: 0 12px 30px rgba(201,31,55,.36);\n                }\n                .nb-community-triangle {\n                    width: 0;\n                    height: 0;\n                    margin-left: 5px;\n                    border-top: 10px solid transparent;\n                    border-bottom: 10px solid transparent;\n                    border-left: 16px solid white;\n                }\n                .nb-community-video-label {\n                    margin: 0 0 5px;\n                    color: #D2AD56;\n                    font-size: 11px;\n                    font-weight: 800;\n                    letter-spacing: .14em;\n                }\n                .nb-community-video-title {\n                    margin: 0;\n                    color: white;\n                    font-size: 22px;\n                    font-weight: 750;\n                }\n                .nb-community-video-player {\n                    position: relative;\n                    z-index: 2;\n                    display: block;\n                    width: 100%;\n                    height: 100%;\n                    min-height: 330px;\n                    object-fit: cover;\n                    background: #071E35;\n                }\n                @media (max-width: 760px) {\n                    .nb-community { padding: 22px 16px 28px; }\n                    .nb-community-card {\n                        grid-template-columns: 1fr;\n                        padding: 20px;\n                        border-radius: 20px;\n                    }\n                    .nb-community-title { font-size: 32px; }\n                    .nb-community-video,\n                    .nb-community-video-player {\n                        min-height: 230px;\n                        border-radius: 16px;\n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"nb-community-card\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"nb-community-copy\",children:[eyebrow&&/*#__PURE__*/_jsx(\"p\",{className:\"nb-community-label\",children:eyebrow}),/*#__PURE__*/_jsxs(\"h2\",{className:\"nb-community-title\",children:[titleLine1,titleLine2&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"br\",{}),titleLine2]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"nb-community-rule\"}),description&&/*#__PURE__*/_jsx(\"p\",{className:\"nb-community-text\",children:description}),tags.length>0&&/*#__PURE__*/_jsx(\"div\",{className:\"nb-community-tags\",\"aria-label\":\"Topluluk i\\xe7erikleri\",children:tags.map((tag,index)=>/*#__PURE__*/_jsx(\"span\",{className:\"nb-community-tag\",children:tag},index))})]}),/*#__PURE__*/_jsx(\"div\",{className:\"nb-community-video\",children:videoFile?/*#__PURE__*/_jsx(\"video\",{className:\"nb-community-video-player\",src:videoFile,controls:true,playsInline:true,preload:\"metadata\"}):/*#__PURE__*/_jsxs(\"div\",{className:\"nb-community-video-inner\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"nb-community-play\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"span\",{className:\"nb-community-triangle\"})}),videoLabel&&/*#__PURE__*/_jsx(\"p\",{className:\"nb-community-video-label\",children:videoLabel}),videoTitle&&/*#__PURE__*/_jsx(\"p\",{className:\"nb-community-video-title\",children:videoTitle})]})})]})]});}CommunitySpotlight.defaultProps={eyebrow:\"NEXBİRLİK TOPLULUĞU\",titleLine1:\"Ger\\xe7ek İnsanlar.\",titleLine2:\"Ger\\xe7ek Deneyimler.\",description:\"Teslimattan kutu a\\xe7ılışına, deneyimlerimizi paylaşır ve birlikte b\\xfcy\\xfcr\\xfcz.\",tag1:\"Ger\\xe7ek Teslimatlar\",tag2:\"Kutu A\\xe7ılışları\",tag3:\"Topluluk Anları\",videoLabel:\"TOPLULUK VİDEOSU\",videoTitle:\"Yakında\",videoFile:\"\"};addPropertyControls(CommunitySpotlight,{eyebrow:{type:ControlType.String,title:\"小标题\"},titleLine1:{type:ControlType.String,title:\"主标题 1\"},titleLine2:{type:ControlType.String,title:\"主标题 2\"},description:{type:ControlType.String,title:\"说明文字\",displayTextArea:true},tag1:{type:ControlType.String,title:\"标签 1\"},tag2:{type:ControlType.String,title:\"标签 2\"},tag3:{type:ControlType.String,title:\"标签 3\"},videoLabel:{type:ControlType.String,title:\"影片小标题\"},videoTitle:{type:ControlType.String,title:\"影片标题\"},videoFile:{type:ControlType.File,title:\"上传影片\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\",\"m4v\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CommunitySpotlight\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMapping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