PageSourceSearch

https://storyblok-assets-ng.mindvalley.com/_nuxt/DSqrqKx1.js

js mindvalley.com collected 2026-09-24 08:24:19 UTC 1,474 bytes, 1 lines download raw bytes

1import{a5 as f}from"#entry";const i=f.colors;function h(a){const e=i[a];if(!e)return null;if(a==="white")return{name:"White",key:"white",value:e,family:"neutral"};if(a==="black")return{name:"Black",key:"black",value:e,family:"neutral"};if(a==="purple-tint")return{name:"Purple Tint",key:"purple-tint",value:e,family:"purple",variant:"tint"};let t=a.match(/^([a-z-]+)-(\d+)-(\d+)a$/);if(t){const[,r,s,m]=t;return!r||!s?null:{name:`${r.split("-").map(c=>c.charAt(0).toUpperCase()+c.slice(1)).join(" ")} ${s} ${m}a`,key:a,value:e,family:r,shade:s,variant:"alpha"}}if(t=a.match(/^([a-z-]+)-(\d+)(a)?$/),!t)return null;const[,n,l,o]=t;if(!n||!l)return null;const u=n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" ");return{name:o?`${u} ${l}a`:`${u} ${l}`,key:a,value:e,family:n,shade:l,variant:o?"alpha":void 0}}function p(a=!0){const e=Object.keys(i),t=[];return e.forEach(n=>{if(!a&&n.endsWith("a"))return;const l=h(n);l&&t.push(l)}),t}function $(a,e,t=!1){let n=p(t);return e&&e.length>0&&(n=n.filter(l=>l.family&&e.includes(l.family))),n.map(l=>({name:l.name,value:`${a}-${l.key}`}))}function v(a){return i[a]}function y(a){const e=a.match(/^(bg|text|border|fill|stroke)-(.+)$/);if(!e)return!1;const t=e[2];return t?t in i:!1}function b(a,e="bg-white"){return a&&y(a)?a:e}const O={all:["purple","yellow","orange","teal","aqua","blue","pink","green","red","cool-grey","neutral"]};p(!0).map(a=>({name:a.name,value:a.key}));export{O as C,b as a,$ as b,v as g};

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.