{"version":3,"file":"DecisionNotes.o84S-D0r.mjs","names":["React.useState","p","React.useId","React.useRef"],"sources":["https:/framerusercontent.com/modules/H8pnNcncysKjR9MdpbCk/K89TNrwDZ7PyUEQPDT6H/DecisionNotes.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";const imageSrc=v=>typeof v===\"string\"?v:v?.src||\"\";const number=(v,f=0)=>Number.isFinite(Number(v))?Number(v):f;const clamp=(v,a,b)=>Math.min(b,Math.max(a,v));const safeUrl=s=>{try{const u=new URL(s);return[\"https:\",\"http:\"].includes(u.protocol)?u.href:\"\";}catch{return\"\";}};// Preserve caller-provided values; empty image fields must remain editable.\nfunction resolveDefaults(base,supplied){if(supplied===undefined)return base;if(Array.isArray(base)&&Array.isArray(supplied))return supplied.map((value,index)=>resolveDefaults(base[index],value));if(base&&supplied&&typeof base===\"object\"&&typeof supplied===\"object\"&&!Array.isArray(base)){const result={...supplied};for(const key of Object.keys(base))result[key]=resolveDefaults(base[key],supplied[key]);return result;}return supplied;}const defaultImages={fashion:\"\",living:\"\",identity:\"\",arcMatte:\"\",arcPolished:\"\",columnPolished:\"\",sphereMatte:\"\",companion:\"\"};const themes={light:{card:\"#F6F6F7\",cardTop:\"#FBFBFC\",well:\"#ECECEF\",key:\"#F3F3F5\",keyTop:\"#FFFFFF\",ink:\"#141416\",muted:\"#62626C\",faint:\"rgba(20,20,22,.07)\",hl:\"rgba(255,255,255,.95)\",accent:\"#4F4BDA\",primary:\"#18181B\",primaryTop:\"#3A3A40\",onPrimary:\"#FFFFFF\",shade:\"18,18,24\"},dark:{card:\"#17171A\",cardTop:\"#202024\",well:\"#0F0F11\",key:\"#232327\",keyTop:\"#2E2E33\",ink:\"#F4F4F6\",muted:\"#A3A3AD\",faint:\"rgba(255,255,255,.07)\",hl:\"rgba(255,255,255,.06)\",accent:\"#A9A6FF\",primary:\"#F4F4F6\",primaryTop:\"#FFFFFF\",onPrimary:\"#141416\",shade:\"0,0,0\"}};function useReduced(){const[v,set]=React.useState(false);React.useEffect(()=>{const q=window.matchMedia(\"(prefers-reduced-motion: reduce)\");set(q.matches);const f=()=>set(q.matches);q.addEventListener(\"change\",f);return()=>q.removeEventListener(\"change\",f);},[]);return v;}function Img({value,alt=\"\",style={}}){const src=imageSrc(value);return src?/*#__PURE__*/_jsx(\"img\",{src:src,srcSet:typeof value===\"object\"?value.srcSet:src.includes(\"framerusercontent.com/images/\")?`${src}?scale-down-to=512 512w, ${src}?scale-down-to=1024 1024w, ${src} 1536w`:undefined,sizes:\"(max-width:620px) 100vw, 900px\",alt:typeof value===\"object\"?value.alt||alt:alt,loading:\"lazy\",draggable:false,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\",...style}}):/*#__PURE__*/_jsx(\"div\",{role:\"img\",\"aria-label\":alt||\"Image slot\",style:{display:\"grid\",placeItems:\"center\",height:\"100%\",background:\"var(--well)\",color:\"var(--muted)\"},children:\"Add your image\"});}// Canvas, static export and thumbnails render a still frame: no loops, no timers.\nfunction isStill(){const t=RenderTarget.current();return t===RenderTarget.canvas||t===RenderTarget.export||t===RenderTarget.thumbnail;}const spring=\"cubic-bezier(.2,.9,.25,1.15)\";const ease=\"cubic-bezier(.22,1,.36,1)\";const css=`.kk-decisionnotes{box-sizing:border-box;width:100%;min-width:0;position:relative;isolation:isolate;color:var(--ink);background:linear-gradient(180deg,var(--card-top),var(--card) 46%);border-radius:var(--radius);padding:clamp(18px,3.6cqi,34px);font:15px/1.62 Inter,\"SF Pro Text\",system-ui,sans-serif;font-feature-settings:\"ss01\",\"cv11\";-webkit-font-smoothing:antialiased;container-type:inline-size;box-shadow:inset 0 1px 0 var(--hl),0 0 0 1px rgba(var(--shade),calc(.035*var(--d))),0 2px 6px rgba(var(--shade),calc(.05*var(--d))),0 30px 60px -24px rgba(var(--shade),calc(.26*var(--d)))}\n.kk-decisionnotes *{box-sizing:border-box}.kk-decisionnotes h2,.kk-decisionnotes h3,.kk-decisionnotes p{margin:0}\n.kk-decisionnotes h2{font-size:clamp(27px,4.4cqi,40px);line-height:1.13;letter-spacing:-.035em;font-weight:600;text-wrap:balance}\n.kk-decisionnotes h3{font-size:17px;line-height:1.35;font-weight:600;letter-spacing:-.015em}\n.kk-decisionnotes .muted{color:var(--muted)}\n.kk-decisionnotes .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500;letter-spacing:.01em;color:var(--muted);margin-bottom:8px}\n.kk-decisionnotes .eyebrow:before{content:\"\";width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}\n.kk-decisionnotes .row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}\n.kk-decisionnotes .stack{display:grid;gap:16px;align-content:start}\n.kk-decisionnotes .split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:clamp(14px,2.4cqi,22px)}\n.kk-decisionnotes .well{background:var(--well);border-radius:calc(var(--radius)*.72);box-shadow:inset 0 1.5px 3px rgba(var(--shade),calc(.09*var(--d))),inset 0 -1px 0 var(--hl)}\n.kk-decisionnotes .raised{background:linear-gradient(180deg,var(--key-top),var(--key));border-radius:calc(var(--radius)*.72);box-shadow:inset 0 1px 0 var(--hl),0 1px 2px rgba(var(--shade),calc(.08*var(--d))),0 10px 24px -12px rgba(var(--shade),calc(.3*var(--d)))}\n.kk-decisionnotes .panel{padding:clamp(16px,2.6cqi,22px)}\n.kk-decisionnotes button,.kk-decisionnotes a.btn{font:inherit;font-weight:500;color:var(--ink);background:linear-gradient(180deg,var(--key-top),var(--key));border:0;border-radius:999px;min-height:44px;padding:0 18px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;box-shadow:inset 0 1px 0 var(--hl),0 1px 2px rgba(var(--shade),calc(.1*var(--d))),0 6px 14px -8px rgba(var(--shade),calc(.35*var(--d)));transition:transform .25s ${spring},box-shadow .25s ${ease},background .25s,color .25s}\n.kk-decisionnotes button:hover,.kk-decisionnotes a.btn:hover{transform:translateY(-1px)}\n.kk-decisionnotes button:active,.kk-decisionnotes a.btn:active{transform:translateY(1px) scale(.98);box-shadow:inset 0 1px 2px rgba(var(--shade),calc(.12*var(--d)))}\n.kk-decisionnotes button:disabled{opacity:.45;cursor:not-allowed;transform:none}\n.kk-decisionnotes .primary,.kk-decisionnotes a.btn.primary{color:var(--on-primary);background:linear-gradient(180deg,var(--primary-top),var(--primary));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 2px 4px rgba(var(--shade),.18),0 12px 24px -10px rgba(var(--shade),calc(.55*var(--d)))}\n.kk-decisionnotes .ghost{background:transparent;box-shadow:none;color:var(--muted)}\n.kk-decisionnotes .ghost:hover{color:var(--ink)}\n.kk-decisionnotes .icon,.kk-decisionnotes a.btn.icon{width:44px;padding:0;flex:none}\n.kk-decisionnotes button:focus-visible,.kk-decisionnotes input:focus-visible,.kk-decisionnotes a:focus-visible,.kk-decisionnotes select:focus-visible,.kk-decisionnotes textarea:focus-visible,.kk-decisionnotes [tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}\n.kk-decisionnotes .seg{position:relative;display:inline-flex;gap:2px;padding:4px;border-radius:999px;background:var(--well);box-shadow:inset 0 1.5px 3px rgba(var(--shade),calc(.1*var(--d))),inset 0 -1px 0 var(--hl);max-width:100%;overflow:auto;scrollbar-width:none}\n.kk-decisionnotes .seg>button{position:relative;min-height:36px;padding:0 14px;background:transparent;box-shadow:none;color:var(--muted);z-index:0}\n.kk-decisionnotes .seg>button:hover{transform:none;color:var(--ink)}\n.kk-decisionnotes .seg>button[aria-pressed=true]{color:var(--ink)}\n.kk-decisionnotes .seg>button:disabled{opacity:.38;text-decoration:line-through;text-decoration-thickness:1px}\n.kk-decisionnotes .seg .thumb{position:absolute;inset:0;border-radius:999px;background:linear-gradient(180deg,var(--key-top),var(--key));box-shadow:inset 0 1px 0 var(--hl),0 1px 2px rgba(var(--shade),calc(.12*var(--d))),0 4px 10px -4px rgba(var(--shade),calc(.3*var(--d)));z-index:-1}\n.kk-decisionnotes input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:30px;margin:0;background:transparent;cursor:pointer;--pct:50%}\n.kk-decisionnotes input[type=range]::-webkit-slider-runnable-track{height:10px;border-radius:99px;background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#fff)) 0/var(--pct) 100% no-repeat,color-mix(in srgb,var(--ink) 9%,var(--well));box-shadow:inset 0 1px 2px rgba(var(--shade),calc(.16*var(--d)))}\n.kk-decisionnotes input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-8px;border-radius:50%;background:linear-gradient(180deg,#fff,#EDEDF0);box-shadow:0 0 0 .5px rgba(0,0,0,.06),0 2px 4px rgba(var(--shade),.18),0 8px 16px -6px rgba(var(--shade),.35);transition:transform .2s ${spring}}\n.kk-decisionnotes input[type=range]:active::-webkit-slider-thumb{transform:scale(1.12)}\n.kk-decisionnotes input[type=range]::-moz-range-track{height:10px;border-radius:99px;background:var(--well);box-shadow:inset 0 1px 2px rgba(var(--shade),.14)}\n.kk-decisionnotes input[type=range]::-moz-range-progress{height:10px;border-radius:99px;background:var(--accent)}\n.kk-decisionnotes input[type=range]::-moz-range-thumb{width:26px;height:26px;border:0;border-radius:50%;background:linear-gradient(180deg,#fff,#EDEDF0);box-shadow:0 2px 4px rgba(var(--shade),.18),0 8px 16px -6px rgba(var(--shade),.35)}\n.kk-decisionnotes .tile{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 10px 8px 16px;border-radius:calc(var(--radius)*.66);background:var(--well);box-shadow:inset 0 1px 2px rgba(var(--shade),calc(.07*var(--d))),inset 0 -1px 0 var(--hl);cursor:pointer;transition:background .3s ${ease},box-shadow .3s ${ease},transform .3s ${spring}}\n.kk-decisionnotes .tile.on{background:linear-gradient(180deg,var(--key-top),var(--key));box-shadow:inset 0 1px 0 var(--hl),0 1px 2px rgba(var(--shade),calc(.08*var(--d))),0 10px 22px -12px rgba(var(--shade),calc(.32*var(--d)));transform:translateY(-1px)}\n.kk-decisionnotes .tile .meta{color:var(--muted);font-variant-numeric:tabular-nums}\n.kk-decisionnotes .switch{-webkit-appearance:none;appearance:none;flex:none;position:relative;width:46px;height:28px;margin:0;border-radius:99px;background:color-mix(in srgb,var(--ink) 14%,var(--well));box-shadow:inset 0 1px 3px rgba(var(--shade),.18);cursor:pointer;transition:background .3s ${ease}}\n.kk-decisionnotes .switch:before{content:\"\";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:linear-gradient(180deg,#fff,#F0F0F2);box-shadow:0 1px 2px rgba(0,0,0,.18),0 4px 8px -2px rgba(0,0,0,.2);transition:transform .35s ${spring}}\n.kk-decisionnotes .switch:checked{background:var(--accent)}\n.kk-decisionnotes .switch:checked:before{transform:translateX(18px)}\n.kk-decisionnotes .chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 12px;border-radius:999px;font-size:12.5px;font-weight:500;font-variant-numeric:tabular-nums;background:linear-gradient(180deg,var(--key-top),var(--key));box-shadow:inset 0 1px 0 var(--hl),0 1px 2px rgba(var(--shade),calc(.1*var(--d))),0 4px 10px -6px rgba(var(--shade),calc(.3*var(--d)))}\n.kk-decisionnotes .chip.dark{background:var(--primary);color:var(--on-primary);box-shadow:none}\n.kk-decisionnotes .big{font-size:clamp(38px,8cqi,66px);font-weight:600;line-height:1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}\n.kk-decisionnotes .label{font-size:12.5px;color:var(--muted);font-weight:500}\n.kk-decisionnotes .progress{height:8px;border-radius:99px;background:var(--well);box-shadow:inset 0 1px 2px rgba(var(--shade),calc(.14*var(--d)));overflow:hidden}\n.kk-decisionnotes .progress>span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 65%,#fff));transition:width .6s ${ease}}\n.kk-decisionnotes .media{position:relative;overflow:hidden;border-radius:calc(var(--radius)*.8);aspect-ratio:3/2;background:var(--well);box-shadow:0 1px 2px rgba(var(--shade),.08),0 24px 48px -24px rgba(var(--shade),calc(.45*var(--d)))}\n.kk-decisionnotes .glass{position:relative;color:#fff;background:rgba(28,28,32,.42);-webkit-backdrop-filter:blur(var(--blur)) saturate(170%);backdrop-filter:blur(var(--blur)) saturate(170%);border-radius:calc(var(--radius)*.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.06),0 18px 40px -16px rgba(0,0,0,.5);isolation:isolate}\n.kk-decisionnotes .glass .muted,.kk-decisionnotes .glass .label{color:rgba(255,255,255,.78)}\n.kk-decisionnotes .glass button:not(.primary){color:#fff;background:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}\n.kk-decisionnotes .glass .primary{color:#141416;background:linear-gradient(180deg,#fff,#E9E9EC)}\n.kk-decisionnotes .glass .progress{background:rgba(255,255,255,.16);box-shadow:none}\n.kk-decisionnotes .pin{position:absolute;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:13px;font-weight:600;color:#141416;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 0 0 6px rgba(255,255,255,.22),0 8px 20px -6px rgba(0,0,0,.45);transform:translate(-50%,-50%);touch-action:none;transition:transform .35s ${spring},background .25s,color .25s,box-shadow .35s ${ease}}\n.kk-decisionnotes .pin:hover{transform:translate(-50%,-50%) scale(1.08)}\n.kk-decisionnotes .pin:active{transform:translate(-50%,-50%) scale(.96)}\n.kk-decisionnotes .pin[aria-pressed=true]{color:#fff;background:#141416;transform:translate(-50%,-50%) scale(1.14);box-shadow:0 0 0 7px rgba(255,255,255,.4),0 10px 26px -6px rgba(0,0,0,.55)}\n.kk-decisionnotes .pin:after{content:\"\";position:absolute;inset:-6px;border-radius:50%;box-shadow:0 0 0 2px rgba(255,255,255,.55);animation:kkPulse-decisionnotes 2.4s ${ease} infinite;pointer-events:none}\n.kk-decisionnotes .pin[aria-pressed=true]:after{animation:none;opacity:0}\n@keyframes kkPulse-decisionnotes{0%{transform:scale(.8);opacity:.9}70%,100%{transform:scale(1.7);opacity:0}}\n.kk-decisionnotes input:not([type=range]):not([type=checkbox]):not([type=color]),.kk-decisionnotes select,.kk-decisionnotes textarea{width:100%;font:inherit;color:var(--ink);background:var(--well);border:0;border-radius:14px;padding:12px 14px;min-height:46px;box-shadow:inset 0 1.5px 3px rgba(var(--shade),calc(.1*var(--d))),inset 0 -1px 0 var(--hl)}\n.kk-decisionnotes input[type=color]{-webkit-appearance:none;appearance:none;width:44px;height:44px;border:0;border-radius:50%;padding:4px;background:linear-gradient(180deg,var(--key-top),var(--key));box-shadow:inset 0 1px 0 var(--hl),0 4px 10px -6px rgba(var(--shade),.4);cursor:pointer}\n.kk-decisionnotes input[type=color]::-webkit-color-swatch-wrapper{padding:0}.kk-decisionnotes input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}\n.kk-decisionnotes input[type=checkbox]:not(.switch){width:18px;height:18px;accent-color:var(--accent)}\n.kk-decisionnotes label.check{display:flex;align-items:center;gap:10px;min-height:44px}\n.kk-decisionnotes .roll{display:inline-flex;align-items:baseline;white-space:nowrap}\n.kk-decisionnotes .roll .d{display:inline-block;height:1.08em;line-height:1.08em;overflow:hidden;vertical-align:bottom}\n.kk-decisionnotes .roll .d>span{display:flex;flex-direction:column;transition:transform .7s ${ease}}\n.kk-decisionnotes .roll .d>span>span{height:1.08em}\n.kk-decisionnotes .table-wrap{overflow:auto;border-radius:calc(var(--radius)*.6)}\n.kk-decisionnotes table{border-collapse:separate;border-spacing:0;width:100%}\n.kk-decisionnotes th,.kk-decisionnotes td{text-align:left;padding:13px 14px;font-weight:400}\n.kk-decisionnotes th{color:var(--muted);font-size:12.5px;font-weight:500}\n.kk-decisionnotes tbody tr:nth-child(odd) td{background:var(--well)}\n.kk-decisionnotes tbody tr td:first-child{border-radius:12px 0 0 12px}.kk-decisionnotes tbody tr td:last-child{border-radius:0 12px 12px 0}\n.kk-decisionnotes .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n.kk-decisionnotes.flat{box-shadow:none}\n.kk-decisionnotes.is-glass{background-size:cover;background-position:center}\n.kk-decisionnotes.is-glass .tile,.kk-decisionnotes.is-glass .well,.kk-decisionnotes.is-glass .seg{background:rgba(255,255,255,.09);-webkit-backdrop-filter:blur(var(--blur));backdrop-filter:blur(var(--blur));box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}\n.kk-decisionnotes.is-glass .tile.on{background:rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px -12px rgba(0,0,0,.5)}\n.kk-decisionnotes.is-glass .muted,.kk-decisionnotes.is-glass .label,.kk-decisionnotes.is-glass .eyebrow,.kk-decisionnotes.is-glass .tile .meta{color:rgba(255,255,255,.8)}\n.kk-decisionnotes.is-glass h2,.kk-decisionnotes.is-glass .eyebrow{text-shadow:0 1px 12px rgba(0,0,0,.35)}\n.kk-decisionnotes .lines{display:grid;gap:7px;font-size:13px}\n.kk-decisionnotes .lines>div{display:flex;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums}\n.kk-decisionnotes .lines>div>span:first-child{color:var(--muted)}\n@container(max-width:620px){.kk-decisionnotes .split{grid-template-columns:1fr}.kk-decisionnotes .media{aspect-ratio:4/3}.kk-decisionnotes .hide-sm{display:none!important}}\n.kk-decisionnotes.kk-decisionnotes-still *,.kk-decisionnotes.kk-decisionnotes-still *:before,.kk-decisionnotes.kk-decisionnotes-still *:after{animation:none!important}\n@media(prefers-reduced-motion:reduce){.kk-decisionnotes *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}`;function contrastText(hex){const m=hex?.match(/^#([0-9a-f]{6})$/i);if(!m)return themes.light.ink;const ch=[0,2,4].map(i=>parseInt(m[1].slice(i,i+2),16)/255).map(v=>v<=.04045?v/12.92:((v+.055)/1.055)**2.4);return ch[0]*.2126+ch[1]*.7152+ch[2]*.0722>.179?\"#141416\":\"#FFFFFF\";}function Frame({p,children,className=\"\",style={}}){const t=themes[p.theme===\"Dark\"?\"dark\":\"light\"],accent=p.accent||t.accent,still=isStill();return /*#__PURE__*/_jsxs(\"section\",{className:`kk kk-decisionnotes ${still?\"kk-still \":\"\"}${className}`,\"aria-label\":p.title,style:{\"--card\":p.panel||t.card,\"--card-top\":p.panel||t.cardTop,\"--well\":p.surface||t.well,\"--key\":t.key,\"--key-top\":t.keyTop,\"--ink\":p.text||t.ink,\"--muted\":p.muted||t.muted,\"--faint\":t.faint,\"--hl\":t.hl,\"--accent\":p.accent?accent:`var(--kk-accent, ${accent})`,\"--on-accent\":p.accent?contrastText(accent):`var(--kk-on-accent, ${contrastText(accent)})`,\"--primary\":t.primary,\"--primary-top\":t.primaryTop,\"--on-primary\":t.onPrimary,\"--shade\":t.shade,\"--d\":`var(--kk-depth, ${number(p.depth,100)/100})`,\"--radius\":`var(--kk-radius, ${number(p.radius,28)}px)`,\"--blur\":`${p.blur}px`,...p.font,fontFamily:`var(--kk-font, ${p.font?.fontFamily||\"Inter, sans-serif\"})`,...style,...p.style},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),children]});}// Segmented control with a sliding raised thumb.\nfunction Seg({options,value,onChange,label,style,disabled}){const id=React.useId();return /*#__PURE__*/_jsx(\"div\",{className:\"seg\",role:\"group\",\"aria-label\":label,style:style,children:options.map(o=>/*#__PURE__*/_jsxs(\"button\",{\"aria-pressed\":value===o,disabled:disabled?disabled(o):false,title:disabled&&disabled(o)?`${o} is unavailable`:undefined,onClick:()=>onChange(o),children:[value===o&&/*#__PURE__*/_jsx(motion.span,{layoutId:`thumb${id}`,className:\"thumb\",transition:{type:\"spring\",stiffness:520,damping:38}}),o]},o))});}// Rolling digits for live totals. Screen readers get the plain value.\nfunction useCopy(){const[message,set]=React.useState(\"\");return{message,copy:async s=>{try{await navigator.clipboard.writeText(s);set(\"Copied\");}catch{set(\"Copy unavailable. Select the text below.\");}setTimeout(()=>set(\"\"),2200);}};}const defaults={theme:\"Light\",accent:\"\",surface:\"\",panel:\"\",text:\"\",muted:\"\",radius:28,depth:100,blur:24,font:{fontFamily:\"Inter, Arial, sans-serif\",fontSize:\"14px\",lineHeight:\"1.5em\"},style:{}};const str=(title,defaultValue=\"\",description=\"\")=>({type:ControlType.String,title,defaultValue,description});const num=(title,defaultValue=0,min=0,max=100,suffix=\"\",description=\"\")=>({type:ControlType.Number,title,defaultValue,min,max,step:1,unit:suffix,description});const bool=(title,defaultValue=false,description=\"\")=>({type:ControlType.Boolean,title,defaultValue,description});const img=(title,description=\"\")=>({type:ControlType.ResponsiveImage,title,description});const enm=(title,options,defaultValue=options[0])=>({type:ControlType.Enum,title,options,defaultValue});const arr=(title,controls,defaultValue,maxCount=20)=>({type:ControlType.Array,title,control:{type:ControlType.Object,controls},defaultValue,maxCount});const commonControls={theme:enm(\"Theme\",[\"Light\",\"Dark\"]),accent:{type:ControlType.Color,title:\"Accent\",optional:true,description:\"Fills, sliders and highlights. Empty uses the theme accent.\"},surface:{type:ControlType.Color,title:\"Well\",optional:true,description:\"Inset areas behind inputs. Empty follows the theme.\"},panel:{type:ControlType.Color,title:\"Card\",optional:true},text:{type:ControlType.Color,title:\"Text\",optional:true},muted:{type:ControlType.Color,title:\"Muted text\",optional:true},radius:num(\"Radius\",28,0,48,\"px\"),depth:num(\"Depth\",100,0,100,\"%\",\"Strength of the soft shadows. 0 gives a flat look.\"),blur:num(\"Glass blur\",24,0,48,\"px\"),font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:defaults.font}};const pinCss=`.kk-decisionnotes.kk-decisionnotes .pv{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(250px,1fr);gap:clamp(14px,2.4cqi,22px);align-items:stretch}\n.kk-decisionnotes.kk-decisionnotes .pv .media{aspect-ratio:auto;min-height:100%}\n.kk-decisionnotes.kk-decisionnotes .pv .stage{position:absolute;inset:0;transform-origin:center}\n.kk-decisionnotes.kk-decisionnotes .pv .spot{position:absolute;inset:0;pointer-events:none;transition:opacity .5s,background .65s cubic-bezier(.22,1,.36,1)}\n.kk-decisionnotes.kk-decisionnotes .lens{flex:none;width:92px;height:92px;border-radius:50%;background-color:var(--well);background-repeat:no-repeat;box-shadow:inset 0 0 0 4px var(--key-top),0 1px 2px rgba(var(--shade),.12),0 14px 28px -12px rgba(var(--shade),calc(.45*var(--d)));transition:background-position .7s cubic-bezier(.22,1,.36,1)}\n.kk-decisionnotes.kk-decisionnotes .idx{font-size:40px;font-weight:600;letter-spacing:-.05em;line-height:1;font-variant-numeric:tabular-nums}\n.kk-decisionnotes.kk-decisionnotes .plist{display:grid;gap:6px}\n.kk-decisionnotes.kk-decisionnotes .plist>button{justify-content:flex-start;gap:12px;min-height:46px;padding:0 14px 0 8px;border-radius:16px;background:transparent;box-shadow:none;font-weight:500;color:var(--muted)}\n.kk-decisionnotes.kk-decisionnotes .plist>button:hover{transform:none;color:var(--ink);background:var(--well)}\n.kk-decisionnotes.kk-decisionnotes .plist>button[aria-pressed=true]{color:var(--ink);background:var(--well);box-shadow:inset 0 1px 2px rgba(var(--shade),calc(.07*var(--d)))}\n.kk-decisionnotes.kk-decisionnotes .plist .n{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:12px;font-weight:600;background:linear-gradient(180deg,var(--key-top),var(--key));box-shadow:inset 0 1px 0 var(--hl),0 2px 6px -2px rgba(var(--shade),.3);color:var(--ink);flex:none}\n.kk-decisionnotes.kk-decisionnotes .plist>button[aria-pressed=true] .n{background:var(--primary);color:var(--on-primary)}\n.kk-decisionnotes.kk-decisionnotes .plist .pr{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--ink)}\n.kk-decisionnotes.kk-decisionnotes .dots{display:flex;gap:6px;align-items:center}\n.kk-decisionnotes.kk-decisionnotes .dots>span{width:6px;height:6px;border-radius:99px;background:color-mix(in srgb,var(--ink) 18%,transparent);transition:width .4s cubic-bezier(.22,1,.36,1),background .3s}\n.kk-decisionnotes.kk-decisionnotes .dots>span.on{width:20px;background:var(--ink)}\n@container(max-width:680px){.kk-decisionnotes.kk-decisionnotes .pv{grid-template-columns:1fr}.kk-decisionnotes.kk-decisionnotes .pv .media{aspect-ratio:4/3;min-height:0}}`;function PinView(p){const shopping=!!p.shop;const media=React.useRef(null),reduced=useReduced();const[active,setActive]=React.useState(0),[edit,setEdit]=React.useState(false),[story,setStory]=React.useState(false),[pins,setPins]=React.useState(p.pins||[]);const copy=useCopy();React.useEffect(()=>{let next=p.pins||[];try{if(p.positions.trim()){const coords=JSON.parse(p.positions);next=next.map((item,i)=>({...item,x:clamp(number(coords[i]?.x,item.x),2,98),y:clamp(number(coords[i]?.y,item.y),2,98)}));}}catch{}setPins(next);setActive(0);},[p.pins,p.positions]);const item=pins[active];const move=(i,x,y)=>setPins(prev=>prev.map((v,j)=>i===j?{...v,x:clamp(x,2,98),y:clamp(y,2,98)}:v));const onDrag=(e,i)=>{if(!edit||!media.current)return;const r=media.current.getBoundingClientRect();move(i,(e.clientX-r.left)/r.width*100,(e.clientY-r.top)/r.height*100);};const link=raw=>{let u=safeUrl(raw);if(u&&p.utmSource){const url=new URL(u);url.searchParams.set(\"utm_source\",p.utmSource);u=url.href;}return u;};const coords=JSON.stringify(pins.map(v=>({x:Math.round(v.x*10)/10,y:Math.round(v.y*10)/10})));const src=imageSrc(p.image),L=92,bw=L*p.lensZoom,bh=bw/1.5,go=d=>pins.length&&setActive(v=>(v+d+pins.length)%pins.length);return /*#__PURE__*/_jsxs(Frame,{p:p,children:[/*#__PURE__*/_jsx(\"style\",{children:pinCss}),/*#__PURE__*/_jsxs(\"div\",{className:\"stack\",style:{gap:22},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"row\",style:{justifyContent:\"space-between\",alignItems:\"flex-end\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{className:\"eyebrow\",children:p.eyebrow}),/*#__PURE__*/_jsx(\"h2\",{children:p.title})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"row\",style:{gap:8},children:[!shopping&&pins.length>0&&/*#__PURE__*/_jsx(Seg,{label:\"Viewing mode\",options:[\"Browse\",\"Guided\"],value:story?\"Guided\":\"Browse\",onChange:v=>{setStory(v===\"Guided\");setEdit(false);}}),p.allowEdit&&/*#__PURE__*/_jsx(\"button\",{\"aria-pressed\":edit,className:edit?\"primary\":\"\",onClick:()=>{setEdit(v=>!v);setStory(false);},children:edit?\"Done\":\"Edit pins\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"pv\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"media\",ref:media,children:/*#__PURE__*/_jsxs(\"div\",{className:\"stage\",style:{transform:story&&item?`scale(${p.zoom}) translate(${(50-item.x)/p.zoom}%,${(50-item.y)/p.zoom}%)`:\"none\",transition:reduced?\"none\":\"transform .8s cubic-bezier(.22,1,.36,1)\"},children:[/*#__PURE__*/_jsx(Img,{value:p.image,alt:p.imageAlt}),/*#__PURE__*/_jsx(\"div\",{className:\"spot\",\"aria-hidden\":\"true\",style:{opacity:story&&item?1:0,background:item?`radial-gradient(circle at ${item.x}% ${item.y}%, transparent 0 9%, rgba(10,10,12,.5) 24%)`:\"none\"}}),pins.map((v,i)=>/*#__PURE__*/_jsx(\"button\",{className:\"pin\",\"aria-label\":`${i+1}. ${v.title}`,\"aria-pressed\":active===i,style:{left:`${v.x}%`,top:`${v.y}%`,cursor:edit?\"grab\":\"pointer\",scale:story?String(1/p.zoom):\"1\"},onClick:()=>setActive(i),onPointerDown:e=>{if(edit){e.currentTarget.setPointerCapture(e.pointerId);setActive(i);}},onPointerMove:e=>{if(edit&&e.buttons)onDrag(e,i);},onPointerUp:e=>{if(e.currentTarget.hasPointerCapture(e.pointerId))e.currentTarget.releasePointerCapture(e.pointerId);},onKeyDown:e=>{if(edit&&[\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\",\"ArrowDown\"].includes(e.key)){e.preventDefault();move(i,v.x+(e.key===\"ArrowRight\"?1:e.key===\"ArrowLeft\"?-1:0),v.y+(e.key===\"ArrowDown\"?1:e.key===\"ArrowUp\"?-1:0));}},children:i+1},i))]})}),/*#__PURE__*/_jsxs(\"aside\",{className:\"raised panel stack\",style:{gap:18,alignContent:\"space-between\"},children:[item?/*#__PURE__*/_jsxs(\"div\",{className:\"stack\",style:{gap:14},\"aria-live\":\"polite\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"row\",style:{justifyContent:\"space-between\",flexWrap:\"nowrap\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{className:\"label\",children:shopping?\"In this room\":\"Note\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"idx\",children:[String(active+1).padStart(2,\"0\"),/*#__PURE__*/_jsxs(\"span\",{className:\"muted\",style:{fontSize:16,letterSpacing:0,fontWeight:500},children:[\" \",\"/ \",String(pins.length).padStart(2,\"0\")]})]})]}),p.showLens&&src&&/*#__PURE__*/_jsx(\"div\",{className:\"lens\",\"aria-hidden\":\"true\",style:{backgroundImage:`url(\"${src}\")`,backgroundSize:`${bw}px ${bh}px`,backgroundPosition:`${L/2-item.x/100*bw}px ${L/2-item.y/100*bh}px`}})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"stack\",style:{gap:6},children:[/*#__PURE__*/_jsx(\"h3\",{children:item.title}),/*#__PURE__*/_jsx(\"p\",{className:\"muted\",children:item.note})]}),shopping&&/*#__PURE__*/_jsxs(\"div\",{className:\"stack\",style:{gap:10},children:[item.price&&/*#__PURE__*/_jsx(\"strong\",{style:{fontSize:30,fontWeight:600,letterSpacing:\"-.04em\",lineHeight:1},children:item.price}),safeUrl(item.url)?/*#__PURE__*/_jsxs(\"a\",{className:\"btn primary\",href:link(item.url),target:\"_blank\",rel:p.affiliate?\"sponsored nofollow noopener\":\"noopener\",children:[p.buttonLabel,\" ↗\"]}):/*#__PURE__*/_jsx(\"span\",{className:\"muted\",children:\"Link coming soon\"}),p.affiliate&&/*#__PURE__*/_jsx(\"small\",{className:\"muted\",style:{fontSize:11.5},children:p.disclosure})]})]}):/*#__PURE__*/_jsx(\"p\",{className:\"muted\",children:\"Add pins to begin.\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"stack\",style:{gap:12},children:[/*#__PURE__*/_jsx(\"div\",{className:\"plist\",children:pins.map((v,i)=>/*#__PURE__*/_jsxs(\"button\",{\"aria-pressed\":active===i,onMouseEnter:()=>shopping&&setActive(i),onClick:()=>setActive(i),children:[/*#__PURE__*/_jsx(\"span\",{className:\"n\",children:i+1}),/*#__PURE__*/_jsx(\"span\",{style:{overflow:\"hidden\",textOverflow:\"ellipsis\"},children:v.title}),shopping&&v.price&&/*#__PURE__*/_jsx(\"span\",{className:\"pr\",children:v.price})]},i))}),pins.length>1&&/*#__PURE__*/_jsxs(\"div\",{className:\"row\",style:{justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"div\",{className:\"dots\",\"aria-hidden\":\"true\",children:pins.map((_,i)=>/*#__PURE__*/_jsx(\"span\",{className:active===i?\"on\":\"\"},i))}),/*#__PURE__*/_jsxs(\"div\",{className:\"row\",style:{gap:6},children:[/*#__PURE__*/_jsx(\"button\",{className:\"icon\",\"aria-label\":\"Previous\",onClick:()=>go(-1),children:\"←\"}),/*#__PURE__*/_jsx(\"button\",{className:\"icon primary\",\"aria-label\":\"Next\",onClick:()=>go(1),children:\"→\"})]})]})]})]})]}),edit&&/*#__PURE__*/_jsxs(\"div\",{className:\"well panel stack\",style:{gap:12},children:[/*#__PURE__*/_jsx(\"p\",{className:\"muted\",children:\"Drag a pin or use its arrow keys. Copy these coordinates into the Positions property to save them.\"}),/*#__PURE__*/_jsx(\"textarea\",{\"aria-label\":\"Pin coordinates\",readOnly:true,rows:2,value:coords}),/*#__PURE__*/_jsxs(\"div\",{className:\"row\",children:[/*#__PURE__*/_jsx(\"button\",{className:\"primary\",onClick:()=>copy.copy(coords),children:copy.message||\"Copy positions\"}),/*#__PURE__*/_jsx(\"span\",{role:\"status\",className:\"sr\",children:copy.message})]})]})]})]});}const pinItem={title:str(\"Title\"),note:{...str(\"Note\"),displayTextArea:true},x:num(\"X\",50,2,98,\"%\"),y:num(\"Y\",50,2,98,\"%\")};const pinControls={image:img(\"Image\",\"Use an image with the same aspect ratio as your coordinates.\"),allowEdit:bool(\"Position editor\",false,\"Enable temporarily to drag pins. Copy positions; changes do not save to Framer automatically.\"),positions:{...str(\"Positions\",\"\",\"Optional JSON array [{x:22,y:25}]. Overrides coordinates without changing notes.\"),displayTextArea:true},showLens:bool(\"Detail lens\",true,\"Round magnified crop of the active pin.\"),lensZoom:num(\"Lens zoom\",4,2,8,\"\\xd7\")};const pinDefaults=[{title:\"Room to breathe\",note:\"The open space gives the composition a quiet rhythm.\",x:22,y:25},{title:\"A precise silhouette\",note:\"The clean line keeps the subject distinct from its surroundings.\",x:78,y:35},{title:\"Texture in the details\",note:\"Soft highlights connect the material with the natural light.\",x:63,y:76}];/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 980\n * @framerIntrinsicHeight 560\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function DecisionNotes(props){return /*#__PURE__*/_jsx(PinView,{...resolveDefaults(DecisionNotes.defaultProps,props),shop:false});}DecisionNotes.defaultProps={...defaults,title:\"Every detail has a reason.\",eyebrow:\"Field notes \\xb7 001\",image:defaultImages.fashion,imageAlt:\"Fashion editorial in a concrete courtyard\",pins:pinDefaults,positions:\"\",allowEdit:false,zoom:1.6,showLens:true,lensZoom:4};addPropertyControls(DecisionNotes,{title:str(\"Title\",DecisionNotes.defaultProps.title),eyebrow:str(\"Eyebrow\",DecisionNotes.defaultProps.eyebrow),imageAlt:str(\"Image alt\",DecisionNotes.defaultProps.imageAlt),pins:arr(\"Pins\",pinItem,pinDefaults,12),...pinControls,zoom:{...num(\"Guided zoom\",1.6,1,2.5,\"\\xd7\"),step:.1},...commonControls});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DecisionNotes\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"560\",\"framerDisableUnlink\":\"* @framerIntrinsicWidth 980\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DecisionNotes.map"],"mappings":"mRACA,SAAS,EAAgB,EAAK,EAAS,CAAC,GAAG,IAAW,IAAA,GAAU,OAAO,EAAK,GAAG,MAAM,QAAQ,CAAI,GAAG,MAAM,QAAQ,CAAQ,EAAE,OAAO,EAAS,KAAK,EAAM,IAAQ,EAAgB,EAAK,GAAO,CAAK,CAAC,EAAE,GAAG,GAAM,GAAU,OAAO,GAAO,UAAU,OAAO,GAAW,UAAU,CAAC,MAAM,QAAQ,CAAI,EAAE,CAAC,IAAM,EAAO,CAAC,GAAG,CAAQ,EAAE,IAAI,IAAM,KAAO,OAAO,KAAK,CAAI,EAAE,EAAO,GAAK,EAAgB,EAAK,GAAK,EAAS,EAAI,EAAE,OAAO,CAAO,CAAC,OAAO,CAAS,CAA+pB,SAAS,GAAY,CAAC,GAAK,CAAC,EAAE,GAAKA,EAAe,EAAK,EAAgN,OAA9M,MAAoB,CAAC,IAAM,EAAE,EAAO,WAAW,kCAAkC,EAAE,EAAI,EAAE,OAAO,EAAE,IAAM,MAAM,EAAI,EAAE,OAAO,EAAiC,OAA/B,EAAE,iBAAiB,SAAS,CAAC,MAAY,EAAE,oBAAoB,SAAS,CAAC,CAAE,EAAE,CAAC,CAAC,EAAS,CAAE,CAAC,SAAS,EAAI,CAAC,QAAM,MAAI,GAAG,QAAM,CAAC,GAAG,CAAC,IAAM,EAAI,EAAS,CAAK,EAAE,OAAO,EAAiB,EAAK,MAAM,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