{"version":3,"names":["replacePageNotFoundContent","element","document","querySelector","style","visibility","firstChild","removeChild","mainOutlet","getElementById","console","log","getComputedStyle","backgroundColor","innerHTML","topicsDiv","display","searchDiv","newElement","createElement","body","appendChild","addEventListener"],"sources":["theme-24-inline-common-head_tag-4.js"],"sourcesContent":["\n(function () {\n  \n  function replacePageNotFoundContent() {\n    const element = document.querySelector('.page-not-found');\n    \n    if (element) {\n      element.style.visibility = 'hidden';\n\n      // Clear existing content\n      while (element.firstChild) {\n        element.removeChild(element.firstChild);\n      }\n\n      const mainOutlet = document.getElementById('main-outlet');\n      if (mainOutlet) {\n        console.log('mrnjaoo')\n        console.log('Background color:', getComputedStyle(mainOutlet).backgroundColor);\n        mainOutlet.style.backgroundColor = '#f3f5f7';\n      }\n\n      // Add custom 404 content\n      element.innerHTML = `\n        <div style=\"display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 10vh; margin-bottom: 20vh; width: 100%; text-align: center; font-family: Arial, sans-serif;\">\n          <div style=\"width: 50%; max-width: 600px; text-align: center;\">\n            <img src=\"https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/collegeconfidentialstaging/original/3X/e/5/e5f196766bf606766ff48764fe11369fa6633194.png\" alt=\"404 Image\" style=\"max-width: 100%; margin-bottom: 20px;\" />\n            <p style=\"font-size: 1.5rem; color: #000000; font-weight: bold;\">Oops! We Can't Find That Page</p>\n            <p style=\"color: #000000; margin-bottom: 30px;\">\n              It seems like the page you're looking for has wandered off. But don't worry, we'll help you find your way back!\n            </p>\n            <a href=\"https://talk.collegeconfidential.com\" style=\"display: inline-block; padding: 10px 20px; background-color: #005EB8; color: #fff; text-decoration: none; border-radius: 20px; font-weight: bold;\">Go Back To Homepage</a>\n            <p style=\"margin-top: 20px; color: #000000;\">\n              <b>Check out our <a href=\"https://talk.collegeconfidential.com/c/college-confidential-community/faqs-on-college-confidential/762\" style=\"color: #005EB8;\">FAQs</a> for more information</b><br />\n            </p>\n          </div>\n        </div>\n      `;\n\n      const topicsDiv = document.querySelector('.row.page-not-found-topics');\n      if (topicsDiv) {\n        topicsDiv.style.display = 'none';\n      }\n\n      const searchDiv = document.querySelector('.page-not-found-search');\n      if (searchDiv) {\n        searchDiv.style.display = 'none';\n      }\n\n      const newElement = document.createElement('div');\n      newElement.innerHTML = `<div id=\"ember1496\" class=\"custom-footer-content ember-view\"><div class=\"cc-footer\">\n    <div class=\"cc-footer-columns-wrapper footer-wrapper-top footer-added\">\n    <div class=\"cc-footer-column\"><div class=\"cc-footer-logo\"></div><a href=\"https://www.collegeconfidential.com/about-us/\" style=\"margin-top: 0;\">About Us</a><a href=\"https://talk.collegeconfidential.com/guidelines\" style=\"margin-top: 0;\">Forum Rules</a><a href=\"https://www.collegeconfidential.com/for-schools/\" style=\"margin-top: 0;\">CC For Colleges</a><a href=\"https://partnerships.collegeconfidential.com/partner-with-us\" style=\"margin-top: 0;\">Partner With Us</a><a href=\"https://www.collegeconfidential.com/press/\" style=\"margin-top: 0;\">Press Inquiries</a><a href=\"https://partnerships.collegeconfidential.com/pitch-cc\" style=\"margin-top: 0;\">Write for CC</a><a href=\"https://www.collegeconfidential.com/privacy-policy/\" style=\"margin-top: 0;\">Privacy Policy</a><a href=\"https://www.collegeconfidential.com/terms-of-service/\" style=\"margin-top: 0;\">Terms of Service</a></div><div class=\"cc-footer-column\"><h4>FORUMS</h4><h5>Community Discussions</h5><a href=\"https://talk.collegeconfidential.com/latest\" style=\"margin-top: 0;\">Latest Posts</a><a href=\"https://talk.collegeconfidential.com/c/colleges-and-universities/77\" style=\"margin-top: 0;\">A-Z College Forums</a><h5>Trending Topics</h5><a href=\"https://talk.collegeconfidential.com/c/college-admissions/38/none\" style=\"margin-top: 0;\">College Admissions</a><a href=\"https://talk.collegeconfidential.com/c/sat-and-act-tests-test-preparation/63/all\" style=\"margin-top: 0;\">ACT and SAT Test Preparation</a></div><div class=\"cc-footer-column\"><h4>COLLEGES</h4><h5>Applying to College</h5><a href=\"https://www.collegeconfidential.com/college-admissions-2023/\" style=\"margin-top: 0;\">2023 College Admissions</a><h5>College Search</h5><a href=\"https://www.collegeconfidential.com/colleges/\" style=\"margin-top: 0;\">Find Your Best Fit</a><a href=\"https://www.collegeconfidential.com/colleges/\" style=\"margin-top: 0;\">Find Colleges Near Me</a></div><div class=\"cc-footer-column\"><h4>GUIDANCE</h4><h5></h5><h5>Resources</h5><a href=\"https://www.collegeconfidential.com/articles/\" style=\"margin-top: 0;\">Latest Articles</a><a href=\"https://www.collegeconfidential.com/paying-for-college/\" style=\"margin-top: 0;\">Paying For College</a><a href=\"https://www.collegeconfidential.com/college-essays-2023/\" style=\"margin-top: 0;\">College Essays</a><a href=\"https://www.collegeconfidential.com/college-test-prep-sat-act/\" style=\"margin-top: 0;\">Test Prep</a></div></div>\n    <div style=\"margin-top: 20px;\" class=\"cc-footer-columns-wrapper\">\n        <div class=\"test cc-footer-column\">\n            <h4 class=\"cc-footer-h4-bottom-margin\">POPULAR STATES</h4>\n            <a href=\"https://www.collegeconfidential.com/colleges/CA/\" style=\"margin-top: 0;\">Colleges in California</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/CO/\" style=\"margin-top: 0;\">Colleges in Colorado</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/FL/\" style=\"margin-top: 0;\">Colleges in Florida</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/GA/\" style=\"margin-top: 0;\">Colleges in Georgia</a>\n            <a href=\"https://www.collegeconfidential.com/colleges-in-all-50-states/\" class=\"cc-footer-see-more-url\">See more</a>\n        </div>\n        <div class=\"test cc-footer-column\">\n            <h4 class=\"cc-footer-h4-bottom-margin\">SEARCH SAT SCORES</h4>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-1600-SAT/\" style=\"margin-top: 0;\">Colleges for a 1600 SAT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-1550-SAT/\" style=\"margin-top: 0;\">Colleges for a 1550 SAT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-1500-SAT\" style=\"margin-top: 0;\">Colleges for a 1500 SAT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-1450-SAT/\" style=\"margin-top: 0;\">Colleges for a 1450 SAT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges-by-sat\" class=\"cc-footer-see-more-url\">See more</a>\n        </div>\n        <div class=\"test cc-footer-column\">\n            <h4 class=\"cc-footer-h4-bottom-margin\">SEARCH ACT SCORES</h4>\n            <a href=\"https://www.collegeconfidential.com/colleges/36-act-score/\" style=\"margin-top: 0;\">Colleges for a 36 ACT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/35-act-score/\" style=\"margin-top: 0;\">Colleges for a 35 ACT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/34-act-score\" style=\"margin-top: 0;\">Colleges for a 34 ACT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/33-act-score/\" style=\"margin-top: 0;\">Colleges for a 33 ACT</a>\n            <a href=\"https://www.collegeconfidential.com/colleges-by-act/\" class=\"cc-footer-see-more-url\">See more</a>\n        </div>\n        <div class=\"test cc-footer-column\">\n            <h4 class=\"cc-footer-h4-bottom-margin\">SEARCH GPA'S</h4>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-4-0-gpa\" style=\"margin-top: 0;\">4.0 GPA Colleges</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-3-9-gpa/\" style=\"margin-top: 0;\">3.9 GPA Colleges</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-3-8-gpa/\" style=\"margin-top: 0;\">3.8 GPA Colleges</a>\n            <a href=\"https://www.collegeconfidential.com/colleges/for-3-7-gpa\" style=\"margin-top: 0;\">3.7 GPA Colleges</a>\n            <a href=\"https://www.collegeconfidential.com/colleges-by-gpa\" class=\"cc-footer-see-more-url\">See more</a>\n        </div>\n        <!-- NEWSLETTER -->\n        <div class=\"card--newsletter\">\n            <!--\n            <h2>SUBSCRIBE TO OUR NEWSLETTER</h2>\n            <p>Stay informed with the latest from the CC community, delivered to you, for free.</p>\n            <div class=\"input__container--newsletter u-row\">\n                <form id=\"js-newsletter-submit\">\n                    <div class=\"column\" style=\"display: flex; align-items:flex-start;\">\n                        <input id=\"js-newsletter-input-email\" class=\"input--newsletter\" value=\"\" placeholder=\"Enter your email address\"/>\n                        <span id=\"newsletter-input-error\" class=\"input__error\">Please enter a valid email address.</span>\n                    </div>\n                    <button type=\"submit\" class=\"button--cta submit-letter\">Subscribe</button>\n                </form>\n\n            </div>\n            <span class=\"input__help--newsletter\">\n                By submitting your email, you agree to College Confidential's <a class=\"link link--underline link--dark\" href=\"https://www.collegeconfidential.com/terms-of-service/\"> Terms of Service </a>\n                 and <a class=\"link link--underline link--dark\" href=\"https://www.collegeconfidential.com/privacy-policy\">Privacy Policy</a>. <br/>\n                You may opt-out of our subscriptions at any time.\n            </span> -->\n            <h4>CONNECT WITH US</h4>\n            <div class=\"u-row\" style=\"margin-top: 8px; padding-bottom: 15px;\">\n                <a target=\"_blank\" href=\"https://twitter.com/collegeconfide\" class=\"icon--social footer-icon-twitter\"></a>\n                <a target=\"_blank\" href=\"https://www.facebook.com/collegeconfide/\" class=\"icon--social footer-icon-facebook\"></a>\n                <a target=\"_blank\" href=\"https://www.instagram.com/collegeconfidential/\" class=\"icon--social footer-icon-instagram\"></a>\n                <a target=\"_blank\" href=\"https://www.linkedin.com/company/college-confidential/\" class=\"icon--social footer-icon-linkedin\"></a>\n                <a target=\"_blank\" href=\"https://www.youtube.com/@collegeconfidential2556/videos\" class=\"icon--social footer-icon-youtube\"></a>\n            </div>\n        </div>\n        <!--\n        <div id=\"alert--newsletter\" class=\"alert--notification\">\n            <i class=\"icon-alert icon-circled\"></i>\n            <span>Thanks for subscribing! Be on the lookout for our next newsletter.</span>\n            <i class=\"icon-alert icon-close\"></i>\n        </div>\n         END NEWSLETTER -->\n        <div class=\"cc-footer-column\" style=\"margin: 0px auto;\">\n            <p class=\"cc-footer-copyrights\">\n                © 2023 College Confidential, LLC. All Rights Reserved.\n            </p>\n        </div>\n    </div>\n</div>`;\n      // Optionally, append the new element to the page or another container\n      document.body.appendChild(newElement);\n\n\n\n      element.style.visibility = '';\n    }\n  }\n\n    document.addEventListener('DOMContentLoaded', () => {\n      console.log('DOM fully loaded, replacing content...');\n      replacePageNotFoundContent();\n    });\n  \n})();\n"],"mappings":"AACA,CAAC,YAAY;EAEX,SAASA,0BAA0BA,CAAA,EAAG;IACpC,MAAMC,OAAO,GAAGC,QAAQ,CAACC,aAAa,CAAC,iBAAiB,CAAC;IAEzD,IAAIF,OAAO,EAAE;MACXA,OAAO,CAACG,KAAK,CAACC,UAAU,GAAG,QAAQ;;MAEnC;MACA,OAAOJ,OAAO,CAACK,UAAU,EAAE;QACzBL,OAAO,CAACM,WAAW,CAACN,OAAO,CAACK,UAAU,CAAC;MACzC;MAEA,MAAME,UAAU,GAAGN,QAAQ,CAACO,cAAc,CAAC,aAAa,CAAC;MACzD,IAAID,UAAU,EAAE;QACdE,OAAO,CAACC,GAAG,CAAC,SAAS,CAAC;QACtBD,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEC,gBAAgB,CAACJ,UAAU,CAAC,CAACK,eAAe,CAAC;QAC9EL,UAAU,CAACJ,KAAK,CAACS,eAAe,GAAG,SAAS;MAC9C;;MAEA;MACAZ,OAAO,CAACa,SAAS,GAAG;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;MAED,MAAMC,SAAS,GAAGb,QAAQ,CAACC,aAAa,CAAC,4BAA4B,CAAC;MACtE,IAAIY,SAAS,EAAE;QACbA,SAAS,CAACX,KAAK,CAACY,OAAO,GAAG,MAAM;MAClC;MAEA,MAAMC,SAAS,GAAGf,QAAQ,CAACC,aAAa,CAAC,wBAAwB,CAAC;MAClE,IAAIc,SAAS,EAAE;QACbA,SAAS,CAACb,KAAK,CAACY,OAAO,GAAG,MAAM;MAClC;MAEA,MAAME,UAAU,GAAGhB,QAAQ,CAACiB,aAAa,CAAC,KAAK,CAAC;MAChDD,UAAU,CAACJ,SAAS,GAAG;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;MACD;MACAZ,QAAQ,CAACkB,IAAI,CAACC,WAAW,CAACH,UAAU,CAAC;MAIrCjB,OAAO,CAACG,KAAK,CAACC,UAAU,GAAG,EAAE;IAC/B;EACF;EAEEH,QAAQ,CAACoB,gBAAgB,CAAC,kBAAkB,EAAE,MAAM;IAClDZ,OAAO,CAACC,GAAG,CAAC,wCAAwC,CAAC;IACrDX,0BAA0B,CAAC,CAAC;EAC9B,CAAC,CAAC;AAEN,CAAC,EAAE,CAAC","ignoreList":[]}