{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/dT8bGbe9Qe060eRE81VD/Q6q49e6Z8Of1SzYQOpem/TmCJXvuvZ.js"],
  "sourcesContent": ["// Generated by Framer (629c622)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"182bzrq\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"12x5mtm\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"xk4sd\",mediaQuery:\"(max-width: 809px)\"}],customHTMLBodyEnd:'<!-- 1A \u25B8 empty wrappers (Framer frames/stacks are fine too) -->\\n<div id=\"blogFilters\"></div>      <!-- dropdowns appear here -->\\n<div id=\"blogList\"><!-- \u2190 your Collection List root gets this id --></div>\\n\\n<style>\\n/* basic dropdown styling \u2013 tweak in Framer or here */\\n.filter          { position:relative; }\\n.filter summary  { cursor:pointer; padding:0.5rem 1rem; border:1px solid #ccc; border-radius:6px; list-style:none; }\\n.filter[open] summary { border-radius:6px 6px 0 0; }\\n.dd-search       { width:100%; box-sizing:border-box; padding:0.4rem 0.6rem; margin:0.2rem 0; }\\n.dd-options      { max-height:200px; overflow:auto; padding:0.5rem 1rem; border:1px solid #ccc; border-top:none; border-radius:0 0 6px 6px; background:#fff; }\\n.dd-options label{ display:block; margin:0.2rem 0; }\\n</style>\\n\\n<script>\\ndocument.addEventListener(\"DOMContentLoaded\", () => {\\n  /* ---------- config & DOM refs ------------------------------ */\\n  const LIST_ID    = \"blogList\";     // id you give the Collection List layer\\n  const FILTER_DIV = \"blogFilters\";  // id of the empty wrapper for dropdowns\\n\\n  const listEl    = document.getElementById(LIST_ID);\\n  const filterBox = document.getElementById(FILTER_DIV);\\n\\n  /* ---------- internal state --------------------------------- */\\n  let   cards    = [];  // live NodeList of all blog items\\n  const selected = { vertical: new Set(), industry: new Set() };\\n\\n  /* ---------- build / rebuild dropdown UIs ------------------- */\\n  const rebuildFilters = () => {\\n    cards = [...listEl.querySelectorAll(\"[data-blog]\")];\\n\\n    const uniq = { vertical: new Set(), industry: new Set() };\\n    cards.forEach(card => {\\n      card.dataset.verticals?.split(\",\").forEach(v => uniq.vertical.add(v.trim()));\\n      card.dataset.industries?.split(\",\").forEach(i => uniq.industry.add(i.trim()));\\n    });\\n\\n    const wasChecked = (key, v) => selected[key].has(v);\\n\\n    const dropdown = (label, key, values) => `\\n      <details class=\"filter\" data-dd=\"${key}\">\\n        <summary>${label}</summary>\\n        <input type=\"search\" placeholder=\"Search\u2026\" class=\"dd-search\">\\n        <div class=\"dd-options\">\\n          ${[...values].sort().map(v => `\\n            <label>\\n              <input type=\"checkbox\" data-filter=\"${key}\" value=\"${v}\"\\n                     ${wasChecked(key, v) ? \"checked\" : \"\"}>\\n              ${v}\\n            </label>`).join(\"\")}\\n        </div>\\n      </details>`;\\n\\n    filterBox.innerHTML =\\n      dropdown(\"Web3 Verticals\", \"vertical\",  uniq.vertical) +\\n      dropdown(\"Industries\",     \"industry\", uniq.industry);\\n  };\\n\\n  /* ---------- show / hide posts based on selection ------------ */\\n  const refresh = () => {\\n    cards.forEach(card => {\\n      const vTags = card.dataset.verticals?.split(\",\").map(s=>s.trim()) || [];\\n      const iTags = card.dataset.industries?.split(\",\").map(s=>s.trim()) || [];\\n\\n      const vOK = selected.vertical.size === 0 ||\\n                  vTags.some(v => selected.vertical.has(v));     // OR logic\\n      const iOK = selected.industry.size === 0 ||\\n                  iTags.some(i => selected.industry.has(i));     // OR logic\\n\\n      card.style.display = vOK && iOK ? \"\" : \"none\";\\n    });\\n  };\\n\\n  /* ---------- events: check-boxes + search inputs ------------- */\\n  filterBox.addEventListener(\"change\", e => {\\n    const box = e.target;\\n    if (!box.matches(\\'input[data-filter]\\')) return;\\n\\n    const {filter} = box.dataset;   // vertical | industry\\n    const val      = box.value.trim();\\n    box.checked ? selected[filter].add(val)\\n                : selected[filter].delete(val);\\n    refresh();\\n  });\\n\\n  filterBox.addEventListener(\"input\", e => {\\n    if (!e.target.matches(\".dd-search\")) return;\\n    const term   = e.target.value.toLowerCase();\\n    const opts   = e.target.nextElementSibling.querySelectorAll(\"label\");\\n    opts.forEach(lab =>\\n      lab.style.display = lab.textContent.toLowerCase().includes(term) ? \"\" : \"none\");\\n  });\\n\\n  /* ---------- observe Framer \u201CLoad more\u201D injections ----------- */\\n  const observer = new MutationObserver(muts => {\\n    if (muts.some(m => [...m.addedNodes].some(n =>\\n          n.nodeType === 1 && n.matches?.(\"[data-blog]\")))) {\\n      rebuildFilters();\\n      refresh();\\n    }\\n  });\\n  observer.observe(listEl, { childList: true });\\n\\n  /* ---------- first pass -------------------------------------- */\\n  rebuildFilters();\\n  refresh();\\n});\\n</script>\\n',description:\"Explore real-world decentralized identity use cases, from stopping bots to RWA, and see how Humanity Protocol enables secure, private interactions.\",elements:{},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-EslIk\",title:\"Decentralized Identity Use Cases | Humanity Protocol\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "AACe,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,UAAU,WAAW,qBAAqB,EAAE,CAAC,KAAK,UAAU,WAAW,4CAA4C,EAAE,CAAC,KAAK,QAAQ,WAAW,oBAAoB,CAAC,EAAE,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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