{"version":3,"file":"SnowButton.Cbt0Bnvs.mjs","names":["React.useRef","p","_Fragment","__esmMin","de","l","p","c","init_jsx_runtime","init_npm_react_18_3_1","ce","init_framer_DKgW_P28","addPropertyControls","Link","ControlType","RenderTarget","onFrame","startDraw","init_SantaCore","goTo","S","beatOf","e","el","n","PANEL_BEAT","useSnow","a","host","cv","x","st","size","r","d","opts","rnd","kick","q","f","enter","leave","focus","down","move","ro","off","boost","E","dt","cx","cy","dx","dy","snowCapsule","p$1","cls","inner","FLAKE","Drift","style","capsuleVars","own","SnowButton","colours","props","onClick","SNOW_CSS","Capsule","FONT_TEXT","FONT_DISPLAY","SNOW","BTN","GOLD","snow","init_SnowButton","b","height"],"sources":["https:/framerusercontent.com/modules/i1M0xEuCyjQMD6w36xD2/UHgyFnEcRhrPfQNNnxix/SnowButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget,Link}from\"framer\";import{S,onFrame,goTo,startDraw}from\"https://framerusercontent.com/modules/VCTyU5Ub0L3pD177aip4/V6beSSKGNq61oAKTqpAz/SantaCore.js\";// The snow-globe button: a little glass capsule with its own snow (prototype: .snowbtn and class SnowBtn, word for word).\n// The snow is drawn in the page's one frame loop, and only while the button's stop is on screen (the nav's: always).\nexport const FONT_TEXT='\"Hanken Grotesk\", \"Helvetica Neue\", Arial, sans-serif';export const FONT_DISPLAY='\"Elsie Swash Caps\", \"Iowan Old Style\", Georgia, serif';export const SNOW=\"#F7F2E7\"// defaults; on the page every instance gets the colour styles (var(--token-…))\n;export const BTN=[\"#6B5CFF\",\"#3A2BC4\",\"#1D1677\",\"#120D52\"];export const GOLD=\"#F4C46A\";const rnd=(a,b)=>b===undefined?Math.random()*a:a+Math.random()*(b-a);export const SNOW_CSS=\".ssb{position:relative;display:inline-flex;align-items:center;justify-content:center;height:54px;padding:0 30px;border-radius:999px;text-decoration:none;cursor:pointer;\"+\"color:var(--ssb-text);background:radial-gradient(120% 160% at 50% -20%,var(--ssb-1) 0%,var(--ssb-2) 40%,var(--ssb-3) 80%,var(--ssb-4) 100%);\"+\"border:1px solid rgba(255,255,255,.38);overflow:hidden;isolation:isolate;transition:transform .5s cubic-bezier(.2,.8,.2,1);box-sizing:content-box;margin:0;font:inherit;-webkit-tap-highlight-color:transparent}\"+// the prototype's capsules are links (54 px inside the 1 px rim: 56 in all); its form buttons (\"Drop it in\") are 54 in all\n\".ssb[type=submit]{box-sizing:border-box}\"+\".ssb>span{position:relative;z-index:3;display:inline-flex;align-items:center;gap:10px;font-family:\"+FONT_TEXT+\";font-weight:500;font-size:17px;line-height:1.5;white-space:nowrap}\"+\".ssb>span svg{width:16px;height:16px;flex:none;transition:transform 1.1s cubic-bezier(.2,.8,.2,1)}\"+\".ssb:hover>span svg,.ssb:focus-visible>span svg{transform:rotate(180deg) scale(1.15)}\"+'.ssb::before{content:\"\";position:absolute;z-index:2;inset:0;border-radius:inherit;pointer-events:none;'+\"background:radial-gradient(70px 40px at var(--mx,30%) var(--my,10%),rgba(255,255,255,.3),transparent 70%),radial-gradient(60% 34% at 32% 14%,rgba(255,255,255,.34),transparent 72%)}\"+\".ssb canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}\"+// the drift spans the whole capsule, whatever its label (an <svg> keeps its own width, 15 px x 200:16 = 188 px, unless told:\n// Oleh, stage 9, \"Next: send the letters\" had bare glass on its right)\n\".ssb .drift{position:absolute;left:-2px;right:-2px;width:calc(100% + 4px);bottom:-1px;height:15px;z-index:2;transition:transform .9s cubic-bezier(.2,.8,.2,1)}\"+'.ssb::after{content:\"\";position:absolute;z-index:4;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.26),transparent);transform:skewX(-18deg);transition:left .9s cubic-bezier(.2,.8,.2,1);pointer-events:none}'+\".ssb:hover::after,.ssb:focus-visible::after{left:120%}\"+\".ssb:hover .drift,.ssb:focus-visible .drift{transform:translateY(12px)}\"+\".ssb.shaking{animation:ssb-shake .55s ease-in-out}\"+\"@keyframes ssb-shake{0%,100%{transform:rotate(0)}20%{transform:rotate(-3deg) translateX(-2px)}45%{transform:rotate(2.5deg) translateX(2px)}70%{transform:rotate(-1.5deg)}}\"+\".ssb:focus-visible{outline:2px solid var(--ssb-gold);outline-offset:4px}\"+\".ssb.big{height:62px;padding:0 38px}.ssb.big>span{font-size:18px}\"+// the way on: appears once the step is done (prototype .next)\n\".ssb.next{opacity:0;transform:translateY(8px);transition:opacity .6s,transform .6s cubic-bezier(.2,.8,.2,1),visibility 0s .6s;visibility:hidden}\"+\".ssb.next.on{opacity:1;transform:none;visibility:inherit;transition:opacity .6s,transform .6s cubic-bezier(.2,.8,.2,1)}\"+\"@media (max-width:809.98px){.ssb{height:50px;padding:0 24px}.ssb.big{height:56px;padding:0 30px}}\"+\"@media (prefers-reduced-motion:reduce){.ssb,.ssb *,.ssb::before,.ssb::after{animation:none!important;transition:none!important}}\";export const FLAKE=/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 16 16\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 1v14M1.9 4.5l12.2 7M1.9 11.5l12.2-7M8 1l-2 2M8 1l2 2M8 15l-2-2M8 15l2-2\"})});const Drift=({snow,className=\"drift\",height})=>/*#__PURE__*/_jsxs(\"svg\",{className:className,viewBox:\"0 0 200 16\",preserveAspectRatio:\"none\",\"aria-hidden\":\"true\",style:height?{height}:undefined,children:[/*#__PURE__*/_jsx(\"path\",{d:\"M0 9C14 5 26 8 38 6C52 3 64 7 78 6C94 4 108 8 122 6C138 4 152 7 166 5C180 3 192 6 200 7V16H0Z\",fill:snow}),/*#__PURE__*/_jsx(\"path\",{d:\"M0 12C30 10 60 13 100 11C140 9 170 12 200 11V16H0Z\",fill:\"#d9dcf5\"})]});// which stop a layer belongs to: its panel's name (the nav's buttons: -1, always on screen)\nconst PANEL_BEAT={\"Panel hero\":0,\"Panel names\":1,\"Panel shake\":2,\"Panel letters\":3,\"Panel window\":4,\"Panel your turn\":5};export function beatOf(el){for(let e=el;e;e=e.parentElement){const n=e.getAttribute&&e.getAttribute(\"data-framer-name\");if(n&&n in PANEL_BEAT)return PANEL_BEAT[n];}return-1;}/**\n * The snow inside a capsule (prototype class SnowBtn): particles that drift down, swirl when the pointer is on the\n * button (or while the hold button is held: boost), and are drawn only while the button's stop is on screen.\n */export function useSnow(host,cv,opts={}){React.useEffect(()=>{if(RenderTarget.current()===RenderTarget.canvas)return;const a=host.current,c=cv.current;if(!a||!c)return;const x=c.getContext(\"2d\");const st={w:0,h:0,d:1,p:[],e:0,te:0,beat:beatOf(a),cleared:true};const size=()=>{const r=a.getBoundingClientRect();const d=Math.min(2,devicePixelRatio||1);st.d=d;st.w=r.width;st.h=r.height;c.width=r.width*d;c.height=r.height*d;st.p=Array.from({length:Math.round(st.w/(opts.round?2.5:4))},()=>({x:rnd(st.w),y:rnd(st.h),vx:0,vy:rnd(6,16),s:rnd(.6,1.9)}));};const kick=f=>{for(const q of st.p){q.vy-=rnd(40,130)*f;q.vx+=rnd(-60,60)*f;}};const enter=()=>{st.te=1;kick(1);a.classList.remove(\"shaking\");void a.offsetWidth;a.classList.add(\"shaking\");};if(opts.kick)opts.kick.current=kick;const leave=()=>st.te=0;const focus=()=>{st.te=1;kick(1);};const down=()=>kick(2.2);const move=e=>{const r=a.getBoundingClientRect();a.style.setProperty(\"--mx\",e.clientX-r.left+\"px\");a.style.setProperty(\"--my\",e.clientY-r.top+\"px\");};a.addEventListener(\"pointerenter\",enter);a.addEventListener(\"pointerleave\",leave);a.addEventListener(\"focus\",focus);a.addEventListener(\"blur\",leave);a.addEventListener(\"pointerdown\",down);a.addEventListener(\"pointermove\",move);const ro=new ResizeObserver(()=>size());ro.observe(a);size();const tick=(now,dt)=>{if(st.beat>=0&&S.beatVis[st.beat]<=.01)return;// its stop is off screen: no drawing at all\nif(!st.w){size();if(!st.w)return;}const boost=opts.boost?opts.boost():0;const E=Math.max(st.e+=(st.te-st.e)*Math.min(1,dt*3),boost);x.setTransform(st.d,0,0,st.d,0,0);x.clearRect(0,0,st.w,st.h);x.globalAlpha=.85;x.fillStyle=\"#fff\";x.beginPath();for(const q of st.p){if(E>.05){const cx=st.w/2,cy=st.h/2,dx=q.x-cx,dy=q.y-cy,d=Math.hypot(dx,dy)+1;q.vx+=-dy/d*260*E*dt;q.vy+=dx/d*120*E*dt-20*E*dt;}q.vy+=30*dt;q.vx*=.97;q.vy*=.97;q.vy=Math.min(q.vy,28);q.x+=q.vx*dt;q.y+=q.vy*dt;if(q.x<0)q.x+=st.w;if(q.x>st.w)q.x-=st.w;if(q.y>st.h-6){if(E<.05){q.y=-4;q.x=rnd(st.w);q.vy=rnd(6,16);}else{q.y=st.h-6;q.vy*=-.5;}}if(q.y<-6)q.y=st.h-8;x.moveTo(q.x+q.s,q.y);x.arc(q.x,q.y,q.s,0,6.29);}x.fill();};const off=onFrame(tick,12);if(document.fonts)document.fonts.ready.then(size);return()=>{off();ro.disconnect();if(opts.kick)opts.kick.current=null;a.removeEventListener(\"pointerenter\",enter);a.removeEventListener(\"pointerleave\",leave);a.removeEventListener(\"focus\",focus);a.removeEventListener(\"blur\",leave);a.removeEventListener(\"pointerdown\",down);a.removeEventListener(\"pointermove\",move);};},[]);}export const DEFAULT_COLOURS={top:BTN[0],middle:BTN[1],deep:BTN[2],bottom:BTN[3],text:SNOW,accent:GOLD};export const capsuleVars=(c={})=>({\"--ssb-1\":c.top||BTN[0],\"--ssb-2\":c.middle||BTN[1],\"--ssb-3\":c.deep||BTN[2],\"--ssb-4\":c.bottom||BTN[3],\"--ssb-text\":c.text||SNOW,\"--ssb-gold\":c.accent||GOLD});/** One snow capsule, for use inside other components (Drop it in, Next, Start a draw). Lower-case so that Framer does not list it as a component of its own. */function snowCapsule(p){const host=React.useRef(null);const cv=React.useRef(null);useSnow(host,cv,{kick:p.kick});const cls=\"ssb\"+(p.big?\" big\":\"\")+(p.className?\" \"+p.className:\"\");const inner=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"canvas\",{ref:cv,\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsxs(\"span\",{children:[p.icon!==false?FLAKE:null,p.label]}),/*#__PURE__*/_jsx(Drift,{snow:p.colours&&p.colours.text||SNOW})]});const style={...capsuleVars(p.colours),...p.style};// a page of this site (/, /start-here) goes through Framer's Link, so it also works in the editor's Preview\nconst own=p.href!==undefined&&!p.newTab&&/^\\.?\\//.test(p.href);const a=p.href!==undefined?/*#__PURE__*/_jsx(\"a\",{ref:host,className:cls,href:own?undefined:p.href,target:p.newTab?\"_blank\":undefined,rel:p.newTab?\"noopener\":undefined,onClick:p.onClick,style:style,\"aria-label\":p.ariaLabel,tabIndex:p.tabIndex,children:inner}):null;return a?own?/*#__PURE__*/_jsx(Link,{href:p.href,children:a}):a:/*#__PURE__*/_jsx(\"button\",{ref:host,className:cls,type:p.type||\"button\",onClick:p.onClick,style:style,\"aria-label\":p.ariaLabel,tabIndex:p.tabIndex,children:inner});}const Capsule=snowCapsule;/** The capsule and the snow drift for the other components (an object, so that Framer does not list them as components). */export const snow={Capsule:snowCapsule,Drift};/**\n * Snow button: a glass capsule with snow inside. It can start a draw (the names stop, ready to type), go to a stop of\n * the story, or open a link.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function SnowButton(props){const colours={top:props.top,middle:props.middle,deep:props.deep,bottom:props.bottom,text:props.text,accent:props.accent};const onClick=e=>{if(props.action===\"link\")return;e.preventDefault();if(props.action===\"start\")startDraw();else goTo(props.stop);};return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,display:\"inline-flex\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:SNOW_CSS}}),/*#__PURE__*/_jsx(Capsule,{label:props.label,href:props.action===\"link\"?props.link||undefined:undefined,newTab:props.action===\"link\"&&props.newTab,onClick:onClick,big:props.size===\"big\",icon:props.icon,colours:colours})]});}addPropertyControls(SnowButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Start a draw\",description:\"The text on the button.\"},action:{type:ControlType.Enum,title:\"Action\",options:[\"start\",\"stop\",\"link\"],optionTitles:[\"Start a draw\",\"Go to stop\",\"Link\"],defaultValue:\"start\",description:\"Start a draw: the names stop, ready to type. Go to stop: glides there. Link: opens the address.\"},stop:{type:ControlType.Number,title:\"Stop\",min:0,max:5,step:1,defaultValue:1,displayStepper:true,hidden:p=>p.action!==\"stop\",description:\"Go to stop: 0 the top, 1 the names, 2 the shake, 3 the letters, 4 the window, 5 the end.\"},link:{type:ControlType.Link,title:\"Link\",hidden:p=>p.action!==\"link\",description:\"Link: the address it opens.\"},newTab:{type:ControlType.Boolean,title:\"New tab\",defaultValue:true,hidden:p=>p.action!==\"link\",description:\"Link: open it in a new tab.\"},size:{type:ControlType.Enum,title:\"Size\",options:[\"regular\",\"big\"],optionTitles:[\"Regular\",\"Big\"],defaultValue:\"regular\",displaySegmentedControl:true,description:\"Big is for the last stop.\"},icon:{type:ControlType.Boolean,title:\"Snowflake\",defaultValue:true,description:\"The snowflake before the text.\"},top:{type:ControlType.Color,title:\"Top\",defaultValue:BTN[0],description:\"Button top style.\"},middle:{type:ControlType.Color,title:\"Middle\",defaultValue:BTN[1],description:\"Button style.\"},deep:{type:ControlType.Color,title:\"Deep\",defaultValue:BTN[2],description:\"Button deep style.\"},bottom:{type:ControlType.Color,title:\"Bottom\",defaultValue:BTN[3],description:\"Button bottom style.\"},text:{type:ControlType.Color,title:\"Text\",defaultValue:SNOW,description:\"Snow style: the label and the snow drift.\"},accent:{type:ControlType.Color,title:\"Focus\",defaultValue:GOLD,description:\"Gold style: the keyboard focus ring.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"DEFAULT_COLOURS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Colours\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSnow\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"capsuleVars\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FONT_DISPLAY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FONT_TEXT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BTN\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SNOW\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"beatOf\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SNOW_CSS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"SnowButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"FLAKE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"snow\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GOLD\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,wRAQyH,SAAgBqB,EAAO,EAAG,CAAC,IAAI,IAAIC,EAAEC,EAAGD,EAAE,EAAEA,EAAE,cAAc,CAAC,IAAME,EAAEF,EAAE,cAAcA,EAAE,aAAa,kBAAkB,EAAE,GAAGE,GAAGA,KAAKC,EAAW,OAAOA,EAAWD,EAAG,CAAC,MAAM,EAAG,CAGnS,SAAgBE,EAAQ,EAAK,EAAG,EAAK,CAAC,EAAE,CAAChB,MAAoB,CAAC,GAAGK,EAAa,QAAQ,IAAIA,EAAa,OAAO,OAAO,IAAMY,EAAEC,EAAK,QAAQrB,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