1(function () { 2 "use strict"; 3 4 var lastFocused = null; 5 var modal = document.createElement("div"); 6 var trigger = document.createElement("button"); 7 8 modal.className = "social-offer-modal"; 9 modal.hidden = true; 10 modal.innerHTML = 11 '<div class="social-offer-backdrop" data-offer-close></div>' + 12 '<section class="social-offer-dialog" role="dialog" aria-modal="true" aria-labelledby="social-offer-title" aria-describedby="social-offer-summary">' + 13 '<button class="social-offer-close" type="button" data-offer-close aria-label="Close Califsol Social Azadi Discount">×</button>' + 14 '<div class="social-offer-visual">' + 15 '<div class="social-offer-brand"><img src="assets/images/logo-home-192-20260920.webp" alt="" width="192" height="192"><div><span>Califsol Consultants</span><small>Social Azadi Discount</small></div></div>' + 16 '<div class="social-offer-campaign"><span class="social-offer-badge"><i class="fa-solid fa-bolt" aria-hidden="true"></i> Social reward</span><div class="social-offer-discount"><strong>79% <em>OFF</em></strong><span>Eligible consultancy & IELTS/PTE service fees</span></div><p>Follow. Engage. Share proof. Unlock your discount.</p></div>' + 17 '<div class="social-offer-proof"><span><i class="fa-solid fa-check" aria-hidden="true"></i> 3 official accounts</span><span><i class="fa-solid fa-check" aria-hidden="true"></i> 9 videos in total</span><span><i class="fa-solid fa-check" aria-hidden="true"></i> Screenshot verification</span></div>' + 18 '<p class="social-offer-visual-note">Califsol service fees only. University, government, visa, exam-registration and other third-party charges are excluded.</p>' + 19 '</div>' + 20 '<div class="social-offer-content">' + 21 '<p class="social-offer-eyebrow">Califsol\'s Social Azadi Discount</p>' + 22 '<h2 id="social-offer-title">Turn your social support into <span>79% OFF</span></h2>' + 23 '<p class="social-offer-summary" id="social-offer-summary">Complete these three simple steps on Facebook, Instagram and TikTok to qualify.</p>' + 24 '<ol class="social-offer-checklist"><li><span>1</span><div><strong>Follow all three accounts</strong><small>Facebook, Instagram and TikTok</small></div></li><li><span>2</span><div><strong>Engage with three videos on each</strong><small>Like, comment and share: nine videos total</small></div></li><li><span>3</span><div><strong>Send your screenshots</strong><small>Califsol verifies the activity before applying the discount</small></div></li></ol>' + 25 '<div class="social-offer-platforms" aria-label="Califsol social media profiles">' + 26 '<a class="social-offer-platform social-offer-facebook" href="https://www.facebook.com/califsol" target="_blank" rel="noopener" aria-label="Follow Califsol on Facebook"><i class="fa-brands fa-facebook-f" aria-hidden="true"></i><span>Facebook</span></a>' + 27 '<a class="social-offer-platform social-offer-instagram" href="https://www.instagram.com/califsol" target="_blank" rel="noopener" aria-label="Follow Califsol on Instagram"><i class="fa-brands fa-instagram" aria-hidden="true"></i><span>Instagram</span></a>' + 28 '<a class="social-offer-platform social-offer-tiktok" href="https://www.tiktok.com/@califsol" target="_blank" rel="noopener" aria-label="Follow Califsol on TikTok"><i class="fa-brands fa-tiktok" aria-hidden="true"></i><span>TikTok</span></a>' + 29 '</div>' + 30 '<div class="social-offer-actions"><a class="social-offer-primary" href="social-bonus-offer.html"><span>Unlock 79% OFF</span><i class="fa-solid fa-arrow-right" aria-hidden="true"></i></a><a class="social-offer-secondary" href="https://wa.me/923331117969?text=Hello%20Califsol%2C%20I%20completed%20the%20Social%20Azadi%20Discount%20requirements%20on%20Facebook%2C%20Instagram%20and%20TikTok.%20I%20want%20to%20submit%20screenshots%20for%20the%2079%25%20discount%20on%20eligible%20consultancy%20and%20IELTS%2FPTE%20service%20fees." target="_blank" rel="noopener"><i class="fa-brands fa-whatsapp" aria-hidden="true"></i><span>
30Submit proof</span></a></div>' + 31 '<p class="social-offer-fine-print">This promotion is offered by Califsol and is not sponsored, endorsed, administered by or associated with Facebook, Instagram or TikTok.</p>' + 32 '</div>' + 33 '</section>'; 34 35 trigger.className = "social-offer-trigger"; 36 trigger.type = "button"; 37 trigger.setAttribute("aria-haspopup", "dialog"); 38 trigger.setAttribute("aria-label", "Open Califsol 79 percent Social Azadi Discount"); 39 trigger.innerHTML = '<i class="fa-solid fa-tag" aria-hidden="true"></i><span><strong>79% OFF</strong><small>Social Azadi</small></span>'; 40 41 function focusableElements() { 42 return Array.prototype.slice.call(modal.querySelectorAll('a[href], button:not([disabled])')); 43 } 44 45 function openOffer() { 46 lastFocused = document.activeElement; 47 modal.hidden = false; 48 document.body.classList.add("offer-modal-open"); 49 modal.querySelector(".social-offer-close").focus(); 50 } 51 52 function closeOffer() { 53 modal.hidden = true; 54 document.body.classList.remove("offer-modal-open"); 55 if (lastFocused && typeof lastFocused.focus === "function") lastFocused.focus(); 56 } 57 58 modal.addEventListener("click", function (event) { 59 if (event.target.closest("[data-offer-close]")) closeOffer(); 60 }); 61 62 modal.addEventListener("keydown", function (event) { 63 if (event.key === "Escape") { 64 closeOffer(); 65 return; 66 } 67 if (event.key !== "Tab") return; 68 var controls = focusableElements(); 69 if (!controls.length) return; 70 var first = controls[0]; 71 var last = controls[controls.length - 1]; 72 if (event.shiftKey && document.activeElement === first) { 73 event.preventDefault(); 74 last.focus(); 75 } else if (!event.shiftKey && document.activeElement === last) { 76 event.preventDefault(); 77 first.focus(); 78 } 79 }); 80 81 trigger.addEventListener("click", openOffer); 82 document.body.appendChild(modal); 83 document.body.appendChild(trigger); 84 85 window.addEventListener("pageshow", function () { 86 window.setTimeout(openOffer, 100); 87 }); 88 window.setTimeout(openOffer, 700); 89}());
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.