{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/wxpUB2IVAEAnZCr9cE26/lTavETuetqgh3TNVTgYd/siteMetadata.js"],
  "sourcesContent": ["// Generated by Framer (1b27997)\nexport default function metadata(params,activeLocale){return{customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-MPWDPWPL\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadEnd:'<script>\\n    !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(\".\");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement(\"script\")).type=\"text/javascript\",p.async=!0,p.src=s.api_host+\"/static/array.js\",(r=t.getElementsByTagName(\"script\")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a=\"posthog\",u.people=u.people||[],u.toString=function(t){var e=\"posthog\";return\"posthog\"!==a&&(e+=\".\"+a),t||(e+=\" (stub)\"),e},u.people.toString=function(){return u.toString(1)+\".people (stub)\"},o=\"capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys onSessionId\".split(\" \"),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);\\n    posthog.init(\\'phc_kC80MWecgrgVgTinAZOHKWDVeIvYf8OtwNZ6gBTS4y0\\',{api_host:\\'https://app.posthog.com\\'})\\n</script>',customHTMLHeadStart:\"<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,'script','dataLayer','GTM-MPWDPWPL');</script>\\n<!-- End Google Tag Manager -->\\n<meta name=\\\"google-site-verification\\\" content=\\\"6XVo4Mseofi78Qq8zwRgTawlI2_VA1S_jesOnbVMLIQ\\\">\\n<!-- Universal Attribution Tracker \u0434\u043B\u044F nFactorial v2.0 -->\\n<script>\\n(function() {\\n  // ============ \u041D\u0410\u0421\u0422\u0420\u041E\u0419\u041A\u0418 ============\\n  const CONFIG = {\\n    click_attribution_days: 7,     // \u041A\u0430\u043A \u0443 Facebook - 7 \u0434\u043D\u0435\u0439 \u0434\u043B\u044F \u043A\u043B\u0438\u043A\u0430\\n    view_attribution_days: 1,      // 1 \u0434\u0435\u043D\u044C \u0434\u043B\u044F view \u0430\u0442\u0440\u0438\u0431\u0443\u0446\u0438\u0438\\n    browser_id_days: 90,          // Browser ID \u0445\u0440\u0430\u043D\u0438\u0442\u0441\u044F 90 \u0434\u043D\u0435\u0439\\n    debug_mode: true,\\n    storage_key: 'nf_attribution'\\n  };\\n  \\n  // ============ \u041E\u0421\u041D\u041E\u0412\u041D\u041E\u0419 \u0422\u0420\u0415\u041A\u0415\u0420 ============\\n  window.AttributionTracker = {\\n    init: function() {\\n      console.log('\uD83D\uDE80 nFactorial Attribution Tracker v2.0 starting...');\\n      \\n      // \u0418\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0435\u043C \u0432\u0441\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B\\n      this.initBrowserId();\\n      this.initSessionId();\\n      this.trackPageView();\\n      this.captureAndSaveUTM();\\n      \\n      // \u0414\u0435\u043B\u0430\u0435\u043C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\\n      window.getStoredAttribution = this.getAttribution.bind(this);\\n      \\n      // \u041E\u0442\u043B\u0430\u0434\u043A\u0430\\n      if (CONFIG.debug_mode) {\\n        console.log('\u2705 Attribution Tracker ready');\\n        console.log('\uD83D\uDCCA Full attribution data:', this.getAttribution());\\n      }\\n    },\\n    \\n    // \u0413\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C Browser ID (\u043A\u0430\u043A _fbp \u0443 Facebook)\\n    initBrowserId: function() {\\n      let browserId = this.getCookie('nf_browser_id');\\n      if (!browserId) {\\n        browserId = `nf.1.${Date.now()}.${Math.random().toString(36).substring(2, 15)}`;\\n        this.setCookie('nf_browser_id', browserId, CONFIG.browser_id_days);\\n      }\\n      return browserId;\\n    },\\n    \\n    // \u0413\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C Session ID\\n    initSessionId: function() {\\n      let sessionId = sessionStorage.getItem('nf_session_id');\\n      if (!sessionId) {\\n        sessionId = `sess.${Date.now()}.${Math.random().toString(36).substring(2, 9)}`;\\n        sessionStorage.setItem('nf_session_id', sessionId);\\n      }\\n      return sessionId;\\n    },\\n    \\n    // \u0422\u0440\u0435\u043A\u0430\u0435\u043C \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u044B \u0441\u0442\u0440\u0430\u043D\u0438\u0446\\n    trackPageView: function() {\\n      const existingData = this.getStoredData();\\n      const pageViewCount = (existingData?.page_view_count || 0) + 1;\\n      \\n      if (existingData) {\\n        existingData.page_view_count = pageViewCount;\\n        existingData.last_page_view = Date.now();\\n        this.saveToStorage(existingData);\\n      }\\n    },\\n    \\n    captureAndSaveUTM: function() {\\n      const params = new URLSearchParams(window.location.search);\\n      let shouldSave = false;\\n      const attribution = {};\\n      \\n      // \u0421\u043E\u0431\u0438\u0440\u0430\u0435\u043C UTM \u043C\u0435\u0442\u043A\u0438\\n      const utmParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content'];\\n      utmParams.forEach(param => {\\n        const value = params.get(param);\\n        if (value) {\\n          attribution[param] = value;\\n          shouldSave = true;\\n        }\\n      });\\n      \\n      // Click IDs \u0441 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u0439 \u043B\u043E\u0433\u0438\u043A\u043E\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0446\u0438\u0438\\n      if (params.get('fbclid')) {\\n        attribution.fbclid = params.get('fbclid');\\n        attribution.utm_source = attribution.utm_source || 'facebook';\\n        attribution.utm_medium = attribution.utm_medium || 'paid';\\n        attribution.attribution_type = 'click';\\n        shouldSave = true;\\n      } else if (params.get('gclid')) {\\n        attribution.gclid = params.get('gclid');\\n        attribution.utm_source = attribution.utm_source || 'google';\\n        attribution.utm_medium = attribution.utm_medium || 'cpc';\\n        attribution.attribution_type = 'click';\\n        shouldSave = true;\\n      } else if (params.get('yclid')) {\\n        attribution.yclid = params.get('yclid');\\n        attribution.utm_source = attribution.utm_source || 'yandex';\\n        attribution.utm_medium = attribution.utm_medium || 'cpc';\\n        attribution.attribution_type = 'click';\\n        shouldSave = true;\\n      } else if (shouldSave) {\\n        attribution.attribution_type = 'utm';\\n      }\\n      \\n      // \u041F\u0440\u043E\u0432\u0435\u0440\u044F\u0435\u043C \u043E\u0440\u0433\u0430\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0442\u0440\u0430\u0444\u0438\u043A \u0438\u0437 \u0441\u043E\u0446\u0441\u0435\u0442\u0435\u0439\\n      if (!shouldSave && document.referrer) {\\n        const referrer = document.referrer.toLowerCase();\\n        if (referrer.includes('facebook.com') || referrer.includes('instagram.com')) {\\n          attribution.utm_source = 'facebook';\\n          attribution.utm_medium = 'referral';\\n          attribution.utm_campaign = 'organic_social';\\n          attribution.attribution_type = 'view';\\n          shouldSave = true;\\n        } else if (referrer.includes('google.')) {\\n          attribution.utm_source = 'google';\\n          attribution.utm_medium = 'organic';\\n          attribution.attribution_type = 'organic';\\n          shouldSave = true;\\n        }\\n      }\\n      \\n      // \u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u043C \u0442\u0438\u043F \u0430\u0442\u0440\u0438\u0431\u0443\u0446\u0438\u0438 \u0435\u0441\u043B\u0438 \u043D\u0435 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\\n      if (!attribution.attribution_type) {\\n        attribution.attribution_type = shouldSave ? 'utm' : 'direct';\\n      }\\n      \\n      // \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0435\\n      const existingData = this.getStoredData();\\n      \\n      // \u041B\u043E\u0433\u0438\u043A\u0430 Facebook: click \u043D\u0435 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u0435\u0442\u0441\u044F view\\n      if (existingData && existingData.attribution_type === 'click' && attribution.attribution_type === 'view') {\\n        console.log('\uD83D\uDCCC Keeping existing click attribution');\\n        return;\\n      }\\n      \\n      // \u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0435\u043C \u0435\u0441\u043B\u0438 \u0435\u0441\u0442\u044C \u043D\u043E\u0432\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u043B\u0438 \u044D\u0442\u043E \u043F\u0435\u0440\u0432\u044B\u0439 \u0432\u0438\u0437\u0438\u0442\\n      if (shouldSave || !existingData) {\\n        // \u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u043C \u0432\u0441\u0435 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435\\n        attribution.captured_at = attribution.captured_at || Date.now();\\n        attribution.landing_page = window.location.href;\\n        attribution.referrer = document.referrer;\\n        attribution.browser_id = this.getCookie('nf_browser_id');\\n        attribution.session_id = sessionStorage.getItem('nf_session_id');\\n        attribution.page_view_count = existingData?.page_view_count || 1;\\n        \\n        // \u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C \u0441\u0440\u043E\u043A \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\\n        const expiryDays = attribution.attribution_type === 'click' \\n          ? CONFIG.click_attribution_days \\n          : CONFIG.view_attribution_days;\\n        attribution.expires_at = Date.now() + (expiryDays * 24 * 60 * 60 * 1000);\\n        \\n        // \u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0435\u043C\\n        this.saveToStorage(attribution);\\n        \\n        // \u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C \u0432 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443\\n        this.fireAnalyticsEvents(attribution);\\n        \\n        console.log('\uD83D\uDCBE Attribution saved:', attribution);\\n      }\\n    },\\n    \\n    saveToStorage: function(data) {\\n      const dataStr = JSON.stringify(data);\\n      \\n      // 1. LocalStorage - \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\\n      try {\\n        localStorage.setItem(CONFIG.storage_key, dataStr);\\n      } catch(e) {\\n        console.error('LocalStorage error:', e);\\n      }\\n      \\n      // 2. SessionStorage - \u0434\u043B\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0435\u0441\u0441\u0438\u0438\\n      try {\\n        sessionStorage.setItem(CONFIG.storage_key + '_session', dataStr);\\n      } catch(e) {\\n        console.error('SessionStorage error:', e);\\n      }\\n      \\n      // 3. Cookie - \u0440\u0435\u0437\u0435\u0440\u0432\u043D\u043E\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\\n      try {\\n        const daysTillExpiry = Math.ceil((data.expires_at - Date.now()) / (24 * 60 * 60 * 1000));\\n        this.setCookie(CONFIG.storage_key, dataStr, daysTillExpiry);\\n      } catch(e) {\\n        console.error('Cookie error:', e);\\n      }\\n    },\\n    \\n    getStoredData: function() {\\n      const sources = [\\n        () => sessionStorage.getItem(CONFIG.storage_key + '_session'),\\n        () => localStorage.getItem(CONFIG.storage_key),\\n        () => this.getCookie(CONFIG.storage_key)\\n      ];\\n      \\n      for (let source of sources) {\\n        try {\\n          const data = source();\\n          if (data) {\\n            const parsed = JSON.parse(data);\\n            // \u041F\u0440\u043E\u0432\u0435\u0440\u044F\u0435\u043C \u0441\u0440\u043E\u043A \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\\n            if (!parsed.expires_at || parsed.expires_at > Date.now()) {\\n              return parsed;\\n            }\\n          }\\n        } catch(e) {\\n          continue;\\n        }\\n      }\\n      \\n      return null;\\n    },\\n    \\n    getAttribution: function() {\\n      const stored = this.getStoredData();\\n      \\n      if (!stored) {\\n        return {\\n          attribution_type: 'direct',\\n          browser_id: this.getCookie('nf_browser_id') || '',\\n          session_id: sessionStorage.getItem('nf_session_id') || '',\\n          page_view_count: 1\\n        };\\n      }\\n      \\n      // \u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u043C \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435\\n      stored.browser_id = this.getCookie('nf_browser_id') || stored.browser_id;\\n      stored.session_id = sessionStorage.getItem('nf_session_id') || stored.session_id;\\n      \\n      return stored;\\n    },\\n    \\n    // \u0421\u043E\u0431\u044B\u0442\u0438\u044F \u0434\u043B\u044F \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0438\\n    fireAnalyticsEvents: function(data) {\\n      // PostHog\\n      if (typeof posthog !== 'undefined') {\\n        posthog.capture('$pageview', {\\n          ...data,\\n          attribution_system: 'nf_tracker_v2'\\n        });\\n      }\\n      \\n      // Google Tag Manager\\n      if (typeof dataLayer !== 'undefined') {\\n        dataLayer.push({\\n          event: 'attribution_captured',\\n          ...data\\n        });\\n      }\\n      \\n      // Facebook Pixel (\u0435\u0441\u043B\u0438 \u0435\u0441\u0442\u044C)\\n      if (typeof fbq !== 'undefined' && data.fbclid) {\\n        fbq('track', 'PageView', {\\n          source: 'nf_attribution',\\n          fbc: data.fbclid\\n        });\\n      }\\n    },\\n    \\n    // \u0412\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u0434\u043B\u044F \u043A\u0443\u043A\\n    setCookie: function(name, value, days) {\\n      const expires = new Date(Date.now() + days * 24 * 60 * 60 * 1000);\\n      document.cookie = `${name}=${encodeURIComponent(value)}; expires=${expires.toUTCString()}; path=/; SameSite=Lax`;\\n    },\\n    \\n    getCookie: function(name) {\\n      const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));\\n      return match ? decodeURIComponent(match[2]) : null;\\n    }\\n  };\\n  \\n  // \u0417\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u043C \u043F\u043E\u0441\u043B\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 DOM\\n  if (document.readyState === 'loading') {\\n    document.addEventListener('DOMContentLoaded', () => AttributionTracker.init());\\n  } else {\\n    AttributionTracker.init();\\n  }\\n})();\\n</script>\",description:\"nFactorial School - \u043A\u0443\u0440\u0441\u044B \u043F\u043E \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044E \u0432 \u0410\u043B\u043C\u0430\u0442\u044B, \u041A\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043D \u0441 \u043D\u0443\u043B\u044F \u043E\u043D\u043B\u0430\u0439\u043D\",favicon:\"https://framerusercontent.com/assets/lX5QcegD928dZZ7u51ccCsTJHU.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/f3ea7fXlzg1ZXyr6qEyFhhS4.jpg\",title:\"nFactorial School - \u043A\u0443\u0440\u0441\u044B \u043F\u043E \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044E \u0432 \u0410\u043B\u043C\u0430\u0442\u044B, \u041A\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043D \u0441 \u043D\u0443\u043B\u044F \u043E\u043D\u043B\u0430\u0439\u043D\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "AACe,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,oBAAoB;AAAA;AAAA,4CAAwP,kBAAkB;AAAA;AAAA;AAAA,YAA0sC,oBAAoB;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;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;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;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;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;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAA++T,YAAY,4UAAkF,QAAQ,sEAAsE,OAAO,0BAA0B,YAAY,oEAAoE,MAAM,2UAAiF,CAAE",
  "names": ["metadata", "params", "activeLocale"]
}
