Question: Please do task one. All instructions are written below. Code is java. Thanks! If there is too much for one question, can you just do

Please do task one. All instructions are written below. Code is java. Thanks! If there is too much for one question, can you just do the max and let me know what bullet point you ended on?

import java.awt.*;

import java.awt.event.*;

import java.util.ArrayList;

import javax.swing.*;

/**

*

* ==========================================================================

* CODING INSTRUCTIONS!

* ==========================================================================

*

*

<code><pre></strong></p> <p><strong>*</strong></p> <p><strong>* Task 0:</strong></p> <p><strong>* compile and run SnakeGame as a Java Application.</strong></p> <p><strong>*</strong></p> <p><strong>* Task 1: (in class Snake)</strong></p> <p><strong>* create a class called Snake in a separate Java source file.</strong></p> <p><strong>* import java.awt.*;</strong></p> <p><strong>*</strong></p> <p><strong>* required fields (or instance variables):</strong></p> <p><strong>* int size, direction, bodyAdd;</strong></p> <p><strong>* Rectangle head;</strong></p> <p><strong>* ArrayList<rectangle>body;</strong></p> <p><strong>* ArrayList<integer>directionQ;</strong></p> <p><strong>* (note: look up Rectangle in the Java Documentation for more information)</strong></p> <p><strong>*</strong> /</p> <p><strong>public class SnakeGame extends JPanel implements</strong></p> <p><strong> KeyListener, ActionListener {</strong></p> <p><strong> // DECLARE ALL INSTANCE VARIABLES HERE..</strong></p> <p><strong> //private Snake snake;</strong></p> <p><strong> //private Rectangle nibble;</strong></p> <p><strong> private int frameCount;// used for the score</strong></p> <p><strong> private String title = "~~ Snake Game Clone ~~ "</strong></p> <p><strong> + "CONTROLS: arrows = move, r = restart .. ..........";</strong></p> <p><strong> public static final Rectangle border = new Rectangle(0,0,600,600);//size of JPanel</strong></p> <p><strong> private Timer clock;// handles animation</strong></p> <p><strong> private Image offScreenBuffer;// needed for double buffering graphics</strong></p> <p><strong> private Graphics offScreenGraphics;// needed for double buffering graphics</strong></p> <p><strong> </strong></p> <p><strong> /**</strong></p> <p><strong> * main method needed for initialize the game window</strong></p> <p><strong> * .. THIS METHOD SHOULD NOT BE MODIFIED! .. </strong></p> <p><strong> */</strong></p> <p><strong> public static void main(String[] args) {</strong></p> <p><strong> JFrame window = new JFrame("Snake Game Clone");</strong></p> <p><strong> window.setBounds(100, 100, border.width + 7, border.height + 27);//inside Frame will be 600x600</strong></p> <p> <strong> window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);</strong></p> <p> <strong> window.setResizable(false);</strong></p> <p><strong> SnakeGame game = new SnakeGame();</strong></p> <p> <strong> game.setBackground(Color.WHITE);</strong></p> <p> <strong> window.getContentPane().add(game);</strong></p> <p> <strong> window.setVisible(true);</strong></p> <p><strong> game.init();</strong></p> <p> <strong> window.addKeyListener(game);</strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * init() is needed to override the init in JApplet. </strong></p> <p><strong> * THIS METHOD SHOULD NOT BE MODIFIED! .. </strong></p> <p><strong> * you should write all necessary initialization code in initRound()</strong></p> <p><strong> */</strong></p> <p><strong> public void init() {</strong></p> <p><strong>System.out.println(getWidth() + " , " + getHeight());</strong></p> <p><strong> offScreenBuffer = createImage(getWidth(), getHeight());// should be 600x600</strong></p> <p><strong> offScreenGraphics = offScreenBuffer.getGraphics();</strong></p> <p><strong> initRound();</strong></p> <p><strong> clock = new Timer(100, this);// timer fires every 100 milliseconds</strong></p> <p><strong> // ............................and invokes method actionPerformed()</strong></p> <p><strong> // INITIALIZE ALL SOUNDS AND IMAGE VARIABLES HERE...</strong></p> <p><strong> </strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * initializes all fields needed for each round of play (i.e. restart)</strong></p> <p><strong> */</strong></p> <p><strong> public void initRound() {</strong></p> <p><strong> frameCount = 0;</strong></p> <p><strong> </strong></p> <p><strong> // YOUR CODE GOES HERE..</strong></p> <p><strong> // initialize game Objects like Snake</strong></p> <p><strong> </strong></p> <p><strong> </strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * Called automatically after a repaint request </strong></p> <p><strong> * .. THIS METHOD SHOULD NOT BE MODIFIED! .. </strong></p> <p><strong> * you should write all necessary rendering code in method draw()</strong></p> <p><strong> */</strong></p> <p><strong> public void paint(Graphics g) {</strong></p> <p><strong> draw((Graphics2D) offScreenGraphics);</strong></p> <p><strong> g.drawImage(offScreenBuffer, 0, 0, this);</strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * renders all objects to Graphics g (i.e. the window)</strong></p> <p><strong> */</strong></p> <p><strong> public void draw(Graphics2D g) {</strong></p> <p><strong> super.paint(g);// refresh the background</strong></p> <p> <strong> g.setColor(Color.BLACK);</strong></p> <p><strong> g.drawString(title, 100, 20);// draw the title towards the top</strong></p> <p><strong> g.drawString("timer: " + frameCount, 280, 100);// approximate middle</strong></p> <p><strong> // YOUR CODE GOES HERE..</strong></p> <p><strong> // render all game objects here</strong></p> <p><strong> </strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * Called automatically when the timer fires </strong></p> <p><strong> * this is where all the game Objects will be updated</strong></p> <p><strong> */</strong></p> <p><strong> public void actionPerformed(ActionEvent e) {</strong></p> <p><strong> //snake.move();</strong></p> <p><strong> </strong></p> <p><strong> // YOUR CODE GOES HERE..</strong></p> <p><strong> </strong></p> <p><strong>frameCount++;// used for the score</strong></p> <p><strong> repaint();// needed to refresh the animation</strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * handles any key pressed events and updates the player's direction by</strong></p> <p><strong> * setting their direction to either 1 or -1 for right or left respectively</strong></p> <p><strong> * and updates their jumping status by invoking jump()</strong></p> <p><strong> */</strong></p> <p><strong> public void keyPressed(KeyEvent e) {</strong></p> <p><strong>int keyCode = e.getKeyCode();</strong></p> <p><strong>if (keyCode == KeyEvent.VK_LEFT) {</strong></p> <p><strong>//snake.setDirection(4);</strong></p> <p><strong>} //else if (keyCode == KeyEvent.VK_RIGHT) {</strong></p> <p><strong> </strong></p> <p><strong>// YOUR CODE GOES HERE..</strong></p> <p><strong>// more else if statements for all four directions</strong></p> <p><strong>// and any other keystrokes to handle</strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * handles any key released events and restarts the game if</strong></p> <p><strong> * the Timer is not running and user types 'r'</strong></p> <p><strong> */</strong></p> <p><strong> public void keyReleased(KeyEvent e) {</strong></p> <p><strong>int keyCode = e.getKeyCode();</strong></p> <p><strong>if (keyCode == KeyEvent.VK_R && !clock.isRunning()) {</strong></p> <p><strong>clock.start();</strong></p> <p><strong>initRound();</strong></p> <p><strong>} </strong></p> <p><strong> </strong></p> <p><strong> }</strong></p> <p><strong> /**</strong></p> <p><strong> * leave empty.. needed for implementing interface KeyListener</strong></p> <p><strong> */</strong></p> <p><strong> public void keyTyped(KeyEvent e) {</strong></p> <p><strong> }</strong></p> <p><strong>}// end class SnakeGame</strong></p> </div> <div class="question-answer-divider"></div> <section class="answerHolder" itemscope itemtype="http://schema.org/Answer"> <div class="answerHolderHeader"> <h2>Step by Step Solution</h2> <div class="answerReviews"> <div class="starIcon"> </div> </div> </div> <div class="questionProperties"> <p>There are 3 Steps involved in it</p> <div class="cart-flex"> <div class="cart cart1"> 1 Expert Approved Answer </div> </div> </div> <div class="step org_answer"> <span class="view_solution_btn view-solution-btn-cursor"> <strong class="step-heading step-1">Step: 1 <span>Unlock <i class="fa-solid fa-lock"></i></span></strong> </span> <img src="https://www.solutioninn.com/includes/images/document_product_info/blur-text-image.webp" class="blured-ans-image" width="759" height="271" alt="blur-text-image" decoding="async" fetchpriority="high"> <div class="step1Popup"> <span class="heading">Question Has Been Solved by an Expert!</span> <p>Get step-by-step solutions from verified subject matter experts</p> <button class="view_solution_btn step1PopupButton">View Solution</button> </div> </div> <div class="step"> <span class="view_solution_btn view-solution-btn-cursor"> <strong class="accordion step-heading">Step: 2 <span>Unlock <i class="fa-solid fa-lock"></i></span></strong> </span> </div> <div class="step"> <span class="view_solution_btn view-solution-btn-cursor"> <strong class="accordion step-heading">Step: 3 <span>Unlock <i class="fa-solid fa-lock"></i></span></strong> </span> </div> </section> <section class="relatedQuestion"> <h3>Students Have Also Explored These Related Databases Questions!</h3> <div class="relatedQuestionSliderHolder"> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/please-do-task-one-all-instructions-are-written-below-code-17381442" > Please do task one. All instructions are written below. Code is java. Thanks! import java.awt.*; import java.awt.event.*; import java.util.ArrayList; import javax.swing.*; /** * *... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/a-creative-engineer-suggests-structuring-the-tlb-so-that-not-1622114" > A creative engineer suggests structuring the TLB so that not all the bits of the presented address need match to result in a hit. Suggest how this might be achieved, and what might be the costs and... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/please-help-me-with-the-code-in-java-thanks-project-12588250" > Please help me with the code in Java. Thanks Project 1: Aloha Airlines Flights, Part 1 1 Task Aloha Airlines wants a proof of concept for a flight booking system; implement supplier code for them.... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/java-0-introduction-if-we-add-keyvalue-pairs-12345684" > ****************** JAVA ********************* 0. Introduction. If we add key-value pairs to a binary search tree (BST) in random order, then the tree is likely to be approximately balanced. If it has... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/instructions-rubric-one-minute-for-session-3-please-complete-the-3440670" > Instructions Rubric: One Minute" for Session 3: Please complete the "One Minute" in-class oral/ written exercise and answer the below question: Who are you on the team? [pgs. 76-79 in the text] and... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/7-writing-in-the-workplace-if-writing-must-be-a-13921835" > If 12.39 g of Urea (CN_(2)OH_(4)) are produced when 8.87 g of Ammonia react completely with Carbon dioxide gas, what is the percent yield for this reaction? 2NH_(3)(g) + CO_(2)(g) CN_(2)OH_(4)(s) +... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/please-give-the-exact-code-to-match-the-exact-outputs-23288874" > Please give the exact code to match the exact outputs in java thanks and provide all the neccessary java files. Please give all the java files to produce the correct output thank you. The output... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/please-give-the-exact-code-to-match-the-exact-outputs-23287395" > Please give the exact code to match the exact outputs in java thanks and provide all the neccessary java files. Please give all the java files to produce the correct output thank you. The output... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/please-give-the-exact-code-to-match-the-exact-outputs-23284984" > Please give the exact code to match the exact outputs in java thanks and provide all the neccessary java files. Please give all the java files to produce the correct output thank you Assignment8 file... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/please-give-the-exact-code-to-match-the-exact-outputs-23286604" > Please give the exact code to match the exact outputs in java thanks and provide all the neccessary java files Assignment8 file - // Assignment #: 8 // Name: // StudentID: // Lecture: // Description:... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/aunt-sallys-new-orleans-most-famous-pralines-sells-pralines-costing-105-each-159337" > Aunt Sallys New Orleans Most Famous Pralines sells pralines costing $1.05 each to make. If Aunt Sallys wants a 40% markup based on selling price and produces 35 pralines with an anticipated 19%... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/solve-the-following-system-of-linear-equations-using-gaussian-elimination-523709" > Solve the following system of linear equations using Gaussian Elimination: x 1 +2x 2 -3x 3 =4 2x 1 +2x 2 +3x 3 =13 x 1 -2x 2 +2x 3 =1 show the first three iterations </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/during-2-0-2-4-blake-transferred-a-corporate-bond-27936660" > During 2 0 2 4 Blake transferred a corporate bond with a face amount and fair market value of $ 2 0 , 0 0 0 to a trust for the benefit of her 1 6 year - old child. Annual interest on this bond is $ 2... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/seved-help-14-wisconsin-snowmobile-corp-is-considering-a-switch-15204872" > Seved Help 14 Wisconsin Snowmobile Corp. is considering a switch to level production Cost efficiencies would occur under level production, and aftertax costs would decline by $31,500, but inventory... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/cost-of-capital-in-managerial-finance/from-a-comparable-worth-standpoint-what-is-the-situation-with-2132153" > From a Comparable Worth Standpoint, what is the situation with regard to Federal Gender-based Employee Pay Equity? </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/cost-of-capital-in-managerial-finance/provide-an-example-of-how-drilling-down-further-into-information-2132151" > Provide an example of how drilling down further into information can yield new results. </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/cost-of-capital-in-managerial-finance/what-do-dimensions-represent-in-olap-cubes-2132147" > What do Dimensions represent in OLAP Cubes? </a> </div> </div> <nav class="navigationButtons"> <a class="previousQuestionButton" href="/study-help/questions/write-a-gui-program-that-has-two-panels-one-panel-13651051">Previous Question</a> <a class="nextQuestionButton" href="/study-help/questions/write-in-c-opengl-bouncing-balls-shows-balls-bouncing-on-13651053">Next Question</a> </nav> </section> </main> <aside class="expertRight"> <section class="relatedBook" style="margin-bottom:40px; width: 100%;" > <div class="bookHolder" > <div class="relatedBookHeading" > <h2 class="heading">Recommended Textbook</h2> </div> <div class="bookMainInfo" > <div class="bookImage" style="width: 100px !important; min-width: 100px; flex-shrink: 0; margin-right: 20px;"> <a href="/textbooks/spatial-databases-with-application-to-gis-1st-edition-9781558605886"> <img src="https://dsd5zvtm8ll6.cloudfront.net/si.question.images/book_images/6304c52dd25de_12202.jpg" width="100" height="131" alt="Spatial Databases With Application To GIS" loading="lazy" style="width: 100px !important;"> </a> <a href="/textbooks/computer-science-adobe-dynamic-tag-management-2395" style="margin-top: 8px; display: block; text-align: left;">More Books</a> </div> <div class="bookInfo" style="text-align: left;"> <span class="bookTitle" style="text-align: left;"> <a href="/textbooks/spatial-databases-with-application-to-gis-1st-edition-9781558605886" style="text-align: left;"> Spatial Databases With Application To GIS </a> </span> <div class="bookMetaInfo" style="text-align: left;"> <p class="bookAuthor" style="text-align: left;"> <b>Authors:</b> <span>Philippe Rigaux, Michel Scholl, Agnès Voisard</span> </p> <p class="bookEdition" style="text-align: left;"> 1st Edition </p> <p class="bookEdition" style="text-align: left;"> 1558605886, 978-1558605886 </p> </div></div></div> </div> </section> <div class="post-question-section"> <div class="description-question-section"> <span class="post-question-section-title">Ask a Question and Get Instant Help!</span> </div> <div class="text-area-post-question"> <form action="/study-help/post-question?ref=search" method="post" enctype="multipart/form-data"> <textarea rows="4" class="form-control form-posting-margin" name="textarea-question-content" id="textarea-question-content" placeholder="Type Your Question ...."></textarea> <button type="submit" class="btn btn-sm btn-submit-post-question text-center">Get Answer</button> </form> </div> </div> </aside> </div> </div> <div class="promo items-center justify-center hidden"> <div class="app_promo"> <span class="app_promo_dismiss"> <i class="fa-solid fa-x"></i> </span> <div class="app-button"> <div class="image-wrapper"> <img width="30" height="30" src="https://www.solutioninn.com/includes/images/rewamp/common/mobile-app-logo.png" decoding="async" fetchpriority="high" alt="SolutionInn App Logo"> <strong>Study Help</strong> </div> <button class="app_promo_action redirection" data-question-open-url='q_id=13651052&q_type=2'> Open in App </button> </div> </div> </div> </div> </div> <div class="blank-portion"></div> <footer> <div class="container footerHolder"> <div class="footerLinksFlex"> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Services</p> <ul> <li><a href="/site-map">Sitemap</a></li> <li><a href="/fun/">Fun</a></li> <li><a href="/study-help/definitions">Definitions</a></li> <li><a href="/tutors/become-a-tutor">Become Tutor</a></li> <li><a href="/books/used-textbooks">Used Textbooks</a></li> <li><a href="/study-help/categories">Study Help Categories</a></li> <li><a href="/study-help/latest-questions">Recent Questions</a></li> <li><a href="/study-help/questions-and-answers">Expert Questions</a></li> <li><a href="/clothing">Campus Wear</a></li> <li><a href="/sell-books">Sell Your Books</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Company Info</p> <ul> <li><a href="/security">Security</a></li> <li><a href="/copyrights">Copyrights</a></li> <li><a href="/privacy">Privacy Policy</a></li> <li><a href="/conditions">Terms & Conditions</a></li> <li><a href="/solutioninn-fee">SolutionInn Fee</a></li> <li><a href="/scholarships">Scholarship</a></li> <li><a href="/online-quiz">Online Quiz</a></li> <li><a href="/study-feedback">Give Feedback, Get Rewards</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Get In Touch</p> <ul> <li><a href="/about-us">About Us</a></li> <li><a href="/support">Contact Us</a></li> <li><a href="/career">Career</a></li> <li><a href="/jobs">Jobs</a></li> <li><a href="/support">FAQ</a></li> <li><a href="https://www.studentbeans.com/en-us/us/beansid-connect/hosted/solutioninn" target="_blank" rel="noopener nofollow">Student Discount</a></li> <li><a href="/campus-ambassador-program">Campus Ambassador</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-12"> <p>Secure Payment</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/common/footer/secure_payment_method.png" class="img-fluid mb-3" width="243" height="28" alt="payment-verified-icon" loading="lazy"> </div> </div> <p>Download Our App</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="1"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/google-play-svg.svg" alt="SolutionInn - Study Help App for Android" width="116" height="40" class="img-fluid mb-3 " loading="lazy"> </div> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="2"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/apple-store-download-icon.svg" alt="SolutionInn - Study Help App for iOS" width="116" height="40" class="img-fluid mb-3" loading="lazy"> </div> </div> </div> </div> </div> <div class="footer-bottom"> <p>&copy; 2026 SolutionInn. All Rights Reserved</p> </div></footer> <script> window.addEventListener("load",function(){jQuery(document).ready(function(t){ // Clarity tracking (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "sjv6tuxsok"); // Helper to read a cookie by name function getCookie(name) { return document.cookie .split('; ') .map(v => v.split('=')) .reduce((acc, [k, val]) => (k === name ? decodeURIComponent(val || '') : acc), ''); } // Read cookies var si = getCookie('si_u_id'); var uid = getCookie('u_id'); var zen = getCookie('zenid'); // Send to Clarity if (si) clarity('set', 'si_u_id', si); if (uid) clarity('set', 'u_id', uid); if (zen) clarity('set', 'zenid', zen); clarity('set', 'ip_address', '216.73.216.134'); t.ajax({type:"POST",url:"/",data:{trackUserActivity:!0,reqUri:document.URL,referer:document.referrer},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(t){t.ajax({type:"POST",url:"/",data:{insertCrawler:!0,reqUri:document.URL,parseTime:"0.056",queryTime:"0.01654768548584",queryCount:"30"},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(){function t(t="",n=!1){var i="itms-apps://itunes.apple.com/app/id6462455425",e="openApp://action?"+t;isAndroid()?(setTimeout(function(){return window.location="market://details?id=com.solutioninn.studyhelp",!1},25),window.location=e):isIOS()?(setTimeout(function(){return window.location=i,!1},25),window.location=e):(i="https://apps.apple.com/in/app/id6462455425",n&&(i="https://play.google.com/store/apps/details?id=com.solutioninn.studyhelp"),window.open("about:blank","_blank").location.href=i)}jQuery("#appModal").modal("show"),jQuery(".download-app-btn").click(function(){t(jQuery(this).attr("data-question-open-url"))}),jQuery(".redirection").click(function(){var n=jQuery(this).attr("data-question-open-url"),i=jQuery(this).attr("data-id");void 0!=n?1==i?t(n,!0):t(n,!1):1==i?t("",!0):t("",!1)}),jQuery(".app-notification-close").click(function(){jQuery(".app-notification-section").css("visibility","hidden");var t=new FormData;t.append("hide_notification",!0),jQuery.ajax({type:"POST",url:"/",data:t,cache:!1,contentType:!1,processData:!1,beforeSend:function(){},success:function(t){location.reload()}})})})},!1); </script> </body> </html>