{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/Utilities-LgUQ.js@YgTH7d8XoflBisXAiR7m", "ssg:https://framerusercontent.com/modules/rhBxrr6nJX8BSbqAQKfM/PC0iDgL2aBKULLjl1ilL/Function.js", "ssg:https://framerusercontent.com/modules/59LlAE9KoOqgvYnzE0Ed/HgjTdnSRCYlGLWxRjIuK/YAP816Y5n.js", "ssg:https://framerusercontent.com/modules/9Z1OhhiO9NgYrgel3qDc/9GgcVyad5DPORMXXA0I0/Weuk36qOm.js"],
  "sourcesContent": ["/**\n * Reusable framer utilities\n * @description This file contains utility functions which can be used in any code-overides or\n * code-components in framer.\n * @author Manjunath\n * @see {@link https://manjumjn.com/}\n *//**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx}from\"react/jsx-runtime\";export default function Utilities(props){return /*#__PURE__*/_jsx(\"div\",{});}/**\n * Get element props by tag inside the component\n * @param {Object} elementProps Component props\n * @param {String} elementTag Tag of props to be returned. Eg: a, div, p\n * @returns {Object} props of the `elementTag`\n */export const getPropertiesByTag=(elemProps,elementTag)=>{// Check if the current object is of the target type\nif(elemProps.type===elementTag){return elemProps;}// Iterate through object properties that can hold nested objects (children and props)\nfor(const key of[\"children\",\"props\"]){if(elemProps[key]&&typeof elemProps[key]===\"object\"){// Check if props has more children, if so get first one\nconst childrenProps=Array.isArray(elemProps[key])?elemProps[key][0]:elemProps[key];// Recursively search for the target type within the nested object\nconst result=getPropertiesByTag(childrenProps,elementTag);if(result){return result;}}}// Not found in current object or its children/props\nreturn null;};\nexport const __FramerMetadata__ = {\"exports\":{\"getPropertiesByTag\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Utilities\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utilities.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{getPropertiesByTag}from\"https://framer.com/m/Utilities-LgUQ.js@YgTH7d8XoflBisXAiR7m\";const useStore=createStore({titles:[],chagedLink:false,className:\"\",pTagStyle:{},pTagClass:\"\",aTagClass:\"\"});function getSecondPart(str){return str.split(\"/\")[1];}export function getLinks(Component){return props=>{const[boolean,setBoolean]=useState(false);const[store,setStore]=useStore();const Link=useRef(null);useEffect(()=>{setBoolean(window.location.href.includes(props.link));setStore({chagedLink:true});},[]);props.className+=\" sidebar-link\";return /*#__PURE__*/_jsx(Component,{...props,variant:boolean?\"Select\":\"Default\",ref:Link});};}export function getTitles(Component){return props=>{const[store,setStore]=useStore();useEffect(()=>{var _ptagProps_props,_ptagProps_props1,_atagProps_props;var html=document.querySelector(\"html\");html.style.scrollBehavior=\"smooth\";var content=document.getElementById(\"content-data\");if(!content){return;}const ptagProps=getPropertiesByTag(props,\"p\");const atagProps=getPropertiesByTag(ptagProps||{},\"a\");var headings=content.querySelectorAll(\"h2\");var headingsArray=[];for(let i=0;i<headings.length;i++){const element=headings[i];element.style.position=\"relative\";element.insertAdjacentHTML(\"beforeend\",`<span id=\"title-${i}\" style=\"position: absolute; top:-144px;\"></span>`);headingsArray.push(element.innerText.replace(/(\\r\\n|\\n|\\r)/gm,\"\"));}setStore({titles:headingsArray,pTagStyle:(ptagProps===null||ptagProps===void 0?void 0:(_ptagProps_props=ptagProps.props)===null||_ptagProps_props===void 0?void 0:_ptagProps_props.style)||{},pTagClass:(ptagProps===null||ptagProps===void 0?void 0:(_ptagProps_props1=ptagProps.props)===null||_ptagProps_props1===void 0?void 0:_ptagProps_props1.className)||\"\",aTagClass:(atagProps===null||atagProps===void 0?void 0:(_atagProps_props=atagProps.props)===null||_atagProps_props===void 0?void 0:_atagProps_props.className)||\"\"});},[]);const divStyles={display:\"flex\",flexDirection:\"column\",gap:\"12px\"};return /*#__PURE__*/_jsx(\"div\",{style:divStyles,children:Array.isArray(store.titles)?store.titles.map((element,i)=>{return element&&/*#__PURE__*/_jsx(\"p\",{className:`framer-text ${store.pTagClass}`,style:store.pTagStyle,children:/*#__PURE__*/_jsx(\"a\",{href:\"#title-\"+i,className:`framer-text ${store.aTagClass}`,children:element},i)});}):null});};}export function setActiveStateFromLink(Component){return props=>{const card=useRef(null);const[boolean,setBoolean]=useState(false);useEffect(()=>{var _card_current;var cardHref=(_card_current=card.current)===null||_card_current===void 0?void 0:_card_current.getAttribute(\"href\");if(!cardHref)return;setBoolean(String(window.location.href).includes(getSecondPart(String(cardHref))));},[]);props.className+=\" collection-card\";return /*#__PURE__*/_jsx(Component,{...props,ref:card,variant:boolean?\"Select\":\"Default\"});};}export function SearchShortcutKey(Component){function handleKeyDown(event){var e=event;console.log(e);console.log(e.keyCode);console.log(e.metaKey);console.log(e.key);if(e.keyCode===75&&e.altKey||// (e.keyCode === 75 && e.ctrlKey) ||\ne.keyCode===75&&e.metaKey){console.log(\"search\");var input=document.querySelector(\".search-input button\");console.log(input);input.click();}}return props=>{useEffect(()=>{document.addEventListener(\"keydown\",handleKeyDown);var input=document.querySelector(\".search-input\");console.log(input);console.log(\"useeffect\");},[]);props.className+=\" search-input\";return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"SearchShortcutKey\":{\"type\":\"reactHoc\",\"name\":\"SearchShortcutKey\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getTitles\":{\"type\":\"reactHoc\",\"name\":\"getTitles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getLinks\":{\"type\":\"reactHoc\",\"name\":\"getLinks\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setActiveStateFromLink\":{\"type\":\"reactHoc\",\"name\":\"setActiveStateFromLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Function.map", "// Generated by Framer (6aa4fc0)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Inter-700\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Inter\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZ1rib2Bg-4.woff2\",weight:\"700\"}]}];export const css=['.framer-qbnRL .framer-styles-preset-3nqyhf:not(.rich-text-wrapper), .framer-qbnRL .framer-styles-preset-3nqyhf.rich-text-wrapper h1 { --framer-font-family: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 56px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -1.2px; --framer-line-height: 1.2em; --framer-paragraph-spacing: 0px; --framer-text-alignment: left; --framer-text-color: var(--token-492246bc-541d-4174-a090-7ec4ac97510b, #030303); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 2559px) and (min-width: 1440px) { .framer-qbnRL .framer-styles-preset-3nqyhf:not(.rich-text-wrapper), .framer-qbnRL .framer-styles-preset-3nqyhf.rich-text-wrapper h1 { --framer-font-family: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 56px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -1.2px; --framer-line-height: 1.2em; --framer-paragraph-spacing: 0px; --framer-text-alignment: left; --framer-text-color: var(--token-492246bc-541d-4174-a090-7ec4ac97510b, #030303); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 1439px) and (min-width: 1200px) { .framer-qbnRL .framer-styles-preset-3nqyhf:not(.rich-text-wrapper), .framer-qbnRL .framer-styles-preset-3nqyhf.rich-text-wrapper h1 { --framer-font-family: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 56px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -1.2px; --framer-line-height: 1.4em; --framer-paragraph-spacing: 0px; --framer-text-alignment: left; --framer-text-color: var(--token-492246bc-541d-4174-a090-7ec4ac97510b, #030303); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 1199px) and (min-width: 992px) { .framer-qbnRL .framer-styles-preset-3nqyhf:not(.rich-text-wrapper), .framer-qbnRL .framer-styles-preset-3nqyhf.rich-text-wrapper h1 { --framer-font-family: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 42px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -1.2px; --framer-line-height: 1.2em; --framer-paragraph-spacing: 0px; --framer-text-alignment: left; --framer-text-color: var(--token-492246bc-541d-4174-a090-7ec4ac97510b, #030303); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 991px) and (min-width: 0px) { .framer-qbnRL .framer-styles-preset-3nqyhf:not(.rich-text-wrapper), .framer-qbnRL .framer-styles-preset-3nqyhf.rich-text-wrapper h1 { --framer-font-family: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 42px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -1.2px; --framer-line-height: 1.2em; --framer-paragraph-spacing: 0px; --framer-text-alignment: left; --framer-text-color: var(--token-492246bc-541d-4174-a090-7ec4ac97510b, #030303); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-qbnRL\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "import{fontStore}from\"framer\";fontStore.loadWebFontsFromSelectors([\"GF;Inter-600\"]);export const fonts=[{family:\"Inter\",moduleAsset:{localModuleIdentifier:\"local-module:css/Weuk36qOm:default\",url:\"https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYMZhrib2Bg-4.ttf\"},style:\"normal\",url:\"https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYMZhrib2Bg-4.ttf\",weight:\"600\"}];export const css=['.framer-EdFhp .framer-styles-preset-a1tvg5:not(.rich-text-wrapper), .framer-EdFhp .framer-styles-preset-a1tvg5.rich-text-wrapper p, .framer-EdFhp .framer-styles-preset-a1tvg5.rich-text-wrapper [data-preset-tag=\"p\"] { --framer-font-family: \"Inter\", sans-serif; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-weight: 600; --framer-letter-spacing: -0.1px; --framer-line-height: 1.4em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-d21ac01e-dce3-4822-b3f1-b0798f091443, #444444); --framer-text-decoration: none; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-EdFhp .framer-styles-preset-a1tvg5:not(.rich-text-wrapper), .framer-EdFhp .framer-styles-preset-a1tvg5.rich-text-wrapper p, .framer-EdFhp .framer-styles-preset-a1tvg5.rich-text-wrapper [data-preset-tag=\"p\"] { --framer-font-family: \"Inter\", sans-serif; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-weight: 600; --framer-letter-spacing: -0.1px; --framer-line-height: 1.4em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-d21ac01e-dce3-4822-b3f1-b0798f091443, #444444); --framer-text-decoration: none; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-EdFhp .framer-styles-preset-a1tvg5:not(.rich-text-wrapper), .framer-EdFhp .framer-styles-preset-a1tvg5.rich-text-wrapper p, .framer-EdFhp .framer-styles-preset-a1tvg5.rich-text-wrapper [data-preset-tag=\"p\"] { --framer-font-family: \"Inter\", sans-serif; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-weight: 600; --framer-letter-spacing: -0.1px; --framer-line-height: 1.4em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-d21ac01e-dce3-4822-b3f1-b0798f091443, #444444); --framer-text-decoration: none; --framer-text-transform: none; } }'];export const className=\"framer-EdFhp\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "mIAiBU,IAAMA,EAAmB,CAACC,EAAUC,IAAa,CAC3D,GAAGD,EAAU,OAAOC,EAAY,OAAOD,EACvC,QAAUE,IAAM,CAAC,WAAW,OAAO,EAAG,GAAGF,EAAUE,CAAG,GAAG,OAAOF,EAAUE,CAAG,GAAI,SAAS,CAC1F,IAAMC,EAAc,MAAM,QAAQH,EAAUE,CAAG,CAAC,EAAEF,EAAUE,CAAG,EAAE,CAAC,EAAEF,EAAUE,CAAG,EAC3EE,EAAOL,EAAmBI,EAAcF,CAAU,EAAE,GAAGG,EAAQ,OAAOA,CAAQ,CACpF,OAAO,IAAK,ECtB6O,IAAMC,EAASC,EAAY,CAAC,OAAO,CAAC,EAAE,WAAW,GA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AAsB,qCAAqC,IAAI,uGAAuG,EAAE,MAAM,SAAS,IAAI,wGAAwG,OAAO,KAAK,CAAC,EAAeC,EAAI,CAAC,ymBAAymB,+pBAA+pB,2pBAA2pB,EAAeC,EAAU",
  "names": ["getPropertiesByTag", "elemProps", "elementTag", "key", "childrenProps", "result", "useStore", "createStore", "getTitles", "Component", "props", "store", "setStore", "useStore", "ue", "_ptagProps_props", "_ptagProps_props1", "_atagProps_props", "html", "content", "ptagProps", "getPropertiesByTag", "atagProps", "headings", "headingsArray", "i", "element", "p", "SearchShortcutKey", "Component", "handleKeyDown", "event", "e", "input", "props", "ue", "p", "fontStore", "fonts", "css", "className", "fontStore", "fonts", "css", "className"]
}
