PageSourceSearch

https://refold.la/_next/static/chunks/34155.209586ccb669dbdd.js

js refold.la collected 2026-09-25 18:56:19 UTC 10,828 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d033c2a3-baee-4989-b807-eacf6b4121d3",e._sentryDebugIdIdentifier="sentry-dbid-d033c2a3-baee-4989-b807-eacf6b4121d3")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34155],{13145:(e,t,r)=>{r.d(t,{DeckDemoCards:()=>c});var a=r(54568),n=r(7620),l=r(89803),i=r(41692),d=r(50863),o=r(45234);function s(e){let{card:t}=e,[r,s]=(0,n.useState)(!1),[c,u]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=window.matchMedia("(prefers-color-scheme: dark)");u(e.matches);let t=e=>u(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let m=(0,n.useRef)(new Set),f=(0,n.useRef)([]),b=(0,n.useRef)(!1),g=(0,n.useCallback)(e=>{if(f.current=e,0!==e.length)if(r){let t=e.filter(e=>!m.current.has(e));b.current&&t.length>0&&(0,l.UM)(t)}else m.current=new Set(e),b.current&&(0,l.UM)(e)},[r]),p=(0,n.useCallback)(()=>{b.current=!0;let e=f.current;if(0!==e.length)if(r){let t=e.filter(e=>!m.current.has(e));(0,l.UM)(t.length>0?t:e)}else(0,l.UM)(e)},[r]),h=(0,n.useCallback)(()=>{b.current=!0,s(e=>!e)},[]);return(0,a.jsxs)("div",{className:"mx-auto flex w-full max-w-[400px] flex-col items-center gap-4",children:[(0,a.jsx)(l.zM,{frontHtml:t.frontHtml,backHtml:t.backHtml,css:"\n          ".concat(t.css,"\n").concat(".reportIconContainer{display:none !important;}","\n        "),deckSlug:t.deckSlug,mediaPrefix:t.mediaPrefix,isFlipped:r,isDarkMode:c,onAudioUrls:g,onClick:h}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)(i.$,{variant:"secondary",size:"md",onClick:p,"aria-label":"Play audio",className:"min-h-[44px]",children:[(0,a.jsx)(d.A,{"aria-hidden":"true"}),(0,a.jsx)("span",{children:"Play audio"})]}),(0,a.jsxs)(i.$,{variant:"primary",size:"md",onClick:h,"aria-pressed":r,className:"min-h-[44px]",children:[(0,a.jsx)(o.A,{"aria-hidden":"true"}),(0,a.jsx)("span",{children:r?"Flip to front":"Flip to back"})]})]})]})}function c(e){let{cards:t}=e;return(0,a.jsx)("div",{className:"grid grid-cols-1 items-start gap-8 md:grid-cols-2",children:t.map((e,t)=>(0,a.jsx)(s,{card:e},t))})}},34155:(e,t,r)=>{r.r(t),r.d(t,{DeckDemoCardsSection:()=>l});var a=r(54568),n=r(13145);function l(e){let{cards:t,heading:r="Try real cards from the deck"}=e;return 0===t.length?null:(0,a.jsx)("section",{"aria-labelledby":"deck-demo-cards-heading",className:"w-full bg-muted/30 px-6 py-10 lg:px-12",children:(0,a.jsxs)("div",{className:"mx-auto max-w-[1050px]",children:[(0,a.jsx)("h2",{id:"deck-demo-cards-heading",className:"mb-8 w-full text-center text-[2rem] font-bold leading-[1.3] tracking-tight text-foreground",children:r}),(0,a.jsx)(n.DeckDemoCards,{cards:t})]})})}},41692:(e,t,r)=>{r.d(t,{$:()=>a.$,r:()=>a.r});var a=r(74614)},45234:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(92068).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},46118:(e,t,r)=>{r.d(t,{DX:()=>d,Dc:()=>s,TL:()=>i});var a=r(7620),n=r(61715),l=r(54568);function i(e){let t=function(e){let t=a.forwardRef((e,t)=>{let{children:r,...l}=e;if(a.isValidElement(r)){var i;let e,d,o=(i=r,(d=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(d=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let a in t){let n=e[a],l=t[a];/^on[A-Z]/.test(a)?n&&l?r[a]=(...e)=>{let t=l(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...l}:"className"===a&&(r[a]=[n,l].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props);return r.type!==a.Fragment&&(s.ref=t?(0,n.t)(t,o):o),a.cloneElement(r,s)}return a.Children.count(r)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=a.forwardRef((e,r)=>{let{children:n,...i}=e,d=a.Children.toArray(n),o=d.find(c);if(o){let e=o.props.children,n=d.map(t=>t!==o?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...i,ref:r,children:a.isValidElement(e)?a.cloneElement(e,void 0,n):null})}return(0,l.jsx)(t,{...i,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var d=i("Slot"),o=Symbol("radix.slottable");function s(e){let t=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=o,t}function c(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}},50863:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(92068).A)("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]])},54616:(e,t,r)=>{r.d(t,{F:()=>i});var a=r(72902);let n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=a.$,i=(e,t)=>r=>{var a;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:d}=t,o=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],a=null==d?void 0:d[e];if(null===t)return null;let l=n(t)||n(a);return i[e][l]}),s=r&&Object.entries(r).reduce((e,t)=>
1{let[r,a]=t;return void 0===a||(e[r]=a),e},{});return l(e,o,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:r,className:a,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...d,...s}[t]):({...d,...s})[t]===r})?[...e,r,a]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},61715:(e,t,r)=>{r.d(t,{s:()=>i,t:()=>l});var a=r(7620);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,a=e.map(e=>{let a=n(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():n(e[t],null)}}}}function i(...e){return a.useCallback(l(...e),e)}},62638:(e,t,r)=>{r.d(t,{KY:()=>o,YB:()=>d,o5:()=>c});var a=r(54568),n=r(7620),l=r(54616),i=r(85755);let d={small:"font-buttonSmall",medium:"font-buttonMedium",large:"font-buttonLarge",xl:"font-headlineLarge"},o={small:"font-bodySmall",medium:"font-bodyMedium",large:"font-bodyLarge"},s=(0,l.F)("text-foreground",{variants:{variant:{h1:"font-displayLarge",h2:"font-displayMedium",h3:"font-displaySmall",h4:"font-headlineLarge",h5:"font-headlineMedium",h6:"font-headlineSmall",titleLarge:"font-titleLarge",titleMedium:"font-titleMedium",titleSmall:"font-titleSmall",labelLarge:"font-labelLarge",labelMedium:"font-labelMedium",labelSmall:"font-labelSmall",bodyLarge:o.large,bodyMedium:o.medium,bodySmall:o.small,buttonLarge:d.large,buttonMedium:d.medium,buttonSmall:d.small,p:"font-bodyLarge [&:not(:first-child)]:mt-6",lead:"font-bodyLarge text-muted-foreground",large:"font-headlineLarge",small:"font-bodySmall leading-none",muted:"font-bodySmall text-muted-foreground",code:"relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono font-semibold",blockquote:"mt-6 border-l-2 pl-6 italic font-bodyLarge"},textColor:{default:"text-foreground",muted:"text-muted-foreground",primary:"text-primary",secondary:"text-secondary-foreground",destructive:"text-destructive",success:"text-green-600",warning:"text-yellow-600",inherit:"text-inherit"},size:{xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl"},weight:{light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font font-semibold",bold:"font-bold",extrabold:"font-extrabold"}}}),c=n.forwardRef((e,t)=>{let{className:r,variant:l,textColor:d,size:o,weight:c,isLink:u,as:m,rightComponent:f,leftComponent:b,...g}=e,p=(()=>{if(m)return m;switch(l){case"h1":return"h1";case"h2":return"h2";case"h3":case"titleLarge":case"titleMedium":case"titleSmall":return"h3";case"h4":return"h4";case"h5":return"h5";case"h6":return"h6";case"labelLarge":case"labelMedium":case"labelSmall":case"buttonLarge":case"buttonMedium":case"buttonSmall":return"span";case"bodyLarge":case"bodyMedium":case"bodySmall":case"p":case"lead":case"muted":default:return"p";case"large":return"div";case"small":return"small";case"code":return"code";case"blockquote":return"blockquote"}})(),h=n.createElement(p,{className:(0,i.cn)(s({variant:l,textColor:d,size:o,weight:c,className:r}),u&&"text-primary underline"),ref:t,...g},g.children);return b||f?(0,a.jsxs)("div",{className:"flex items-center w-full",children:[b&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[b,h]}),!b&&h,f&&(0,a.jsx)("div",{className:"ml-auto",children:f})]}):h});c.displayName="Typography"},74614:(e,t,r)=>{r.d(t,{$:()=>c,r:()=>s});var a=r(54568),n=r(7620),l=r(46118),i=r(54616),d=r(85755),o=r(62638);let s=(0,i.F)((0,d.cn)("inline-flex items-center justify-center","gap-2","rounded-md","whitespace-nowrap","cursor-pointer disabled:pointer-events-none disabled:opacity-50","[&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0","outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","transition-all"),{variants:{variant:{primary:"bg-rf-dynamic-primary text-rf-dynamic-onPrimary dark:text-white shadow-sm hover:bg-rf-dynamic-primaryDark active:bg-rf-dynamic-primaryDark",secondary:(0,d.cn)("bg-rf-dynamic-surface text-rf-dynamic-onSurfaceVariant","border border-rf-dynamic-outline dark:border-gray-600","hover:bg-rf-dynamic-tertiary200 active:bg-rf-dynamic-tertiary200"),danger:"bg-destructive text-rf-dynamic-onPrimary shadow-sm hover:bg-destructive-dark active:bg-destructive-dark","destructive-text":(0,d.cn)("bg-transparent text-destructive","border border-border","hover:bg-destructive/10 active:bg-destructive/20"),ghost:"bg-transparent text-foreground hover:bg-muted/50 active:bg-rf-dynamic-primary200",text:"bg-transparent text-primary hover:bg-primary/10 active:bg-primary/20"},size:{sm:"h-[34px] rounded-md gap-1.5 px-3 ".concat(o.YB.small),md:"h-[38px] rounded-md px-4 py-2 ".concat(o.YB.medium),lg:"h-[42px] rounded-md px-6 ".concat(o.YB.large),xl:"h-[50px] rounded-md px-8 ".concat(o.YB.xl)}},defaultVariants:{variant:"primary",size:"md"}}),c=n.forwardRef((e,t)=>
1{let{className:r,variant:n,size:i,asChild:o=!1,type:c="button",...u}=e,m=o?l.DX:"button";return(0,a.jsx)(m,{className:(0,d.cn)(s({variant:n,size:i,className:r})),ref:t,type:c,...u})});c.displayName="Button"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.