{"version":3,"file":"Punktliste.DMU5cOCx.mjs","names":["p","__esmMin","p","c","init_jsx_runtime","init_framer_BCdLsbZT","ControlType","addPropertyControls","Punktliste","punkte","props","z","sp","lead","zh","reihen","geordnet","i","STILE","INTER","p$1","init_Punktliste"],"sources":["https:/framerusercontent.com/modules/8NnvC9k6rfaTorKNKZTl/77r3p49L7ohaae6HM6ae/Punktliste.js"],"sourcesContent":["// Punktliste: Zeilen mit Merkmalpunkt und Haarlinie dazwischen, in ein oder\n// zwei Spalten. Für \"Was Du bekommst\" und für die Listen auf den Stellenseiten.\n// Punkte: ein Eintrag je Zeile. Unter 720 px immer einspaltig.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const INTER=\"Inter, sans-serif\";const STILE=`\n.pl { container-type: inline-size; width: 100%; }\n.pl-r { display: grid; gap: 0 64px; list-style: none; margin: 0; padding: 0; }\n.pl-r li { display: flex; gap: 14px; border-top: 1px solid #E1E7EB; }\n.pl-r.pl-1 li:last-child, .pl-r.pl-2 li:nth-last-child(-n+2) { border-bottom: 1px solid #E1E7EB; }\n@container (max-width: 719px) {\n  .pl-r { grid-template-columns: 1fr !important; }\n  .pl-r.pl-2 li:nth-last-child(2) { border-bottom: 0; }\n  .pl-r.pl-2 li:last-child { border-bottom: 1px solid #E1E7EB; }\n}\n`;/**\n * Punktliste\n *\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight 240\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Punktliste(props){const punkte=(props.punkte??\"\").split(\"\\n\").map(z=>z.trim()).filter(Boolean);const sp=props.spalten===2?2:1;const lead=(props.groesse??\"lead\")===\"lead\";const zh=lead?32:28;// in zwei Spalten spaltenweise füllen\nconst reihen=Math.ceil(punkte.length/sp);const geordnet=sp===2?Array.from({length:punkte.length},(_,i)=>punkte[i%2*reihen+Math.floor(i/2)]).filter(Boolean):punkte;return /*#__PURE__*/_jsxs(\"div\",{className:\"pl\",style:{position:\"relative\",...props.style},children:[/*#__PURE__*/_jsx(\"style\",{children:STILE}),/*#__PURE__*/_jsx(\"ul\",{className:`pl-r pl-${sp}`,style:{gridTemplateColumns:`repeat(${sp}, 1fr)`},children:geordnet.map((p,i)=>/*#__PURE__*/_jsxs(\"li\",{style:{padding:lead?\"20px 0\":\"14px 0\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{flex:\"0 0 8px\",height:zh,display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:8,height:8,background:\"#00AEEF\"}})}),/*#__PURE__*/_jsx(\"span\",{style:{font:lead?`400 20px/32px ${INTER}`:`400 17px/28px ${INTER}`,letterSpacing:lead?\"-0.02em\":0,color:\"#0F253B\"},children:p})]},i))})]});}Punktliste.displayName=\"Punktliste\";addPropertyControls(Punktliste,{punkte:{type:ControlType.String,title:\"Punkte\",displayTextArea:true,defaultValue:\"Arbeitszeit, die Du in vielen Bereichen selbst einteilst\\nZu Hause und im B\\xfcro im Wechsel, in der Entwicklung gelebter Alltag\\nWeiterbildung durch erfahrene Kolleginnen und Kollegen\\nModerne Technik am Arbeitsplatz\\nGemeinsame Tage au\\xdferhalb des B\\xfcros\\nEin Arbeitsplatz in Starnberg bei M\\xfcnchen\"},spalten:{type:ControlType.Number,title:\"Spalten\",defaultValue:2,min:1,max:2,step:1},groesse:{type:ControlType.Enum,title:\"Gr\\xf6\\xdfe\",options:[\"lead\",\"body\"],optionTitles:[\"Lead\",\"Body\"],defaultValue:\"lead\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Punktliste\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"240\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1280\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\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