{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/jRaNAvWVdxuyk8mZL2mH/lgC6pnd97ElMupS6yClU/DocSearch.js"],
  "sourcesContent": ["// this componet has some extra logic with saving/restoring\n// scroll position of parent\nimport{jsx as _jsx}from\"react/jsx-runtime\";import React from\"react\";const loadDocSearch=callback=>{// Create a <link> element for the CSS\nvar link=document.createElement(\"link\");link.rel=\"stylesheet\";link.href=\"https://cdn.jsdelivr.net/npm/@docsearch/css@3\";document.head.appendChild(link);// Create a <script> element for the JS\nvar script=document.createElement(\"script\");script.src=\"https://cdn.jsdelivr.net/npm/@docsearch/js@3\";script.onload=function(){callback();// Code to execute after the script is loaded\nconsole.log(\"@docsearch/js loaded successfully\");// Initialize DocSearch here if necessary\n};document.body.appendChild(script);};const setupDocSearch=()=>{docsearch({container:\"#docsearch-container\",appId:\"TB0G132RK2\",indexName:\"polotno\",apiKey:\"181b9799f5fd62aa2e2ea1aae75de020\",// Optional: see doc section bellow\ncontextualSearch:false});};export default function DocSearch(props){React.useEffect(()=>{if(window.docsearch){setupDocSearch();}else{// for unknow reasons sometimes docsearch is not loading!\nloadDocSearch(()=>{setupDocSearch();});}},[]);return /*#__PURE__*/_jsx(\"div\",{id:\"docsearch-container\",style:{width:\"100%\",height:\"100%\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DocSearch\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DocSearch.map"],
  "mappings": "yFAEoE,IAAMA,EAAcC,GAAU,CAClG,IAAIC,EAAK,SAAS,cAAc,MAAM,EAAEA,EAAK,IAAI,aAAaA,EAAK,KAAK,gDAAgD,SAAS,KAAK,YAAYA,CAAI,EACtJ,IAAIC,EAAO,SAAS,cAAc,QAAQ,EAAEA,EAAO,IAAI,+CAA+CA,EAAO,OAAO,UAAU,CAACF,EAAS,EACxI,QAAQ,IAAI,mCAAmC,CAC/C,EAAE,SAAS,KAAK,YAAYE,CAAM,CAAE,EAAQC,EAAe,IAAI,CAAC,UAAU,CAAC,UAAU,uBAAuB,MAAM,aAAa,UAAU,UAAU,OAAO,mCAC1J,iBAAiB,EAAK,CAAC,CAAE,EAAiB,SAARC,EAA2BC,EAAM,CAAC,OAAAC,EAAM,UAAU,IAAI,CAAIC,EAAO,UAAWJ,EAAe,EAC7HJ,EAAc,IAAI,CAACI,EAAe,CAAE,CAAC,CAAG,EAAE,CAAC,CAAC,EAAsBK,EAAK,MAAM,CAAC,GAAG,sBAAsB,MAAM,CAAC,MAAM,OAAO,OAAO,MAAM,CAAC,CAAC,CAAE",
  "names": ["loadDocSearch", "callback", "link", "script", "setupDocSearch", "DocSearch", "props", "e", "window", "p"]
}
